Skip to main content
Logo image

Elementary Algebra

Section 4.3 Algebraic Solution of Systems

Subsection

In the previous Lesson, we compared the costs of operating two different refrigerators, a standard model and an energy-efficient model. We wrote a system of equations for this problem,
\begin{gather*} y=6x+1000\\ y=2x+1200 \end{gather*}
where \(x\) is the number of months the refrigerator has been running. We looked for a point on the graphs where the two \(y\)-values, which represent the costs, are equal. This point is the intersection point of the graphs, as shown in the figure. The \(x\)-coordinate of the intersection point shows that the costs are equal after 50 months.
graph
We can also solve the system using algebra.

Example 4.15.

Solve the system algebraically.
\begin{gather*} y=6x+1000\\ y=2x+1200 \end{gather*}
Solution.
We are looking for the point where the two \(y\)-values are equal. Therefore, we set the two expressions for \(y\) equal, which gives us an equation in \(x\) to solve:
\begin{align*} 6x+1000 \amp = 2x+1200 \amp\amp \blert{\text{Subtract } 2x \text{ from both sides.}}\\ 4x+1000 \amp = 1200 \amp\amp \blert{\text{Subtract 1000 from both sides.}}\\ 4x \amp = 200 \amp\amp \blert{\text{Divide both sides by 3.}}\\ x \amp = 50 \end{align*}
We find that \(x=50\text{,}\) the same answer we got using graphing. Substituting \(x=50\) into either equation gives \(y=1300\text{.}\) The solution is \((50, 1300)\text{.}\)

Subsection Substitution Method

In Example 4.15, we solved the system by equating the two expressions for \(y\text{.}\) We can think of this procedure as substituting the expression for \(y\) from one equation into the other equation, like this:
substitution

Look Closer.

The method works well in this example because both equations in the system were already in the form \(y=mx+b\text{.}\) Sometimes we must solve one of the equations for \(y\) in terms of \(x\) before we can substitute.

Example 4.16.

Use substitution to solve the system.
\begin{gather*} y+3x=1\\ 2y+5x=5 \end{gather*}
Solution.
We first solve one of the equations for \(y\) in terms of \(x\text{.}\) It is easier to solve the first equation for \(x\text{,}\) by subtracting \(3x\) from both sides to get:
\begin{equation*} y=1-3x \end{equation*}
We now substitute the expression \(1-3x\) for \(y\) in the other equation:
substitution
This gives us an equation in one variable, which we can solve as usual. We begin by simplifying the left side.
\begin{align*} 2(1-3x)+5x \amp = 5 \amp\amp \blert{\text{Apply the distributive law.}} \\ 2-6x+5x \amp = 5 \amp\amp \blert{\text{Combine like terms.}}\\ 2-x \amp = 5 \amp\amp \blert{\text{Subtract 2 from both sides.}}\\ -x \amp = 3 \amp\amp \blert{\text{Divide both sides by}~-1.}\\ x \amp = -3 \end{align*}
This is the \(x\)-coordinate of the solution point. To find the \(y\)-coordinate, we substitute \(x=\alert{-3}\) into either of the original equations. It is easiest to use the equation we solved for \(y\text{,}\) namely \(y=1-3x\text{.}\)
\begin{equation*} y=1-3(\alert{-3}) = 10 ~~~~~~~~~~~~~~~~~~~\blert{\text{Substitute}~-3~ \text{for}~x.} \end{equation*}
The solution to the system is \(x=-3,~ y=10\text{,}\) or the point \((-3,10)\text{.}\) You can check that these values satisfy both of the original equations in the system.

Reading Questions Reading Questions

1.
What is the first step in the substitution method?
Answer.
Solve one of the equations for \(y\) in terms of \(x\)
2.
How can you check your answer for the solution of a system?
Answer.
Check that the values satisfy both equations in the system.
Here is a summary of the substitution method.

To Solve a System by Substitution.

  1. Choose one of the variables in one of the equations. (It is best to choose a variable whose coefficient is 1 or \(-1\text{.}\)) Solve the equation for that variable.
  2. Substitute the result of Step 1 into the other equation. This gives an equation in one variable.
  3. Solve the equation obtained in Step 2. This gives the solution value for one of the variables. Substitute this value into the result of Step 1 to find the solution value of the other variable.

Subsection Elimination Method

A second algebraic method for solving systems is called elimination. As with the substitution method, we try to obtain an equation in a single variable, but we do it by eliminating one of the variables in the system. We first put both equations into the general linear form, \(Ax+By = C\text{.}\)

Example 4.17.

Solve the system
\begin{gather*} 5x=2y+21\\ 2y=19-3x \end{gather*}
Solution.
First, we rewrite each equation in the form \(Ax+By=C\text{.}\)
\begin{alignat*}{2} 5x \amp = ~~~~2y+21 \amp\amp \quad\blert{\text{Subtract}~2y.}\\ \underline{~~~~ -2y} \amp \underline{{}= {}-2y~~~~~}\\ 5x-2y \amp = 21 \end{alignat*}
\begin{alignat*}{2} 2y \amp = 19-3x \amp\amp \quad\blert{\text{Add}~3x.}\\ \underline{~~~~ +3x} \amp \underline{ {}= \quad{}+3x~}\\ 3x+2y \amp = 19 \end{alignat*}
We add the equations together by adding the left side of the first equation to the left side of the second equation, and then adding the two right sides together, as follows:
\begin{align*} 5x-2y \amp = 21\\ \underline{3x+2y} \amp \underline{ {}= 19\vphantom{y}}\\ 8x \amp = 40 \end{align*}
Note that the \(y\)-terms canceled, or were eliminated. We are left with an equation in \(x\) that is easy to solve:
\begin{align*} 8x \amp = 40 \amp\amp \blert{\text{Divide both sides by 8.}}\\ x \amp = 5 \end{align*}
We are not finished yet, because we must still find the value of \(y\text{.}\) We can substitute our value for \(x\) into either of the original equations, and solve for \(y\text{.}\) We’ll use the second equation, \(3x+2y=19\text{:}\)
\begin{align*} 3(\alert{5})+2y \amp = 19 \amp\amp \blert{\text{Subtract 15 from both sides.}}\\ 2y \amp = 4 \amp\amp \blert{\text{Divide by 2.}}\\ y \amp = 2 \end{align*}
Thus, the solution is the point \((5,2)\text{.}\)

Look Ahead.

You may have noticed that this method worked because the coefficients of \(y\) in the two equations were opposites, \(2\) and \(-2\text{.}\) This caused the \(y\)-terms to cancel out when we added the two equations together. What if the coefficients of neither \(x\) nor \(y\) are opposites? Then we must multiply one or both of the equations in the system by a suitable constant.

Example 4.18.

Solve the system
\begin{gather*} 4x+3y=7\\ 3x+y=-1 \end{gather*}
Solution.
We can choose to eliminate either the \(x\)-terms or the \(y\)-terms in a system. For this example, it will be faster to eliminate the \(y\)-terms. If we multiply each term of the second equation by \(-3\text{,}\) then the coefficients of \(y\) will be opposites:
\begin{equation*} \blert{-3}(3x+y=-1)~~\rightarrow ~~ -9x-3y=3 \end{equation*}
Note carefully that we must multiply each term by \(-3\text{,}\) not just the \(y\)-term. We can then replace the second equation by its new version to obtain a new system, and we add the equations together:
\begin{align*} 4x+3y \amp = 7\\ \underline{-9x-3y }\amp \underline{ {}= 3\vphantom{y}}\\ -5x \amp = 10 \end{align*}
The \(y\)-terms were eliminated, and we solve the resulting equation for \(x\) to get \(x=-2\text{.}\) Finally, we substitute \(x=-2\) into either of the equations to find \(y=5\text{.}\) The solution is \((-2,5)\text{.}\)

Caution 4.19.

In Example 4.18, we multiplied both sides of the equation \(3x+y=-1\) by \(-3\text{.}\) (This is an application of the Multiplication Property of Equality.) We must be careful to multiply every term on both sides of the equation by the same constant. Otherwise, we won’t have an equivalent equation -- its solutions will not be the same.

Linear Combination.

When we add a multiple of one equation to the other we are making a linear combination of the equations.
The method of elimination is also called the method of linear combinations. Sometimes it is necessary to multiply both equations by suitable constants in order to eliminate one of the variables.

Example 4.20.

Use linear combinations to solve the system
\begin{gather*} 5x-2y=22\\ 2x-5y=13 \end{gather*}
Solution.
This time we choose to eliminate the \(x\)-terms. We must arrange things so that the coefficients of the \(x\)-terms are opposites, so we look for the smallest integer that both 2 and 5 divide into evenly. (This number is called the lowest common multiple, or LCM, of 2 and 5.) The LCM of 2 and 5 is 10.
We want one of the coefficients of \(x\) to be 10, and the other to be \(-10\text{.}\) To achieve this, we multiply the first equation by 2 and the second equation by \(-5\text{.}\)
\begin{align*} \blert{2}(5x-2y\amp =22)\amp\amp\rightarrow \amp 10x-4y\amp=44\\ \blert{-5}(2x-5y\amp=13)\amp\amp\rightarrow \amp -10x+25y\amp=-65 \end{align*}
Adding these new equations eliminates the \(x\)-term and yields an equation in \(y\text{.}\)
\begin{align*} 10x-4y \amp = 44 \\ \underline{-10x+25y} \amp \underline{ {}= -65\vphantom{y}}\\ 21y \amp = -21 \end{align*}
We solve for \(y\) to find \(y=-1\text{.}\) Finally, we substitute \(y=\alert{-1}\) into the first equation and solve for \(x\text{.}\)
\begin{align*} 5x-2(\alert{-1}) \amp = 22\\ 5x+2 \amp = 22\\ x \amp = 4 \end{align*}
The solution to the system is \((4,-1)\text{.}\)

Reading Questions Reading Questions

3.
What is a linear combination of expressions?
Answer.
A sum of multiples of the expressions
4.
What is the first step in the elimination method?
Answer.
Write both equations into the general linear form, \(Ax+By = C\text{.}\)
Here are the steps for solving a system by elimination.

To Solve a System by Elimination.

  1. Write each equation in the form \(Ax+By = C\text{.}\)
  2. Decide which variable to eliminate. Multiply each equation by an appropriate constant so that the coefficients of that variable are opposites.
  3. Add the equations from Step 2 and solve for the remaining variable.
  4. Substitute the value found in Step 3 into one of the original equations and solve for the other variable.

Look Ahead.

How do you know which method to use to solve a system, substitution or elimination? Both methods will work on any linear system. However, substitution will be easier if one of the variables in one of the equations has a coefficient of \(1\) or \(-1\text{.}\) Otherwise, the elimination method is usually more efficient.

Reading Questions Reading Questions

5.
How do we eliminate a variable from a system?
Answer.
Add appropriate multiples of the equaitons.
6.
When is the substitution method easier than elimination?
Answer.
When one of the variables in one of the equations has a coefficient of \(1\) or \(-1\)

Subsection Inconsistent and Dependent Systems

Recall that a system of two parallel lines has no solution and is called inconsistent. If the two equations in a system have the same graph, then every point on the graph is a solution and the system is called dependent. The elimination method will reveal whether the system falls into one of these two cases.

Example 4.21.

Solve each system by elimination.
  1. \(\displaystyle \begin{aligned}[t] 3x-y=2\\ -6x+2y=3\end{aligned}\)
  2. \(\displaystyle \begin{aligned} x-2y=3\\ 2x-4y=6\end{aligned}\)
Solution.
  1. To eliminate the \(y\)-terms, we multiply the first equation by 2 and add:
    \begin{align*} 6x-2y \amp = 4 \\ \underline{-6x+2y}\amp\underline{{}= 3\vphantom{y}}\\ 0x+0y \amp = 7 \end{align*}
    graph of parallel line
    Both variables are eliminated, and we are left with the false statement \(0=7\text{.}\) There are no values of \(x\) or \(y\) that will make this equation true, so the system has no solutions. The graph shows that the system is inconsistent.
  2. To eliminate the \(x\)-terms, we multiply the first equation by \(-2\) and add:
    \begin{align*} -2x+4y \amp = -6\\ \underline{2x-4y}\amp \underline{{}= \hphantom{-}6\vphantom{y}}\\ 0x+0y \amp = 0 \end{align*}
    coincident lines
    We are left with the true but unhelpful equation \(0=0\text{.}\) The two equations are in fact equivalent (one is a constant multiple of the other), so the system is dependent. The graph of both equations is shown in the figure.
Example 4.21 illustrates a rule for identifying inconsistent and dependent systems.

When Using Elimination to Solve a System.

  1. If combining the two equations results in an equation of the form
    \begin{equation*} 0x+0y=k~~~~(k \not= 0) \end{equation*}
    then the system is inconsistent.
  2. If combining the two equations results in an equation of the form
    \begin{equation*} 0x+0y=0 \end{equation*}
    then the system is dependent.

Reading Questions Reading Questions

7.
How can you tell if a system is inconsistent?
Answer.
If elimination leads to
\begin{equation*} 0x+0y=k~~~~(k \not= 0) \end{equation*}
8.
How can you tell if a system is dependent?
Answer.
If elimination leads to
\begin{equation*} 0x+0y=0 \end{equation*}

Subsection Skills Warm-Up

Exercises Exercises

Exercise Group.
Simplify each expression. Write your answers in the form \(ax+b\text{.}\)
1.
\(2x+3(4x-2)+1\)
2.
\(7x-5(2x+3)-2\)
3.
\(\dfrac{3}{2}(4x-6)-3x\)
4.
\(\dfrac{2}{3}(6x+3)+x\)
5.
\(\dfrac{2x+5}{3}-1\)
6.
\(\dfrac{3x-1}{4}+2\)
7.
\(x+4-\dfrac{3-5x}{2}\)
8.
\(8-x-\dfrac{4+2x}{3}\)

Subsubsection Answers to Skills Warm-Up

  1. \(\displaystyle 14x-5\)
  2. \(\displaystyle -3x-17\)
  3. \(\displaystyle 3x-9\)
  4. \(\displaystyle 5x+2\)
  5. \(\displaystyle \dfrac{2}{3}x+\dfrac{2}{3}\)
  6. \(\displaystyle \dfrac{3}{4}x+\dfrac{7}{4}\)
  7. \(\displaystyle \dfrac{7}{2}x+\dfrac{5}{2}\)
  8. \(\displaystyle \dfrac{-5}{3}x+\dfrac{20}{3}\)

Subsection Lesson

Subsubsection Activity 1: Substitution Method

Exercises Exercises
1.
Solve the system algebraically.
\begin{align*} d \amp =65t\\ d \amp = 300+50t \end{align*}
2.
Follow the suggested steps to solve the system by substitution:
\begin{align*} 3y-2x \amp = 3\\ x-2y \amp = -2 \end{align*}
  1. \(\displaystyle \blert{\text{Solve the second equation for}~x~\text{in terms of}~y.}\)
  2. \(\displaystyle \blert{\text{Substitute your expression for}~x~\text{into the first equation.}}\)
  3. \(\displaystyle \blert{\text{Solve the equation you got in Step 2.}}\)
  4. \(\displaystyle \blert{\text{Substitute the}~y~\text{-value into your result from Step 1 to find}~x.}\)
  5. \(\displaystyle \blert{\text{Verify that your solution values satisfy both equations in the system.}}\)

Subsubsection Activity 2: Elimination Method

Exercises Exercises
1.
Follow the suggested steps to solve the system by elimination:
\begin{align*} 2x-3y \amp = 6\\ 4x-5y \amp = 8 \end{align*}
For this problem, we will eliminate the \(x\)-terms, so we arrange for their coefficients to be opposites.
  1. \(\displaystyle \blert{\text{Multiply each term of the first equation by}~-2.}\)
  2. \(\displaystyle \blert{\text{Add the new equations and solve the result for}~y.}\)
  3. \(\displaystyle \blert{\text{Substitute your value for}~y~\text{into the first equation and solve for}~x.}\)
  4. \(\displaystyle \blert{\text{Verify that your solution values satisfy both equations in the system.}}\)
2.
Follow the suggested steps to solve the system by elimination:
\begin{align*} 3x \amp = 2y+13\\ 3y-15 \amp = -7x \end{align*}
For this problem, we will eliminate the \(y\)-terms.
  1. \(\displaystyle \blert{\text{Write each equation in the form}~Ax+By=C.}\)
  2. \(\displaystyle \blert{\text{Find rhe LCM of the}~y~\text{-coefficients. Multiply each equation by an appropriate constant.}}\)
  3. \(\displaystyle \blert{\text{Add the new equations and solve the result for}~x.}\)
  4. \(\displaystyle \blert{\text{Substitute your value for}~x~\text{into the second equation and solve for}~y.}\)
  5. \(\displaystyle \blert{\text{Verify that your solution values satisfy both equations in the system.}}\)
3.
  1. Solve the system by elimination:
    \begin{align*} x+3y \amp = 6\\ 2x-12 \amp = -6y \end{align*}
  2. Is the system dependent, inconsistent, or consistent and independent?

Subsubsection Activity 3: Applications

Exercises Exercises
1.
A train ticket from Camarillo to San Diego costs $31 in coach and $47 for business class. On Tuesday, there were 42 passengers on the morning train, and Amtrak took in $1494 in fares. How many coach passengers took the morning train, and how many business class passengers?
  1. Choose variables:
    \begin{gather*} x = \\ y = \end{gather*}
  2. Complete the table.
    \(\hphantom{0000}\) Number of passengers Price per ticket Total revenue
    Coach \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
    Business \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
  3. Write an equation about the number of passengers:
    \begin{equation*} \hphantom{0000} \end{equation*}
    Write an equation about revenue:
    \begin{equation*} \hphantom{0000} \end{equation*}
  4. Solve your system.
    Write your answer in a sentence.
2.
The perimeter of a rectangular playground is 197 yards, and its length is 5 yards less than twice its width. Find the dimensions of the playground.
  1. Choose variables:
    \begin{gather*} x = \\ y = \end{gather*}
  2. Write an equation about the perimeter of the playground:
    \begin{equation*} \hphantom{0000} \end{equation*}
    Write an equation relating the length and the width:
    \begin{equation*} \hphantom{0000} \end{equation*}
  3. Solve your system.
    Write your answer in a sentence.

Subsubsection Wrap-Up

Objectives.
In this Lesson we practiced the following skills:
  • Solving systems by the substitution method
  • Solving systems by the elimination method
  • Identifying a system as consistent, inconsistent, or dependent
  • Writing a system of equations to solve an applied problem
Questions.
  1. In Activity 1, Problem 2, why did we choose to solve the second equation for \(x\) in terms of \(y\text{?}\)
  2. In Activity 2, Problem 1, why did we multiply the first equation by \(-2\text{?}\)
  3. In Activity 2, Problem 2, what was the LCM of the \(y\)-coefficients?
  4. In Activity 3, Problem 1, what were the two equations about?

Subsection Homework Preview

Exercises Exercises

1.
Solve the system by substitution.
\begin{align*} 3x-y \amp = 5\\ 2x-3y \amp = 8 \end{align*}
2.
Solve the system by elimination.
\begin{align*} 2x-9y \amp = 3\\ 4x-5y \amp = -7 \end{align*}
3.
Solve the system by elimination.
\begin{align*} 5x+2y \amp = 5\\ 4x+3y \amp = -3 \end{align*}
4.
Decide whether the system is dependent or inconsistent.
\begin{align*} 3x-4y \amp = 2\\ 2y+1 \amp = \dfrac{3}{2}x \end{align*}

Subsubsection Answers to Homework Preview

  1. \(\displaystyle (1,-2)\)
  2. \(\displaystyle (-3,-1)\)
  3. \(\displaystyle (3,-5)\)
  4. Dependent

Exercises Homework 4.3

Exercise Group.

For Problems 1–6, solve the system by the substitution method.
1.
\(\begin{aligned}[t] \amp y=2x\\ \amp 3x+y=10 \end{aligned}\)
Answer.
\((2,4)\)
2.
\(\begin{aligned}[t] \amp 2a+3b=4\\ \amp b=2a+4 \end{aligned}\)
3.
\(\begin{aligned}[t] \amp 2x-3y=4 \\ \amp x+1=3y \end{aligned}\)
Answer.
\((5,2)\)
4.
\(\begin{aligned}[t] \amp 2a+b=16 \\ \amp 4a-4=3b \end{aligned}\)
5.
\(\begin{aligned}[t] \amp 8r+s=4 \\ \amp 2r+7s=-8 \end{aligned}\)
Answer.
\(\left(\dfrac{2}{3}, \dfrac{-4}{3}\right)\)
6.
\(\begin{aligned}[t] \amp 36a=6-3b \\ \amp 2b=3a-5 \end{aligned}\)

Exercise Group.

For Problems 7–12, solve the system by elimination.
7.
\(\begin{aligned}[t] \amp x+y=5\\ \amp x-y=1 \end{aligned}\)
Answer.
\((3,2)\)
8.
\(\begin{aligned}[t] \amp 2a+b=3\\ \amp a+b=2 \end{aligned}\)
9.
\(\begin{aligned}[t] \amp 3x+2y=7\\ \amp x+y=3 \end{aligned}\)
Answer.
\((1,2)\)
10.
\(\begin{aligned}[t] \amp 3a=1+5b\\ \amp 2b=14+6a \end{aligned}\)
11.
\(\begin{aligned}[t] \amp 2x+3y=-1\\ \amp 3x+5y=-2 \end{aligned}\)
Answer.
\((1,-1)\)
12.
\(\begin{aligned}[t] \amp 5z=1-3w\\ \amp 5w=2-7z \end{aligned}\)

Exercise Group.

For Problems 13–15, decide whether the system is inconsistent, dependent, or consistent.
13.
\(\begin{aligned}[t] \amp 3x-6y=6\\ \amp x-2y=3 \end{aligned}\)
Answer.
Inconsistent
14.
\(\begin{aligned}[t] \amp 8a=6+12b\\ \amp 4=6a-9b \end{aligned}\)
15.
\(\begin{aligned}[t] \amp 3p=1+7q\\ \amp 21q=9p-3 \end{aligned}\)
Answer.
Dependent

Exercise Group.

For Problems 16–17, which method, elimination or substitution, would be easier to apply to the system?
16.
\(\begin{aligned}[t] \amp 2u+3v=-8\\ \amp 2u-3v=-6 \end{aligned}\)
17.
\(\begin{aligned}[t] \amp 17a-b=0\\ \amp 11a+3b=4 \end{aligned}\)
Answer.
Elimination

Exercise Group.

For Problems 18–21,
  1. Choose variables for the two unknown quantities in the problem.
  2. Write a system of equations to model the problem.
  3. Solve the system and answer the question.
18.
A hamburger and a chocolate shake together contain 1030 calories. Two shakes and three hamburgers contain 2710 calories. How many calories are there in one hamburger and in one chocolate shake?
19.
Darryl is in charge of buying furniture for a new restaurant. Chairs cost $175 and tables cost $250. Darryl’s budget allows $11,400 for tables and chairs, and he plans to buy four chairs for each table. How many of each can he buy?
Answer.
  1. Number of chairs: \(x\text{,}\) number of tables: \(y\)
  2. \(\displaystyle \begin{aligned}[t] 175x+250y\amp=11,400\\ x\amp=4y \end{aligned}\)
  3. He can buy 12 tables and 48 chairs.
20.
The perimeter of a rectangle is 42 meters, and its width is 13 meters less than its length. Find the dimensions of the rectangle.
21.
Three pounds of bacon and 2 pounds of coffee costs $17.80. Two pounds of bacon and 5 pounds of coffee costs $32.40. How much do 1 pound of bacon and 1 pound of coffee cost?
Answer.
  1. Cost of 1 lb of bacon: \(x\text{,}\) cost of 1 lb of coffee: \(y\)
  2. \(\displaystyle \begin{aligned} 3x+2y\amp=17.80\\ 2x+5y\amp=32.40 \end{aligned}\)
  3. One pound of bacon costs $2.20, and one pound of coffee costs $5.60.