Professional Documents
Culture Documents
Lesson 15
Wang Fei
matwf@nus.edu.sg
Department of Mathematics
Office: S14-02-09
Tel: 6516-2937
Chapter 5: Integrals 2
Definite Integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Geometric Meaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Fundamental Thm (I) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Fundamental Thm (II). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Indefinite Integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Substitution Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1
Chapter 5: Integrals 2 / 31
Example
Pn 2i 10 2
• Express lim 5+ as a definite integral.
n→∞ i=1 n n
Z b n
P
◦ f (x) dx = lim f (x∗i )∆x.
a n→∞ i=1
2 b−a
◦ Suppose = ∆x = .
n n
• We may choose a = 0 and b = 2.
2i
Then xi = a + i · ∆x = .
n
2i 10 2i
◦ Suppose 5 + = f (x∗i ) = f (xi ) = f .
n n
10
• Take f (x) = (5 + x) .
n 2
Z 2
2i 10
(5 + x)10 dx.
P
◦ Then lim 5+ =
n→∞ i=1 n n 0
3 / 31
y = f (x)
Z b
A= f (x) dx
a
O a b x
Z 1 √ π
◦ For example, 1 − x2 dx = .
0 4
4 / 31
2
Geometric Meaning of Integration
• Let f be a continuous function on [a, b].
How about if f (x) < 0 for some x?
y
y = f (x)
A−
a
O b x
A+
5 / 31
6 / 31
3
Properties of Definite Integral
Z b
• c dx = (b − a)c.
a
y
c
A = (b − a)c
O a b x
7 / 31
8 / 31
4
Properties of Definite Integral
• Let f be a continuous function.
Z c Z b Z b
◦ f (x) dx + f (x) dx = f (x) dx
a c a
O a c b x
Z c Z b Z b
f (x) dx + f (x) dx = f (x) dx
a c a
9 / 31
y
y = f (x)
Z b
f (x) dx ≥ 0
a
O a x
b
n
P
◦ Riemann sum: Sn = f (x∗i )∆x ≥ 0.
i=1
Z b
◦ f (x) dx = lim Sn ≥ 0.
a n→∞
10 / 31
5
Properties of Definite Integral
• Let f and g be continuous and f (x) ≥ g(x) on [a, b].
Z b Z b
Then f (x) dx ≥ g(x) dx.
a a
11 / 31
y
M
O a b x
12 / 31
6
Examples
1 1
1
Z Z
2
• Evaluate (4 + 3x ) dx. Recall that x2 dx = .
0 0 3
Z 1 Z 1 Z 1
◦ (4 + 3x2 ) dx = 4 dx + 3 x2 dx
0 0 0
1
= 4(1 − 0) + 3 · = 5.
3
Z 1
5
• Show that ≤ cos x dx ≤ 1.
6 0
x x2
◦ cos x = 1 − 2 sin2 ⇒1− ≤ cos x ≤ 1.
Z 1 2 2 Z
2 1 1
x
Z
◦ (1 − ) dx ≤ cos x dx ≤ dx = 1.
0 2 0 0
Z 1 Z 1
x2 1 1 2 5
Z
• (1 − ) dx = dx − x dx = .
0 2 0 2 0 6
13 / 31
O a u v x
a+h
7
The Fundamental Theorem of Calculus, Part I
• Let f be a continuous function.
◦ f attains the max M and min m on [a, a + h], (h > 0)
Z a+h
• Then m · h ≤ f (x) dx ≤ M · h.
a
R a+h
a
f (x) dx
f (v) = m ≤ ≤ M = f (u)
h
◦ Let h → 0+ . Then u → a+ and v → a+ .
R a+h
u → a+ ⇒ f (u) → f (a) f (x) dx
+ ⇒ a → f (a)
v → a ⇒ f (v) → f (a) h
R a+h
f (x) dx
◦ Similarly, if h → 0 , then a
−
→ f (a).
h
R a+h
f (x) dx
• Therefore, lim a = f (a).
h→0 h
15 / 31
16 / 31
8
Remarks and Examples
• By Leibniz notation, the theorem can be written as
x
d
Z
◦ f (t) dt = f (x).
dx a
Rx d
a dx
f (t) g(x) f (x)
• Examples.
Z x√ √
d
◦ 1 + t2 dt = 1 + x2 ,
dx Z0
x
d
◦ sin(πt2 ) dt = sin(πx2 ),
dx Z0
x
d
◦ sin(cos(sin t)) dt = sin(cos(sin x)).
dx 0
17 / 31
9
The Fundamental Theorem of Calculus, Part II
Z x
• Let f be continuous on [a, b] and g(x) = f (t) dt.
a
◦ By F.T.C.(I), g is continuous on [a, b] and g ′ = f .
◦ If we can find a continuous function F with F ′ = f ,
• then F + C = g for a constant C .
◦ In particular, Z a
F (a) + C = g(a) = f (t) dt = 0,
Za b
F (b) + C = g(b) = f (t) dt.
a
Z b Z b
∴ F (b) − F (a) = f (t) dt − c − (−c) = f (t) dt.
a a
◦ This formula gives a shortcut to evaluate the definite integral without using Riemann sum.
19 / 31
f is the derivative of F
f (x) F (x)
F is an antiderivative of f
Z π/2
• Example. We are now ready to evaluate cos x dx.
0
◦ Do we have a function F such that F ′ (x) = cos x?
• Use F (x) = sin x.
π/2
π
Z x=π/2
cos x dx = sin x = sin − sin 0 = 1.
•
0 x=0 2
20 / 31
10
The Fundamental Theorem of Calculus
• Theorem. (Fundamental Theorem of Calculus)
Let f be a continuous function on [a, b]. Then
Z x
d
◦ f (t) dt = f (x).
dx a
If F ′ is continuous on [a, b], then
Z x
d
◦ F (t) dt = F (x) − F (a).
a dt
Rx d
a dx
f (t) F (x) f (x)
d
Rx
dt a
F (t) f (t) F (x) − F (a)
21 / 31
Indefinite Integral
• Fundamental Theorem of Calculus (II) shows that
◦ Evaluating definite integral may be reduced to finding antiderivative.
• An antiderivative of a continuous function f is
◦ a continuous function F such that F ′ = f .
Z
We introduce the notation f (x) dx for such F ,
22 / 31
11
Indefinite Integral
• What are the antiderivatives (indefinite integrals) of f ?
23 / 31
Examples
Z 1
x4 x=1 1 16 −15
• x3 dx = = − = .
−2 4 x=−2 4 4 4
Z 3
1 x−1 x=3 1 4
• 2
dx = = − − 1 = − . WRONG!
−1 x −1 x=−1 3 3
1 1
Let f (x) = − 2 , (x 6= 0). An antiderivative is − .
x x
◦ The general
( form of antiderivatives is given by
−1/x + c1 , if x < 0,
f (x) =
−1/x + c2 , if x > 0.
where c1 , c2 are constant, and they may not be equal.
Z b
1
◦ The definite integral 2
dx is defined if and only if a and b are both positive or both negative.
a x
1 1
Z
• For convenience, we still write
2
dx = − + c.
x x
24 / 31
12
Properties of Indefinite Integral
Z
• Recall that F (x) = f (x) means
′
f (x) dx = F (x) + c.
Z
◦ (kx) = k ⇒
′
k dx = kx + c.
xr+1 ′ Z
xr+1
◦ = x ⇒ xr dx =
r
+ c, (r 6= −1).
r+1 Z r+1
◦ (− cos x)′ = sin x ⇒ sin x dx = − cos x + c.
Z
◦ (sin x)′ = cos x ⇒ cos x dx = sin x + c.
Z
◦ (tan x)′ = sec2 x ⇒ sec2 x dx = tan x + c.
Z
2
◦ (− cot x) = csc x ⇒
′
csc2 x dx = − cot x + c.
◦ ··················································
25 / 31
26 / 31
13
Example
Z √ Z
• Evaluate 2x 1 − x dx and x3 cos(x4 + 2) dx.
2
du
◦ Let u = 1 − x2 . Then= −2x.
dx
Z √ Z
√
2x 1 − x2 dx = (− u) du
u3/2 2
=− + C = − (1 − x2 )3/2 + C.
3/2 3
du
◦ Let u = x4 + 2. Then = 4x3 .
dx Z
1
Z
x3 cos(x4 + 2) dx = cos u du
4
1 1
= sin u + C = sin(x4 + 2) + C.
4 4
• Question. Does the above method work in general?
27 / 31
d du d
Z Z
f (u) du = · f (u) du
dx dx du
= g ′(x) · f (u) = g ′(x)f (g(x)).
Z Z
∴ f (u) du = f (g(x))g ′(x) dx.
28 / 31
14
The Substitution Rule
• The Substitution Rule (for Definite Integral). Suppose
◦ g ′ is continuous on [a, b], and
◦ f is continuous on the range of u = g(x).
Z b Z g(b)
′
Then f (g(x))g (x) dx = f (u) du.
a g(a)
• Proof. Apply the Fundamental Theorem of Calculus.
Z b Z x=b
′ ′
f (g(x))g (x) dx = f (g(x))g (x) dx
a x=a
Z x=b
= f (u) du
x=a
Z u=g(b)
= f (u) du
u=g(a)
Z g(b)
= f (u) du.
g(a)
29 / 31
Examples
2
dx
Z
• Evaluate .
1 (3 − 5x)2
du
◦ Let u = g(x) = 3 − 5x. Then = −5. Then
dx
2
dx 1 g(2) du 1 −1 u=−7 1
Z Z
2
=− = − = .
1 (3 − 5x) 5 g(1) u2 5 u u=−2 14
Z 4
√
• Evaluate 2x + 1 dx.
0
du
◦ Let u = g(x) = 2x + 1. Then = 2. Then
Z 4 Z g(4) dx
√ 1 √ 1 u3/2 u=9 26
2x + 1 dx = u du = = .
2 g(0) 2 3/2 u=1 3
0
30 / 31
15
Examples
• From the previous example,
4 9 √
√ u 26
Z Z
2x + 1 dx = du = .
0 1 2 3
√
y= 2x + 1
3
0
0 1 2 3 4
3 √
u
y=
2 2
0
0 1 2 3 4 5 6 7 8 9
31 / 31
16