\(\blacktriangleright \) Linear functions are those functions where the domain and range share a constant rate of change.
Each linear function has its own constant rate of change.
Suppose \(L\) is a linear function. Let \(a\) and \(b\) be numbers in the domain of \(L\). Then \(L(a)\) and \(L(b)\) are the corresponding range values.
Since \(L\) is a linear function, we know that \(\frac {L(b) - L(a)}{b - a} = constant\). And, this works for ANY two domain numbers.
Otherwise, it is not a linear function.
Somewhere in history, \(m\) became a popular choice to represent the constant rate of change of a linear function.
No matter which two numbers you select from the domain of \(L\), the rate of change always turns out to be \(m\). Each linear function has its own \(m\) - its own constant rate of change.
A Formula
Let \(L\) be a linear function. That means it has is own constant rate of change. Let’s call it \(m\).
Let \((a, b)\) be one specific pair in \(L\).
Let \((x, y)\) represent any other pair (all other pairs) in the function \(L\).
Since \((a, b)\) is a pair in \(L\), we know that \(b = L(a)\). And, since \((x, y)\) represents any other pair in \(L\), we know that \(y = L(x)\). Replacing these in the equation for constant rate of change gives
Clearing the denominator gives
Solving this for \(L(x)\) gives
Note: In advanced mathematics, a similar idea called linear maps are required to
include the pair \((0,0)\). This would result in \(L(0) = 0\).
This is not required for Calculus.
Suppose \(W\) is a linear function with constant rate of change equal to \(5\) and \((3, -1)\) is one pair in \(W\).
Create a formula for \(W\).
explanation
The template \(L(x) = m (x-a) + L(a)\) tell us that a formula for \(W\) looks like
We could multiply this out and collect like terms and obtain the equivalent formula
Perhaps, we do not like \(x\) as the variable for our formula. Perhaps \(v\) suits our situation better.
Or, \(k\).
Or, \(A\).
It is always advantageous to select a variable that is a nice reminder of the domain measurement.
Suppose \(g\) is a linear function containing \((0, 6)\) and \((-2, -5)\).
Then the template: \(L(x) = m (x-a) + L(a)\) will need a rate of change
A formula for \(g\) is
A Graph
A linear function has a line as its graph. The line includes a point for each pair in the function. And, since it is a line, only two points are needed to draw the graph. Any two distinct points will do.
A line graphically represents a linear function. The constant rate of change of the linear function corresponds to a constant slope of a line.
The rate of change (slope) from \((a,b)\) to \((x, y)\) must equal \(m\).
Clearing the denominator gives us the point-slope form for a line.
In practice, in addition to the slope \(m\), we almost always have a point on the line that is not an intercept, \((a,b)\). Describing the other points on the line is much easier with the point-slope form of a line.
Let \(g(k) = \frac {k}{2} - 4\) be a linear function with its natural domain. Draw a graph of \(g\).
explanation
Let’s select two random domain numbers: \(-4\) and \(6\). The function values at these domain numbers are \(g(-4) = \answer {-6}\) and \(g(6) = \answer {-1}\). Therefore, the points \((-4, -6)\) and \((6, -1)\) are on the graph, which is a line. We’ll plot the two points and draw the line through them.
Below is the graph of \(y=g(k)\).
Let \(B(t)\) be a linear function. Below is the graph of \(y = B(t)\). From the graph obtain a formula for \(B\).
explanation
From the graph, we can approximate the points \((0, -5)\) and \((3.3, 0)\). These give a slope of
This would give the formula \(B(t) = \frac {5}{3.3} (t - 0) - 5 = \frac {5}{3.3} t - 5\)
We used the point \((0, -5)\) to create the equation. We could also have used \((3.3,0)\).
\(B(t) = \frac {5}{3.3} (t - 3.3) - 0 = \frac {5}{3.3} t - \frac {5}{3.3}\cdot 3.3 = \frac {5}{3.3} t - 5\)
Same equation. You can use any point on the line.
Linear Equations
There are two types of questions to ask about functions.
- You might know the domain number and you are looking for its function value. This is called evaluation and we use function notation for it.
- You might know the function value and you are looking for its domain partner. This is usually stated with an equation to solve.
These questions about functions correspond to similar questions about graphs. Linear functions correspond to linear equations.
Domain and function values correspond to coordinates of points on the line.
A linear equation in \(x_1\) and \(x_2\) is an equation that is equivalent to
\(x_1\) and \(x_2\) are the variables.
\(a\) and \(b\) are constants called coefficients.
\(c\) is called the constant term.
A solution to the linear equation \(a \, x_1 + b \, x_2 + c = 0\) is a pair of numbers, for \(x_1\) and \(x_2\), that satisfy the equation.
We often write solution pairs as an ordered pair: \((A, B)\).
One of the solution numbers is designated for \(x_1\) and one is designated for \(x_2\). (That is what ordered means.) Upon substituting these numbers into the equation for \(x_1\) and \(x_2\), the resulting statement is a true statement, i.e. the equation is satisfied.
If the order is not understood, then we might write \((x_1, x_2) = (A, B)\).
With the order understood, each solution pair can be interpreted as coordinates for a point on the Cartesian plane and plotted as a dot.
Consider the linear equation \(3 t + 2 y = 12\).
Let’s select \(t\) to be the first variable and \(y\) the second variable.
With this agreement, \((4, 0)\) is a solution to the equation. \((4,0)\) can be viewed as a point and plotted as a dot on the Cartesian plane.
If we plot a dot for each and every solution pair for the equation, then we obtain the graph of the equation.
The graph of a linear equation is a line, which can be drawn using only two points from two solution pairs.
Geometry: Graphs of lines don’t care which axis is “vertical” and which axis is “horizontal”. The graph is just a collection of points whose coordinates satisfy the linear equation.
Analysis: The situation changes once we wish to interpret one of the variables as a function of the other variable. Once we designate one of the variables as the dependent variable or the function, then its axis becomes the “vertical” axis. The other axis measures the independent variable and represents the domain of the function. The domain use the “horizontal” axis.
Note: This eveything works for all lines, except for vertical lines. All lines are graphs of linear functions, except vertical lines. Vertical lines have no slope.
If we interpret the first or left variable as representing domain values and the second or right variable as representing function values, then linear equations describe linear functions. We can solve the equation for the function variable to obtain a formula.
In the example above, \(3 t + 2 y = 12\) can be rewritten as \(y = \answer {\frac {-3}{2}} \, t + \answer {6}\).
To emphasize that we are now thinking in terms of functions, we might write \(y(t) = \tfrac {-3}{2} t + 6\).
- The \(y\)-axis is now the vertical axis.
- The \(t\)-axis is now the horizontal axis.
We could just as easily have chosen \(y\) as the domain variable and \(t\) as the function variable. In this case, \(3 t + 2 y = 12\) can be rewritten as \(t = \answer {\frac {-2}{3}} \, y + \answer {4}\). We might write this as \(t(y) = \tfrac {-2}{3} y + 4\)
- The \(t\)-axis is now the vertical axis.
- The \(y\)-axis is now the horizontal axis.
In either case, the function formula matches the “\(y = m \, x + b\)” template.
\(\answer {m}\) is the slope of the line as well as the rate of change of the function.
You may be more familiar with the “intercept form” for a line.
where \(b\) comes from \((0,b)\), the \(y\)-intercept for the line.
When working with linear functions, the “point-slope form” is much more helpful.
This is because we hardly ever are given an intercept. Almost always we are given another point.
ooooo-=-=-=-ooOoo-=-=-=-ooooo
more examples can be found by following this link
More Examples of Linear Functions