Mattie wants to plant some flowers in her yard. She has space for 15 plants. She buys pansies and daisies at her local garden center. The pansies are each $2.75 and the daisies are each $2.00. How many of each does she buy if she spends a total of $35.25?
Solving Systems by Multiplication
It is not always the case that the coefficients of one variable in a system of linear equations are the same or opposites. When this is not the case, we may be able to multiply one of the equations by a constant so that we have opposite coefficients of one variable and can proceed to solve the system as we have previously done.
Let's solve the following systems using linear combinations.
\begin{align*}4x+y &= 0\\
x 3y &= 26\end{align*}
Here we have coefficients of \begin{align*}y\end{align*}
\begin{align*}3(4x+y &= 0)\\
12x+3y &= 0\end{align*}
Now we can use this new equation in our system to eliminate \begin{align*}y\end{align*}
\begin{align*}& \quad \ 12x+\cancel{3y}=0\\ & + \ \underline{\;\;\; x\cancel{3y}=26}\\ & \qquad \quad \ 13x = 26\\ & \qquad \quad \quad \ x=2\end{align*}
Now, find \begin{align*}y\end{align*}:
\begin{align*}4(2)+y &= 0\\ 8+y &= 0\\ y &= 8\end{align*}
Solution: (2, 8)
Check your answer:
\begin{align*}4(2)+(8) &= 88=0\\ (2)3(8) &= 2+24=26 \end{align*}
\begin{align*}^*\end{align*} Note that we could have used the other equation to find \begin{align*}y\end{align*} in the final step.
\begin{align*}^{**}\end{align*} From the beginning, we could have multiplied the second equation by 4 instead to cancel out the \begin{align*}x\end{align*} variable.
\begin{align*}2x+5y &=1\\ y &= 3x+21\end{align*}
For this system, we must first rewrite the second equation in standard form so that we can see how the coefficients compare. If we add \begin{align*}3x\end{align*} to both sides we get:
\begin{align*}2x+5y &=1\\ 3x+y &=21\end{align*}
Now, we can see that if we multiply the second equation by 5, the coefficients of \begin{align*}y\end{align*} will be opposites.
\begin{align*}& \qquad \qquad 2x+\cancel{5y}=1\\ & \quad + \ \ \underline{15x\cancel{5y}=105}\\ & \qquad \qquad \ 13x = 104\\ & \qquad \qquad \qquad \ x = 8\end{align*}
Now, find \begin{align*}y\end{align*}:
\begin{align*}y &= 3(8)+21\\ y &= 24+21\\ y &= 3\end{align*}
Solution: (8, 3)
Check your answer:
\begin{align*}2(8)+5(3) &= 1615 = 1\\ 3=3(8)+21 &= 24+21=3 \end{align*}
\begin{align*}4x6y &= 12\\ y &= \frac{2}{3}x+2\end{align*}
Again, we need to rearrange the second equation in this system to get it in standard form. We can do this by subtracting \begin{align*}\frac{2}{3}x\end{align*} on both sides to get the following system:
\begin{align*}4x6y &= 12\\  \frac{2}{3}x+y &= 2\end{align*}
Multiply the second equation by 6 to eliminate \begin{align*}y\end{align*}:
\begin{align*}& \quad 6\left( \frac{2}{3}x+y =2\right)\\ & \quad \ \ 4x+6y = 12\end{align*}
And add it to the first equation.
\begin{align*}& \qquad \quad 4x\cancel{6y}= 12\\ & \ \ + \ \underline{4x+\cancel{6y}=12\;\;\;}\\ & \qquad \qquad \quad 0x=0\\ & \qquad \qquad \quad \ 0=0\end{align*}
Here, both variables were eliminated and we wound up with 0 = 0. Recall that this is a true statement and thus this system has infinite solutions.
Examples
Example 1
Earlier, you were asked to find how many pansies and daisies Mattie bought at the garden center if the pansies are $2.75 each and the daisies are $2.00 each and she spent a total of $35.25. She has room for 15 plants in her garden.
The system of linear equations represented by this situation is:
\begin{align*}p + d &= 15\\ 2.75p + 2d &= 35.25\end{align*}
If we multiply the first of these two equations by \begin{align*}2\end{align*}, we get a new system of linear equations:
\begin{align*}2p  2d &= 30\\ 2.75p + 2d &= 35.25\end{align*}
Now we can add these two equations to cancel out the d variable. When we do so, we get:
\begin{align*}0.75p = 5.25\end{align*} or \begin{align*}p = 7\end{align*}
Finally, we can substitute \begin{align*}p = 7\end{align*} into either of our original equations to get the value of d.
\begin{align*}7 + d = 15\end{align*} or \begin{align*}d = 8\end{align*}
Therefore Mattie buys 7 pansies and 8 daisies.
Solve the following systems using linear combinations.
Example 2
\begin{align*}3x+12y &= 3\\
x5y &= 0\end{align*}
In this problem we can just multiply the second equation by 3 to get coefficients of \begin{align*}x\end{align*} which are opposites: \begin{align*}3(x5y=0)\Rightarrow 3x15y =0\end{align*}
\begin{align*}&\ \ \cancel{3x}+12y=3\\ &\underline{\cancel{3x}15y=0\;\;\;}\\ & \qquad \ 3y=3\\ & \qquad \qquad y=1\end{align*}
Now we can find \begin{align*}x\end{align*}:
\begin{align*}3x+12(1) &= 3\\ 3x+12 &= 3\\ 3x &= 15\\ x &= 5\end{align*}
Solution: (5, 1)
Example 3
\begin{align*}0.75x+5y &= 0\\
0.25x9y &= 0\end{align*}
For this system, we need to multiply the second equation by 3 to get coefficients of \begin{align*}x\end{align*} which are opposites: \begin{align*}3(0.25x9y=0) \Rightarrow 0.75x+27y=0\end{align*}
\begin{align*}& \quad \cancel{0.75x}+5y=0\\ &  \underline{\cancel{0.75x}9y=0}\\ & \qquad \quad \ 4y=0\\ & \qquad \qquad \quad y=0\end{align*}
Now we can find \begin{align*}x\end{align*}:
\begin{align*}0.75x+5(0) &= 0\\ 0.75x &= 0\\ x &= 0\end{align*}
Solution: (0, 0)
Example 4
\begin{align*}x3y &= 5\\
y &= \frac{1}{3}x+8\end{align*}
This time we need to rewrite the second equation in standard form:
\begin{align*}x3y &= 5\\  \frac{1}{3}x+y &= 8.\end{align*}
Now we can multiply the second equation by 3 to get coefficients of \begin{align*}x\end{align*} that are opposites:
\begin{align*}3 \left(\frac{1}{3}x+y=8\right) \Rightarrow x+3y=24\end{align*}, Now our system is:
\begin{align*}x3y &= 5\\ x+3y &= 24\end{align*}
When we add these equations together, both variables are eliminated and the result is 0 = 29, which is an untrue statement. Therefore, this system has no solution.
Review
Solve the following systems using linear combinations.
 .

 \begin{align*}x7y &= 27\\ 2x+y &= 9\end{align*}
 .

 \begin{align*}x+3y &= 31\\ 3x5y &= 5\end{align*}
 .

 \begin{align*}10x+y &= 6\\ 7x5y &= 13\end{align*}
 .

 \begin{align*}2x+4y &= 18\\ x5y &= 9\end{align*}
 .

 \begin{align*}2x+6y &= 8\\ 3x+2y &= 23\end{align*}
 .

 \begin{align*}12xy &= 2\\ 2x+5y &= 21\end{align*}
 .

 \begin{align*}2x+4y &= 24\\ 3x2y &= 26\end{align*}
 .

 \begin{align*}3x+2y &= 19\\ 5x+4y &= 23\end{align*}
 .

 \begin{align*}3x9y &= 13\\ x3y &= 7\end{align*}
 .

 \begin{align*}8x+2y &= 4\\ 3y &= 16x+2\end{align*}
 .

 \begin{align*}3x+2y &= 3\\ 6x5y &= 4\end{align*}
 .

 \begin{align*}10x+6y &= 24\\ y &=  \frac{5}{3}x4\end{align*}
 .

 \begin{align*}\frac{1}{3}x\frac{2}{3}y &= 8\\ \frac{1}{2}x\frac{1}{3}y &= 12\end{align*}
 .

 \begin{align*}6x10y &= 8\\ y &=  \frac{3}{5}x\end{align*}
 .

 \begin{align*}4x14y &= 52\\ y &= \frac{2}{7}x+3\end{align*}
Set up and solve a system of linear equations for each of the following word problems.
 Lia is making a mixture of Chlorine and water in her science class. She needs to make 13 ml of a 60% chlorine solution from a solution that is 35% chlorine and a second solution which is 75% chlorine. How many milliliters of each solution does she need?
 Chelsea and Roberto each sell baked goods for their club’s fundraiser. Chelsea sells 13 cookies and 7 brownies and collects a total of $11.75. Roberto sells 10 cookies and 14 brownies and collects a total of $15.50. How much did they charge for the cookies and the brownies?
Answers for Review Problems
To see the Review answers, open this PDF file and look for section 3.7.