Chapter5 Notes1
Chapter5 Notes1
1 / 63
§5.1 Sums and Sigma Notation
The explicit sum appearing on the right side of the equation is the
expansion of the sum represented in sigma notation on the left side. m is
the lower limit, and n is the upper limit.
2 / 63
Example 1:
Write the sum 22 − 32 + 42 − 52 + · · · − 992 in sigma notation.
3 / 63
Example 2:
Pn
Write the sum 22 − 32 + 42 − 52 + · · · − 992 in the form i=1 f (i).
4 / 63
Theorem (Summation Formulas)
n
X n(n + 1)
(a) i = 1 + 2 + ··· + n = .
2
i=1
n
X (n − m + 1)(n + m)
(b) i = m + (m + 1) + · · · + n = .
2
i=m
n
X n(n + 1)(2n + 1)
(c) i2 = 12 + 22 + · · · + n2 = .
6
i=1
n
X n2 (n + 1)2
(d) i3 = 13 + 23 + · · · + n3 = .
4
i=1
n
X rn − 1
(e) ri−1 = 1 + r + r2 + · · · + rn−1 = .
r−1
i=1
5 / 63
§5.2 Area Problem
6 / 63
Idea: Approximate the area by small rectangles!
P, a partition of [a, b] is a set of points P = {x0 , x1 , · · · , xn } s.t.
a = x0 < x1 < x2 < · · · < xn−1 < xn = b
i.e., divide the intervals [a, b] into n subintervals.
The area of the ith rectangle is f (ci )∆xi . The sum of all these areas
is
Xn
f (ci )∆xi .
i=1
8 / 63
Example 3:
Approximate the area under y = x2 on [0, 1] with the partition
n 1 2 3 o
P = 0, , , , 1 and choose ci to be the midpoint in each subinterval.
4 4 4
Solution:
4
X 1 1 3 1 5 1 7 1
f (ci )∆xi = ( )2 × + ( )2 × + ( )2 × + ( )2 × ≈ 0.328125.
8 4 8 4 8 4 8 4
i=1
9 / 63
Definition
Let f be a function defined on [a, b].
n
X
f (ci )∆xi
i=1
Note that
∆xi can be different.
▶ The norm of P is the number ∥P∥ = max |∆xi |.
1≤i≤n
b−a
▶ If ∆xi = , we call a uniform partition, and the Riemann sum is
n
n
b−aX
f (ci ).
n i=1
10 / 63
ci ∈ [xi−1 , xi ] is chosen arbitrarily. In particular,
▶ if ci = xi−1 (left endpoint), the sum is called left Riemann sum.
▶ if ci = xi (right endpoint), the sum is called right Riemann sum.
11 / 63
Example 4:
Find the left and right Riemann sums of f (x) = x2 on [0, 1] by using
uniform partition.
12 / 63
Question: How to get better approximation of the area?
13 / 63
Answer: Let ∥P∥ → 0, i.e.,
n
X
lim f (ci )∆xi .
∥P∥→0
i=1
If this limit exists and unique for all choices of ci , the resulted
number represents the (signed) area of the region trapped between f
and x−axis on [a, b]. (See figure on next page)
For some functions, the limit of Riemann sum may not exist, or it
may yield different values depending on the choice of ci . (See
example 5 below)
14 / 63
15 / 63
Example 5: The Dirichlet function is defined as below
1, x ∈ Q
f (x) = .
0, x ∈
/Q
Show that the limit of Riemann sum of f with uniform partition yields
different values depending on the chosen ci .
16 / 63
§5.3 The Definite Integral
Definition
Let f be a function defined on [a, b]. If
n
X
lim f (ci )∆xi
∥P∥→0
i=1
exists and unique for all possible ci with respect to such a partition having
∥P∥ → 0, we say f is (Riemann) integrable on [a, b] and define the
definite integral of f from a to b by
Z b n
X
f (x)dx ≜ lim f (ci )∆xi .
a ∥P∥→0
i=1
17 / 63
Z b
The various parts of the symbol f (x)dx have their own names:
a
R
(i) is called the integral sign, it resembles the letter S since it
represents the limit of a sum.
(ii) a and b are called the limits of integration; a is the lower limit and b
is the upper limit.
(iii) The function f is the integrand and x is the variable of integration.
(iv) dx is the differential of x. It replaces ∆xi in the Riemann sums.
18 / 63
Theorem
If f is continuous on [a, b], then f is integrable on [a, b], i.e., the definite
integral
Z b Xn
f (x)dx ≜ lim f (ci )∆xi
a ∥P∥→0
i=1
19 / 63
Knowing that a function is integrable allows us to calculate its definite
integral by using a uniform partition and by picking ci properly, i.e.,
Z b n n
X b−aX
f (x)dx ≜ lim f (ci )∆xi = lim f (ci ).
a ∥P∥→0 n→∞ n
i=1 i=1
Example 6:
Z 1
Evaluate x2 dx from Example 4.
0
Solution:
The limit of the left Riemann sum is
(n − 1)(2n − 1) 1
lim RL = lim = .
n→∞ n→∞ 6n2 3
The limit of the right Riemann sum is
(n + 1)(2n + 1) 1
lim RR = lim 2
= .
n→∞ n→∞ 6n 3
20 / 63
Recap
For a continuous function, by the theorem, the limit of Riemann sum
must exist and unique, independent of choice of ci .
For a discontinuous function, the limit of Riemann sum may exist (see
example 8 below), or it may yield different values depending on the
choice of ci (see example 5 above).
If the limit of Riemann sum of f does not exist, or yields different
values depending on the choice of ci , we call such f non-Riemann
integrable.
The connection between Riemann sum and definite integral is useful
for solving problems involving areas, volumes, centres of mass, etc.
(See example 7 below)
21 / 63
Example 7:
Let R be the planar region bounded above by y = 4 − x2 and below by
y = x2 − 2x. Find the area of R by using a Riemann sum with a uniform
partition.
22 / 63
Solution: The two curves intersect at two points, given by
4 − x2 = x2 − 2x =⇒ x = −1 or x = 2.
Theorem
Let f and g be integrable on an interval containing the points a, b, and c.
Then
(a) An integral over an interval of zero length is zero,
Z a
f (x)dx = 0.
a
(b) Reversing the limits of integration changes the sign of the integral,
Z a Z b
f (x)dx = − f (x)dx.
b a
24 / 63
Theorem (Cont’d)
(c) If A and B are constants, then
Z b Z b Z b
(Af (x) + Bg(x)) dx = A f (x)dx + B g(x)dx.
a a a
25 / 63
Example 8:
√
Z 3 1 − x2 if 0 ≤ x ≤ 1
Express f (x)dx piecewisely if f (x) = 2 if 1 < x ≤ 2
0
x−2 if 2 < x ≤ 3.
26 / 63
Solution: By definition, the value of the integral is
Z 3 Z 1p Z 2 Z 3
f (x)dx = 1− x2 dx + 2dx + (x − 2)dx.
0 0 1 2
27 / 63
Theorem (Cont’d)
(e) If a ≤ b and f (x) ≤ g(x) for a ≤ x ≤ b, then
Z b Z b
f (x)dx ≤ g(x)dx.
a a
(f) If a ≤ b, then
Z b Z b
f (x)dx ≤ |f (x)|dx.
a a
28 / 63
§5.5 The Fundamental Theorem of Calculus
F ′ (x) = f (x)
Example: If f (x) = 3x2 + 5, then both F (x) and G(x) below are
anti-derivatives of f (x):
(a) F (x) = x3 + 5x,
(b) G(x) = x3 + 5x + 2.
29 / 63
Definition
The indefinite integral of f (x) on I is
Z
f (x)dx = F (x) + C
where F is an antiderivative of f .
30 / 63
A few simple indefinite integrals based on the known
derivatives of elementary functions
31 / 63
Example 9:
Z
1
Find f (x)dx, where f (x) = (ex + e−x ).
2
Solution: We have
Z Z
1 x
f (x)dx = (e + e−x )dx
2
Z Z
1
= ( e dx + e−x dx)
x
2
1 x
= (e − e−x ) + C.
2
32 / 63
Geometric Approach of FTC
33 / 63
Theorem (The Fundamental Theorem of Calculus)
Suppose that f is continuous on an interval I containing point a.
Part I. Let the function F be defined on I by
Z x
F (x) = f (t)dt.
a
34 / 63
Both conclusions of the Fundamental Theorem are useful:
35 / 63
Example 10:
Evaluate the following definite integrals.
Z π
π
(a) sin(x)dx = − cos(x)|0 = 2
0
Z 0
0
(b) cos(x)dx = sin(x)|−π = 0
−π
Z b
(c) xn dx = 1
n+1 (b
n+1 − an+1 )
a
36 / 63
Example 11:
Find the area A of the plane region lying above the x-axis and under the
curve y = 3x − x2 .
37 / 63
Example 12:
Using the conclusion in Part I of the Fundamental Theorem to find the
derivatives of theZ following functions:
3 Z x
2 2
(a) F (x) = e−t dt, (b) G(x) = x2 e−t dt.
x −4
Solution:
Rx 2
(a) Note that F (x) = − e−t dt. By Part I we have
3
Z x
′ d 2 2
F (x) = − e−t dt = −e−x .
dx 3
38 / 63
By building in the Chain Rule into the conclusion in Part I of the
Fundamental Theorem, we have the following formula:
Z g(x)
d
f (t)dt = f (g(x))g ′ (x).
dx a
39 / 63
Example 13:
Find the derivatives of the following functions:
Z 5x Z x3
−t2 2
(a) F (x) = e dt, (b) G(x) = e−t dt.
−4 x2
Solution:
2
(a) Let the integrand be f (t) = e−t and the upper limit be g(x) = 5x.
Then
2 2
F ′ (x) = f (g(x))g ′ (x) = e−(5x) (5) = 5e−25x .
R x3 2 R x2 2
(b) Note that G(x) = 0 e−t dt − 0 e−t dt. We have
3 )2 2 )2
G′ (t) = e−(x (3x2 ) − e−(x (2x)
2 −x6 −x4
= 3x e − 2xe .
40 / 63
Theorem (The Mean Value Theorem (MVT) for Integral)
If f is continuous on [a, b], then there exists a point c in [a, b] such that
Z b
f (x)dx = (b − a)f (c).
a
41 / 63
Definition
If f is integrable on [a, b], we define the average value or mean value of f
on [a, b], denoted by f¯, to be
Z b
1
f¯ = f (x)dx.
b−a a
The above theorem states that for continuous function, the mean value is
always attained for some c ∈ [a, b].
42 / 63
§5.6 The Method of Substitution
In this section and in Chapter 6 we will develop some
techniques of integration, i.e., methods for finding antiderivatives of
functions.
43 / 63
44 / 63
When an integral cannot be evaluated by inspection, we require one
or more special techniques. The most important of these techniques is
the method of substitution, the integral version of the Chain Rule.
d
If we rewrite the Chain rule, f (g(x)) = f ′ (g(x))g ′ (x), in integral
dx
form, we obtain
Z
f ′ (g(x))g ′ (x)dx = f (g(x)) + C.
45 / 63
Example 14:
√
Z
Find the indefinite integral I = ex 1 + ex dx.
46 / 63
Example 15:
Z
1
Find the indefinite integral I = √ dx.
e2x −1
Solution: An appropriate substitution seems not obvious here. Note
however that
e−x
Z Z
1
I= √ dx = √ dx.
ex 1 − e−2x 1 − e−2x
47 / 63
Theorem (Substitution of Definite Integrals)
Suppose that g is a differentiable function on [a, b] that satisfies g(a) = A
and g(b) = B. Also suppose that f is continuous on the range of g. Then
Z b Z B
′
f (g(x))g (x)dx = f (u)du.
a A
48 / 63
Example 16:
3
x2
Z
Find the integral of dx.
2 x3 − 1
du = 3x2 dx.
49 / 63
Example 17:
Z 8
√
cos x + 1
Evaluate the integral I = √ dx.
0 x+1
√
Solution: Let u = x + 1. Then
1
du = √ dx.
2 x+1
If x = 0, then u = 1; if x = 8, then u = 3. Using the method of
substitution,
Z 3
I = 2 cos(u)du
1
3
= 2 sin(u)
1
= 2 (sin(3) − sin(1)) .
50 / 63
Trigonometric Integrals
51 / 63
Derivation for tan x and sec x:
Z Z
sin x
tan x dx = dx
cos x
Z
du
=− (subst. u = cos x, du = − sin x dx)
u
= − ln | cos x| + C
= ln | sec x| + C,
Z Z
sec x(sec x + tan x)
sec x dx = dx
sec x + tan x
Z
dv
= (subst. v = sec x + tan x,
v
dv = (sec x tan x + sec2 x)dx)
= ln | sec x + tan x| + C.
52 / 63
sinm (x) cosn (x) dx
R
Integrals of the form
Substitutions can be used if either m or n are odd.
Z Z
3 8
Example 18: Find (a) sin (x) cos (x) dx, (b) cos5 (ax) dx.
54 / 63
Z
Example 19: Evaluate sin4 (x) dx.
Solution: Since the power is even, we use the double angle formulas
55 / 63
R
Integrals of the form secm (x) tann (x) dx
Use the substitution u = sec(x) or v = tan(x), unless m is odd and n is
even. (For the latter case, use integration by parts, see Ch. 6.)
Example 20: Evaluate (a) sec4 (x) dx, (b) sec3 (x) tan3 (x) dx.
R R
56 / 63
Solution: (b) We have
Z Z
sec (x) tan (x) dx = sec2 (x)(sec2 (x) − 1) · sec(x) tan(x) dx
3 3
57 / 63
§5.7 Area of Plane Regions
To calculate the area A between two non-intersecting curves, express A
as the “sum” (i.e., the integral) of infinitely many area elements :
Z b
dA = (g(x) − f (x)) dx =⇒ A = (g(x) − f (x)) dx
a
58 / 63
To calculate the area A of a planar region:
1 Make a sketch of the region (very important!)
2 Identify the area elements and determine the intervals of integration.
3 Express the area the sum of one or more definite integrals, and
evaluate them.
59 / 63
Example 21: Find the total area A lying between the curves y = sin(x)
and y = cos(x) from x = 0 to x = 2π.
60 / 63
Z π/4 Z 5π/4
Area = (cos(x) − sin(x)) dx + (sin(x) − cos(x)) dx
0 π/4
Z 2π
+ (cos(x) − sin(x)) dx
5π/4
π/4 5π/4
= (sin(x) + cos(x))|0 − (sin(x) + cos(x))|π/4
+ (sin(x) + cos(x))|2π
5π/4
√ √ √ √
= ( 2 − 1) + ( 2 + 2) + (1 + 2)
√
= 4 2 sq. units.
61 / 63
Example 22: Find the area of the plane region lying to the right of the
parabola x = y 2 − 12 and to the left of the line y = x.
62 / 63
Method 2: Integrate over x, but split the region at x = −3, since the
bottom curve changes from a parabola to a straight line there:
Z −3
√ √ √
Z 4
A= ( 12 + x − (− 12 + x)) dx + ( 12 + x − x) dx
−12 −3
−3 4
4 2 x2
= (12 + x)3/2 + (12 + x)3/2 −
3 −12 3 2 −3
128 9
= (36 − 0) + − 8 − 18 +
3 2
343
= sq. units
3
63 / 63