Algebra 1Systems of Equations and Inequalities2 of 5
Systems of Equations and Inequalities · 2
Solving Systems by Substitution
To solve a system of two equations with algebra, we need a way to get down to one variable at a time.
1
Swapping One Variable for Another
We want to find the values of x and y that make both of these equations true at the same time:
x+yy=10=4x
The top equation has both x and y, so we can't solve it on its own. Since the second equation tells us what y is in terms of x, we can trade y for 4x.
Swapping One Variable for Another
x+yy(x,y)=10=4x=?
Text solution
Swap 4x in for y and solve for xBecause y and 4x have the exact same value, replacing y with 4x in the top equation gives an equation with only x:
x+4x5xx=10=10=2
Plug x=2 into y=4x to find yNow that x is known, putting 2 in place of x in the second equation gives y directly:
yy=4(2)=8
So the solution is x=2 and y=8, the single pair of numbers that makes both equations true at once.
2
Substituting a Package in Parentheses
Now let's solve a system where y equals x+1, which has two terms, and y is multiplied by 3 in the other equation:
2x+3yy=18=x+1
Substituting a Package in Parentheses
2x+3yy(x,y)=18=x+1=?
Text solution
Substitute (x+1) for y in parentheses and solve for xSince 3y means 3 times all of y, we wrap the package x+1 in parentheses so the 3 multiplies both terms rather than just the x:
2x+3(x+1)2x+3x+35x+35xx=18=18=18=15=3
Plug x=3 into y=x+1 to find yWe use the bottom equation because it already has y by itself:
yy=3+1=4
So the solution is x=3,y=4, or the point (3,4) where the two lines cross on a graph.
3
Getting a Variable Alone First
Neither equation in this next system starts with x= or y=, and we want to find the pair (x,y) that solves both:
x+2y3x+5y=9=24
When neither equation gives a ready-made swap, we rearrange one of the equations first to get a variable by itself.
Getting a Variable Alone First
x+2y3x+5y(x,y)=9=24=?
Text solution
Get the lone x by itself in the first equationOut of the four variable terms x,2y,3x, and 5y, the top x has no number in front of it, so subtracting 2y isolates it in one step without creating fractions:
x=9−2y
Substitute (9−2y) into the other equation and solve for yPlugging 9−2y back into the first equation where it came from just cancels out to 9=9, so we put the package into the unused second equation 3x+5y=24:
3(9−2y)+5y27−6y+5y27−y−yy=24=24=24=−3=3
Plug y=3 into the rearranged equation x=9−2y to find xThat equation from the first step is already set up to give x right away:
xxx=9−2(3)=9−6=3
So the solution is x=3,y=3, or the point (3,3).
Isolating any of the four variable terms in x+2y=9 and 3x+5y=24 leads to the exact same solution (3,3), while only the lone x avoids fractions along the way.
Solving for any of the four terms gives the exact same answer, and starting with the variable with no number in front avoids fractions along the way.
4
When the Variables Cancel Out
Now let's see what happens in two systems where substituting the package makes the variables disappear completely:
yy=2x+1=2x+3andand2x−y4x−2y=5=−6
When the Variables Cancel Out
y2x−y(x,y)y4x−2y(x,y)=2x+1=5=?=2x+3=−6=?
Text solution
Substitute (2x+1) for y in 2x−y=5Distributing the minus sign across the entire package (2x+1) cancels the x terms and leaves a false statement:
2x−(2x+1)2x−2x−1−1=5=5=5
Because −1 never equals 5, the two equations contradict each other (y=2x+1 and y=2x−5 are parallel lines that never cross), so there is no solution.
Substitute (2x+3) for y in 4x−2y=−6Distributing −2 across the package (2x+3) also cancels the x terms, this time leaving a statement that is always true:
4x−2(2x+3)4x−4x−6−6=−6=−6=−6
Because −6=−6 for every x, both equations describe the exact same line, y=2x+3, so every point on that line works and there are infinitely many solutions.
When we compare a second line to 4x−2y=−6, crossing lines keep an x term that solves for the intersection point, parallel lines cancel the x terms to a false statement, and overlapping lines cancel the x terms to −6=−6.
When you substitute one line into the other, the x terms stay if the lines cross and cancel out if the lines have the same slope.
Key concepts
Substitution turns a two-variable system into a one-variable equation by trading a variable for an equal package from the other equation. When one equation already has a variable alone, like y=x+1 in 2x+3y=18, don't rearrange anything; wrap that package in parentheses and plug it straight into the other equation as 2x+3(x+1)=18. When neither equation has a variable alone, like x+2y=9 and 3x+5y=24, pick the variable term with no number in front of it (x=9−2y) so you don't create fractions, and always plug that package into the other equation, 3(9−2y)+5y=24. Once you find the first variable, plug it back into the x= or y= equation to get the second variable. If substituting into the other equation cancels every variable out, check the numbers left behind: a false statement like −1=5 means no solution, and a true statement like −6=−6 means infinitely many solutions.
5
Practice
1
Solve the system by substitution: x+y=12 and y=3x.
Watch out: x+3x is 1x+3x=4x, not 3x. Dropping the 1x gives 3x=12, which leads to the wrong answer (4,12).
y=3x already has y alone. What does x+y=12 become when you swap 3x into y's spot?
Replace y with 3x in the first equation:
x+3x=12
(Watch out: x+3x is 1x+3x=4x, not 3x. Dropping the 1x gives 3x=12, which leads to the wrong answer (4,12).)
4xx=12=3
Plug x=3 into y=3x:
yy=3(3)=9
Answer(3,9)
2
Solve the system by substitution: 2x+5y=20 and x=y+3.
Watch out: keep parentheses around y+3 so the 2 multiplies the 3 as well. Writing 2y+3+5y=20 gives 7y=17 and the wrong answer (738,717).Watch out: a coordinate point is always written (x,y), so even though we found y=2 first, putting y first gives the reversed point (2,5).
Here x is the isolated variable. Which letter in 2x+5y=20 gets replaced by the package (y+3)?
Replace x in the first equation with the package (y+3) in parentheses:
2(y+3)+5y=20
(Watch out: keep parentheses around y+3 so the 2 multiplies the 3 as well. Writing 2y+3+5y=20 gives 7y=17 and the wrong answer (738,717).)
2y+6+5y7y+67yy=20=20=14=2
Plug y=2 into x=y+3:
xx=2+3=5
(Watch out: a coordinate point is always written (x,y), so even though we found y=2 first, putting y first gives the reversed point (2,5).)
Answer(5,2)
3
Solve the system by substitution: 3x+y=11 and 4x−3y=6.
Watch out: distribute the negative sign along with the 3, so −3(−3x) becomes +9x. Writing −9x gives −5x=39 and the wrong answer (−539,5172).
Look at the four variable terms 3x,y,4x, and −3y: which one has no number in front of it to get alone first?
Isolate y in the first equation by subtracting 3x from both sides:
y=11−3x
Substitute (11−3x) for y in the second equation:
4x−3(11−3x)=6
(Watch out: distribute the negative sign along with the 3, so −3(−3x) becomes +9x. Writing −9x gives −5x=39 and the wrong answer (−539,5172).)
4x−33+9x13x−3313xx=6=6=39=3
Plug x=3 into y=11−3x:
yyy=11−3(3)=11−9=2
Answer(3,2)
4
Solve the system by substitution: y=3x−4 and 6x−2y=10.
Replace y in 6x−2y=10 with the package (3x−4) in parentheses and watch what happens to the x terms.
Substitute (3x−4) for y in the second equation:
6x−2(3x−4)=10
(Watch out: 6x−6x is 0, not x, and −2(−4) is +8, not −8. Leaving an x behind as x+8=10 gives the wrong answer (2,2).)
6x−6x+88=10=10
AnswerNo solution
5
Solve the system by substitution: x+2y=5 and 3x+6y=15.
Isolate the lone x in the first equation, then make sure you substitute that package into the other equation.
Subtract 2y from both sides of the first equation to get x alone:
x=5−2y
Substitute (5−2y) for x into the second equation:
3(5−2y)+6y=15
(Watch out: distribute the 3 to −2y as well as 5. Writing 15−2y+6y=15 gives 4y=0 and the wrong single-point answer (5,0).)