< Return to Video

Exact Equations Intuition 1 (proofy)

  • 0:00 - 0:01
  • 0:01 - 0:05
    Now I introduce you to the
    concept of exact equations.
  • 0:05 - 0:07
    And it's just another method for
    solving a certain type of
  • 0:07 - 0:08
    differential equations.
  • 0:08 - 0:09
    Let me write that down.
  • 0:09 - 0:13
    Exact equations.
  • 0:13 - 0:16
  • 0:16 - 0:19
    Before I show you what an exact
    equation is, I'm just
  • 0:19 - 0:21
    going to give you a little bit
    of the building blocks, just
  • 0:21 - 0:23
    so that when I later prove it,
    or at least give you the
  • 0:23 - 0:26
    intuition behind it, it doesn't
    seem like it's coming
  • 0:26 - 0:27
    out of the blue.
  • 0:27 - 0:30
    So let's say I had some function
    of x and y, and we'll
  • 0:30 - 0:33
    call it psi, just because that's
    what people tend to use
  • 0:33 - 0:35
    for these exact equations.
  • 0:35 - 0:37
    So psi is a function
    of x and y.
  • 0:37 - 0:41
  • 0:41 - 0:47
    So you're probably not familiar
    with taking the chain
  • 0:47 - 0:50
    rule onto partial derivatives,
    but I'll show it to you now,
  • 0:50 - 0:51
    and I'll give you a little
    intuition, although
  • 0:51 - 0:52
    I won't prove it.
  • 0:52 - 0:54
    So if I were to take the
    derivative of this with
  • 0:54 - 0:59
    respect to x, where y is also
    function of x, I could also
  • 0:59 - 1:05
    write this as y-- sorry,
    it's not y, psi.
  • 1:05 - 1:06
    Undo.
  • 1:06 - 1:11
    So I could also write this as
    psi, as x and y, which is a
  • 1:11 - 1:12
    function of x.
  • 1:12 - 1:13
    I could write it
    just like that.
  • 1:13 - 1:14
    These are just two
    different ways of
  • 1:14 - 1:15
    writing the same thing.
  • 1:15 - 1:18
    Now, if I were to take the
    derivative of psi with respect
  • 1:18 - 1:23
    to x-- and these are just the
    building blocks-- if I were to
  • 1:23 - 1:28
    take the derivative of psi with
    respect to x, it is equal
  • 1:28 - 1:30
    to-- this is the chain rule
    using partial derivatives.
  • 1:30 - 1:32
    And I won't prove it, but
    I'll give you the
  • 1:32 - 1:33
    intuition right here.
  • 1:33 - 1:37
    So this is going to be equal to
    the partial derivative of
  • 1:37 - 1:46
    psi with respect to x plus the
    partial derivative of psi with
  • 1:46 - 1:50
    respect to y times dy dx.
  • 1:50 - 1:53
  • 1:53 - 1:56
    And this is should make a
    little bit of intuition.
  • 1:56 - 1:58
    I'm kind of taking the
    derivative with respect to x,
  • 1:58 - 2:02
    and if you could say, and I know
    you can't, because this
  • 2:02 - 2:04
    partial with respect to
    y, and the dy, they're
  • 2:04 - 2:05
    two different things.
  • 2:05 - 2:07
    But if these canceled out,
    then you'd kind of have
  • 2:07 - 2:09
    another partial with
    respect to x.
  • 2:09 - 2:12
    And if you were to kind of add
    them up, then you would get
  • 2:12 - 2:14
    the full derivative
    with respect to x.
  • 2:14 - 2:17
    That's not even the intuition,
    that's just to show you that
  • 2:17 - 2:20
    even this should make a little
    bit of intuitive sense.
  • 2:20 - 2:24
    Now the intuition here, let's
    just say psi, and psi doesn't
  • 2:24 - 2:27
    always have to take this form,
    but you could use this same
  • 2:27 - 2:32
    methodology to take psi to
    more complex notations.
  • 2:32 - 2:36
    But let's say that psi, and
    I won't write that it's a
  • 2:36 - 2:36
    function of x and y.
  • 2:36 - 2:37
    We know that it's a function
    of x and y.
  • 2:37 - 2:43
    Let's say it's equal to some
    function of x, we'll call that
  • 2:43 - 2:48
    f1 of x, times some
    function of y.
  • 2:48 - 2:51
    And let's say there's a bunch
    of terms like this.
  • 2:51 - 2:55
    So there's n terms like this,
    plus all the way to the nth
  • 2:55 - 3:03
    term is the nth function of x
    times the nth function of y.
  • 3:03 - 3:06
    I just defined psi like this
    just so I can give you the
  • 3:06 - 3:09
    intuition that when I use
    implicit differentiation on
  • 3:09 - 3:11
    this, when I take the derivative
    of this with
  • 3:11 - 3:12
    respect to x, I actually
    get something that
  • 3:12 - 3:14
    looks just like that.
  • 3:14 - 3:16
    So what's the derivative of
    psi with respect to x?
  • 3:16 - 3:21
  • 3:21 - 3:24
    And this is just the implicit
    differentiation that you
  • 3:24 - 3:27
    learned, or that you hopefully
    learned, in your first
  • 3:27 - 3:29
    semester calculus course.
  • 3:29 - 3:31
    That's equal, and we just do
    the product rule, right?
  • 3:31 - 3:34
    So the first expression, you
    take the derivative of that
  • 3:34 - 3:35
    with respect to x.
  • 3:35 - 3:42
    Well, that's just going to be f1
    prime of x times the second
  • 3:42 - 3:47
    function, well, that's
    just g1 of y.
  • 3:47 - 3:51
    Now you add that to the
    derivative of the second
  • 3:51 - 3:54
    function times the
    first function.
  • 3:54 - 3:58
    So plus f1 of x, that's just the
    first function, times the
  • 3:58 - 4:00
    derivative of the
    second function.
  • 4:00 - 4:02
    Now the derivative of the second
    function, it's going to
  • 4:02 - 4:04
    be this function with
    respect to y.
  • 4:04 - 4:09
    So you could write that
    as g1 prime of y.
  • 4:09 - 4:11
    But of course, we're doing
    the chain rule.
  • 4:11 - 4:13
    So it's that times dy dx.
  • 4:13 - 4:17
    And you might want to review the
    implicit differentiation
  • 4:17 - 4:19
    videos if that seems a
    little bit foreign.
  • 4:19 - 4:23
    But this right here, what I
    just did, this expression
  • 4:23 - 4:26
    right here, this is the
    derivative with
  • 4:26 - 4:29
    respect to x of this.
  • 4:29 - 4:30
    And we have n terms like that.
  • 4:30 - 4:33
    So if we keep adding them, I'll
    do them vertically down.
  • 4:33 - 4:37
    So plus, and then you have a
    bunch of them, and the last
  • 4:37 - 4:38
    one's going to look the
    same, it's just the
  • 4:38 - 4:41
    nth function of x.
  • 4:41 - 4:49
    So fn prime of x times the
    second function, g n of y,
  • 4:49 - 4:56
    plus the first function, fn of
    x, times the derivative of the
  • 4:56 - 4:57
    second function.
  • 4:57 - 4:59
    The derivative of the second
    function with respect to y is
  • 4:59 - 5:05
    just g prime of y times dy dx.
  • 5:05 - 5:07
    It's just a chain rule.
  • 5:07 - 5:10
    dy dx.
  • 5:10 - 5:13
    Now, we have two n terms. We
    have n terms here, right,
  • 5:13 - 5:17
    where each term was a f of x
    times a g of y, or f1 of x
  • 5:17 - 5:19
    times g1 of y, and then
    all the way to fn of
  • 5:19 - 5:21
    x times gn of y.
  • 5:21 - 5:23
    Now for each of those, we got
    two of them when we did the
  • 5:23 - 5:25
    product rule.
  • 5:25 - 5:29
    If we group the terms, so if
    we group all the terms that
  • 5:29 - 5:32
    don't have a dy dx on them,
    what do we get?
  • 5:32 - 5:33
    If we add all of these, I guess
    you could call them on
  • 5:33 - 5:42
    the left hand side, I'm just
    rearranging, it all equals f1
  • 5:42 - 5:55
    prime of x times g1 of y, plus
    f2, g2, all the way to fn
  • 5:55 - 6:01
    prime, I'm sorry, fn prime
    of x, gn of y.
  • 6:01 - 6:07
    That's just all of these
    added up, plus all
  • 6:07 - 6:08
    of these added up.
  • 6:08 - 6:13
    All the terms that have
    the dy dx in them.
  • 6:13 - 6:16
    And I'll do them in
    a different color.
  • 6:16 - 6:19
    So all of these terms
    are going to be
  • 6:19 - 6:20
    in a different color.
  • 6:20 - 6:22
    I'll do it in a different
    parentheses.
  • 6:22 - 6:31
    Plus f1 of x g1 prime of y, and
    I'll do the dy dx later,
  • 6:31 - 6:32
    I'll distribute it out.
  • 6:32 - 6:41
    Plus, and we have n terms, plus
    fn of x gn prime of y,
  • 6:41 - 6:47
    and then all of these terms
    are multiplied by dy dx.
  • 6:47 - 6:50
    Now, something looks
    interesting here.
  • 6:50 - 6:55
    We originally defined our psi,
    up here, as this right here,
  • 6:55 - 6:57
    but what is this green term?
  • 6:57 - 7:01
    Well, what we did is we took all
    of these individual terms,
  • 7:01 - 7:05
    and these green terms here are
    just taking the derivative
  • 7:05 - 7:09
    with respect to just x on each
    of these terms. Because if you
  • 7:09 - 7:12
    take the derivative just with
    respect to x of this, then the
  • 7:12 - 7:14
    function of y is just
    a constant, right?
  • 7:14 - 7:16
    If you were to take just a
    partial derivative with
  • 7:16 - 7:17
    respect to x.
  • 7:17 - 7:19
    So if you took the partial
    derivative with respect to x
  • 7:19 - 7:23
    of this term, you treat a
    function of y as a constant.
  • 7:23 - 7:26
    So the derivative of this would
    just be f prime of x, g1
  • 7:26 - 7:29
    of y, because g1 of y
    is just a constant.
  • 7:29 - 7:30
    And so forth and so on.
  • 7:30 - 7:33
    All of these green terms you
    can view as a partial
  • 7:33 - 7:36
    derivative of psi with
    respect to x.
  • 7:36 - 7:39
    We just pretended like
    y is a constant.
  • 7:39 - 7:44
    And that same logic, if you
    ignore this, if you just look
  • 7:44 - 7:47
    at this part right here,
    what is this?
  • 7:47 - 7:52
    We took psi, up here, we treated
    the functions of x as
  • 7:52 - 7:57
    a constant, and we just took
    the partial derivative with
  • 7:57 - 7:58
    respect to y.
  • 7:58 - 8:00
    And that's why the primes
    are on all the g's.
  • 8:00 - 8:03
    And then we multiply
    that times dy dx.
  • 8:03 - 8:06
    So you could write this, this
    is equal to-- I'll do this
  • 8:06 - 8:13
    green-- this green is the same
    thing as the partial of psi
  • 8:13 - 8:16
    with respect to x.
  • 8:16 - 8:21
    Plus, what's this purple,
    this part of the purple?
  • 8:21 - 8:24
    Let me do it in a different
    color, in magenta.
  • 8:24 - 8:32
    This, right here, is the partial
    of psi with respect to
  • 8:32 - 8:36
    y, and then times dy dx.
  • 8:36 - 8:39
  • 8:39 - 8:42
    So that's essentially all I
    wanted to show you right now
  • 8:42 - 8:43
    in this video, because
    I realize I'm almost
  • 8:43 - 8:44
    running out of time.
  • 8:44 - 8:48
    That the chain rule, with
    respect to one of the
  • 8:48 - 8:54
    variables, but the second
    variable in the function is
  • 8:54 - 8:56
    also a function of x, the
    chain rule is this.
  • 8:56 - 9:00
    If psi is a function of x and
    y, and I would take not a
  • 9:00 - 9:02
    partial derivative, I would take
    the full derivative of
  • 9:02 - 9:05
    psi with respect to x, it's
    equal to the partial of psi
  • 9:05 - 9:09
    with respect to x, plus the
    partial of psi with respect to
  • 9:09 - 9:11
    y, times dy dx.
  • 9:11 - 9:17
    If y wasn't a function of x, or
    if y if it was independent
  • 9:17 - 9:20
    of x, than dy dx would be 0.
  • 9:20 - 9:23
    And this term would be 0, and
    then the derivative of psi
  • 9:23 - 9:26
    with respect to x would be just
    the partial of psi with
  • 9:26 - 9:27
    respect to x.
  • 9:27 - 9:31
    But anyway, I want you to
    just keep this in mind.
  • 9:31 - 9:34
    And in this video I didn't prove
    it, but I hopefully gave
  • 9:34 - 9:36
    you a little intuition if
    I didn't confuse you.
  • 9:36 - 9:40
    And we're going to use this
    property in the next series of
  • 9:40 - 9:43
    videos to understand exact
    equations a little bit more.
  • 9:43 - 9:46
    I realize that in this video I
    just got as far as kind of
  • 9:46 - 9:47
    giving you an intuition here.
  • 9:47 - 9:50
    I haven't told you yet what
    an exact equation is.
  • 9:50 - 9:52
    I will see you in
    the next video.
  • 9:52 - 9:54
Title:
Exact Equations Intuition 1 (proofy)
Description:

Chain rule using partial derivatives (not a proof; more intuition).

more » « less
Video Language:
English
Duration:
09:54

English subtitles

Incomplete

Revisions