Integration 1.0 Indefinite Integral Definition 1: D D X FX X FX DX DX
Integration 1.0 Indefinite Integral Definition 1: D D X FX X FX DX DX
CHAPTER 1:
INTEGRATION
1.0 Indefinite Integral
Definition 1
Given a function, f ( x), on some interval, I , F ( x) is called an antiderivative if F '( x) f ( x).
x3
Example 1. Given f ( x) x 2 . Then F ( x) is an antiderivative of f ( x).
3
d d x3
Since F ( x) x 2 f ( x).
dx dx 3
x3
Example 2. Given f ( x) x 2 . Show that F ( x ) 4 is also an antiderivative of f ( x).
3
d d x3 d x3 d
Since F ( x) 4 4 x 2 0 x 2 f ( x).
dx dx 3 dx 3 dx
x3
Conclusion: F ( x ) C represents the family of all possible antiderivative of f ( x) x 2 .
3
The process of finding antiderivative is also called an integration that is;
d
F ( x) f ( x)
dx
f ( x)dx F ( x) C
where C is arbitrary constant and F ( x) C is called the indefinite integral or the integral without
limits of integration.
d
f ( x)dx f ( x).
dx
Note:
1
ENGINEERING MATHEMATICS II
dx
d
cot x csc2 x , csc x dx cot x C
2
dx
d
cot x csc2 x
dx
d
sec x sec x tan x sec x tan x dx sec x C
dx
d
csc x csc x cot x , csc x cot x dx csc x C
dx
d
csc x csc x cot x
dx
x
4
a) dx
1
b) x 3
dx
c) xdx
2
ENGINEERING MATHEMATICS II
Solution:
x5
a) x 4 dx C.
5
1 x 2 1
x3
3
b) dx x dx C 2 C.
2 2x
3
1
x 2
2 32
c) xdx x dx
2
3
C x C.
3
2
x dx
4 3
b)
c) sec x tan x dx
Solution:
1. cf ( x)dx c f ( x)dx
2. f ( x) g ( x)dx f ( x)dx g ( x)dx
3. f ( x) g ( x)dx f ( x)dx g ( x)dx
Example 5. Evaluate the following integrals.
a) 2 x dx
b) 1 x dx
c) 4 cos x dx
3
ENGINEERING MATHEMATICS II
Solution:
x2
a) 2 x dx 2 x dx 2 C x 2 C.
2
x2
b) 1 x dx x C.
2
x x dx
2
a)
x 2 x 3 dx
2 2
b)
cos x
c) sin2
x
dx
t 2 2t 4
d) dt
t4
Solution:
4
ENGINEERING MATHEMATICS II
In the previous section, we learn about indefinite integral, that is f ( x)dx , is a function. In this
b
section, we will learn about definite integral, f ( x)dx.
a
Definite integral is the integral with the
where a and b are constants and known as lower and upper limit of the integration.
b
In other words, f ( x)dx
a
is a number.
a) 2 dx
0
2
x 2 x dx
2
b)
1
5
ENGINEERING MATHEMATICS II
Solution:
2
a) 2 dx 2 x 0 4 0 4.
2
2 2
2
x3 2 x 2 x3 2 8 1 2
b) x 2 x dx
2
x 4 1 .
1 3 2 1 3 1 3 3 3
2e
x
b) + sin x dx
0
Solution:
6
ENGINEERING MATHEMATICS II
2 x x +1
2 50
a) dx
x x 4 dx
2 3 5
b)
Solution:
a) 2 x x 2 +1
50
dx
Step 1:
u x 2 +1
du
2x
dx
Step 2:
2x x +1
du 50
dx u dx u 50 du
2 50
dx
Step 3:
u 51
u du C
50
51
Step 4:
x 2 1
51
u 51
C C.
51 51
b) x 2 x3 4 dx
5
Step 1:
u x3 4
du
3x 2
dx
7
ENGINEERING MATHEMATICS II
Step 2:
x x 4 dx
du 1
u dx u 5 du
2 3 5 5
3dx 3
1 u6
C
3 6
1 3
x 4 C.
6
18
Step 3:
1 5 1 u6 u6
3
u du C C.
3 6 18
Step 4:
u6
C x 3 4 C.
1 6
6 18
5x 3 dx
15
a)
b) cos 5 x dx
2 x sin x dx
3 4
c)
1
d) x sec2 x dx
2
cos x
e) x
dx
8
ENGINEERING MATHEMATICS II
Solution:
9
ENGINEERING MATHEMATICS II
u dv uv v du
d
Step 1: Choose ‘u’ so that the ' dv ' is possible and ' u ' is better.
dx
Step 2: Substitute ‘du’ and ‘v’ into the formula and solve the integration
Example 10. Solve the following integrals by using integration by parts.
xe dx
x
a)
x ln x dx
3
b)
x sin 2 x dx
2
c)
e sin 2 x dx
x
d)
Solution:
a) xe x dx
Step 1:
ux dv e x dx
du
1 v e x dx e x
dx
Step 2:
xe dx xe e dx
x x x
= xe x e x C.
b) x 3 ln x dx
Step 1:
u ln x dv x3dx
du 1 x4
v x3dx
dx x 4
10
ENGINEERING MATHEMATICS II
Step 2:
x 4 x 4 dx
x ln x dx ln x 4 4 x
3
x4 1
= ln x x 3 dx
4 4
x 4
1 x4
= ln x C
4 4 4
x4 x4
= ln x C.
4 16
c) x 2 sin 2 x dx
Step 1:
u x2 dv sin 2 xdx
du 1
2 x v sin 2 xdx cos 2 x
dx 2
Step 2:
1 1
x sin 2 x dx x cos 2 x cos 2 x 2 xdx
2
2 2
1
= x 2 cos 2 x x cos 2 xdx (*)
2
x cos 2 xdx
ux dv cos 2 xdx
du 1
1 v cos 2 xdx sin 2 x
dx 2
1 1
x cos 2 xdx x 2 sin 2 x 2 sin 2 xdx
1 1 1
= x sin 2 x cos 2 x
2 2 2
1 1
= x sin 2 x cos 2 x (**)
2 4
11
ENGINEERING MATHEMATICS II
1 1 1
= x 2 cos 2 x x sin 2 x cos 2 x
2 2 4
1 1 1
= x 2 cos 2 x x sin 2 x cos 2 x C.
2 2 4
d) e x sin 2 x dx
Step 1:
u ex dv sin 2 xdx
du 1
ex v sin 2 xdx cos 2 x
dx 2
Step 2:
1 1
e
x
sin 2 x dx e x cos 2 x cos 2 x e x dx
2 2
1 1
= e x cos 2 x e x cos 2 xdx (*)
2 2
e
x
cos 2 xdx
u ex dv cos 2 xdx
du 1
ex v cos 2 xdx sin 2 x
dx 2
x1 1 x
e cos 2 xdx e 2 sin 2 x 2 sin 2 x e dx
x
1 1
= sin 2 x e x sin 2 xdx (**)
2 2
Substitute (**) into (*)
1 1
e sin 2 x dx e x cos 2 x e x cos 2 xdx
x
2 2
1 1 1 1
= e x cos 2 x sin 2 x e x sin 2 xdx
2 2 2 2
1 1 1
e x cos 2 x sin 2 x e x sin 2 xdx
2 4 4
12
ENGINEERING MATHEMATICS II
5 x 1 1
4 e sin 2 x dx e x cos 2 x sin 2 x
2 4
4 1 x 1
e sin 2 x dx 5 2 e cos 2 x 4 sin 2 x
x
2 1
e x cos 2 x sin 2 x C.
5 5
a) ln x dx
x cos x dx
2
b)
Solution:
13
ENGINEERING MATHEMATICS II
Note: Choose ‘u’ so that ‘u’ can be differentiated repeatedly (until becoming zero) and v’ can be
integrated repeated easily.
Example 12. Solve the following integrals by using integration by tabular method.
x e dx
2 2x
a)
x sin x dx
2
b)
e sin x dx
x
c)
d) cos 2 x sin x dx
Solution:
a) x 2 e 2 x dx
b) x 2 sin x dx
14
ENGINEERING MATHEMATICS II
c) e x sin x dx
e
x
sin x dx e x cos x e x sin x e x sin x dx
d) cos 2 x sin x dx
15
ENGINEERING MATHEMATICS II
Example 13. Solve the following integrals by using integration by tabular method.
2 x e dx
2 3x
a)
e sin 2 x dx
2x
b)
2 x cos 3x dx
3
c)
d) 3cos 3x sin 2 x dx
Solution:
16
ENGINEERING MATHEMATICS II
x
b) dx
x 1
Solution:
3x 2
a) x 2
3x 2
dx
Step 1: Factorize denominator and then, decompose fraction into partial fraction
3x 2 3x 2 A B
x 3 x 2 x 1 x 2 x 1 x 2
2
Let x 2
3 2 2 A 2 2 B 2 1
4 B
B4
Let x 1
17
ENGINEERING MATHEMATICS II
3 1 2 A 1 2 B 1 1
1 A
A 1
3x 2 1 4
x 1 x 2 x 1 x 2
3x 2 1 4
x 1 x 2 dx
x 1 x 2
dx
= ln x 1 4 ln x 2 C
x 2
4
=ln C.
x 1
x
b) x 1 dx
x 1
By long division, we have 1
x 1 x 1
x 1
x 1 dx 1 x 1 dx x ln x 1 C.
Example 15. Solve the following integrals by using integration by partial fractions.
x 3
a) 3x 2
2x 5
dx
x2
b) x 1 dx
Solution:
18
ENGINEERING MATHEMATICS II
h n 1
b
f ( x)dx
2
f ( a ) f (b ) 2
i 1
f a ih
a
ba
where n
h
Step 1: Determine h, a, b, n
i xi a ih f xi f a ih
0 a f a
1 a 1h f a 1h
2 a 2h f a 2h
n b f b
Sum f a + f b n 1
f a ih
i 1
19
ENGINEERING MATHEMATICS II
2
1
Example 16. Solve x dx with n 10. Write your answer to 3 decimal places.
1
b a 2 1
h 0.1
n 10
i xi a ih f xi f a ih
0 1 1
1 1.1 0.909
2 1.2 0.833
3 1.3 0.769
4 1.4 0.714
5 1.5 0.667
6 1.6 0.625
7 1.7 0.588
8 1.8 0.556
9 1.9 0.526
10 2 0.5
Sum 1.5 6.187
2
1 0.1
x dx 1.5 2(6.187) 0.694
1
2
20
ENGINEERING MATHEMATICS II
b n 1 n 1
h
f ( x)dx f (a) f (b) 4 f a ih 2 f a ih
3 i 1 i 1
a
i odd i even
ba
where n
h
Step 1: Determine h, a, b, n
i xi a ih f xi f a ih
0 a f a
1 a 1h f a 1h
2 a 2h f a 2h
3 a 3h f a 3h
4 a 4h f a 4h
n b f b
Sum f a + f b n 1 n 1
i 1
f a ih f a ih
i 1
i odd i even
21
ENGINEERING MATHEMATICS II
2
1
Example 17. Solve x dx with n 10. Write your answer to 3 decimal places.
1
b a 2 1
h 0.1
n 10
i xi a ih f xi f a ih
0 1 1
1 1.1 0.909
2 1.2 0.833
3 1.3 0.769
4 1.4 0.714
5 1.5 0.667
6 1.6 0.625
7 1.7 0.588
8 1.8 0.556
9 1.9 0.526
10 2 0.5
Sum 1.5 3.459 2.728
2
1 0.1
x dx 1.5 4(3.459) 2(2.728) 0.693.
1
3
2
1
Example 18. Solve
1 x 1
dx by using Trapezoidal rule with n 10. Write your answer to 3
decimal places.
22
ENGINEERING MATHEMATICS II
2
1
Example 19. Solve
1 x 1
dx by using Simpson’s rule with n 10. Write your answer to 3
decimal places.
23
ENGINEERING MATHEMATICS II
Tutorial 1
1. Find the following general indefinite integrals.
a) x5 2 x3 4e 2 x dx
x
2
b) x dx
1 x
2
c) dx
x5
d) 4
x
dx
3sin sec d
2
d)
4
ln x
c) x
dx
e
cos x
d) sin x dx
4. Evaluate the following integrals by using integration by parts method.
a) t sec 2t dt
3x 5 e dx
4 x
b)
c) 3x 5 sin 2 x 3 dx
e cos x dx
x
d)
24
ENGINEERING MATHEMATICS II
x4
c) x 2 dx
5 x3 x 2
d) x 2 1 dx
6. Use the trapezoidal and Simpson’s rule with n 8 to solve the following integrals. Write
your answers to 3 decimal places.
5
a)
1
1 x 2 dx
3
ln 2 x 3
b) 2 e x dx
25