< Return to Video

www.mathcentre.ac.uk/.../8.8%20Differentiation%20by%20taking%20logs.mp4

  • 0:03 - 0:08
    In this video, we're going to
    be looking at how we can use
  • 0:08 - 0:11
    logarithms to help simplify
    certain functions before we
  • 0:11 - 0:12
    differentiate them.
  • 0:13 - 0:17
    To start off with, let's
    just remind ourselves
  • 0:17 - 0:21
    about logarithms
    themselves. So if we have
  • 0:21 - 0:27
    Y equals the log of X,
    then this means log to
  • 0:27 - 0:32
    base E, and if we
    differentiate that why by
  • 0:32 - 0:36
    DX is equal to one over X?
  • 0:37 - 0:42
    But of course. Inside this
    logarithm here this might
  • 0:42 - 0:48
    not just be X, it might be a
    function of X, so it might
  • 0:48 - 0:52
    be why equals the log of a
    function of X.
  • 0:54 - 0:58
    So what happens when we
    differentiate this? Well, we
  • 0:58 - 1:04
    have a rule that tells us why by
    DX is equal to.
  • 1:04 - 1:10
    The derivative of F
    of X. That's F dash
  • 1:10 - 1:13
    decks over F of X.
  • 1:14 - 1:18
    Now. We're going to be making
    use these results.
  • 1:19 - 1:24
    But also the properties of
    logarithms themselves so.
  • 1:27 - 1:31
    Let's take our first
    example, why?
  • 1:33 - 1:34
    Equals the natural log.
  • 1:36 - 1:43
    3X to the 4th plus
    Seven all raised to
  • 1:43 - 1:45
    the fifth power.
  • 1:46 - 1:48
    And we want to be able to
  • 1:48 - 1:50
    differentiate this. Well.
  • 1:51 - 1:55
    It looks very complicated in
    here, but here we are raising.
  • 1:56 - 2:02
    3X to the power 4 + 7 to the
    power five and one of the things
  • 2:02 - 2:06
    we do know about logarithms is
    that if we are raising what's
  • 2:06 - 2:07
    inside the log.
  • 2:08 - 2:13
    To the power five, that's
    exactly the same as multiplying
  • 2:13 - 2:20
    the log by 5. So In other words,
    we can rewrite this as Y equals
  • 2:20 - 2:28
    5 times the log of three X to
    the 4th plus 7 using our laws of
  • 2:28 - 2:32
    logarithms. And now this is now
    much easier to differentiate
  • 2:32 - 2:37
    because this inside the log is
    as very straightforward
  • 2:37 - 2:43
    function. So we can now
    differentiate the why by DX is
  • 2:43 - 2:45
    equal to. 5.
  • 2:46 - 2:51
    Times by now, let's remember
    what we do. This is the
  • 2:51 - 2:55
    function inside the log, so
    we differentiate that.
  • 2:56 - 3:04
    So that gives us 12X cubed
    and the derivative of the 70s
  • 3:04 - 3:11
    zero over the function itself 3X
    to the 4th +7.
  • 3:12 - 3:18
    And if we just do a little bit
    of simplifying five times by 12
  • 3:18 - 3:24
    gives us 60 X cubed over 3X to
    the 4th plus Seven and what
  • 3:24 - 3:28
    looked like up here quieter
    fearsome derivative that we were
  • 3:28 - 3:33
    going to have to do here, it's
    turned out quite simply. So
  • 3:33 - 3:36
    let's have a look at another
  • 3:36 - 3:41
    example. Supposing we've got Y
    equals the log of.
  • 3:42 - 3:50
    We've got 1 - 3 X divided
    by 1 + 2 X. Now what
  • 3:50 - 3:57
    we've got here is the log of
    a quotient, and there is a
  • 3:57 - 3:59
    formula for differentiating
    a quotient.
  • 4:00 - 4:05
    That's going to lead to a very
    very complicated expression, but
  • 4:05 - 4:11
    what we can do is make use of
    the laws of logarithms because
  • 4:11 - 4:17
    the laws of logarithms tell us
    that when we're doing the log of
  • 4:17 - 4:22
    a quotient than that is simply
    the log of the numerator minus
  • 4:22 - 4:27
    the log of the denominator.
    Because in logarithms we do
  • 4:27 - 4:31
    division by subtracting the logs
    of the respective parts.
  • 4:31 - 4:36
    And now these two are both very
    easy to differentiate.
  • 4:36 - 4:40
    So we can have the why by DX
  • 4:40 - 4:46
    equals. And this is a function
    of X 1 - 3 X, so we
  • 4:46 - 4:47
    differentiate it that's minus
  • 4:47 - 4:53
    three. Over the function
    itself, 1 - 3 X minus that
  • 4:53 - 4:58
    minus sign, and now we do
    the same for this logarithm.
  • 4:58 - 5:03
    Here's the function of X
    which we differentiate, so
  • 5:03 - 5:09
    the derivative of 1 + 2 X is
    2 over the function itself.
  • 5:09 - 5:11
    1 + 2 X.
  • 5:12 - 5:18
    Now that is a penalty to pay
    for getting away with such a
  • 5:18 - 5:20
    straightforward
    differentiation. What we have
  • 5:20 - 5:25
    to do now is put these two
    together. We have to bring
  • 5:25 - 5:30
    them together all over the
    same denominator and this is
  • 5:30 - 5:33
    our denominator. The product
    of these two.
  • 5:35 - 5:40
    So that's 1
    - 3 X times
  • 5:40 - 5:43
    by 1 + 2 X.
  • 5:45 - 5:49
    So we ask ourselves, how
    many times does this
  • 5:49 - 5:55
    divide into this? And the
    answer is 1 + 2 X, so we
  • 5:55 - 6:01
    have minus 3 * 1 + 2 X
    minus two and then how
  • 6:01 - 6:06
    many times does this go
    into this? And the answer
  • 6:06 - 6:12
    is 1 - 3 X so it's 2
    * 1 - 3 X.
  • 6:13 - 6:20
    Now we need to simplify this so
    we can keep the denominator as
  • 6:20 - 6:28
    it is 1 - 3 X times
    by 1 + 2 X and let's
  • 6:28 - 6:33
    multiply out this bracket minus
    three times everything inside
  • 6:33 - 6:40
    the bracket, so it's minus 3 -
    6 X and then minus two times
  • 6:40 - 6:44
    everything inside the bracket,
    so that's minus.
  • 6:44 - 6:47
    2 + 6 X.
  • 6:48 - 6:54
    Now we need to simplify this bit
    on top, and we've minus 6X plus
  • 6:54 - 7:01
    6X, so that's no axis minus 3 -
    2 - 5. So we have minus 5.
  • 7:02 - 7:09
    Over 1 - 3 X
    times by 1 + 2
  • 7:09 - 7:12
    X. But so long as we're good
  • 7:12 - 7:16
    with the algebra. This
    differentiation is well
  • 7:16 - 7:23
    worth the simplifying as we
    have done here, so let's
  • 7:23 - 7:24
    take another example.
  • 7:26 - 7:34
    This time let's take Y equals
    X to the power sign X.
  • 7:35 - 7:35
    Now.
  • 7:37 - 7:42
    Real problems having the unknown
    the variable appear yet again in
  • 7:42 - 7:49
    the power in the index, so this
    sign X is the problem. If it
  • 7:49 - 7:54
    wasn't in the index, we might be
    able to differentiate it, but
  • 7:54 - 8:01
    one way of getting it down, so
    to speak out of the index is to
  • 8:01 - 8:07
    take logs of both sides so we
    have log Y equals the logs.
  • 8:08 - 8:14
    X to the power sign X
    and if we remember.
  • 8:14 - 8:17
    By using our log laws.
  • 8:17 - 8:24
    When we raise the function
    inside the log to a power, then
  • 8:24 - 8:29
    that's just the same as
    multiplying the log of the
  • 8:29 - 8:31
    function by the power.
  • 8:32 - 8:36
    And now this is a
    straightforward product. It's
  • 8:36 - 8:39
    sign X times by Log X.
  • 8:39 - 8:43
    We know that we can
    differentiate this. What
  • 8:43 - 8:48
    about this at the left
    hand side log Y? Well, if
  • 8:48 - 8:52
    we're differentiating with
    respect to X, we can
  • 8:52 - 8:56
    differentiate this log Y
    implicitly, and so the
  • 8:56 - 9:02
    derivative of the log of Y
    is one over Y times DY by
  • 9:02 - 9:04
    the X equals.
  • 9:06 - 9:12
    Now we need to differentiate
    this sign X times by Log X. It's
  • 9:12 - 9:18
    a product you times by V and we
    know that the derivative of
  • 9:18 - 9:26
    product is U times DV by DX Plus
    V Times du by DX. So let's write
  • 9:26 - 9:33
    that down you which we said was
    sign X times divided by DX and
  • 9:33 - 9:36
    the derivative of log X is one.
  • 9:36 - 9:38
    Over X.
  • 9:39 - 9:43
    Close the which is log
  • 9:43 - 9:47
    X. Times the
    derivative of U and
  • 9:47 - 9:51
    you re sign X its
    derivative is
  • 9:51 - 9:53
    therefore cause X.
  • 9:56 - 10:00
    Now we can do a little bit of
    simplifying. Here we can put it
  • 10:00 - 10:05
    all. Over this denominator of X,
    and so we have sine X.
  • 10:07 - 10:12
    Plus and if we're putting
    everything over this denominator
  • 10:12 - 10:17
    of X, we need to multiply
    anything that's not over the
  • 10:17 - 10:24
    denominator of X already by X,
    so that's X Times Log X times
  • 10:24 - 10:27
    cause X all over X.
  • 10:28 - 10:33
    But this side with one over Y
    from what we're really after is
  • 10:33 - 10:35
    DY by The X.
  • 10:36 - 10:42
    And so we need to multiply up by
    why, but we know what? Why is
  • 10:42 - 10:45
    its X to the power sign X?
  • 10:46 - 10:53
    So that's sine XX
    log X cause X.
  • 10:54 - 11:01
    OX and we're going to multiply
    up by Y, and that's X sign
  • 11:01 - 11:06
    X to the power sign X, and
    so we finished the
  • 11:06 - 11:10
    differentiation and again,
    something looked impossible at
  • 11:10 - 11:17
    the beginning by making use of
    the laws of logs, we have been
  • 11:17 - 11:18
    able to differentiate.
  • 11:22 - 11:29
    So let's take a look another
    example, this time a more
  • 11:29 - 11:33
    complicated one. Quotient one
    really is quite.
  • 11:34 - 11:35
    Complex.
  • 11:39 - 11:44
    Now again, we could do this as a
    quotient you over V.
  • 11:45 - 11:50
    And use the formula which if
    we remember is VDU by DX minus
  • 11:50 - 11:54
    UDV by the X all over V
    squared. But simply having
  • 11:54 - 11:57
    said it, that's quite
    frightening. So if we have a
  • 11:57 - 12:03
    look at this one of the ways
    we can do it is to take logs
  • 12:03 - 12:03
    both sides.
  • 12:11 - 12:14
    And then having taken logs of
  • 12:14 - 12:20
    both sides. We can make use of
    our laws of logarithms to
  • 12:20 - 12:22
    simplify this side.
  • 12:23 - 12:27
    So let's begin by remembering
    that if we have a quotient when
  • 12:27 - 12:31
    we do the logarithm, then that's
    the log of the numerator.
  • 12:34 - 12:39
    Minus the log of
    the denominator.
  • 12:43 - 12:47
    But we can simplify this one
    even further because we're
  • 12:47 - 12:52
    raising 1 - 2 X to the power
    three, and in terms of our laws
  • 12:52 - 12:58
    of logs, that's exactly the same
    as multiplying the log of 1 - 2
  • 12:58 - 12:59
    X by three.
  • 13:00 - 13:05
    Minus now here we've got a
    square root and the square
  • 13:05 - 13:10
    root is the same as raising
    something to the power 1/2
  • 13:10 - 13:16
    so that this is exactly the
    same as taking a half of the
  • 13:16 - 13:19
    log of one plus X squared.
  • 13:21 - 13:27
    Now what we see is that this
    that we've got here is much
  • 13:27 - 13:28
    simpler to differentiate.
  • 13:29 - 13:36
    So we can do that. The
    derivative of the log of Y doing
  • 13:36 - 13:44
    it implicitly is one over YDY by
    X equals 3 Times Now we want
  • 13:44 - 13:51
    to now differentiate the log of
    1 - 2 X. So the function
  • 13:51 - 13:56
    is 1 - 2 X. So we
    differentiate that it's minus
  • 13:56 - 14:00
    two over 1 - 2 X.
  • 14:00 - 14:02
    Minus 1/2.
  • 14:04 - 14:09
    Differentiating the log of
    one plus X squared, the
  • 14:09 - 14:13
    function is one plus X
    squared, so its derivative is
  • 14:13 - 14:16
    2X over one plus X squared.
  • 14:18 - 14:23
    Again, there's a penalty to be
    paid. We really ought to put
  • 14:23 - 14:26
    these back together again, so
    it's all one.
  • 14:27 - 14:32
    So let's do that and let's just
    simplify a little bit here.
  • 14:32 - 14:36
    There's a two will cancel there
    with a 2.
  • 14:36 - 14:37
    So.
  • 14:39 - 14:42
    We've got one over Y.
  • 14:43 - 14:47
    DY by the X
    is equal to.
  • 14:50 - 14:56
    We've got 3 times by minus two
    over 1 - 2 X, so that's going to
  • 14:56 - 14:57
    give us minus.
  • 14:58 - 14:59
    6.
  • 15:00 - 15:04
    All over
    1 - 2 X.
  • 15:06 - 15:11
    We've got minus X over one
    plus X squared.
  • 15:18 - 15:24
    Now we need to bring these
    two terms together so we look
  • 15:24 - 15:29
    for a common denominator that
    must be the product of the
  • 15:29 - 15:30
    two denominators.
  • 15:32 - 15:39
    And 1 - 2 X goes into this
    one plus X squared times minus
  • 15:39 - 15:47
    six times by one plus X squared
    minus X times by well one plus X
  • 15:47 - 15:54
    squared goes into the whole of
    this 1 - 2 X times. So we
  • 15:54 - 15:59
    needed multiply the minus X by 1
    - 2 X.
  • 16:00 - 16:06
    Multiply out the bracket minus 6
    - 6 X squared.
  • 16:06 - 16:10
    Minus X +2 X
  • 16:10 - 16:17
    squared. All over 1
    - 2 X one plus X
  • 16:17 - 16:18
    squared.
  • 16:21 - 16:23
    We can simplify the top.
  • 16:23 - 16:31
    Minus 6 minus X minus four X
    squared all over 1 - 2 X
  • 16:31 - 16:38
    one plus X squared. And now
    finally we want DY by the X
  • 16:38 - 16:44
    equals, but it's going to be
    this. Let's take that minus sign
  • 16:44 - 16:47
    out so we have minus.
  • 16:48 - 16:54
    6 plus X plus
    four X squared.
  • 16:55 - 17:02
    All over 1 - 2 X
    times by one plus X squared.
  • 17:04 - 17:10
    And we need to multiply both
    sides by Y and let's just recall
  • 17:10 - 17:15
    what why was. Why was 1 - 2
    X or cubed?
  • 17:16 - 17:23
    So that's 1 - 2
    X or cubed all over
  • 17:23 - 17:27
    one plus X squared square
  • 17:27 - 17:32
    root off. And clearly is a
    little bit more simplified, can
  • 17:32 - 17:37
    be done here, because we've got
    a 1 - 2 X here and a 1 - 2 X
  • 17:37 - 17:41
    cubed there so we can cancel
    that with one of those.
  • 17:41 - 17:46
    Here we've got a one plus X
    squared times by the square root
  • 17:46 - 17:50
    of 1 plus X squared, and if we
    follow our laws of indices,
  • 17:50 - 17:54
    that's to the power one. And
    this is to the power half. So we
  • 17:54 - 17:58
    add them together. That gives us
    to the power three over 2.
  • 18:00 - 18:06
    So do you? Why by
    DX finally will be.
  • 18:10 - 18:12
    Let's take this top line.
  • 18:14 - 18:20
    Minus 6 plus X
    plus four X squared.
  • 18:24 - 18:25
    Times by.
  • 18:26 - 18:29
    1 - 2 X squared.
  • 18:30 - 18:36
    1 - 2 X or
    squared all over.
  • 18:37 - 18:42
    Just check on that denominator
    one plus X squared to the power
  • 18:42 - 18:48
    one times by one plus X squared
    to the power a half and the one
  • 18:48 - 18:54
    and add it to the half. Gives us
    1 1/2 or three over 2, so that's
  • 18:54 - 18:58
    one plus X squared raised to the
    power three over 2.
  • 19:01 - 19:05
    So what we've seen in this
    video is that we can use the
  • 19:05 - 19:08
    laws of logarithms to help us
    simplify certain functions
  • 19:08 - 19:10
    before we come to
    differentiating.
  • 19:11 - 19:14
    That can make the whole
    process of differentiation
  • 19:14 - 19:15
    so much simpler.
Title:
www.mathcentre.ac.uk/.../8.8%20Differentiation%20by%20taking%20logs.mp4
Video Language:
English

English subtitles

Revisions