<meta http-equiv="refresh" content="1; url=/nojavascript/">
You are viewing an older version of this Concept. Go to the latest version.

# Solving Systems by Multiplying Both Equations

%
Progress
Progress
%
Solving Systems by Multiplying Both Equations to Cancel a Variable

A one pound mix consisting of 30% cashews and 70% pistachios sells for $6.25. A one pound mix consisting of 80% cashews and 20% pistachios sells for$7.50. How would a mix consisting of 50% of each type of nut sell for?

### Watch This

Watch the second portion of this video, starting around 5:00.

### Guidance

In the linear systems in this lesson, we will need to multiply both equations by a constant in order to have opposite coefficients of one of the variables. In order to determine what numbers to multiply by, we will be finding the least common multiple of the given coefficients. Recall that the least common multiple of two numbers is the smallest number which is divisible by both of the given numbers. For example, 12 is the least common multiple of 4 and 6 because it is the smallest number divisible by both 4 and 6.

#### Example A

Solve the system using linear combinations:

$2x-5y &= 15\\3x+7y &= 8$

Solution: In this problem we cannot simply multiply one equation by a constant to get opposite coefficients for one of the variables. Here we will need to identify the least common multiple of the coefficients of one of the variables and use this value to determine what to multiple each equation by. If we look at the coefficients of $x$ , 2 and 3, the least common multiple of these numbers is 6. So, we want to have the coefficients of $x$ be 6 and -6 so that they are opposites and will cancel when we add the two equations together. In order to get coefficients of 6 and -6 we can multiply the first equation by 3 and the second equation by -2 (it doesn’t matter which one we make negative.)

$&\quad \ 3(2x-5y=15) \quad \Rightarrow \qquad \ \cancel{6x}-15y = 45\\& -2(3x+7y=8) \qquad \quad \ + \ \underline{- \cancel{6x}-14y = -16 \; \; \; }\\& \qquad \qquad \qquad \qquad \qquad \qquad \quad \quad -29y=29\\& \qquad \qquad \qquad \qquad \qquad \qquad \qquad \quad \quad y=-1$

Now find $x$ :

$2(x)-5(-1) &= 15\\2x+5 &= 15\\2x &= 10 \\x &= 5$

Solution: (5, -1)

$2(5)-5(-1) &= 10 + 5 =15\\3(5)+7(-1) &= 15-7=8$

$^*$ This problem could also be solved by eliminating the $y$ variables first. To do this, find the least common multiple of the coefficients of $y$ , 5 and 7. The least common multiple is 35, so we would multiply the first equation by 7 and the second equation by 5. Since one of them is already negative, we don’t have to multiply by a negative.

#### Example B

Solve the system using linear combinations:

$7x+20y &= -9\\-2x-3y &= 8$

Solution: The first step is to decide which variable to eliminate. Either one can be eliminated but sometimes it is helpful to look at what we need to multiply by to eliminate each one and determine which is easier to eliminate. In general, it is easier to work with smaller numbers so in this case it makes sense to eliminate $x$ first. The Least Common Multiple (LCM) of 7 and 2 is 14. To get 14 as the coefficient of each term, we need to multiple the first equation by 2 and the second equation by 7:

$& 2(7x+20y=-9) \quad \Rightarrow \quad \ \ \cancel{14x}+40y= -18 \\& 7(-2x-3y=8) \qquad \qquad \ \underline{- \cancel{14x}-21y=56 \; \; \;}\\& \qquad \qquad \qquad \qquad \qquad \qquad \qquad \ 19y = 38\\& \qquad \qquad \qquad \qquad \qquad \qquad \qquad \quad \ y=2$

Now find $x$ :

$-2x-3(2) & = 8\\-2x-6 &= 8\\-2x &= 14\\x &= -7$

Solution: (-7, 2)

$7(-7)+20(2) &= -49 + 40 = -9\\-2(-7)-3(2) & =14-6=8$

#### Example C

Solve the system using linear combinations:

$14x-6y &= -3\\16x-9y &= -7$

Solution: This time, we will eliminate $y$ . We need to find the LCM of 6 and 9. The LCM is 18, so we will multiply the first equation by 3 and the second equation by -2. Again, it doesn’t matter which equation we multiply by a negative value.

$& \quad 3(14x-6y=-3) \quad \Rightarrow \quad \ + 42x - \cancel{18y} = -9\\& -2(16x-9y=-7) \qquad \quad \ \ \underline{-32x+ \cancel{18y} = 14 \; \; \; \; }\\& \qquad \qquad \qquad \qquad \qquad \qquad \qquad \quad \ 10x = 5\\& \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \ x=2$

Now find $y$ :

$14 \left(\frac{1}{2} \right)-6y &= -3\\7-6y &= -3\\-6y &= -10\\y & = \frac{10}{6} = \frac{5}{3}$

Solution: $\left(\frac{1}{2}, \frac{5}{3}\right)$

$14 \left(\frac{1}{2}\right) - 6 \left(\frac{5}{3}\right) &= 7-10=-3\\16 \left(\frac{1}{2}\right) - 9 \left(\frac{5}{3}\right) &= 8-15=-7$

Intro Problem Revisit Write a system of linear equations to represent the given information. Let $x=$ the cost of the cashews per pound and let $y=$ the cost of the pistachios per pound. Now we can write two equations to represent the two different mixes of nuts:

$0.3x+0.7y &= 6.25\\0.8x+0.2y &= 7.50$

Solve this system to determine the cost of each type of nut per pound. If we eliminate $y$ , we will need to multiple the first equation by 2 and the second equation by -7:

$& \quad 2(0.3x-0.7y=6.25) \quad \Rightarrow \quad +0.6x - \cancel{1.4y} = 12.5\\& -7(0.8x+0.2y=7.50) \qquad \quad \ \underline{-5.6x+ \cancel{1.4y} = -52.5 \; \; \;}\\& \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \ -5x = -40\\& \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad x=8$

Now find $y$ :

$0.3(8)+0.7y &= 6.25\\2.4+0.7y &= 6.25\\0.7y &= 3.85\\y &= 5.5$

So, we have determined that the cost of the cashews is $8 per pound and the cost of the pistachios is$5.50 per pound. Now we can determine the cost of the 50% mix as follows: