Integration by Parts

Recall the product rule: (fg)' = f'g + fg'. Now, if [Maple Math] and [Maple Math] then see the blackboard (or your text!) to see how the product rule produces the formula: [Maple Math] which is the formula for integration by parts . It is crucial to realize that du = f ' ( x ) dx and dv = g'( x ) dx are the respective differentials.

As a very rough strategy for deciding whether or not to use integration by parts you should be alert for an integral (which is not an "easy" one in disguise) in which the integrand (that's the part behind the integral sign) can be expressed as a product udv where u is some function that becomes "simpler" (or at least not more complicated) when differentiated and dv is an expression which is "easy" (or at least possible ) to integrate. N.B. u and dv must be such that their product is the entire original integrand.

e.g. Find [Maple Math]

> F:=Int(x*exp(1)^x,x);

[Maple Math]

This type of integral is not on the easy list yet . Notice that x gets simpler wjen differentiated and that [Maple Math] is easy to integrate. Therefore let [Maple Math] (so that [Maple Math] ) and [Maple Math] (so that [Maple Math] ) and apply the formula:

Here's what happens if you chose the "right" u:

> intparts(F,x);

[Maple Math]

> value(%);

[Maple Math]

> factor(%);

[Maple Math]

Here's what happens if you chose the "wrong" u:

> intparts(F,exp(1)^x);

[Maple Math]

You can see that the [Maple Math] part of the formula gets harder!

e.g. Find [Maple Math]

> F:=Int(x^2*exp(1)^x,x);

[Maple Math]

> intparts(F,x^2);

[Maple Math]

You can see from the above that you can now finish off the integration by using the first result for [Maple Math] or you can use integration by parts again on the unevaluated integral. Here's the answer:

> value(%);factor(%);

[Maple Math]

[Maple Math]

Find [Maple Math] .

This always fools the unwary! Many newbies will write [Maple Math] = [Maple Math] which is WRONG (why?). This one is dne by parts using [Maple Math] and [Maple Math] :

> F:=Int(ln(x),x);

[Maple Math]

> intparts(F,ln(x));

[Maple Math]

> value(%);

[Maple Math]

More

Find [Maple Math]

> Int(exp(1)^x*cos(x),x);

[Maple Math]

> G:=value(%);

[Maple Math]

Whoa!! MY answer is [Maple Math] ! Are they the same?

> F:=1*exp(x)*(sin(x)+cos(x))/2;

[Maple Math]

> simplify(F-G);

[Maple Math]

Find [Maple Math]

> F:=Int(arccos(w),w = 0 .. 1/2);

[Maple Math]

> intparts(F,arccos(w));

[Maple Math]

> value(%);evalf(%);

[Maple Math]

[Maple Math]

e.g. A Reduction Formula.

e.g. Use integration by parts to prove that [Maple Math] for [Maple Math] and use the formula to find [Maple Math] and [Maple Math] .

> g:=sin(x)^2:h:=sin(x)^3:

> Int(g,x)=int(g,x)+C;Int(h,x)=int(h,x)+K;

[Maple Math]

[Maple Math]