< Return to Video

Indefinite Integration (part 7)

  • 0:00 - 0:01
  • 0:01 - 0:04
    I'm now going to do it
    integration by parts problems.
  • 0:04 - 0:08
    I think it's just a fun problem
    to see because one, it's the
  • 0:08 - 0:10
    example a lot of people use,
    sometimes even a trick problem
  • 0:10 - 0:14
    that's given on a really hard
    math exam, or if you go to
  • 0:14 - 0:18
    calculus competitions like
    I used to in high school.
  • 0:18 - 0:21
    Not to make myself too-- I was
    actually not that geeky as a
  • 0:21 - 0:26
    high school student, but I have
    to admit, I was a mathlete.
  • 0:26 - 0:30
    But anyway, this is just a fun
    integration by parts problem
  • 0:30 - 0:35
    because you actually never have
    to evaluate the final integral.
  • 0:35 - 0:37
    So let's say we want to
    take the integral-- it's
  • 0:37 - 0:39
    a bit of a classic.
  • 0:39 - 0:42
    I wouldn't be surprised if your
    math teacher does the same
  • 0:42 - 0:44
    problem for you, just to show
    you integration by parts.
  • 0:44 - 0:47
    Let's take the integral of e to
    the x-- you probably never
  • 0:47 - 0:50
    heard of someone call a math
    problem a classic, but
  • 0:50 - 0:54
    hopefully I will instill in you
    this love for mathematics and
  • 0:54 - 0:58
    you will also consider this
    to be a classic problem.
  • 0:58 - 1:00
    e to the x times cosine of x.
  • 1:00 - 1:03
  • 1:03 - 1:04
    I think you might already see
    where I'm going with this,
  • 1:04 - 1:07
    because these are both fun
    functions, because e to the x
  • 1:07 - 1:09
    you can take the derivative,
    you could take the
  • 1:09 - 1:11
    anti-derivative and it
    still stays e to the x.
  • 1:11 - 1:15
    Cosine of x you take the
    derivative, you go to minus
  • 1:15 - 1:17
    sign of x, you take the
    derivative again then you to
  • 1:17 - 1:19
    minus cosine of x, then you
    take the derivative again then
  • 1:19 - 1:20
    you get a plus sign of x.
  • 1:20 - 1:21
    It's like this cycle.
  • 1:21 - 1:24
    The same thing happens when
    you take the anti-derivative.
  • 1:24 - 1:26
    It's not as cool as e to the x,
    it doesn't stay exactly the
  • 1:26 - 1:29
    same, but it kind of cycles.
  • 1:29 - 1:32
    If you take two
    anti-derivatives you get back
  • 1:32 - 1:34
    to the negative of itself.
  • 1:34 - 1:35
    And if you take two
    derivatives, you get back
  • 1:35 - 1:38
    to the negative of itself.
  • 1:38 - 1:40
    It's also a pretty cool
    function and I think you can
  • 1:40 - 1:46
    start to see how integration
    by parts might be cool here.
  • 1:46 - 1:49
    Whenever I do integration by
    parts I always like to assume
  • 1:49 - 1:51
    that this is the g prime of x.
  • 1:51 - 1:54
    That e to the x is g prime
    of x, because e to the x
  • 1:54 - 1:55
    literally doesn't change.
  • 1:55 - 1:59
    Although we could do this
    problem the other way.
  • 1:59 - 2:01
    Maybe I'll experiment
    doing it the other way.
  • 2:01 - 2:03
    but let's assume this is
    g prime of x, and let's
  • 2:03 - 2:06
    assume this f of x.
  • 2:06 - 2:08
    So this is derivative.
  • 2:08 - 2:11
    So integration by parts, as we
    take the original functions,
  • 2:11 - 2:14
    g of x and f of x.
  • 2:14 - 2:17
    If this is g prime of
    x, what's go of x.
  • 2:17 - 2:20
    What's the anti-derivative
    of e to the x.
  • 2:20 - 2:21
    It's just use e to the x.
  • 2:21 - 2:23
    I'm going to switch colors,
    I don't like this blue.
  • 2:23 - 2:27
    So this is g of x.
  • 2:27 - 2:29
    I actually took the
    anti-derivative of it, but
  • 2:29 - 2:31
    it's the same exact thing.
  • 2:31 - 2:35
    And then times f of x.
  • 2:35 - 2:41
    Then I want to subtract
    the indefinite integral
  • 2:41 - 2:46
    of f prime of x.
  • 2:46 - 2:48
    One, g of x.
  • 2:48 - 2:51
  • 2:51 - 2:54
    This is the same as this, which
    are both the anti-derivative of
  • 2:54 - 2:56
    this, although they
    are all the same.
  • 2:56 - 3:02
    So this is g of x and then I
    would take the derivative
  • 3:02 - 3:04
    of f of x. f prime of x.
  • 3:04 - 3:06
    What's the derivative
    of cosine of x?
  • 3:06 - 3:08
    It's minus sine of x.
  • 3:08 - 3:13
    So sine of x d x, it's
    minus sine of x.
  • 3:13 - 3:15
    I could put the minus here,
    that'll make it look messy, I
  • 3:15 - 3:17
    could put the minus here
    that'll make it messy or I
  • 3:17 - 3:19
    could just put minus here and
    make these minuses cancel
  • 3:19 - 3:21
    out and I get a plus here.
  • 3:21 - 3:25
    So I get the integral of e to
    the x cosine of x d x is equal
  • 3:25 - 3:30
    to e to the x cosine of x plus
    the integral of e to
  • 3:30 - 3:33
    the x sine of x d x.
  • 3:33 - 3:34
    Hopefully I haven't
    confused you too much.
  • 3:34 - 3:36
    I should actually do some
    integration by parts problems
  • 3:36 - 3:37
    without e to the x.
  • 3:37 - 3:40
    It's very hard to keep track
    of what I've done here.
  • 3:40 - 3:41
    This is the anti-derivative.
  • 3:41 - 3:45
  • 3:45 - 3:47
    This is the anti-derivative
    and this is also the
  • 3:47 - 3:48
    anti-derivative.
  • 3:48 - 3:51
    This is g prime of
    x, this is g of x.
  • 3:51 - 3:56
  • 3:56 - 3:59
    So once again we are not
    clear whether we've
  • 3:59 - 4:00
    made any progress.
  • 4:00 - 4:00
    We've
  • 4:00 - 4:04
    gone from e to the x cosine of
    x to e to the x sine of x.
  • 4:04 - 4:08
    Let's take integration by parts
    again, see what happens.
  • 4:08 - 4:11
    I'm just going to write on the
    right side of the equal sign,
  • 4:11 - 4:14
    because this might
    get a little long.
  • 4:14 - 4:19
    I'm just going to write this
    first part x to the x cosine
  • 4:19 - 4:24
    of x plus-- and now let's do
    integration by parts again.
  • 4:24 - 4:33
  • 4:33 - 4:35
    For this round of integration
    by parts this was g of x, but
  • 4:35 - 4:40
    now, for this around, I'm going
    to assume it's g prime of x.
  • 4:40 - 4:42
    Which doesn't really make a
    difference because whenever I
  • 4:42 - 4:44
    take the anti-derivative of it
    to g of x, it stays the same.
  • 4:44 - 4:46
    And then I'm going to assume
    that this is f of x.
  • 4:46 - 4:49
  • 4:49 - 4:54
    So integration by parts tells
    us we take f of x times g of x,
  • 4:54 - 4:57
    so I take this function and the
    anti-derivative of
  • 4:57 - 4:59
    this function.
  • 4:59 - 5:02
    The anti-derivative of this
    function is once again just e
  • 5:02 - 5:07
    to the x and then f times that
    function unchanged
  • 5:07 - 5:10
    time sine of x.
  • 5:10 - 5:16
    From that I subtract the
    integral of the anti-derivative
  • 5:16 - 5:21
    of this or I take g of x which
    is e to the x, and then the
  • 5:21 - 5:24
    derivative of f of
    x, f prime of x.
  • 5:24 - 5:26
    What's the derivative
    of sine of x?
  • 5:26 - 5:29
    It's cosine of x.
  • 5:29 - 5:32
    Cosine of x d of x.
  • 5:32 - 5:33
    Let's see if we're
    getting anywhere.
  • 5:33 - 5:36
    It seems like I just keep
    adding terms, making it
  • 5:36 - 5:37
    more and more complicated.
  • 5:37 - 5:39
    In order to see if we're
    getting anywhere, let me just
  • 5:39 - 5:42
    rewrite the whole thing and
    maybe get rid of these
  • 5:42 - 5:43
    parenthesis, because it's
    just a plus, so we can get
  • 5:43 - 5:44
    rid of the parenthesis.
  • 5:44 - 5:48
  • 5:48 - 5:51
    Let me use a new color.
  • 5:51 - 5:52
    OK.
  • 5:52 - 6:00
    So this is the original
    problem, e to the x cosine of x
  • 6:00 - 6:06
    d x equals, and now let me
    switch back to this color, it
  • 6:06 - 6:12
    equals e to the x cosine of x,
    and then I can just-- this
  • 6:12 - 6:14
    parentheses doesn't matter
    because I'm just adding
  • 6:14 - 6:19
    everything in the parentheses--
    e to x cosine of x plus e to
  • 6:19 - 6:36
    the x sine of x minus e to
    the x cosine x access d x.
  • 6:36 - 6:38
    Now you might think that I
    arbitrarily switched colors
  • 6:38 - 6:42
    here when I rewrote this,
    but if you look you might
  • 6:42 - 6:46
    see why I actually did
    switch colors here.
  • 6:46 - 6:48
    See anything interesting?
  • 6:48 - 6:49
    Exactly.
  • 6:49 - 6:52
    This is the same thing as
    this, just a minus right?
  • 6:52 - 6:55
    So we're going to do something
    what I think to be fairly cool.
  • 6:55 - 6:59
    Let's add this term to both
    sides of the equation.
  • 6:59 - 7:01
    Let's take this and
    let's put it on to this
  • 7:01 - 7:02
    side of the equation.
  • 7:02 - 7:04
    If I take this and put
    it on this side of the
  • 7:04 - 7:06
    equation, what happens?
  • 7:06 - 7:08
    I then have two of these on the
    left side equation, so that
  • 7:08 - 7:16
    becomes-- I mean I could write
    it out it's e to the x cosine
  • 7:16 - 7:19
    of x d x plus, right?
  • 7:19 - 7:21
    Because I'm taking this and I'm
    putting it on that side of the
  • 7:21 - 7:27
    equation, e to the
    x cosine of x d x.
  • 7:27 - 7:30
    That's just the same thing as
    2 times the integral of e
  • 7:30 - 7:35
    to the x cosine of x d x.
  • 7:35 - 7:38
    And then that equals this term.
  • 7:38 - 7:45
    Which equals e to the x cosine
    of x plus e to the x sine of x.
  • 7:45 - 7:47
    I know it's really messy.
  • 7:47 - 7:50
    All I have to do now to solve
    this integral is divide both
  • 7:50 - 7:53
    sides by 2 and I'm done.
  • 7:53 - 7:55
    So let me write it out, this
    is very exciting, it's
  • 7:55 - 7:57
    the home stretch.
  • 7:57 - 8:00
    If I divide both sides by 2, I
    get-- and I'm going to try to
  • 8:00 - 8:06
    write it so you can see
    everything-- e to the x cosine
  • 8:06 - 8:17
    of x d x equals and on that
    side I have e to the x cosine
  • 8:17 - 8:26
    of x plus e to the x
    sine of x over 2.
  • 8:26 - 8:28
    I think that's pretty neat.
  • 8:28 - 8:32
    It's neat how integration by
    parts allowed us to do this.
  • 8:32 - 8:34
    We actually never even have
    to evaluate this integral.
  • 8:34 - 8:36
    We said, this integral is just
    the original problem again.
  • 8:36 - 8:38
    And you can think about
    why that happened, right?
  • 8:38 - 8:40
    Because these trick
    functions cycle.
  • 8:40 - 8:42
    So we had to do integration
    by parts twice to get back
  • 8:42 - 8:44
    to where we were before.
  • 8:44 - 8:50
    And then we use that to solve
    it without actually having
  • 8:50 - 8:51
    to evaluate the integral.
  • 8:51 - 8:54
    And what I also think is cool
    is even if you just look
  • 8:54 - 8:57
    at this solution, it's
    kind of neat, right?
  • 8:57 - 9:01
    The anti-derivative of e to the
    x and-- actually never forget
  • 9:01 - 9:06
    the plus c, that would've given
    me minus 1 point on the exam.
  • 9:06 - 9:08
    What's kind of cool, the
    integral of e to the x cosine
  • 9:08 - 9:13
    of x is this expression that's
    e to the x cosine of x plus e
  • 9:13 - 9:15
    to the x sine of
    x divided by 2.
  • 9:15 - 9:20
    It's the average of e to
    the x cosine of x and
  • 9:20 - 9:21
    e to the x sine of x.
  • 9:21 - 9:25
    I think that's a pretty neat
    property, and you might want
  • 9:25 - 9:30
    to graph them and play with
    them, but it's kind of neat.
  • 9:30 - 9:34
    Hopefully I have convinced you
    that is a classic of a problem,
  • 9:34 - 9:37
    and you also find it neat, and
    I'll see you in the
  • 9:37 - 9:39
    next presentation.
  • 9:39 - 9:39
Title:
Indefinite Integration (part 7)
Description:

Another example using integration by parts.

more » « less
Video Language:
English
Duration:
09:38

English subtitles

Revisions