Professional Documents
Culture Documents
1 Indefinite integral
6 Volumes
• Integration by Substitution
The derivative rule for product gives the method of integration by parts
Z Z
0
f (x)g (x) dx = f (x)g(x) − g(x)f 0 (x) dx;
Solution. We put
u = x du = dx
=⇒
dv = sin x dx v = − cos x.
Then we have
Z Z
x sin x dx = −x cos x + cos x dx = −x cos x + sin x + C,
1 Indefinite integral
6 Volumes
y
a strip
Y = f(x)
x=a
S1 I S2I S3I S4I S5I S61 871
x=b
0 a X 1 X2 X3 X4 X5 X6 b X
Let’s consider the area over say interval [x3 , x4 ]. The width of the
rectangle is the same as the width of the strip x4 − x3 .
However we need to specify the height of the approximating
rectangle. For this, we choose a sampling point in the subinterval,
say x4∗ ∈ [x3 , x4 ] and look at the rectangle with height f (x4∗ ).
This is illustrated in the figure below.
Think of this as a process used to define the value of the area under a
curve, rather than a process to compute the area.
Solution. This limit is quite difficult to evaluate. Let’s use the definition
of the definite integral.
b n
b−a X
Z
f (x) dx = lim · f (xi∗ ).
a n→∞ n
i=1
In the example above, the values of a, b, f are all given in the question.
What about ∗ ∗
xi ? We pick xi to be the right-endpoint of the interval
i −1 i
, , i.e. xi∗ = ni .
n n
CALCULUS I - AY2022/23 24 / 114
√
Lastly what about f (x)? Clearly we should take f (x) =
x so that
Z b n n r
b−a X ∗ 1−0X i
f (x) dx = lim · f (xi ) = lim .
a n→∞ n n→∞ n n
i=1 i=1
Z b Z 1√
Now to evaluate this expression, we find f (x) dx = x dx
a 0
instead. So we conclude that
n
1 X√
Z 1
√
lim √ i= x dx.
n→∞ n3 i=1 0
1 Indefinite integral
6 Volumes
Z b
Clearly, after taking limits, the definite integral f (x) dx represents
a
the quantity obtained by taking the first and third areas minus the
middle area.
So if the question asks you to find the area of region bounded by the
curve y = f (x) and the x-axis, we must first find the roots of the
function f (x) = 0, and then split the integral up accordingly.
The value f (c) is called the average value of f over the interval [a, b].
Graphically, the MVT says that we can find some c ∈ [a, b] such that
the rectangle has the same area as the area under the graph. This
means that Z b
(b − a)f (c) = f (x) dx,
a
which is the same as in the theorem.
Applying the MVT for Integrals to f (x) and the interval [0, t], we
conclude that there is some c ∈ [0, t], such that
Z t
1 sin t
cos c = cos x dx = .
t −0 0 t
1 Indefinite integral
6 Volumes
Some remarks. Z x
For each fixed value of x, the quantity f (t) dt is a fixed real
a
number. However if we let x vary then this defines a function of x.
So the role of x and the role of t are very different.
Solution.
(a) We use the Chain Rule of differentiation. Let y = x 2 , and we get:
Z x2 Z y
d d dy
f (t) dt = f (t) dt ·
dx 0 dy 0 dx
= f (y ) · 2x = 2xf (x 2 ).
√
(b) We put z = x and so we have
Z x Z z2
d d
√ f (t) dt = f (t) dt
d x 0 dz 0
√
= 2zf (z 2 ) = 2 xf (x).
|{z}
by part (a)
and it shows that if you first integrate, then differentiate the result, you
get back f (x).
The FTC-2 is very powerful. It tells us that to compute the value of the
definite integral, we do not need to find and use the Riemann sums:
b n
b−a X
Z
f (x) dx = lim · f (xi∗ ).
a n→∞ n
i=1
Instead, we only need to find some function F with F 0 (x) = f (x) and
calculate F (b) − F (a).
CALCULUS I - AY2022/23 44 / 114
Example
Find the area of a figure bounded by the line y = 0 and the curve
y = (x − 2)2 (x + 2)2 .
and since y = (x − 2)2 (x + 2)2 ≥ 0, the curve lies above the x-axis
between x = −2 and x = 2.
Instead of evaluating the Riemann sums and then taking limits, we use
the FTC-2.
CALCULUS I - AY2022/23 45 / 114
Clearly, the anti-derivative of x 4 − 8x 2 + 16 is
x5 8 3
F (x) = − x + 16x,
5 3
which, by the FTC-2, gives
Z 2
4 2 32 64
(x − 8x + 16) dx = F (2) − F (−2) = 2 − + 32 .
−2 5 3
We can also note that the integrand is an even function, and hence
Z 2 Z 2
(x 4 −8x 2 +16) dx = 2 (x 4 −8x 2 +16) dx = 2[F (2)−F (0)] = 2F (2).
−2 0
1 Indefinite integral
6 Volumes
If f is odd on [−a, a] (i.e., f (−x) = −f (x), for all x ∈ [−a, a]), then
Z a
f (x) dx = 0.
−a
the Integration by Parts formula does not alwaysZ work, because you
are basically transferring the task of evaluating u dv to the task of
Z
evaluating v du.
du = 1 dx
u = ln x
Solution. We choose =⇒ x and apply
dv = 1 dx. v = x
the IBP formula
Z 2 Z 2 2 Z 2
2 1
ln x dx = uv 1 − v du = x ln x − x·
dx
1 1 1 1 x
Z 2
2
= (2 ln 2 − 1 ln 1) − 1 dx = 2 ln 2 − x 1
1
= 2 ln 2 − 1.
1 Indefinite integral
6 Volumes
Again this is easy to answer for “regular" solids for which we have
standard formulas:
How to derive this formula? There are two main ways of calculating
volume of a given solid:
Volumes using cross-sections.
Volumes using cylindrical shells.
Let’s consider the solid. We apply the same idea as we previously did
for the area problem - see Appendix !
4 3
V = πr .
3
A(x) = π · y 2 = π · (r 2 − x 2 ).
Note that x refers to the x-coordinate value and may take on negative
values. However the expressions for y and A(x) are always positive.
So we can compute the volume of the sphere using the formula
Z r Z r Z r Z r
2 2 2
A(x) dx = π(r − x ) dx = πr dx − π x 2 dx
−r −r −r −r
r 3 r
2 x
= πr x −π
|{z}
−r 3 −r
(by the FTC-2)
π 3 4 3
= πr 2 (2r ) − 2r = πr .
3 3
Example
Find the volume of the solid obtained by rotating about the x-axis the
√
region under the curve y = x from 0 to 4.
Solution. Let us try and figure out what the solid described in the
question looks like.
- Next, we take this shaded region and rotate it 360◦ around the x-axis
to get the 3-dimensional solid.
In this case, to take the cross section, we slice a plane Py at the point
with y -coordinate y , perpendicular to the y -axis, and hence, we
integrate with respect to y .
x 5 1 2π
Z 1 Z 1 3
2 4 x
V = A(x) dx = π(x − x ) dx = π − = .
0 0 3 5 0 15
V = 2πr · h · ∆r .
The solid S is obtained by rotating about the y -axis the region under
the curve y = f (x) from x = a to x = b, where b > a ≥ 0:
Example
Find the volume of the solid obtained by rotating about the y -axis the
region bounded by y = 2x 2 − x 3 and y = 0.
Then the volume of the solid is the definite integral of the above
expression, i.e.
Z 2 Z 2
2 3
(2πx) · (2x − x ) dx = 2π (2x 3 − x 4 ) dx
0 0
2
x4 x5
32 16π
= 2π − = 2π 8 − = .
2 5 0 5 5
Often both methods are fine (as we have seen in the examples above).
1 Indefinite integral
6 Volumes
The basic idea is still the same as for finding volumes: divide,
approximate, perform the sum, and take the limit.
Let’s first figure out how to compute the arc length when we are given
the simplest kind of smooth curve, a straight line segment.
Consider the line segment joining two points P1 (x1 , y1 ) and P2 (x2 , y2 ).
The arc length can be found in another way by using the angle of
elevation of the line segment - see the Appendix !
Now consider the triangle in the figure. Since the angle of elevation of
the line segment is θ, we have
∆y y2 − y1
tan θ = = ⇐⇒ ∆y = ∆x · tan θ,
∆x x2 − x1
and so substituting into the expression for |P1 P2 | gives the formula for
the length of a straight line segment
q
|P1 P2 | = (∆x)2 + (∆y )2
q p
= (∆x)2 + (∆x · tan θ)2 = 1 + tan2 θ · ∆x.
∆y
Note that tan θ = is the slope of the line passing through P1 , P2 .
∆x
.......................................................................
CALCULUS I - AY2022/23 87 / 114
Deriving the formula for the length of an arc
We use the same trick we have used many times before - a self-study.
.......................................................................
- First divide the curved arc C (bounded by x = a and x = b) into many
small parts (tiny arcs) of equal width ∆x (using a partition of [a, b] by n
subintervals [a, x1 ], [x1 , x2 ], [x2 , x3 ], · · · , [xn−1 , b]).
So we use the segment of the tangent line inside the interval [xi−1 , xi ]
to approximate the tiny arc in the same interval [xi−1 , xi ].
tan θ = f 0 (xi∗ ).
This expression gives us the approximate arc length for each tiny arc.
- To find an approximate value for the arc length L of the entire curve
C, we sum up the lengths to get:
n q
X 2
L≈ 1 + f 0 (xi∗ ) · ∆x.
i=1
......................................................................
Note that we require the function f (x) to be not only differentiable, but
Solution. This is sketched in the figure below (the arc is colored in red).
We are only interested in the top half where y ≥ 0 (since this is where
3
the arc is defined). So the equation of the curve is in fact y = x 2 .
1
Solution. First we compute the first derivative y 0 = 2x − . Then
8x
s
x
1 2
Z
s(x) = 1 + 2t − dt
1 8t
Z xr
1 1
= 4t 2 + + 2
dt
1 2 64t
s
Z x 2
1 1
= (2t)2 + + dt
1 2 8t
s
Z x 2
2
1 1
= (2t) + 2(2t) + dt.
1 8t 8t
1 2 1 2
2 1
(2t) + 2(2t) + = 2t + .
| {z } 8t 8t 8t
p2 | {z } | {z } | {z }
2pq q2 (p+q)2
Then we continue
s
x
1 2
Z Z x
1
s(x) = 2t + dt = 2t + dt.
1 8t 1
8t
1
Since t ranges from 1 to x, we have 2t + > 0 and so
8t
ln t x
Z x
1 2 ln x
s(x) = 2t + dt = t + = x2 + − 1.
1 8t 8 1 8
(Why do you think that s(1) = 0? Why is it that s(x) < 0 for
0 < x < 1?)
To get the exact surface area of the whole solid we take limits. Then
X Z b
the summation symbol becomes the integration symbol while
a
the ∆x symbol becomes the differential symbol dx:
Z b q
2πf (x) 1 + (f 0 (x))2 dx.
a
......................................................................
We need to apply the formula, except with the role of x and y reversed.
The same idea as we previously did for the area problem is applied.
- Using the sample point xi∗ we look at the cylinder with constant
cross-section area A(xi∗ ) and cylinder height ∆x. This cylinder has
roughly the same volume as the volume of the i th slab. The volume of
this cylinder is