Linear function (calculus)

Linear function (calculus)

In calculus and related areas of mathematics, a linear function from the real numbers to the real numbers is a function whose graph (in Cartesian coordinates with uniform scales) is a line in the plane.[1]
The characteristic property of linear functions is that when the input variable is changed, the change in the output is proportional to the change in the input.
Linear functions are related to linear equations.
Properties
A linear function is a polynomial function in which the variable x has degree at most one:[2]
Slope
The slope of a nonvertical line is a number that measures how steeply the line is slanted (rise-over-run). If the line is the graph of the linear function f(x) = ax + b, this slope is given by the constant a.
Slope-intercept, point-slope, and two-point forms
Relationship with linear equations
Example
Relationship with other classes of functions
If the coefficient of the variable is not zero (a ≠ 0), then a linear function is represented by a degree 1 polynomial (also called a linear polynomial), otherwise it is a constant function – also a polynomial function, but of zero degree.
A straight line, when drawn in a different kind of coordinate system may represent other functions.
For example, it may represent an exponential function when its values are expressed in the logarithmic scale. It means that when log(g(x)) is a linear function of x, the function g is exponential. With linear functions, increasing the input by one unit causes the output to increase by a fixed amount, which is the slope of the graph of the function. With exponential functions, increasing the input by one unit causes the output to increase by a fixed multiple, which is known as the base of the exponential function.
On the other hand, the graph of a linear function in terms of polar coordinates: