Learning

open
close

Linear Equations in One Variable with Applications

April 26, 2025 | by Bloom Code Studio

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 a≠0a≠0, 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(n−3)−8=−157(n−3)−8=−15

Solution

Step 1: Simplify each side of the equation as much as possible.Use the Distributive Property. Notice that each side of the equation is now simplified as much as possible.7(n−3)−87n−21−87n−29===−15−15−157(n−3)−8=−157n−21−8=−157n−29=−15
Step 2: Collect all variable terms on one side of the equation.Nothing to do; all nn-terms are on the left side.7n−29=−157n−29=−15
Step 3: Collect constant terms on the other side of the equation.To get constants only on the right, add 29 to each side.Simplify.7n−29+297n==−15+29147n−29+29=−15+297n=14
Step 4: Make the coefficient of the variable term equal to 1.Divide each side by 7.Simplify.7n7=1477n7=147n=2n=2
Step 5: Check the solution.Let n=2n=2Subtract.Check:7(n−3)−87(2−3)−87(−1)−8−7−8−15==?=?=?=−15−15−15−15−15✓7(n−3)−8=−157(2−3)−8=?−157(−1)−8=?−15−7−8=?−15−15=−15✓

Your Turn 5.12

1.

Solve 2(x+1)−3=52(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.

OperationPropertyExample
AdditionIf a=ba=bThen a+c=b+ca+c=b+c22+35===22+352=22+3=2+35=5
SubtractionIf a=ba=bThen a−c=b−ca−c=b−c55−23===55−235=55−2=5−23=3
MultiplicationIf a=ba=bThen a∙c=b∙ca•c=b•c33∙412===33∙4123=33•4=3•412=12
DivisionIf a=ba=bThen a÷c=b÷ca÷c=b÷c for c≠0c≠088÷24===88÷248=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(y−2)−y=16+7y9(y−2)−y=16+7y.

Solution

Step 1: Simplify each side.

9(y−2)−y9y−18−y8y−18===16+7y16+7y16+7y9(y−2)−y=16+7y9y−18−y=16+7y8y−18=16+7y

Step 2: Collect all variables on one side.

8y−18−7yy−18==16+7y−7y168y−18−7y=16+7y−7yy−18=16

Step 3: Collect constant terms on one side.

y−18+18y==16+1834y−18+18=16+18y=34

Step 4: Make the coefficient of the variable 1. Already done!

Step 5: Check.

9(34)−18−(34)306−18−34288−34254=?=?=?=16+7(34)16+238254254✓9(34)−18−(34)=?16+7(34)306−18−34=?16+238288−34=?254254=254✓

Your Turn 5.13

1.

Solve 6(y−2)−5y=4(y+3)−4(y−1)6(y−2)−5y=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?

Solution

Let bb = Basil’s weight and mm = Max’s weight.

b+m=23b+m=23

We also know that Basil weighs 16 pounds so:

Steps 1 and 2: 16+m=2316+m=23

Since both sides are simplified, the variable is on one side of the equation, we start in Step 3 and collect the constants on one side:

Step 3:

16+m−16m==23−16716+m−16=23−16m=7

Step 4: is already done so we go to Step 5:

Step 5:

16+723=?=2323✓16+7=?2323=23✓

Basil weighs 16 pounds and Max weighs 7 pounds.

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?

Solution

If we let xx = number of classes, the expression 5x+105x+10 would represent what you pay per month if each class is $5 and there’s a $10 monthly fee per class. $10 is your constant. If you want to know how many classes you can take if you have a $75 monthly gym budget, set the equation equal to 75. Then solve the equation 5x+10=755x+10=75 for xx.

Steps 1 and 2:

5x+10=755x+10=75

Step 3:

5x+10−105x==75−10655x+10−10=75−105x=65

Step 4:

5x5x==655135×5=655x=13

Step 5:

5(13)+1065+1075=?=?=757575✓5(13)+10=?7565+10=?7575=75✓

The solution is 13 classes. You can take 13 classes on a $75 monthly gym budget.

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.

Solution

Answers will vary. Let’s say you want to rent a snowblower for a huge winter storm coming up. If xx = the number of days you rent a snowblower, then the expression 50x+3550x+35 represents what you pay if, for each day, it costs $50 to rent the snowblower and there is a $35 flat rental fee. $35 is the constant. To find out how many days you can rent a snowblower for $185, set the expression equal to 185. Then solve the equation 50x+35=18550x+35=185 for xx.

Steps 1 and 2:

50x+35=18550x+35=185

Step 3:

50x+35−3550x==185−3515050x+35−35=185−3550x=150

Step 4:

50x50x==15050350×50=15050x=3

Step 5:

50(3)+35150+35185=?=?=185185185✓50(3)+35=?185150+35=?185185=185✓

The equation is 50x+35=18550x+35=185 and the solution is 3 days. You can rent a snowblower for 3 days on a $185 budget.

Your Turn 5.16

1.

Write an application that can be solved using the equation 25x+75=20025x+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+8−x3(x+4)=4x+8−x.

Solution

Step 1: Simplify each side. 3(x+4)=4x+8−x3(x+4)=4x+8−x

3x+12−3x=3x+8−3x3x+12−3x=3x+8−3x

Step 2: Collect all variables to one side. 3x+12−3x=3x+8−3x3x+12−3x=3x+8−3x

12=812=8

The variable xx disappeared! When this happens, you need to examine what remains. In this particular case, we have 12=812=8, which is not a true statement. When you have a false statement, then you know the equation has no solution; there does not exist a value for xx that can be put into the equation that will make it true.

Your Turn 5.17

1.

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

Example 5.18

Solving a Linear Equation with Infinitely Many Solutions

Solve 2(x+5)=4(x+3)−2x−22(x+5)=4(x+3)−2x−2.

Solution

Step 1:

2(x+5)2x+102x+10===4(x+3)−2x−24x+12−2x−22x+102(x+5)=4(x+3)−2x−22x+10=4x+12−2x−22x+10=2x+10

Step 2:

2x+10−2×10==2x+10−2x102x+10−2x=2x+10−2×10=10

As with the previous example, the variable disappeared. In this case, however, we have a true statement (10=1010=10). When this occurs we say there are infinitely many solutions; any value for xx will make this statement true.

Your Turn 5.18

1.

Solve 3x−7−(x+5)=2(x−6).3x−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.

Solution

Divide both sides by rr: d/r=rt/rd/r=rt/r

d/r=td/r=t

Your Turn 5.19

1.

Solve the formula I=PrtI=Prt for tt. This formula is used to calculate simple interest II, for a principal PP, invested at a rate rr, for tt 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.

Solution

Step 1: Multiply both sides by 2.

2A=2(½bh)2A=bh2A=2(½bh)2A=bh

Step 2: Divide both sides by bb.

2Ab2Abh===bhbh2Ab2Ab=bhb2Ab=hh=2Ab

Your Turn 5.20

1.

Solve the formula V=13πr2hV=13πr2h for hh. This formula is used to calculate the volume VV of a right circular cone with radius rr and height hh.

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?

RELATED POSTS

View all

view all