👉 In mathematics, a linear function is a function that maps real numbers to real numbers such that the sum of the values of the function at any two points in its domain is constant. This means that the output value of the function at each point in the domain is directly proportional to the input value at that point. For example, consider the function f(x) = 3x + 2. If we draw a graph of this function, we can see that it has a linear relationship with its