Integration by Parts

  1. Derivation of Integration by Parts
    Recall the product rule:

    (uv)' = u'v + uv' or  uv' = (uv)' - u'v

    Integrating both sides, we have that

    int uv' dx = int (uv)' dx- int u'v dx

    = uv - int u'v dx.

    Theorem:  Integration by Parts

    Let u and v be differentiable functions, then


  2. Examples

    A)  
    u = x du = dx
    dv = ex  dx v = ex

    Hence we have

    =  xex -ex + C

    Exercise:   Evaluate int xsinx dx

  3. Integration By Parts Twice

    Example:  

    Solve  int x2 ex dx

     
    u = x2   du = 2xdx
    dv = ex  dx v = ex

    We have

    x2ex - int 2xex dx = x2ex - 2int xex dx

    We just did this integral in the last example, so our solution is

    x2ex - 2[xex -ex] + C

  4. The By Parts Trick

    Example:

    Evaluate int exsinx dx
    u =  ex du = ex dx
    dv = sinx dx v = -cosx

    We have

    int exsinx dx = -excosx + int excosx dx
    u =  ex du = ex dx
    dv = cosx dx v = sinx

    int exsinx dx =  -excosx + ex sinx - int exsinx dx

    Let I = int exsinx dx

    Then we have

    I = -excosx + ex sinx -  I

    Adding I to both sides we get

    2I = -excosx + ex sinx

    So that

    I = (-excosx + ex sinx)/2 + C

    We can conclude that

    int exsinx dx = (-excosx + ex sinx)/2 + C

  5. Other By Parts

    Example:  int arctan x dx
    u = arctanx du = 1/(1 + x2) dx
    dv = dx v =  x

    We get

    xarctanx - int x/((1 + x2) dx

    letting u = 1 + x2, du = 2xdx, xdx = du/2

    xarctanx - 1/2 int 1/u du  =  xarctanx - 1/2 ln|(1 + x2)| + C

    Exercise:

    Evaluate int ln x dx

  6. When to Use Integration By Parts

    1. When there is a mix of two types of functions such as trig and exponentials, poly and trig, etc.

    2. Strange functions such as arctrig and ln.

    3. When all else fails.