Skip to main content
Logo image

Just Enough Algebra

Section 2.1 A first look at linear equations

You’re expecting family for dinner in a few hours and, wouldn’t you know it, but your kitchen sink is clogged. The bottle of drain opener didn’t clear it out. Your brother-in-law has offered to help, but last time he tried he only made it worse. The plumber will charge you $100 just to come to your house. In addition, there will be a charge of $75 per hour for the service. If you decide to call the plumber, what will it cost?
For example, if the plumber takes one hour, then he’ll charge you $100 for showing up and $75 for the one hour of work. So, the total plumber’s bill will be
\begin{equation*} 100 + 75 = \$175 \end{equation*}
For two hours, there’s still the $100 charge, but also $75 for each of the two hours. That’s an additional charge of
\begin{equation*} 2 \text{ hours} \ast \frac{\$75}{\text{hour}} =2 \times 75= \$150 \end{equation*}
So, the total plumber’s bill will be
\begin{equation*} \$100 + \$150 = \$250 \end{equation*}
Try this calculation all at once.
\begin{equation*} \$100 + 2 \text{ hours} \ast \frac{\$75}{\text{hour}} = 100 + 2 \times 75 = \$250 \end{equation*}
Let’s hope it wouldn’t take the plumber as long as three hours, but if it did, we can do a similar calculation. Add the fixed charge of $100 to the additional charge of $75 for each of the three hours. The plumber’s bill would be
\begin{equation*} \$100 + 3 \text{ hours} \ast \frac{\$75}{\text{hour}} = 100 + 3 \times 75 = \$325 \end{equation*}
What would it cost if the plumber takes only \(\frac{1}{2}\) hour? The plumber’s bill would be
\begin{equation*} \$100 + \frac{1}{2} \text{ hours} \ast \frac{\$75}{\text{hour}} =100 + 0.5 \times 75 = \$100 + \$37.50 = \$137.50 \end{equation*}
Notice we used \(\frac{1}{2}=1 \div 2 = 0.5\text{.}\) Bet you knew that.
What would happen if the plumber was taking so long to get to your house that before he got there you dumped another bottle of drain opener in the sink and that did the trick? But before you could call and cancel the plumber, wouldn’t you know it, there he was. What do you owe him for that 0 hours of work? Probably $100. Unless your plumber says to “forget it.”
We see that the plumber’s charge depends on the amount of time it takes to unclog the sink. We can name these variables.
\begin{align*} T \amp= \text{ time plumber takes (hours) } \sim \text{ indep} \\ P \amp= \text{ total plumber's charge (\$) } \sim \text{ dep} \end{align*}
Look at the the relationship between \(T\) and \(P\) by making a table to describe how the plumber’s bill is a function of the time.
\(T\) 0 0.5 1 2 3
\(P\) 100 137.50 175 250 325
Each time we knew how long the plumber spent and calculated the plumber’s bill \(P\) by starting with the trip charge of $100 and adding in $75 times the number of hours. For example, for 3 hours we calculated
\begin{equation*} \$100 + 3 \text{ hours} \ast \frac{\$75}{\text{hour}} = \$325 \end{equation*}
We have a name for the number of hours in general; it is \(T\text{.}\) So for \(T\) hours, we would calculate
\begin{equation*} \$100 + T \text{ hours} \ast \frac{\$75}{\text{hour}}=P \end{equation*}
See how we just put the \(P\) in for $325 and \(T\) where the 3 hours was? We’re just generalizing from our example. Drop the units and we have our equation. If the plumber works for \(T\) hours, then the cost is $\(P\) where
\begin{equation*} P = 100 + T \ast 75 \end{equation*}
We started the equation “\(P=\)” because it is a convention to begin equations with the dependent variable, when possible.
An equation is a formula that shows how the value of the dependent variable (like \(P\)) depends on the value of the independent variable (like \(T\)). We usually write an equation in the form
\begin{equation*} \text{dep} = \text{formula involving indep} \end{equation*}
The equation is another way to describe a function, and efficient one - an equation carries a lot of information in only a few symbols.
There is a mathematical convention that we write numbers before letters in an equation. So, instead of \(T \ast 75\) we should write \(75 \ast T\text{.}\) There’s a conventional shorthand for this product: when a number and letter are next to each other, it means that they are multiplied. So, instead of \(75 * T\) we should write \(75T\text{.}\) Thus our equation is normally written as
\begin{equation*} P = 100 + 75T. \end{equation*}
You’ll have to remember the hidden multiplication when you’re calculating.
If you wanted to write the equation as
\begin{equation*} P = 75T + 100, \end{equation*}
that would be okay too. We can add the $100 trip charge first, like we did in our examples, or at the end. Same answer.
Suppose the plumber shows up at your house and fixed the sink in 25 minutes. Whew! No sooner do you pay your bill than your first dinner guest arrives. How much do you owe the plumber? Notice that
\begin{equation*} 25 \text{ minutes} \ast \frac{1 \text{ hour}}{60 \text{ minutes}} = 25 \div 60 = 0.4166666\ldots \text{ hours} \end{equation*}
Therefore for 25 minutes we have \(T \approx 0.4166 \text{ hours}\text{.}\)
Using our equation we get
\begin{equation*} P = 100 + 75\ast 0.4166 = 100 + 75 \times {0.4166} = 131.245 \approx \$131.25. \end{equation*}
It was important that we rounded off our final answer because we had rounded off to get 0.4166 along the way. We could have done the entire calculation at once (avoiding the round off error) as
\begin{equation*} 100 + 75 \times 25 \div 60 =131.25 \end{equation*}
Either way, we owe the plumber $131.25.
If we plot the points from the table of values in a graph, we see that the points lie on a straight line. In Chapter 1 we highlighted the points from our table on the graph. It is more common to just show the smooth curve or line.
Why is the graph a straight line? Remember that the rate of change tells us how steep the graph is. For example, let’s find the rate of change between 1 hour and 2 hours.
\begin{equation*} \text{rate of change} = \frac{\text{change dep}}{\text{change indep}} = \frac{\$250 - \$175}{2 \text{ hours} - 1 \text{ hour}} = \frac{\$75}{1 \text{ hour}} = \$75 \text{ per hour} \end{equation*}
Sure! We knew that. The plumber charges an extra $75 for each extra hour he works. The rate of change is precisely $75/hour, no matter where we calculate it. Since the rate of change is constant, the graph is the same steepness everywhere. So, the graph is a straight line, and the function is linear. Another way to say this is a function with constant rate of change is linear. The plumber’s total charge is a linear function of time.
Look back at our equation.
\begin{equation*} P = 100 + 75T \end{equation*}
Any linear equation fits this template.

Linear Equation Template

\begin{equation*} \text{dep} = \text{start} + \text{slope} \ast \text{indep} \end{equation*}
Notice our two variables are in our equation and there are two constants. Each constant has its own meaning. The first constant is 100 and it is measured in dollars. It is the trip charge, the fixed amount we would owe the plumber even if he does 0 hours work. In our standard form we refer to this quantity as the starting value (or start for short), but its official name is intercept. On the graph it’s where the line crosses the vertical axis. Think of a football player (running along the vertical axis) intercepting a pass (coming in the line). We can find the intercept from our equation by plugging in \(T = 0\) so that
\begin{equation*} P = 100 + 75 \times 0 = 100 \end{equation*}
The second constant is 75, and though it’s tempting to say it is measured in dollars, it is really measured in $ per hour. This number is the rate of change, and in the context of linear equations it gets its own name too: it’s called the slope. Since the rate of change measures the steepness of any curve or line, the word “slope”, like mountain slope, makes sense. In our plumber example the intercept was $100 and the slope was $75/hour.

Do you know …

  1. How to generalize from an example to find an equation?
  2. Where the dependent variable usually is in an equation?
  3. What the slope of a linear function means in the story and what it tells us about the graph?
  4. What the intercept of a linear function means in the story and what it tells us about the graph?
  5. The template for a linear equation? Ask your instructor if you need to remember the template or if it will be provided during the exam.
  6. Where the slope and intercept appear in the template for a linear equation?
  7. What makes a function linear?
  8. How to plot negative numbers on a graph?
  9. What the graph of a linear function looks like?
If you’re not sure, work the rest of exercises and then return to these questions. Or, ask your instructor or a classmate for help.

Exercises Exercises

Exercises 1-4 are available in a separate workbook format.

1.

A truck hauling bags of grass seed pulls into a weigh station along the highway. Trucks are weighed to determine the amount of highway tax. This particular truck weighs 3,900 pounds when it is empty. Each bag of grass seed it carries weighs 4.2 pounds. For example, a truck is carrying bags of grass seed weighs
\begin{equation*} 3{,}900 \text{ pounds} + \frac{4.2 \text{ pounds}}{\text{bag}} \ast 1{,}000 \text{ bags} = 3{,}900 + 4.2\times 1{,}000 = 8{,}100 \text{ pounds} \end{equation*}
In official trucking lingo, we say the curb weight of pounds plus the load weight of pounds results in a gross weight of pounds. So, now you know. (Story also appears in 0.2.4, 3.1.1, and 3.2.1)
(a)
Name the variables, including units.
(b)
Calculate the gross weight of the truck if it contains 2,000 bags of grass seed.
(c)
Write an equation showing how the gross weight of the truck is a function of the number of bags of grass seed.
(d)
Identify the slope and intercept, along with their units. Explain what each means in terms of the story.
(e)
The bags of grass seed are piled on wood pallets (sturdy platforms) to make them more stable for moving. How much does the truck weigh if it is carrying 12 pallets, where each pallet weighs 15 pounds and holds 96 bags of grass seed?

2.

The water in the local reservoir was 47 feet deep, but there has been so little rain that the depth has fallen 18 inches a week over the past few months. Officials are worried that if dry conditions continue, the reservoir will not have enough water to supply the town. (Story also appears in 3.2.8 and 4.1.3.d)
(a)
Name the variables and write an equation relating them. First convert 18 inches to feet.
(b)
Identify the slope and intercept, along with their units. Explain what each means in terms of the story.
(c)
Make a table of values showing the projected depth of the reservoir after 1 week, 5 weeks, 10 weeks, and 20 weeks if the current trend continues.
(d)
Draw a graph illustrating the function.

3.

I was short on cash so I got a line of credit (short term loan) on my bank account, of which I spent $2,189.57. That means my account balance is \(-\$2{,}189.57\text{.}\) I will pay back the interest plus an extra $250 each month. When the loan is paid off, I plan to continue to deposit $250 per month to start saving. (Story also appears in 3.2.6)
(a)
Name the variables, including units and dependence. Write an equation showing my account balance in each number of months. Ignore the interest.
(b)
Identify the slope and intercept, along with their units. Explain what each means in terms of the story.
(c)
Make a table of values showing my account balance now, after 4 months, and at the end of a year.
(d)
Draw a graph showing my account balance over this coming year.
(e)
About how many months will it take to pay off my line of credit? Give an approximate answer from the graph.

4.

A mug of coffee costs $3.45 at Juan’s favorite cafe, unless he buys their discount card for $10, in which case each mug costs $2.90. (Story also appears in 0.4.1, 1.2.4, and 4.2.2)
(a)
Name the variables, including units.
(b)
Write an equation describing how the total cost depends on how many mugs of coffee Juan buys, assuming he does not buy the discount card.
(c)
Write an equation describing how the total cost depends on how many mugs of coffee Juan buys, if he buys the discount card.
(d)
How would the equation change if the cafe offers a new annual membership card that costs $59.99 that entitles Juan to buy coffee for only $1 per mug all year?

5.

Plumbers are really expensive, so I’m comparing their rates. Write an equation for each possibility, using the same variables as our example: \(T\) for the time the plumber takes (in hours) and \(P\) for the plumber’s total charge (in dollars).
(Story also appears in 4.1.4)
(a)
James charges $50 to show up plus $120 per hour.
(b)
Jo the plumber is just getting started in the business. She charges $45 to show up plus $55 per hour.
(c)
Mario advertises “no trip charge” but his hourly rate is $90 per hour.
(d)
Not to be outdone, Luigi offers to unclog any drain for $150, no matter how long it takes. (“Wake up, Luigi! The only time plumbers sleep on the job is when we’re working by the hour,” says Mario.)

6.

Abduwali has just opened a restaurant. He spent $82,500 to get started but hopes to earn back $6,300 each month. (Story also appears in 3.1.6)
(a)
If all goes according to plan, will he have made money 10 months from now?
(b)
Name the variables and write an equation relating them.
(c)
Identify the slope and intercept, along with their units, and explain what each means in terms of the story.
(d)
Make a small tables of values and use it to draw a graph showing Abduwali’s profit.

7.

When Gretchen walks on her treadmill, she burns 125 calories per mile.
(Story also appears in 3.1.8 and 3.2.7)
(a)
How many calories will Gretchen burn if she walks 2.3 miles?
(b)
Name the variables and write an equation relating them.
(c)
Identify the slope and intercept, along with their units, and explain what each means in terms of the story.
(d)
Make a table showing the calories she burns walking 0, 1, 2, 3, or 4 miles.

8.

The local burger restaurant had a promotion this summer. Typically a bacon double cheeseburger costs $7.16. They reduced the price by 2¢ for each degree in the daily high temperature. For example, if the high temperature was 80°F, they would decrease the price by \(0.02 \times 80 = \$1.60\text{,}\) so the double cheeseburger would cost \(7.16-1.60=\$5.56\text{.}\) Mmmm. (Story also appears in 3.1.4)
(a)
Name the variables in the story and write a linear equation relating them.
(b)
Is the function increasing or decreasing?
(c)
Make a table showing the price of a bacon cheeseburger when the daily high temperature is 65°F, 75°F, and 90°F.
(d)
Draw a graph illustrating how the price of a bacon double cheeseburger depends on the temperature. Start the temperature on your graph at 60°F.

9.

A report on health care back in 1975 stated that the U.S. had around 1,466,000 hospital beds and since then the number of beds has declined by around 16,000 beds per year.
(a)
Name the variables, including units and dependence.
(b)
Write an equation illustrating the function.
(c)
Is the function increasing or decreasing?
(d)
Make a table showing the number of hospital beds projected for 1980, 1990, 2000, 2010, and 2020.
(e)
At this rate of decline, in what year will we have only \(\tfrac12\) million beds? First estimate the answer from your table. Then figure it out, to the nearest year.

10.

The stretch of interstate highway through downtown averages 1,450 cars per hour during the morning rush hour. The economy is improving (finally), but with that the county manager predicts traffic levels will increase around 130 more cars per hour each week for the next couple of weeks. (Story also appears in 3.1.10)
(a)
Name the variables and write an equation relating them.
(b)
Make a table showing the number of cars per hour anticipated now and in 2 weeks, 4 weeks, 6 weeks, 8 weeks, and 10 weeks.
(c)
Significant slowdowns are expected if traffic levels exceed 2,000 cars per hour. When do they expect that will happen? Estimate your answer from your table. (Or, figure it out.)
(d)
If traffic levels exceed 2,500 the county plans to install control lights at the on-ramps. When is that expected to happen?