< Return to Video

www.mathcentre.ac.uk/.../9.4%20Integration%20by%20Parts.mp4

  • 0:01 - 0:08
    When we have a
    product of two functions.
  • 0:09 - 0:12
    And we need to integrate them.
  • 0:12 - 0:14
    Then the question is how do we
  • 0:14 - 0:21
    do it? It's very tricky X
    times by Cos X. There's no
  • 0:21 - 0:26
    obvious substitution. There's no
    standard form that looks like
  • 0:26 - 0:31
    that. But there may be some
    help to be had from
  • 0:31 - 0:34
    Differentiation, because for
    all we don't know how to
  • 0:34 - 0:38
    integrate a product of two
    functions. One of the things
  • 0:38 - 0:40
    we do know is how to
    differentiate it.
  • 0:42 - 0:46
    So let's take Y equals U times
  • 0:46 - 0:52
    by V. Where U&V A2
    functions of X and let's.
  • 0:53 - 0:59
    Differentiated Sode why by DX is
    equal to the derivative of UV.
  • 1:01 - 1:03
    Which we do as you.
  • 1:03 - 1:07
    Stevie by the X Plus V.
  • 1:08 - 1:10
    Do you buy the X?
  • 1:11 - 1:13
    Now I'm going to take this bit.
  • 1:14 - 1:20
    And Rearrange it, going to focus
    on this as the subject of my
  • 1:20 - 1:25
    formula. The major interest, so
    to speak. So I'm going to take
  • 1:25 - 1:29
    this bit away from both sides.
    So that's U.
  • 1:30 - 1:36
    TV by the X is
    equal to the derivative of
  • 1:36 - 1:43
    you times by V with
    respect to X minus VDU
  • 1:43 - 1:48
    by DX. Now, this
    is still a product
  • 1:48 - 1:50
    of two functions.
  • 1:51 - 1:54
    So let's integrate it.
  • 1:55 - 1:57
    And see what happens.
  • 1:58 - 2:02
    So we have the integral
  • 2:02 - 2:09
    of U. TV by
    the X with respect to X is
  • 2:09 - 2:11
    equal to the integral.
  • 2:13 - 2:18
    Of the derivative of UV with
    respect to X minus the integral
  • 2:18 - 2:25
    of VDU by the X with respect to
    X. Now this is easy. This bit
  • 2:25 - 2:30
    we've differentiated it and
    we've integrated it. So we must
  • 2:30 - 2:35
    get back to what we started
    with. So we have the integral.
  • 2:36 - 2:43
    Of you TV by DX with
    respect to X is equal to
  • 2:43 - 2:49
    UV minus the integral of
    the du by DX with respect
  • 2:49 - 2:51
    to X this.
  • 2:52 - 2:58
    Is formula which we
    call integration.
  • 3:01 - 3:03
    By parts
  • 3:05 - 3:10
    And we can see why it gets that
    name, because in essence we're
  • 3:10 - 3:14
    integrating a part of the
    product at a time.
  • 3:14 - 3:19
    So we take DVD by DX, we
    integrate it and we put it there
  • 3:19 - 3:20
    and we put it there.
  • 3:21 - 3:27
    We take you, we put it there and
    we differentiate it here, and
  • 3:27 - 3:33
    our hope is that starting from
    one product you times DV by the
  • 3:33 - 3:39
    X, we end up with an integral
    here of another product which is
  • 3:39 - 3:45
    simpler because we always have a
    choice. So let's go back to the
  • 3:45 - 3:47
    original example that we started
  • 3:47 - 3:54
    with. We asked ourselves the
    question, could we integrate X
  • 3:54 - 4:01
    cause X? With respect to
    X, remember we've got a choice.
  • 4:02 - 4:08
    We can take this to be you or we
    can take this function to be
  • 4:08 - 4:15
    you. Now let's just write down
    the formula again so we can see
  • 4:15 - 4:18
    what happens. You DV by The X.
  • 4:19 - 4:26
    Integrated with respect to X is
    equal to UV minus the integral
  • 4:26 - 4:33
    of VDU by the X integrated
    with respect to X. Let's examine
  • 4:33 - 4:36
    our choice we could take.
  • 4:37 - 4:42
    Cause X to be you. Let's just
    track through what would happen.
  • 4:42 - 4:43
    We have kozaks there.
  • 4:44 - 4:46
    We have cause X there.
  • 4:47 - 4:51
    When we differentiate it, the
    derivative of causes minus sign.
  • 4:53 - 4:58
    This will take to be divvied by
    DX, so when we integrate it to
  • 4:58 - 5:03
    get V, we'd get X squared over
    two, we get X squared over 2. So
  • 5:03 - 5:05
    we think about it here.
  • 5:06 - 5:11
    We have X squared over 2 times
    by minus sign X. That is no
  • 5:11 - 5:14
    simpler. In fact it's more
    difficult than this is.
  • 5:15 - 5:22
    Let's change our choice round
    and let's take you to be X.
  • 5:23 - 5:25
    Do you buy the X?
  • 5:26 - 5:29
    Is just one.
  • 5:30 - 5:37
    Let's take cause X to be
    divvied by DXODV by DX is
  • 5:37 - 5:44
    equal to cause X, and if
    we integrate that, V is equal
  • 5:44 - 5:46
    to sign X.
  • 5:49 - 5:52
    So let's just check again what's
    going to happen.
  • 5:53 - 5:56
    This will be 1 here.
  • 5:56 - 6:02
    This will be sign X so we have
    sine X times by one and we can
  • 6:02 - 6:07
    integrate that no problem. We
    can do that so this is what our
  • 6:07 - 6:12
    choice is going to look like.
    We're going to choose X to be
  • 6:12 - 6:16
    you and cause X to be DV by DX.
  • 6:17 - 6:23
    OK, let's do this again on a
    clean piece of paper. So we've
  • 6:23 - 6:25
    got the integral of X.
  • 6:25 - 6:29
    Cause XDX
  • 6:30 - 6:33
    We're going to choose this to be
  • 6:33 - 6:39
    you. And this one to be
    DV by The X.
  • 6:40 - 6:44
    Let's write down the formula so
    we can see what we're doing.
  • 6:44 - 6:45
    This will be you.
  • 6:46 - 6:52
    V minus the integral of
    VDU by the X with
  • 6:52 - 6:54
    respect to X.
  • 6:55 - 6:58
    You is X.
  • 6:59 - 7:05
    Now V is the integral of Cos X,
    which is just sign X.
  • 7:05 - 7:11
    Minus the integral of V, which
    we know is sign X times by due
  • 7:11 - 7:15
    by the ex which we know is one.
  • 7:17 - 7:24
    So this is X Sign X
    minus the integral of sine XDX.
  • 7:26 - 7:33
    And this bit stays the same, and
    the integral of sign is minus
  • 7:33 - 7:40
    cause, which with that minus
    sign there gives us plus cause X
  • 7:40 - 7:47
    Plus C. And so we've achieved
    what we wanted to achieve. We've
  • 7:47 - 7:52
    integrated this product, but
    notice how important this choice
  • 7:52 - 7:58
    is. OK, let's take a second
    example. Let's say we want to
  • 7:58 - 8:05
    integrate X squared times by E
    to the 3X with respect to X.
  • 8:06 - 8:12
    It's a product to functions, so
    we can know that we're going to
  • 8:12 - 8:15
    want to use our integration by
  • 8:15 - 8:17
    parts. Formula.
  • 8:19 - 8:25
    So now we gotta make our choice
    between U and DV by DX. Now
  • 8:25 - 8:29
    we've already learned that it
    probably makes sense to take
  • 8:29 - 8:34
    this to be you, because when we
    differentiate it to put it here,
  • 8:34 - 8:36
    it's going to be simpler.
  • 8:36 - 8:40
    So this is going to go
    from X squared to 2X
  • 8:40 - 8:42
    when it goes in there.
  • 8:43 - 8:48
    That is simply therefore than
    what we had here. So let's make
  • 8:48 - 8:53
    that choice, and we're probably
    going to have to recognize we
  • 8:53 - 8:58
    going to have to do this second
    integral again by parts, so will
  • 8:58 - 9:00
    choose this to be you.
  • 9:00 - 9:06
    And will choose this one to be
    DV by The X.
  • 9:07 - 9:14
    So equals U which is X squared.
    Now we want V. So we need to
  • 9:14 - 9:21
    integrate E to the 3X, which
    will be 1/3 E to the 3X.
  • 9:22 - 9:25
    Minus. The integral of.
  • 9:26 - 9:33
    V is the same again 1/3 of
    E to the three X this time
  • 9:33 - 9:41
    times by due by DX times by
    two X with respect to X. Tidy
  • 9:41 - 9:48
    this bit from top 1/3 X squared
    E to the three X minus the
  • 9:48 - 9:50
    integral of 2/3.
  • 9:50 - 9:56
    XE to the three X the X and we
    can see that this integral is
  • 9:56 - 10:01
    going in the right direction.
    This is simpler than the one we
  • 10:01 - 10:05
    started off with, so we're going
    to do this again, and we're
  • 10:05 - 10:10
    going to make similar choices.
    This is going to be you.
  • 10:10 - 10:17
    And this is going to be DV by
    the X, so 1/3 X squared E to
  • 10:17 - 10:23
    the three X minus. Now it's
    helpful here to put in a bracket
  • 10:23 - 10:29
    so that we keep all of this
    together and we take it all away
  • 10:29 - 10:35
    and not just little bits of it
    and forget exactly what it is
  • 10:35 - 10:40
    we're doing. So we've made our
    choice that this here will be
  • 10:40 - 10:48
    you. We want UV, so that's 2/3
    of X now. This is now DV
  • 10:48 - 10:55
    by DX. We need to integrate it,
    so that's 1/3 E to the three
  • 10:55 - 10:57
    X minus the integral of.
  • 10:58 - 11:04
    1/3 E to the three X times by
    and we want the derivative of
  • 11:04 - 11:10
    2/3 of X, which is just 2/3 the
    X and close that bracket.
  • 11:12 - 11:19
    Now let's tidy this up. 1/3 of
    X squared E to the three X
  • 11:19 - 11:25
    minus, and I'm going to keep the
    bracket there for the time
  • 11:25 - 11:32
    being. 1/3 * 1/3 is 2. Ninths
    XE to the three X minus the
  • 11:32 - 11:35
    integral of. Two ninths.
  • 11:36 - 11:43
    1/3 times by 2/3 E to the
    three XDX and close the bracket.
  • 11:45 - 11:51
    So I'm now in a position to
    finish this off, so I'll turn
  • 11:51 - 11:57
    the page, write it down again,
    1/3 of X squared E to the three
  • 11:57 - 12:04
    X minus. And then the
    bracket two ninths of XE to
  • 12:04 - 12:12
    the three X minus the integral
    of two ninths E to the
  • 12:12 - 12:16
    three XDX and close the bracket.
  • 12:16 - 12:24
    So.
    What will do is will remove this
  • 12:24 - 12:29
    bracket first, one third X
    squared E to the three X minus
  • 12:29 - 12:35
    two ninths of XE to the 3X and
    then minus minus gives us a
  • 12:35 - 12:40
    plus, and that's why I advised
    putting in the bracket. So you
  • 12:40 - 12:45
    keep all this together so that
    when it comes to doing the
  • 12:45 - 12:47
    simplification, we get the
  • 12:47 - 12:53
    signed right. The integral of
    two ninths of E to the three X
  • 12:53 - 12:59
    the X and we just have this last
    integration to do to finish it
  • 12:59 - 13:06
    off 1/3 of X squared E to the
    three X minus two ninths of XE
  • 13:06 - 13:07
    to the 3X.
  • 13:08 - 13:13
    And then finally we integrate E
    to the three X. That's 1/3 of E
  • 13:13 - 13:18
    to the three X. We have two
    ninths here to multiply it by,
  • 13:18 - 13:24
    so that's 220 sevenths of E to
    the 3X. And that's the last
  • 13:24 - 13:28
    integral. So we want plus C for
    the constant of integration.
  • 13:29 - 13:33
    So we've seen 2 examples now.
    One where we have to use
  • 13:33 - 13:37
    integration by parts once and
    the second one where we used
  • 13:37 - 13:42
    integration by parts twice.
    Sometimes you may have to do it
  • 13:42 - 13:46
    3 times, but that would be a
    little unkind. But let's have a
  • 13:46 - 13:48
    look at a somewhat different
  • 13:48 - 13:56
    example. The integral of
    X times by the
  • 13:56 - 13:58
    log of X.
  • 13:59 - 14:03
    It's a product of two functions,
    X and log of X.
  • 14:04 - 14:11
    But The choice here
    is important. Let's write down
  • 14:11 - 14:18
    the formula. But we've
    got for integration by parts
  • 14:18 - 14:22
    and think it through.
  • 14:22 - 14:29
    Our natural instinct would be to
    choose X to be you.
  • 14:29 - 14:36
    So let's do that. So X is
    U and the log function the log
  • 14:36 - 14:40
    of X to be DV by The
  • 14:40 - 14:46
    X. OK, we know we're going to
    have to differentiate Xu equals
  • 14:46 - 14:50
    X, so do you buy the X is one.
  • 14:51 - 14:55
    And we've got DVD by the X
    that's equal to the log of X,
  • 14:55 - 15:01
    and we've got to get V out of
    it, so we've got to be able to
  • 15:01 - 15:04
    integrate the log of X with
    respect to X.
  • 15:05 - 15:09
    Equals what? Do we know
    what the integral of log of
  • 15:09 - 15:11
    access? Well, no, we don't.
  • 15:12 - 15:17
    But we do know how to
    differentiate X the log of X.
  • 15:17 - 15:22
    Rather we do know how to do that
    differentiation. If we were to
  • 15:22 - 15:27
    change our minds and do you
    equals log of X, then du by the
  • 15:27 - 15:29
    X would be one over X.
  • 15:30 - 15:36
    So here. The choices made by
    which of the functions we can
  • 15:36 - 15:39
    actually integrate and
    differentiate. We can't
  • 15:39 - 15:43
    integrate log of X, but we can
    differentiate it. That means
  • 15:43 - 15:48
    that our choice has to be you is
    log of X.
  • 15:49 - 15:56
    Select start this one
    off again X log
  • 15:56 - 16:04
    of XDX. Equals our
    formula says this is UV minus
  • 16:04 - 16:11
    the integral of the du by
    DX with respect to X.
  • 16:12 - 16:18
    And we'll make the choice this
    time that this is DV by The X.
  • 16:19 - 16:21
    And this is you.
  • 16:22 - 16:28
    So. You, that's
    just log of X.
  • 16:29 - 16:35
    Times by the we have to
    integrate X well we can do that.
  • 16:35 - 16:37
    That's straightforward X squared
  • 16:37 - 16:44
    over 2. Minus the integral
    of the again X squared
  • 16:44 - 16:47
    over 2 times by.
  • 16:48 - 16:54
    The derivative of this, which we
    can do. It's one over XX.
  • 16:54 - 17:00
    So let's put this in front of
    the log XXX squared log of X
  • 17:00 - 17:05
    minus. We can do a little bit of
    Simplification here. We can
  • 17:05 - 17:12
    divide by X and by X and that
    would leave us with X over 2.
  • 17:13 - 17:19
    To be integrated with respect to
    X. So now we can complete that.
  • 17:19 - 17:26
    The integral of X is X squared
    over two. It's already over 2,
  • 17:26 - 17:31
    so that would be X squared
    over 4 plus. Again, our
  • 17:31 - 17:33
    constant of integration.
  • 17:34 - 17:38
    So just to hammer home that
    point here, our choice was
  • 17:38 - 17:42
    governed by what we could
    actually integrate and what we
  • 17:42 - 17:45
    could actually differentiate.
    Let's take that a stage further.
  • 17:45 - 17:50
    You remember that when we looked
    at this, one of the things that
  • 17:50 - 17:55
    we couldn't do was we couldn't
    integrate log X when we first
  • 17:55 - 17:59
    looked at it. That's what
    prompted is to change our.
  • 17:59 - 18:04
    Choice, so to speak, to move
    from one to the other.
  • 18:04 - 18:08
    So what if we said,
    well, come on, what is
  • 18:08 - 18:10
    the integral of log X?
  • 18:12 - 18:13
    How can we do it?
  • 18:13 - 18:19
    Or first, let's make it into a
    product and let's make it into a
  • 18:19 - 18:23
    product of two functions by
    saying it's one times log X.
  • 18:23 - 18:26
    Then make the same choices as
  • 18:26 - 18:33
    before. The Log X becomes you,
    but this one is what becomes DV
  • 18:33 - 18:36
    by the X because we can
  • 18:36 - 18:44
    integrate one. So writing down
    our formula again, this is
  • 18:44 - 18:51
    UV minus the integral of
    VDUIDX with respect to X.
  • 18:51 - 18:59
    Equals you.
    The log of X times by V now
  • 18:59 - 19:05
    DV by DX is one, so I have
    to integrate one that's just X.
  • 19:05 - 19:09
    Minus the integral of V, so
  • 19:09 - 19:15
    that's X. Times by du by
    DX the derivative of log X
  • 19:15 - 19:17
    that's just one over X.
  • 19:18 - 19:25
    Equals X times by the log of X
    minus the integral of X Times
  • 19:25 - 19:27
    one over X is just one.
  • 19:28 - 19:32
    And we can do that integration.
  • 19:32 - 19:37
    The integral of one is
    just X plus a constant
  • 19:37 - 19:39
    of integration, see.
  • 19:40 - 19:44
    And so we've integrated log X
    now. That's not one to remember,
  • 19:44 - 19:49
    but it is one to remember how to
    work it out because it works
  • 19:49 - 19:52
    with other functions that one
    comes across that you don't know
  • 19:52 - 19:56
    how to integrate. You turn them
    into a product like this.
  • 19:57 - 20:04
    And away we go I want
    to take one final example.
  • 20:04 - 20:12
    The integral of E
    to the X sign
  • 20:12 - 20:17
    of X. Now we look at this
    and say, well, we've got a
  • 20:17 - 20:21
    choice to make one of them's got
    to be you one of them's got to
  • 20:21 - 20:23
    be divvied by the X, but which?
  • 20:24 - 20:27
    But one of the things that we
    know from the examples that
  • 20:27 - 20:32
    we've done is that if it was X
    Times E to the X, we choose the
  • 20:32 - 20:35
    X to be you. So we could
    differentiate it because the E
  • 20:35 - 20:37
    to the X doesn't get any
  • 20:37 - 20:42
    simpler. But we do the same with
    the trick function because that
  • 20:42 - 20:43
    doesn't get any simpler.
  • 20:44 - 20:49
    So it doesn't look good. We
    don't seem able to make a choice
  • 20:49 - 20:52
    between these two, because
    neither of these two functions
  • 20:52 - 20:56
    when we differentiate them get
    any simpler. But we still gotta
  • 20:56 - 21:00
    make a choice. So the choice
    that I'm going to make really
  • 21:00 - 21:04
    doesn't matter, but I'm going to
    do it anyway, so I'm going to
  • 21:04 - 21:05
    call this you.
  • 21:06 - 21:12
    E to the X and I'm going to call
    the sign XDV by The X.
  • 21:14 - 21:17
    Equals let's write down the
  • 21:17 - 21:24
    formula. UV minus the
    integral of VDU by the
  • 21:24 - 21:28
    X with respect to X.
  • 21:29 - 21:32
    You is E to the X,
    it stays the same.
  • 21:35 - 21:42
    The is got by integrating sign
    and the integral of sign is
  • 21:42 - 21:44
    minus cause X.
  • 21:46 - 21:50
    Minus the integral of minus
  • 21:50 - 21:56
    cause. X times by the
    derivative of you, which is just
  • 21:56 - 22:04
    E to The xx. Let me just
    tidy that up a bit. Lots of
  • 22:04 - 22:10
    minus signs knocking around, so
    we've minus cause X times by E
  • 22:10 - 22:13
    to the X plus the integral of.
  • 22:15 - 22:17
    E to the X cause.
  • 22:18 - 22:20
    XDX
  • 22:22 - 22:27
    And back to something that looks
    like this. Again, let me make
  • 22:27 - 22:33
    the same choices. Then let me
    call this U let me call this DV
  • 22:33 - 22:40
    by X. So this is
    minus costs X times by
  • 22:40 - 22:44
    E to the X Plus.
  • 22:44 - 22:45
    The bracket.
  • 22:46 - 22:53
    UVU is E to the XVV
    is now the integral of Cos
  • 22:53 - 22:59
    X and the integral of Cos
    X is sign X.
  • 23:00 - 23:06
    Minus the integral of the which
    is just sign X times. Do you
  • 23:06 - 23:13
    buy the X? Do you buy the
    access E to the XDX?
  • 23:14 - 23:15
    And close the bracket.
  • 23:16 - 23:23
    So we've got this term at
    the front, which is minus
  • 23:23 - 23:30
    E to the X cause X
    Plus E to the X Sign
  • 23:30 - 23:31
    X minus.
  • 23:32 - 23:36
    E to the X sign
  • 23:36 - 23:41
    XDX. But this is exactly what I
    started out with.
  • 23:42 - 23:45
    Exactly what I started out with.
  • 23:46 - 23:51
    It's the integral I began with,
    so if it's the integral I began
  • 23:51 - 23:57
    with, let's call it I. Let's say
    I equals this integral. So what
  • 23:57 - 24:01
    I've got here is a sort of
    equation for I.
  • 24:01 - 24:04
    Minus
  • 24:04 - 24:11
    I. Define ad
    I to both sides. I'll end up
  • 24:11 - 24:19
    with two I equals, minus E to
    the X cause X Plus E to
  • 24:19 - 24:22
    the X sign X now.
  • 24:22 - 24:29
    I can take out half of each
    side, divide both sides by two
  • 24:29 - 24:36
    1/2 of minus E to the X cause
    X Plus E to the X Sign X.
  • 24:36 - 24:42
    And so I found my integral
    rather remarkably, are found. It
  • 24:42 - 24:46
    without actually apparently
    integrating it at all. It came
  • 24:46 - 24:48
    out of solving an equation.
  • 24:50 - 24:56
    So. That concludes integration
    by parts. You need to remember
  • 24:56 - 25:04
    the formula. Let's just write
    that down to finish with that.
  • 25:04 - 25:11
    If we are integrating you DV
    by The X, the result we
  • 25:11 - 25:15
    have is UV minus the integral
  • 25:15 - 25:22
    of. The ubaidi X with respect to
    X and I need to put that in
  • 25:22 - 25:24
    there as well.
  • 25:24 - 25:29
    We always have a choice which
    of the two functions where
  • 25:29 - 25:34
    multiplying together to be you
    and which to be divvied by the
  • 25:34 - 25:38
    X. Our first choice is usually
    governed by. If we
  • 25:38 - 25:42
    differentiate EU, will it make
    it simpler? Will it make this
  • 25:42 - 25:45
    second integral simpler? If
    that doesn't work?
  • 25:46 - 25:50
    It's governed by whether we can
    actually integrate or
  • 25:50 - 25:51
    differentiate certain of the
  • 25:51 - 25:57
    functions. And sometimes we need
    to repeat it so that we can
  • 25:57 - 26:00
    solve an equation to get the
  • 26:00 - 26:01
    integral. This.
  • 26:02 - 26:05
    Needs to be
    remembered. The
  • 26:05 - 26:08
    formula for
    integration by parts.
Title:
www.mathcentre.ac.uk/.../9.4%20Integration%20by%20Parts.mp4
Video Language:
English

English subtitles

Revisions