In calculus and related areas of mathematics, a linear function from the real numbers to the real numbers is a function whose graph is a line in the plane.[1]
Properties of linear functions
A linear function is a polynomial function in which the variable x has degree at most one, i.e. .[2] Here x is the variable. The graph of a linear function, that is, the set of all points whose coordinates have the form (x, f(x)), is a line, which is why this type of function is called linear. Some authors, for various reasons, also require that the coefficient of the variable (the a in ax + b) should not be zero.[3] This requirement can also be expressed by saying that the degree of the polynomial defining the function is exactly one, or by saying that the line which is the graph of a linear function is a slanted line (neither vertical nor horizontal). This requirement will not be imposed in this article, thus constant functions, , will be considered to be linear functions (their graphs are horizontal lines).
The ___domain or set of allowed values for x of a linear function is the entire set of real numbers R, or whatever field that is in use. This means that any (real) number can be substituted for x.
The graph of a linear function is a line on the Cartesian plain (if over real numbers). Because two different points determine a line, it is enough to substitute two different values for x in the linear function and determine f(x) for each of these values. This will give the coordinates of two different points that lie on the line. Because f is a function, this line will not be vertical. If the value of either or both of the coefficient letters a and b are changed, a different line is obtained.
Since the graph of a linear function is a nonvertical line, this line has exactly one intersection point with the y-axis. This point is (0, b).
A the graph of a nonconstant linear function has exactly one intersection point with the x-axis. This point is (−b/a, 0). From this, it follows that a nonconstant linear function has exactly one zero or root. That is, there is exactly one solution to the equation ax + b = 0. The zero is x = −b/a.
The points on a line have coordinates which can also be thought of as the solutions of linear equations in two variables (the equation of the line). These solution sets define functions which are linear functions. This connection between linear equations and linear functions provides the most common way to produce linear functions.
Linear function and linear equation
The equation y = ax + b is referred to as the slope-intercept form of a linear equation. In this form, the variable is x, and y, is the value of the function. It also has two coefficients, a and b. In this instance, the fact that the values of y depend on the values of x is an expression of the functional relationship between them. To be very explicit, the linear equation is expressing the equality of values of the dependent variable y with the functional values of the linear function , in other words for this particular linear function f.
If the linear function f is given, the linear equation of the graph of this function is obtained by defining the variable y to be the functional value f(x), that is, setting and suppressing the functional notation in the middle. Starting with a linear equation, one can create linear functions, but this is a more subtle operation and must be done with care. Why this is so is not immediately apparent when the linear equation has the slope-intercept form, so this discussion will be postponed. For the moment observe that if the linear equation has the slope-intercept form, then the expression that the dependent variable y is equal to is the linear function whose graph is the line satisfying the linear equation.
The constant b is the so-called y-intercept. It is the y-value at which the line intersects the y-axis. The coefficient a is the slope of the line. This measures of the rate of change of the linear function associated with the line. Since a is a constant, this rate of change is constant. Moving from any point on the line to the right by one unit (that is, increasing x by 1), the y-value of the point's coordinate changes by a. This is expressed functionally by the statement that when .
For example, the slope-intercept form has a = −2 and b = 4. The point (0, b) = (0, 4) is the intersection of the line and the y-axis, the point (−b/a, 0) = (−4/−2, 0) = (2, 0) is the intersection of the line and the x-axis, and a = −2 is the slope of the line. For every step to the right (x increases by 1), the value of y changes by −2 (goes down).
If the linear equation in the general form
has , then it may be solved for the variable y and thus used to define a linear function (namely, ). While all lines have equations in the general form, only the non-vertical lines have equations which can give rise to linear functions.
Notes
- ^ Stewart 2012, p. 23
- ^ Stewart 2012, p. 24
- ^ Swokowski 1983, p. 34 is but one of many well known references that could be cited.
References
- James Stewart (2012), Calculus: Early Transcendentals, edition 7E, Brooks/Cole. ISBN 978-0-538-49790-9
- Swokowski, Earl W. (1983), Calculus with analytic geometry (Alternate ed.), Boston: Prindle, Weber &Schmidt, ISBN 0871503417