## Section2.3Algebraic Solution of Systems

### Subsection2.3.1Substitution Method

You are probably familiar with the substitution method for solving a system of equations. Here is a summary of the steps for solving a system by substitution.

#### 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.

4. Substitute this value into the result of Step 1 to find the solution value of the other variable.

Staci stocks two kinds of sleeping bags in her sporting goods store, a standard model and a down-filled model for colder temperatures. From past experience, she estimates that she will sell twice as many of the standard variety as of the down-filled. She has room to stock 84 sleeping bags at a time. How many of each variety should Staci order?

Solution.

We begin by choosing variables for the unknown quantities.

\begin{align*} \amp\text{Number of standard sleeping bags: }~x\\ \amp\text{Number of down-filled sleeping bags: }~y \end{align*}

We write two equations about the variables.

\begin{align*} \amp\text{Staci needs twice as many standard model as down-filled: } \amp x \amp = 2y\\ \amp\text{The total number of sleeping bags is 84: }\amp x+y \amp = 84 \end{align*}

We will solve this system using substitution. Notice that the first equation is already solved for $$x$$ in terms of $$y\text{.}$$ We substitute $$\alert{2y}$$ for $$x$$ in the second equation to obtain

\begin{align*} \alert{2y} + y \amp = 84\\ 3y\amp = 84 \end{align*}

Solving for $$y\text{,}$$ we find $$y=\alert{28}\text{.}$$ Finally, substitute this value into the first equation to find

\begin{gather*} x = 2(\alert{28}) = 56 \end{gather*}

The solution to the system is $$x = 56\text{,}$$ $$y = 28\text{.}$$ Staci should order 56 standard sleeping bags and 28 down-filled bags.

What is the first step in the substitution method?

• Solve both equations for $$y\text{.}$$

• Substitute a value for $$x\text{.}$$

• Solve one of the equations for one of the variables.

$$\text{Choice 3}$$

Solution.

Solve one of the equations for one of the variables.

Follow the suggested steps to solve the system by substitution:

\begin{equation*} \begin{aligned} 3y-2x\amp=3\\ x-2y\amp=-2 \end{aligned} \end{equation*}
• Step 1

Solve the second equation for $$x$$ in terms of $$y\text{.}$$

$$x=$$

• Step 2

Substitute your expression for $$x$$ into the first equation.

$$3y -2 \large($$$${\large)} =3$$

• Step 3

Solve the equation you got in Step 2.

$$y=$$

• Step 4

You now have the solution value for $$y\text{.}$$ Substitute that value into your result from Step 1 to find the solution value for $$x\text{.}$$

$$x=$$

As always, you should check that your solution values satisfy both equations in the system.

The solution to the system is (Give the solution as an ordered pair.)

$$2y-2$$

$$2y-2$$

$$1$$

$$0$$

$$\left(0,1\right)$$

Solution.

Follow the suggested steps to solve the system by substitution:

\begin{equation*} \begin{aligned} 3y-2x\amp=3\\ x-2y\amp=-2 \end{aligned} \end{equation*}
• Step 1

$$x={2y-2}$$

• Step 2

$$3y -2 \large({2y-2}{\large)} =3$$

• Step 3

$$y={1}$$

• Step 4

$$x={0}$$

The solution to the system is $${\left(0,1\right)}$$

### Subsection2.3.2Elimination Method

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

Solve the system

\begin{align*} 5x \amp = 2y+21\\ 2y \amp = 19-3x \end{align*}
Solution.

First, we rewrite each equation in the form $$Ax + By = C\text{.}$$

\begin{align*} 5x\amp= 2y+21\amp\amp\blert{\text{Subtract }2y} \amp 2y\amp=19-3x \amp\amp\blert{\text{Add }3x \text{ to}}\\ \underline{\hphantom{5x}-2y}\amp= \underline{{-2y}\hphantom{21} }\amp\amp\blert{\text{from both sides.}} \amp \underline{\hphantom{3x}{+3x}}\amp=\underline{{+3x}\hphantom{3x}} \amp\amp\blert{\text{both sides.}}\\ 5x-2y\amp= 21\amp\amp \amp 3x+2y\amp=19 \end{align*}

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{2y}}\\ 8x\hphantom{{}+2y} \amp = 40 \end{align*}

Note that the $$y$$-terms canceled, or were eliminated. Solving the new equation, $$8x = 40\text{,}$$ we find that $$x = 5\text{.}$$ 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{.}$$

In order to use the elimination method, in what form should you write the equations?

• Point-slope form

• Slope-intercept form

• General linear form

• Coordinate form

$$\text{General linear form}$$

Solution.

The general linear form is usually the most convenient form when using the elimination method to solve a system.

In the previous Example, the elimination 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. Consider the system

\begin{align*} 4x+3y\amp = 7\\ 3x+y\amp =-1 \end{align*}

We can eliminate the $$y$$-terms if we multiply each term of the second equation by $$\alert{-3}\text{,}$$ so that the coefficients of $$y$$ will be opposites:

\begin{gather*} \alert{-3}(3x+y=-1) ~ \longrightarrow ~ {-9x}-3y=3 \end{gather*}

Be careful to multiply each term by $$-3\text{,}$$ not just the $$y$$-term. We can now replace the second equation by its new version to obtain this system:

\begin{align*} 4x+3y\amp = 7\\ -9x-3y\amp =3 \end{align*}

Follow the suggested steps to solve the system

\begin{equation*} \begin{aligned} 4x+3y \amp = 7\\ -9x-3y \amp = 3 \end{aligned} \end{equation*}
• Step 1

$${}={}$$

• Step 2

Solve the resulting equation for $$x\text{.}$$

$$x=$$

• Step 3

Substitute your value for $$x$$ into either original equation and solve for $$y\text{.}$$

$$y=$$

• Step 4

Check that your solution satisfies both original equations.

The solution to the system is (Give the solution as an ordered pair.)

$$-5x$$

$$10$$

$$-2$$

$$5$$

$$\left(-2,5\right)$$

Solution.
• Step 1

$${-5x}={10}$$

• Step 2

$$x={-2}$$

• Step 3

$$y={5}$$

• Step 4

\begin{equation*} \begin{aligned} 4({-2})+3({5}) \amp = 7\\ -9({-2})-3({5}) \amp = 3 \end{aligned} \end{equation*}

The solution to the system is $${\left(-2,5\right)}$$

Before adding the two equations together, we must arrange it so that the coefficients of one of the variables are

• equal

• opposites

• reciprocals

$$\text{opposites}$$

Solution.

opposites

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

Use linear combinations to solve the system

\begin{align*} 5x-2y \amp = 22\\ 2x - 5y \amp =13 \end{align*}
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\text{,}$$ 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*} \alert{2}(5x-2y\amp=22)\amp\amp \rightarrow\amp 10x - 4y \amp=44 \\ \alert{-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 = \hphantom{-}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\amp = 20\\ x\amp = 4 \end{align*}

The solution of the system is the point $$(4, -1)\text{.}$$

What is the name of the smallest integer that two integers, $$a$$ and $$b\text{,}$$ divide into evenly?

• A) The divisor

• B) The quotient

• C) The lowest common multiple

• D) The lowest common factor

$$\text{C) ... common multiple}$$

Solution.

The lowest common multiple

Follow the suggested steps to solve the system by elimination

\begin{equation*} \begin{gathered} \frac{3}{2}x = y + \frac{13}{2}\\ y-5= \frac{-7}{3}x \end{gathered} \end{equation*}

First, clear the fractions: multiply the first equation by 2:

$$=$$,

and the second equation by 3.

$$=$$

• Step 1

Write each equation in the form $$Ax + By = C\text{.}$$

• Step 2

Eliminate the $$y$$-terms: Multiply each equation by an appropriate constant.

• Step 3

Add the new equations and solve the result for $$x\text{.}$$

$$x=$$

• Step 4

Substitute your value for $$x$$ into the second equation and solve for $$y\text{.}$$

$$y=$$

The solution to the system is (Give the solution as an ordered pair.)

$$3x$$

$$2y+13$$

$$3y-15$$

$$-7x$$

$$3$$

$$-2$$

$$\left(3,-2\right)$$

Solution.
\begin{equation*} \begin{gathered} {3x} = {2y+13}\\ {3y-15}= {-7x} \end{gathered} \end{equation*}
• Step 1

\begin{equation*} \begin{aligned} 3x-2y \amp= 13\\ 7x+3y \amp= 15 \end{aligned} \end{equation*}
• Step 2

\begin{equation*} \begin{aligned} 9x-6y \amp= 39\\ 14x+6y \amp= 30 \end{aligned} \end{equation*}
• Step 3

$$x={3}$$

• Step 4

$$y={-2}$$

The solution to the system is $${\left(3,-2\right)}\text{.}$$

Which method should you choose to solve a particular system? Both methods work on any linear system, but the substitution method is easier if one of the variables in one of the equations has coefficient $$1$$ or $$-1\text{.}$$

### Subsection2.3.3Inconsistent and Dependent Systems

Recall that a system of two linear equations does not always have a unique solution; it may be inconsistent or dependent. The elimination method will reveal whether the system falls into one of these two cases.

Solve each system by elimination.

1. \begin{align*} 3x-y \amp =4\\ -6x+2y\amp = 2 \end{align*}

2. \begin{align*} x-2y\amp =3\\ 2x-4y\amp = 6 \end{align*}

Solution.
1. To eliminate the $$y$$-terms, we multiply the first equation by 2 and add:

\begin{align*} 6x-2y\amp =\hphantom{1}8\\ \underline{-6x+2y}\amp = \underline{\hphantom{1}2\vphantom{y}} \\ 0x+0y\amp =10 \end{align*}

Both variables are eliminated, and we are left with the false statement $$0 = 10\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{\hphantom{-}2x-4y}\amp = \underline{\hphantom{-}6\vphantom{y}} \\ 0x+0y\amp =\hphantom{-}0 \end{align*}

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.

#### 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{align*} 0x+0y = k \amp\amp(k\ne 0) \end{align*}

then the system is inconsistent.

2. If combining the two equations results in an equation of the form

\begin{gather*} 0x+0y =0 \end{gather*}

then the system is dependent.

Identify the system as dependent, inconsistent, or consistent and independent

\begin{equation*} \begin{gathered} x+3y=6\\ 2x-12=-6y \end{gathered} \end{equation*}

• dependent

• inconsistent

• consistent and independent

$$\text{dependent}$$

Solution.

Dependent

### Exercises2.3.4Problem Set 2.3

#### Warm Up

##### 1.

Solve the system by substitution:

\begin{align*} 2x \amp = y+7\\ 2y \amp = 14-3x \end{align*}
• Step 1

Choose one of the equations, and solve for one of the variables.

• Step 2

Substitute this new expression for $$x$$ or $$y$$ into the other equation.

• Step 3

Notice that the new equation has only one variable. Solve the equation.

• Step 4

Substitute the answer to Step 3 into the result of Step 1 to find the other variable. Write your solution as an ordered pair.

$$(4,1)$$

##### 2.

Solve the system by elimination:

\begin{align*} 3x+5y \amp = 1\\ 2x-3y \amp = 7 \end{align*}
• Step 1

We choose to eliminate $$x\text{.}$$ Multiply the first equation by $$2$$ and the second equation by $$-3\text{.}$$ (Why?)

\begin{align*} \alert{2}[3x+5y=1] \amp\rightarrow \hphantom{other side of equation} \\ \alert{-3}[2x-3y=7] \amp\rightarrow \hphantom{other side of equation} \end{align*}
• Step 2

The coefficients of $$x$$ are now opposites. Add the two equations together.

• Step 3

Solve the new equation for the remaining variable.

• Step 4

Use substitution to find the other variable. Write your solution as an ordered pair.

#### Skills Practice

##### Exercise Group.

For Problems 3-6, solve the system by substitution or by linear combinations.

###### 3.
\begin{align*} 3m+n \amp = 7\\ 2m \amp = 5n-1 \end{align*}

$$(1,2)$$

###### 4.
\begin{align*} 2r \amp = s+7\\ 2s \amp = 14-3r \end{align*}
###### 5.
\begin{align*} 2u-3v \amp = -4\\ 5u+2v \amp = 9 \end{align*}
###### 6.
\begin{align*} 3x+5y \amp = 1\\ 2x-3y \amp = 7 \end{align*}
##### Exercise Group.

For Problems 7 and 8, clear the fractions in each equation first, then solve the system by substitution or by linear combinations.

###### 7.
\begin{align*} \dfrac{x}{4} \amp = \dfrac{y}{3}-\dfrac{5}{12}\\ \dfrac{y}{5} \amp = \dfrac{1}{2}-\dfrac{x}{10} \end{align*}

$$(1,2)$$

###### 8.
\begin{align*} \dfrac{t}{3} \amp = \dfrac{w}{3}+2\\ \dfrac{w}{3} \amp = \dfrac{t}{6}-1 \end{align*}
##### Exercise Group.

For Problems 9 and 10, use linear combinations to identify each system as dependent, inconsistent, or consistent and independent.

###### 9.
\begin{align*} 2n-5p \amp = 6\\ \dfrac{15p}{2}+9 \amp = 3n \end{align*}

Dependent

###### 10.
\begin{gather*} -3x=4y+8\\ \dfrac{1}{2}x + \dfrac{4}{3} = \dfrac{-2}{3}y \end{gather*}

#### Applications

##### 11.

Benham will service $$2.5x$$ copy machines per week if he can charge $$x$$ dollars per machine, and the public will pay for $$350-4.5x$$ jobs at $$x$$ dollars per machine.

1. Write the supply and demand equations for servicing copy machines.

2. Find the equilibrium price and the number of copy machines Benham will service at that price.

1. $$\displaystyle S=2.5x;~~D=350-4.5x$$

2. 50 dollars per machine; 125 machines

##### 12.

Delbert answered 13 true-false and 9 fill-in questions correctly on his last test and got a score of 71. If he had answered 9 true-false and 13 fill-ins correctly, he would have made an 83. How many points was each type of problem worth?

##### 13.

Paul needs 40 pounds of 48% silver alloy to finish a collection of jewelry. How many pounds of 45% silver alloy should he melt with 60% silver alloy to obtain the alloy he needs?

1. Choose variables for the unknown quantities, and fill in the table.

 Pounds % silver Amount of silver First alloy Second alloy Mixture
2. Write one equation about the amount of alloy Paul needs.

3. Write a second equation about the amount of silver in the alloys.

4. Solve the system and answer the question in the problem.

1.  Pounds % silver Amount of silver First alloy $$x$$ $$0.45$$ $$0.45x$$ Second alloy $$y$$ $$0.60$$ $$0.60y$$ Mixture $$40$$ $$0.48$$ $$0.48(40)$$
2. $$\displaystyle x+y=40$$

3. $$\displaystyle 0.45x+0.60y=19.2$$

4. 32 lb

##### 14.

Amal plans to make 10 liters of a 17% acid solution by mixing a 20% acid solution with a 15% acid solution. How much of each should she use?

1. Choose variables for the unknown quantities, and fill in the table.

 Liters % acid Amount of acid First solution Second solution Mixture
2. Write one equation about the amount of solution Amal needs.

3. Write a second equation about the acid in the solution.

4. Solve the system and answer the question in the problem.

##### 15.

Rani kayaks downstream for 45 minutes and travels a distance of 6000 meters. On the return journey upstream, she covers only 4800 meters in 45 minutes. How fast is the current in the river, and how fast would Rani kayak in still water? (Give your answers in meters per minute.)

1. Choose variables for the unknown quantities, and fill in the table.

 Rate Time Distance Downstream    Upstream   
2. Write one equation about the downstream trip.

3. Write a second equation about the return trip.

4. Solve the system and answer the question in the problem.

1.  Rani's speed in still water: $$x$$ Speed of the current: $$y$$
 Rate Time Distance Downstream $$x+y$$ $$45$$ $$6000$$ Upstream $$x-y$$ $$45$$ $$4800$$
2. $$\displaystyle 45(x+y)=6000$$

3. $$\displaystyle 45(x-y)=4800$$

4. Rani's speed in still water is 120 meters per minute, and the speed of the current is $$13\dfrac{1}{3}$$ meters per minute.

##### 16.

Because of prevailing winds, a flight from Detroit to Denver, a distance of 1120 miles, took 4 hours on Econoflite, and the return trip took 3.5 hours. What were the speed of the airplane and the speed of the wind?

1. Choose variables for the unknown quantities, and fill in the table.

 Rate Time Distance Detroit to Denver Denver to Detroit
2. Write one equation about the trip from Detroit to Ddenver.

3. Write a second equation about the return trip.

4. Solve the system and answer the question in the problem.

##### 17.

Geologists can calculate the distance from their seismograph to the epicenter of an earthquake by timing the arrival of the P and S waves. They know that, for this earthquake, P waves travel at about 5.4 miles per second and S waves travel at 3.0 miles per second. If the P waves arrived 3 minutes before the S waves, how far away is the epicenter of the quake?

607.5 mi

##### 18.

A cup of rolled oats provides 310 calories. A cup of rolled wheat flakes provides 290 calories. A new breakfast cereal combines wheat and oats to provide 302 calories per cup. How much of each grain does 1 cup of the cereal include?

1. Choose variables for the unknown quantities, and fill in the table.

 Cups Calories per cup Calories Oat flakes Wheat flakes Mixture
2. Write one equation about the amounts of each grain.

3. Write a second equation about the number of calories.

4. Solve the system and answer the question in the problem.

##### 19.

Acme Motor Company is opening a new plant to produce chassis for two of its models, a sports coupe and a wagon. Each sports coupe requires a riveter for 3 hours and a welder for 4 hours; each wagon requires a riveter for 4 hours and a welder for 5 hours. The plant has available 120 hours of riveting and 155 hours of welding per day. How many of each model of chassis can it produce in a day?

1. Choose variables for the unknown quantities, and fill in the table.

 Sports coupes Wagons Total Hours of riveting Hours of welding
2. Write one equation about the hours of riveting.

3. Write a second equation about the hours of weldings.

4. Solve the system and answer the question in the problem.

1.  Sports coupes Wagons Total Hours of riveting 3 4 120 Hours of welding 4 5 155
2. $$\displaystyle 3x+4y=120$$

3. $$\displaystyle 4x+5y=155$$

4. 20 sports coupes and 15 wagons

##### 20.

Carmella has $1200 invested in two stocks; one returns 8% per year and the other returns 12% per year. The income from the 8% stock is$3 more than the income from the 12% stock. How much did she invest in each stock?

1. Choose variables for the unknown quantities, and fill in the table.

 Principal Interest Rate Interest First stock Second stock Total
2. Write one equation about the amounts Carmella invested.

3. Write a second equation about Carmella's annual interest.

4. Solve the system and answer the question in the problem.