Return to Video

Exact Equations Intuition 2 (proofy)

  • 0:00 - 0:01
  • 0:01 - 0:04
    In the last video I introduced
    you to the idea of the chain
  • 0:04 - 0:06
    rule with partial derivatives.
  • 0:06 - 0:10
    And we said, well, if I have a
    function, psi, Greek letter,
  • 0:10 - 0:14
    psi, it's a function
    of x and y.
  • 0:14 - 0:17
    And if I wanted to take the
    partial of this, with respect
  • 0:17 - 0:19
    to-- no, I want to take the
    derivative, not the partial--
  • 0:19 - 0:23
    the derivative of this, with
    respect to x, this is equal to
  • 0:23 - 0:30
    the partial of psi, with respect
    to x, plus the partial
  • 0:30 - 0:35
    of psi, with respect
    to y, times dy, dx.
  • 0:35 - 0:38
    And in the last video I didn't
    prove it to you, but I
  • 0:38 - 0:40
    hopefully gave you a little bit
    of intuition that you can
  • 0:40 - 0:41
    believe me.
  • 0:41 - 0:43
    But maybe one day I'll prove
    it a little bit more
  • 0:43 - 0:46
    rigorously, but you can find
    proofs on the web if you are
  • 0:46 - 0:50
    interested, for the chain rule
    with partial derivatives.
  • 0:50 - 0:53
    So let's put that aside and
    let's explore another property
  • 0:53 - 0:56
    of partial derivatives, and then
    we're ready to get the
  • 0:56 - 0:57
    intuition behind exact
    equations.
  • 0:57 - 0:59
    Because you're going to find,
    it's fairly straightforward to
  • 0:59 - 1:02
    solve exact equations, but the
    intuition is a little bit
  • 1:02 - 1:05
    more-- well, I don't want to say
    it's difficult, because if
  • 1:05 - 1:07
    you have the intuition,
    you have it.
  • 1:07 - 1:11
    So what if I had, say, this
    function, psi, and I were to
  • 1:11 - 1:17
    take the partial derivative of
    psi, with respect to x, first.
  • 1:17 - 1:18
    I'll just write psi.
  • 1:18 - 1:20
    I don't have to write
    x and y every time.
  • 1:20 - 1:23
    And then I were to take the
    partial derivative with
  • 1:23 - 1:25
    respect to y.
  • 1:25 - 1:29
  • 1:29 - 1:33
    So just as a notation, this you
    could write as, you could
  • 1:33 - 1:35
    kind of view it as you're
    multiplying the operators, so
  • 1:35 - 1:36
    it could be written like this.
  • 1:36 - 1:42
    The partial del squared times
    psi, or del squared psi, over
  • 1:42 - 1:48
    del y del, or curly d x.
  • 1:48 - 1:50
    And that can also be written
    as-- and this is my preferred
  • 1:50 - 1:53
    notation, because it doesn't
    have all this extra junk
  • 1:53 - 1:54
    everywhere.
  • 1:54 - 1:56
    You could just say, well, the
    partial, we took the partial,
  • 1:56 - 2:00
    with respect to x, first. So
    this just means the partial of
  • 2:00 - 2:01
    psi, with respect to x.
  • 2:01 - 2:04
    And then we took the partial,
    with respect to y.
  • 2:04 - 2:06
    So that's one situation
    to consider.
  • 2:06 - 2:08
    What happens when we take the
    partial, with respect to x,
  • 2:08 - 2:09
    and then y?
  • 2:09 - 2:13
    So with respect to x, you hold
    y constant to get just the
  • 2:13 - 2:14
    partial, with respect to x.
  • 2:14 - 2:15
    Ignore the y there.
  • 2:15 - 2:17
    And then you hold the x
    constant, and you take the
  • 2:17 - 2:19
    partial, with respect to y.
  • 2:19 - 2:21
    So what's the difference between
    that and if we were to
  • 2:21 - 2:22
    switch the order?
  • 2:22 - 2:25
    So what happens if we were to--
    I'll do it in a different
  • 2:25 - 2:30
    color-- if we had psi, and we
    were to take the partial, with
  • 2:30 - 2:34
    respect to y, first, and then
    we were to take the partial,
  • 2:34 - 2:37
    with respect to x?
  • 2:37 - 2:41
    So just the notation, just so
    you're comfortable with it,
  • 2:41 - 2:45
    that would be-- so partial
    x, partial y.
  • 2:45 - 2:46
    And this is the operator.
  • 2:46 - 2:49
    And it might be a little
    confusing that here, between
  • 2:49 - 2:51
    these two notations, even though
    they're the same thing,
  • 2:51 - 2:53
    the order is mixed.
  • 2:53 - 2:54
    That's just because it's
    just a different way of
  • 2:54 - 2:55
    thinking about it.
  • 2:55 - 2:58
    This says, OK, partial first,
    with respect to x, then y.
  • 2:58 - 3:00
    This views it more as the
    operator, so we took the
  • 3:00 - 3:03
    partial of x first, and then
    we took y, like you're
  • 3:03 - 3:05
    multiplying the operators.
  • 3:05 - 3:09
    But anyway, so this can also be
    written as the partial of
  • 3:09 - 3:13
    y, with respect to x-- sorry,
    the partial of y, and then we
  • 3:13 - 3:15
    took the partial of that
    with respect to x.
  • 3:15 - 3:18
    Now, I'm going to tell you right
    now, that if each of the
  • 3:18 - 3:21
    first partials are continuous--
    and most of the
  • 3:21 - 3:25
    functions we've dealt with in
    a normal domain, as long as
  • 3:25 - 3:27
    there aren't any
    discontinuities, or holes, or
  • 3:27 - 3:29
    something strange in the
    function definition, they
  • 3:29 - 3:30
    usually are continuous.
  • 3:30 - 3:33
    And especially in a first-year
    calculus or differential
  • 3:33 - 3:36
    course, we're probably going to
    be dealing with continuous
  • 3:36 - 3:38
    functions in soon. our domain.
  • 3:38 - 3:40
    If both of these functions are
    continuous, if both of the
  • 3:40 - 3:45
    first partials are continuous,
    then these two are going to be
  • 3:45 - 3:47
    equal to each other.
  • 3:47 - 3:55
    So psi of xy is going to
    be equal to psi of yx.
  • 3:55 - 4:01
    Now, we can use this knowledge,
    which is the chain
  • 4:01 - 4:05
    rule using partial derivatives,
    and this
  • 4:05 - 4:09
    knowledge to now solve a certain
    class of differential
  • 4:09 - 4:13
    equations, first order
    differential equations, called
  • 4:13 - 4:14
    exact equations.
  • 4:14 - 4:18
    And what does an exact
    equation look like?
  • 4:18 - 4:22
    An exact equation
    looks like this.
  • 4:22 - 4:24
    The color picking's
    the hard part.
  • 4:24 - 4:26
    So let's say this is my
    differential equation.
  • 4:26 - 4:30
    I have some function
    of x and y.
  • 4:30 - 4:32
    So I don't know, it could
    be x squared times
  • 4:32 - 4:33
    cosine of y or something.
  • 4:33 - 4:35
    I don't know, it could be
    any function of x and y.
  • 4:35 - 4:40
    Plus some function of x and y,
    we'll call that n, times dy,
  • 4:40 - 4:45
    dx is equal to 0.
  • 4:45 - 4:48
    This is-- well, I don't know if
    it's an exact equation yet,
  • 4:48 - 4:51
    but if you saw something of this
    form, your first impulse
  • 4:51 - 4:53
    should be, oh-- well, actually,
    your very first
  • 4:53 - 4:54
    impulse is, is this separable?
  • 4:54 - 4:56
    And you should try to play
    around with the algebra a
  • 4:56 - 4:58
    little bit to see if it's
    separable, because that's
  • 4:58 - 4:59
    always the most straightforward
    way.
  • 4:59 - 5:02
    If it's not separable, but you
    can still put it in this form,
  • 5:02 - 5:04
    you say, hey, is it
    an exact equation?
  • 5:04 - 5:06
    And what's an exact equation?
  • 5:06 - 5:07
    Well, look immediately.
  • 5:07 - 5:12
    This pattern right here
    looks an awful
  • 5:12 - 5:14
    lot like this pattern.
  • 5:14 - 5:18
    What if M was the partial of
    psi, with respect to x?
  • 5:18 - 5:25
    What if psi, with respect
    to x, is equal to M?
  • 5:25 - 5:27
    What if this was psi,
    with respect to x?
  • 5:27 - 5:30
    And what if this was psi,
    with respect to y?
  • 5:30 - 5:32
    So psi, with respect to
    y, is equal to N.
  • 5:32 - 5:33
    What if?
  • 5:33 - 5:35
    I'm just saying, we don't
    know for sure, right?
  • 5:35 - 5:38
    If you just see this someplace
    randomly, you won't know for
  • 5:38 - 5:40
    sure that this is the partial
    of, with respect to x of some
  • 5:40 - 5:43
    function, and this is the
    partial, with respect to y of
  • 5:43 - 5:44
    some function.
  • 5:44 - 5:46
    But we're just saying,
    what if?
  • 5:46 - 5:50
    If this were true, then we
    could rewrite this as the
  • 5:50 - 5:53
    partial of psi, with respect to
    x, plus the partial of psi,
  • 5:53 - 5:59
    with respect to y, times
    dy, dx, equal to 0.
  • 5:59 - 6:02
    And this right here, the left
    side right there, that's the
  • 6:02 - 6:05
    same thing as this, right?
  • 6:05 - 6:09
    This is just the derivative of
    psi, with respect to x, using
  • 6:09 - 6:11
    the partial derivative
    chain rule.
  • 6:11 - 6:13
    So you could rewrite it.
  • 6:13 - 6:17
    You could rewrite, this is just
    the derivative of psi,
  • 6:17 - 6:20
    with respect to x, inside
    the function of x,
  • 6:20 - 6:23
    y, is equal to 0.
  • 6:23 - 6:28
    So if you see a differential
    equation, and it has this
  • 6:28 - 6:31
    form, and you say, boy, I can't
    separate it, but maybe
  • 6:31 - 6:32
    it's an exact equation.
  • 6:32 - 6:36
    And frankly, if that was what
    was recently covered before
  • 6:36 - 6:39
    the current exam, it probably
    is an exact equation.
  • 6:39 - 6:41
    But if you see this form,
    you say, boy, maybe
  • 6:41 - 6:42
    it's an exact equation.
  • 6:42 - 6:45
    If it is an exact equation-- and
    I'll show you how to test
  • 6:45 - 6:48
    it in a second using this
    information-- then this can be
  • 6:48 - 6:53
    written as the derivative of
    some function, psi, where this
  • 6:53 - 6:55
    is the partial of psi,
    with respect to x.
  • 6:55 - 6:58
    This is the partial of psi,
    with respect to y.
  • 6:58 - 7:00
    And then if you could write it
    like this, and you take the
  • 7:00 - 7:01
    derivative of both sides--
    sorry, you take the
  • 7:01 - 7:07
    antiderivative of both sides--
    and you would get psi of x, y
  • 7:07 - 7:10
    is equal to c as a solution.
  • 7:10 - 7:13
    So there are two things that we
    should be caring you about.
  • 7:13 - 7:16
    Then you might be saying, OK,
    Sal, you've walked through
  • 7:16 - 7:20
    psi's, and partials,
    and all this.
  • 7:20 - 7:22
    One, how do I know that it's
    an exact equation?
  • 7:22 - 7:25
    And then, if it is an exact
    equation, which tells us that
  • 7:25 - 7:28
    there is some psi, then how
    do I solve for the psi?
  • 7:28 - 7:32
    So the way to figure out is it
    an exact equation, is to use
  • 7:32 - 7:35
    this information right here.
  • 7:35 - 7:38
    We know that if psi and its
    derivatives are continuous
  • 7:38 - 7:42
    over some domain, that when
    you take the partial, with
  • 7:42 - 7:46
    respect to x and then y, that's
    the same thing as doing
  • 7:46 - 7:47
    it in the other order.
  • 7:47 - 7:49
    So we said, this is
    the partial, with
  • 7:49 - 7:50
    respect to x, right?
  • 7:50 - 7:53
  • 7:53 - 7:56
    And this is the partial,
    with respect to y.
  • 7:56 - 8:00
    So if this is an exact equation,
    if this is the exact
  • 8:00 - 8:03
    equation, if we were take the
    partial of this, with respect
  • 8:03 - 8:05
    to y, right?
  • 8:05 - 8:12
    If we were to take the partial
    of M, with respect to y-- so
  • 8:12 - 8:16
    the partial of psi, with respect
    to x, is equal to M.
  • 8:16 - 8:18
    If we were to take the partial
    of those, with respect to y--
  • 8:18 - 8:22
    so we could just rewrite that as
    that-- then that should be
  • 8:22 - 8:28
    equal to the partial of N,
    with respect to x, right?
  • 8:28 - 8:32
    The partial of psi, with respect
    to y, is equal to N.
  • 8:32 - 8:35
    So if we take the partial, with
    respect to x, of both of
  • 8:35 - 8:41
    these, we know from this that
    these should be equal, if psi
  • 8:41 - 8:44
    and its partials are continuous
    over that domain.
  • 8:44 - 8:49
    So then this will
    also be equal.
  • 8:49 - 8:52
    So that is actually the
    test to test if
  • 8:52 - 8:54
    this is an exact equation.
  • 8:54 - 8:56
    So let me rewrite all of that
    again and summarize it a
  • 8:56 - 8:57
    little bit.
  • 8:57 - 9:05
    So if you see something of the
    form, M of x, y plus N of x,
  • 9:05 - 9:10
    y, times dy, dx is equal to 0.
  • 9:10 - 9:13
    And then you take the partial
    derivative of M, with respect
  • 9:13 - 9:18
    to y, and then you take the
    partial derivative of N, with
  • 9:18 - 9:24
    respect to x, and they are equal
    to each other, then--
  • 9:24 - 9:26
    and it's actually if and only
    if, so it goes both ways--
  • 9:26 - 9:31
    this is an exact equation, an
    exact differential equation.
  • 9:31 - 9:32
    This is an exact equation.
  • 9:32 - 9:36
    And if it's an exact equation,
    that tells us that there
  • 9:36 - 9:47
    exists a psi, such that the
    derivative of psi of x, y is
  • 9:47 - 9:52
    equal to 0, or psi of x, y is
    equal to c, is a solution of
  • 9:52 - 9:53
    this equation.
  • 9:53 - 9:58
    And the partial derivative of
    psi, with respect to x, is
  • 9:58 - 10:00
    equal to M.
  • 10:00 - 10:04
    And the partial derivative of
    psi, with respect to y, is
  • 10:04 - 10:05
    equal to N.
  • 10:05 - 10:08
    And I'll show you in the next
    video how to actually use this
  • 10:08 - 10:10
    information to solve for psi.
  • 10:10 - 10:12
    So here are some things
    I want to point out.
  • 10:12 - 10:14
    This is going to be the partial
    derivative of psi,
  • 10:14 - 10:18
    with respect to x, but when we
    take the kind of exact test,
  • 10:18 - 10:20
    we take it with respect to y,
    because we want to get that
  • 10:20 - 10:21
    mixed derivative.
  • 10:21 - 10:23
    Similarly, this is going to be
    the partial derivative of psi,
  • 10:23 - 10:27
    with respect to y, but when we
    do the test, we take the
  • 10:27 - 10:30
    partial of it with respect
    to x so we get that mixed
  • 10:30 - 10:31
    derivative.
  • 10:31 - 10:33
    This is with respect to y,
    and then with respect to
  • 10:33 - 10:34
    x, so you get this.
  • 10:34 - 10:36
    Anyway, I know that might be a
    little bit involved, but if
  • 10:36 - 10:38
    you understood everything I did,
    I think you'll have the
  • 10:38 - 10:41
    intuition behind why
    the methodology of
  • 10:41 - 10:43
    exact equations works.
  • 10:43 - 10:46
    I will see you in the next
    video, where we will actually
  • 10:46 - 10:49
    solve some exact equations See
  • 10:49 - 10:50
Title:
Exact Equations Intuition 2 (proofy)
Description:

More intuitive building blocks for exact equations.

more » « less
Video Language:
English
Duration:
10:51

English subtitles

Incomplete

Revisions