SOLVING SYSTEMS USING SUBSTITUTION

One common method for solving systems is called substitution,
because information from one equation is substituted into other equations.

The technique of substitution can be used for a wide variety of systems:
any number of equations or inequalities, any number of unknowns, linear or nonlinear.
However, in this exercise, the technique is only applied to systems of two linear equations in two unknowns.

The technique of substitution works best when one of the equations can easily be solved for one of the variables.
For example, maybe the first equation can easily be solved for $\,x\,$.
Or, perhaps the second equation can easily be solved for $\,y\,$.

Remember: to solve for a variable means to get it all by itself, on one side of the equation.
The variable you're solving for is not allowed to appear on the other side.

Here are some systems which are ideally suited to the substitution technique:

$\begin{gather} y=3x-1\cr 5x+7y=4\cr \end{gather}$
(First equation is already solved for $\,y\,$.)
$\begin{gather} 3y+2x=8-4y\cr x-7y=6\cr \end{gather}$
(Second equation can easily be solved for $\,x\,$.)

Here are the general steps for solving a system of two equations in two unknowns using substitution:

1. Solve one of the equations for one of the unknowns.
Pick the simplest equation to work with!
2. Substitute this information into the other equation.
At this point, you will have an equation with only one variable.
Solve for this variable.

Note:
If the resulting equation is always false, then there are no solutions. The lines are parallel.
If the resulting equation is always true, then there are infinitely many solutions. The lines are the same.
3. Go back and substitute this information into the original equation.
Be sure to give exact answers, not decimal approximations.

EXAMPLE (a system with a unique solution)
Question: Solve the system:

$\begin{gather} y=3x-1\cr 5x+7y=4 \end{gather}$
Solution:
 $5x+7( \overset{y}{\overbrace{3x-1}})=4$ The first equation ($\,y=3x-1\,$) is already solved for $\,y\,$. We'll call this the original equation. Substitute this expression for $\,y\,$ into the second equation ($\,5x+7y=4\,$). You now have an equation with only one variable ($\,x\,$). $\begin{gather} 5x+21x-7=4\cr 26x=11\cr x= \frac{11}{26} \end{gather}$ Solve this resulting equation for $\,x\,$. $\begin{gather} y=3\bigl( \overset{x}{\overbrace{\frac{11}{26}}}\bigr) - 1\cr\cr y = \frac{33}{26} - \frac{26}{26}\cr\cr y = \frac{7}{26} \end{gather}$ Substitute this value of $\,x\,$ back into the original equation. Simplify. The unique solution is the ordered pair: $$\bigl(\frac{11}{26},\frac{7}{26}\bigr)$$ Clearly report the solution.

Go to wolframalpha.com and type this in (you can just cut-and-paste):

y=3x-1, 5x+7y=4

You'll see the two lines graphed, and the solution clearly labeled and reported.
How easy is that!?

EXAMPLE (a system with no solutions)
Question: Solve the system.
Report your solution(s) in the form $\,(u,q)\,$.

$\begin{gather} q+7u=-4\cr -4q+20=28u \end{gather}$
Solution:
 $\begin{gather} q+7u=-4\cr q = -4 - 7u \end{gather}$ The first equation is simpler. Since $\,q\,$ has a coefficient of $\,1\,$, it's easy to solve for $\,q\,$. Thus, solve the first equation for $\,q\,$. $-4( \overset{q}{\overbrace{-4-7u}})+20=28u$ Substitute this expression for $\,q\,$ into the second equation. You now have an equation with only one variable ($\,u\,$). $\begin{gather} 16+28u+20=28u\cr 36=0 \end{gather}$ Simplify. The resulting equation is always false. There are no solutions. These two lines are parallel.

Go to wolframalpha.com and type this in (you can just cut-and-paste):

q+7u=-4, -4q+20=28u

You'll see the two parallel lines, and you're told that no solutions exist.
Voila!

An equivalent form for this system makes it easier to see that there are no solutions.
Start by renaming the second equation:

 $-4q+20=28u$ second equation $-4q-28u=-20$ subtract $\,28u\,$ from both sides; subtract $\,20\,$ from both sides $q+7u=5$ divide both sides by $\,-4\,$

Now, put this equivalent second equation together with the first equation,
to get an equivalent form for the system:

$\begin{gather} q + 7u = -4\cr q + 7u = 5 \end{gather}$

Different names are good for different purposes!
This ‘new name’ for the system makes it easy to see why there are no solutions.
The expression $\,q+7u\,$ cannot simultaneously equal $\,-4\,$ and $\,5\,$.
Behold the power of renaming!

EXAMPLE (a system with infinitely many solutions)
Question: Solve the system.
Report your solution(s) in the form $\,(s,t)\,$.

$\begin{gather} 2t=8s+12\cr t-9=4s-3 \end{gather}$
Solution:
 $\begin{gather} t-9=4s-3\cr t=4s+6\end{gather}$ The second equation is simpler. Solve it for $\,t\,$. $2( \overset{t}{\overbrace{4s+6}})=8s+12$ Substitute this expression for $\,t\,$ into the first equation. You now have an equation with only one variable ($\,s\,$). $\begin{gather} 8s+12 = 8s+12\cr 0 = 0 \end{gather}$ Simplify. The resulting equation is always true. There are infinitely many solutions. All points of the form $\,(s,4s+6)\,$ are solutions. Report the entire line of solutions.

Go to wolframalpha.com and type this in (you can just cut-and-paste):

2t=8s+12, t-9=4s-3

You'll see only one line, but the legend shows that two lines are being graphed.
This is your clue that there is an entire line of solutions in this case!

Again, an equivalent form for this system makes it easy to see that there are infinitely many solutions.
Let's write both of the equations in the form $\,at + bs + c = 0\,$ (with no common factors for $\,a\,$, $\,b\,$, and $\,c\,$):

 $2t = 8s + 12$ first equation $2t - 8s - 12 = 0$ get zero on the right-hand side $t - 4s - 6 = 0$ divide both sides by $\,2\,$ $t - 9 = 4s - 3$ second equation $t - 4s - 6 = 0$ get zero on the right-hand side

Now, put these equivalent versions of the two equations together
to get an equivalent form for the system:

$\begin{gather} t - 4s - 6 = 0\cr t - 4s - 6 = 0 \end{gather}$

Now it's clear what's going on!
Any choices for $\,s\,$ and $\,t\,$ that make the first equation true are also going to make the second equation true,
since they're precisely the same equation.
Thus, the solution set is the entire line $\,t - 4s - 6 = 0\,$.

You'll learn another method for solving systems in the next web exercise:
Solving Systems using Elimination

Master the ideas from this section