Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Contemporary Mathematics

5.2 Linear Equations in One Variable with Applications

Contemporary Mathematics5.2 Linear Equations in One Variable with Applications

A man is lifting weights at a gym.
Figure 5.4 Most gyms have a monthly membership fee. (credit: modification of work "Morning PT after the Holidays 2021" by Fort Drum & 10th Mountain Division (LI)/Flickr, Public Domain Mark 1.0)

Learning Objectives

After completing this section, you should be able to:

  1. Solve linear equations in one variable using properties of equations.
  2. Construct a linear equation to solve applications.
  3. Determine equations with no solution or infinitely many solutions.
  4. Solve a formula for a given variable.

In this section, we will study linear equations in one variable. There are several real-world scenarios that can be represented by linear equations: taxi rentals with a flat fee and a rate per mile; cell phone bills that charge a monthly fee plus a separate rate per text; gym memberships with a monthly fee plus a rate per class taken; etc. For example, if you join your local gym at $10 per month and pay $5 per class, how many classes can you take if your gym budget is $75 per month?

Linear Equations and Applications

Solving any equation is like discovering the answer to a puzzle. The purpose of solving an equation is to find the value or values of the variable that makes the equation a true statement. Any value of the variable that makes the equation true is called a solution to the equation. It is the answer to the puzzle! There are many types of equations that we will learn to solve. In this section, we will focus on a linear equation, which is an equation in one variable that can be written as

ax+b=0ax+b=0

where aa and bb are real numbers and a0a0, such that aa is the coefficient of xx and bb is the constant.

To solve a linear equation, it is a good idea to have an overall strategy that can be used to solve any linear equation. In the Example 5.12, we will give the steps of a general strategy for solving any linear equation. Simplifying each side of the equation as much as possible first makes the rest of the steps easier.

Example 5.12

Solving a Linear Equation Using a General Strategy

Solve 7(n3)8=157(n3)8=15

Your Turn 5.12

1.
Solve 2 ( x + 1 ) 3 = 5

In Example 5.12, we used both the addition and division property of equations. All the properties of equations are summarized in table below. Basically, what you do to one side of the equation, you must do to the other side of the equation to preserve equality.

Operation Property Example
Addition

If a=ba=b

Then a+c=b+ca+c=b+c

2=22+3=2+35=52=22+3=2+35=5
Subtraction

If a=ba=b

Then ac=bcac=bc

5=552=5 23=35=552=5 23=3
Multiplication

If a=ba=b

Then ac=bcac=bc

3=334=3412=123=334=3412=12
Division

If a=ba=b

Then a÷c=b÷ca÷c=b÷c for c0c0

8=88÷2=8÷24=48=88÷2=8÷24=4

Checkpoint

Be careful to multiply and divide every term on each side of the equation. For example, 2+x=x32+x=x3 is solved by multiplying BOTH sides of the equation by 3 to get 3(2+x)=3(x3)3(2+x)=3(x3) which gives 6+3x=x6+3x=x. Using parentheses will help you remember to use the distributive property! A division example, such as 3(x+2)=6x+93(x+2)=6x+9, can be solved by dividing BOTH sides of the equation by 3 to get 3(x+2)3=6x+93,3(x+2)3=6x+93, which then will lead to x+2=2x+3x+2=2x+3.

Example 5.13

Solving a Linear Equation Using Properties of Equations

Solve 9(y2)y=16+7y9(y2)y=16+7y.

Your Turn 5.13

1.
Solve 6 ( y 2 ) 5 y = 4 ( y + 3 ) 4 ( y 1 ) .

Who Knew?

Who Invented the Symbol for Equals ?

Before the creation of a symbol for equality, it was usually expressed with a word that meant equals, such as aequales (Latin), esgale (French), or gleich (German). Welsh mathematician and physician Robert Recorde is given credit for inventing the modern sign. It first appears in writing in The Whetstone of Witte, a book Recorde wrote about algebra, which was published in 1557. In this book, Recorde states, "I will set as I do often in work use, a pair of parallels, or Gemowe (twin) lines of one length, thus: ===, because no two things can be more equal." Although his version of the sign was a bit longer than the one we use today, his idea stuck and "=" is used throughout the world to indicate equality in mathematics.

In Algebraic Expressions, you translated an English sentence into an equation. In this section, we take that one step further and translate an English paragraph into an equation, and then we solve the equation. We can go back to the opening question in this section: If you join your local gym at $10 per month and pay $5 per class, how many classes can you take if your gym budget is $75 per month? We can create an equation for this scenario and then solve the equation (see Example 5.15).

Example 5.14

Constructing a Linear Equation to Solve an Application

The Beaudrie family has two cats, Basil and Max. Together, they weigh 23 pounds. Basil weighs 16 pounds. How much does Max weigh?

Your Turn 5.14

1.
Sam and Henry are roommates. Together, they have 68 books. Sam has 26 books. How many books does Henry have?

Example 5.15

Constructing a Linear Equation to Solve Another Application

If you join your local gym at $10 per month and pay $5 per class, how many classes can you take if your gym budget is $75 per month?

Your Turn 5.15

1.
On June 7, 2021, the national average price for regular gasoline was $3.053 per gallon. If Aiko fills up his car with 16 gallons, how much is the total cost? Round to the nearest cent.

Example 5.16

Constructing an Application from a Linear Equation

Write an application that can be solved using the equation 50x+35=18550x+35=185. Then solve your application.

Your Turn 5.16

1.
Write an application that can be solved using the equation 25 x + 75 = 200 . Then solve your application.

Linear Equations with No Solutions or Infinitely Many Solutions

Every linear equation we have solved thus far has given us one numerical solution. Now we'll look at linear equations for which there are no solutions or infinitely many solutions.

Example 5.17

Solving a Linear Equation with No Solution

Solve 3(x+4)=4x+8x3(x+4)=4x+8x.

Your Turn 5.17

1.
Solve 2 ( x + 6 ) = 3 x + 4 ( x + 5 ) .

Example 5.18

Solving a Linear Equation with Infinitely Many Solutions

Solve 2(x+5)=4(x+3)2x22(x+5)=4(x+3)2x2.

Your Turn 5.18

1.
Solve 3 x 7 ( x + 5 ) = 2 ( x 6 ) .

Solving a Formula for a Given Variable

You are probably familiar with some geometry formulas. A formula is a mathematical description of the relationship between variables. Formulas are also used in the sciences, such as chemistry, physics, and biology. In medicine they are used for calculations for dispensing medicine or determining body mass index. Spreadsheet programs rely on formulas to make calculations. It is important to be able to manipulate formulas and solve for specific variables.

To solve a formula for a specific variable means to isolate that variable on one side of the equal sign with a coefficient of 1. All other variables and constants are on the other side of the equal sign. To see how to solve a formula for a specific variable, we will start with the distance, rate, and time formula.

Example 5.19

Solving for a Given Variable with Distance, Rate, and Time

Solve the formula d=rtd=rt for tt. This is the distance formula where dd = distance, rr = rate, and tt = time.

Your Turn 5.19

1.
Solve the formula I = P r t for t . This formula is used to calculate simple interest I , for a principal P , invested at a rate r , for t years.

Example 5.20

Solving for a Given Variable in the Area Formula for a Triangle

Solve the formula A=½A=½ bhbh for hh. This is the area formula of a triangle where AA = area, bb = base, and hh = height.

Your Turn 5.20

1.
Solve the formula V = 1 3 π r 2 h for h . This formula is used to calculate the volume V of a right circular cone with radius r and height h .

WORK IT OUT

Using Algebra to Understand Card Tricks

You will need to perform this card trick with another person. Before you begin, the two people must first decide which of the two will be the Dealer and which will be the Partner, as each will do something different. Once you have decided upon that, follow the steps here:

Step 1: Dealer and Partner: Take a regular deck of 52 cards, and remove the face cards and the 10s.

Step 2: Dealer and Partner: Shuffle the remaining cards

Step 3: Dealer and Partner: Select one card each, but keep them face down and don’t look at them yet.

Step 4: Dealer: Look at your card (just the Dealer!). Multiply its value by 2 (Aces = 1).

Step 5: Dealer: Add 2 to this result.

Step 6: Dealer: Multiply your answer by 5.

Step 7: Partner: Look at your card.

Step 8: Partner: Calculate: 10 - your card, and tell this information to the dealer.

Step 9: Dealer: Subtract the value the Partner tells you from your total to get a final answer.

Step 10: Dealer: verbally state the final answer.

Step 11: Dealer and Partner: Turn over your cards. Now, answer the following questions

  1. Did the trick work? How do you know?
  2. Why did this occur? In other words, how does this trick work?

Check Your Understanding

9.
Is the solution strategy used in solving the linear equation correct? If it is correct, show the final step (check the solution). If it is not correct, explain why.
8 ( x 2 ) = 6 ( x + 10 ) 8 x 16 = 6 x + 60 8 x 16 6 x = 6 x + 60 6 x 2 x 16 + 16 = 60 + 16 2 x = 76 x = 38
10.
Is the solution strategy used in solving the linear equation correct? If it is correct, show the final step (check the solution). If it is not correct, explain why.
7 + 4 ( 2 + 5 x ) = 3 ( 6 x + 7 ) ( 13 x + 36 ) 7 + 8 + 20 x = 18 x + 21 13 x 36 15 + 20 x = 5 x 15 15 + 20 x 5 x = 5 x 15 5 x 15 + 15 x 15 = 15 15 15 x = 30 x = 2
11.
Is the solution strategy used in solving the linear equation correct? If it is correct, show the final step (check the solution). If it is not correct, explain why.
8 x + 7 ( 2 x 9 ) = 22 ( 4 x 4 ) 8 x + 7 2 x 9 = 22 4 x 4 6 x 2 = 18 4 x 6 x 2 + 4 x = 18 4 x + 4 x 10 x 2 + 2 = 18 + 2 10 x = 20 x = 2
For the following exercises, use this scenario: The Nice Cab Company charges a flat rate of $3.00 for each fare, plus $1.70 per mile. A competing taxi service, the Enjoyable Cab Company, charges a flat rate of $5.00 for each fare, plus $1.60 per mile.
12.
Using the variable x for number of miles, write the equation that would allow you to find the total fare ( T ) using the Nice Cab Company.
13.
It is 22 miles from the airport to your hotel. What would be your total fare using the Nice Cab Company?
14.
Using the variable y for number of miles, write the equation that would allow you to find the total fare ( T ) using the Enjoyable Cab Company.
15.
Using the same 22-mile trip from the airport to the hotel, how much would the total fare be for using the Enjoyable Cab Company?
16.
Based on the cost of each cab ride, which cab company should you use for the trip from the airport to the hotel? Why?
17.
After solving the linear equation 3 ( 2 x 3 ) = 12 ( x 3 ) 3 ( 2 x 9 ) , Nancy says there is no solution. Luis believes there are infinitely many solutions. Who is right?
18.
The conversion formula between the Fahrenheit temperature scale and the Celsius temperature scale is given by this formula: C = 5 9 ( F 32 ) , where C is the temperature in degrees Celsius and F is the temperature in degrees Fahrenheit. What is the correct formula when solved for F ?
  1. F = 5 9 C 32
  2. F = 9 5 C 32
  3. F = 5 9 C + 32
  4. F = 9 5 C + 32
19.
To find a temperature on the Kelvin temperature scale, add 273 degrees to the temperature in Celsius. Which formula illustrates this?
  1. C = K + 273
  2. K = C + 273
  3. K = C 273
  4. C = K 273
20.
Using the information from exercise 18 and exercise 19, which conversion formula would you use to find degrees Kelvin when given degrees Fahrenheit?
  1. K = 5 9 ( F 32 ) + 273
  2. K = 5 9 F + 241
  3. K = 9 5 ( F 32 ) + 273
  4. K = 9 5 F + 241
21.
There is a fourth temperature scale, although it is not used much today. The Rankin temperature scale varies from the Fahrenheit scale by about 460 degrees. So given a temperature in Fahrenheit, add 460 degrees to get the temperature in Rankin. Which formula represents a formula to find degrees Rankin when given degrees Celsius?
  1. R = 5 9 C 492
  2. R = 9 5 C + 492
  3. R = C + 492
  4. R = 5 9 ( C 492 )

Section 5.2 Exercises

For the following exercises, solve the linear equations using a general strategy.
1 .
( t 19 ) = 28
2 .
51 + 5 ( 4 q ) = 56
3 .
6 + 6 ( 5 k ) = 15
4 .
3 ( 10 2 x ) + 54 = 0
5 .
2 ( 11 7 x ) + 54 = 4
For the following exercises, solve the linear equations using properties of equations.
6 .
12 + 8 ( x 5 ) = 4 + 3 ( 5 x 2 )
7 .
4 ( p 4 ) ( p + 7 ) = 5 ( p 3 )
8 .
3 ( a 2 ) ( a + 6 ) = 4 ( a 1 )
9 .
4 [ 5 8 ( 4 c 3 ) ] = 12 ( 1 13 c ) 8
10 .
5 [ 9 2 ( 6 d 1 ) ] = 11 ( 4 10 d ) 139
For the following exercises, construct a linear equation to solve an application.
11 .
It costs $0.55 to mail one first class letter. Construct a linear equation and solve to find how much it costs to mail 13 letters.
12 .
Normal yearly snowfall at the local ski resort is 12 inches more than twice the amount it received last season. The normal yearly snowfall is 62 inches. Construct a linear equation and solve to find what the snowfall was last season.
13 .
Guillermo bought textbooks and notebooks at the bookstore. The number of textbooks was three more than twice the number of notebooks. He bought seven textbooks. Construct a linear equation and solve to find how many notebooks he bought.
14 .
Gerry worked Sudoku puzzles and crossword puzzles this week. The number of Sudoku puzzles he completed is eight more than twice the number of crossword puzzles. He completed 22 Sudoku puzzles. Construct a linear equation and solve to find how many crossword puzzles he did.
15 .
Laurie has $46,000 invested in stocks. The amount invested in stocks is $8,000 less than three times the amount invested in bonds. Construct a linear equation and solve to find how much Laurie invested in bonds.
For the following exercises, construct an application from a linear equation.
16 .
1 , 000 x + 2 , 500 = 16 , 500 .
17 .
0.36 t for t = 333 .
18 .
150 n + 120 = 570 .
19 .
4 c + 2 c for c = 5 .
20 .
2 s + 10 = 24 .
For the following exercises, state whether each equation has exactly one solution, no solution, or infinitely many solutions.
21 .
23 z + 19 = 3 ( 5 z 9 ) + 8 z + 46
22 .
18 ( 5 j 11 ) = 47 j + 17
23 .
22 ( 3 m + 4 ) = 17 ( 4 m 6 )
24 .
7 v + 42 = 11 ( 3 v + 8 ) 2 ( 13 v 1 )
25 .
45 ( 3 y 2 ) = 9 ( 15 y 6 )
26 .
9 ( 14 d + 9 ) + 4 d = 13 ( 10 d + 6 ) + 3
For the following exercises, solve the given formula for the specified variable.
27 .
Solve the formula C = π d for d .
28 .
Solve the formula V = L W H for L .
29 .
Solve the formula A = ( 1 / 2 ) b h for b .
30 .
Solve the formula A = ( 1 / 2 ) d 1 d 2 for d 1 .
31 .
Solve the formula A = ( 1 / 2 ) h ( b 1 + b 2 ) for b 1 .
32 .
Solve the formula h = 54 t + ( 1 / 2 ) a for a .
33 .
Solve 180   = a + b + c for a .
34 .
Solve the formula A =   ( 1 / 2 ) p l + B for p .
35 .
Solve the formula: P = 2 L + 2 W for L .
Order a print copy

As an Amazon Associate we earn from qualifying purchases.

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/contemporary-mathematics/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/contemporary-mathematics/pages/1-introduction
Citation information

© Dec 21, 2023 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.