<meta http-equiv="refresh" content="1; url=/nojavascript/">

# Solving Systems by Multiplying Both Equations

## Multiply both equations and add to cancel one variable

%
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$x$ , 2 and 3, the least common multiple of these numbers is 6. So, we want to have the coefficients of x$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.)

& -2(3x+7y=8) \qquad \quad \ + \ \underline{- \cancel{6x}-14y = -16 \; \; \; }\\

Now find x$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$y$ variables first. To do this, find the least common multiple of the coefficients of y$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$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:

Now find x$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$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.

& -2(16x-9y=-7) \qquad \quad \ \ \underline{-32x+ \cancel{18y} = 14 \; \; \; \; }\\

Now find y$y$ :

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

Solution: (12,53)$\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=$x=$ the cost of the cashews per pound and let y=$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$y$ , we will need to multiple the first equation by 2 and the second equation by -7:

& -7(0.8x+0.2y=7.50) \qquad \quad \ \underline{-5.6x+ \cancel{1.4y} = -52.5 \; \; \;}\\

Now find y$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: