PA
Pre-Algebra View details
6. Solving System of Equations Algebraically
Lesson
Exercises
Tests
Chapter 7
6. 

Solving System of Equations Algebraically

This lesson introduces methods to solve systems of equations algebraically, focusing on substitution and elimination. It explains how these techniques help determine if a system has one, none, or infinitely many solutions. The concepts are practical for analyzing and solving real-world problems involving multiple variables.

Student Learning Objectives:
  • Solve a system of equations algebraically using the Substitution Method
  • Solve a system of equations algebraically using the Elimination Method
  • Identify the number of solutions to a system of linear equations algebraically
Show more expand_more
14 Theory slides
11 Exercises - Grade E - A
Each lesson is meant to take 1-2 classroom sessions
Solving System of Equations Algebraically
Slide of 14
Systems of equations are used to relate the values of two or more variables. This lesson will explore different methods to solving a system algebraically.

Catch-Up and Review

Here are a few recommended readings before getting started with this lesson.

Challenge

Books and Movies About Space

Vincenzo is fascinated by all things related to space and astronauts. He spends a lot of his free time reading books and watching movies about space travel, distant galaxies, and rocket science.

Vincenzo counted that he has watched or read 27 things related to space in total. He has seen 9 more movies than the number of books he has read. How many books and movies about space has he consumed?

Discussion

Substitution Method of Solving a System of Equations

There are several methods for solving a system of equations. One of the most popular methods is the Substitution Method.

Method

Substitution Method

The Substitution Method is an algebraic method for finding the solutions of a system of equations. It involves substituting an equivalent expression for a variable in one of the equations of the system. Consider the following example system of linear equations. y-4=2x & (I) 9x+6=3y & (II) To solve the system using the Substitution Method, follow these four steps.

1
Isolate One Variable in Any of the Equations
expand_more
The first step is to isolate any variable in any of the equations. For simplicity, the y-variable will be isolated in Equation (I).

y-4=2x 9x+6=3y
y=2x+4 9x+6=3y

2
Substitute the Expression
expand_more
Substitute the new expression for the variable in the equation where the variable was not isolated. In this case, 2x+4 will be substituted for y in Equation (II).

y=2x+4 9x+6=3y
y=2x+4 9x+6=3( 2x+4)

Now Equation (II) only has one variable, x.

3
Solve the Equation With One Variable
expand_more
Solve the equation that contains only one variable. In this case, Equation (II) will be solved for x.

y=2x+4 & (I) 9x+6=3(2x+4) & (II)
y=2x+4 9x+6=6x+12
y=2x+4 9x=6x+6
y=2x+4 3x=6
y=2x+4 x=2

The value of the x-variable is 2.

4
Substitute the Value of the Variable Into the Other Equation
expand_more
Now that the value of one of the variables is known, it can be substituted into the equation that has not been solved yet. Here, x= 2 will be substituted into Equation (I).

y=2x+4 & (I) x=2 & (II)
y=2( 2)+4 x=2
▼
(I): Evaluate right-hand side
y=4+4 x=2
y=8 x=2

The value of the y-variable in this system is 8. Therefore, the solution to the system of equations, which is the point of intersection of the lines, is (2,8) or x=2, y=8.

Example

Snack Stand Pricing

At a carnival, a food truck sells pretzels and milkshakes, among other items. Let p be the price of one prezel and m be the price of one milkshake. The price of a pretzel p and cost of a milkshake m are related by the following system of equations. p+4m=42 8p-5m=3

a

Solve the system by graphing.

b

Solve the system by substitution.

c

Are the solutions the same? Which method of solving is more useful in this case and why?

Answer

a

Graph:

Estimated Solution: m=9, p=6

b

m=9, p=6

c

The solutions are the same. In this case, the Substitution Method is more useful for a number of reasons.

Hint

a

Rewrite the equations in slope-intercept form. Use the slope and y-intercept to graph each equation.

b

Isolate p in the first equation and substitute the resulting expression into the second equation to find m. Then, substitute the value of m into the first equation to find p.

c

Which method is shorter? Does either method require the equations to be in a specific form? Do both methods always result in the exact solutions?

Solution

a

To solve the system of equations by graphing, we first write both equations in slope-intercept form. For the first equation, we only need to subtract 4m from both sides.

p+4m - 4m=42 - 4m ⇕ p= - 4m+42 Now, we rewrite the second equation.

8p-5m=3
▼
Write in slope-intercept form
8p=3+5m
p=3+5m/8
p=3/8+5m/8
p=3/8+5/8m
p=5/8m+3/8

We graph both equations on the same coordinate plane. To graph the first equation, we start by plotting the y-intercept of 42. We use the slope of - 4 to move 1 unit to the right and 4 units down, or 2 units to the right and 2* 4= 8 units down, to plot the second point.

We draw a line through the two points to get the graph of the first equation.

We can graph the second equation by following the same process.

The graph of the second equation

The point of intersection of the lines represents the solution to the system of equations. If it lies on lattice lines or at their intersections, we can determine the exact solution. Otherwise, we can only estimate the solution.

The lines seem to intersect at (9,6). Therefore, m=9 and p=6, so milkshakes cost $9 and pretzels cost $6.

b

Let's solve the system of equations using the Substitution Method. We start by isolating the variable p and substituting the resulting expression into the second equation.

p+4m=42 & (I) 8p-5m=3 & (II)
p=42-4m 8p-5m=3
p=42-4m 8( 42-4m)-5m=3
p=42-4m 336-32m-5m=3
p=42-4m 336-37m=3
p=42-4m - 37m=- 333
p=42-4m m=9

We found that m=9. Now, we substitute this value into either of the original equations. Since p is already isolated in the first equation, let's substitute m=9 into that equation to find p.

p=42-4m m=9
p=42-4( 9) m=9
p=42-36 m=9
p=6 m=9

The solution to the system of equations is p=6 and m=9. This means that the milkshakes cost $9 and pretzels cost $6.

c

Both methods of solving the system of equations gave the same solution, so both methods of solving are correct.

Graphing Method:& p=6, m=9 Elimination Method:& p=6, m=9 However, in this case, the Substitution Method is more convenient because it is shorter and gives the exact solution. The graphing method requires the equations to be in slope-intercept form and does not always give an exact solution.

Graphing Method Substitution Method
Longer Shorter
Equations in specific form Equations in any form
Not always exact solutions Always exact solutions
Example

Buying Water Bottles

A sports store sells basic plastic water bottles and insulated bottles. The prices of the plain bottle p and to insulated bottle i are given by the following system of equations. 2p+2=i p+3i=97

a

Solve the system by using the Substitution Method. Check your answer.

b

Solve the system of equations by graphing.

Answer

a

p=13 and i=28

b

Graph:

Estimated Solution: (28,13)

Hint

a

Isolate one variable in one of the equations. Substitute the resulting expression into the other equation to solve for the other variable.

b

Rewrite each equation in slope-intercept form. Then, graph the equations using the y-intercepts and slopes.

Solution

a

We will solve the system of equations using the Substitution Method. Let's start by isolating one variable in one equation. Notice that i is already isolated in the first equation.

2p+2=i p+3i=97 ⇔ i=2p+2 p+3i=97 Let's substitute the corresponding expression into the other equation and solve p.

i=2p+2 & (I) p+3i=97 & (II)
i=2p+2 p+3( 2p+2)=97
▼
Solve for p
i=2p+2 p+6p+6=97
i=2p+2 7p+6=97
i=2p+2 7p=91
i=2p+2 p=13

We found that p = 13. This means that the plastic water bottle costs $13. Next, we substitute this value into either of the original equations and solve for the other variable i. Let's use the first equation since i is already isolated.

i=2p+2 p=13
i=2( 13)+2 p=13
i=26+2 p=13
i=28 p=13

The insulated water bottle costs $28. The solution to the system is p=13 and i=28. To check the solution, we substitute 13 for p and 28 for i into the system of equations and simplify. If both equations result in true statements, the solution is correct.

l2p+2=i p+3i=97
l2( 13)+2? = 28 13+3( 28)? =97
l26+2? =28 13+84? =97
l28=28 ✓ 97=97 ✓

The equations both simplified into true statements, so the solution is indeed correct!

b

To solve the system of equations by graphing, we start by rewriting both equations in slope-intercept form. We consider p as the y-variable and i as the x-variable.

2p+2=i & (I) p+3i=97 & (II)
2p=i-2 p+3i=97
p=0.5i-1 p+3i=97
p=0.5i-1 - 3i+97

Now, we graph the equations using their y-intercepts and slopes. The point of intersection is the solution to the system.

The point of intersection lies on the lattice line where p=28, but it can be difficult to determine the exact value of p from the graph alone. It could have values from 11 to 14. In Part A, we found that p = 13. The graph supports this value, so the solution is (28,13).

Discussion

Elimination Method

The Elimination Method solves a system by adding or subtracting equations to eliminate one variable. Sometimes, one equation is first multiplied by a number so the variable terms will cancel. This produces an equivalent system with the same solution. Consider the following example system of linear equations. 3x+2y=6 & (I) y=2x-11 & (II) To solve the system using the Elimination Method, follow these five steps.

1
Write the Equations in the Same Form
expand_more
First, gather all like terms on the same sides of the equations. The variable terms are on the same side of the equation in Equation (I), but the variable terms are on both sides of the equation in Equation (II).

3x+2y=6 y=2x-11
3x+2y=6 - 2x+y=- 11

2
Multiply an Equation
expand_more
Multiply one of the equations by a constant so that one of the variable terms of the resulting equation is equal to or is the opposite of the corresponding variable term in the other equation. In this case, multiplying Equation (II) by - 2 will produce opposite coefficients for the y-variable. - 2 (- 2x+y)= - 2(- 11) ⇕ 4x-2y= 22 Both the original and the resulting equations have the same solutions because they are equivalent equations.
3
Add the New Equation and the Other Equation
expand_more
After the rewrites, the system of equations looks this. 3x + 2y=6 4x - 2y=22 Add these two equations by adding the right-hand sides together and the left-hand sides together. This will eliminate one of the variables.

3x+2y+( 4x-2y)=6+ 22
▼
Simplify
3x+2y+4x-2y=6+22
3x+4x+2y-2y=6+22
7x=28
7x/7 = 28/7
x = 4

4
Write an Equivalent System
expand_more
Substitute the value for the solved equation in one variable for any of the equations of the system. This produces an equivalent system of equations. In this case, Equation (I) will be replaced. & 3x+2y=6 & (I) - 2x+y=- 11 & (II) & ⇕ & x= 4 - 2x+y=- 11 The first equation is the solution value of x.

5
Solve the Equivalent System
expand_more
To solve the new system, substitute the found value into the other equation. In this case, 4 will be substituted into Equation (II) for x to find the value of y.

x=4 - 2x+y=- 11
x=4 - 2( 4)+y=- 11
▼
(II): Solve for y
x=4 - 8+y=- 11
x=4 y=- 3

In this system, the value of y is - 3. Therefore, the solution to the system of equations, which is the point of intersection of the lines, is (4,- 3), or x=4, y=- 3.

Example

Tickets to the Game

A school is selling student tickets and non-student tickets to a basketball game. The prices of a student ticket s and a non-student ticket n are related by the following system of equations. 2n-s=37 7s-4n=- 19

a

Solve this system by graphing.

b

Solve the same system by elimination.

c

Are the solutions the same?

Answer

a

Graph:

b

s=11, n=24

c

Yes

Hint

a

Rewrite each equation in slope-intercept form. Then, graph both equations on the same coordinate plane.

b

Multiply the first equation by 2 and add the equations together to eliminate n and solve for s.

c

Compare the solutions found by each method.

Solution

a

To solve the system of equations graphically, we first rewrite each equation in slope-intercept form. Let n be the y-variable and s be the x-variable.

2n-s=37 & (I) 7s-4n=- 19 & (II)
▼
(I), (II): Write in slope-intercept form
2n=s+37 7s-4n=- 19
n=0.5s+18.5 7s-4n=- 19
n=0.5s+18.5 - 4n=- 7s-19
n=0.5s+18.5 n=1.75s+4.75

We now graph both equations on the same coordinate plane.

From the graph, the solution appears to be s=11 and n=24. In the context of the exercise, this means that a student ticket costs $11 and a non-student ticket costs $24.

b

If we multiply Equation (I) by 2, the n-terms can be eliminated by adding the equations.

2n-s=37 & (I) 7s-4n=- 19 & (II)
4n-2s=74 7s-4n=- 19
4n-2s+( 7s-4n) =74+ ( - 19) 7s-4n=- 19
▼
(I): Solve for s
4n-2s+7s-4n =74-19 7s-4n=- 19
5s=55 7s-4n=- 19
s = 11 7s-4n=- 19

Equation (I) simplifies to s=11. Substitute this value into Equation (II) to calculate the value of n.

s = 11 & (I) 7s-4n=- 19 & (II)
s = 11 7( 11)-4n=- 19
▼
(II): Solve for n
s = 11 77-4n=- 19
s = 11 - 4n=- 96
s = 11 n=24

Therefore, the solution is s=11 and n=24. A student ticket costs $11 and a non-student ticket costs $24.

c

Let's compare the solutions found by using the two different methods.

Graphing Method:& s=11, n=24 Elimination Method:& s=11, n=24 Both methods give the same solution, so they are both correct. The Elimination Method might be a little easier and quicker than graphing these equations. It also always gives the exact solution, while graphing can sometimes give an estimate.

Example

Designing a Poster

A rectangular poster is being designed for a school event. The width w and height h of the poster in inches are related by the following system of equations. 3w-4h=6 5h=78-w Solve the system by using the Elimination Method. Check your answer.

Hint

Add w to both sides of the second equation, then multiply it by 3. Subtract the equations to eliminate w. Solve the resulting equation for h.

Solution

To use the Elimination Method, we need one variable to cancel when we subtract one equation from the other. If we add w to both sides of Equation (II) and multiply by 3, the w-terms will cancel when we subtract Equation (I) from Equation (II).

3w-4h=6 & (I) 5h=78-w & (II)
3w-4h=6 5h+w=78
3w-4h=6 15h+3w=234
3w-4h=6 15h+3w-( 3w-4h)=234- 6
▼
(I): Solve for h
3w-4h=6 15h+3w-3w-(- 4h)=234-6
3w-4h=6 15h+3w-3w+4h=234-6
3w-4h=6 15h+4h+3w-3w=234-6
3w-4h=6 19h=228
3w-4h=6 h=12

We can now substitute h= 12 into Equation (I) to calculate the value of w.

3w-4h=6 h=12
3w-4( 12)=6 h=12
▼
(I): Solve for w
3w-48=6 h=12
3w=54 h=12
w=18 h=12

The solution is w=18 and h=12. This means the poster is 18 inches wide and 12 inches high. To check the solution, we substitute w= 18 and h= 12 into the system of equations and simplify.

Equation (I) Equation (II)
Equation 3w-4h=6 5h=78-w
Substitute 3( 18)-4( 12)? =6 5( 12)? =78- 18
Simplify 6 = 6 ✓ 60 = 60 ✓

We got two true statements, so our solution is correct!

Pop Quiz

Checking the Solutions of Systems of Equations

Check whether the given values of x and y correspond to a solution to the system of equations.

System of equations and its solutions are randomly generated
Pop Quiz

Practice Solving Systems of Linear Equations

Solve the system of linear equations to find the values of x and y.

Solving a system of linear equations
Discussion

Numbers of Solution to Systems of Equations

Solving a system of equations can result in three different scenarios. One possible scenario is when a system has exactly one solution. y=4x+5 7x-y=4 ⇓ x=3 y=17 The graph of this system of equations consists of two intersecting lines. The coordinates of the intersection point correspond to the solution of the system of equations.

Another possible scenario is when solving a system of equations results in an identity. y=4x+5 2y-8x=10 ⇔ y=4x+5 10=10 ✓ In this case, the system of equations has infinitely many solutions and the graph of the system is two coincidental lines.

The last possible scenario is when solving a system of equations results in a false statement. y=4x+5 2x-0.5y=3 ⇔ y=4x+5 - 2.5=3 * This means that the system of equations has no solution. The graph of this type of system of equations is two parallel lines.

These three scenarios are summarized in a table.

Number of Solutions Graph
One solution Intersecting lines
Infinitely many solutions Coincidental lines
No solution Parallel lines
Example

Art Class Supplies

Dylan and Tadeo need to buy supplies for art class. Tadeo notices that the cost of 6 sketchbooks is $57 more than the cost of 15 pencils. Dylan claims that the cost of 2 sketchbooks is $19 more than the cost of 5 pencils. These numbers are related by the following system of equations, where p is the cost of a pencil and s is the price of a sketchbook. 6s-15p=57 19+5p=2s

a

Solve the system of equations algebraically.

b

Graph the system of equations on a coordinate plane. How do the lines relate to each other?


Hint

a

Solve the system of equations using the Substitution or Elimination Methods.

b

Rewrite the equations in slope-intercept form and graph them. How many common points do their graphs have?

Solution

a

We start by analyzing the given system of equations.

6s-15p=57 & (I) 19+5p=2s & (II) Multiplying Equation (II) by 3 and adding it to Equation (I) will eliminate the p-variable. So, we can use the Elimination Method to solve the system.

6s-15p=57 & (I) 19+5p=2s & (II)
6s-15p=57 57+15p=6s
6s-15p + 57 + 15p =57 + 6s 57+15p=6s
6s + 57 =57 +6s 57+15p=6s

In Equation (I), we ended with a true statement for any value of s. This means the system of equations has infinitely many solutions.

b

To graph the system of equations on a coordinate plane, we first rewrite them in slope-intercept form. Let s be the y-variable and p be the x-variable.

6s-15p=57 & (I) 19+5p=2s & (II)
▼
(I), (II): Write in slope-intercept form
6s=15p+57 19+5p=2s
s=2.5p+9.5 19+5p=2s
s=2.5p+9.5 2s=19+5p
s=2.5p+9.5 s=9.5+2.5p
s=2.5p+9.5 s=2.5p+9.5

Rewriting the equations resulted in the exact same equation. Let's graph it.

Since the lines have the same equation, their graphs are coincidental lines. This means the system of equations has infinitely many solutions. In consequence, many pairs of prices satisfy both conditions, so we cannot determine the individual prices of the pencils and sketchbooks.

Example

Building a Model Bridge

Dominika is building a model bridge using two types of support pieces. Let d represent the length of one diagonal support and m represent the length of one middle support, in inches. The bridge is made up of 16 diagonal supports and 8 middle supports and must have a total length of 20 inches. The design also requires the length of a middle support to be 4 inches minus twice the length of a diagonal support. These conditions are represented by the following system of equations. 16d=- 8m+20 m=4-2d

a

Solve the system of equations algebraically.

b

Graph the system of equations on the same coordinate plane. How do the lines relate to each other?

Hint

a

Solve the system of equations using the Substitution or the Elimination Method.

b

Rewrite the equations in slope-intercept form and graph them. How many common points do their graphs have?

Solution

a

Start by analyzing the given system of equations.

16d=- 8m+20 & (I) m=4-2d & (II) Notice that in Equation (II), the m-variable is already isolated on the left-hand side. We can substitute the expression on the right-hand side into Equation (I) and solve for d.

16d=- 8m+20 m=4-2d
16d=- 8( 4-2d)+20 m=4-2d
16d=- 32+16d+20 m=4-2d
16d=16d-12 m=4-2d
0≠ - 12 m=4-2d

After substitution and simplification, Equation (I) gives a false statement. This means the system of equations has no solution. In consequence, the two design requirements cannot both be met, so one of the requirements needs to be changed.

b

To graph the system of equations, we start by rewriting both equations so that they are in slope-intercept form. Let's consider m as the y-variable and d as the x-variable.

16d=- 8m+20 & (I) m=4-2d & (II)
▼
(I), (II): Write in slope-intercept form
16d=- 8m+20 m=- 2d+4
- 8m+20=16d m=- 2d+4
- 8m=16d-20 m=- 2d+4
m=- 2d+2.5 m=- 2d+4

The equations have the same slope but different y-intercepts. Use the slopes and y-intercepts to graph both equations.

The lines are parallel. Since they do not intersect, the system of equations has no solution.

Closure

Finding the Number of Books and Movies

Vincenzo spends a lot of his free time reading books and watching movies about space travel, distant galaxies, and rocket science.

Vincenzo counted that he has watched or read 27 things related to space in total. He has seen 9 more movies than the number of books he has read. How many books and movies about space has he consumed?

Hint

Write two equations that describe the total number of movies and books about space that Vincenzo has watched or read. Solve the system of equations using the Substitution Method.

Solution

Let b be the number of books and m be the number of movies about space that Vincenzo has read or watched. He has read or watched a total of 27 pieces of media, so we can write this as the following equation. b+m=27 The number of movies m is 9 more than the number of books b. This gives us the second linear equation. m=b+9 These two equations form a system of equations. b+m=27 m=b+9 Since m is already isolated in Equation (II), we can solve the system by using the Substitution Method.

b+m=27 & (I) m=b+9 & (II)
b+ b+9=27 m=b+9
2b+9=27 m=b+9
2b=18 m=b+9
b=9 m=b+9
b=9 m= 9+9
b=9 m=18

This means that Vincenzo has read 9 books and watched 18 movies about space.



Solving System of Equations Algebraically
Exercise 1.1
Edit Lesson
≥
>
■2
■▢
e▢
7
8
9
×
÷■1​
=
=
√▢​
▢​√
∫▢▢​
4
5
6
+
−
≤
<
log
ln
log▢​
1
2
3
()
∣
sin
cos
tan
0
.
π
x
y