Math 212 Lecture Notes
Math 212 Lecture Notes
This note was done under the supervision of Dr. Akram NEMRI within a total of 14 weeks, from
January 6th to April 11th of 2019.
1 Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 The area problem 5
1.2 The definite integral 6
1.2.1 The fundamental theorem of calculus (F.T) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.3 The indefinite integrals 8
1.3.1 Table of indefinite integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.4 The substitution rule for indefinite integral 11
1.5 The substitution rule for definite integral 12
1.6 Exercises 13
2 Techniques of Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.1 Integration by parts 17
2.2 Trigonometric Integrals 19
2.2.1 Evaluation of trigonometric Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.2.2 Trigonometric Substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.3 Integration of rational function by partial fraction 24
2.4 Excercises 29
3 Applications of Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.1 Area between curves 33
3.2 Volumes 36
4
4 Improper Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.1 Type I: Infinite intervals 47
4.2 Type II: Discontinuous Integrands 49
4.3 Excercises 50
We try to approximate the region by rectangles and then we take the limit of the areas of these
rectangles as we increase the number of rectangles. The following example illustrates the procedure.
Example 1.1 Use rectangles to estimate the area under the parabola from 0 to 1 (the parabolic
region S illustrated in the figure 2).
Figure 1.1:
Suppose we divide S into four strips.We see that the area A of S is less than A+ and larger than
A− ,
A− ≤ A ≤ A+
where
6 Chapter 1. Integrals
Figure 1.2:
We can repeat this procedure with a larger number of strips, when we divide the region S into n=
5,6,... strips of equal width.
Figure 1.3:
provided that this limit exists. If it does exist, we say that is integrable on [a, b].
n
The sum ∑ f (a + k∆x)∆x is called the Riemann sum of f .
k=1
n
Example 1.2 Express lim
n→∞
∑ (xk3 + xk sin xk )∆x as an integral on the interval [0, π].
k=1
1.2 The definite integral 7
Comparing the given limit with the limit in the definition, we see that they will be identical if we
choose f (x) = x3 + x sin x and respectively
π −0 π π
∆x = = , xk = 0 + k∆x = k
n n n
then
π n
Z π
lim ∑ (xk3 + xk sin xk ) = (x3 + x sin x)dx.
n→∞ n 0
k=1
n
Example 1.3 Express lim
n→∞
∑ (xk3 + 6xk )∆x as an integral on the interval [1, 3].
k=1
Comparing the given limit with the limit in the definition, we see that they will be identical if we
choose f (x) = x3 + 6x and respectively
3−1 2 2k
∆x = = , xk = 1 + k∆x = 1 +
n n n
then
2 n 3
Z 3
lim ∑ (xk + 6xk ) = (x3 + x)dx.
n→∞ n 1
k=1
Z 5
Example 1.4 Set up an expression for ex dx as a limit of sums.
2
5−2 3
Here a = 2, b = 5, f (x) = ex then ∆x = = and xk = 2 + k 3n
n n
and then
Z 5 n n
3 3k
ex dx = lim lim ∑ e2+
∑ f (xk )∆x = n→∞ n
2 n→∞
k=1 n k=1
Z a
Proposition 1.2.1 1. f (x)dx = 0
Z b a
so f (x)dx = 17 − 12 = 5
8
8 Chapter 1. Integrals
x3 d
Z
Example 1.11 x2 dx =
because (x3 /3 +C) = x2
3 dx
d
Z
Example 1.12 sec2 xdx = tan x because (tan x +C) = sec2 x.
dx
1.3 The indefinite integrals 9
Figure 1.4:
10 Chapter 1. Integrals
Figure 1.5:
where respectively the hyperbolic cosine and hyperbolic sine are given by
ex + e−x
cosh x =
2
ex − e−x
sinh x =
2
Z
Example 1.13 Find (10x4 − 2 sec2 x)dx
(tan−1 0 = 0).
Z 9 2 √
2t + t 2 t − 1
Example 1.16 Evaluate dt
1 t2
Solution.
√
Z 9 2
2t + t 2 t − 1
Z 9 √ 1
dt = (2 + t − 2 )dt
1 t2 1 t
" #9
t 1/2+1 t −2+1
= 2t + −
1/2 + 1 −2 + 1
1
3/2 1
= [2t + 2/3t + ]91 .
t
Solution. We make the substitution u = x4 + 2 then du = 4x3 dx thus x3 dx = 1/4du and by the table
1 1 1 1
Z Z Z
x3 cos(x4 + 2)dx = cos udu = cos udu = sin u +C = sin(x4 + 2) +C.
4 4 4 4
Z √
Example 1.18 Evaluate 2x + 1dx
sin x
Z
Solution. First tan xdx = dx. Let u = cos x then du = − sin xdx and so
cos x
du
Z Z
tan xdx = − = − ln | u | +C = − ln | cos x | +C = ln | sec x | +C
u
Z 4√
Example 1.22 Evaluate 2x + 1dx.
0
Solution. Let u = 2x + 1 then du = 2dx and when x = 0 → u = 2.0 + 1 = 1, x = 4 → u = 2.4 + 1 = 9.
Therefore
Z 4√
" #9
√ 1 u1/2+1
Z 9
2x + 1dx = u. du = 1/2 = 1/2.2/3(93/2 − 13/2 )
0 1 2 1/ + 1
1
Z 2
dx
Example 1.23 Evaluate 2
.
1 (3 − 5x)
Solution. Let u = 3 − 5x then du = −5dx and when x = 1 → u = 3 − 5.1 = −2, x = 2 → u =
3 − 5.2 = −7. Therefore
Z 2 Z −7 Z −2 −2+1 −2
dx du du u
2
dx = −1/5 2 = 1/5 2
= 1/5 = 1/5(−1/7 + 1/2).
1 (3 − 5x) −2 u −7 u −2 + 1 −7
Z e
ln x
Example 1.24 Calculate dx.
1 x
Solution. Let u = ln x then du = 1x dx and when x = 1 → u = ln 1 = 0, x = e → u = ln e = 1. Therefore
Z e Z 1 2 1
ln x u
dx = udu = = 1/2
1 x 0 2 0
1.6 Exercises 13
1.6 Exercises
Exercise 1.1 Choose the correct answer from the given choices
!
1 n k
1. The lim
n→∞
∑ ln 1 + n =
n k=1
Z 1 Z 1
1
(a) 0 (b) ln(1 + x) dx (c) dx
0 0 1+x
!
1 n 1
2. the limit lim ∑
n→∞ n k=1 1 + k22
n Z 1 Z 1
1 1
(a) 0 (b) dx (c) dx
0 1 + x2 0 1+x
Z 1
2
Exercise 1.2 1. Express the integral xex dx in term of infinit sum
0
Z 3
2. Same question for the integral ex dx
1
Z p
Exercise 1.3 Find 1 + x2 x5 dx
Z
Exercise 1.4 Calculate tan xdx
Z
Exercise 1.5 Evaluate cos3 x sin xdx
Z
Exercise 1.6 Calculate x sin(x2 )dx
dx
Z
Exercise 1.7 Find
5 − 3x
x
Z
Exercise 1.8 Calculate dx
x2 + 1
14 Chapter 1. Integrals
sin(ln x)
Z
Exercise 1.9 Find dx
x
Z
Exercise 1.10 Calculate ecost sintdt
cos x
Z
Exercise 1.11 Evaluate dx
sin2 x
Z
Exercise 1.12 Find x cos(x2 )dx
Z 2 1
ex
Exercise 1.13 Calculate dx
1 x2
Z e4
dx
Exercise 1.14 Evaluate √
e x ln x
Z 1 z
e +1
Exercise 1.15 Calculate dz
0 ez + z
Z 1
2
Exercise 1.16 Find xex dx
0
Exercise 1.17Z Use the Fundamental Theorem of Calculus to find the derivative of the function.
x t2
1. F(x) =
0 1 + t3
Z x4
2. G(x) = cos(t 2 )dt
√ 0
Z x et
3. Y = dt
x t
Z Z
0
uv dx = uv − u0 v dx (2.1)
Z
Example 2.1 Find x sin x dx.
Z
Example 2.2 Evaluate ln x dx.
1
Solution. Let u = ln x then u0 = , v0 = 1 then v = x
x
By using the formula (1), we have
1
Z Z Z Z
ln x dx = ln x · 1 dx = x ln x − x · dx = x ln x − 1 dx = x ln x − x +C
x
Z
Example 2.3 Evaluate t 2 et dt.
Z
Example 2.4 Evaluate ex sin x dx.
Z
2 ex sin x dx = −ex cos x + ex sin x
ex cos x ex sin x
Z
ex sin x dx = − + +C
2 2
Z 1
Example 2.5 Evaluate tan−1 x dx.
0
x
Z Z Z
−1 −1 −1
tan x dx = tan x · 1 dx = x tan x− dx
1 + x2
1 2x 1
Z
= x tan−1 x − 2
dx = x tan−1 x − ln(1 + x2 ) +C
2 1+x 2
Z 1
1
tan−1 x dx = [x tan−1 x − ln(1 + x2 )]10
0 2
1 1
= [1 · tan−1 1 − ln(1 + 12 )] − [0 · tan−1 0 − ln(1 + 02 )]
2 2
π 1 π
= − ln 2 (using tan−1 1 = , ln 1 = 0)
4 2 4
2.2 Trigonometric Integrals 19
Z
Example 2.6 Evaluate cos3 x dx.
Solution. We write
Z Z Z
cos3 x dx = cos2 x · cos x dx = (1 − sin2 x) cos x dx (using cos2 x = 1 − sin2 x) (2.4)
Solution. We write
Z Z Z
sin5 x cos2 x dx = sin4 x sin x cos2 x dx = (sin2 x)2 sin x cos2 x dx
Z
= (1 − cos2 x)2 cos2 x sin x dx (using sin2 x = 1 − cos2 x) (2.5)
Z π
Example 2.8 Evaluate sin2 x dx.
0
Solution. We write
1 − cos 2x 1 1 − cos 2x
Z π Z π Z π
sin2 x dx = dx = (1 − cos 2x) dx (using sin2 x = )
0 0 2 2 0 2
π
1 1 1 1 1 1 1
= [x − sin 2x] = [π − sin 2π] − [0 − sin 0] = π (where sin 0 = sin 2π = 0)
2 2 0 2 2 2 2 2
Z
Example 2.9 Evaluate sin4 x dx.
Solution. We write
1 − cos 2x 2 1 − cos 2x
Z Z Z
sin4 x dx = sin2 x · sin2 x dx = ( ) dx (using sin2 x = )
2 2
1 1 1 + cos 4x 1 + cos 4x
Z Z
2
= (1+cos 2x−2 cos 2x)dx = (1+ −2 cos 2x)dx (using cos2 2x = )
4 4 2 2
Z
Example 2.10 Evaluate tan6 x sec4 x dx.
Solution. For m=6 and n=4, we use u = tan x then du = sec2 xdx and from sec2 x = tan2 x + 1
we have
u7 u9 tan7 x tan9 x
Z Z
tan6 x sec4 x dx = tan6 x sec2 x sec2 x dx = u6 (1 + u2 )du = + +C = + +C.
7 9 7 9
Z
Example 2.11 Evaluate tan5 x sec7 x dx.
Solution. For m=5 and n=7, we use u = sec x then du = sec x tan xdx and from tan2 x = sec2 x + 1
we have
Z Z Z Z
tan5 x sec7 x dx = tan4 x sec6 x tan x sec x dx = (u2 − 1)2 u6 dx = (u10 − 2u8 + u6 )du
u11 u9 u7
= − 2 + +C
11 9 7
sec11 x sec9 x sec7 x
= −2 + +C.
11 9 7
1
(a) sin A cos B = [sin(A − B) + sin(A + B)]
2
1
(b) sin A sin B = [cos(A − B) − cos(A + B)]
2
1
(c) cos A cos B = [cos(A − B) + cos(A + B)]
2
Z
Example 2.12 Evaluate sin 4x cos 5x dx.
1
Z Z
sin 4x cos 5x dx = [sin(4x − 5x) + sin(4x + 5x)] dx
2
1
Z
= [sin(−x) + sin(9x)] dx
2
1
Z
= [− sin x + sin 9x] dx (using sin(−x) = − sin x)
2
1 cos 9x
= (cos x − ) +C
2 9
Z
Example 2.13 Evaluate sin 3x sin 6x dx.
1
Z Z
sin 3x sin 6x dx = [cos(3x − 6x) − cos(3x + 6x)] dx
2
1
Z
= [cos(−3x) − cos(9x)] dx
2
1
Z
= [cos 3x − cos 9x] dx (using cos(−x) = cos x)
2
1 sin 3x sin 9x
= ( − ) +C
2 3 9
Figure 2.1:
Z √
9 − x2
Example 2.14 Evaluate dx.
x2
Solution. Taking x = 3 sin θ =⇒ dx = 3 cos θ dθ
√ p √
and 9 − x2 = 9 − 9 sin2 θ = 9 cos2 θ = |3 cos θ | (Since cos θ ≥ 0 f or − π2 ≤ θ ≤ π2 )
Therefore we have
Z √
9 − x2 3 cos θ
Z Z Z
2
dx = 2
· 3 cos θ dθ = cot dθ = (csc2 θ − 1)dθ = − cot θ − θ +C
x2 9 sin θ
2 y2
Example 2.15 find the area enclosed by the ellipse ax2 + b2 = 1.
Figure 2.2:
Solution. The total area A is four times the area in the first quadrant. Solving the equation of the
ellipse for y
y2 x2 a2 − x2
= 1 − =
b2 a2 a2
24 Chapter 2. Techniques of Integration
r √
y a2 − x 2 a2 − x2
=⇒ = ± =
b a2 a
b p
=⇒ y = a2 − x 2
a
Z a p
b
A=4 a2 − x2 dx (2.6)
0 a
Taking x = a sin θ =⇒ dx = a cos θ dθ
For x = 0 =⇒ a sin θ = 0 or sin θ = 0 =⇒ θ = 0
π
For x = a =⇒ a sin θ = a or sin θ = 1 =⇒ θ = 2
R(x)
f (x) = S(x) +
Q(x)
where R(x) is the remainder of the division of Q into P and S and R are also polynomials.
x3 + x
Z
Example 2.16 find dx.
x−1
P(x)
Solution. Since f (x) = Q(x) , where deg(P) = 3 ≥ deg(Q) = 1. Then by dividing P by Q, we obtain
x3 +x 2
f (x) = x−1 = x2 + x + 2 + x−1
x3 + x 2 x3 x2
Z Z
Therefore, dx = (x2 − x + 2 + ) dx = − + 2x + 2 ln|x − 1| +C
x−1 x−1 3 2
Definition 2.3.2 If the denominator Q(x) is a product of distinct linear factors. This mean that
we can write
P(x) A1 A2 Ak
f (x) = = + ······+
Q(x) a1 x + b1 a2 x + b2 ak x + bk
x2 + 2x − 1
Z
Example 2.17 Evaluate dx.
2x3 + 3x2 − 2x
Solution. Since Q(x) = 2x3 + 3x2 − 2x = x(2x2 + 3x − 2) = x(2x − 1)(x + 2). Therefore
x2 + 2x − 1 x2 + 2x − 1 A1 A2 A3
3 2
= = + + . (2.7)
2x + 3x − 2x x(2x − 1)(x + 2) x 2x − 1 x + 2
x2 + 2x − 1
|x=0 = A1 (2.8)
(2x − 1)(x + 2)
x2 + 2x − 1
| 1 = A2 (2.9)
x(x + 2) x= 2
x2 + 2x − 1
|x=−2 = A3 (2.10)
x(2x − 1)
02 + 2 · 0 − 1 −1 1
A1 = = =
(2 · 0 − 1)(0 + 2) −2 2
( 12 )2 + 2 · 12 − 1 1
4 +1−1 1
4 1
A2 = 1 1
= 1 5
= 5
=
2(2 + 2) 2 · 2 4
5
(−2)2 + 2(−2) − 1 4 − 4 − 1 −1 1
A3 = = = =
−2(2(−2) − 1) −2 · −5 −10 10
Putting the values of A1 , A2 and A3 in (8) and then integrating, we have
x2 + 2x − 1 1 1 1 1 1 1
Z Z
dx = ( · + · − · )dx
2x3 + 3x2 − 2x 2 x 5 2x − 1 10 x + 2
1 1 1 1
= ln |x| + · ln |2x − 1| − ln |x + 2| +C
2 5 2 10
1 1 1
= ln |x| + ln |2x − 1| − ln |x + 2| +C
2 10 10
dx
Z
Example 2.18 Evaluate , where a 6= 0.
x2 − a2
26 Chapter 2. Techniques of Integration
Definition 2.3.3 If the denominator Q(x) is a product of linear factors, some of which are
repeated. Suppose the first linear factor (a1 x + b1 ) is repeated times; that is, (a1 x + b1 )r occurs in
the factorization of Q(x). We use
A1 A2 A3 Ar
+ 2
+ 3
+ ... +
a1 x + b1 (a1 x + b1 ) (a1 x + b1 ) (a1 x + b1 )r
x2 + 2 A1 A2 B1 B2 B3
2 3
= + 2
+ + 2
+
(x − 2) (x + 1) x − 2 (x − 2) x + 1 (x + 1) (x + 1)3
2.3 Integration of rational function by partial fraction 27
x2 + 2 6 x2 + 2 3
A2 = 3
|x=2 = , B3 = 2
|x=−1 = .
(x + 1) 8 (x − 2) 9
Now if multiply both sides by x and make x → ∞, we obtain 0 = A1 + B1 then A1 = −B1 .
Moreover, if we reduce to the same denominator, we obtain the following system
Definition 2.3.4 If the denominator Q(x) contains irreducible quadratic factors, none of which is
repeated. If Q(x) = ax2 + bx + c, where b2 − 4ac < 0 then, in addition to the partial fractions the
R(x)
expression for will have a term of the form
Q(x)
Ax + B
ax2 + bx + c
where A and B are constants to be determined.
x+1
Z
Example 2.21 Evaluate dx.
(x − 1)2 (x + 4)
Solution. We can write
x+1 A1 A2 B
= + +
(x − 1)2 (x + 4) x − 1 (x − 1)2 x + 4
x+1 2 x+1 −3
A2 = |x=1 = , B= 2
|x=−4 =
x+4 5 (x − 1) 25
1 2 −3 1 3
For x = 0, = −A1 + + ( ) then A1 =
4 5 25 4 25
So
x+1 3 1 2 1 3 1
Z Z Z Z
dx = dx + dx − dx
(x − 1)2 (x + 4) 25 x − 1 5 (x − 1) 2 25 x + 4
3 2 (x − 1)−2+1 3
= ln |x − 1| + − ln |x + 4| +C.
25 5 −2 + 1 25
x2 + 2
Z
Example 2.22 Find dx.
(x − 2)2 (x + 1)3
Solution. We can write
x2 + 2 A1 A2 B1 B2 B3
2 3
= + 2
+ + 2
+
(x − 2) (x + 1) x − 2 (x − 2) x + 1 (x + 1) (x + 1)3
x2 + 2 6 x2 + 2 3
A2 = |x=2 = , B3 = |x=−1 = .
(x + 1)3 8 (x − 2)2 9
Now if multiply both sides by x and make x → ∞, we obtain 0 = A1 + B1 then B1 = −A1 .
Moreover, if take respectively x = 0 and x = 1, we obtain the following system
28 Chapter 2. Techniques of Integration
1 3 3 1
= − A1 + + B2 +
2 2 16 3
3 3 3 1 1
= − + + B2 +
8 2 4 4 24
19 79 79
solving this system we obtain, B2 = 36 A1 = 216 and B1 = − 216 and then
x2 + 2 79 1 6 1 79 1 19 1 3 1
Z Z Z Z Z Z
2 3
dx = dx+ 2
dx− dx+ 2
dx+ dx
(x − 2) (x + 1) 216 x−2 8 (x − 2) 216 x+1 36 (x + 1) 9 (x + 1)3
79 6 (x − 2)−2+1 79 19 (x + 1)−2+1 3 (x + 1)−3+1
= ln | x − 2 | + − ln | x + 1 | + + +C
216 8 −2 + 1 216 36 −2 + 1 9 −3 + 1
Definition 2.3.5 If the denominator Q(x) contains irreducible quadratic factors, none of which is
repeated. If Q(x) = ax2 + bx + c, where b2 − 4ac < 0 then, in addition to the partial fractions the
R(x)
expression for will have a term of the form
Q(x)
Ax + B
ax2 + bx + c
where A and B are constants to be determined.
2x2 − x + 4
Z
Example 2.23 Evaluate dx.
x3 + 4x
Solution. We can write
2x2 − x + 4 2x2 − x + 4 A Bx +C
= = + 2
x3 + 4x x(x2 + 4) x x +4
2x2 − x + 4 A(x2 + 4) + (Bx +C)x
=
x(x2 + 4) x(x2 + 4)
We multiply both sides by x(x2 + 4), we have
2x2 − x + 4 = A(x2 + 4) + (Bx +C)x
2x2 − x + 4 = Ax2 + 4A + Bx2 +Cx = (A + B)x2 +Cx + 4A
Thus we have
A + B = 2, C = −1, 4A = 4
=⇒ A = 1, B = 1 and C = −1
and then integrating, we have
2x2 − x + 4 1 x−1 1 x 1
Z Z Z
dx = ( + 2 ) dx = ( + 2 − ) dx
x3 + 4x x x +4 x x + 4 x2 + 4
1 1 2·x 1
Z
= ( + · 2 − 2 ) dx
x 2 x +4 x +4
1 1 x 1 1 x
Z
= ln |x| + ln |x2 + 4| − tan−1 +C (using 2 2
dx = tan−1 )
2 2 2 x +a a a
2.4 Excercises 29
Example 2.24 Write out the form of the partial fraction decomposition of the function. Do not
determine the numerical values of the coefficients.
2x04
1.
(x + 3)(3x + 1)
3x − 2
2. 2
x +x−2
x4 + 1
3. 5
x + 4x3
x+1
4. 2
x + 4x + 3
2x + 1
5.
(x − 1)(x − 3)4 (x2 + 4)2
x
6. 6
x − x3
x3 + 1
7.
(x − 1)3 (x + 2)2 (x2 + 1)2
2.4 Excercises
Exercise
Z 2.1 Evaluate the integral using integration by parts
1. x2 ln xdx
Z
2. x cos xdx
Z
3. arctan xdx
Z
4. ln(2x + 1)dx
Z 9
ln x
5. √ dx
4 x
Z π
2
6. sin2 x cos2 xdx
Z0 1
7. (x2 + 1)ex dx
Z0
8. cos x ln(sin x)dx
Exercise 2.2 First make a substitution and then use integration by parts to evaluate the integral.
√
1. cos(
Z x)dx
2. ex sin(2x)dx
Z
3. x ln(x + 1)dx
Z
5. sin(ln x)dx
Z π
2
6. sin2 x cos2 xdx
0
30 Chapter 2. Techniques of Integration
Z 1
7. (x2 + 1)ex dx
Z0
8. cos x ln(sin x)dx
Exercise
Z 2.3 Evaluate the integral.
1. sin3 x cos2 xdx
Z
2. sin6 x cos3 xdx
Z
3. cos6 xdx
Z
4. cos x cos5 (sin x)dx
Z π
5. π
sin5 x cos3 xdx
2
Z π
2
6. sin2 x cos2 xdx
Z0
7. sec2 x tan xdx
Z
8. tan2 xdx
Z
9. tan5 x sec4 xdx
Z
10. tan3 x sec5 xdx
Z
11. sin(8x) cos(5x)dx
Z
12. cos(πx) cos(4πx)dx
Z
13. sin(5x) sin(3x)dx
Z
14. sin(5x) cos(2x)dx
Exercise 2.4 Write out the form of the partial fraction decomposition of the function. Do not
determine the numerical values of the coefficients.
2x
1.
(x + 3)(3x + 1)
x
2. 2
x +x−2
x4 + 1
3. 5
x + 4x3
x3
4. 2
x + 4x + 3
2x + 1
5.
(x + 1)3 (x2 + 4)2
2.4 Excercises 31
1
6.
x6 − x3
Exercise
Z 2.5 Evaluate the integral.
x
7. dx
Z (x − 6)
x−9
8. dx
(x + 5)(x − 2)
Z 3
1
9. 2
dx
Z2 x − 1
1
10. dx
(x − 1)(x + 5)2
Z 3
x + x2 + 2x + 1
11. 2 2 2
dx
Z (x − 1)(x + 5)
x+4
12. 2 + 2x + 5
dx
x
1
Z
13. dx
x3 + 1
3. Applications of Integration
Figure 3.1:
and more general, the area A between the curves y = f (x), y = g(x) and the lines x = a, x = b
Z b
A= | f (x) − g(x) | dx
a
34 Chapter 3. Applications of Integration
Figure 3.2:
Example 3.1 Find the area of the region bounded above by y = ex , bounded below by y = x, and
bounded on the sides by x = 0 and x = 1.
Solution.
Figure 3.3:
h i1
x − x2
R1 x
A= 0 (e − x)dx = e 2 = e − 32 .
0
Example 3.2 Find the area of the region enclosed by the parabolas y = x2 and y = 2x − x2 .
Solution.
Figure 3.4:
We first find the points of intersection of the parabolas by solving x2 = 2x − x2 then 2x2 − 2x =
3.1 Area between curves 35
2x(x − 1) = 0 so x = 0 or x = 1. The points of intersection are (0, 0) and (1, 1). So the total area is
1
x2 x3
Z 1 Z 1
2 2 2 1 1
A= (2x − x − x )dx = (2x − 2x )dx = 2 − = 2( − )
0 0 2 3 0 2 3
Example 3.3 Find the area of the region bounded by the curves y = sin x and y = cos x, x = 0,
x = π/2.
Figure 3.5:
Solution.
First, for all x ∈ [0, π2 ] sin x = cos x if and only if x = π
4 and then
and for all x ∈ [ π4 , π2 ], sin x ≤ cos x so | cos x − sin x |= −(cos x − sin x).
Therefore
Z π/2
A = | cos x − sin x | dx
0
Z π/4 Z π/2
= | cos x − sin x | dx + | cos x − sin x | dx
0 π/4
Z π/4 Z π/2
= (cos x − sin x)dx + −(cos x − sin x)dx
0 π/4
π π
= [sin x + cos x]04 + [− cos x − sin x] π2
4
1 1 1 1 √
= ( √ + √ − 0 − 1) + (−0 − 1 + √ + √ ) = 2 2 − 2.
2 2 2 2
Example 3.4 Find the area enclosed by the line y = x − 1 and the parabola y2 = 2x + 6.
36 Chapter 3. Applications of Integration
Figure 3.6:
Solution.
we have to find the points of intersections for y2 = 2x + 6 and x = y + 1. Thus y2 = 2x + 6 =
2(y + 1) + 6 = 2y + 2 + 6, this imply that y2 − 2y − 8 = 0 then y = 2−6 2+6
2 = −2 and y = 2 = 4; and
the intersection point are (−1, −2) and (5, 4).
Z 4 Z 4
A= | f (y) − g(y) | dy = xR − xL dy
−2 −2
y2 −6
where xR = y + 1 and xL = 2
then
4
1 y3 y2
Z 4 Z 4
1 1 2
A= [(y + 1) − (y2 − 6)]dy = (− y + y + 4)dy = − + + 4y = 18.
−2 2 −2 2 23 2 −2
3.2 Volumes
For a solid S, we start by intersecting S with a plane and obtaining a plane region that is called a
cross-section of S. Let A(x) be the area of the cross-section of in a plane Px perpendicular to the
x-axis and passing through the point x, where a ≤ x ≤ b.
3.2 Volumes 37
Figure 3.7:
Definition 3.2.1 Let S be a solid that lies between x = a and x = b. If the cross-sectional area
of s in the plane Px , through x and perpendicular to the x-axis, is A(x), where A is a continuous
function, then the volume of S is Z b
V= A(x)dx.
a
Figure 3.8:
√
Solution. the plane Px intersects the sphere in a circle whose radius is y = r2 − x2 . So the
cross-sectional area is
Z r Z r Z r
V = A(x)dx = π(r − x )dx = 2 π(r2 − x2 )dx
2 2
−r −r 0
3
r 3
x r 4
= 2π r2 x − = 2π(r3 − ) = πr3 .
3 0 3 3
Example 3.6 Find the volume of the solid obtained by rotating about the x-axis the region under
√
the curve y = x from 0 to 1.
Figure 3.9:
√
Solution. If we rotate about the x-axis, we get a disk with radius x. The area of this cross-section is
√
A(x) = π( x)2 = πx.
Z 1 Z 1 2 1
x π
V= A(x)dx = πxdx = π = .
0 0 2 0 2
Example 3.7 Find the volume of the solid obtained by rotating the region bounded by y = x3 ,
y = 8, and x = 0 about the y-axis.
3.2 Volumes 39
Figure 3.10:
1
Solution. The area of this cross-section is a disk with radius x = y . So
3
1
A(y) = πx2 = π(y 3 )2
and
3 5/3 1 96
Z 8 Z 8
2
V= A(y)dy = πy dy = π y
3 = π.
0 0 5 0 5
Example 3.8 The region R enclosed by the curves y = x and y = x2 is rotated about the x-axis.
Find the volume of the resulting solid.
Figure 3.11:
So
3 1
x5
Z 1 Z 1
2 4 x 2π
V= A(x)dx = π(x − x )dx = π − =
0 0 3 5 0 15
Definition 3.3.1 The volume of a solid, obtained by rotating about the y-axis the region under
the curve y = f (x) from a to b (0 ≤ a ≤ b), is
Z b
V= 2πx f (x)dx.
a
Figure 3.12:
The best way to remember this is to think of a typical shell, cut and flattened as in the figure,
with radius x, circumference 2πx, height f (x), and thickness dx:
Z b
( 2πx ) [ f (x) ] dx .
a | {z } | {z } |{z}
circum f erence height thickness
3.3 Volumes by cylindrical shells 41
Figure 3.13:
Example 3.9 Find the volume of the solid obtained by rotating about the y-axis the region bounded
by y = 2x2 − x3 and y = 0.
Figure 3.14:
Solution. From the sketch in figure, we see that a typical shell has radius x, circumference 2πx,
and height f (x) = 2x2 − x3 . So, by the shell method, the volume is
Z 2 Z 2 2
1 1 16π
V= 2πx f (x)dx = 2π (2x − x )dx = 2π x4 − x5
3 4
= .
0 0 2 5 0 5
Example 3.10 Find the volume of the solid obtained by rotating about the y-axis the region
between y = x and y = x2 .
42 Chapter 3. Applications of Integration
Figure 3.15:
Example 3.11 Find the length of the arc of the semicubical parabola y2 = x3 between the points
(1,1) and (4,8).
Figure 3.16:
3.4 Arc length 43
0
Definition 3.4.2 If a curve has the equation x = g(y), c ≤ y ≤ d and g is continuous, then
s
Z d Z dq
dx 2 0
L= 1+( ) dy = 1 + (g (y))2 dy
c dy c
Example 3.12 Find the length of the arc of the parabola x = y2 between the points (0,0) and (1,1).
Figure 3.17:
dx
Solution. Since x = y2 , we have = 2y and then
dy
Z 1q Z 1p
L= 1 + (2y)2 dy = 1 + 4y2 dy
0 0
then Z
2 sec3 θ dθ = sec θ tan θ + ln | sec θ + tan θ |.
−1 2
Thus L = 12 21 [sec θ tan θ + ln | sec θ + tan θ |]tan
0 = 14 sec(tan−1 2) tan(tan−1 2) + ln | sec(tan−1 2) +
tan tan−1 2|.
Figure 3.18:
3.6 Excercises 45
Example 3.13 The arc of the parabola y = x2 from (1,1) to (2,4) is rotated about the y-axis. Find
the area of the resulting surface.
Figure 3.19:
dy
Solution. Using y = x2 then = 2x then
dx
Z 2 q Z 2 p
S= 2πx 1 + (2x)2 dx = 2π x 1 + 4x2 dx
1 1
3.6 Excercises
Exercise 3.1 Find the area of the shaded region.
46 Chapter 3. Applications of Integration
Exercise 3.2 Find the volume of the solid obtained by rotating the region bounded by the given
curves about the specified line.
1
1. y = 2 − x, y = 0, x = 1, x = 2; about the x-axis.
2
2. y = 1 − x2 , y = 0; about the x-axis.
3. y = ln x, y = 1, y = 2, x = 0; about the y-axis.
4. y = x3 , y = x, x ≥ 0; about the x-axis.
Exercise 3.3 Use the method of cylindrical shells to find the volume generated by rotating the
region bounded by the given curves about the y-axis. Sketch the region and a typical shell.
1
1. y = , y = 0, x = 1
x
2. y = x2 , y = 0, x = 1
Exercise 3.4 Use the method of cylindrical shells to find the volume of the solid obtained by
rotating the region bounded by the given curves about the x-axis. Sketch the region and a typical
shell.
1. x = 1 + y2 , x = 0, y = 1, y = 2
2. y = x3 , x = 0, y = 1
4. Improper Integrals
Any of the improper integrals in the definition, can be interpreted as an area provided
Z that f is a ∞
positive function. For instance, in case (a) we define the area of the region S by A = f (x)dx
a
48 Chapter 4. Improper Integrals
Figure 4.1:
1
Z ∞
Example 4.1 Determine whether the integral dx is convergent or divergent.
x 1
Solution. According to part (a) of the definition, we have
Z t
1 1
Z ∞
dx = lim dx = lim [ln |x|]t1
1 x t→∞ a x t→∞
= lim (lnt − ln 1).
t→∞
1
Z ∞
The limit does not exist as a finite number and so the improper integral dx is divergent.
1 x
Z 0
Example 4.2 Evaluate xex dx.
−∞
Solution. Using part (b) of the definition, we have
Z 0 Z 0
x
x e dx = lim x ex dx
−∞ t→−∞ t
0
We integrate by parts with u = x and v = ex so that
Z 0 Z 0
x
x e dx = [xex ]t0 − ex dx = −tet − 1 + et
t t
1
Z ∞
Theorem 4.1.1 The integral dx converge for all p > 1 and diverge for all p ≤ 1.
1 xp
Example 4.5
1 1 1
Z ∞ Z ∞ Z ∞
1. The integrals 2
dx, dx, dx, ... converges
Z1 ∞ x 1Z x3/2 1Z x4
1 ∞ 1 ∞ 1
2. The integrals dx, dx, dx, ... diverges
1 x1/2 1 x1/3 1 x2/5
4.3 Excercises
Exercise 4.1 Which of the following integrals are improper? Why?
Z 2
1
1. dx
Z1 1 2x − 1
1
2. dx
Z0 ∞ 2x − 1
sin x
3. dx
Z−∞
1 + x2
2
4. ln(x − 1)dx
1
4.3 Excercises 51
Exercise 4.2 Determine whether each integral is convergent or divergent. Evaluate those that
are convergent.
1
Z ∞
1. dx
(3x + 1)2
Z1 0
1
2. dx
−∞
Z −1
2x − 1
1
3. √ dx
Z−∞ 2 − x
∞
4. cos(πx)dx
Z−∞
ln x
∞
5. dx
Z1 3 x
1
6. √ dx
2 3−x
6. Appendix. Hyperbolic functions
Certain even and odd combinations of the exponential functions ex and e−x arise so frequently in
mathematics and its applications that they deserve to be given special names called hyperbolic
functions
The hyperbolic functions satisfy a number of identities that are similar to well-known trigono-
metric identities. We list some of them here and leave most of the proofs to the exercises.
70 Chapter 6. Appendix. Hyperbolic functions
Solution.(a)
2 2
ex + e−x ex − e−x e2x + 2 + e−2x e2x − 2 + e−2x 4
2 2
cosh x − sinh x = − = − = = 1.
2 2 4 4 4
(b) The derivatives of the hyperbolic functions are easily computed. We list here the differentiation
formulas for the hyperbolic functions
Example 6.2 Any of these differentiation rules can be combined with the Chain Rule. For
instance,
d √ d √ √
(cosh x) = ( x). sinh x
dx dx
You can see from Figures 1 and 3 that sinh and tanh are one-to-one functions and so they have
inverse functions denoted by sinh−1 and tanh−1 . Figure 2 shows that cosh is not one-to-one, but
when restricted to the domain [0, ∞) it becomes one-to-one. The inverse hyperbolic cosine function
is cosh−1 defined as the inverse of this restricted function.
71
Since the hyperbolic functions are defined in terms of exponential functions, it’s not surprising
to learn that the inverse hyperbolic functions can be expressed in terms of logarithms. In particular,
we have:
p
Example 6.3 Show that sinh−1 x = ln(x + x2 + 1)
−1
Solution. Let y = sinh x then
ey − e−y
x = sinh y =
2
so
ey − e−y − 2x = 0
or multiplying by ey
e2y − 2xey − 1 = 0
This is really a quadratic equation in T = ey ,
Therefore p
y = ln(ey ) = ln(x + x2 + 1)
The inverse hyperbolic functions are all differentiable because the hyperbolic functions are
differentiable. These formulas can be proved either by the method for inverse functions