Recursive version of integration by parts

From Calculus
Revision as of 22:44, 8 April 2012 by Vipul (talk | contribs) (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

General description of technique

The general procedure is as follows:

  1. Start doing the integration by parts.
  2. If necessary, apply integration by parts twice OR use some trigonometric identity with the ultimate goal of seeing the original integration appear again. Note that you should take care to avoid the circular trap.
  3. Denote by I the particular choice of antiderivative for which the left and right sides are equal on the nose,i.e., not just up to additive constants.
  4. Solve the linear equation in I.
  5. The general indefinite integral is this solution plus an arbitrary additive constant.
{{#widget:YouTube|id=A91mhGOxYsA}}

Examples

Sine-squared function

For further information, refer: Sine-squared function#Integration

There are many ways of integrating sin2. One of these uses the recursive version of integration by parts. This method is given below:


sin2xdx=(sinx)(cosx)(cosx)(cosx)dx=sinxcosx+cos2xdx

We now rewrite cos2x=1sin2x and obtain:

sin2xdx=sinxcosx+(1sin2x)dx

Setting I to be a choice of antiderivative so that the above holds without any freely floating constants, we get:

I=sinxcosx+xI

Rearranging, we get:

2I=xsinxcosx

This gives:

I=xsinxcosx2

So the general antiderivative is:

xsinxcosx2+C


Secant-cubed function

For further information, refer: Secant-cubed function#Integration


We rewrite sec3x=secxsec2x and perform integration by parts, taking sec2 as the part to integrate. We use that an antiderivative of sec2x is tanx whereas the derivative of secx is secxtanx:

sec3xdx=secx(sec2x)dx=secxtanx(secxtanx)tanxdx=secxtanxsecxtan2xdx

We now use the fact that tan2x+1=sec2x, or more explicitly, tan2x=sec2x1, to rewrite this as:

sec3xdx=secxtanxsecx(sec2x1)dx=secxtanxxsec3xdx+secxd

We now use the integration of the secant function to simplify this as:

sec3xdx=secxtanxsec3xdx+ln|secx+tanx|

We can choose an antiderivative I of sec3 so that the above equality (between the left-most and right-most expression) holds without any additive constant adjustment, and we get:

I=secxtanxI+ln|secx+tanx|

We rearrange and obtain:

2I=secxtanx+ln|secx+tanx|

Dividing by 2, we get:

I=secxtanx+ln|secx+tanx|2

The general antiderivative expression is thus:

secxtanx+ln|secx+tanx|2+C


Exponential times cosine function

Consider the integration problem:

excosxdx

We proceed by taking ex as the part to integrate and cosx as the part to differentiate. We get:

excosxdx=(cosx)(ex)(sinx)(ex)dx=excosx+(sinx)(ex)dx

To avoid the circular trap, we should pick the exponential function as the part to integrate again, getting:

excosxdx=(cosx)(ex)+(sinx)(ex)(cosx)(ex)dx

Now, we take I as the antiderivative where the above holds without additive constants, and get:

I=ex(cosx+sinx)I

Rearranging, we get:

2I=ex(cosx+sinx)

This gives us:

I=ex(cosx+sinx)2

So the general integral is:

excosxdx=ex(cosx+sinx)2+C