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?

### Watch This

Khan Academy: Solving systems by elimination 2

### Guidance

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.

#### Example A

Solve the system using linear combinations:

**
Solution:
**
Here we have coefficients of
that are opposite signs (one is positive and one is negative). We can get opposite values if we multiply the first equation by 3. Be careful; make sure you multiply the entire equation, including the constant, by 3:

Now we can use this new equation in our system to eliminate and solve for :

Now, find :

Solution: (2, -8)

Check your answer:

Note that we could have used the other equation to find in the final step.

From the beginning, we could have multiplied the second equation by -4 instead to cancel out the variable.

#### Example B

Solve the system using linear combinations:

**
Solution:
**
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
to both sides we get:

Now, we can see that if we multiply the second equation by -5, the coefficients of will be opposites.

Now, find :

Solution: (8, -3)

Check your answer:

#### Example C

Solve the system using linear combinations:

**
Solution:
**
Again, we need to rearrange the second equation in this system to get it in standard form. We can do this by subtracting
on both sides to get the following system:

Multiply the second equation by 6 to eliminate :

And add it to the first equation.

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.

**
Intro Problem Revisit
**
The system of linear equations represented by this situation is:

If we multiply the first of these two equations by , we get a new system of linear equations:

Now we can add these two equations to cancel out the
*
d
*
variable. When we do so, we get:

or

Finally, we can substitute
into either of our original equations to get the value of
*
d
*
.

or

Therefore Mattie buys 7 pansies and 8 daisies.

### Guided Practice

Solve the following systems using linear combinations.

1.

2.

3.

#### Answers

1. In this problem we can just multiply the second equation by 3 to get coefficients of which are opposites:

Now we can find :

Solution: (-5, 1)

2. For this system, we need to multiply the second equation by -3 to get coefficients of which are opposites:

Now we can find :

Solution: (0, 0)

3. This time we need to rewrite the second equation in standard form:

Now we can multiply the second equation by 3 to get coefficients of that are opposites:

, Now our system is:

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.

### Practice

Solve the following systems using linear combinations.

- .

- .

- .

- .

- .

- .

- .

- .

- .

- .

- .

- .

- .

- .

- .

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?