< Return to Video

Separable differential equations examples

  • 0:00 - 0:02
    - [Instructor] What we're
    gonna be doing in this video
  • 0:02 - 0:05
    is get some practice
    finding general solutions to
  • 0:05 - 0:07
    separable differential equations.
  • 0:07 - 0:10
    So let's say that I had the
    differential equation DY, DX,
  • 0:10 - 0:13
    the derivative of Y with
    respect to X, is equal to
  • 0:13 - 0:15
    E to the X, over Y.
  • 0:16 - 0:19
    See if you can find
    the general solution to
  • 0:19 - 0:20
    this differential equation.
  • 0:20 - 0:21
    I'm giving you a huge hint.
  • 0:21 - 0:24
    It is a separable differential equation.
  • 0:24 - 0:26
    All right, so when we're dealing with
  • 0:26 - 0:28
    a separable differential
    equation, what we wanna do
  • 0:28 - 0:31
    is get the Ys and the
    DYs on one side, and then
  • 0:31 - 0:32
    the Xs and the DXs on the other side.
  • 0:32 - 0:35
    And we really treat these
    differentials kind of
  • 0:35 - 0:37
    like variables, which
    is a little hand-wavy
  • 0:37 - 0:38
    with the mathematics.
  • 0:38 - 0:39
    But that's what we will do.
  • 0:39 - 0:44
    So let's see. If we
    multiply both sides times Y,
  • 0:44 - 0:47
    so we're gonna multiply
    both sides times Y,
  • 0:47 - 0:48
    what are we going to get?
  • 0:48 - 0:51
    We're gonna get Y times a derivative of Y,
  • 0:51 - 0:55
    with respect to X, is equal to E to the X,
  • 0:55 - 0:59
    and now we can multiply both
    sides by the differential,
  • 0:59 - 1:04
    DX; multiply both of them
    by DX; those cancel out.
  • 1:04 - 1:08
    And we are left with Y times
    DY is equal to E to the X, DX.
  • 1:13 - 1:16
    And now we can take the
    integral of both sides.
  • 1:16 - 1:18
    So let us do that.
  • 1:18 - 1:21
    So what is the integral of Y, DY?
  • 1:21 - 1:23
    Well here we would just
    use the reverse power rule.
  • 1:23 - 1:27
    We would increment the exponent,
    so it's Y to the first,
  • 1:27 - 1:29
    but so now when we take
    the anti-derivative,
  • 1:29 - 1:32
    it will be Y squared, and
    then we divide by that
  • 1:32 - 1:35
    incremented exponent, is equal to, well
  • 1:35 - 1:38
    the exciting thing about
    E to the X is that it's
  • 1:38 - 1:41
    anti-derivative, and its
    derivative, is E to the X,
  • 1:41 - 1:45
    is equal to E to the X,
    plus is equal to E to the X
  • 1:47 - 1:49
    plus C.
  • 1:49 - 1:52
    And so we can leave it
    like this if we like.
  • 1:52 - 1:54
    In fact this right over
    here is, this isn't
  • 1:54 - 1:56
    an explicit function.
  • 1:56 - 1:59
    Y here isn't an explicit function of X.
  • 1:59 - 2:02
    We could actually say Y is
    equal to the plus or minus
  • 2:02 - 2:05
    square root of two times
    all of this business,
  • 2:05 - 2:09
    but this would be a pretty
    general relationship,
  • 2:09 - 2:14
    which would satisfy this
    separable differential equation.
  • 2:14 - 2:16
    Let's do another example.
  • 2:16 - 2:20
    So let's say that we
    have the derivative of Y
  • 2:22 - 2:26
    with respect to X is equal
    to, let's say it's equal to
  • 2:26 - 2:28
    Y squared times sine of X.
  • 2:31 - 2:32
    Pause the video and see if you can find
  • 2:32 - 2:34
    the general solution here.
  • 2:34 - 2:38
    So once again, we wanna
    separate our Ys and our Xs.
  • 2:38 - 2:40
    So let's see, we can
    multiply both sides times
  • 2:40 - 2:44
    Y to the negative two power,
    Y to the negative two,
  • 2:44 - 2:47
    Y to the negative two, these become one,
  • 2:47 - 2:51
    and then we could also
    multiply both sides times DX.
  • 2:51 - 2:54
    So if we multiply DX here,
    those cancel out, and then
  • 2:54 - 2:57
    we multiply DX here,
    and so we're left with
  • 2:57 - 3:01
    Y to the negative two
    power times DY is equal to
  • 3:01 - 3:05
    sine of X, DX, and now we
    just can integrate both sides.
  • 3:09 - 3:12
    Now what is the anti-derivative
    of Y to the negative two?
  • 3:12 - 3:15
    Well, once again we use
    the reverse power rule.
  • 3:15 - 3:17
    We increment the exponents,
    so it's gonna be Y
  • 3:17 - 3:20
    to the negative one, and
    then we divide by that
  • 3:20 - 3:21
    newly incremented exponent.
  • 3:21 - 3:23
    So we divide by negative one.
  • 3:23 - 3:25
    Well that would just
    make this think negative.
  • 3:25 - 3:28
    That is going to be equal to...
  • 3:29 - 3:32
    So, what's the
    anti-derivative of sine of X?
  • 3:32 - 3:34
    Well, it is, you might recognize it if
  • 3:34 - 3:37
    I put a negative there,
    and a negative there.
  • 3:37 - 3:38
    The anti-derivative of negative sine of X,
  • 3:38 - 3:40
    well that's cosine of X.
  • 3:40 - 3:44
    So this whole thing is gonna
    be negative cosine of X,
  • 3:44 - 3:46
    or another way to write this:
    I could multiply both sides
  • 3:46 - 3:49
    times a negative one, and so these would
  • 3:49 - 3:52
    both become positive, and so I could write
  • 3:52 - 3:56
    one over Y is equal to
    cosine of X, and actually
  • 3:58 - 3:59
    let me write it this
    way, plus C; don't wanna
  • 3:59 - 4:01
    forget my plus Cs.
  • 4:01 - 4:04
    Plus C, or I could take the
    reciprocal of both sides
  • 4:04 - 4:07
    if I wanna solve explicitly
    for Y, I could get Y
  • 4:07 - 4:11
    is equal to one over cosine of X plus C
  • 4:15 - 4:17
    as our general solution.
  • 4:18 - 4:20
    And we're done.
  • 4:20 - 4:22
    That was strangely fun.
Title:
Separable differential equations examples
Description:

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
04:24

English subtitles

Revisions