## SectionA.5Linear Systems in Two Variables

A $2\times 2$ system of equations is a set of $2$ equations in the same $2$ variables. A solution of a $2\times 2$ system is an ordered pair that makes each equation in the system true. In this section, we review two algebraic methods for solving $2\times 2$ linear systems: substitution and elimination.

### SubsectionSolving Systems by Substitution

The basic strategy for the substitution method can be described as follows.

###### Steps for Solving a $2\times 2$ System by Substitution
1. Solve one of the equations for one of the variables in terms of the other.

2. Substitute this expression into the second equation; doing so yields an equation in one variable.

3. Solve the new equation.

4. Use the result of step 1 to find the other variable.

###### ExampleA.33

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 60 sleeping bags at a time. How many of each variety should Staci order?

Solution
1. \begin{align*} \amp\text{Number of standard sleeping bags: }~x\\ \amp\text{Number of down-filled sleeping bags: }~y \end{align*}
2. Write two equations about the variables. Staci needs twice as many standard model as down filled, so

\begin{align*} x \amp = 2y\amp\amp\hphantom{blankety}(1) \end{align*}

Also, the total number of sleeping bags is 60, so

\begin{align*} x+y \amp = 60\amp\amp\hphantom{blank}(2) \end{align*}
3. We will solve this system using substitution. Notice that Equation (1) is already solved for $x$ in terms of $y\text{:}$ $x = 2y\text{.}$ Substitute $\alert{2y}$ for $x$ in Equation (2) to obtain

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

Solving for $y\text{,}$ we find $y=\alert{20}\text{.}$ Finally, substitute this value into Equation (1) to find

\begin{equation*} x = 2(\alert{20}) = 40 \end{equation*}

The solution to the system is $x = 40, y = 20\text{.}$

4. Staci should order $40$ standard sleeping bags and $20$ down-filled bags.

### SubsectionSolving Systems by Elimination

The method of substitution is convenient if one of the variables in the system has a coefficient of $1$ or $-1\text{,}$ because it is easy to solve for that variable. If none of the coefficients is $1$ or $-1\text{,}$ then a second method, called elimination, is usually more efficient.

The method of elimination is based on the following properties of linear equations.

###### Properties of Linear Systems
1. Multiplying a linear equation by a (nonzero) constant does not change its solutions. That is, any solution of the equation

\begin{equation*} ax + by = c \end{equation*}

is also a solution of the equation

\begin{equation*} kax + kby = kc \end{equation*}
2. Adding (or subtracting) two linear equations does not change their common solutions. That is, any solution of the system

\begin{align*} a_1x + b_1 y \amp = c_1\\ a_2x + b_2 y \amp = c_2 \end{align*}

is also a solution of the equation

\begin{equation*} (a_1 + a_2) x + (b_1 + b_2) y = c_1 + c_2 \end{equation*}
###### ExampleA.34

Solve the system by the method of elimination.

\begin{alignat*}{3} 2x\amp {}+{}\amp 3y\amp ={}\amp 8 \hphantom{blankblank}\amp(1)\\ 3x\amp {}-{}\amp 4y\amp ={}\amp -5 \hphantom{blankblank}\amp(2) \end{alignat*}
Solution

We first decide which variable to eliminate, $x$ or $y\text{.}$ We can choose whichever looks easiest. In this problem, we choose to eliminate $x\text{.}$

We next look for the smallest number that both coefficients, $2$ and $3\text{,}$ divide into evenly. This number is $6\text{.}$ We want the coefficients of $x$ to become $6$ and $-6\text{,}$ so we will multiply Equation (1) by $3$ and Equation (2) by $-2$ to obtain

\begin{alignat*}{3} 6x\amp {}+{}\amp 9y\amp ={}\amp 24 \hphantom{blankblank}\amp(1\text{a})\\ -6x\amp {}+{}\amp 8y\amp ={}\amp 10 \hphantom{blankblank}\amp(2\text{a}) \end{alignat*}

Now we add the corresponding terms of (1a) and (2a). The $x$-terms are eliminated, yielding an equation in one variable.

\begin{alignat*}{3} 6x\amp {}+{}\amp 9y\amp ={}\amp 24 \hphantom{blankblank}\amp(1\text{a})\\ -6x\amp {}+{}\amp 8y\amp ={}\amp 10 \hphantom{blankblank}\amp(2\text{a})\\ {}\amp {}{}\amp 17y\amp ={}\amp 34 \hphantom{blankblank}\amp(3) \end{alignat*}

We solve this equation for $y$ to find $y=\alert{2}\text{.}$ We can substitute this value of $y$ into any of our equations involving both $x$ and $y\text{.}$ If we choose Equation (1), then

\begin{equation*} 2x + 3 (\alert{2}) = 8 \end{equation*}

and solving this equation yields $x=1\text{.}$ The ordered pair $(1, 2)$ is a solution to the system. You should verify that these values satisfy both original equations.

We summarize the strategy for solving a linear system by elimination.

###### Steps for Solving a $2\times 2$ Linear System by Elimination
1. Choose one of the variables to eliminate. Multiply each equation by a suitable factor so that the coefficients of that variable are opposites.

2. Add the two new equations termwise.

3. Solve the resulting equation for the remaining variable.

4. Substitute the value found in step 3 into either of the original equations and solve for the other variable.

In Example A.34, we added $3$ times the first equation to $-2$ times the second equation. The result from adding a constant multiple of one equation to a constant multiple of another equation is called a linear combination of the two equations. The method of elimination is also called the method of linear combinations.

If either equation in a system has fractional coefficients, it is helpful to clear the fractions before applying the method of linear combinations.

###### ExampleA.35

Solve the system by linear combinations.

\begin{alignat*}{3} \frac{2}{3}x\amp {}-{}\amp y\amp ={}\amp 2 \hphantom{blankblank}\amp(1)\\ x\amp {}+{}\amp \frac{1}{2}y\amp ={}\amp 7 \hphantom{blankblank}\amp(2) \end{alignat*}
Solution

Multiply each side of Equation (1) by $3$ and each side of Equation (2) by $2$ to clear the fractions:

\begin{alignat*}{3} 2x\amp {}-{}\amp 3y\amp ={}\amp 6 \hphantom{blankblank}\amp(1\text{a})\\ 2x\amp {}+{}\amp y\amp ={}\amp 14 \hphantom{blankblank}\amp(2\text{a}) \end{alignat*}

To eliminate the variable $x\text{,}$ multiply Equation (2a) by $-1$ and add the result to Equation (1a) to get

\begin{align*} -4y \amp = -8 \amp\amp\blert{\text{Divide both sides by -4.}}\\ y \amp = 2 \end{align*}

Substitute $\alert{2}$ for $y$ in one of the original equations and solve for $x\text{.}$ We use Equation (2).

\begin{align*} x + \frac{1}{2}(\alert{2}) \amp = 7 \amp\amp\blert{\text{Subtract 1 from both sides.}}\\ x \amp = 6 \end{align*}

Verify that $x=6$ and $y=2$ satisfy both Equations (1) and (2). The solution to the system is the ordered pair $(6, 2)\text{.}$

### SubsectionSection Summary

#### SubsubsectionVocabulary

Look up the definitions of new terms in the Glossary.

• System of equations

• Dependent

• Linear combination

• Inconsistent

• Elimination

• Solution of a system

• Substitution

#### SubsubsectionSKILLS

Practice each skill in the exercises listed.

1. Solve a system by substitution: #1–4

2. Solve a system by elimination: #5–8

3. Choose a method and solve the system: #9–18, 29–32

4. Solve problems by writing and solving a system: #19–28

### SubsectionExercises A.5

For Problems 1-4, solve the system by substitution.

###### 1

\begin{alignedat}[t]{5} a\amp{}+{}\amp 2b \amp{}={}{-6}\\ 2a\amp{}-{}\amp 3b\amp{}={}16\\ \end{alignedat}

###### 2

\begin{alignedat}[t]{5} 7r\amp{}-{}\amp 4s \amp{}={}1\\ 3r\amp{}+{}\amp s\amp{}={}14\\ \end{alignedat}

###### 3

\begin{alignedat}[t]{5} 2x\amp{}-{}\amp 3y \amp{}={}6\\ x\amp{}+{}\amp 3y\amp{}={}3\\ \end{alignedat}

###### 4

\begin{aligned}[t] 2r\amp=s+7\\ 2s\amp=14-3r\\ \end{aligned}

For Problems 5-8, solve the system by elimination.

###### 5

\begin{alignedat}[t]{5} 5x\amp{}-{}\amp 2y \amp{}={}{-4}\\ -6x\amp{}+{}\amp 3y\amp{}={}5\\ \end{alignedat}

###### 6

\begin{alignedat}[t]{5} 2p\amp{}+{}\amp 3q \amp{}={}38\\ 6p\amp{}-{}\amp 5q\amp{}={}2\\ \end{alignedat}

###### 7

\begin{alignedat}[t]{5} 3x\amp{}-{}\amp 4y \amp{}={}{-11}\\ 2x\amp{}+{}\amp 6y\amp{}={}{-3}\\ \end{alignedat}

###### 8

\begin{alignedat}[t]{5} 2u\amp{}-{}\amp 3v \amp{}={}{-4}\\ 5u\amp{}+{}\amp 2v\amp{}={}9\\ \end{alignedat}

For Problems 9–12, solve the system by substitution or by linear combinations.

###### 9

\begin{aligned}[t] 3m \amp + n =7\\ 2m\amp =5n-1\\ \end{aligned}

###### 10

\begin{alignedat}[t]{5} 3x\amp{}+{}\amp 5y \amp{}={}1\\ 2x\amp{}-{}\amp 3y\amp{}={}7\\ \end{alignedat}

###### 11

\begin{aligned}[t] 3y \amp = 2x-8\\ 4y\amp + 11= 3x\\ \end{aligned}

###### 12

\begin{aligned}[t] 4L-3\amp =3W\\ 25+5L\amp = -2W\\ \end{aligned}

In Problems 13–18, clear the fractions in each equation first, then solve the system by substitution or by linear combinations.

###### 13

\begin{alignedat}[t]{5} \dfrac{2}{3}A \amp{}-{}\amp B \amp{}={}4\\ A\amp{}-{}\amp \dfrac{3}{4}B \amp{}={}6\\ \end{alignedat}

###### 14

\begin{alignedat}[t]{5} \dfrac{1}{8}w \amp{}-{} \amp\dfrac{3}{8} z \amp{}={}1\\ \dfrac{1}{2}w \amp{}-{}\amp \dfrac{1}{4}z \amp{}={}{-1}\\ \end{alignedat}

###### 15

\begin{aligned}[t] \dfrac{M}{4} \amp = \dfrac{N}{3}-\dfrac{5}{12} \\ \dfrac{N}{5} \amp = \dfrac{1}{2}-\dfrac{M}{10} \\ \end{aligned}

###### 16

\begin{aligned}[t] \dfrac{R}{3} \amp =\dfrac{S}{3}+2 \\ \dfrac{S}{3} \amp = \dfrac{R}{6}-1 \\ \end{aligned}

###### 17

\begin{aligned}[t] \dfrac{s}{2} \amp = \dfrac{7}{6}-\dfrac{t}{3} \\ \dfrac{s}{4} \amp = \dfrac{3}{4}-\dfrac{t}{4} \\ \end{aligned}

###### 18

\begin{aligned}[t] \dfrac{2p}{3} \amp +\dfrac{8q}{9}=\dfrac{4}{3} \\ \dfrac{p}{3} \amp = 2+\dfrac{q}{2} \\ \end{aligned}

In Problems 19–28, write a system of equations for the problem, then solve algebraically.

###### 19

Francine has $2000, part of it invested in bonds paying 10%, and the rest in a certificate account at 8%. Her annual income from the two investments is$184. How much did Francine invest at each rate?

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

 Principal Interest rate Interest Bonds Certificate Total ——
2. Write one equation about the amount Francine invested.

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

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

###### 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 Carmella 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 amount Carmella invested.

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

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

###### 21

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.

###### 22

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.

###### 23

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?

###### 24

In a recent election, 7179 votes were cast for the two candidates. If 6 votes had been switched from the winner to the loser, the loser would have won by 1 vote. How many votes were cast for each candidate?

###### 25

Because of prevailing winds, a flight from Detroit to Denver, a distance of 1120 miles, takes 4 hours on Econoflite, while the return trip takes 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 Denver.

3. Write a second equation about the return trip.

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

###### 26

On a breezy day, Bonnie propelled her human-powered aircraft 100 meters in 15 seconds going into the wind and made the return trip in 10 seconds with the wind. What were the speed of the wind and Bonnie's speed in still air?

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

 Rate Time Distance Against the wind With the wind
2. Write one equation about Bonnie's initial flight.

3. Write a second equation about Bonnie's return trip.

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

###### 27

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.

###### 28

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

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

For Problems 19-28, use a calculator to solve the system.

###### 29

\begin{alignedat}[t]{5} 4.8x\amp{}-{}\amp 3.5y \amp{}={}5.44\\ 2.7x\amp{}+{}\amp 1.3y\amp{}={}8.29\\ \end{alignedat}

###### 30

\begin{alignedat}[t]{5} 6.4x\amp{}+{}\amp 2.3y \amp{}={}{-14.09}\\ -5.2x\amp{}-{}\amp 3.7y\amp{}={}{-25.37}\\ \end{alignedat}

###### 31

\begin{aligned}[t] 0.9x=25.78 \amp + 1.03y\\ 0.25x + 0.3y \amp = 85.7\\ \end{aligned}

###### 32

\begin{aligned}[t] 0.02x \amp = 0.6y - 78.72\\ 1.1y \amp = -0.4x + 108.3\\ \end{aligned}