\(\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\).
Then the rate of change 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.
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 slope 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\).
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.
Let \(g(k) = \frac {k}{2} - 4\) be a linear function with its natural domain. Draw a graph of \(g\).
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\).
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
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 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 is measured horizontally in teh graph.
Note: This all works for all lines, except for vertical lines. All lines are graphs of
linear functions, except vertical lines.
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\).
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\)
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.
ooooo-=-=-=-ooOoo-=-=-=-ooooo
more examples can be found by following this link
More Examples of Linear Functions