Docsity

INTEGRATION BY PARTS (TABLE METHOD), Study notes of Algebra

Toggle sidebar
bg1
INTEGRATION BY PARTS (TABLE METHOD)
Suppose you want to evaluate
dxxx 3cos
2 using integration by parts.
Using the
dvu notation, we get
2
xu dxxdv 3cos
dxxdu 2
xv 3sin
3
1
So, dxxxxxdxxx
3sin
3
1
23sin
3
1
3cos 22 or dxxxxx
3sin
3
2
3sin
3
1
2
We see that it is necessary to perform integration by parts a 2nd time.
If we do that without multiplying together and simplifying or factoring out any co nstants, we get
xu 2
dxxdv 3sin
3
1
dxdu 2
xv 3cos
9
1
So,
dxxxxxxdxxx 3cos
9
1
23cos
9
1
23sin
3
1
3cos 22
At this point, the remaining integral is simple enough to finish without integratio n by parts ().
But suppose we perform integration by parts a 3rd time, again without changing the constants, then we get
2
udxxdv 3cos
9
1
dxdu 0
xv 3sin
27
1
So,
dxxxxxxxdxxx 3sin
27
1
03sin
27
1
23cos
9
1
23sin
3
1
3cos 22
Since the integrand in the final integral is now 0, its anti-derivative is simply a constant ( C).
We can let 0
C for now, and add a constant of integration later.
So, Cxxxxxdxxx
3sin
27
1
23cos
9
1
23sin
3
1
3cos 22
Cxxxxxdxxx
3sin
27
1
23cos
9
1
23sin
3
1
3cos 22
Cxxxxxdxxx
3sin
27
2
3cos
9
2
3sin
3
1
3cos 22
Cxxxxdxxx
)3cos63sin)29((
27
1
3cos 22
() If we had skipped the final “unnecessary” integration by parts, we would have done these last 3 lines anyway.
Now, in the traditional method,
you would probably want to simplify and factor all the constants before each new integration by parts,
and skip the last integration by parts.
However, by not doing so,
we can actually perform the entire multi-step integration by parts inside a single table.
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download INTEGRATION BY PARTS (TABLE METHOD) and more Study notes Algebra in PDF only on Docsity!

INTEGRATION BY PARTS (TABLE METHOD)

Suppose you want to evaluate  x cos 3 xdx

2 using integration by parts.

Using the  u dv notation, we get

2 ux dv cos 3 xdx

du  2 x dx v sin 3 x 3

So, x xdx x x x xdx

 ^  sin^3

sin 3 2 3

cos 3 2 2

or x x  x xdx

sin 3 3

sin 3 3

We see that it is necessary to perform integration by parts a 2 nd time. If we do that without multiplying together and simplifying or factoring out any constants, we get

u  2 x dv sin 3 xdx 3

du  2 dx v^ cos^3 x 9

So, (^)  

 x^ xdx ^ x x x x  cos^3 x dx

cos 3 2 9

sin 3 2 3

cos 3

2 2

At this point, the remaining integral is simple enough to finish without integration by parts ().

But suppose we perform integration by parts a 3 rd time, again without changing the constants, then we get

u  2 dv cos 3 xdx 9

du  0 dx v sin 3 x 27

So,

 x^ xdx ^ x x x x x  sin^3 x dx

sin 3 0 27

cos 3 2 9

sin 3 2 3

cos 3 2 2

Since the integrand in the final integral is now 0 , its anti-derivative is simply a constant ( C ).

We can let C  0 for now, and add a constant of integration later.

So, x xdx x x x x x  C

  sin^3

cos 3 2 9

sin 3 2 3

cos 3

2 2

x xdx x x x x x  C

  sin^3

cos 3 2 9

sin 3 2 3

cos 3

2 2

x xdxx xx xxC

sin 3 27

cos 3 9

sin 3 3

cos 3 2 2

x xdxxxx xC

(( 9 2 )sin 3 6 cos 3 ) 27

cos 3 2 2

() If we had skipped the final “unnecessary” integration by parts, we would have done these last 3 lines anyway.

Now, in the traditional method,

you would probably want to simplify and factor all the constants before each new integration by parts, and skip the last integration by parts.

However, by not doing so, we can actually perform the entire multi-step integration by parts inside a single table.

To understand how the table method of integration by parts works,

first notice that we didn’t really change du  2 xdx and v sin 3 x 3

from the result of the 1 st integration by parts,

and just reused them as u  2 x and dv sin 3 xdx 3

for the 2 nd^ integration by parts.

That means that we could “eliminate” writing that repeated line.

This also applies to du  2 dx and v cos 3 x 9

from the 2 nd^ integration by parts

being reused as u  2 and dv cos 3 xdx 9

for the 3 rd integration by parts. And so on.

So the entire integration by parts could have been compressed into the following table.

The downward diagonal products (one row in the u column  the next row in the dv column)

are the results of the uv portion of the integration by parts formula.

However, because of the negative in the   v du part of the formula,

which distributes through each successive integration by parts,

the products must be alternately added and subtracted.

In other words, to read the antiderivative from the table above:

 x^ xdx  x sin^3 x

cos 3 2 2

  • (^)  

x  cos 3 x 9

2 + x (^)  Cxxx xC

 (( 9 2 )sin 3 6 cos 3 ) 27

sin 3 27

2

The same result with much less writing.

Notice that the fourth row of the u column ( 0 ) is ignored.

We could have viewed it as a factor of the integrand in the 4 th integration by parts,

which means its antiderivative would have been 0 (or C ).

Or we could have viewed it as a factor of the next downward diagonal product,

which also means its corresponding antiderivative would have been 0.

In either case, it contributes nothing to the antiderivative.

However, because of that 0 in the u column,

all following derivatives in the u column would also have been 0.

So we can stop taking any more derivatives or antiderivatives.

In fact, the 0 in the u column tells us to stop filling out the table,

and start collecting the answer.

The method cannot be used directly for antiderivatives of the types

e kxdx ax sin where a and k are constants

 e^ kxdx

ax cos where a and k are constants

but it can be used for part of the integration.

Consider  e xdx

x cos 3

2 .

After differentiating/antidifferentiating twice,

it becomes clear we will never get 0 in the u column.

However, we have arrived at a row that is essentially the same as the original row (except for constant factors).

That is enough, because remembering that the product across the 3 rd row is an integrand, we get

x x e xdx x e 2 2 2

cos 3 (cos 3 ) – (^)  

x x e 2 4

( 3 sin 3 ) +  

x e dx 2 x 4

( 9 cos 3 )

 e^ xdx ^ e x  e x   e xdx

x x x x cos 3 4

sin 3 4

cos 3 2

cos 3 2 2 2 2

The original integral appears on both sides of the equation, so we can isolate it.

e xdx e xdx e x e x x x x x sin 3 4

cos 3 2

cos 3 4

cos 3 2 2 2 2   

e xdx e x e x x x x sin 3 4

cos 3 2

cos 3 4

e xdx e x e x x x x sin 3 4

cos 3 2

cos 3 2 2 2

e xdx e x e x C x x x   

sin 3 13

cos 3 13

cos 3 2 2 2

e xdx e x x C x x   

( 2 cos 3 3 sin 3 ) 13

cos 3 2 2

This technique works whenever repeated integrations by parts results in integrands which are constant multiples of the original integral,

which includes antiderivatives of the types

(where k and m are non-zero constants and () where km )

 sin^ kx^ sin mxdx ()^  sin^ kx^ cos mxdx  cos^ kx^ cos mxdx ()

 sin^ kx^ sinh mxdx  sin^ kx^ cosh mxdx  cos^ kx^ sinh mxdx  cos kx^ cosh mxdx

The technique also works for antiderivatives of the types

(where k and m are non-zero constants and () where km )

 e^ kxdx

ax

sinh  e kxdx

ax cosh

 sinh^ kx^ sinh mxdx ()^  sinh^ kx^ cosh mxdx  cosh^ kx^ cosh mxdx ()

However, these could all be done much more easily by replacing the hyperbolic functions with their exponential definitions,

simplifying the integrand, and then antidifferentiating without integration by parts.

By the way, the original integral could also have been done by reversing the initial choice of u and dv.

 e^ xdx  e x

x x sin 3 3

cos 3

2 2

  • cos 3 ) 9

2 e x

x

 +  e  x dx

x cos 3 ) 9

2

 e^ xdx ^ e x  e x   e xdx

x x x x cos 3 9

cos 3 9

sin 3 3

cos 3

2 2 2 2

e xdx e xdx e x e x

x x x x cos 3 9

sin 3 3

cos 3 9

cos 3

2 2 2 2

 ^   

e xdx e x e x

x x x cos 3 9

sin 3 3

cos 3 9

 e^ xdx  e x  e x

x x x cos 3 9

sin 3 3

cos 3 2 2 2

e xdx e x e x C

x x x

   cos^3 

sin 3 13

cos 3

2 2 2

e xdx e x x C

x x

  (^3 sin^3 ^2 cos^3 )

cos 3

2 2

The result and amount of work is the same as the original choice.

However, mistakes are more common when antidifferentiating sines and cosines than when differentiating them. [Mistakes are much less common when antidifferentiating or differentiating exponentials.]

You could also have differentiated u and antidifferentiated dv 4 , 6 or any even number of times

and gotten back to a constant multiple of the original integrand. If you had done so, and completed the algebra in a similar way as shown above,

you would gotten the same answer, but with a lot more (unnecessary) work.

And remember that doing unnecessary work increases the chances of making mistakes.

The rebalancing of the table allows us to continue differentiating the u column

without introducing a complicated expression into the table.

This last product can be integrated without integration by parts, but we can complete the whole process in the table by rebalancing once more.

Now, we have a 0 in the u column,

which means we are done with the table,

and can collect the downward diagonal products. But we must be careful which factors we multiply.

Remember that the red lines above correspond to rewriting the same integral, not to an integration by parts. So our downward diagonal products must never involve a factor from above a red line with a factor below the red line. ()

That means,

 ^3

4 3 2 2

1

x (ln x ) dx (ln x ) x –

3

4

2 (ln x ) x + xC

3

4

 x^ x dx  x x  x x  x^3 ^ C

4 3

4 3 2

4 3 2

1

ln 8

(ln ) 4

(ln )

 x^ x dx  x (^8 (ln x ) ^12 ln x ^9 )^ C

(ln ) 3 2

4 3 2

1

() If you multiply a factor from above a red line with a factor below the red line,

you are not multiplying u by v ,

but rather u by x

dv , which has nothing to do with integration by parts.

This technique is usually limited to specialized antiderivatives (like the original problem), and some complex situations in which integration by parts must be combined with another integration technique such as substitution, trigonometric/hyperbolic substitution, polynomial long division or partial fractions.

An example of such a situation is

x xdx 1 tanh :

x xdx x x 1 2 1 tanh 2

tanh   

  • xxC  ( tanh ) 2

x xdxx xxxC   

1 2 1 1 tanh 2

tanh 2

tanh

x xdx xxxC

 

tanh 2

tanh

1 2 1

x xdxxxxC  

(( 1 )tanh ) 2

tanh 1 2 1