< Return to Video

Quadratic formula (proof) | Quadratic equations | Algebra I | Khan Academy

  • 0:01 - 0:03
    In the completing the square
    video I kept saying that all
  • 0:03 - 0:06
    the quadratic equation is
    completing the square
  • 0:06 - 0:07
    as kind of a short cut
    of completing square.
  • 0:07 - 0:10
    And I was under the impression
    that I had done this
  • 0:10 - 0:12
    proof already but now I
    realize that I haven't.
  • 0:12 - 0:16
    So let me prove the quadratic
    equation to you, by
  • 0:16 - 0:17
    completing the square.
  • 0:20 - 0:23
    So let's say I have a
    quadratic equation.
  • 0:23 - 0:26
    I guess a quadratic equation is
    actually what you're trying to
  • 0:26 - 0:29
    solve, and what a lot of people
    call the quadratic equation is
  • 0:29 - 0:30
    actually the quadratic formula.
  • 0:30 - 0:33
    But anyway I don't want to get
    caught up in terminology.
  • 0:33 - 0:36
    But let's say that I have
    a quadratic equation that
  • 0:36 - 0:46
    says ax squared plus bx
    plus c is equal to 0.
  • 0:46 - 0:48
    And let's just complete
    the square here.
  • 0:48 - 0:49
    So how do we do that?
  • 0:49 - 0:57
    Well let's subtract c from both
    sides so we get ax squared plus
  • 0:57 - 1:01
    the bx is equal to minus c.
  • 1:01 - 1:03
    And just like I said in the
    completing the square video
  • 1:03 - 1:06
    I don't like having this
    a coefficient here.
  • 1:06 - 1:08
    I like just having one
    coefficient on my x squared
  • 1:08 - 1:11
    term so let me divide
    everything by a.
  • 1:11 - 1:21
    So I get x squared plus b/a
    x is equal to-- you have
  • 1:21 - 1:25
    to divide both sides
    by a --minus c/a.
  • 1:28 - 1:30
    Now we are ready to
    complete the square.
  • 1:30 - 1:31
    What was completing the square?
  • 1:31 - 1:35
    Well it's somehow adding
    something to this expression so
  • 1:35 - 1:39
    it has the form of something
    that is the square
  • 1:39 - 1:39
    of an expression.
  • 1:39 - 1:40
    What do i mean by that?
  • 1:40 - 1:43
    Well, I'll do a
    little aside here.
  • 1:43 - 1:52
    if I told you that x plus
    a squared, that equals
  • 1:52 - 1:58
    x squared plus two ax
    plus a squared, right?
  • 1:58 - 2:01
    So if I can add something here
    so that this left hand side
  • 2:01 - 2:06
    this expression looks like
    this, then I could
  • 2:06 - 2:06
    go the other way.
  • 2:06 - 2:10
    I can say this is going to be
    x plus something squared.
  • 2:10 - 2:12
    So what do I have to
    add on both sides?
  • 2:12 - 2:15
    If you watched the completing
    the square video this should be
  • 2:15 - 2:18
    hopefully intuitive for you.
  • 2:18 - 2:22
    What you do is you say well
    this b/a, this corresponds to
  • 2:22 - 2:26
    the 2a term, so a is going to
    be half of this, is going to
  • 2:26 - 2:28
    be half of this coefficient.
  • 2:28 - 2:29
    That would be the a.
  • 2:29 - 2:32
    And then what I need
    to add is a squared.
  • 2:32 - 2:35
    So I need to take half of
    this and then square it and
  • 2:35 - 2:36
    then add it to both sides.
  • 2:36 - 2:39
    Let me do that in a
    different color.
  • 2:39 - 2:41
    Do it in this magenta.
  • 2:41 - 2:43
    So I'm going to take half of
    this-- I'm just completing
  • 2:43 - 2:45
    square, that's all I'm doing,
    no magic here --so
  • 2:45 - 2:47
    plus half of this.
  • 2:47 - 2:50
    Well half of that
    is b/2a right?
  • 2:50 - 2:52
    You just multiply by 1/2.
  • 2:52 - 2:54
    And I have to square it.
  • 2:54 - 2:56
    Well if I did it to the left
    hand side of the equation, I
  • 2:56 - 2:58
    have to do it to the
    right hand side.
  • 2:58 - 3:01
    So plus b/2a squared.
  • 3:07 - 3:11
    And now I have this left hand
    side of the equation in the
  • 3:11 - 3:14
    form that it is the square of
    an expression that is
  • 3:14 - 3:15
    x plus something.
  • 3:15 - 3:16
    And what is it?
  • 3:16 - 3:20
    Well that's equal to-- let me
    switch colors again --what's
  • 3:20 - 3:22
    the left hand side of
    this equation equal to?
  • 3:22 - 3:25
    And you can just use this
    pattern and go to the left.
  • 3:25 - 3:29
    It's x plus what?
  • 3:29 - 3:33
    Well we said a, you can do one
    of two ways. a is 1/2 of this
  • 3:33 - 3:36
    coefficient or a is the square
    root of this coefficient or
  • 3:36 - 3:38
    since we didn't even square it
    we know that this
  • 3:38 - 3:41
    is a. b/2a is a.
  • 3:41 - 3:49
    So this is the same thing as x
    plus b over 2a everything
  • 3:49 - 3:56
    squared, and then that equals--
    let's see if we can simplify
  • 3:56 - 4:00
    this or make this a little
    bit cleaner --that equals--
  • 4:00 - 4:05
    See, if I were to have a common
    denominator-- I'm just doing a
  • 4:05 - 4:08
    little bit of algebra here
    --see, when I square this it's
  • 4:08 - 4:11
    going to be 4a squared--
    let me let me write this.
  • 4:11 - 4:16
    This is equal to b
    squared over 4a squared.
  • 4:16 - 4:17
    Right?
  • 4:17 - 4:20
    And so if I have to add these
    two fractions, let me make
  • 4:20 - 4:30
    this equal to 4a squared.
  • 4:30 - 4:30
    Right?
  • 4:30 - 4:32
    And if the denominator is
    4a squared, what does
  • 4:32 - 4:34
    the minus c/a become?
  • 4:34 - 4:40
    I See if I multiply the
    denominator by 4a, I have to
  • 4:40 - 4:42
    multiply the numerator by 4a.
  • 4:42 - 4:50
    So this becomes
    minus 4ac, right?
  • 4:50 - 4:53
    And then b squared over
    4a squared, well that's
  • 4:53 - 4:55
    just still b squared.
  • 4:55 - 4:57
    I'm just doing a little
    bit of algrebra.
  • 4:57 - 4:58
    Hopefully I'm not
    confusing you.
  • 4:58 - 4:59
    I just expanded this.
  • 4:59 - 5:02
    I just took the square of this,
    b squared over 4a squared.
  • 5:02 - 5:05
    And then I added this to this,
    I got a common denominator.
  • 5:05 - 5:10
    And minus c/a is the same thing
    as minus 4ac over 4a squared.
  • 5:10 - 5:12
    And now we can take the
    square root of both
  • 5:12 - 5:13
    sides of this equation.
  • 5:13 - 5:16
    And this should hopefully
    start to look a little
  • 5:16 - 5:17
    bit familiar to you now.
  • 5:17 - 5:19
    So let's see, so we get x.
  • 5:19 - 5:21
    So if we take the square root
    of both sides of this equation
  • 5:21 - 5:30
    we get x plus b/2a is equal to
    the square root of this-- let's
  • 5:30 - 5:32
    take the square root of the
    numerator and the demoninator.
  • 5:32 - 5:36
    So the numerator is-- I'm going
    to put the b squared first, I'm
  • 5:36 - 5:38
    just going to switch this
    order, it doesn't matter --the
  • 5:38 - 5:44
    square root of b squared
    minus 4ac, right?
  • 5:44 - 5:46
    That's just the numerator.
  • 5:46 - 5:48
    I just the square root of it,
    and we have to get the square
  • 5:48 - 5:50
    root of the denominator too.
  • 5:50 - 5:52
    What's the square
    roof of 4a squared?
  • 5:52 - 5:54
    Well it's just 2a, right?
  • 5:54 - 5:56
    2a.
  • 5:56 - 5:57
    And now what do we do?
  • 5:57 - 5:59
    Oh, it's very important!
  • 5:59 - 6:00
    When we're taking the square
    root, it's not just the
  • 6:00 - 6:01
    positive square root.
  • 6:01 - 6:03
    It's the positive or
    minus square root.
  • 6:03 - 6:07
    We saw that couple of times
    when we did the-- and you could
  • 6:07 - 6:09
    say it's a plus or minus here
    too, but if you look plus or
  • 6:09 - 6:11
    minus on the top and a plus or
    minus on the bottom, you can
  • 6:11 - 6:12
    just write it once on the top.
  • 6:12 - 6:15
    I'll let you think about why
    you only have to write it once.
  • 6:15 - 6:18
    If you had a negative an a
    plus, or negative and a plus
  • 6:18 - 6:19
    sometimes cancel out, or a
    negative and a negative,
  • 6:19 - 6:21
    that's the same thing as
    just having a plus on top.
  • 6:21 - 6:22
    Anyway, I think you get that.
  • 6:22 - 6:26
    And now we just have to
    subtract b/2a from both sides.
  • 6:26 - 6:34
    and we get, we get-- and this
    is the exciting part --we get x
  • 6:34 - 6:43
    is equal to minus be over to 2a
    plus or minus this thing, so
  • 6:43 - 6:52
    minus b squared minus 4ac,
    all of that over 2a.
  • 6:52 - 6:54
    And we already have a common
    denominator, so we can
  • 6:54 - 6:55
    just add the fractions.
  • 6:55 - 6:59
    So we got --and I'm going to do
    this in a vibrant bold-- I
  • 6:59 - 7:03
    don't know maybe not so much
    bold, well green color --so we
  • 7:03 - 7:11
    get x is equal to, numerator,
    negative b plus or minus square
  • 7:11 - 7:19
    root of b squared minus
    4ac, all of that over 2a.
  • 7:19 - 7:23
    And that is the famous
    quadratic formula.
  • 7:23 - 7:25
    So, there we go we proved it.
  • 7:25 - 7:28
    And we proved it just from
    completing the square.
  • 7:28 - 7:32
    I hope you found that
    vaguely interesting.
  • 7:32 - 7:33
    See in the next Video.
Title:
Quadratic formula (proof) | Quadratic equations | Algebra I | Khan Academy
Description:

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
07:34

English subtitles

Revisions Compare revisions