Professional Documents
Culture Documents
Lecture 9
Lecture 9
MATH1027 Calculus
Spring Semester
9. Integration II
9.1 General rules for integration
9.2 Integration by inspection
9.3 Integration by parts
9.4 Integration by substitution
9.5 Partial fractions
9.6 Applications of definite integral
(b) If F 0 = f then
Z
1
f (ax + b)dx = F (ax + b) + C (a 6= 0).
a
(d) Since
d f 0 (x )
(ln |f (x )|) = ,
dx f (x )
we have
f 0 (x )
Z
dx = ln |f (x )| + C .
f (x )
Solution:
Z Z Z
4
4x 2 + 10 cos x dx = 4 x 2 dx + 10 cos xdx = x 3 + 10 sin x + C
(a)
3
Z
1
(b) sin(3x + 2)dx = − cos(3x + 2) + C
3
Solution:
1 (ax + b)n+1
Z
(a) (ax + b)n dx = +C (n 6= −1, a 6= 0)
a n+1
Z
1
(b) e ax dx = e ax + C (a 6= 0)
a
Solution:
5x 2 − 6
Z Z
5 6
3
dx = − 3 dx
x x x
Z Z
1 1
=5 dx − 6 dx
x x3
x −2
=5 · ln |x | − 6 · +C
−2
=5 ln |x | + 3x −2 + C ,
where C is a constant.
Solution:
√ √
5 2x 2 + ( 5 − 1)x + 2 (x + 1)2
Z
1 1
dx = ln √ + ln
1 + x5 20 2x 2 − ( 5 − 1)x + 2 10 x (x − 1) (x 2 + 1)
p √ √
10 − 2 5 −4x + 5 + 1
− arctan p √
10 10 − 2 5
p √ √
5+5 5 4x + 5 − 1
− arctan p √ +C
10 10 + 2 5
Integration by parts
du dv
By letting du = dx and dv = dx , we find the following
dx dx
Z Z Z
udv = uv − vdu = uv − u 0 vdx .
u=x v 0 = e −x ,
so that
u 0 = 1 v = −e −x .
The formula for integration by parts then gives
Z Z
−x −x
−e −x dx = −xe −x − e −x + C .
xe dx = −xe −
x 2 −x
Z Z 2
−x x −x
xe dx = e + e dx
2 2
1
Solution: Set f = x 2 and g 0 = cos 4x so that f 0 = 2x and g = sin 4x . Then
4
using the integration by parts formula yields:
x2
Z Z
2x
x 2 cos 4xdx = sin 4x − sin 4xdx
4 4
x2
Z
1
= sin 4x − x sin 4xdx .
4 2
Z
We must now tackle x sin 4xdx .
x2
Z
1 x 1 C
x 2 cos 4xdx = sin 4x − − cos 4x + sin 4x +
4 2 4 16 4
2
x x 1
= sin 4x + cos 4x − sin 4x + C1
4 8 32
Using integration by parts again on the last term on the right-hand side we set:
f = e x and g 0 = cos x so that f 0 = e x and g = sin x . Then the integration by parts
formula yields
Z
I = −e cos x + e sin x − e x sin xdx
x x
⇒ I = e x (sin x − cos x ) − I + C
⇒ 2I = e x (sin x − cos x ) + C
1
⇒ I = e x (sin x − cos x ) + C1 ,
2
1
where C1 = C.
2
Dr. Nan Meng (UNNC) MATH1027 - Lecture 9 Spring Semester 16 / 41
9.4. Integration by substitution
Z
2x cos x 2 dx . We can evaluate it if we remember the
Consider the integral
chain rule calculation:
d
sin x 2 = 2x cos x 2 .
dx
This tells us that sin x 2 is an antiderivative of 2x cos x 2 , and therefore,
Z
2x cos x 2 dx = sin x 2 + C .
An observation:
0
sin x + x 3 = cos x + x 3 · 1 + 3x 2
√
Solution: Suppose x > 0 and write x = t = g(t) where t > 0.
√
Write x = t and x 2 = t.
dx 1
Write dx = dt = √ dt.
dt 2 t
√ √ 1
Z
I = 2 t cos ( t)2 · √ dt
2 t
Z
= cos tdt
= sin t + c = sin x 2 + c,
The substitution assumed x > 0, but we may check by direct differentiation that
the final answer is valid for all x :
d d
sin x 2 + c = sin x 2
dx dx
d dt
= sin t · (chain rule with t = x 2 )
dt dx
| {z } |{z}
=cos t =2x
= 2x cos x 2
dt
= cos x ⇒ dt = cos xdx
dx
and the integral becomes
√
Z Z
2 3/2
I= tdt = t 1/2 dt = t +C
3
2
= (sin x + 1)3/2 + C
3
Check by differentiation:
d 2 2 3
(sin x + 1) + c = · (sin x + 1)1/2 · cos x
3/2
dx 3 3 2
√
= cos x sin x + 1
dt
= 2x ⇒ dt = 2xdx
dx
and we obtain Z
1 dt 1
I= = ln |t| + C
2 t 2
1
= ln 1 + x 2 + C .
2
The absolute sign has been omitted since 1 + x 2 is always positive.
x2
Solution: Use the change of variables u = − .
2
du
= −x ⇒ du = −xdx
dx
The range of new variable u becomes
1
x = 0 → u = 0, x =1→u=− .
2
Therefore, the original integral can be written as
Z 1 Z − 12
−x 2 u=− 1 1
xe 2 dx = − e u du = − e u |u=0 2 = −e − 2 + 1.
0 0
= arcsin x + C
1 1
where we have used the fact that cos t > 0 for − π < t < π.
2 2
Please do not forget to substitute back t = arcsin x !
1
Solution: As above, we substitute x = sin t with 0 ≤ t ≤ π : note that the
2
correspondence between x and t is one-to-one even when the endpoint x = 1 is
included. Then dx = cos tdt, x = 0 corresponds to t = 0 and x = 1 corresponds to
1
t = π. Hence
2
Z π/2 p Z π/2 √
I= sin2 t 1 − sin2 t cos tdt = sin2 t cos2 t cos tdt
0 0
Z π/2 Z π/2
= sin2 t| cos t| cos tdt = sin2 t cos2 tdt
0 0
π/2
1 π/2
Z Z
1 2
= sin (2t)dt = (1 − cos(4t))dt
4 0 8 0
π/2
1 sin(4t) π
= t− = .
8 4 0 16
x 2 + x − 12 = (x − 3)(x + 4)
so
x − 10
f (x ) = .
(x − 3)(x + 4)
Solution:
Partial Fractions Decomposition:
3x − 9 A B C
= + + .
(x + 2)2 (x − 1) x + 2 (x + 2)2 x −1
2 2
A= , B = 5, C = − .
3 3
Carry out the integration:
3x − 9
Z Z Z Z
2 1 1 2 1
dx = dx + 5 dx − dx
(x + 2)2 (x − 1) 3 x +2 (x + 2)2 3 x −1
2 5 2
= ln |x + 2| − − ln |x − 1| + C .
3 x +2 3
Ax + B
ax 2 + bx + c
ax 2 + bx + c
k A1 x + B1 A2 x + B2 Ak x + Bk
ax 2 + bx + c + 2 + ··· + k
ax 2 + bx + c 2
(ax + bx + c) (ax 2 + bx + c)
−2 = B, 9=A
Procedure
1. Find out the intersection points.
2. Find which curve is higher.
3. Integral calculation.
Z b
Area = [f (x ) − g(x )]dx
a
Dr. Nan Meng (UNNC) MATH1027 - Lecture 9 Spring Semester 35 / 41
9.6.2. Area between two curves
Area Between Two Compound Curves
Z c
Area = |f (x ) − g(x )|dx
a
Z b Z c
Area = (f (x ) − g(x ))dx + (g(x ) − f (x ))dx
a b
Solution:
Z b
Area = [f (x ) − g(x )]dx
a
Z 1 2
x − x 3 dx
Area =
0
1
1 3 1 4
= x − x
3 4 0
1 1
= −
3 4
1
=
12
Z d
Area = f (y ) − g(y )dy
c
Definition
If f is integrable on [a, b], then its average value on [a, b], which is also called its
mean, is Z b
1
av(f ) = f (x )dx .
b−a a
Solution:
We know that the area is the half circle, and it can be computed, i.e.,
1 1
Area = · πr 2 = · π(2)2 = 2π
2 2
The function f is clearly non-negative, thus we have
Z 2p
Area = 4 − x 2 dx = 2π.
−2
The average value of f is
Z 2
1 p 1 π
av(f ) = 4 − x 2 dx = (2π) = .
2 − (−2) −2 4 2
Dr. Nan Meng (UNNC) MATH1027 - Lecture 9 Spring Semester 40 / 41
9.6.4. Other applications
If you are interested in other applications, please find these in the textbooks.
Chapter 6, Thomas Calculus by George B. Thomas, Joel R. Hass, Christopher Heil,
Maurice D. Weir
Volumes Using Cross-Sections;
Volumes Using Cylindrical Shells;
Arc Length;
Areas of Surfaces of Revolution;
Etc.
Other resources: