< Return to Video

Chain rule for derivative of log function

  • 0:00 - 0:02
    - [Voiceover] Let's say that Y is equal to
  • 0:02 - 0:05
    log base four of X squared plus X.
  • 0:05 - 0:07
    What is the derivative of Y
  • 0:07 - 0:10
    with respect to X going to be equal to?
  • 0:12 - 0:13
    Now you might recognize immediately that
  • 0:13 - 0:15
    this is a composite function.
  • 0:15 - 0:18
    We're taking the log
    base four, not just of X,
  • 0:18 - 0:19
    but we're taking that
    of another expression
  • 0:19 - 0:21
    that involves X.
  • 0:21 - 0:22
    So we could say
  • 0:22 - 0:25
    we could say this thing in blue
  • 0:25 - 0:26
    that's U of X.
  • 0:26 - 0:28
    Let me do that in blue.
  • 0:28 - 0:30
    So this thing in blue
  • 0:30 - 0:31
    that is U of X.
  • 0:31 - 0:33
    U of X is equal to X squared
  • 0:33 - 0:34
    plus X.
  • 0:34 - 0:36
    And it's gonna be useful later on to know
  • 0:36 - 0:37
    what U prime of X is.
  • 0:37 - 0:38
    So that's gonna be
  • 0:38 - 0:40
    I'm just gonna use the power rule here
  • 0:40 - 0:42
    so two X plus one
  • 0:42 - 0:44
    I brought that two out front
  • 0:44 - 0:45
    and decremented the exponent.
  • 0:45 - 0:48
    Derivative with respect to X of X is one.
  • 0:48 - 0:50
    And we can say the
  • 0:50 - 0:53
    log base four of this stuff
  • 0:53 - 0:55
    well we could call that a function V.
  • 0:55 - 0:57
    We can say V of
  • 0:57 - 0:59
    well if we said V of X
  • 0:59 - 1:01
    this would be log base four
  • 1:03 - 1:04
    of X.
  • 1:04 - 1:06
    And then we've shown in other videos
  • 1:06 - 1:07
    that V prime of X
  • 1:09 - 1:11
    is, we're gonna be very
    similar that if this
  • 1:11 - 1:13
    was log base E, or natural log,
  • 1:13 - 1:15
    except we're going to scale it.
  • 1:15 - 1:16
    So it's going to be
  • 1:16 - 1:17
    one over
  • 1:17 - 1:19
    one over log base four.
  • 1:21 - 1:23
    Sorry, one over
  • 1:23 - 1:25
    the natural log.
  • 1:25 - 1:28
    The natural log of four
  • 1:28 - 1:28
    times X.
  • 1:30 - 1:32
    If this was V of X, if V of X was just
  • 1:32 - 1:35
    natural log of X, our
    derivative would be one over X.
  • 1:35 - 1:36
    But since it's log base four
  • 1:36 - 1:38
    and this comes straight
    out of the change of base
  • 1:38 - 1:39
    formulas that you might have seen.
  • 1:39 - 1:41
    And we have a video where we show this.
  • 1:41 - 1:43
    But we just scale it in the denominator
  • 1:43 - 1:44
    with this natural log of four.
  • 1:44 - 1:46
    You think of scaling the whole expression
  • 1:46 - 1:48
    by one over the natural log of four.
  • 1:48 - 1:51
    But we can now use this
    information because Y
  • 1:51 - 1:53
    this Y can be viewed as
  • 1:54 - 1:55
    V of
  • 1:56 - 1:58
    V of.
  • 1:58 - 2:01
    Remember, V is the log
    base four of something.
  • 2:01 - 2:02
    But it's not V of X.
  • 2:02 - 2:04
    We don't have just an X here.
  • 2:04 - 2:06
    We have the whole expression
  • 2:06 - 2:07
    that defines U of X.
  • 2:07 - 2:10
    We have U of X right there.
  • 2:10 - 2:12
    And let me draw a little line here
  • 2:12 - 2:15
    so that we don't get
    those two sides confused.
  • 2:15 - 2:17
    And so we know from the chain rule
  • 2:17 - 2:20
    the derivative Y with respect to X.
  • 2:20 - 2:22
    This is going to be
  • 2:22 - 2:24
    this is going to be the derivative of V
  • 2:24 - 2:26
    with respect to U.
  • 2:26 - 2:28
    Or we could call that V prime.
  • 2:28 - 2:30
    V prime of U of X.
  • 2:31 - 2:33
    V prime of U of X.
  • 2:35 - 2:37
    Let me do the U of X in blue.
  • 2:37 - 2:38
    V prime of U of X
  • 2:40 - 2:42
    times U prime of X.
  • 2:43 - 2:45
    Well, what is V prime of U of X?
  • 2:45 - 2:47
    We know what V prime of X is.
  • 2:47 - 2:49
    If we want to know what V prime of U of X
  • 2:49 - 2:50
    we would just replace wherever we see an X
  • 2:50 - 2:52
    with a U of X.
  • 2:52 - 2:54
    So, this is going to be equal to
  • 2:54 - 2:57
    V prime of U X, U of X.
  • 2:57 - 2:58
    And you just do is you take the derivative
  • 2:58 - 3:01
    of the green function with
    respect to the blue function.
  • 3:01 - 3:04
    So it's going to be one over
  • 3:04 - 3:06
    the natural log of four.
  • 3:06 - 3:07
    The natural log of four.
  • 3:07 - 3:09
    Times, instead of putting an X there
  • 3:09 - 3:12
    it would be times U of X.
  • 3:12 - 3:13
    Times U of X.
  • 3:14 - 3:16
    And of course, that whole thing
  • 3:16 - 3:18
    times U prime of X.
  • 3:20 - 3:22
    And so, and I'm doing
    more steps just hopefully
  • 3:22 - 3:24
    so it's clearer what I'm doing here.
  • 3:24 - 3:26
    So this is one over
  • 3:26 - 3:28
    the natural log of four.
  • 3:28 - 3:30
    U of X is X squared plus X.
  • 3:31 - 3:33
    So
  • 3:33 - 3:34
    X squared plus X.
  • 3:35 - 3:36
    And then we're gonna multiply that
  • 3:36 - 3:37
    times U prime of X.
  • 3:37 - 3:39
    So times two X plus one.
  • 3:39 - 3:41
    And so we can just rewrite this as
  • 3:41 - 3:43
    two X plus one over
  • 3:45 - 3:46
    over
  • 3:48 - 3:49
    over
  • 3:49 - 3:51
    the natural log of four.
  • 3:51 - 3:53
    The natural log of four
  • 3:53 - 3:55
    times X squared plus X.
  • 3:56 - 3:57
    Times X squared
  • 3:59 - 4:00
    plus X.
  • 4:00 - 4:01
    And we're done, and we could distribute
  • 4:01 - 4:02
    this natural log of four
  • 4:02 - 4:04
    if we found that interesting.
  • 4:04 - 4:06
    But, we have just found
    the derivative of Y
  • 4:06 - 4:08
    with respect to X.
Title:
Chain rule for derivative of log function
Description:

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

English subtitles

Revisions