































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
































⃝cFrancis Oketch
Lecture 5
Definition 4.1 (Integration). Integration is the reverse process of differentiation.
Suppose dydx = f ( x ). To obtain y , we integrate the function f ( x ) with respect to the independent variable x. This is put in notation form as
y = ..
∫ f ( x ) dx + C (^) ,
where C is a constant of integration and f ( x ) is the integrand. The following are the techniques of integration.
∫ xndx =
xn + n + 1 +^ C,^ for^ n^ ̸=^ −^1 ,
where C is a constant of integration.
Example(s):
(a)
∫ x^3 dx =
x 3+ 3 + 1 +^ C^ =^
x^4 4 +^ C.
(b)
∫ x −^7 dx = x
−7+ −7 + 1 +^ C^ =^ −^
x −^6 6 +^ C.
(c)
xdx =
∫ x^1 /^2 dx =
x^12 + 1 2 + 1
3 x
(d)
∫ x (1 − 3 x ) dx =
∫ ( x − 3 x^2 ) dx = x
2 2
− 3 · x
3 3
= x
2 2
− x^3 + C.
(e)
∫ (2 x − 3)^2 dx =
∫ (4 x^2 − 12 x + 9) dx =
3 x
(^3) − 6 x (^2) + 9 x + C.
(f) ∫ √ x + √ (^3) x + 6 x^2 dx^ =
∫ (^ x 1 / 2 x^2 +^
x^1 /^3 x^2 +
x^2
) dx =
∫ (^) ( x −^
(^32)
(^53)
) dx
= − 2 x −^
(^12) − 3 2
x −^
(^23) − 6 x −^1 + C
(g)
∫ (^) x 3 x + 1
dx.
Solution Since the degree of the polynomial in the numerator is greater than that in the denominator, long division yields
x^2 − x + 1 x + 1
) x^3 − x^3 − x^2 − x^2 x^2 + x x − x − 1 − 1
PAUL WACHIRA GITHAIGA, [email protected], CONTACT: +254 702 909 635
4.2 The u -substitution method ⃝cFrancis Oketch
Therefore, ∫ (^) x 3 x + 1
dx =
∫ ( x^2 − x + 1 − 1 x + 1
) dx = x
3 3
− x
2 2
This technique requires that a new variable, say u , be introduced in the integrand to reduce the problem to a form in which the power rule of integration can be applied.
Example(s):
(a) Evaluate
∫ (2 x + 1)^1 /^3 dx.
Solution Let u = 2 x + 1. Differentiating with respect to x yields du dx
= 2 ⇒ dx = du 2
. Substituting into the given integral, we get ∫ (2 x + 1)^1 /^3 dx =
∫ u^1 /^3 du 2
∫ u^1 /^3 du =^1 2
u^4 /^3
]
(2 x + 1)^4 /^3 + C
(b) Evaluate
∫ (^) x (1 − x^2 )^3 dx.
Solution Let u = 1 − x^2. Differentiating with respect to x yields
du dx =^ −^2 x^ ⇒^ dx^ =^ −^
du 2 x. Substituting into the given integral, we get ∫ (^) x (1 − x^2 )^3 dx^ =
∫ (^) x u^3
( −
du 2 x
) = −
∫ u −^3 du = −
− 2 u
− 2
]
4 (1^ −^ x
(c) Evaluate
∫ 5 x (1 + 3 x )^5 dx.
Solution Let u = 1 + 3 x. Differentiating with respect to x yields du dx
= 3. Therefore, dx = du 3
and
x =
3 ( u^ −^ 1). Substituting into the given integral, we get ∫ 5 x (1 + 3 x )^3 dx =
( u − 1) u^5
( (^) du 3
) =^5 9
∫ (^) ( u^6 − u^5
) du =^5 9
u^7 − 1 6
u^6
]
= 5 9
(1 + 3 x )^7 − 1 6
(1 + 3 x )^6
]
Exercise:
(a)
∫ (7 x − 2)^3 dx. [hint: put u = 7 x − 2, ans: =
28 (7 x^ −^ 2)
(b)
∫ 3 x
√ 1 + 2 x^2 dx. [hint: put u = 1 + 2 x^2 , ans: =^1 2
(1 + 2 x^2 )^3 /^2 + C ]
(c)
( x + 1)^2 dx.^ [hint: put^ u^ =^ x^ + 1, ans: =^
x + 1 +^ C ] (d)
∫ (3 x + 5)−^2 dx. [hint: put u = 3 x + 5, ans: = − 1 3
(3 x + 5)−^1 + C ]
4.2 The u -substitution method ⃝cFrancis Oketch
(a) Evaluate
∫ cos(4 x ) e sin 4 xdx. [hint: let u = sin 4 x , ans: =^1 4
e sin 4 x^ + c ]
(b) Is it possible to evaluate
∫ ex
2 dx?
4.2.2 Integrals of the form
∫ (^) f ′( x ) f ( x ) dx
In this case, we let u^ =^ .. f^ ( x ). Differentiating with respect to x yields du = f ′( x ) dx. Substituting yields (^) ∫ f ′( x ) f ( x )
dx =
u
du = ln | u | + c = ln | f ( x )| + c,
where c is a constant of integration.
Example(s):
(a) Evaluate
∫ (^) x − 3 x^2 − 6 x + 2 dx.
Solution Let u = x^2 − 6 x + 2. Differentiating with respect to x yields du dx
= 2 x − 6 ⇒ dx = du 2( x − 3)
Substituting into the given integral, we get ∫ (^) x − 3 x^2 − 6 x + 2 dx^ =
∫ (^) ( x − 3) u ·^
du 2( x − 3) =
u du^ =
2 ln^ | u |^ +^ C^ =
2 ln^ | x
(^2) − 6 x + 2| + C
(b) Evaluate
∫ tan xdx.
Solution Using the trigonometric identity tan x = sin^ x cos x
, we have ∫ tan xdx =
∫ (^) sin x cos x
dx
Let u = cos x. Differentiating with respect to x yields dudx = − sin x ⇒ dx = − (^) sin du x. Substituting into the given integral, we get ∫ (^) sin x cos x
dx =
∫ (^) sin x u
( − du sin x
) = −
u
du = − ln | u | + C = − ln | cos x | + C = ln | sec x | + C
Therefore, ..
∫ tan xdx = ln | sec x | + C
(c) Evaluate
∫ cot xdx.
Solution Using the trigonometric identity cot x = cos sin xx , we have ∫ cot xdx =
∫ (^) cos x sin x
dx
Let u = sin x. Differentiating with respect to x yields dudx = cos x ⇒ dx = (^) cos du x. Substituting into the given integral, we get ∫ (^) cos x sin x
dx =
∫ (^) cos x u
( (^) du cos x
u
du = ln | u | + C = ln | sin x | + C
4.2 The u -substitution method ⃝cFrancis Oketch
Therefore, ..
∫ cot xdx = ln | sin x | + C
(d) Evaluate
∫ sec xdx.
Solution Multiplying the numerator and denominator by (sec x + tan x ), we get ∫ sec xdx =
∫ (^) sec x (sec x + tan x ) sec x + tan x
dx =
∫ (^) sec (^2) x + sec x tan x sec x + tan x
dx
Let u = sec x + tan x. Differentiating with respect to x yields du dx
= sec x tan x + sec^2 x ⇒ dx = du sec x tan x + sec^2 x Substituting into the given integral, we get ∫ sec xdx =
∫ (^) sec (^2) x + sec x tan x sec x + tan x
dx =
∫ (^) (sec (^2) x + sec x tan x ) u
· du (sec x tan x + sec^2 x ) =
u du^ = ln^ | u |^ +^ C^ = ln^ |^ sec^ x^ + tan^ x |^ +^ C Therefore, ..
∫ sec xdx = ln | sec x + tan x | + C
(e) Evaluate
∫ cosec xdx.
Solution Multiplying the numerator and denominator by (cosec x + cot x ), we get ∫ cosec xdx =
∫ (^) cosec x (cosec x + cot x ) cosec x + cot x
dx =
∫ (^) cosec (^2) x + cosec x cot x cosec x + cot x
dx
Let u = cosec x + cot x. Differentiating with respect to x yields du dx
= −cosec x cot x − cosec^2 x ⇒ dx = − du (cosec x cot x + cosec^2 x ) Substituting into the given integral, we get ∫ (^) cosec (^2) x + cosec x cot x cosec x + cot x
dx =
∫ (^) cosec (^2) x + cosec x cot x u
( − du cosec x cot x + cosec^2 x
)
u du^ =^ −^ ln^ | u |^ +^ C^ =^ −^ ln^ |cosec^ x^ + cot^ x |^ +^ C Therefore, ..
∫ cosec xdx = − ln |cosec x + cot x | + C
Exercise:
(a) Evaluate
∫ (^) x 1 − 3 x^2 dx.^ [hint: let^ u^ = 1^ −^3 x
(^2) , ans: = − 1 6 ln^ |^1 −^3 x
(^2) | + c ]
(b) Evaluate
∫ (^4) x 2 x^3 − 7
dx
4.2 The u -substitution method ⃝cFrancis Oketch
Let u = 4 x. Differentiating with respect to x yields du dx
= 4 ⇒ dx = du 4
. Substituting into the given integral, we get ∫ cosec^2 (4 x ) dx =
∫ cosec^2 ( u ) · du 4
∫ cosec^2 ( u ) du = − 1 4
cot( u ) + C = − 1 4
cot(4 x ) + C
(e) Evaluate
∫ tan(5 x − 2) dx.
Solution Let u = 5 x − 2. Differentiating with respect to x yields
du dx = 5^ ⇒^ dx^ =^
du
∫ tan( u ) ·
du 5 =
∫ tan( u ) du =
5 ln^ |^ sec^ u |^ +^ C^ =
5 ln^ |^ sec(5 x^ −^ 2)|^ +^ C
(f) Evaluate
∫ ( x − 1) cot( x^2 − 2 x − 1) dx.
Solution Let u = x^2 − 2 x − 1. Differentiating with respect to x yields du dx
= 2 x − 2 ⇒ dx = du 2( x − 1)
Substituting into the given integral, we get ∫ ( x − 1) cot( x^2 − 2 x − 1) dx =
∫ ( x − 1) cot( u ) · du 2( x − 1)
∫ cot( u ) du =^1 2
ln | sin( u )| + C
=
2 ln^ |^ sin( x
(^2) − 2 x − 1)| + C
(g) Evaluate
∫ 2 x sec(4 x^2 + 5) dx.
Solution Let u = 4 x^2 + 5. Differentiating with respect to x yields du dx
= 8 x ⇒ dx = du 8 x
. Substituting into the given integral, we get ∫ 2 x sec(4 x^2 + 5) dx =
∫ 2 x sec( u ) · du 8 x
∫ sec( u ) du =^1 4
ln | sec( u ) + tan( u )| + C
= 14 ln | sec(4 x^2 + 5) + tan(4 x^2 + 5)| + C
(h) Evaluate
∫ cosec(2 x + 3) dx.
Solution Let u = 2 x + 3. Differentiating with respect to x yields
du dx = 2^ ⇒^ dx^ =^
du
∫ cosec( u ) ·
du 2 =
∫ cosec( u ) du = −
2 ln^ |cosec( u ) + cot( u )|^ +^ C = − 1 2
ln |cosec(2 x + 3) + cot(2 x + 3)| + C
Exercise:
4.2 The u -substitution method ⃝cFrancis Oketch
(a)
∫ ( x^2 + 1) sin( x^3 + 3 x − 5) dx
(b)
∫ e^2 x^ sin(5 − e^2 x ) dx
(c)
∫ cos(4 x + 5) dx
(d)
∫ e −^3 x^ cos(4 + e −^3 x ) dx
(e)
∫ (^) sec (^2) (√ x ) √ x dx (f)
∫ sin(2 x ) sec^2 (1 + cos 2 x ) dx
(g)
∫ e^3 x cosec^2 (1 + e^3 x ) dx
(h)
∫ ( x + 1)cosec^2 (2 x^2 + 4 x − 5) dx
(i)
∫ (^) tan(√ x ) √ x
dx
(j)
∫ ( x^2 − 1) tan(3 x^3 − 9 x − 7) dx
(k)
∫ (^) cot(√ x ) √ x dx
(l)
∫ cot(2 − x ) dx
(m)
∫ e^4 x^ cot(1 − e^4 x ) dx
(n)
∫ 2 x^2 sec(4 πx^3 + 6) dx
(p)
∫ ( x + 2)cosec( x^2 + 4 x − 3) dx
4.2.4 Integrals of the form
∫ f ( x ) · f ′( x ) dx
In this case, we let u^ =^ .. f^ ( x ). Differentiating with respect to x yields du = f ′( x ) dx. Substituting yields (^) ∫
f ( x ) · f ′( x ) dx =
∫ udu = u
2 2 +^ c^ =
2 [ f^ ( x )]
(^2) + c,
where c is a constant of integration.
Example(s):
(a) Evaluate
∫ sin x cos xdx
Solution Let u = sin x ⇒ du = cos xdx. Therefore, ∫ sin x cos xdx =
∫ udu = u
2 2
(^2) x 2
(b) Evaluate
∫ (^) ln x x dx
∫^ Solution ln x x dx^ =
∫ ln x ·
x dx. Let^ u^ = ln^ x^ ⇒^ du^ =
x dx. Therefore, ∫ (^) ln x x
dx =
∫ udu = u
2 2
(^2) x 2
(c) Evaluate
∫ (^) sin− (^1) x √ 1 − x^2
dx
∫^ Solution √sin−^1 x 1 − x^2
dx =
∫ sin−^1 x · √^1 1 − x^2
dx. Let u = sin−^1 x ⇒ du = √^1 1 − x^2
dx. Therefore, ∫ (^) sin− (^1) x √ 1 − x^2
dx =
∫ udu = u
2 2
− (^1) x ] 2 2
Exercise:
∫ 2 tan x sec^2 xdx
4.3 Trigonometric and hyperbolic substitutions ⃝cFrancis Oketch
Hence,
2 x^2 + 12 x + 32
dx =^1 2
( x + 3)^2 + 7
dx. Using trigonometric substitution, put x + 3 =
7 tan θ ⇒ dx =
7 sec^2 θdθ. So, 1 2
( x + 3)^2 + 7 dx^ =^
∫ √7 sec (^2) θdθ 7 tan^2 θ + 7 =
∫ √7 sec (^2) θdθ 7 sec^2 θ =
∫ dθ =
θ + c
=
tan−^1
( (^) x + 3 √ 7
)
Exercise:
(a) Evaluate
x^2 − 6 x + 16 dx.^ [ans:^ I^ =^
tan−^1
( (^) x − 3 √ 7
)
4.3.2 Integrals of the form
A^2 − x^2
dx
In this case, we put x = A sin θ and dx = A cos θdθ.
Justification : The given integral can be rewritten as^1 A
√ 1 − (^) Ax^22
dx. Comparing 1 − x
2 A^2
with
the trigonometric identity 1 − sin^2 θ = cos^2 θ , we have
x^2 A^2 = sin
(^2) θ ⇒ x = A sin θ
Differentiating with respect to θ yields dx dθ
= A cos θ. Making dx the subject yields dx = A cos θdθ.
→ Note: we use the identity for sine (or cosine) if the denominator of the integrand has a square root and the sign is negative.
Example(s):
(a) Evaluate
25 − x^2
dx
Solution Using trigonometric substitution, put x = 5 sin θ ⇒ dx = 5 cos θdθ. So, ∫ (^1) √ 25 − x^2
dx =
∫ (^) 5 cos θdθ √ 25 − 25 sin^2 θ
∫ (^) 5 cos θdθ √ 25 cos^2 θ
∫ (^) 5 cos θdθ 5 cos θ =^ θ^ +^ c = sin−^1
( (^) x 5
)
(b) Evaluate
3 − 2 x − x^2
dx
Solution We first complete the square in the denominator to get
3 − 2 x − x^2 = −( x^2 +2 x −3) = −
[ x^2 + 2 x +
) 2 − 3 −
) 2 ] = −
[ ( x + 1)^2 − 4
] = 4−( x + 1)^2
Hence, (^) ∫ √^1 3 − 2 x − x^2
dx =
√ 4 − ( x + 1)^2
dx
Using trigonometric substitution, put x + 1 = 2 sin θ ⇒ dx = 2 cos θdθ. So, ∫ (^1) √ 4 − ( x + 1)^2
dx =
∫ (^) 2 cos θdθ √ 4 − 4 sin^2 θ
∫ (^) 2 cos θdθ √ 4 cos^2 θ
∫ dθ = θ + c
= sin−^1
( (^) x + 1 2
)
4.3 Trigonometric and hyperbolic substitutions ⃝cFrancis Oketch
Exercise:
(a) Evaluate
∫^1
0
√ (^) x 2 − x dx^ [hint: put^ x^ = 2 sin
(^2) θ , ans: I = π 2 −^ 1]
4.3.3 Integrals of the form
x^2 + A^2
dx
In this case, we put x = A sinh θ and dx = A cosh θdθ.
Justification : The given integral can be rewritten as
√ 1 + (^) Ax^22
dx. Comparing 1 +
x^2 A^2 with
the hyperbolic identity 1 + sinh^2 θ = cosh^2 θ , we have
x^2 A^2 = sinh
(^2) θ ⇒ x = A sinh θ
Differentiating with respect to θ yields dx dθ
= A cosh θ. Making dx the subject yields dx = A cosh θdθ.
→ Note: we use the identity for hyperbolic sine (or hyperbolic cosine) if the denominator of the integrand has a square root.
Example(s):
(a) Evaluate
x^2 + 4
dx
Solution Using hyperbolic substitution, put x = 2 sinh θ ⇒ dx = 2 cosh θdθ. So, ∫ (^1) √ x^2 + 4
dx =
∫ (^) 2 cosh θdθ √ 4 sinh^2 θ + 4
∫ (^) 2 cosh θdθ √ 4 cosh^2 θ
∫ (^) 2 cosh θdθ 2 cosh θ
= θ + c
= sinh−^1
( (^) x 2
)
Exercise:
(a) Evaluate
x^2 + 5 x + 12
dx [ans: I = sinh−^1
( x + (^52) 5_._ 75
)
(b) Evaluate
2 x^2 + 8 x + 15
dx
4.3.4 Integrals of the form
x^2 − A^2
dx
In this case, we put x = A cosh θ and dx = A sinh θdθ.
Justification : The given integral can be rewritten as
√ x^2 A^2 −^1
dx. Comparing
x^2 A^2 −^ 1 with
the hyperbolic identity cosh^2 θ − 1 = sinh^2 θ , we have
x^2 A^2 = cosh
(^2) θ ⇒ x = A cosh θ
Differentiating with respect to θ yields dxdθ = A sinh θ. Making dx the subject yields dx = A sinh θdθ.
Example(s):
4.4 Integration of trigonometric functions ⃝cFrancis Oketch
Lecture 7
4.4.1 Integrals involving products of sines and cosines
In this case, we rewrite the integrand using the following trigonometric identities.
sin( A + B ) = sin A cos B + cos A sin B sin( A − B ) = sin A cos B − cos A sin B
Adding yields
sin A cos B =^1 .. 2 [sin( A^ +^ B ) + sin( A^ −^ B )]
The restriction is that A is associated with sine and B is associated with cosine. Also,
cos( A + B ) = cos A cos B − sin A sin B cos( A − B ) = cos A cos B + sin A sin B
Adding yields
cos A cos B =^1 .. 2
[cos( A − B ) + cos( A + B )]
Subtracting yields
sin A sin B =^1 .. 2 [cos( A^ −^ B )^ −^ cos( A^ +^ B )]
Further, sin(− A ) =..^ −^ sin^ A^ since sine is an odd function and cos(− A ) = + cos..^ A^ since cosine is an even function.
Example(s):
∫ sin 4 x cos 2 xdx =^12
∫ (sin 6 x + sin 2 x ) dx = − 12 1 cos 6 x − 14 cos 2 x + c
∫ cos 3 x sin 5 xdx =
∫ [sin 8 x −sin(− 2 x )] dx =
∫ [sin 8 x +sin 2 x ] dx = −
cos 8 x − 1 4
cos 2 x + c
∫ cos 4 x cos 6 xdx = 1 2
∫ [cos 10 x + cos(− 2 x )] dx = 1 2
∫ [cos 10 x + cos 2 x ] dx = 1 20 sin 10 x^ +
4 sin 2 x^ +^ c
∫ sin 5 x sin xdx =^1 2
∫ (cos 4 x − cos 6 x ) dx =^1 8
sin 4 x − 1 12
sin 6 x + c
Exercise:
∫ sin 3 x cos 7 xdx. [ans: I =
8 cos 4 x^ −^
20 cos 10 x^ +^ c ]
4.4.2 Integrals involving powers of sines and cosines
Case 1 : Even powers of sines and cosines
In this case, we use the following trigonometric identities to express the integrand in terms of cosines and sines of multiples of x. From
cos^2 θ − sin^2 θ = cos 2 θ and cos^2 θ + sin^2 θ = 1
Solving the above equations simultaneously yields the following identities.
4.4 Integration of trigonometric functions ⃝cFrancis Oketch
i) cos^2 θ =^1 2
(1 + cos 2 θ ).
ii) sin^2 θ =^1 2
(1 − cos 2 θ ).
Example(s):
(a)
∫ sin^2 4 xdx (b)
∫ cos^2 5 xdx (c)
∫ cos^4 2 xdx (d)
∫ cos 5 x sin^2 3 xdx
Solution (a)
∫ sin^2 4 xdx =
∫ (1 − cos 8 x ) dx =
( x −
8 sin 8 x
)
(b)
∫ cos^2 5 xdx =
∫ (1 + cos 10 x ) dx =
( x +
10 sin 10 x
)
∫ (cos^2 2 x )^2 dx =
∫ (^) (1 + cos 4 x ) 2 4
dx =^1 4
∫ (1 + 2 cos 4 x + cos^2 4 x ) dx
= 1 4
∫ ( 1 + 2 cos 4 x + 1 + cos 8 x 2
) dx =^1 4
cos 8 x
) dx
= (^14)
2 x^ +
2 sin 4 x^ +
16 sin 8 x
)
(d) ∫ cos 5 x sin^2 3 xdx =
∫ cos 5 x
( (^1) − cos 6 x 2
) dx =
∫ (cos 5 x − cos 5 x cos 6 x ) dx
=
∫ ( cos 5 x −
cos 11 x + cos x 2
) dx
= 1 4
∫ (2 cos 5 x − cos 11 x − cos x ) dx
= 1 4
sin 5 x − 1 11
sin 11 x − sin x
)
Exercise:
(a)
∫ sin^4 3 xdx
(b)
∫ sin^6 xdx
(c)
∫ cos^6 xdx
(d)
∫ sin 3 x cos^2 2 xdx
(e)
∫ cos^6 x sin 7 xdx
(f)
∫ sin^2 x cos 3 xdx
Case 2 : Odd powers of sines and cosines
In this case, we use the trigonometric identity cos^2 θ + sin^2 θ = 1 after breaking the power into a product of even and odd powers of sines and/or cosines.
Example(s):
4.4 Integration of trigonometric functions ⃝cFrancis Oketch
Back substitution yields
tan^5 x = tan^3 x sec^2 x − tan x sec^2 x + tan x tan^7 x = tan^5 x sec^2 x − tan^3 x sec^2 x + tan x sec^2 x − tan x =
( tan^5 x − tan^3 x + tan x
) sec^2 x − tan x
Therefore, (^) ∫ tan^7 xdx =
∫ (^) ( tan^5 x − tan^3 x + tan x
) sec^2 xdx −
∫ tan xdx
In the first integral, we let u = tan x ⇒ du = sec^2 xdx. Substituting yields ∫ tan^7 xdx =
∫ (^) ( u^5 − u^3 + u
) du −
∫ (^) sin x cos x
dx
=
6 u
4 u
2 u
(^2) + ln(cos x ) + c
= 1 6
tan^6 x − 1 4
tan^4 x +^1 2
tan^2 x + ln(cos x ) + c
(a)
∫ sin^5 3 xdx (b)
∫ cos^3 8 xdx (c)
∫ sin^7 xdx (d)
∫ cos^7 xdx
4.4.3 Integrals involving rational functions with sines and cosines in the denominator
In this case, we use the t −method of substitution. We consider the following two cases.
Case 1: Integrals of the form
a + b sin^2 x + c cos^2 x
dx
In this case, we put t^ = tan..^ x^ so that
dt dx = sec
(^2) x ⇒ dx = dt sec^2 x =^
dt 1 + tan^2 x ⇒^ dx^ =^
dt 1 + t^2.
sin x = √ t 1 + t^2
and cos x =
1 + t^2
(from SOHCAHTOA)
Example(s):
3 + cos^2 x dx
Solution Put t = tan x ⇒ dx =
dt 1 + t^2 ,^ and^ cos^ x^ =^
1 + t^2
. Hence,
∫ (^1) 3 + cos^2 x dx^ =
{ 3 + 1 1 + t^2
} dt (1 + t^2 ) =
∫ (^) (1 + t (^2) ) (4 + 3 t^2 )
dt (1 + t^2 )
4 + 3 t^2 dt.^ Again put^ t^ =^
tan θ ⇒ dt =
sec^2 θdθ
= √^2 3
∫ (^) sec (^2) θ [ 4 + 4 tan^2 θ
] (^) dθ = √^2 3
∫ (^) sec (^2) θ 4 sec^2 θ
dθ = 1 2
∫ dθ
θ + c =
tan−^1
3 t 2
)
tan−^1
3 tan x 2
)
4.4 Integration of trigonometric functions ⃝cFrancis Oketch
2 sin^2 x + 4 cos^2 x
dx
Solution Put t = tan x ⇒ dx = dt 1 + t^2
, sin x = √ t 1 + t^2
and cos x = √^1 1 + t^2
. Hence,
∫ (^1) 2 sin^2 x + 4 cos^2 x dx^ =
{ 2 · t
2 1 + t^2
1 + t^2
} dt (1 + t^2 ) =
∫ (^) (1 + t (^2) ) (2 t^2 + 4)
dt (1 + t^2 )
2 t^2 + 4 dt.^ Again put^ t^ =^
2 tan θ ⇒ dt =
2 sec^2 θdθ
=
∫ √2 sec (^2) θ [ 4 tan^2 θ + 4
] (^) dθ =
∫ √2 sec (^2) θ 4 sec^2 θ
dθ =
∫ dθ
=
θ + c =
tan−^1
( (^) t √ 2
)
tan−^1
( (^) tan x √ 2
)
Case 2: Integrals of the form
a + b sin x + c cos x
dx
In this case, we put t^ = tan..
( (^) x 2
) so that
dt dx
sec^2
( (^) x 2
) ⇒ dx = 2 dt sec^2
( (^) x 2
) = 2 dt 1 + tan^2
( (^) x 2
) ⇒ dx = 2 dt 1 + t^2
sin
( (^) x 2
) = √ t 1 + t^2
and cos
( (^) x 2
) = √^1 1 + t^2
(from SOHCAHTOA).
Therefore, sin x = 2 sin
( (^) x 2
) cos
( (^) x 2
) = 2 · √ t 1 + t^2
1 + t^2
= 2 t 1 + t^2 and cos x = cos^2
( (^) x 2
) − sin^2
( (^) x 2
1 + t^2 −^
t^2 1 + t^2 =
1 − t^2 1 + t^2
Example(s):
5 + 4 cos x dx
Solution Put t = tan
( (^) x 2
) ⇒ dx = 2 dt 1 + t^2
, cos
( (^) x 2
) = √^1 1 + t^2
, and cos x =^1 −^ t
2 1 + t^2
. Hence,
∫ (^1) 5 + 4 cos x dx^ =
{ 5 + 4 · 1 −^ t
2 1 + t^2
} 2 dt (1 + t^2 ) = 2
∫ (^) (1 + t (^2) ) (9 + t^2 )
2 dt (1 + t^2 )
9 + t^2
dt. Again put t = 3 tan θ ⇒ dt = 3 sec^2 θdθ
= 2
∫ (^) 3 sec (^2) θ [ 9 + 9 tan^2 θ
] dθ = 6
∫ (^) sec (^2) θ 9 sec^2 θ
dθ =^2 3
∫ dθ
3 θ^ +^ c^ =
3 tan
− 1
( (^) t 3
)
3 tan
− 1
( tan
( (^) x 2
)
3
)
4.5 Integration by parts ⃝cFrancis Oketch
Lecture 8
The integration by parts formula, derived from the product rule of differentiation, is given as
..
∫ ud v = u v −
∫ v du
Proof. Let u and v be functions of x. Differentiating the product u v with respect to x using the product rule of differentiation, we get
d ( u v) dx
= u d v dx
Rearranging yields
u
d v dx =^
d ( u v) dx −^ v^
du dx Integrating both sides with respect to x yields ∫ u d dx v dx =
∫ (^) d ( u v) dx dx^ −
∫ v dudx dx
Simplifying yields
∫ ud v = u v −
∫ v du.
→ Note: the parts formula is used when we have a product of two functions and either function is not the derivative of the other. We have to decide which function to take as u and which to link to d v. The following steps are necessary when using the parts formula.
To identify u , use the LIATEC rule. The remaining function(s) and dx form d v.
L − Logarithmic function I − Inverse function A − Algebraic function T − Trigonometric function E − Exponential function C − Constant term For example, to evaluate:
(a)
∫ x^3 ln xdx , put u = ln x and d v = x^3 dx.
(b)
∫ ex^ cos xdx , put u = cos x and d v = exdx.
Differentiate u with respect to x and make du the subject.
Integrate d v with respect to x and disregard the constant of integration because a single constant will be added to the last step.
Substitute the above results in the parts formula. Terminate the process if the last integrand can be integrated or repeat the process if the last integrand still contains product of functions or collect like terms if the last integrand is the same as the starting integrand. If the LIATEC rule fails, then u must be a group of functions that can be differentiated easily and d v must be a group of functions that can be integrated easily.
Example(s):
4.5 Integration by parts ⃝cFrancis Oketch
∫ x^2 ln xdx
Solution Put u = ln x and d v = x^2 dx ⇒ du =
x dx^ and^ v^ =^
x^3
∫ v du
= x
3 3
ln x − 1 3
∫ x^3 · 1 x
dx = x
3 3
ln x − 1 3
∫ x^2 dx
= x
3 3
ln x − x
3 9
∫ x^2 sin xdx
Solution Put u = x^2 and d v = sin xdx ⇒ du = 2 xdx and v = − cos x. Therefore, ∫ x^2 sin xdx = u v −
∫ v du
= − x^2 cos x −
∫ (− cos x ) · 2 xdx = − x^2 cos x + 2
∫ x cos xdx
Since the last integrand still contains product of functions of x , we use another integration by parts. Put u = x and d v = cos xdx ⇒ du = dx and v = sin x. Therefore, ∫ x cos xdx = u v −
∫ v du
= x sin x −
∫ sin xdx = x sin x + cos x + c
Hence, back substitution yields ∫ x^2 sin xdx = − x^2 cos x + 2 x sin x + 2 cos x + c 1
∫ ex^ cos xdx
Solution Put u = cos x and d v = exdx ⇒ du = − sin xdx and v = ex. Therefore, ∫ ex^ cos xdx = u v −
∫ v du
= ex^ cos x −
∫ ex^ · (− sin xdx ) = ex^ cos x +
∫ ex^ sin xdx
Since the last integrand still contains product of functions of x , we use another integration by parts. Put u = sin x and d v = exdx ⇒ du = cos xdx and v = ex. Therefore, ∫ ex^ sin xdx = u v −
∫ v du
= ex^ sin x −
∫ ex^ cos xdx
Hence, back substitution yields ∫ ex^ cos xdx = ex^ cos x + ex^ sin x −
∫ ex^ cos xdx
Since the last integrand is the same as the starting integrand, we collect like terms to get
2
∫ ex^ cos xdx = ex^ cos x + ex^ sin x ⇒
∫ ex^ cos xdx =
2 ( e
x (^) cos x + ex (^) sin x ) + c