Main content

## Algebra (all content)

### Course: Algebra (all content) > Unit 5

Lesson 3: Equivalent systems of equations and the elimination method- Systems of equations with elimination: King's cupcakes
- Systems of equations with elimination: x-4y=-18 & -x+3y=11
- Systems of equations with elimination
- Systems of equations with elimination: potato chips
- Systems of equations with elimination (and manipulation)
- Systems of equations with elimination challenge
- Why can we subtract one equation from the other in a system of equations?
- Worked example: equivalent systems of equations
- Worked example: non-equivalent systems of equations
- Reasoning with systems of equations
- Solving systems of equations by elimination (old)
- Elimination method review (systems of linear equations)
- Equivalent systems of equations review

© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice

# Solving systems of equations by elimination (old)

An old video where Sal introduces the elimination method for systems of linear equations. Created by Sal Khan.

## Want to join the conversation?

- for the first problem... the 4y= -8........ where did the -8 came from?(43 votes)
- After finding the value of x= ⁷⁄₂, he had:

3x + 4y = ⁵⁄₂

Putting the x= ⁷⁄₂ in for x we get:

(3)(⁷⁄₂) + 4y = ⁵⁄₂

Multiplying the 3 and the ⁷⁄₂ gives:

²¹⁄₂ + 4y = ⁵⁄₂

Subtracting ²¹⁄₂ from both sides gives:

4y = ⁵⁄₂ - ²¹⁄₂

Combining like fractions:

4y = ⁵⁻²¹⁄₂

Since 5-21=-16, we get:

4y = -16/2

Since -16/2 = -8 we get

4y = -8

Dividing by 4 gives us:

y = -2(92 votes)

- Hey Sal, how can solve a system of equation with the elimination IF you can't cancel a variable?

EX: 5x+3y=12 and 4x-5y=17

-Thanks!(10 votes)- One way you can do that is by multiplying the top equation by 5 and multiplying the bottom equation by 3 because then, you could easily cancel out the 15 (top equation) and the -15 (bottom equation) and solve the rest of the equation accordingly.

>>>

5x + 3y = 12

4x - 5y = 17

5x + 15y = 12

4x - 15y = 17

5x = 12

4x = 17

9x = 29

x = ~3.22

(Then solve for y)

Hope this helps!(1 vote)

- -4x-2y=-12

4x+8y=-24(8 votes)- first you have to subtract from both sides . Then you have to divide the whole equation by whatever your number is. Then you would eventually get down to a new dividing processes. Next you would divide and find your answer. After you are done with your steps then you would have to go back into your original equation and plug it in for your letter Y.(6 votes)

- Why are there letters in math it is bummy and shouldnt exist(10 votes)
- Well technically they're not letters-they represent unknown variables, so technically, you can use any other character in PLACE of the letter. We just chose letters to represent the unknown.(4 votes)

- Im kind of stuck so if i had an equation like... 4b+3v=29

6b+3v=39

How would i solve this problem??(8 votes)- Both equations have the term "3v". But, the signs are the same. If you make one have "-3v", then you can eliminate the "v" variable and solve for "b". Here's how to do it:

1) Multiply one of the 2 equations by -1. For example:

-1 (4b+3v) = -1(29)

-4b - 3v = -29

2) Add the 2 equations to eliminate "v"

6b + 3v - 4b - 3v = 39 - 29

2b = 20

3) Solve for "b" by dividing by 2: b = 10

4) Then, use the value of "b" to find the value of "v" by substituting back into one of the equations.

Hope this helps.(7 votes)

- What do you do if your system has no same values ie

4x+y-2z=-6

2x-3y+3z=9

x-2y=0(9 votes) - How would you do something like. -6x + 3y = -18 and -3x + 4y = 6 ?(5 votes)
- There are a few ways to solve this, but I'll tell you how I did it. Since I find graphing my equations easier, I decided to put both these equations in y=mx+b form. For -6x+3y=-18, solve for y by adding 6x to both sides, and you get 3y = 6x + 18. Divide all by 3 and your first graphable equation is y=2x+6. Now you have to convert the other equation,-3x+4y=6. Add 3x to both sides and end up with 4y=3x+6. Divide out by 4, and your second equation should equal y=3/4x+1.5. Once you graph it, the lines should intersect at about the point (-2,2) or (-2,2.5). Probably not the method you're looking for, but I hope it still helps anyway :)(2 votes)

- For the last question you would simplify subtract the top equation from the bottom equation because you can learn the rule SSS. Same Signs Subtract. Hope this helps for anyone. btw i am in grade 8 :)(4 votes)
- I know three easy steps to solve these type of equations by elimination method:

1- equation must always start with the same variable.

2-find the co-efficient of each variable.

3-cross multiply each equation using the variables.(4 votes) - How would I solve

-8x+20=-20

5x+10y=-15

With the the elimination method(4 votes)

## Video transcript

Let's explore a few
more methods for solving systems of equations. Let's say I have the equation,
3x plus 4y is equal to 2.5. And I have another equation, 5x
minus 4y is equal to 25.5. And we want to find an x and y
value that satisfies both of these equations. If you think of it graphically,
this would be the intersection of the lines that
represent the solution sets to both of these equations. So how can we proceed? We saw in substitution,
we like to eliminate one of the variables. We did it through substitution
last time. But is there anything we can add
or subtract-- let's focus on this yellow, on this top
equation right here-- is there anything that we can add
or subtract to both sides of this equation? Remember, any time you deal with
an equation you have to add or subtract the same
thing to both sides. But is there anything that we
could add or subtract to both sides of this equation
that might eliminate one of the variables? And then we would have one
equation in one variable, and we can solve for it. And it's probably not obvious,
even though it's sitting right in front of your face. Well, what if we
just added this equation to that equation? What I mean by that is, what if
we were to add 5x minus 4y to the left-hand side, and add
25.5 to the right-hand side? So if I were to literally add
this to the left-hand side, and add that to the
right-hand side. And you're probably saying, Sal,
hold on, how can you just add two equations like that? And remember, when you're doing
any equation, if I have any equation of the form-- well,
really, any equation-- Ax plus By is equal to C, if I
want to do something to this equation, I just have to add the
same thing to both sides of the equation. So I could, for example, I could
add D to both sides of the equation. Because D is equal to
D, so I won't be changing the equation. You would get Ax plus By, plus
D is equal to C plus D. And we've seen that multiple,
multiple times. Anything you do to one side of
the equation, you have to do to the other side. But you're saying, hey, Sal,
wait, on the left-hand side, you're adding 5x minus
4y to the equation. On the right-hand side, you're
adding 25.5 to the equation. Aren't you adding two different
things to both sides of the equation? And my answer would be no. We know that 5x minus
4y is 25.5. This quantity and this quantity
are the same. They're both 25.5. This second equation is telling
me that explicitly. So I can add this to
the left-hand side. I'm essentially adding
25.5 to it. And I could add 25.5 to
the right-hand side. So let's do that. If we were to add the
left-hand side, 3x plus 5x is 8x. And then what is 4y minus 4y? And this was the whole point. When I looked at these two
equations, I said, oh, I have a 4y, I have a negative 4y. If you just add these two
together, they are going to cancel out. They're going to be plus 0y. Or that whole term is just
going to go away. And that's going to be equal
to 2.5 plus 25.5 is 28. So you divide both sides. So you get 8x is equal to 28. And you divide both sides by 8,
and we get x is equal to 28 over 8, or you divide the
numerator and the denominator by 4. That's equal to 7 over 2. That's our x value. Now we want to solve
for our y value. And we could substitute
this back into either of these two equations. Let's use the top one. You could do it with the
bottom one as well. So we know that 3 times x, 3
times 7 over 2-- I'm just substituting the x value we
figured out into this top equation-- 3 times 7 over 2,
plus 4y is equal to 2.5. Let me just write that as 5/2. We're going to stay in
the fraction world. So this is going to be 21 over
2 plus 4y is equal to 5/2. Subtract 21 over 2
from both sides. So minus 21 over 2,
minus 21 over 2. The left-hand side-- you're just
left with a 4y, because these two guys cancel out--
is equal to-- this is 5 minus 21 over 2. That's negative 16 over 2. So that's negative 16 over 2,
which is the same thing-- well, I'll write it out
as negative 16 over 2. Or we could write that-- let's
continue up here-- 4y-- I'm just continuing this train of
thought up here-- 4y is equal to negative 8. Divide both sides by
4, and you get y is equal to negative 2. So the solution to this equation
is x is equal to 7/2, y is equal to negative 2. This would be the coordinate
of their intersection. And you could try it out
on both of these equations right here. So let's verify that it also satisfies this bottom equation. 5 times 7/2 is 35 over 2 minus
4 times negative 2, so minus negative 8. That's equivalent to-- let's
see, this is 17.5 plus 8. And that indeed does
equal 25.5. So this satisfies
both equations. Now let's see if we can use
our newly found skills to tackle a word problem, our
newly found skills in elimination. So here it says, Nadia and Peter
visit the candy store. Nadia buys 3 candy bars and 4
Fruit Roll-Ups for $2.84. Peter also buys 3 candy bars,
but can only afford 1 additional Fruit Roll-Up. His purchase costs $1.79. What is the cost of each candy
bar and each Fruit Roll-Up? So let's define some
variables. Let's just use x and y. Let's let x equal cost of candy
bar-- I was going to do a c and a f for Fruit Roll-Up,
but I'll just stick with x and y-- cost of candy bar. And let y equal the cost
of a Fruit Roll-Up. All right. So what does this first
statement tell us? Nadia buys 3 candy bars, so the
cost of 3 candy bars is going to be 3x. And 4 Fruit Roll-Ups. Plus 4 times y, the cost
of a Fruit Roll-Up. This is how much Nadia spends. 3 candy bars, 4 Fruit
Roll-Ups. And it's going to cost $2.84. That's what this first
statement tells us. It translates into
that equation. The second statement. Peter also buys 3 candy bars,
but could only afford 1 additional Fruit Roll-Up. So plus 1 additional
Fruit Roll-Up. His purchase cost is
equal to $1.79. What is the cost of each candy
bar and each Fruit Roll-Up? And we're going to solve
this using elimination. You could solve this using any
of the techniques we've seen so far-- substitution,
elimination, even graphing, although it's kind of
hard to eyeball things with the graphing. So how can we do this? Remember, with elimination,
you're going to add-- let's focus on this top equation
right here. Is there something we could
add to both sides of this equation that'll help us eliminate one of the variables? Or let me put it this way, is
there something we could add or subtract to both sides of
this equation that will help us eliminate one of
the variables? Well, like in the problem we
did a little bit earlier in the video, what if we were to
subtract this equation, or what if we were to subtract 3x
plus y from 3x plus 4y on the left-hand side, and subtract
$1.79 from the right-hand side? And remember, by doing that, I
would be subtracting the same thing from both sides
of the equation. This is $1.79. How do I know? Because it says this
is equal to $1.79. So if we did that we would be
subtracting the same thing from both sides of
the equation. So let's subtract 3x
plus y from the left-hand side of the equation. And let me just do this
over on the right. If I subtract 3x plus y, that is
the same thing as negative 3x minus y, if you just
distribute the negative sign. So let's subtract it. So you get negative 3x minus
y-- maybe I should make it very clear this is not a plus
sign; you could imagine I'm multiplying the second equation
by negative 1-- is equal to negative $1.79. I'm just taking the
second equation. You could imagine I'm
multiplying it by negative 1, and now I'm going to add the
left-hand side to the left-hand side of this equation,
and the right-hand side to the right-hand side
of that equation. And what do we get? When you add 3x plus 4y,
minus 3x, minus y, the 3x's cancel out. 3x minus 3x is 0x. I won't even write it down. You get 4x minus-- sorry,
4y minus y. That is 3y. And that is going to be equal
to $2.84 minus $1.79. What is that? That's $1.05. So 3y is equal to $1.05. Divide both sides by 3. y is equal to-- what's
$1.05 divided by 3? So 3 goes into $1.05. It goes into 1 zero times. 0 times 3 is 0. 1 minus 0 is 1. Bring down a 0. 3 goes into 10 three times. 3 times 3 is 9. Subtract. 10 minus 9 is 1. Bring down the 5. 3 goes into 15 five times. 5 times 3 is 15. Subtract. We have no remainder. So y is equal to $0.35. So the cost of a Fruit
Roll-Up is $0.35. Now we can substitute back into
either of these equations to figure out the cost
of a candy bar. So let's use this bottom
equation right here. Which was originally, if you
remember before I multiplied it by negative 1, it was 3x
plus y is equal to $1.79. So that means that 3x plus the
cost of a Fruit Roll-Up, 0.35 is equal to $1.79. If we subtract 0.35 from both
sides, what do we get? The left-hand side-- you're just
left with the 3x; these cancel out-- is equal
to-- let's see, this is $1.79 minus $0.35. That's $1.44. And 3 goes into $1.44, I think
it goes-- well, 3 goes into $1.44, it goes into
1 zero times. 1 times 3 is 0. Bring down the 1. Subtract. Bring down the 4. 3 goes into 14 four times. 4 times 3 is 12. I'm making this messy. 14 minus 12 is 2. Bring down the 4. 3 goes into 24 eight times. 8 times 3 is 24. No remainder. So x is equal to 0.48. So there you have it. We figured out, using
elimination, that the cost of a candy bar is equal to $0.48,
and that the cost of a Fruit Roll-Up is equal to $0.35.