Integration by Parts 2
Integration by Parts 2
Parts
Recap
Integration is the inverse operation
to differentiation. Denote the integral
of function f(x) with respect to x by
integrand
Integrate
with respect
to x
f x dx
The derivative of any constant is 0
so cannot know which constant
might be included in the output
f x dx
Every indefinite integral therefore
contains an arbitrary constant of
integration
f x dx
f(x)
a
ax + c
f(x) dx
n +1
xn x + c ,n 1
1 n + 1
x 1 lnx + c
x
sinx −cosx + c
cosx sinx + c
ex ex + c
(ax + b)n c
a n 1
1 1
ax b ln ax b c
1
ax b a
1
sin(ax + b) cos ax b c
a
1
cos(ax + b) sin ax b c
a
1 ax b
eax + b e c
a
(ax + b)n c
a n 1
1 1
ax b ln ax b c
1
ax b a
1
sin(ax + b) cos ax b c
a
1
Remember, cos(ax + b) sin ax b c
a
for trig eax + b 1 ax b
e c
a
functions use
radians
Sum/difference/scalar
multiple/function of constants is just
another constant
Definite integral
integrand
Integrate
with
b
respect to x
f x dx
a from limit x = a
to limit x = b
Fundamental Theorem of Calculus
If
f x dx F x c
b
then
a
f x dx F b F a
Layout
b
b
f x dx F x c
a
a
...and then subtract
b
b
f x dx F x c
a
a
F b c F a c
F b F a
Arbitrary constant c
cancels
Can we integrate products, quotients
or composition of functions?
f x gx
f x g x dx
f x g x dx
f x gx
f x g x dx
f x g x dx
Rearrange
f x g x dx f x g x
f x g x dx
Integration by parts
uDv uv
vDu
Application of integration by parts
involves differentiating one factor
and integrating the other
uDv uv
vDu
uDv uv
vDu
uDv uv
vDu
uDv uv
vDu
uDv uv
vDu
Second term is an
integral, the integrand
being the product along
the last complete row
This is negative:
positive × positive ×
negative = negative
2xe x 2e x c
2xe x dx
12t 2 cos 2t dt
Can integrate
either factor… … but can
differentiate t2
repeatedly to get
zero
D I S
12t 2 cos 2t dt t2
2t
2
0
12t 2 cos 2t dt t2
2t
12cos2t
6sin2t
2 –3cos2t
0 3
sin 2 t
2
12t 2 cos 2t dt t2
2t
12cos2t
6sin2t
+
–
2 –3cos2t +
0 3 –
sin 2 t
2
+
12t 2 cos 2t dt t2
2t
12cos2t
6sin2t
+
–
2 –3cos2t +
0 3 –
sin 2 t
2
+
12t 2 cos 2t dt t2
2t
12cos2t
6sin2t
+
–
2 –3cos2t +
0 3 –
sin 2 t
2
+
12t 2 cos 2t dt t2
2t
12cos2t
6sin2t
+
–
2 –3cos2t +
0 3 –
sin 2 t
2
+
12t 2 cos 2t dt t2
2t
12cos2t
6sin2t
+
–
6t 2 sin2t 2 –3cos2t +
0 3 –
sin 2 t
2
+
D I S
12t 2 cos 2t dt t2
2t
12cos2t
6sin2t
+
–
6t 2 sin 2t 6t cos 2t 2 –3cos2t +
0 3 –
sin 2 t
2
+
D I S
12t 2 cos 2t dt t2
2t
12cos2t
6sin2t
+
–
6t 2 sin 2t 6t cos 2t 2 –3cos2t +
0 3 –
3 sin 2t sin 2t
2
+
D I S
12t 2 cos 2t dt t2
2t
12cos2t
6sin2t
+
–
6t 2 sin 2t 6t cos 2t 2 –3cos2t +
0 3 –
3 sin 2t c sin 2 t
2
+
x ln3x dx ln3x
x ln3x dx ln3x
x ln3x dx
3
ln3x
1
1
3x x
D I S
x ln3x dx
3
ln3x
1
1
√x = x½
3x x
D I S
x ln3x dx
3
ln3x
1
1
√x = x½
2x
3
2
3x x 3
D I S
x ln3x dx
3
ln3x
1
1
√x = x½
2x
3
2
+
–
3x x 3
+
D I S
x ln3x dx ln3x
1
√x = x ½
2x
3
2
+
–
x 3
+
x ln3x dx ln3x
1
√x = x½
2x
3
2
+
3 –
2x 2 x 3
ln3x
3 +
D I S
x ln3x dx ln3x
1
√x = x½
2x
3
2
+
3 1 –
2x 2 2x2 x 3
ln3x dx
3 3 +
D I S
x ln3x dx ln3x
1
√x = x½
2x
3
2
+
3 1 –
2x 2 2x2 x 3
ln3x dx
3 3 +
2x 2 2x 2
ln3x dx
3 3
3 3
2x 2 4x 2
ln3x c
3 9
Note the following...
•If the factor in the differentiate column
can be differentiated to 0, then do so
provided you can use the integrate
column usefully
•Otherwise, proceed one step at a time
and consider if the generated integral
can be simplified/obtained
Should not need more than two steps in
the second case
Integration by parts also applies to
definite integrals
b b
b
uDv uv
a
vDu
a a
4
1
x ln3x dx
4
2x 3
2 4x 3
2
ln3x
3 9
1
9.41
Example 4
1 D I S
0
e2x cos 3x dx
Choose the
Can integrate cosine for no
either factor… specific
reason…
1 D I S
0
e2x cos 3x dx e2x
2e2x
cos 3x
1
3
sin 3x
+
–
4e2x 1 +
cos 3x
9
0
e2x cos 3x dx e2x
2e2x 1
3
cos 3x
sin 3x
+
–
1
4e2x cos 3x +
9
–
1 1
2x 1 2x
e cos 3x dx e sin 3 x ...
0 3 0
1 D I S
0
e2x cos 3x dx e2x
2e2x
cos 3x
1
3
sin 3x
+
–
4e2x 1 +
cos 3x
9
–
1 1
2x 1 2x 2 2x
e cos 3x dx e sin 3x e cos 3x ..
0 3 9 0
1 D I S
0
e2x cos 3x dx e2x
2e2x
cos 3x
1
3
sin 3x
+
–
1
4e2x cos 3x +
9
–
1 1
2x 1 2x 2 2x
e cos 3x dx e sin 3x e cos 3x
0 3 9 0
1
4
e2x cos 3x dx
9 0
1 D I S
0
e2x cos 3x dx e2x
2e2x
cos 3x
1
3
sin 3x
+
–
4e2x 1 +
cos 3x
9
–
1 1
13 2x 1 2x 2 2x
e cos 3x dx e sin 3x e cos 3x
9 0 3 9 0
1 D I S
0
e2x cos 3x dx e2x
2e2x
cos 3x
1
3
sin 3x
+
–
4e2x 1 +
cos 3x
9
–
1 1
2x 9 1 2x 2 2x
e cos 3x dx e sin 3x e cos 3x
0 13 3 9 0
1.039
Centroid, the
sequel…
Consider a region R above the x-axis
bounded by the curve y = f(x), the x-axis and
the lines x = a and x = b
The centroid is
denoted x, y
It is the same as centre of mass or centre of
gravity of a region of that shape with uniform
density
Consider a region R above the x-axis
bounded by the curve y = f(x), the x-axis and
the lines x = a and x = b
x co-ordinate of centroid
b
x
a
xf x dx “First moment of area
about the y-axis divided
b by the area of the
a
f x dx region”
Consider a region R above the x-axis
bounded by the curve y = f(x), the x-axis and
the lines x = a and x = b
y co-ordinate of centroid
1 “First moment of area
f x dx
2
2 a about the x-axis divided
y b by the area of the
a
f x dx region”
Example 5
Consider the region R bounded by the curve
y = e2x, the x and y-axes and the line x = 1
1 1
2x 1 2x
Area e dx e 3.1945
0 2 0
Consider the region R bounded by the curve
y = e2x, the x and y-axes and the line x = 1
1 1 1 1 4x
e
2
2x
dx e 4x dx 4 e 6.6998
2 0 2 0 2 0
1 1
2x 1 2x
Area e dx e 3.1945
0 2 0
6.6998
y 2.10
3.1945
Consider the region R bounded by the curve
y = e2x, the x and y-axes and the line x = 1
1 1
xe2x dx xe2x e2x 2.0973
0 2 4 0
2x 1 2x 1 2x
xe dx xe e 2.0973
0 2 4 0
1 1
2x 1 2x
Area e dx e 3.1945
0 2 0
2.0973
x 0.66
3.1945
Centroid
2.0973 6.6998
x 0.66 y 2.10
3.1945 3.1945
(0.66, 2.10)
Centroid