Techniques of Integration
Techniques of Integration
Math 27
Analytic Geometry and Calculus II
Math 27
Outline
1 Integration formulas
2 Integration by Parts
4 Trigonometric Substitution
8 Numerical Integration
Review
Elementary
Z
Forms
du = u + C
Z Z
kdu = k du = ku + C, where k is a constant.
Z Z Z
[f (u) ± g (u)] du = f (u) du ± g (u) du
un+1
Z
un du = + C, where n 6= −1.
n+1
Logarithmic and Exponential Functions
Trigonometric and Inverse Trigonometric Functions
Hyperbolic and Inverse Hyperbolic Functions
Math 27
Outline
1 Integration formulas
2 Integration by Parts
4 Trigonometric Substitution
8 Numerical Integration
Obtaining the Formula for IBP
0 0
Dx [f (x) g (x)] = f (x)g(x) + f (x)g (x)
Z Z Z
0 0
Dx [f (x) g (x)]dx = f (x)g(x)dx + f (x)g (x)dx
Z Z
0 0
f (x) g (x) = f (x)g(x)dx + f (x)g (x)dx
Z Z
0 0
f (x)g (x)dx = f (x) g (x) − f (x)g(x)dx
Math 27
Obtaining the Formula for IBP
Z Z
0 0
f (x)g (x)dx = f (x) g (x) − f (x)g(x)dx
0 0
Let u = f (x) and v = g(x). Then du = f (x) and dv = g (x).
So,
Z Z
udv = uv − vdu
Math 27
Examples
Z
1. x cos xdx
Z
2. e3y ydy
Z
3. x2 sin 3xdx
Z
4. ex cos xdx
Math 27
Outline
1 Integration formulas
2 Integration by Parts
4 Trigonometric Substitution
8 Numerical Integration
Recall: Derivatives and Integrals of
Trigonometric Functions
Z
Dx (sin u) = cos uDx u ; cos udu = sin u + C
Z
Dx (cos u) = − sin uDx u ; sin udu = − cos u + C
Z
Dx (tan u) = sec2 uDx u ; sec2 udu = tan u + C
Z
Dx (cot u) = − csc2 uDx u ; csc2 udu = − cot u + C
Z
Dx (sec u) = sec u tan uDx u ; sec u tan udu = sec u + C
Dx (csc u) = − csc u cot uDx u ;
Z
csc u cot udu = − csc u + C
Math 27
Recall: Integrals of Trigonometric Functions
Z
tan udu = − ln |cos u| + C = ln |sec u| + C
Z
cot udu = ln |sin u| + C
Z
sec udu = ln |sec u + tan u| + C
Z
csc udu = ln |csc u − cot u| + C
Math 27
Powers of Sine and Cosine
Case 1
Z Z
n
sin udu or cosn udu,
Math 27
Powers of Sine and Cosine
Case 2
Z Z Z
sinn udu or cosn udu or sinn u cosm udu
Substitute
1 − cos 2u 1 + cos 2u
sin2 u = or/and cos2 u =
2 2
Math 27
Powers of Sine and Cosine
Case 3
Z
sinn u cosm udu
Apply Case 1
Math 27
Powers of Tangent and Cotangent
Case 1
Z Z
n
tan udu or cotn udu
Math 27
Powers of Tangent, Cotangent, Secant and
Cosecant
Case 2
Z Z
n
sec udu or cscn udu
Math 27
Powers of Tangent, Cotangent, Secant and
Cosecant
Case 3
Z Z
tann u secm udu or cotn u cscm udu
Math 27
Powers of Tangent, Cotangent, Secant and
Cosecant
Case 4
Z Z
tann u secm udu or cotn u cscm udu
Math 27
Powers of Tangent, Cotangent, Secant and
Cosecant
Case 5
Z Z
n
sec udu or cscn udu
Math 27
Powers of Tangent, Cotangent, Secant and
Cosecant
Case 6
Z Z
n m
tan u sec udu or cotn u cscm udu
Math 27
Outline
1 Integration formulas
2 Integration by Parts
4 Trigonometric Substitution
8 Numerical Integration
Outline
1 Integration formulas
2 Integration by Parts
4 Trigonometric Substitution
8 Numerical Integration
Outline
1 Integration formulas
2 Integration by Parts
4 Trigonometric Substitution
8 Numerical Integration
Objectives
Math 27
Distinct Linear Factors
5x − 3
Z
dx
x2− 2x − 3
Solution:
x2 − 2x − 3 = (x + 1) (x − 3)
5x − 3 A B
= +
x2 − 2x − 3 x+1 x−3
5x − 3 A (x − 3) + B (x + 1)
=
x2 − 2x − 3 (x + 1) (x − 3)
5x − 3 A (x − 3) + B (x + 1)
(x + 1) (x − 3) 2 = (x + 1) (x − 3)
x − 2x − 3 (x + 1) (x − 3)
5x − 3 = A (x − 3) + B (x + 1)
5x − 3 = (A + B) x − 3A + B
Math 27
Distinct Linear Factors
A + B = 5 and − 3A + B = −3
By elimination, A = 2 and B = 3.
So,
5x − 3 A B
= +
x2 − 2x − 3 x+1 x+1
5x − 3 2 3
2
= +
x − 2x − 3 Zx + 1 x − 3Z
5x − 3
Z
2 3
2
dx = dx + dx
x − 2x − 3 x+1 x−3
= 2 ln |x + 1| + 3 ln |x − 3| + C
5x − 3
Z
∴ dx = 2 ln |x + 1| + 3 ln |x − 3| + C
x2 − 2x − 3
Math 27
Repeated Linear Factor
Z
6x + 7
x2 + 4x + 4
Solution:
x2 + 4x + 4 = (x + 2)2
6x + 7 A B
= +
x2 + 4x + 4 x + 2 (x + 2)2
Math 27
Outline
1 Integration formulas
2 Integration by Parts
4 Trigonometric Substitution
8 Numerical Integration
Outline
1 Integration formulas
2 Integration by Parts
4 Trigonometric Substitution
8 Numerical Integration
Trapezoidal Rule
Math 27
Trapezoidal Rule
Area of a trapezoid:
y1 − y0 (y0 + y1 ) ∆x
A = y0 ∆x + ∆x =
2 2
Math 27
Multiple Segment Trapezoidal Rule
Math 27
Trapezoidal Rule
Example
Use the trapezoidal rule with n = 8 to estimate
Z 5p
1 + x2 dx.
1
Math 27
Trapezoidal Rule
Math 27
Trapezoidal Rule
Math 27
Simpson’s Rule
Math 27
Simpson’s Rule
Math 27
Simpson’s Rule
Z b
f (x)dx
a
b−a
≈ [f (x0 ) + 4f (x1 ) + 2f (x2 ) + · · · + 2f (xn−2 ) + 4f (xn−1 ) + f (xn )] .
3n
Math 27
Simpson’s Rule
Example
With n = 6, approximate
Z 4p
x3 + 1 dx.
1
Math 27