# The substitution method | Systems of equations | 8th grade | Khan Academy Use substitution to
solve for x and y. And we have a system
of equations here. The first equation is
2y is equal to x plus 7. And the second equation here
is x is equal to y minus 4. So what we want to do,
when they say substitution, what we want to do
is substitute one of the variables
with an expression so that we have an equation
and only one variable. And then we can solve for it. Let me show you what
I’m talking about. So let me rewrite
this first equation. 2y is equal to x plus 7. And we have the second
equation over here, that x is equal to y minus 4. So if we’re looking
for an x and a y that satisfies both constraints,
well we could say, well look, at the x and y have to
satisfy both constraints, both of these constraints
have to be true. So x must be equal to y minus 4. So anywhere in this top
equation where we see an x, anywhere we see an
x, we say well look, that x by the second constraint
has to be equal to y minus 4. So everywhere we see an
x, we can substitute it with a y minus 4. So let’s do that. So if we substitute y minus
4 for x in this top equation, the top equation becomes 2y
is equal to instead of an x, the second constraint
tells us that x needs to be equal to y minus 4. So instead of an x,
we’ll write a y minus 4, and then we have a plus 7. All I did here is I
substituted y minus 4 for x. The second constraint tells
us that we need to do it. y minus 4 needs to be
equal to x or x needs to be equal to y minus 4. The value here is now
we have an equation, one equation with one variable. We can just solve for y. So we get 2y is equal to y, and
then we have minus 4 plus 7. So y plus 3. We can subtract y from both
sides of this equation. The left hand side,
2y minus y is just y. y is equal to– these
cancel out. y is equal to 3. And then we could go
back and substitute into either of these
equations to solve for x. This is easier right over
here, so let’s substitute right over here. x needs
to be equal to y minus 4. So we could say that x
is equal to 3 minus 4 which is equal to negative 1. So the solution to this system
is x is equal to negative 1 and y is equal to 3. And you can verify that it
works in this top equation right over here. 2 times 3 is 6 which is indeed
equal to negative 1 plus 7. Now I want to show you that
over here we substituted– we had an expression that,
or we had an equation, that explicitly solved for x. So we were able to
substitute the x’s. What I want to show
you is we could have done it the
other way around. We could have solved for y and
then substituted for the y’s. So let’s do that. And we could have substituted
from one constraint into the other
constraint or vice versa. Either way, we would have
is equal to y minus 4, in that second
equation, if we add 4 to both sides of this equation,
we get x plus 4 is equal to y. This and this is the
exact same constraint. I just added 4 to
both sides of this to get this
constraint over here. And now since we’ve solved
this equation explicitly for y, we can use the first
constraint, the first equation. And everywhere
where we see a y, we can substitute it with x plus 4. So it’s 2 times–
instead of 2 times y, we can write 2 times x plus 4. 2 times x plus 4 is
equal to x plus 7. We can distribute this 2. So we get 2x plus 8
is equal to x plus 7. We can subtract x from both
sides of this equation. And then we can subtract 8 from
both sides of this equation, subtract 8. The left hand side,
that cancels out. We’re just left with an x. On the right hand
side, that cancels out, and we are left
with a negative 1. And then we can
substitute back over here we have y is equal to x plus 4,
or so y is equal to negative 1 plus 4 which is equal to 3. So once again, we
got the same answer even though this time we
substituted for y instead of substituting for x. Hopefully you found
that interesting.

### 97 thoughts on “The substitution method | Systems of equations | 8th grade | Khan Academy”

• March 12, 2011 at 8:05 pm

what software was used for this presentation? I'm a college instructor, so i'm very interested ^_^

• March 14, 2011 at 6:19 am

@impdok
MS Paint, really basic stuff. He also uses Camtasia Recorder (\$200) + a Wacom Bamboo Tablet (\$80) on a PC.

• March 28, 2011 at 6:08 pm

well…when you got 2y=3, didn't you hae to make it so theres only a variable…so divide 3 by 2?

• May 7, 2011 at 3:44 pm

thanks

• July 20, 2011 at 3:53 pm

WELL

• November 18, 2011 at 5:20 am

@MrDollerbill CONFUSING

• December 1, 2011 at 1:18 am

what if both parts of the problem equal y?

• April 19, 2012 at 5:09 am

wow u r a really good explainer. mhm that is osm sauce.

• April 29, 2012 at 4:45 pm

God …when my teacher explained it i could not understand 1 word, but you guys, i just wanna say thanks for this dudes. y'all ROCK!!!

• May 7, 2012 at 8:14 am

You are awesome…i finally understand it. Yay!

• September 18, 2012 at 1:17 pm

Thanks a bunch, this is great study for cramming 😉

• December 14, 2012 at 2:47 am

I can finally understand!!!!! thank you!!!!

• December 17, 2012 at 12:38 am

That's it? WOWWW

• December 18, 2012 at 6:41 pm

Say you have a problem like that, and it's a multiple choice question and it gives you answers to choose from. Would plugging each option in work too?

• January 19, 2013 at 12:00 pm

Name of the program pleasee !))

• January 28, 2013 at 12:42 am

thank you so much for this video!!!!! yay! now im not going to fail my test!!!!

• February 26, 2013 at 2:41 am

good tutorial

• April 18, 2013 at 3:55 am

I've been learning this for a month; this is the first time it's made sense in a reasonable way. thank you.

• April 22, 2013 at 9:14 am

thank you
You made my hope that i can pass my math exam tomorrow

• May 2, 2013 at 8:53 pm

You teach better than my teacher

• May 27, 2013 at 1:42 am

Who else is here because they rage quit against their teachers

• May 29, 2013 at 1:47 am

I know we all are having problems with our math but when we think why are we learning this? We learn this to solve our life related problems. While, most of the people like us don't use this method b'coz we think it's hard.

• June 13, 2013 at 4:24 am

McGraw hall is starting to copy your idea their tutorials are not as good and schools are required to use them

• August 15, 2013 at 5:44 am

math is much more than "using the pythagoras theorem" or when i grow up when am i going to use this, its all about logic and critical thinking. which is why many people value math including universities and for people to say why am i learning math its not like im going to use it i want to be a writer – i mean yeah sure you're not going to use it firsthand but you develop higher thinking skills through the process of math

• January 2, 2014 at 10:19 pm

… Now i know my teacher i terrible. You make it look so easy.

• February 7, 2014 at 6:23 am

i didn't really understand it

• February 25, 2014 at 7:32 am

Really good stuff from what I heard in this video. But maybe take in mind the people who are colour blind and can't see some of this stuff properly…

• March 19, 2014 at 2:24 am

You teach soooo much better than my teacher!! My teacher just gives us worksheets for a week and expects us to understand and i learned more from a 4 minute video than in a week in her class

• April 23, 2014 at 1:05 pm

Thank you so much. Don't know what would have happen if you weren't on YouTube
😀

• May 1, 2014 at 6:25 pm

THANK YOU SO MUCH

• December 10, 2014 at 1:07 am

but all my math H.W. problems don't have anything equal x or Y. It's just a number and it's really confusing. But thanks for making it easier to understand for the most part.

• December 12, 2014 at 1:06 am

i had harder versions of these

• February 23, 2015 at 12:09 am

My teacher shows us how to do it ONE time then examples for a few days then new subject.

• April 2, 2015 at 1:40 am

This makes me hate my teacher even more. Thanks man! Great video!

• May 21, 2015 at 3:15 am

Thanks. My teacher sucks at explaining and a 4 minute free video helped me better than SCHOOL ITSELF.

• May 21, 2015 at 8:53 am

THANK YOU

I was stuck trying to do my math homework, and this video beautifully explained everything so thaaaank you so much<3

• October 23, 2015 at 12:11 am

When are we going to use this in real  life????????????????????? like Fr

• November 28, 2015 at 4:41 am

Well as you can see the answer is 3 so 4 minus 7 is 3 you only have to do is to put only 3 no solution lol.

• January 6, 2016 at 1:07 am

this didn't help that much, you should add different types of problem to give the viewers a clue of how to solve them in my opinion

• January 20, 2016 at 3:25 am

I never listen to my teacher in class lmao, this why I'm looking up videos

• February 4, 2016 at 2:05 am

Yeah I'm a junior in high school here

• March 27, 2016 at 4:05 am

How you get 3

• March 28, 2016 at 6:19 pm

so all substitution have an answer

• May 26, 2016 at 8:46 am

im a sped help

• June 13, 2016 at 5:28 pm

When your teacher doesn't even teach you for your exam and tells you to go on videos instead

• June 13, 2016 at 5:31 pm

When your teacher doesn't even teach you for your exam and tells you to go on videos instead

• July 11, 2016 at 1:39 am

Nobody told me I could just -x when theres 2x I always tried to devide by 2 this makes my life 100% simpler

• August 4, 2016 at 1:35 am

what did they use to record video

• August 8, 2016 at 3:37 pm

My problems are much more complicated than this

• August 11, 2016 at 10:17 am

Thank you so much

• October 8, 2016 at 12:05 pm

Cool editting

• November 18, 2016 at 10:30 pm

easy money! I wish I can play game in class!

• December 12, 2016 at 5:37 am

I don't derstand where you got the 3 from

• December 30, 2016 at 12:54 am

if you get rid of the "y" at the end of the problem solving then you do NOT get y = 3; you get 2 = 3. That makes absolutely no sense. if you get rid of y, you have to bring down the 2.

• January 12, 2017 at 11:32 am

i understand this more than what my teacher discusses, thanks!

• January 17, 2017 at 11:19 pm

• January 21, 2017 at 2:31 am

Thks

• February 7, 2017 at 7:08 am

i watched this 1million times and i still don't get it
?…….

• February 22, 2017 at 11:15 pm

Now I know y math is so hard…..get it?

• June 15, 2017 at 2:51 pm

cheers helped me understand better

• September 20, 2017 at 3:47 pm

i honestly feel like an idiot for being the only one in class who doesn't get this

• October 19, 2017 at 10:20 pm

uh, im learning this in 10th grade. also, school didnt even teach this well

• November 1, 2017 at 2:14 am

• November 8, 2017 at 3:08 am

I learned more in a 4 minute video than in a week of class. My math teacher is Khan.

• November 28, 2017 at 1:44 am

You need to do word problems this topic is still confuseing to me😬

• December 1, 2017 at 12:31 pm

I’m in 8th grade learning sophomore math😭 Thank you I finally understand it now

• December 2, 2017 at 6:46 pm

Despite watching this i still dont get it!

• December 8, 2017 at 4:01 pm

U are supposed to multiply seven times the x right not like this

• December 11, 2017 at 2:27 am

My accelerated math teacher just confused everyone in the class… I’ll have to show this to my friends so we’re not lost anymore 😁.

• December 11, 2017 at 4:10 am

I love you ! I was like how tf do I do this

• December 11, 2017 at 2:42 pm

succ

• January 7, 2018 at 7:55 pm

this is good for my final exam review

• January 17, 2018 at 1:21 am

this doesn’t make sense

• January 31, 2018 at 11:21 pm

where did the -1 come from

• February 3, 2018 at 11:57 pm

Saved me thank you

• February 7, 2018 at 2:16 am

Y=-2x+13
X=9-y

• February 18, 2018 at 11:20 pm

THANK YOU SO MUCH 🙂

• February 26, 2018 at 3:45 am

6 years late but thanks

• March 9, 2018 at 3:40 am

I was so lost in my math class thanks I understand now

• April 4, 2018 at 10:23 am

Thanks so much teacher

• April 11, 2018 at 3:01 am

I thought this was hard in year 2… Now I'm thinking, where was khan academy back then???

• September 9, 2018 at 12:07 am

Im don’t understand this

• October 12, 2018 at 4:22 pm

Simple questions.. no one ever goes over the hard ones. Awesome

• October 24, 2018 at 3:02 am

Yeah um can you like do more problems then one please

• December 4, 2018 at 3:39 pm

My teacher gets mad at me for not understanding

• December 7, 2018 at 4:45 pm

• December 14, 2018 at 2:49 am

nani

• December 16, 2018 at 10:26 pm

Anyone know how he got -1 at2:29

• December 19, 2018 at 7:56 am

He lost me at y+3 someone tell me where it came from. He had me till he said that

• December 19, 2018 at 8:08 pm

In math class lol

• January 18, 2019 at 12:25 am

Anyone here Attention Deficit and can't pay attention, like, at all? :')

• February 12, 2019 at 8:54 pm

I knew that already just tell me how to do y=5x+6 y=6x+10 or any other duos like this one for subsitutuion

• February 21, 2019 at 3:01 am

Can someone help my question is -4x + 5y = 40
X = 2y – 13

• March 6, 2019 at 9:12 pm

Don't UNDERSTAND!!!!!
😣😣😣

• April 17, 2019 at 4:17 pm

• May 1, 2019 at 9:06 pm
• 