We've previously looked at how to  solve systems of equations graphically . Now, we'll look at how to solve a system of equations algebraically, using the substitution method.
The substitution method relies on the substitution property which states: if a=b then b can be replaced with a in any equation or inequality.
To solve a system of equations by substitution, we can solve one equation for either of the variables, followed by substituting the result into the other equation.
For example, if we want to solve the following system of equations: \begin{cases}x + y &= 7 \\ x - y &= 3 \end{cases}We can solve the first equation for x:
\displaystyle x+y | \displaystyle = | \displaystyle 7 | First equation |
\displaystyle x+y-y | \displaystyle = | \displaystyle 7-y | Subtract y from both sides |
\displaystyle x | \displaystyle = | \displaystyle 7-y | Simplify |
We can now substitute this equation into the second equation where we see x:
\displaystyle x-y | \displaystyle = | \displaystyle 3 | Second equation |
\displaystyle (7-y)-y | \displaystyle = | \displaystyle 3 | Replace x with x=7-y from first equation |
\displaystyle 7-2y | \displaystyle = | \displaystyle 3 | Combine like terms |
\displaystyle 7-7-2y | \displaystyle = | \displaystyle 3-7 | Subtract 7 from both sides |
\displaystyle -2y | \displaystyle = | \displaystyle -4 | Simplify |
\displaystyle -2y \div -2 | \displaystyle = | \displaystyle -4 \div -2 | Divide both sides by -2 |
\displaystyle y | \displaystyle = | \displaystyle 2 | Simplify |
Now that we've solved for y, we can substitute this value into either equation to solve for x:
\displaystyle x+y | \displaystyle = | \displaystyle 7 | First equation |
\displaystyle x+2 | \displaystyle = | \displaystyle 7 | Substitute y=2 into the equation |
\displaystyle x+2-2 | \displaystyle = | \displaystyle 7-2 | Subtract 2 from both sides |
\displaystyle x | \displaystyle = | \displaystyle 5 | Simplify |
We've now been able to solve for x and y which means the solution to our system of equations is \left(5,2\right)
When solving systems of equations with substitution, it can be helpful to do the following:
Solve the following system using the substitution method.
Equation 1: 3y -x =-4
Equation 2: 2 + x - y = 0
We want to solve the following system of equations using the substitution method.
Equation 1: y = -2x - 1
Equation 2: x - 6y = -59
First solve for x.
Solve for y.
The substitution method:
Solve one linear equation for y in terms of x (or x in terms of y).
Substitute that expression for y into the other linear equation.
Solve for the value of x.
Substitute the value of x into one of the equations to solve for the value of y.