< Return to Video

Repeated roots of the characterisitic equations part 2

  • 0:00 - 0:01
  • 0:01 - 0:03
    Let's do another problem
    with repeated roots.
  • 0:03 - 0:06
    So let's say our differential
    equation is the second
  • 0:06 - 0:16
    derivative of y minus the first
    derivative plus 0.25--
  • 0:16 - 0:21
    that's what's written here--
    0.25y is equal to 0.
  • 0:21 - 0:23
    And they've actually given us
    some initial conditions.
  • 0:23 - 0:33
    They said that y of 0 is equal
    to 2, and y prime of 0 is
  • 0:33 - 0:36
    equal to 1/3.
  • 0:36 - 0:38
    So like we've done in every
    one of these constant
  • 0:38 - 0:41
    coefficient linear second order
    homogeneous differential
  • 0:41 - 0:44
    equations, let's get the
    characteristic equation.
  • 0:44 - 0:54
    So that's r squared minus r
    plus 0.25-- or we can even
  • 0:54 - 0:57
    call it plus 1/4.
  • 0:57 - 0:59
    So let's see, when I just
    inspected this, it always
  • 0:59 - 1:00
    confuses me when I
    have fractions.
  • 1:00 - 1:02
    So it becomes very
    hard to factor.
  • 1:02 - 1:05
    So let's just do the
    quadratic formula.
  • 1:05 - 1:08
    So the roots of this are
    going to be r is
  • 1:08 - 1:09
    equal to negative b.
  • 1:09 - 1:11
    Well, b is negative 1.
  • 1:11 - 1:15
    So negative b is
    going to be 1.
  • 1:15 - 1:20
    Plus or minus the square
    root of b squared.
  • 1:20 - 1:21
    b is negative 1.
  • 1:21 - 1:23
    So that squared is 1.
  • 1:23 - 1:27
    Minus 4 times a, which
    is 1, times c.
  • 1:27 - 1:32
    Well, 4 times 1 times
    0.25, that's 1.
  • 1:32 - 1:32
    Ah-ha.
  • 1:32 - 1:36
    So notice that when you have a
    repeated root, this under the
  • 1:36 - 1:36
    square root becomes 0.
  • 1:36 - 1:39
    And that makes sense, because
    it's this plus or minus in the
  • 1:39 - 1:42
    quadratic formula that gives you
    two roots, whether they be
  • 1:42 - 1:43
    real or complex.
  • 1:43 - 1:46
    But if the square root is 0,
    you're adding plus or minus 0
  • 1:46 - 1:49
    and you're only left
    with one root.
  • 1:49 - 1:50
    Anyway, we're not done yet.
  • 1:50 - 1:52
    What's the denominator of
    a quadratic equation?
  • 1:52 - 1:52
    2a.
  • 1:52 - 1:56
    So a is 1, so over 2.
  • 1:56 - 2:00
    So our one repeated root is 1
    plus or minus 0 over 2, or it
  • 2:00 - 2:02
    equals 1/2.
  • 2:02 - 2:07
    And like we learned in the last
    video, you might just
  • 2:07 - 2:11
    say, oh well, maybe the solution
    is just y is equal to
  • 2:11 - 2:14
    ce to the 1/2 x.
  • 2:14 - 2:16
    But like we pointed out last
    time, you have two initial
  • 2:16 - 2:17
    conditions.
  • 2:17 - 2:22
    And this solution is not general
    enough for two initial
  • 2:22 - 2:23
    conditions.
  • 2:23 - 2:25
    And then last time, we said,
    OK, if this isn't general
  • 2:25 - 2:30
    enough, maybe some solution that
    was some function of x
  • 2:30 - 2:34
    times e to the 1/2 x, maybe that
    would be our solution.
  • 2:34 - 2:36
    And we said, it turns
    out it is.
  • 2:36 - 2:39
    And so that more general
    solution that we found, that
  • 2:39 - 2:43
    we figured out that v of x
    is actually equal to some
  • 2:43 - 2:47
    constant plus x times
    some other constant.
  • 2:47 - 2:56
    So our more general solution is
    y is equal to c1 times e to
  • 2:56 - 3:04
    the 1/2 x soon. plus c2
    times xe to the 1/2 x.
  • 3:04 - 3:06
    I forgot the x here.
  • 3:06 - 3:10
    Let me draw a line here so
    you don't get confused.
  • 3:10 - 3:11
    Anyway, that's the reasoning.
  • 3:11 - 3:13
    That's how we came up
    with this thing.
  • 3:13 - 3:14
    And it is good to know.
  • 3:14 - 3:16
    Because later on when you want
    to know more theory of
  • 3:16 - 3:18
    differential equations-- and
    that's really the whole point
  • 3:18 - 3:20
    about learning this if your
    whole goal isn't just to pass
  • 3:20 - 3:22
    an exam-- it's good to know.
  • 3:22 - 3:24
    But when you're actually solving
    these you could just
  • 3:24 - 3:26
    kind of know the template.
  • 3:26 - 3:28
    If I have a repeated root, well
    I just put that repeated
  • 3:28 - 3:30
    root twice, and one of them gets
    an x in front of it, and
  • 3:30 - 3:32
    they have two constants.
  • 3:32 - 3:35
    Anyway, this is our general
    solution and now we can use
  • 3:35 - 3:38
    our initial conditions to
    solve for c1 and c2.
  • 3:38 - 3:41
    So let's just figure out the
    derivative of this first. So
  • 3:41 - 3:46
    it becomes easy to substitute
    in for c2.
  • 3:46 - 4:01
    So y prime is equal to 1/2 c1
    e to the 1/2 x, plus-- now
  • 4:01 - 4:03
    this becomes a little bit more
    complicated, we're going to
  • 4:03 - 4:09
    have to use the product rule
    here-- so plus c2 times--
  • 4:09 - 4:12
    derivative of x is 1-- times
    e to the 1/2 x, that's the
  • 4:12 - 4:14
    product rule.
  • 4:14 - 4:19
    Plus the derivative of e
    to the 1/2 x times x.
  • 4:19 - 4:27
    So that's 1/2 xe to the 1/2 x.
  • 4:27 - 4:30
    Or we can write-- I don't want
    to lose this stuff up here--
  • 4:30 - 4:39
    we can write that it equals--
    let's see, I have 1/2-- so I
  • 4:39 - 4:42
    have c2 times e to the 1/2
    x and I have 1/2 times c1
  • 4:42 - 4:43
    e to the 1/2 x.
  • 4:43 - 4:47
    So I could say, it's equal
    to e to the 1/2 x
  • 4:47 - 4:50
    times c1 over 2.
  • 4:50 - 4:51
    That's that.
  • 4:51 - 4:54
    Plus c2.
  • 4:54 - 5:02
    That takes care of these two
    terms. Plus c2 over 2
  • 5:02 - 5:06
    xe to the 1/2 x.
  • 5:06 - 5:07
    And now let's use our
    initial conditions.
  • 5:07 - 5:09
    And let me actually clear up
    some space, because I think
  • 5:09 - 5:11
    it's nice to have our initial
    conditions up here where we
  • 5:11 - 5:12
    can see them.
  • 5:12 - 5:14
    So let me delete all
    this stuff here.
  • 5:14 - 5:18
    That, hopefully, makes
    sense to you by now.
  • 5:18 - 5:20
    You know the characteristic
    equation.
  • 5:20 - 5:22
    We figured out the general
    solu-- I don't want to erase
  • 5:22 - 5:25
    our initial conditions-- we
    figured out the general
  • 5:25 - 5:26
    solution was this.
  • 5:26 - 5:29
  • 5:29 - 5:32
    I'll keep our general
    solution there.
  • 5:32 - 5:36
    And so, now we just substitute
    our initial conditions into
  • 5:36 - 5:39
    our general solution and the
    derivative of the general
  • 5:39 - 5:43
    solution, and hopefully we can
    get meaningful answers.
  • 5:43 - 5:46
    So substituting into our general
    solution, y of 0 is
  • 5:46 - 5:47
    equal to 2.
  • 5:47 - 5:50
    So y is equal to 2 when
    x is equal to 0.
  • 5:50 - 5:53
    So c1-- when x is equal
    to 0, all the e terms
  • 5:53 - 5:56
    you become 1, right?
  • 5:56 - 5:57
    This one will become 1.
  • 5:57 - 6:00
    And then notice, we have
    an xe to the 0.
  • 6:00 - 6:01
    So now this x is 0.
  • 6:01 - 6:04
    So this whole term is going
    to be equal to 0.
  • 6:04 - 6:07
    So we're done. c1
    is equal to 2.
  • 6:07 - 6:08
    That was pretty straightforward.
  • 6:08 - 6:10
    This x actually made
    it a lot easier.
  • 6:10 - 6:12
    So c1 is equal to 2.
  • 6:12 - 6:15
    And now we can use
    the derivative.
  • 6:15 - 6:19
    So let's see, this is the
    first derivative.
  • 6:19 - 6:22
    And I'll substitute c1
    in there so we can
  • 6:22 - 6:23
    just solve for c2.
  • 6:23 - 6:30
    So our first derivative is y
    prime is equal to-- let's see
  • 6:30 - 6:41
    c1-- 1/2 plus c2-- so it's--
    well I'll write this first--
  • 6:41 - 6:42
    it's equal to 2 over 2.
  • 6:42 - 6:56
    So it's 1 plus c2 times e to the
    1/2 x plus c2 over 2 times
  • 6:56 - 6:59
    xe to the 1/2 x.
  • 6:59 - 7:01
    There was an x here.
  • 7:01 - 7:06
    So when x is equal to 0, y
    prime is equal to 1/3.
  • 7:06 - 7:10
    So 1/3 is equal to-- well, x is
    equal to 0, this'll be 1--
  • 7:10 - 7:14
    so it's equal to 1 plus c2.
  • 7:14 - 7:17
    And then this term, when x is
    equal to 0, this whole thing
  • 7:17 - 7:17
    becomes 0, right?
  • 7:17 - 7:19
    Because this x just cancels
    out the whole thing.
  • 7:19 - 7:21
    You multiply by 0 you get 0.
  • 7:21 - 7:27
    So then we get 1/3 is equal to 1
    plus c2, or that c2 is equal
  • 7:27 - 7:31
    to 1/3 of minus 1 is
    equal to minus 2/3.
  • 7:31 - 7:33
    And now we have our particular
    solution.
  • 7:33 - 7:36
    Let me write it down and
    put a box around it.
  • 7:36 - 7:37
    So this is our general
    solution.
  • 7:37 - 7:41
    Our particular solution, given
    these initial conditions for
  • 7:41 - 7:46
    this repeated root problem, is
    y is equal to c1-- we figured
  • 7:46 - 7:53
    that out to be 2 fairly
    quickly-- 2e to the 1/2 x plus
  • 7:53 - 7:55
    c2. c2 is minus 2/3.
  • 7:55 - 8:02
    So minus 2/3 xe to the 1/2 x.
  • 8:02 - 8:03
    And we are done.
  • 8:03 - 8:06
    There is our particular
    solution.
  • 8:06 - 8:08
    So once again, kind of
    the proof of how
  • 8:08 - 8:09
    do you get to this.
  • 8:09 - 8:10
    Why is there this x in there?
  • 8:10 - 8:12
    And it wasn't a proof, it was
    really more of just to show
  • 8:12 - 8:14
    you the intuition of where
    that came from.
  • 8:14 - 8:17
    And it did introduce you to a
    method called, reduction of
  • 8:17 - 8:20
    order, to figure out what that
    function v was, which ended up
  • 8:20 - 8:23
    just being c1 plus c2 times x.
  • 8:23 - 8:25
    But all that can be pretty
    complicated.
  • 8:25 - 8:28
    But you see that once you know
    the pattern, or once you know
  • 8:28 - 8:30
    that this is going to be the
    general solution, they're
  • 8:30 - 8:31
    pretty easy to solve.
  • 8:31 - 8:32
    Characteristic equation.
  • 8:32 - 8:34
    Get your general solution.
  • 8:34 - 8:36
    Figure out the derivative
    of the general solution.
  • 8:36 - 8:39
    And then substitute your initial
    conditions to solve
  • 8:39 - 8:40
    for your constants.
  • 8:40 - 8:42
    And you're done.
  • 8:42 - 8:44
    Anyway, I'll see you
    in the next video.
  • 8:44 - 8:48
    And actually, we're going to
    start solving non-homogeneous
  • 8:48 - 8:50
    differential equations.
  • 8:50 - 8:51
    See
  • 8:51 - 8:51
Title:
Repeated roots of the characterisitic equations part 2
Description:

An example where we use initial conditions to solve a repeated-roots differential equation.

more » « less
Video Language:
English
Duration:
08:52

English subtitles

Incomplete

Revisions