< Return to Video

(2^ln x)/x Antiderivative Example

  • 0:00 - 0:01
  • 0:01 - 0:04
    I was just looking on the
    discussion boards on the Khan
  • 0:04 - 0:08
    Academy Facebook page, and Bud
    Denny put up this problem,
  • 0:08 - 0:09
    asking for it to be solved.
  • 0:09 - 0:12
    And it seems like a problem
    of general interest.
  • 0:12 - 0:19
    If the indefinite integral of
    2 to the natural log of x
  • 0:19 - 0:23
    over, everything over x, dx.
  • 0:23 - 0:27
    And on the message board, Abhi
    Khanna also put up a solution,
  • 0:27 - 0:29
    and it is the correct solution,
    but I thought this was of
  • 0:29 - 0:32
    general interest, so I'll
    make a quick video on it.
  • 0:32 - 0:34
    So the first thing when you see
    an integral like this, is you
  • 0:34 - 0:37
    say, hey, you know, I have this
    natural log of x up in
  • 0:37 - 0:40
    the numerator, and
    where do I start?
  • 0:40 - 0:43
    And the first thing that should
    maybe pop out at you, is that
  • 0:43 - 0:49
    this is the same thing as the
    integral of one over x times 2
  • 0:49 - 0:54
    to the natural log of x, dx.
  • 0:54 - 0:58
    And so you have an expression
    here, or it's kind of part of
  • 0:58 - 1:01
    our larger function, and you
    have its derivative, right?
  • 1:01 - 1:04
    We know that the derivative,
    let me write it over here, we
  • 1:04 - 1:06
    know that the derivative with
    respect to x of the natural
  • 1:06 - 1:10
    log of x is equal to 1/x.
  • 1:10 - 1:14
    So we have some expression, and
    we have its derivative, which
  • 1:14 - 1:16
    tells us that we can
    use substitution.
  • 1:16 - 1:18
    Sometimes you can do in your
    head, but this problem, it's
  • 1:18 - 1:20
    still not trivial to
    do in your head.
  • 1:20 - 1:21
    So let's make the substitution.
  • 1:21 - 1:25
    Let's substitute this
    right here with a u.
  • 1:25 - 1:27
    So let's do that.
  • 1:27 - 1:30
    So if you define u, and it
    doesn't have to be u, it's
  • 1:30 - 1:33
    just, that's the convention,
    it's called u-substitution, it
  • 1:33 - 1:35
    could have been s-substitution
    for all we care.
  • 1:35 - 1:40
    Let's say u is equal to the
    natural log of x, and then du
  • 1:40 - 1:43
    dx, the derivative of u with
    respect to x, of course
  • 1:43 - 1:45
    is equal to 1/x.
  • 1:45 - 1:49
    Or, just the differential du,
    if we just multiply both sides
  • 1:49 - 1:54
    by dx is equal to 1 over x dx.
  • 1:54 - 1:55
    So let's make our substitution.
  • 1:55 - 1:56
    This is our integral.
  • 1:56 - 2:00
    So this will be equal to the
    indefinite integral, or the
  • 2:00 - 2:05
    antiderivative, of 2 to the
    now u, so 2 to the u,
  • 2:05 - 2:08
    times 1 over x dx.
  • 2:08 - 2:11
    Now what is 1 over x dx?
  • 2:11 - 2:11
    That's just du.
  • 2:11 - 2:14
    So this term times that
    term is just our du.
  • 2:14 - 2:16
    Let me do it in a
    different color.
  • 2:16 - 2:20
    1 over x times dx is
    just equal to du.
  • 2:20 - 2:24
    That's just equal to that
    thing, right there.
  • 2:24 - 2:27
    Now, this still doesn't look
    like an easy integral, although
  • 2:27 - 2:29
    it's gotten simplified
    a good bit.
  • 2:29 - 2:34
    And to solve, you know,
    whenever I see the variable
  • 2:34 - 2:37
    that I'm integrating against
    in the exponent, you know,
  • 2:37 - 2:39
    we don't have any easy
    exponent rules here.
  • 2:39 - 2:43
    The only thing that I'm
    familiar with, where I have my
  • 2:43 - 2:46
    x or my variable that I'm
    integrating against in
  • 2:46 - 2:48
    my exponent, is the
    case of e to the x.
  • 2:48 - 2:52
    We know that the integral of
    e to the x, dx, is equal
  • 2:52 - 2:55
    to e to the x plus c.
  • 2:55 - 2:58
    So if I could somehow turn this
    into some variation of e to the
  • 2:58 - 3:02
    x, maybe, or e to the u, maybe
    I can make this integral a
  • 3:02 - 3:04
    little bit more tractable.
  • 3:04 - 3:05
    So let's see.
  • 3:05 - 3:11
    How can we redefine
    this right here?
  • 3:11 - 3:14
    Well, 2, 2 is equal to what?
  • 3:14 - 3:20
    2 is the same thing as e to
    the natural log of 2, right?
  • 3:20 - 3:23
    The natural log of 2 is
    the power you have to
  • 3:23 - 3:27
    raise e to to get 2.
  • 3:27 - 3:29
    So if you raise e to
    that power, you're, of
  • 3:29 - 3:29
    course going to get 2.
  • 3:29 - 3:32
    This is actually the definition
    of really, the natural log.
  • 3:32 - 3:35
    You raise e to the natural log
    of 2, you're going to get 2.
  • 3:35 - 3:38
    So let's rewrite this, using
    this-- I guess we could call
  • 3:38 - 3:41
    this this rewrite or-- I
    don't want to call it
  • 3:41 - 3:41
    quite a substitution.
  • 3:41 - 3:44
    It's just a different way
    of writing the number 2.
  • 3:44 - 3:49
    So this will be equal to,
    instead of writing the number
  • 3:49 - 3:53
    2, I could write e to
    the natural log of 2.
  • 3:53 - 3:58
    And all of that to the u du.
  • 3:58 - 4:00
    And now what is this equal to?
  • 4:00 - 4:03
    Well, if I take something to an
    exponent, and then to another
  • 4:03 - 4:05
    exponent, this is the same
    thing as taking my base to the
  • 4:05 - 4:07
    product of those exponents.
  • 4:07 - 4:13
    So this is equal to, let me
    switch colors, this is equal
  • 4:13 - 4:22
    to the integral of e,
    to the u, e to the, let
  • 4:22 - 4:23
    me write it this way.
  • 4:23 - 4:28
    e to the natural
    log of 2 times u.
  • 4:28 - 4:30
    I'm just multiplying
    these two exponents.
  • 4:30 - 4:32
    I raise something to something,
    then raise it again, we know
  • 4:32 - 4:34
    from our exponent rules,
    it's just a product of
  • 4:34 - 4:36
    those two exponents.
  • 4:36 - 4:37
    du.
  • 4:37 - 4:40
    Now, this is just a constant
    factor, right here.
  • 4:40 - 4:42
    This could be, you know, this
    could just be some number.
  • 4:42 - 4:44
    We could use a calculator to
    figure out what this is.
  • 4:44 - 4:46
    We could set this equal to a.
  • 4:46 - 4:48
    But we know in general that
    the integral, this is pretty
  • 4:48 - 4:51
    straightforward, we've
    now put it in this form.
  • 4:51 - 4:56
    The antiderivative of e
    to the au, du, is just
  • 4:56 - 5:00
    1 over a e to the au.
  • 5:00 - 5:03
    This comes from this definition
    up here, and of course plus
  • 5:03 - 5:04
    c, and the chain rule.
  • 5:04 - 5:06
    If we take the derivative of
    this, we take the derivative
  • 5:06 - 5:08
    of the inside, which
    is just going to be a.
  • 5:08 - 5:11
    We multiply that times the
    one over a, it cancels
  • 5:11 - 5:13
    out, and we're just
    left with e to the au.
  • 5:13 - 5:14
    So this definitely works out.
  • 5:14 - 5:19
    So the antiderivative of this
    thing right here is going to be
  • 5:19 - 5:24
    equal to 1 over our a, it's
    going to be 1 over our constant
  • 5:24 - 5:30
    term, 1 over the natural log of
    2 times our whole
  • 5:30 - 5:32
    expression, e e.
  • 5:32 - 5:35
    And I'm going to do something.
  • 5:35 - 5:38
    This is just some number times
    u, so I can write it as
  • 5:38 - 5:39
    u times some number.
  • 5:39 - 5:43
    And I'm just doing that to put
    in a form that might help us
  • 5:43 - 5:44
    simplify it a little bit.
  • 5:44 - 5:47
    So it's e to the u times the
    natural log of 2, right?
  • 5:47 - 5:49
    All I did, is I
    swapped this order.
  • 5:49 - 5:51
    I could have written this
    as e to the natural
  • 5:51 - 5:53
    log of 2 times u.
  • 5:53 - 5:57
    If this an a, a times u is
    the same thing as u times a.
  • 5:57 - 5:59
    Plus c.
  • 5:59 - 6:01
    So this is our answer, but we
    have to kind of reverse
  • 6:01 - 6:04
    substitute before we can feel
    satisfied that we've taken
  • 6:04 - 6:07
    the antiderivative
    with respect to x.
  • 6:07 - 6:10
    But before I do that, let's
    see if I can simplify
  • 6:10 - 6:11
    this a little bit.
  • 6:11 - 6:16
    What is, if I have, just from
    our natural log properties,
  • 6:16 - 6:18
    or logarithms, a times
    the natural log of b.
  • 6:18 - 6:20
    We know this is the same
    thing as the natural
  • 6:20 - 6:21
    log of b to the a.
  • 6:21 - 6:23
    Let me draw a line here.
  • 6:23 - 6:23
    Right?
  • 6:23 - 6:25
    That this becomes the exponent
    on whatever we're taking
  • 6:25 - 6:27
    the natural log of.
  • 6:27 - 6:32
    So u, let me write this here,
    u times the natural log of
  • 6:32 - 6:35
    2, is the same thing as the
    natural log of 2 to the u.
  • 6:35 - 6:38
    So we can rewrite our
    antiderivative as being equal
  • 6:38 - 6:42
    to 1 over the natural log of 2,
    that's just that part here,
  • 6:42 - 6:46
    times e to the, this can be
    rewritten based on this
  • 6:46 - 6:52
    logarithm property, as the
    natural log of 2 to the u, and
  • 6:52 - 6:56
    of course we still have
    our plus c there.
  • 6:56 - 7:00
    Now, what is e raised to the
    natural log of 2 to the u?
  • 7:00 - 7:03
    The natural log of 2 to the u
    is the power that you have to
  • 7:03 - 7:07
    raise e to to get to
    2 to the u, right?
  • 7:07 - 7:08
    By definition!
  • 7:08 - 7:12
    So if we raise e to that power,
    what are we going to get?
  • 7:12 - 7:13
    We're going to get 2 to the u.
  • 7:13 - 7:17
    So this is going to be equal to
    1 over the natural log of 2.
  • 7:17 - 7:20
    This simplifies to
    just 2 to the u.
  • 7:20 - 7:21
    I drew it up here.
  • 7:21 - 7:25
    The natural log a I could just
    write in general terms, let
  • 7:25 - 7:28
    me do it up here, and maybe
    I'm beating a dead horse.
  • 7:28 - 7:31
    But I can in general write any
    number a as being equal to
  • 7:31 - 7:33
    e to the natural log of a.
  • 7:33 - 7:36
    This is the exponent you have
    to raise e to to get a.
  • 7:36 - 7:39
    If you raise e to that,
    you're going to get a.
  • 7:39 - 7:42
    So e to the natural log of 2 to
    the u, that's just 2 to the u.
  • 7:42 - 7:45
    And then I have my
    plus c, of course.
  • 7:45 - 7:46
    And now we can
    reverse substitute.
  • 7:46 - 7:49
    What did we set u equal to?
  • 7:49 - 7:53
    We defined u, up here, as equal
    to the natural log of x.
  • 7:53 - 7:56
    So let's just reverse
    substitute right here.
  • 7:56 - 8:01
    And so the answer to our
    original equation, your answer
  • 8:01 - 8:03
    to, let me write it here,
    because it's satisfying when
  • 8:03 - 8:09
    you see it, to this kind of
    fairly convoluted-looking
  • 8:09 - 8:15
    antiderivative problem, 2 to
    the natural log of x over x dx,
  • 8:15 - 8:18
    we now find is equal to, we
    just replaced u with natural
  • 8:18 - 8:22
    log of x, because that was our
    substitution, and 1 over the
  • 8:22 - 8:29
    natural log of 2 times 2 to the
    natural log of x plus c.
  • 8:29 - 8:30
    And we're done.
  • 8:30 - 8:32
    This isn't in the denominator,
    the way I wrote it might
  • 8:32 - 8:33
    look a little ambiguous.
  • 8:33 - 8:34
    And we're done!
  • 8:34 - 8:37
    And that was a pretty neat
    problem, and so thanks
  • 8:37 - 8:40
    to Bud for posting that.
Title:
(2^ln x)/x Antiderivative Example
Description:

Finding ∫(2^ln x)/x dx

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

English subtitles

Revisions