Professional Documents
Culture Documents
Integration by parts
1
Motivation
How to integrate?
x2
2 xe dx
How to integrate?
2x
xe dx
2
Product rule - Recall
Let u = u(x) and v = v(x), then
d
uv u v
dv du
dx dx dx
3
Integration by parts
d
uv u v
dv du
dx dx dx
uv v
dv d du
u
dx dx dx
dv d
du
dx dx dx v dx dx
Integrating: u dx uv
udv uv vdu
4
Integration by parts
udv uv vdu
f ( x ) g ( x )dx ?
• The objective of integration by parts is to generate a
new integral which is easier to integrate than the
original integral.
• To achieve that, need to choose u and dv expressions
wisely for the LHS.
5
Integration by parts – example 1
Evaluate the following integral :
2x
xe dx
Answer:
Apply integration by parts:
udv uv vdu
We can choose u = x or u = e2x.
Let see what happens when we let u = x
Need expressions for v and du
6
Integration by parts – example 1
Answer:
2x
xe dx
ux du dx
dv e dx v 0.5e
2x 2x
udv uv vdu
2x 2x 2x
xe dx 0.5 xe 0.5e dx
xe dx 0.5 xe 0.25e C
2x 2x 2x
7
Integration by parts – example 1
2x 2x
xe dx e xdx
Alternate choice u e 2 x du 2e dx
2x
of u and v :
dv xdx v 0.5 x
2
udv uv vdu
1 2 2x
xe dx 2 x e x e dx
2x 2 2x
More complicated 8
Integration by parts - tips
f ( x ) g ( x )dx ?
u f ( x ) du f ' ( x )dx
dv g ( x )dx v g ( x )dx
udv uv vdu
9
Integration by parts - tips
udv uv vdu
• When using integration by parts, keep in mind that you are
splitting up the original integrand into two pieces.
• One of these pieces, corresponding to u, will be differentiated and
the other, corresponding to dv, will be integrated.
• Since you can differentiate virtually every function you run
across, you should
o choose a dv which you can integrate and
o Choose u and dv that will result in an easier integral for vdu.
• If possible, choose u = x so that you get the simple du = dx.
• You will learn what works best by working through lots of
problems.
10
Integration by parts - tips
udv uv vdu
11
Integration by parts – example 2
For the following integrals, choose the appropriate u and
dv term when using integration by parts:
a ) xe dx
x
b) x e dx
2 x
c ) x sin xdx
12
Integration by parts – example 2
For the following integrals, choose the appropriate u and
dv term when using integration by parts:
d ) ln xdx
e) x ln xdx
f ) e sin xdx
x
13
Integration by parts – example 3
Evaluate the following integral:
x ln xdx
Answer: 1
u ln x du dx
x
dv xdx v 0.5 x 2
udv uv vdu
1
x ln xdx 0.5x ln x (0.5x ) x dx
2 2
Evaluate the following integral: x
xe dx
Answer:
15
Integration by parts – example 3b
Answer:
16
Integration by parts
Special case 1
How to integrate :
n n
x sin bxdx ; x cos bxdx
a , b R;
n ax
x e dx
n : positive integer
Use a reduction formula (repeated integration by parts).
17
Integration by parts – example 4
Evaluate the following integral:
x cos xdx
Solution:
18
Integration by parts – example 4
19
Integration by parts – example 4b
Evaluate the following integral:
2
x sin xdx
Solution: u du
dv v
How to integrate :
e
ax
sin bxdx
e a, b R
ax
cos bxdx
22
Integration by parts – example 5
Evaluate the following integral:
e
x
sin xdx
Solution:
ue x
du e dx
x
25
Integration by parts – example 5
Evaluate the following integral:
e
x
sin xdx
Solution:
u sin x du cos dx
dv e dx
x
ve x
26
Integration by parts – example 5
Now consider
e
x
cos xdx
Integrate by parts:
27
Integration by parts – example 5
Answer:
1 x
e sin xdx ( e sin x e cos x ) c
x x
2
28
Integration by parts – definite integrals
udv uv vdu
b b
udv [uv ] vdu
b
a
a a
29
Definite integrals – example 1
Evaluate the following: 1
4x
4 xe dx
0
Solution: u 4x du 4dx
dv e dx v 0.25e
4x 4x
b b
udv [uv ]
b
a vdu
a a
1 1
4 xe dx [4 x (0.25e )] 0.25e ( 4)dx
4x 4x 1 4x
0
0 0
dx [ xe ] [0.25e ] ( e 0) 0.25e e
1
4 xe
4x 4x 1 4x 1 4 4 0
0 0
0
30
Integration by parts - summary
In general, apply integration by parts for the following
cases:
x
n
e dx ax
e.g. x e dx
2 5x
x n
trigo dx e.g . x sin 2 xdx
x n
ln xdx e.g. x ln xdx
n : positive integer!!!
udv uv vdu
b b
udv [uv ] vdu
b
a
a a
32