Skip to main content

Applied Precalculus MTH 103

Section 2.2 Working with Linear Functions and Linear Equations

In the last section, we introduced the slope-intercept form \(y=mx+b\) of a linear function, which is often used when given the slope \(m\) and vertical intercept \(b\text{.}\) When given two points on the linear function, the point-slope form is frequently used instead.
The point-slope form is very useful for finding formulas for linear functions and equations of lines.

Example 2.2.2.

Find an equation in point-slope form for the line passing through each set of points. Then rewrite each equation in the slope-intercept form.
  1. \((2,-1)\) and \((4,5)\)
  2. \((-1,-2)\) and \((1,3)\)
  3. \((0,0)\) and \((1,1.5)\)
Solution.
In each part, we follow the same steps. We first use the two given points to find the slope. Once we have obtained the value of the slope, we then designate one of the two points as \((x_0,y_0)\) and write an equation in the point-slope form. Finally, we rewrite the equation in the slope-intercept form.
  1. Using the slope formula, we find that
    \begin{equation*} m=\frac{5-(-1)}{4-2}=\frac{6}{2}=3. \end{equation*}
    We will next let \((x_0,y_0)=(2,-1)\) and use point-slope form. An equation of the line is thus
    \begin{equation*} y-(-1)=3(x-2)\text{ or } y+1=3(x-2). \end{equation*}
    To convert to slope-intercept form, we begin by expanding the right-hand side, which results in
    \begin{equation*} y+1=3x-6. \end{equation*}
    By subtracting \(1\) from both sides, we obtain the slope-intercept form
    \begin{equation*} y=3x-7. \end{equation*}
  2. The slope is
    \begin{equation*} m=\frac{3-(-2)}{1-(-1)}=\frac{5}{2}. \end{equation*}
    If we take \((x_0,y_0)=(1,3)\text{,}\) an equation of the line in slope-intercept form is
    \begin{equation*} y-3=\frac{5}{2}(x-1) \end{equation*}
    which simplifies to
    \begin{equation*} y-3=\frac{5}{2}x-\frac{5}{2}. \end{equation*}
    Adding 3 to both sides (which can be rewritten as \(\dfrac{6}{2}\) to obtain a common denominator) to results in the slope-intercept form
    \begin{equation*} y=\frac{5}{2}x+\frac{1}{2}. \end{equation*}
  3. The slope is
    \begin{equation*} m=\dfrac{1.5-0}{1-0}=\frac{1.5}{1}=1.5. \end{equation*}
    If we take \((x_0,y_0)=(0,0)\text{,}\) the resulting point-slope form of the line is
    \begin{equation*} y-0=1.5(x-0) \end{equation*}
    which simplifies to the slope-intercept form
    \begin{equation*} y=1.5x. \end{equation*}

    By the way...

Example 2.2.3.

Let \(y=f(x)\) be a linear function such that \(f(1)=-2\) and \(f(3)=-5\text{.}\) Find a formula for the function in the slope-intercept form.
Solution.
We are given the values of \(f\) at two inputs, which tells us that the two points \((1,-2)\) and \((3,-5)\) are on the graph of the function. Using these to calculate the slope we find that
\begin{equation*} m=\frac{-5-(-2)}{3-1}=-\frac{3}{2}. \end{equation*}
Recall that the point-slope form for a linear function \(f(x)\) can alternatively be written as
\begin{equation*} f(x)=y_0+m(x-x_0). \end{equation*}
If we take \((x_0,y_0)=(1,-2)\) we find that
\begin{equation*} f(x)=-2-\frac{3}{2}(x-1). \end{equation*}
The formula simplifies to the slope-intercept form
\begin{equation*} f(x)=-\frac{3}{2}x-\frac{1}{2}. \end{equation*}

Subsection Linear Functions and Linear Equations

When working with linear functions, we frequently find ourselves needing to set the formula for the linear function equal to a specific quantity and then to solve the resulting equation. For instance, when tasked with finding the horizontal intercept of the linear function \(f(x)=-5x+1\text{,}\) we would set \(f(x)=0\) and solve for \(x\text{.}\) The resulting equation \(-5x+1=0\) is an illustration of a linear equation in one variable.

Definition 2.2.4. Linear Equation in One Variable.

An equation that can be written in the form
\begin{equation*} Ax+B=C \end{equation*}
where \(A\text{,}\) \(B\text{,}\) and \(C\) are real numbers with \(A\neq0\) and \(x\) is the variable is called a linear equation in one variable.
We will explore how such linear equations arise in applications of linear functions and review how to solve them in the examples below.

Example 2.2.5.

Mr. Bell is driving through Nevada to Reno at a constant speed of \(40\) mph. Let \(D(t)\) be his distance from Reno, in miles, \(t\) hours after he began driving and suppose that Mr. Bell checks his GPS at \(t=2\) to find that his distance from Reno is \(150\) miles.
  1. Find a formula for the function \(D(t)\text{.}\)
  2. How far from Reno was Mr. Bell when he began driving?
  3. How long from the moment he began driving will it take him to reach Reno?
Solution.
  1. At first, it may seem that we don’t have enough information to find a formula for \(D(t)\) as we only know the value of the function at a single point: \(D(2)\)=150. However, we also know that Mr. Bell is driving at the constant speed of 40 mph. In the applied context of this example, this tells us that his distance from Reno is decreasing at the constant rate of 40 mph. A decreasing function has a negative rate of change, so we could say that \(D(t)\) is changing at the constant rate of \(-40\) mph. Furthermore, since the rate of change of \(D(t)\) is constant, the function \(D(t)\) is linear and its slope is the constant rate of change; that is, \(m=-40\text{.}\) With both the slope \(m=-40\) and the point \((2,150)\text{,}\) we can write the point-slope form for \(D(t)\text{:}\)
    \begin{equation*} D(t)=150-40(t-2). \end{equation*}
    This can be simplified to slope-intercept form:
    \begin{align*} D(t) \amp \;=\; 150-40(t-2)\\ \amp \;=\; 150-40t+80 \\ \amp \;=\; -40t+230 \end{align*}
    or, equivalently, be written as
    \begin{equation*} D(t)=230-40t. \end{equation*}
  2. Mr. Bell began driving at \(t=0\) when, according to the formula, his distance from Reno was \(D(0)=230\) miles.
  3. Mr. Bell will reach Reno when his distance from Reno is 0 miles; that is, at the value of \(t\) such that
    \begin{equation*} D(t)=230-40t=0. \end{equation*}
    To find such \(t\) we must solve the equation
    \begin{equation*} 230-40t=0 . \end{equation*}
    To solve our equation, we apply the standard methods of algebra, which in that case will involve subtracting \(230\) from both sides of the equation and then dividing both sides by \(-40\text{.}\)
    \begin{align*} 230 \textcolor{blue}{-230}-40t \amp \;=\; 0 \textcolor{blue}{-230}\\ -40t \amp \;=\; -230 \\ \frac{-40t}{\textcolor{red}{-40}} \amp \;=\; \frac{-230}{\textcolor{red}{-40}} \\ t \amp \;=\; \frac{23}{4} \\ t \amp \;=\; 5.75 \end{align*}
    It takes Mr. Bell \(5.75\) hours total to reach Reno. Alternatively, we could translate \(5.75\) hours into \(5\) hours and \(45\) minutes.
Observe that to answer parts (b) and (c) of ExampleΒ 2.2.5, we had to find the intercepts of the function \(D(t)\text{.}\) In applied problems, intercepts have an important practical meaning. Here is a graph of the function \(D(t)=230-40t\) that serves as a visual illustration of the meaning of the intercepts that we found:
A short description.

Example 2.2.6.

During the first ten days after hatching, a chick gains weight at the rate of \(18.9\) grams/day. Let \(w(d)\) be the weight of the chick \(d\) days after hatching and suppose that three days after hatching the chick weighs \(100.6\) grams.
  1. Find a formula for the function \(w(d)\text{.}\)
  2. What was the weight of the chick when it hatched?
  3. How many days after it hatched will the chick weigh \(120\) grams?
Solution.
  1. The function \(w(d)\) changes at a constant rate so it is linear. As the slope \(m\) is equal to the constant rate of change, \(m=18.9\text{.}\) We are also given the value of the function at \(d=3\text{:}\) \(w(3)=100.6\text{.}\) Hence, the point \((d_0,w_0)=(3,100.6)\) is on the graph of the function \(w(d)\text{.}\) Using the point-slope form of a linear function we find:
    \begin{equation*} w(d)=100.6+18.9(d-3). \end{equation*}
    In slope-intercept form,
    \begin{equation*} w(d)=18.9d+43.9 \end{equation*}
  2. The chick hatched when \(d=0\text{.}\) Therefore, the weight of the chick when it hatched was
    \begin{equation*} w(0)=18.9\cdot 0+43.9=43.9\approx 44 \; \text{grams}. \end{equation*}
  3. The weight of the chick will reach \(120\) grams for the value of \(d\) that satisfies the equation \(w(d)=120\text{.}\) That is, for \(d\) satisfying the equation
    \begin{equation*} 43.9+18.9d=120. \end{equation*}
    To solve for \(d\text{,}\) subtract \(43.9\) from both sides and then divide both sides by \(18.9\)
    \begin{align*} 18.9d+43.9\textcolor{blue}{-43.9} \amp \;=\; 120 \textcolor{blue}{-43.9} \\ 18.9d \amp \;=\; 76.1\\ \dfrac{{18.9}d}{\textcolor{red}{18.9}} \amp \;=\; \dfrac{76.1}{\textcolor{red}{18.9}}\\ d \amp \;\approx\; 4.026 \end{align*}
    It will take approximately \(4\) days for the chick to reach the weight of \(120\) grams.

Example 2.2.7.

Twin towns are municipalities in different countries that are paired to encourage human contact and cultural links. The populations of two twin townsβ€”one in the Netherlands and one in Franceβ€”are \(N(t)\) and \(F(t)\text{,}\) respectively, where \(t\) is the number of years since a twin partnership was established.
Both populations grow linearly according to the formulas:
\begin{equation*} N(t)=400t+8200 \qquad \text{and}\qquad F(t)=600t+6500. \end{equation*}
  1. Which town had a larger population when a twin partnership was initially established?
  2. Which town has a faster growing population? At what rate does it grow?
  3. Will the two populations ever be equal? If yes, when?
Solution.
  1. The initial population of the Dutch town is \(N(0)=8200\) people, of the French town \(F(0)=6500\text{.}\) Initially, the population of the Dutch town was larger.
  2. It is the slope of each function that gives its rate of increase. The population of the Dutch town grows at the rate of \(400\) people/year while the population of the French town grows faster at the rate of \(600\) people/year.
  3. The population of the French town is initially lower than the population of the Dutch town. However, as the populations of both towns grow, the population of the French town grows faster and therefore will at some point surpass the population of the Dutch town. This can be seen clearly when we graph both functions.
    A short description.
    The population of the French town overtakes the population of the Dutch town where the graphs of \(F(t)\) and \(N(t)\) cross. This appears to occur between years 8 and 9. As we have the formulas for both \(F(t)\) and \(N(t)\text{,}\) we can be more precise than this.
    The populations of the two towns are equal when \(F(t)=N(t)\text{.}\) That is, for the value of \(t\) satisfying the equation
    \begin{equation*} 400t+8200=600t+6500. \end{equation*}
    This is a linear equation in the variable \(t\text{.}\) To solve it, we begin by moving all constant terms to one side of the equation and all the terms containing \(t\) to the other.
    \begin{align*} 400t+8200 \textcolor{blue}{-6500} \amp \;=\; 600t+6500 \textcolor{blue}{-6500} \\ 1700 + 400t \amp \; = \; 600t \\ 400t + 1700 \textcolor{red}{-400t} \amp \; = \; 600t \textcolor{red}{-400t} \\ 1700 \amp\; = \; 200t \end{align*}
    Dividing both sides by \(200\text{,}\) we find that \(t=8.5\) years after establishing a twin partnership, the populations of both towns are equal.

Example 2.2.8.

The value \(V(t)\) of a car, in dollars, \(t\) years after the car was purchased is given by
\begin{equation*} V(t)=15000-1250t. \end{equation*}
  1. Find the vertical intercept and the horizontal intercept of the function \(V(t)\) and explain their meaning in practical terms.
  2. Create a graph of the function \(V(t)\text{.}\) What restriction should be placed on the domain of \(V(t)\) in the applied context of this exercise?
Solution.
  1. The vertical intercept is the value of the function at \(t=0\text{:}\)
    \begin{equation*} V(0)=15000-1250\cdot 0=15000. \end{equation*}
    In practical terms, it is the purchase value of the car.
    For the horizontal intercept, we must find the value of \(t\) for which \(V(t)=0\text{.}\) That is, we must solve the linear equation \(15000-1250t=0\text{:}\)
    \begin{align*} 15000 - 1250t \textcolor{blue}{+1250t} \amp \; = \; 0 \textcolor{blue}{+1250t} \\ 15000 \amp\; = \; 1250 t \\ \dfrac{15000}{\textcolor{red}{1250}} \amp\; = \; \dfrac{1250 t}{ \textcolor{red}{1250}} \\ \frac{15000}{1250} \amp \; = \; t \\ 12 \amp \; = \; t \end{align*}
    We find that the horizontal intercept is \(t=12\text{.}\) In practical terms, the horizontal intercept tells us that the car will have no value 12 years after it was purchased.
  2. The graph of the function \(V(t)=15000-1250t\text{,}\) with intercepts clearly visible, is provided below.
    A short description.
    While the line \(y=15000-1250t\) extends forever in both directions and has a domain of all real numbers, the domain of the function \(V(t)\) should be limited to \(0\leq t \leq 12\) for practical reasons. This is because the formula begins to model the applied scenario when the car was purchased at time \(t=0\) and ceases to model the applied scenario after 12 years have passed (it does not make sense for the value of the car to be negative).

Subsection Number of Solutions to a Linear Equation in One Variable

You may have noticed that each individual linear equation that we set up and solved in the preceding examples resulted in a single solution. It is, however, possible for a linear equation in one variable to result in no solution or an infinite number of solutions. Although you will rarely encounter either of these scenarios when working with linear functions modeling real-life situations, it is important to be familiar with the possibility.

Example 2.2.9.

Solve each linear equation, if possible.
  1. \(\displaystyle 5x-10=5(x-2)\)
  2. \(\displaystyle 6z-14=z+4\)
  3. \(\displaystyle 4-0.5t=-4-0.5t\)
Solution.
  1. To solve, we begin by expanding the left-hand side:
    \begin{align*} 5x-10 \amp \;=\; 5(x-2) \\ 5x-10 \amp \;=\; 5x-10 \end{align*}
    You may observe that both sides of the equation are identical. Because of this, the equation is true for all values of \(x\) and hence has an infinite number of solutions.
  2. To solve, we move all terms involving \(z\) to one side of the equation and all constants to the other:
    \begin{align*} 6z-14 \amp \;=\; z+4\\ 6z-14+\textcolor{blue}{+14} \amp \;=\; z+4\textcolor{blue}{+14} \\ 6z \amp \;=\; z+18 \\ 6z\textcolor{red}{-z} \amp \;=\; z\textcolor{red}{-z}+18 \\ 5z \amp \;=\; 18. \end{align*}
    Dividing both sides by 5 results in the single solution \(z=\frac{18}{5}=3.6\text{.}\)
  3. To solve, we move all terms involving \(t\) to one side of the equation:
    \begin{align*} 4-0.5t \amp \;=\; -4-0.5t \\ 4-0.5t\textcolor{blue}{+0.5t} \amp \;=\; -4-0.5t\textcolor{blue}{+0.5t} \\ 4 \amp \;=\; -4 \end{align*}
    We end up with a statement that is never true; 4 is not the same value as \(-4\text{.}\) The equation has no solution.

Exercises Exercises

Slope-Intercept Form.

For each of the following, write the equation of the line satisfying the given set of conditions in slope-intercept form.

Slope-Intercept Form.

For each of the following, write the formula in slope-intercept form for the linear function \(f(x)\) satisfying the given set of conditions.

18.

The distance in miles from the finish line, \(D(t)\text{,}\) of a bicyclist \(t\) hours after beginning a race is given by \(D(t)=60-20t\)
  1. Write a complete sentence explaining the practical meaning of the vertical intercept of this linear function. Include units in your answer.
  2. Write a complete sentence explaining the practical meaning of the horizontal intercept of this linear function. Include units in your answer.
  3. Write a complete sentence explaining the practical meaning of the slope of this linear function. Include units in your answer.
Solution.
  1. The vertical intercept 60 is the distance in miles that the biker is from the finish line at the start of the race.
  2. The horizontal intercept 3 is the number of hours that it takes the biker to complete the race.
  3. The slope \(-20\) indicates that the distance between the biker and the finish line is decreasing at a rate of 20 miles per hour.

19.

The value of an antique lamp, \(V(t)\text{,}\) in dollars, \(t\) years after its purchase is given by
\begin{equation*} V(t)=1900+250t. \end{equation*}
  1. What was the purchase price of the lamp?
  2. When will the value of the lamp reach \(\$4000\text{?}\)
Solution.
  1. \(\displaystyle \$1900\)
  2. The lamp will have a value of 4000 dollars 8.4 years after its purchase.

20.

Two mobile phone companies sell an international roaming plan. Company A charges a \(\$75\) dollar fixed monthly fee and \(\$0.20\) per minute for talk. Company B charges a \(\$90\) dollar fixed monthly fee and \(\$0.10\) per minute for talk.
  1. Write the linear functions \(A(m)\) and \(B(m)\) which give the monthly cost charged by Company A and Company B, respectively, with \(m\) minutes spent talking on the phone.
  2. For what value of \(m\) is the cost the same with either company?
  3. Which company gives you a better deal if you plan to talk for hours?
Solution.
  1. \(A(m)=0.20m+75\text{;}\) \(B(m)=0.10m+90\)
  2. \(\displaystyle m=150\)
  3. \(\displaystyle B(m)\)

Solving Linear Equations.

Solve each linear equation. If there is no solution or infinitely many solutions, say so.