< Return to Video

Trig Implicit Differentiation Example

  • 0:00 - 0:00
  • 0:00 - 0:04
    I've been asked implicitly
    differentiate the equation
  • 0:04 - 0:10
    tangent of x over y is
    equal to x plus y.
  • 0:10 - 0:14
    And I've done several implicit
    differentiation videos, but
  • 0:14 - 0:17
    this tends to be one of the
    biggest sources of pain for
  • 0:17 - 0:19
    first year calculus students.
  • 0:19 - 0:21
    So I thought I would give
    at least another example.
  • 0:21 - 0:23
    It never hurts to see
    as many as possible.
  • 0:23 - 0:24
    So let's do this one.
  • 0:24 - 0:27
    So to implicitly differentiate
    this, we just apply the
  • 0:27 - 0:29
    derivative with respect to x
    operator to both sides
  • 0:29 - 0:30
    of the equation.
  • 0:30 - 0:33
    The derivative with this
    respect to x -- the derivative
  • 0:33 - 0:35
    of the left side with respect
    to x is the same as the
  • 0:35 - 0:41
    derivative of the right
    side with respect to x.
  • 0:41 - 0:43
    The right side's going to be
    very straightforward, but
  • 0:43 - 0:45
    the left side is a
    little bit tricky.
  • 0:45 - 0:47
    So let's do that on
    the side over here.
  • 0:47 - 0:52
    Let me write the left hand side
    a little bit differently.
  • 0:52 - 0:53
    I'm going to do it in
    a different color.
  • 0:53 - 1:00
    Let me say that a is equal
    to the tangent of b.
  • 1:00 - 1:09
    And let me say that b
    is equal to x over y.
  • 1:09 - 1:12
    Then a is clearly
    the same thing.
  • 1:12 - 1:15
    I mean if I just substituted
    b back in here, a, this
  • 1:15 - 1:18
    whole thing I could
    re-write as just a.
  • 1:18 - 1:21
    So if we're taking the
    derivative of a with respect
  • 1:21 - 1:24
    to x, that's what we
    want to do right here.
  • 1:24 - 1:27
    Let me just take the derivative
    of both sides of this.
  • 1:27 - 1:36
    This would be the derivative of
    a with respect to x is equal to
  • 1:36 - 1:39
    the derivative of x
    with respect to x.
  • 1:39 - 1:41
    Well that's pretty
    straightforward, that's just 1.
  • 1:41 - 1:44
    Plus the derivative of
    y with respect to x.
  • 1:44 - 1:45
    So let me write it like this.
  • 1:45 - 1:49
    I'll write the derivative
    operator, the derivative
  • 1:49 - 1:54
    oh y with respect to x.
  • 1:54 - 1:54
    That's all we did.
  • 1:54 - 1:57
    We just applied the derivative
    operator to y, and we don't
  • 1:57 - 1:59
    know what this thing is,
    we're going to solve for it.
  • 1:59 - 2:01
    But obviously, I can't just
    leave this here, the derivative
  • 2:01 - 2:02
    of a with respect to x.
  • 2:02 - 2:05
    We just solved for a, and
    a is just this thing
  • 2:05 - 2:06
    right here, right?
  • 2:06 - 2:09
    a is tangent of b, and
    b is just y over x.
  • 2:09 - 2:12
    The reason why I wrote it this
    way is because I wanted to show
  • 2:12 - 2:15
    you that when you take the
    derivative of this, it just
  • 2:15 - 2:16
    comes out of the chain rule.
  • 2:16 - 2:19
    It's not some type of new
    voodoo magic that you
  • 2:19 - 2:20
    haven't learned yet.
  • 2:20 - 2:22
    So the derivative -- let
    me just write down the
  • 2:22 - 2:24
    chain rule right here.
  • 2:24 - 2:31
    The derivative of a with
    respect to x is equal to the
  • 2:31 - 2:35
    derivative of a with respect
    to b times the derivative
  • 2:35 - 2:38
    of b with respect to x.
  • 2:38 - 2:40
    That's just the chain rule and
    it's very easy to remember,
  • 2:40 - 2:43
    because the db's cancel out and
    you're just left with the
  • 2:43 - 2:46
    derivative of a with respect to
    x, if you just treated these
  • 2:46 - 2:47
    like regular fractions.
  • 2:47 - 2:50
    So what's the derivative
    of a with respect to b?
  • 2:50 - 2:55
  • 2:55 - 3:02
    Well, that's just 1 over
    cosine squared of b.
  • 3:02 - 3:04
    And if you don't have that
    memorized, it's actually not
  • 3:04 - 3:07
    too hard to prove to yourself
    if you just write this as sine
  • 3:07 - 3:11
    of b over cosine of b, but this
    tends to be one of the trig
  • 3:11 - 3:12
    derivatives that most
    people memorize.
  • 3:12 - 3:14
    I think I've already made a
    video where I proved this.
  • 3:14 - 3:17
    And some books still write this
    as secant squared of b, but we
  • 3:17 - 3:19
    know that secant squared is the
    same thing as 1 over
  • 3:19 - 3:20
    cosine squared.
  • 3:20 - 3:25
    I like to keep it in kind of
    the fundamental trig functions,
  • 3:25 - 3:27
    or trig ratios as opposed to
    things like secant
  • 3:27 - 3:28
    and cosecant.
  • 3:28 - 3:31
    Then what's the derivative
    of b with respect to x?
  • 3:31 - 3:37
  • 3:37 - 3:38
    So this is pretty interesting.
  • 3:38 - 3:40
    Let me re-write b, actually.
  • 3:40 - 3:46
    Let me write b is equal to
    x times y to the minus 1.
  • 3:46 - 3:49
    So the derivative of b with
    respect to x, we could do a
  • 3:49 - 3:50
    little bit of chain
    rule right here.
  • 3:50 - 3:54
    We could say -- let me write
    this -- the derivative of b
  • 3:54 - 3:58
    with respect to x is equal to
    the derivative of x times
  • 3:58 - 3:59
    y to the negative 1.
  • 3:59 - 4:01
    So the derivative of x is 1.
  • 4:01 - 4:07
    times y to the negative 1 plus
    the derivative of y -- so
  • 4:07 - 4:08
    let me just write this.
  • 4:08 - 4:12
    Plus the derivative with
    respect to x of y to
  • 4:12 - 4:18
    the minus 1 times the
    first term, times x.
  • 4:18 - 4:20
    So this thing right here, and
    clearly I haven't completely
  • 4:20 - 4:21
    simplified it yet.
  • 4:21 - 4:23
    I still have to figure out
    what this thing is here.
  • 4:23 - 4:25
    But I just simply applied
    the product rule here.
  • 4:25 - 4:28
    Your derivative of the first
    term, derivative of x is 1
  • 4:28 - 4:30
    times the second term plus
    the derivative of the second
  • 4:30 - 4:31
    term times the first term.
  • 4:31 - 4:33
    That's all I did there.
  • 4:33 - 4:35
    So the derivative of b
    with respect to x is just
  • 4:35 - 4:37
    this thing right there.
  • 4:37 - 4:42
    So it equals -- let me do it in
    the yellow -- so it's times --
  • 4:42 - 4:44
    oh, I'll do it in the blue
    since I already wrote it.
  • 4:44 - 4:47
    This is the blue, derivative of
    b with respect to x is y to the
  • 4:47 - 4:53
    minus 1, or 1 over y plus the
    derivative with respect to
  • 4:53 - 5:00
    x of 1 over y times x.
  • 5:00 - 5:01
    So let me write that down here.
  • 5:01 - 5:04
    So we just figured out, or
    we're almost done figuring
  • 5:04 - 5:07
    out, what the derivative of a
    with respect to x is, and we
  • 5:07 - 5:08
    could throw that in there.
  • 5:08 - 5:09
    But we're not done.
  • 5:09 - 5:12
    What's the derivative of 1
    over y with respect to x?
  • 5:12 - 5:15
    Well, do the chain rule again.
  • 5:15 - 5:18
  • 5:18 - 5:19
    And I want to be very
    clear with this.
  • 5:19 - 5:22
    I know this might seem a little
    bit cumbersome what I'm doing
  • 5:22 - 5:24
    here, but I think it might
    make a little bit of sense.
  • 5:24 - 5:28
    Let me just set c is
    equal to 1 over y.
  • 5:28 - 5:33
    So the derivative of c with
    respect to x, just from the
  • 5:33 - 5:36
    chain rule, is equal to the
    derivative of c with respect
  • 5:36 - 5:40
    to y times the derivative
    of y with respect to x.
  • 5:40 - 5:43
    What's the derivative of
    c with respect to y?
  • 5:43 - 5:45
    Well this is the same thing
    as -- I could re-write
  • 5:45 - 5:46
    this as y to the minus 1.
  • 5:46 - 5:51
    So it's minus y to
    the minus 2 power.
  • 5:51 - 5:53
    That's what this thing is.
  • 5:53 - 5:56
    This thing is that right there.
  • 5:56 - 5:57
    And I don't know what the
    derivative of y with
  • 5:57 - 5:58
    respect to x is.
  • 5:58 - 6:00
    That's what we're
    trying to solve for.
  • 6:00 - 6:02
    So it's that times
    the derivative of y
  • 6:02 - 6:04
    with respect to x.
  • 6:04 - 6:05
    That just comes out
    of the chain rule.
  • 6:05 - 6:11
    So this thing right here, this
    is the derivative of this thing
  • 6:11 - 6:14
    with respect to x, which is the
    same thing as derivative
  • 6:14 - 6:16
    of c with respect to x.
  • 6:16 - 6:19
    So I can write this little
    piece right here, I can
  • 6:19 - 6:25
    re-write this little piece as
    minus y to the minus 2 dy
  • 6:25 - 6:29
    dx, and then, of course,
    that there is times x.
  • 6:29 - 6:34
    And then we had the plus 1 over
    y, and all of that was times
  • 6:34 - 6:38
    the 1 over cosine squared of b.
  • 6:38 - 6:41
    So now we've simplified
    this a good bit.
  • 6:41 - 6:43
    I hope going into the chain
    rule didn't confuse you,
  • 6:43 - 6:45
    because I really want to hit
    the point home that all of
  • 6:45 - 6:48
    these implicit differentiation
    problems, these dy dx's just
  • 6:48 - 6:51
    don't, it's not some rule
    that you should memorize.
  • 6:51 - 6:53
    They come out naturally
    from the chain rule.
  • 6:53 - 6:57
    So we solved da dx,
    that is equal to this
  • 6:57 - 6:59
    expression right here.
  • 6:59 - 7:07
    Let me write it, it's equal to
    1 over cosine squared of b.
  • 7:07 - 7:08
    Well what's b?
  • 7:08 - 7:11
    I wrote it's cos x over y.
  • 7:11 - 7:17
    Cosine squared of x over y
    times all of this stuff over
  • 7:17 - 7:20
    here, times all of this mess.
  • 7:20 - 7:26
    1 over y plus, or maybe I
    should say minus, minus -- if I
  • 7:26 - 7:32
    just simplify this, this is x
    over y squared times dy dx.
  • 7:32 - 7:37
  • 7:37 - 7:39
    Then that is equal to
    the right hand side.
  • 7:39 - 7:48
    It is equal to 1 plus dy dx.
  • 7:48 - 7:51
    And now all we have to
    do is solve for dy dx.
  • 7:51 - 7:54
    So let me just review
    how we got here.
  • 7:54 - 7:56
    I went through the chain rule
    at every step of the way, but
  • 7:56 - 7:58
    once you get the hang of it,
    you can literally just go
  • 7:58 - 7:59
    straight down this way.
  • 7:59 - 8:01
    The way you think about
    it is -- the right hand
  • 8:01 - 8:02
    side I think you get it.
  • 8:02 - 8:04
    The derivative of x is 1, the
    derivative of y with respect
  • 8:04 - 8:07
    to x, well that's just dy dx.
  • 8:07 - 8:09
    But the left hand side, you
    take the derivative of
  • 8:09 - 8:12
    the whole thing with
    respect to x over y.
  • 8:12 - 8:14
    So that's just the derivative
    of tangent is 1 over
  • 8:14 - 8:15
    cosine squared.
  • 8:15 - 8:19
    So it's 1 over cosine squared
    of x over y, and you multiply
  • 8:19 - 8:24
    that times the derivative of
    x over y with respect to x.
  • 8:24 - 8:27
    And the derivative of x over
    y with respect to x is the
  • 8:27 - 8:29
    derivative of-- and it gets
    complicated, that's why it's
  • 8:29 - 8:32
    good to do it on the side here
    -- but it's the derivative of
  • 8:32 - 8:34
    x, which is 1 times 1 over y.
  • 8:34 - 8:40
    Which is that term plus the
    derivative of 1 over Y with
  • 8:40 - 8:44
    respect to X, which is minus
    1 over y squared dy dx, from
  • 8:44 - 8:47
    the chain rule, times dx.
  • 8:47 - 8:48
    That's why it was good to do
    over to the side so we don't
  • 8:48 - 8:49
    make a careless mistake.
  • 8:49 - 8:51
    But once you get used to it you
    could actually do that in your
  • 8:51 - 8:54
    head, and of course, that
    equals the right hand side.
  • 8:54 - 8:57
    So from here on out it's
    just pure algebra.
  • 8:57 - 8:59
    Just to solve for our dy dx.
  • 8:59 - 9:01
    So a good place to start is to
    multiply both sides of this
  • 9:01 - 9:05
    equation times cosine
    squared of x over y.
  • 9:05 - 9:07
    So obviously, that'll
    turn to 1 on this side.
  • 9:07 - 9:15
    And the left hand side will be
    1 over y minus x over y squared
  • 9:15 - 9:24
    dy dx is equal to -- I have to
    multiply both side of the
  • 9:24 - 9:27
    equation times this denominator
    right here -- is equal to
  • 9:27 - 9:33
    cosine squared of x over y plus
    cosine squared of
  • 9:33 - 9:35
    x over y dy dx.
  • 9:35 - 9:39
  • 9:39 - 9:40
    Now what can we do.
  • 9:40 - 9:44
    We can subtract this cosine
    squared of x over y from both
  • 9:44 - 9:52
    sides of the equation, and we
    get 1 over y minus cosine
  • 9:52 - 9:54
    squared of x over y.
  • 9:54 - 9:56
    All I did is I subtracted
    this from both sides of the
  • 9:56 - 9:58
    equation, so essentially I
    moved it over to the
  • 9:58 - 9:59
    left hand side.
  • 9:59 - 10:01
    What I'm trying to do is I'm
    going to try to separate the
  • 10:01 - 10:05
    non dy dx terms from
    the dy dx terms.
  • 10:05 - 10:07
    So I want to bring this
    dy dx term over to
  • 10:07 - 10:08
    the right hand side.
  • 10:08 - 10:12
    So let me add x over y
    squared dy dx to both sides.
  • 10:12 - 10:17
    So then that is equal to x over
    y -- let me write that in the
  • 10:17 - 10:21
    color that I originally wrote
    it in, a slightly
  • 10:21 - 10:21
    different color.
  • 10:21 - 10:27
    So that is x over y squared --
    I'll write the dy dx in orange.
  • 10:27 - 10:34
    dy dx, and then you have this
    term, plus cosine squared
  • 10:34 - 10:37
    of x over y dy dx.
  • 10:37 - 10:41
  • 10:41 - 10:43
    I think we're in
    the home stretch.
  • 10:43 - 10:46
    Let's factor this dy dx out
    from the right hand side.
  • 10:46 - 10:57
    So this is equal to dy dx
    times x over y squared plus
  • 10:57 - 11:01
    cosine squared of x over y.
  • 11:01 - 11:04
    And that is equal to this thing
    over here, it's equal to
  • 11:04 - 11:09
    1 over y minus cosine
    squared of x over y.
  • 11:09 - 11:12
    Now to solve for dy dx, we just
    have to divide both sides of
  • 11:12 - 11:15
    this equation by this
    expression right here.
  • 11:15 - 11:17
    And then what do we get?
  • 11:17 - 11:22
    We get, if we just divide both
    sides by that, we get 1 over y
  • 11:22 - 11:27
    minus cosine squared of x over
    y divided by this whole
  • 11:27 - 11:29
    business right there.
  • 11:29 - 11:36
    x over y squared plus cosine
    squared of x over y is
  • 11:36 - 11:42
    equal to our dy dx.
  • 11:42 - 11:43
    And then we're done.
  • 11:43 - 11:46
    We just applied the chain rule
    multiple times and we were able
  • 11:46 - 11:51
    to implicitly differentiate
    tangent of y over x is
  • 11:51 - 11:52
    equal to x plus y.
  • 11:52 - 11:56
    The hard part really is getting
    to this step right here.
  • 11:56 - 11:59
    After this step it's literally
    just pure algebra just to solve
  • 11:59 - 12:05
    for the dy dx's, and then you
    get that answer right there.
  • 12:05 - 12:07
    Anyway, hopefully you
    found that useful.
Title:
Trig Implicit Differentiation Example
Description:

Implicit differentiation example that involves the tangent function

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

English subtitles

Revisions