Definition: In mainstream mathematics, a linear function is a function whose graph is a slanted line in the plane.
In advanced mathematics, a linear mapping is sometimes referred to as a linear function, but this is not the mainstream definition. A linear function as defined here is not a linear mapping.
It should be noted that a horizontal line is usually not considered to be linear function, but is just called a constant function and a vertical line is not a function since it does not pass the vertical line test.
Properties of Linear Functions
|
|
Graph of the linear function: y(x)=-x+2 | |
|
General Form
where and .
Properties of the general form
- The general form has 2 variables x and у and 3 coefficient letters A, B, and C.
- To use the function or graph the line, the coefficient letters A, B and C must be given as actual real numbers: 3x-2y=1. Here A=2, B=-2 and C=1.
- This form is not unique. If one multiplies A, B and C by a factor k, the coefficients change, but the line remains the same.
- Example: For k=3, it follows that (e.g.) 3x-2y=1 and 9x-6y=3 are the same line.
- Example: For k=-1⁄π, it follows that -3πx+2πy+π=0 and 3x-2y=1 are the same line.
- This general form is used mainly in geometry and in systems of two linear equations in two unknowns.
- The general form of a line is a linear equation; the opposite is not necessarily true.
Example: 3x-2y=1 and 6x-4y=2 are the same linear function, i.e. their graph is the same line.
|
Slope-Intercept Form
or where .
Properties of the Slope-Intercept Form
- The slope-intercept form is also called the explicit form because it defines y(x) explicitly (directly) in terms of x.
- The slope-intercept form has 2 variables x and у and 2 coefficient letters а and b.
- To use the function or graph the line, the coefficient letters must be written as actual real numbers. For example: y(х)=-2х+4
- The slope-intercept form is unique. That is, if the value of either or both of the coefficient letters a and b are changes, the result is a different line!
- Every linear function can be written uniquely in slope-intercept form.
- Intercepts (intersections of the line with the axes)
- The constant b is the so-called у-intercept. It is the y-value at which the line intersects the y-axis. This is because the y-axis is the line where x=0. Substituting x=0 into the linear function y(x)=ax+b, it follows that: y(0)=a•0+b=b. This means that the point (0,b) is both a point on the line and a point on the y-axis. So it is the point where the line intersects the y-axis.
- The number -b⁄а is the [root] or [zero] of the function. It is the x-value at which the line intersects the x-axis. This is because the x-axis is the line where y=0. Substituting y=0 into the linear function and solving (backwards) for x, it follows that:
0=a•x+b
a•x+b=0
a•x = -b
x=-b⁄a
This means that the point (-b⁄a,0) is both a point on the line and a point on the x-axis. So it is the point where the line intersects the x-axis.
Example: where
|
Vector-Parametric Form
Parametri: or Vector: where and .
Properties of the vector-parametric form
- Vector-parametric form has 1 parameter t, 2 variables x and у, and 4 coefficients а1, а2, b1, and b2.
- The coefficients are not unique, but they are related.
- The line passes through the points (b1,b2) and (b1+a1,b2+a2).
- The vector-parametric form is used in engineering (it is simple to model the path from one point to another point with t=time).
- Engineers tend to use parametric notation and the letter t for the parameter; mathematicians use vector notation and the letter λ.
- This form of a linear function can easily be extended to lines in higher dimensions, which is not true of the other forms.
Example:
|
Video - How to sketch the graph of Ax+By=C
|
Video - How to sketch the graph of y(x)=ax+b
|