Applied 2
Applied 2
Department of Mathematics
Lecture Note
Applied Mathematics II
June 4, 2016
Contents
2 Power Series 28
2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.2 Definition of power series at any x0 and x0 = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.3 Convergence and divergence, radius and interval of convergence . . . . . . . . . . . . . . . . . . 30
2.4 Representations of Functions as Power Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.5 Algebraic operations on convergent power series . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.6 Differentiation and integration of power series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.7 Taylor series; Taylor polynomial and application . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.7.1 Polynomial Approximation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.7.2 Defined by Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.7.3 Indeterminate Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
CONTENTS 2
4 Multiple Integrals 59
4.1 Double integrals and their evaluation by iterated integrals . . . . . . . . . . . . . . . . . . . . . . 59
4.2 Iterated integrated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
4.3 Change of variable in double integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
4.4 Double Integrals in Polar coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
4.5 Application of Double Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.5.1 Surface Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.5.2 Triple Integrals in Cartesian coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
4.6 Triple integrals in cylindrical and spherical coordinates . . . . . . . . . . . . . . . . . . . . . . . . 70
4.6.1 Triple Integrals in Cylindrical Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.6.2 Triple Integrals in Spherical Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
4.7 Application: Volume, center of mass of solid region . . . . . . . . . . . . . . . . . . . . . . . . . . 74
4.7.1 Some of the applications of multiple integrals . . . . . . . . . . . . . . . . . . . . . . . . . 75
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
Chapter 1
• Sometimes it is convenient to begin a sequence with ak . In this case the sequence is {an }∞
n=k , and its
terms are ak , ak+1 , ak+2 , . . . , an , . . . .
Definition 1.1.2. A sequence is said to be a constant sequence if Sn = k(constant) for every n ∈ N.
Example 1.1.1. Let Sn = 2 for every n, is a constant sequence. That is, Sn = {2, 2, 2, 2, . . . }
Definition 1.1.3. A Recursively-defined sequence is a sequence where the first term(s) are given and the
next term is given in terms of the previous terms.
Example 1.1.2. List the first five terms of the sequence.
∞
n
A. n+1 = 12 , 23 , 34 , 54 , 56 , . . .
n=1
∞ √
3 1
B. cos( nπ
6 ) = 1, 2 , 2 , 0, . . .
n=0
∞
√ √ √
C. n−3 = 0, 1, 2, 3, . . .
n=3
B. { n cos(nπ)
2n−1 }
n
C. { (−π)
5n }
3 4 5
(1, 2), (2, ), (3, ), (4, ), . . . .
4 9 16
The graph is then,
Now let’s look at some special sequences, and their rules.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.1 Definition and types of sequence 4
b) {1, 3, 5, 7} is the sequence of the first 4 odd numbers (and is a finite sequence)
Arithmetic Sequence
In an arithmetic sequence the difference between one term and the next is a constant. In other words, you just
add some value each time . . . on to infinity. In general you could write an arithmetic sequence like this:
Where:
• a is the first term, and
• d is the difference between the terms (Usually called the ”common difference”)
xn = a + (n − 1)d
Example 1.1.5. Consider the sequence 1, 4, 7, 10, 13, 16, 19, 22, 25,. . .
This sequence has a difference of 3 between each number. Then its rule is xn = 3n − 2.
Geometric sequence
In a geometric sequence each term is found by multiplying the previous term by a constant.
Example 1.1.6. Consider the sequence 2, 4, 8, 16, 32, 64, 128, 256,. . .
This sequence has a factor of 2 between each number. Its Rule is xn = 2n .
Where:
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.2 Convergence properties of sequences 5
Definition 1.2.1. A sequence {an } is said to converge to the real number A if and only if for each ε > 0 there
exists a positive real number N = N (ε) > 0 such that |an − A| < ε for all n > N. The sequence {an } is said to
be convergent if and only if there is a real number A such that {an } converges to A. The sequence {an } is said
to be divergent or to diverge if and only if it is not convergent.
Example 1.2.1. Show that the sequence { n12 }∞n=1 converges to 0.
Solution: Here, we must show that we can make n12 as close to 0 as desired, just by making n sufficiently large.
So, given any ε > 0, we must find N sufficiently large so that for every n > N ,
1 1
− 0 < ε, or 2 < ε (1.1)
n2 n
Since n2 and ε are positive, we can divide both sides of (1.1) by ε and multiply by n2 , to obtain
1
< n2 .
ε
Taking square roots gives us r
1
< n.
ε
q
1
Working backwards now, observe that if we choose N to be a real number with N = ε, then n > N implies
1
that n2 < ε, as desired.
So just how do we find the limits of sequences? We will use the following theorems and facts. The following
theorem is basically telling us that we take the limits of sequences much like we take the limit of functions. In
fact, in most cases we’ll not even really use this theorem by explicitly writing down a function. We will more
often just treat the limit as if it were a limit of a function.
Theorem 1.2.1. Given the sequence {an } if we have a function f (x) such that f (n) = an and lim f (x) = L,
x→∞
then lim an = L.
n→∞
The converse of Theorem 1.2.1 is false. Consider, for example, the sequence {sin nπ} = {0} This sequence
evidently converges to 0, since every term of the sequence is 0. But lim sin πx does not exist. In this section
x→∞
we continue our analysis of the convergence and divergence of sequences. Since sequences are functions, we
may add, subtract, multiply, and divide sequences just as we do for functions on Applied Mathematics I. Rules
for computing the limits of combination of sequences are analogous to the rules for limits of combinations of
functions. We present these rules now.
Theorem 1.2.2. Suppose lim an = L and lim bn = M and that c is a constant. Then
n→∞ n→∞
1. lim can = cL
n→∞
2. lim (an ± bn ) = L ± M
n→∞
3. lim an bn = LM
n→∞
4. lim ( abnn ) = L
M, provided that bn 6= 0 and and M 6= 0.
n→∞
lim an
6. lim ean = en→∞
n→∞
Solution. The expression enn is an indeterminate form of type ∞/∞ as n → ∞, so L’Hopital’s rule is called
for. However, we cannot apply this rule directly to enn because the functions n and en are only defined at the
positive integers, and hence are not differentiable functions. To circumvent this problem, we will replace n by
x, and apply L’Hopital’s rule to the function exx . This yields
x 1
lim x
= lim x = 0
x→∞ e x→∞ e
using Theorem 1.2.1 we can conclude that
n
lim =0
n→∞ en
J
Example 1.2.3. Determine if the following sequences converge or diverge. If the sequence converges determine
its limit.
( )∞
3n2 −1
A. 10n+5n2
n=1
Solution. In this case all we need to do is recall the method that was developed in Applied Mathematics
I to deal with the limits of rational functions.[Please if you do not remember go to Applied Mathematics
I and read about Limit] To do a limit in this form all we need to do is factor from the numerator and
denominator the largest power of n, cancel and then take the limit.
Solution. We will need to be careful with this one. We will need to use L’Hospital’s Rule on this sequence.
The problem is that L’Hospital’s Rule only works on functions and not on sequences. Normally this would
2x
be a problem, but we’ve got Theorem 1.2.1 from above to help us out. Let’s define f (x) = ex and note
2n
that, f (n) = en . Theorem 1.2.1 says that all we need to do is take the limit of the function.
C. {(−1)n }
Solution. For this sequence all that we need to do is acknowledge that lim (−1)n doesn’t exist to get
n→∞
that the sequence is divergent. If youre not convinced that this limit doesnt exist write down the first few
terms of the sequence. ∞
(−1)n
n=0
In order for a limit to exist the terms must be settling down towards a specific value and these clearly will
never do that. J
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.2 Convergence properties of sequences 7
Theorem 1.2.4 (Squeezing Theorem). If there exists some integer N such that an ≤ bn ≤ cn for all n ≥ N
and
lim an = lim cn = L, then lim bn = L.
n→∞ n→∞ n→∞
( )∞
cos
√n
Example 1.2.4. Find the limit of the sequences n
.
n=1
Solution. From the well known property of Cosine, we recall −1 ≤ cos(n) ≤ 1, ∀n.
−1 cos n 1
⇒ √ ≤ √ ≤ √ as n ≥ 1.
n n n
−1
Since √ n
→ 0 and √1n → 0 as n → 0, by Squeezing theorem cos
√n
n
→ 0.
Therefore, lim cos
√ n = 0.
n
J
n→∞
Definition 1.2.3. If the sequence {an } diverges but does not diverge to +∞ or does not diverge to −∞, then
the sequence {an } is said to oscillate or to be an oscillating sequence.
Example 1.2.5. {(−1)n } and {sin(nπ/4)} are oscillating sequences.
The next theorem is convenient for sequences that alternate in signs and note that it will only work if the
sequence has a limit of zero.
Theorem 1.2.5. If lim |an | = 0, then lim an = 0.
n→∞ n→∞
n
Example 1.2.6. Determine if the sequence { (−1) ∞
n }n=1 converge or diverge. If the sequence converges determine
its limit.
Solution. We will need to use Theorem 1.2.5 on this problem.
(−1)n 1
lim = lim =0
n→∞ n n→∞ n
Therefore, since the limit of the sequence terms with absolute value bars on them goes to zero we know by
Theorem 1.2.5 that,
(−1)n
lim =0
n→∞ n
Which also means that the sequence converges to a value of zero. J
1 1
Solution. If r = 0, the result is trivial, so suppose otherwise. Then |r| > 1, and so |r| = 1 + p for some p > 0.
1
By Binomial Formula
1
= (1 + p)n = 1 + pn + positive terms ≥ pn
|r|n
Thus,
1
0 ≤ |r|n ≤
pn
1 1
Since lim = lim n1 = 0, it follows from the Squeezing Theorem that lim |r|n = 0, or equivalently,
n→∞ pn p n→∞ n→∞
lim |r | = 0. By Theorem 1.2.5, lim rn = 0.
n
J
n→∞ n→∞
n
1 Binomial n r n−r
Formula: (p + q)n =
P
r
p q
r=0
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.2 Convergence properties of sequences 8
1
Solution. Let xn = a n . We have
1
⇒ ln(xn ) = ln a
n
⇒ lim ln(xn ) = 0,
n→∞
1
Using theorem 1.2.6, lim eln(xn ) = e0 = 1. Hence, lim a n = 1. J
n→∞
Exercise 1.2.1. 1. Find the limit of the given sequence and prove that the sequence converges to that limit.
√
A. {1/2n } C. {1 − (1/n)} E. {1 + ((−1)n / n)}
B. {1/n} D. {(−1)n /n2 } F. {n/(1 + n2 )}
n
a
2. Show that 1+ n converges to ea , for any number a.
∞
sin
√n
3. Find the limit of the sequence n
.
n=1
∞
sin2 n
4. Find the limit of the sequence n .
n=1
∞
ln n
5. Show that the sequence n converges to 0.
n=1
∞
2n3 +3
6. Determine the limit of 3n3 −4 .
n=1
Exercise 1.2.2. Use an+1 − an to show that the given sequence {an } is strictly increasing or strictly decreasing.
∞ ∞ ∞
1 n n
A. n B. 2n+1 C. 4n−1
n=1 n=1 n=1
∞ ∞ ∞
1
D. 1− n E. n − 2n F. n − n2
n=1 n=1 n=1
If an and an+1 are successive terms in a strictly increasing sequence, then an < an+1 . If the terms in the
sequence are all positive, then we can divide both sides of the inequality by an to obtain 1 < aan+1 n
. More
generally, monotone sequences with positive terms can be classified as follows:
If f (n) = an is the nth term of a sequence, and if f is differentiable for x ≥ 1, then we have the following
results:
Derivative of f for x ≥ 1
Conclusion for the sequence an = f (n)
f 0 (x) > 0 Strictly increasing
f 0 (x) < 0 Strictly decreasing
f 0 (x) ≥ 0 Increasing
f 0 (x) ≤ 0 Decreasing
n
Example 1.2.11. Consider the sequence an = n+1 . Let
x
f (x) =
x+1
so that the nth term in the given sequence is an = f (n). The function f is increasing for x ≥ 1 since
(x + 1)(1) − x(1) 1
f 0 (x) = = > 0.
(x + 1)2 (x + 1)2
Thus,
an = f (n) < f (n + 1) = an+1
which proves that the given sequence is strictly increasing.
Exercise 1.2.4. Use differentiation to show that the sequence is strictly increasing or strictly decreasing.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.2 Convergence properties of sequences 10
∞ ∞ ∞
n 1 1
A. 2n+1 B. 3− n C. n+ln n
n=1 n=1 n=1
∞ ∞ ∞
−2n ln(n+2) −1
D. ne E. n+2 F. tan n
n=1 n=1 n=1
We now develop a method for determining the convergence of a sequence without direct application of the
definition of convergence. We begin by defining some special types of sequences.
Definition 1.2.5. Given any sequence {an } we have the following.
1. If there exists a number m such that m ≤ an for every n we say the sequence is bounded below. The
number m is sometimes called a lower bound for the sequence.
2. If there exists a number M such that M ≥ an for every n we say the sequence is bounded above. The
number M is sometimes called an upper bound for the sequence.
3. If the sequence is both bounded below and bounded above we call the sequence is bounded.
Definition 1.2.6. If A is a lower bound of a sequence {an } and if A has the property that for every lower
bound C of {an }, C ≤ A, then A is called the greatest lower bound of the sequence. Similarly, if B is an
upper bound of a sequence {an } and if B has the property that for every upper bound D of {an }, B ≤ D , then
B is called the least upper bound of the sequence.
The Axiom of Completeness
Every nonempty set of real numbers which has a lower bound has a great- est lower bound. Also, every set of
real numbers which has an upper bound has a least upper bound.
B − < aN (1.3)
Because B is the least upper bound of {an }, by Definition 1.2.5 it follows that
2n
Example 1.2.12. Investigate the convergence of the sequence n! .
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.3 Subsequence and limit points 11
2n ∞
Solution. First, note that we do not know how to compute lim . This has the indeterminate form /∞ ,
n→∞ n!
n
but we cannot use L’Hopital’s Rule here directly or indirectly. (Why not?) The graph of 2n! suggests that the
sequence converges to 0. To confirm this suspicion, we first show that the sequence is monotonic. We have
2n+1
an+1 (n+1)! 2n+1 n!
= 2n = ·
an n!
(n + 1)! 2n
n
2(2 )n! 2
= n
= ≤ 1, for n ≥ 1 (1.6)
(n + 1)n!2 n+1
We can make a slightly stronger statement, though. Since we have established that the sequence is decreasing
and convergent, we have from our computations that
0 ≤ L ≤ 4.31 × 10−13 .
Corollary 1.3.1. If the sequence {an } has two subsequences which converge to different limits, then the sequence
{an } is divergent.
Example 1.3.2. Consider the sequence {an } defined by the equation an = (−1)n for each positive integer n.
Then the subsequence a2n is defined by a2n = 1 for each positive integer n, and the subsequence a2n−1 is defined
by a2n−1 = −1 for each positive integer n. then, we have a2n → 1 and a2n−1 → −1. Hence Corollary 1.3.1
implies that the sequence {(−1)n } diverges.
Corollary 1.3.2. If the sequence {an } has a subsequence which is divergent, then the sequence {an } is divergent.
Example 1.3.3. Let an = sin( nπ 4 ) for each positive integer n, and let nk = 4k − 2 for each positive integer
k. Corollary 1.3.2 implies that the sequence {an } = sin( nπ
4 ) is divergent since this sequence has the divergent
subsequence
ank = {sin[(4k − 2)π/4]} = {(−1)k }.
Definition 1.3.2. Let {an } be a sequence. The number a is called a limit point of {an } if and only if there
is a subsequence of {an } converging to a.
Note that: limit point of a sequence and limit of a sequence are not the same. The following theorem points
out the relationship between the limit points of a sequence and the convergence of the sequence.
Theorem 1.3.2. Let {an } be a sequence. The point a is a limit point of {an } if and only if for each pair of
positive numbers ε and N there is a k > N such that
|ak − a| < ε.
Corollary 1.3.3. Let {an } be a sequence. The point a is a limit point of {an } if and only if for each ε > 0
|an − a| < ε
A. 1, 3, −1, 1, 3, −1, . . .
B. {cos(nπ/2)}
C. {(1 − 1/n)}
D. {(1 − 1/n)}{sin(nπ/2)}
E. {n}
a1 + a2 + a3 + · · · + an + · · ·
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.4 Definition of infinite series 13
is an infinite series. The number an is the nth term of the series. The sequence {sn } defined by
s1 = a1
s2 = a1 + a2
s3 = a1 + a2 + a3
..
.
n
X
sn = a1 + a2 + a3 + · · · an = ak
k=1
..
.
is the sequence of partial sums of the series, the number sn being the nth partial sum.
Example 1.4.1. Find the first four elements of the sequence of partial sums sn and find a formula for sn in
terms of n.
Solution.
∞
X
A. n
n=1
s1 =1, s2 = 1 + 2 = 3, s3 = 1 + 2 + 3 = 6, s4 = 1 + 2 + 3 + 4 = 10
1
sn = n(n + 1)
2
∞
X 1
B.
n=1
(2n − 1)(2n + 1)
1 1 1
s1 = 1− =
2 3 3
1 1 1 1 1 1 2
s2 = 1− + − = (1 − ) =
2 3 3 5 2 5 5
1 1 1 1 1 1 1 1 3
s3 = 1− + − + − = (1 − ) =
2 3 3 5 5 7 2 7 7
1 1 1 1 1 1 1 1 1 1 4
s4 = 1− + − + − + − = (1 − ) =
2 3 3 5 5 7 7 9 2 9 9
1 1 1 1 1 1 1 1
sn = 1− + − + ··· + − + −
2 3 3 5 2n − 3 2n − 1 2n − 1 2n + 1
1 1 n
= (1 − )=
2 2n + 1 2n + 1
∞
X n
C. ln
n=1
n+1
∞ ∞
X n X
ln = [ln n − ln n + 1],
n=1
n + 1 n=1
s1 = ln 1 − ln 2 = − ln 2,
s2 = (ln 1 − ln 2) + (ln 2 − ln 3) = − ln 3
s3 = (ln 1 − ln 2) + (ln 2 − ln 3) + (ln 3 − ln 4) = − ln 4
s4 = (ln 1 − ln 2) + (ln 2 − ln 3) + (ln 3 − ln 4) + (ln 4 − ln 5) = − ln 5
sn = (ln 1 − ln 2) + (ln 2 − ln 3) + · · · + (ln(n − 1) − ln n) + (ln n − ln(n + 1)) = − ln(n + 1)
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.5 Convergence and divergence, properties of convergent series 14
a1 + a2 + · · · + an + · · ·
If the sequence {sn } converges to a limit S, then the series is said converge to S, and S is called the sum of
the series. We denote this by writing
∞
X
S= an .
n=1
If the sequence of partial sums diverges, then the series is said to diverge. A divergent series has no sum.
Remark 1.5.1. Sometimes it will be desirable to start the summation index in an infinite series at n = 0 rather
than n = 1, in which case we will view a0 as the zeroth term and s0 = a0 as the zeroth partial sum. It can
be proved that changing the starting value for the index has no effect on the convergence or divergence of an
infinite series.
Example 1.5.1. Determine whether the series converges. If the series converges, find its sum.
∞ ∞
X X 1
A. n B.
n=1 n=1
(2n − 1)(2n + 1)
∞
X n
C. ln
n=1
n+1
Exercise 1.5.1. Determine whether the series converges. If the series converges, find its sum.
∞ ∞
X 2n + 1 X 2
A. 2 (n + 1)2
B. n−1
n=1
n n=0
5
∞ ∞
X 2n−1 X 2
C. , D.
n=1
3n n=1
(4n − 3)(4n + 1)
Geometric Series
Geometric series play an important role in mathematical analysis. They also arise frequently in the field of
finance. The convergence or divergence of a geometric series is easily established.
∞
a
arn−1 =
P
converges, and its sum is 1−r . The series diverges if |r| ≥ 1.
n=1
∞
n−1
1 1 1 1 1 1
P
Example 1.5.2. 1. 1 + 2 + 4 + 8 + ··· = 2 = 1− 21
. Here a = 1 and r = 2. since |r| < 1, the
n=1
series converges.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.5 Convergence and divergence, properties of convergent series 15
∞
n−1
e2 e3 e
. Here a = π and r = − πe
P
2. π − e + π − π2 + ··· = π − π
n=1
∞ n−1
π2
X e π
π − = = .
π e π+e
n=1 1− π
e
The series converges since since − π < 1.
1 3
∞ √ √
( 2)n−1 . This series diverges to ∞ since a = 1 > 0 and r = 2 > 1.
P
3. 1 + 2 2 + 2 + 2 2 + · · · =
n=1
∞
(−1)n−1 . This series diverges since r = −1.
P
4. 1 − 1 + 1 − 1 + 1 − · · · =
n=1
Telescoping Series
It is now time to look at the second of the three series in this section. In this portion we are going to look at a
series that is called a telescoping series. The name in this case comes from what happens with the partial sums
and is best shown in an example.
∞
1
P
Example 1.5.3. Show that the series n(n+1) , is convergent, and find its sum.
n=1
Solution. This is not a geometric series, so we go back to the definition of a convergent series and compute
the partial sums.
n
X 1 1 1 1 1
sn = = + + + ··· +
i=1
i(i + 1) 1 · 2 2 · 3 3 · 4 n(n + 1)
We can simplify this expression if we use the partial fraction decomposition
1 1 1
= −
i(i + 1) i i+1
Thus we have
n n
X 1 X 1 1
sn = = −
i=1
i(i + 1) n=1 i i+1
1 1 1 1 1 1 1 1 1
= 1− + − + − + ··· + − + −
2 2 3 3 4 n−1 n n n+1
1
=1−
n+1
And here,
1
lim 1− = 1 − 0 = 1.
n→∞ n+1
Therefore, the given series is convergent and
∞
X 1
= 1.
n=1
n(n + 1)
J
Harmonic Series
The series
∞
X 1
n=1
n
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.5 Convergence and divergence, properties of convergent series 16
∞
X 1 1 1
= 1 + + + ··· diverges to infinity
n=1
n 2 3
Exercise 1.5.2. Determine whether the series converges. If the series converges, find its sum.
∞ ∞
X 1 X 1 1
A. B. + n
n=1
n+2 n=1
2n 2
∞ ∞
X 3 X π
C. n
, D. tann
n=1
2 n=1
6
E. 0.272727 . . . D. 0.234234234 . . .
The next theorem tells us that the terms of a convergent series must ultimately approach zero.
∞
P
Theorem 1.5.2. If the series an is convergent, then lim an = 0.
n=1 n→∞
Remark 1.5.2. ThisP 1gives a necessary condition for the convergence of a series; it is not sufficient. For example
1
we have seen that n is divergent, even though n → 0 as n → ∞.
∞
P
Theorem 1.5.3 (The Test for Divergence). If lim an does not exist or if lim an 6= 0, then the series an
n→∞ n→∞ n=1
is divergent.
Example 1.5.4. Show that the following series are divergent
∞ ∞
X n X
A. B. (−1n )n sin(1/n)
n=2
2n −1 n=0
∞
n n
P
Solution. A. 2n−1 diverges to infinity since lim = 1/2 > 0
n=2 n→∞ 2n−1
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.6 Nonnegative term series 17
∞
(−1n )n sin(1/n) diverges since
P
B.
n=0
1 sin n1 sin x
lim (−1n )n sin( ) = lim 1 = lim+ = 1 6= 0.
n→∞ n n→∞
n
x→0 x
The following properties of series are immediate consequences of the corresponding properties of the limits of
sequences.
∞
P ∞
P ∞
P ∞
P
Theorem 1.5.4. Let an and bn be two infinite series, and c is a constant. If an and bn converges
n=1 n=1 n=1 n=1
with sum a and b respectively, then
∞
X
A. (an ± bn ) converges to a ± b
n=1
X∞
B. can converges to ca
n=1
∞
X
C. If bn is divergent ,
n=1
∞
X
a) (an ± bn ) is divergent
n=1
X∞
b) cbn is divergent.
n=1
and
∞ ∞ 4
X 2n+1 X 4 2 n−1 3
= ( ) = = 4.
n=1
3n n=1
3 3 1 − 2/3
1 9
Thus its sum is 2 +4= 2 by Theorem 4.6.1(a). J
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.7 Tests of convergence (integral, comparison, ratio and root tests) 18
Theorem 1.7.1 (The Integral Test). Suppose that f is a continuous, positive, and decreasing function on [1, ∞)
. If f (n) = an for n ≥ 1, then
X∞ Z∞
an and f (x)dx
n=1 1
either both converge or both diverge.
Example 1.7.1. Determine if the following series is convergent or divergent.
∞ ∞
X 1 X 2
A. B. ne−n
n=2
n ln n n=0
∞ ∞
X 1 X 1
C. p
, p = constant D. 2
n=1
n n=1
n
Solution. A.
ZM M
dx
lim = lim ln(ln x) = lim {ln(ln M ) − ln(ln 2)} = ∞
M →∞ x ln x M →∞ 2
M →∞
2
and the series diverges.
B.
ZM M
dx 1 2 1 1 2 1
lim = lim − e−x = lim { e−1 − e−M } = e−1
M →∞ xe−x2 M →∞ 2 1
M →∞ 2 2 2
2
and the series converges.
C. Consider
ZM ZM M
dx x1−p M 1−p − 1
= x−p dx = =
xp 1−p 1 1−p
1 1
where p 6= 1.
M 1−p −1
– If p < 1, lim 1−p = ∞, so that the integral and thus the series diverges.
M →∞
1−p
M −1 1
– If p > 1, lim 1−p = p−1 , so that the integral and thus the series converges.
M →∞
RM dx RM dx
– If p = 1, xp = x = ln M and lim ln M = ∞, so that the integral and thus the series diverges.
1 1 M →∞
D. Since p = 2 > 1, then the integral and thus the series converges.
J
Exercise 1.7.1. Use the integral test to determine the convergence of the following series.
∞ ∞
X 3 X 1
A. 7n2 e−n B. √
n=1 n=1
2n + 9
∞ 3 ∞
X [ln n] X 4n
C. D. 2+9
n=1
n n=1
n
P-series
∞
1
P
If k > 0 then np converges if p > 1 and diverges if p ≤ 1. Sometimes the series in this fact are called p-series
n=k
and so this fact is sometimes called the p-series test.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.7 Tests of convergence (integral, comparison, ratio and root tests) 19
Solution. A. In this case p = 7 > 1 and so by this fact the series is convergent.
1
B. For this series p = 2 ≤ 1 and so the series is divergent by the fact.
1
C. For this series p = 3 ≤ 1 and so the series is divergent by the fact.
D. For this series p = 2 > 1 and so the series is convergent by the fact.
J
It is important to note before leaving this section that in order to use the Integral Test the series terms
MUST be positive. If they are negative then the test doesn’t work. Also remember that the test only determines
the convergence of a series and does NOT give the value of the series.
Solution. A. Since the cosine term in the denominator doesn’t get too large we can assume that the series
terms will behave like,
n 1
=
n2 n
which, as a series, will diverge. So, from this we can guess that the series will probably diverge and so
we’ll need to find a smaller series that will also diverge.
n n 1
> 2 = .
n2 − cos2 (n) n n
∞
1
P
Then, since n diverges (it’s harmonic and the p-series test) by the Comparison Test our original series
n=1
must also diverge.
B. The series terms should behave pretty much like
n2 1
= 2
n4 n
which will converge as a series. Therefore, we will need to find a larger series which also converges. So,
n2 + 2 n2 + 2
4
< .
n +5 n4
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.7 Tests of convergence (integral, comparison, ratio and root tests) 20
Then,
∞ ∞ ∞ ∞ ∞
X n2 + 2 X n2 X 1 X 1 X 1
4
= 4
+ 4
= 2
+
n=1
n n=1
n n=1
n n=1
n n=1
n4
As shown, we can write the series as a sum of two series and both of these series are convergent by the
p-series test. Therefore, since each of these series are convergent we know that the sum,
n2 + 2
n4
is also a convergent series. Recall that the sum of two convergent series will also be convergent. Now,
since the terms of this series are larger than the terms of the original series we know that the original
series must also be convergent by the Comparison Test.
2
C. For
P 5large n the dominant term in the denominator is 2n so we compare the given series with the series
2n2 . Observe that
5 5
2
< 2
2n + 4n + 3 2n
because the left side has a bigger denominator. (In the notation of the Comparison Test, an is the left
side and bn is the right side.) We know that
∞ ∞
X 5 5X 1
=
n=1
2n2 2 n=1 n2
∞
X 5
n=1
2n2
The inequality
1 1
> n
−1 2n2
bn = ( 12 )n is convergent and an > bn . Nonethe-
P
is useless as far as the Comparison
P Test is concerned because
1
less, we have the feeling that 2n −1 ought to be convergent because it is very similar to the convergent
geometric series ( 12 )n . In such cases the following test can be used.
P
Exercise 1.7.2. Use the Comparison test to determine the convergence of the following series.
∞ ∞
X n X 5n
A. 3+1
B.
n=1
n n=1
7n + 1
∞ ∞
X 1 X n2
C. D.
n=1
n + n2 + 5
3
n=1
n3 − 5
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.7 Tests of convergence (integral, comparison, ratio and root tests) 21
1√ √
1+ n n 1
L = lim = lim √ = lim √ = 1.
n→∞ √1 n→∞ 1+ n n→∞ (1/ n) + 1
n
∞ ∞
√1 1√
P P
Since the p−series n
diverges to ∞ (p = 1/2) so does the series 1+ n
by Limit Comparison Test.
n=1 n=1
∞
1
B. For large n the terms behave like n/n3 so let us compare the series with the p− series
P
n2 , which we
n=1
know converges.
n+5
n3 −2n+3 n3 + 5n2
L = lim 1 = lim = 1.
n→∞ n→∞ n3 − 2n + 3
n2
∞
n+5
P
Since L < ∞, the series n3 −2n+3 also converges by Limit Comparison Test.
n=1
√ 5
C. The dominant part of the numerator is 2n2 and the dominant part of the denominator is n5 = n 2 . This
suggests taking
2n2 + 3n 2n2 2
an = √ , bn = 5 = 1
5 + n5 n2 n2
1 5 3
an 2n2 + 3n n 2 2n 2 + 3n 2 2+ 3 2+0
lim = lim √ = lim √ = lim q n = √ =1
n→∞ bn n→∞ 5+n 2 5 n→∞ 2 5 + n 5 n→∞ 2 0+1
2 n55 + 1
bn = 2 1/n1/2 is divergent ( p-series with p = 12 < 1 ), the given series diverges by the Limit
P P
Since
Comparison Test.
D. We use the Limit Comparison Test with
1 1
an = , bn =
2n −1 2n
and obtain
1
an n 2n 1
lim = lim 2 1−1 = lim n = lim =1>0
n→∞ bn n→∞
2n
n→∞ 2 − 1 n→∞ 1 − 1/2n
1/2n is a convergent geometric series, the given series converges by the Limit
P
Since this limit exists and
Comparison Test.
J
Exercise 1.7.3. Determine if the following series is convergent or divergent.
∞ ∞
X 1 X n
A. 2+1
B. 2−3
n=1
n n=1
4n
∞ ∞
X n+2 X 3n
C. √ D.
n=1
(n + 1) n + 3 n=2
n5n
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.8 Alternating series and alternating series test 22
Definition 1.8.1. An alternating series is a series whose terms are alternately positive and negative.
Example 1.8.1.
∞
X (−1)n−1 1 1 1 1 1 1
A. = 1 − + − + − + + ···
n=1
n 2 3 4 5 6 7
∞
X n 1 2 3 4 5
B. (−1)n = − + − + − + ···
n=1
n+1 2 3 4 5 6
We see from these examples that the nth term of an alternating series is of the form
an = (−1)n−1 bn or an = (−1)n bn .
Where bn is a positive number (In fact, bn = |an |.)) The following test says that if the terms of an alternating
series decrease toward 0 in absolute value, then the series converges.
Now, all that we need to do is run through the two conditions in the test.
1
lim bn = lim =0
n→∞ n→∞ n
and
1 1
bn =
> = bn+1 .
n n+1
Both conditions are met and so by the Alternating Series Test the series must converge.
B. First, identify the bn for the test.
∞ ∞
X (−1)n n2 X
n n
2
n2
= (−1) , bn =
n=1
n2 + 5 n=1
n2 + 5 n2 + 5
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.9 Absolute and conditional convergence 23
This limit doesn’t exist and so by the Divergence Test this series diverges.
√
n
C. Let bn = n+4 . √
n
lim bn = lim =0
n→∞ n→∞ n+4
Let’s start with the following function and its derivative.
√
x 4−x
f (x) = , f 0 (x) = √
x+4 2 x(x + 4)2
Now, there are three critical points for this function, x = −4, x = 0, and x = 4. The first is outside the
bound of our series so we won’t need to worry about that one. Using the test points,
√
0 3 0 5
f (1) = f (5) =
50 810
and so we can see that the function in increasing on 0 ≤ x ≤ 4 and decreasing on x ≥ 4. Therefore,
f (n) = bn since we know as well that the bn are also increasing on 0 ≤ n ≤ 4 and decreasing on n ≥ 4.
The bn are then eventually decreasing and so the second condition is met. Both conditions are met and
so by the Alternating Series Test the series must be convergent.
D. To check for the convergence or divergence of this series use the fact cos(nπ) = (−1)n and then
∞ ∞
X cos(nπ) X (−1)n
√ = √
n=1
n n=1
n
is convergent, but it is not absolutely convergent because the corresponding series of absolute values is
∞
X (−1)n−1 1 1 1 1
= = 1 − + − + ...
n=1
n n 2 3 4
So, as implied earlier we get r =1 which means the ratio test is no good for determining the convergence
of this series. We will need to resort to another test for this series. This series is an alternating series and
so lets check the two conditions from that test.
1
lim =0
n→∞ n2 + 1
1 1
bn = > = bn+1 .
n2 + 1 (n + 1)2 + 1
The two conditions are met and so by the Alternating Series Test this series is convergent.
D. Check that this series is convergent.
J
an+1 P
Raabe’s test. Let lim n 1 − an = L. Then the series an
n→∞
Exercise 1.9.1. Use the ratio test to determine the convergence of the following series.
∞ ∞
X 2n X 1
A. B.
n=1
n! n=1
n2 +1
∞ ∞
X X 5n
C. ne−n D.
n=0 n=0
2n + 3n
Then,
1. If r < 1 the series is absolutely convergent (and hence convergent).
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.10 Generalized convergence tests 26
C. Similarly,
1
2n n
2
r = lim = lim 1
n→∞ n n→∞ nn
1
Now let’s compute lim n n = 1 Hence,
n→∞
1
2n n
2
r = lim = lim 1 =2>1
n→∞ n n→∞ nn
Therefore, by the root test the given series diverges.
J
Note: if we get r = 1 from the ratio test then the root test will also give r = 1 and so there isn’t any reason
to try the root test on anything that gives r = 1 on the ratio test.
an P
b) Generalized Limit comparison test: If lim bn = L, where L is a positive number, and if bn converges
n→∞
P
then an converges (absolutely).
an
c) Generalized ratio test: Suppose that an 6= 0 for n ≥ 1 and lim = r(possibly ∞) that
n→∞ an+1
∞
P
i) If r < 1, then an converges (absolutely).
n=1
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
1.10 Generalized convergence tests 27
∞
P
ii) If r > 1, then an diverges
n=1
iii) If r = 1, no conclusion can be drawn.
p
d) Generalized root test: Suppose that lim n |an | = r (possibly ∞).
n→∞
∞
P
i) If r < 1, then an converges (absolutely).
n=1
P∞
ii) If r > 1, then an diverges
n=1
iii) If r = 1, no conclusion can be drawn.
∞
xn 2 3
= x+ x2 + x3 +· · · converges absolutely for |x| < 1. converges conditionally
P
Example 1.10.1. Show that n
n=1
for x = −1, and diverges for x = 1 and for |x| > 1.
xn+1 /(n + 1) n
lim n
= |x| lim = |x|
n→∞ x /n n→∞ n + 1
Therefore the Generalized Ratio Test implies that the given series converges for |x| < 1 and diverges |x| > 1. J
xn
Example 1.10.2. Show that lim = 0 for all x.
n→∞ n!
xn
Solution. If x = 0, then the limit is 0. If x 6= 0, let an = n! . Then
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
Chapter 2
Power Series
2.1 Introduction
Until now, we have discussed a series with constant terms. Now, We extend our discussion of series to the case
where the terms of the series are functions of the variable x. Pay close attention, as the primary reason for
studying series is that we can use them to represent functions. This opens up numerous possibilities for us. For
instance,
• From approximating the values of transcendental functions to calculating derivatives and integrals of such
functions
• Developing the mathematical tools needed to investigate the convergence of Taylor and Maclaurin series.
• Defining functions as convergent series produces an explosion of new functions available to us, including
many important functions, such as the Bessel functions.
Remark 2.2.1. 1) A power series in (x − c) is also called a power series centered at c, or a power
series about c . Thus, a power series in x is just a series centered at the origin.
2) To simplify the notation used for a power series, we have adopted the convention that (x − c)0 = 1, even
when x = c.
We can view a power series as a function defined by the rule
∞
X
f (x) = an (x − c)n
n=0
The domain of f is the set of all x for which the power series converges, and the range of f comprises the
sums of the series obtained by allowing x to take on all values in the domain of f . If a function f is defined in
∞
an (x − c)n .
P
this manner, we say that f is represented by the power series
n=0
Example 2.2.1. Determine the values of x for which the following power series converges.
∞ ∞ ∞
X n X (x − 3)n X
A. n+1
xn B. C. n!xn
n=0
3 n=1
n n=0
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
2.2 Definition of power series at any x0 and x0 = 0 29
an+1 (x − 3)n+1 n
lim = lim ·
n→∞ an n→∞ n+1 (x − 3)n
n
= lim (x − 3)
n→∞ n + 1
n
= |x − 3| lim
n→∞ n + 1
Hence, the series converges absolutely for 2 < x < 4 and diverges for |x − 3| > 1 (i.e., for x < 2 or x > 4).
Since the Ratio Test gives no conclusion for the endpoints x = 2 and x = 4 , we must test these separately.
∞
(−1)n n1 which is convergent series by alternating series test.
P
. For x = 2, we have the series
n=1
∞
1
P
. For x = 4, we have the series n which is divergent harmonic series.
n=1
Therefore, the given power series converges for all x in the interval [2, 4) and diverges for all x outside
this interval.
C. For x 6= 0 and using the Generalized Ratio Test, we have
an+1 (n + 1)!xn+1
lim = lim
n→∞ an n→∞ n!xn
= lim (n + 1)x
n→∞
= |x| lim n + 1
n→∞
=∞
Hence, by generalized Ratio Test the series diverges when x 6= 0. Thus, given series converges for x = 0.
J
Exercise 2.2.1. Determine the values of x for which the following power series converges.
∞ ∞ ∞
X xn X xn X 2n xn
A. B. C. (−1)n+1
n=0
(n + 1)2n n=0
n! n=0
n3n
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
2.3 Convergence and divergence, radius and interval of convergence 30
• The number R referred to in Theorem 2.3.1 is called the radius of convergence of the power series.
The radius of convergence is R = 0 in case (1) and ∞ in case (2).
• The set of all values for which the power series converges is called the interval of convergence of the
power series.
Theorem 2.3.1 tells us that the interval of convergence of a power series centred at c is one of the following
The radius of convergence, R, and found by using the ratio test on the power series: If
an+1 (x − c)n+1
an+1
ρ = lim = lim |x − c|
n→∞ an (x − c)n n→∞ an
∞
an (x − c)n converges absolutely when ρ < 1, that is, where
P
exists, then the series
n=0
an+1
|x − c| < R = 1/ lim
n→∞ an
∞
an+1
an (x − c)n has radius of
P
Remark 2.3.1. Suppose that L = lim exists or ∞. Then the power series
n→∞ an n=0
convergence R = 1/L. (If L = ∞, then R = 0; if L = 0, then R = ∞.)
an xn converges absolutely on the interior of its interval of convergence.
P
Theorem 2.3.2. A power series
Example 2.3.1. Determine the center, radius and interval of convergence of the following power series
∞ ∞ ∞ ∞
X X xn X X (−1)n xn
A. xn B. C. n!xn D.
n=0 n=0
n! n=0 n=1
3n (n + 1)
an+1 xn+1
L = lim = lim
n→∞ an n→∞ xn
= lim |x|
n→∞
= |x|
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
2.3 Convergence and divergence, radius and interval of convergence 31
Hence, the series absolutely converges if L = |x| < 1 and diverges if L = |x| > 1. The test is inconclusive
if |x| = 1 ( i.e if x = −1 and x = 1). so that we will have to investigate convergence at these points
separately. At these points the series becomes
∞
X
1n = 1 + 1 + 1 + · · · f or x = 1
n=0
∞
X
(−1)n = 1 − 1 + 1 − · · · f or x = −1
n=0
These both series diverge. Thus the given series converges in the interval (−1, 1).
Therefore, the interval of convergence for the given power series is (−1, 1), and the radius of convergence
is R = 1 .
B. Applying the generalized ratio test for absolute convergence, we have
an+1 x(n+1)! n!
L = lim = lim ·
n→∞ an n→∞ (n + 1)! xn
x
= lim
n→∞ n + 1
=0
Since L = 0 < 1 for all x,the series converges absolutely for all x.
Therefore, the interval of convergence is (−∞, +∞) and Radius of convergence is R= +∞
c. If x 6= 0, then the generalized ratio test for absolute convergence yields
an+1 (n + 1)!xn+1
L = lim = lim
n→∞ an n→∞ n!xn
= lim (n + 1)x
n→∞
= +∞
Hence, the series diverges for all non zero values of x. Therefore, the interval of convergence is single point
x = 0 and the radius of convergence is R = 0
D. Since |(−1)n | = |(−1)n+1 | = 1 and using generalized ratio test for absolute convergence we obtain
an+1 xn+1 3n (n + 1)
L = lim = lim ·
n→∞ an n→∞ 3n+1 xn
|x| n + 1
= lim ·
n→∞ 3 n+2
|x| n+1
= lim
3 n→∞ n + 2
|x|
=
3
Hence, by the generalized ratio test for absolute convergence implies that the given series converges
absolutely if |x| < 3 and diverges if |x| > 3. The test is inconclusive if |x| = 3 ( i.e if x = −3 and x = 3).
so that we will have to investigate convergence at these points separately.
Substituting x = −3 in the given series yields
∞ ∞
X (−1)n (−3)n X 1
n (n + 1)
=
n=1
3 n=1
n + 1
which is the conditionally convergent alternating harmonic series.Thus,the interval of convergence for the
given series (−3, 3] and the radius convergence is R = 3
J
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
2.4 Representations of Functions as Power Series 32
Exercise 2.3.1. 1. Determine the centre, radius and interval of convergence of the following power series
∞ ∞
X (x − 2)n X (−1)n 2n xn
A. B. ( √
n=1
n2 3n n=0
n+1
∞ ∞
X n(x + 2)n X (−1)n xn
C. D.
n=0
3n+1 n=0
3n (n + 1)
∞
1
xn provided that |x| < 1.
P
So that we can represent the function f (x) = 1−x with power series
n=0
That means
∞
1 X
f (x) = = xn provided that |x| < 1 (2.1)
1 − x n=0
Remark 2.4.1. The radius of convergence of this power series is R = 1 and the interval of convergence is
|x| < 1.
Example 2.4.1. Find a power series representation for the following function and determine its interval of
convergence.
1 2x2 x
A. g(x) = B. f (x) = C. h(x) =
1 + x3 1 + x3 5−x
1 1
Solution. A. By rewriting g(x) = 1+x3 = 1−(−x3 ) and substituting x = −x3 in equation 2.1 ,we have
1 1
g(x) = =
1 + x3 1 − (−x3 )
∞
X
= (−x3 )n
n=0
X∞
= (−1)n (x3n ) provided that | − x3 | < 1 ⇔ |x| < 1
n=0
∞
1
(−1)n (x3n ) with the interval
P
Therefore, the function g(x) = 1+x3 can be represented by power series
n=0
of convergence is |x| < 1.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
2.5 Algebraic operations on convergent power series 33
1 1
B. By rewriting f (x) = 2x2 1−(−x 3 ) and substituting x = −x
3
in equation 2.1 ,we have f (x) = 2x2 1−(−x3) =
∞ ∞
2x2 (−1)n x3n = (−1)n 2x3n+2 , provided that |x| < 1
P P
n=0 n=0
x x 1 x
C. By rewriting h(x) = 5−x = 5 · 1− x and substituting x = 5 in equation 2.1 ,we have
5
x x 1
g(x) = = ·
5−x 5 1 − x5
∞
x X x n x
= provided that | | < 1 ⇔ |x| < 5
5 n=0 5 5
∞
x x n+1
P
Therefore, the function h(x) = 5−x can be represented by power series 5 with the interval of
n=0
convergence |x| < 5.
J
∞
X ∞
X
n
(can )x = c an xn
n=0 n=0
where
n
X
cn = a0 bn + a1 bn−1 + ... + an b0 = aj bn−j
j=0
∞ ∞ ∞
cn xn is called Cauchy product of the series an xn and bn xn .
P P P
The series
n=0 n=0 n=0
1
Example 2.5.1. Find the power series representation of the function f (x) = by using Cauchy product
(1 − x)2
of series.
∞
1
xn holds for −1 < x < 1. We can determine a power series representation
P
Solution. We know that 1−x =
n=0
1
for (1−x)2 by taking the Cauchy product of this series with itself.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
2.6 Differentiation and integration of power series 34
then, if x is interior to I,
1. Differentiation of power series
∞
X ∞
X
f 0 (x) = Dx (an xn ) = n(an xn−1 )
n=0 n=1
= a1 + 2a2 x + 3a3 x2 + · · ·
That is,
x2 x3
− ln(1 − x) = x +
+ + · · · , −1 < x < 1
2 3
If we replace x by −x in the later and multiply both sides by -11, we obtain
x2 x3 x4
ln(1 + x) = x − + − + ··· , −1 < x < 1
2 3 4
J
Example 2.6.2. Use the geometric series to find a power series representation for tan−1 x.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
2.7 Taylor series; Taylor polynomial and application 35
Solution. Substitute −t2 for x in the geometric series. Since 0 ≤ t2 < 1 whenever −1 < t < 1, we obtain
1
= 1 − t2 + t4 − t6 + t8 − · · · (−1 < t < 1)
1 + t2
Now integrate from 0 to x, where |x| < 1:
Z x Z x
1
tan−1 x = 2
dt = (1 − t2 + t4 − t6 + t8 − · · · )dt
0 1+t 0
x3 x5 x7 x9
=x− + − + + ···
3 5 7 9
∞
X x2n+1
= (−1)n (−1 < x < 1)
n=0
2n + 1
J
2
Exercise 2.6.1. 1. Find a power series representation for 2xex given that a series representation for ex is
∞
xn
ex =
P
n! in (−∞, ∞).
n=0
f (k) (c)
ak =
k!
for k = 0, 1, 2, 3, . . . .
Definition 2.7.1 (Taylor and Maclaurin series). If f (x) has derivatives of all orders at x = c(i.e.,if f (k) (c)
exists for k = 0, 1, 2, 3, . . . ), then the series
∞
X f (n) (c)
(x − c)n
n=0
n!
f 00 (c) f (3) (c)
= f (c) + f 0 (c)(x − c) + (x − c)2 + (x − c)3 + · · ·
2! 3!
is called the Taylor series of f about c (or the Taylor series of f in powers of (x − c). If c = 0,the Taylor
series becomes
f 00 (0) 2 f (3) (0) 3
f (x) = f (0) + f 0 (0)x + x + x + ···
2! 3!
and this series is called Maclaurin series.
Exercise 2.7.1.
Find Maclaurin series representation for ex , cos x, cosh x and sinh x.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
2.7 Taylor series; Taylor polynomial and application 36
is called the nth -degree Taylor polynomial of f at c. If c = 0, we have the nth -degree Maclaurin polynomial
of f . First, notice that the partial sums of a Taylor series (like those for any power series) are simply polynomials.
We define
n
X f (k) (c)
Pn (x) = (x − c)k
k!
k=0
f 00 (c) f (n) (c)
= f (c) + f 0 (c)(x − c) + (x − c)2 + · · · + (x − c)n
2! n!
Theorem 2.7.2. If f has derivatives up to order n + 1 in an interval I containing c, then for each x in I,
there exists a number z between x and c such that
f 00 (c) f (3) (c) f (n) (c)
f (x) = f (c) + f 0 (c)(x − c) + (x − c)2 + (x − c)3 + · · · + (x − c)n + Rn (x) (2.2)
2! 3! n!
= Pn (x) + Rn (x)
where
f (n+1) (z)
Rn (x) = (x − c)n+1 .
(n + 1)!
n
f (k) (c)
− c)k which is a remainder (error)
P
Given f (x), c and n. Let Rn (x) = f (x) − Pn (x) = f (x) − k! (x
k=0
made in approximating f (x) by Pn (x).
Example 2.7.1. For f (x) = ex , find the Taylor polynomial of degree n expanded about x = 0. Then determine
a) Pn (1) b) P5 (1).
00
Solution. f (x) = ex , f 0 (x) = ex , f (x) = ex , f (3) (x) = ex and f (n) (x) = ex for all n. Thus,
As a result
n
1 1 1 1 X 1
Pn (1) = 1 + + + + ... + = and
1! 2! 3! n! k!
k=0
5
1 1 1 1 1 X 1
P5 (1) = 1 + + + + + =
1! 2! 3! 4! 5! 5!
k=0
J
Theorem 2.7.3 (Taylor’s Inequality). If |f (n+1) (x)| ≤ M for |x − x0 | ≤ d , then the remainder Rn (x) of the
Taylor series satisfies the inequality
M
Rn (x) ≤ |x − x0 |n+1 for |x − x0 | ≤ d.
(n + 1)!
We now turn our attention to finding the conditions under which the function has a power series represen-
tation.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
2.7 Taylor series; Taylor polynomial and application 37
Theorem 2.7.4. Suppose that f has derivatives of all order on an interval I containing x0 and that Rn (x) is
the Taylor remainder of f at c. If
lim Rn (x) = 0
n→∞
for every x in I, then f (x) is represented by the Taylor series of f at c ; that is,
∞
X f (n) (c)
f (x) = (x − c)n
n=0
n!
Theorem 2.7.5. If x is any real number, then
|x|n
= 0.
lim
n→∞ n!
∞
xn x
P
Example 2.7.2. Show that the Maclaurin series n! of the function f (x) = e does represent f .
n=0
Solution. We use Taylor’s Theorem with c = 0 . Since f (n+1) (x) = ex , we see that
f (n+1) (z) n+1 ez
Rn (x) = x = xn+1
(n + 1)! (n + 1)!
where z is a number between 0 and x. If x > 0, then ez < ex , since the function f (x) = ex is increasing.
Therefore,
ex
0 < Rn (x) < xn+1
(n + 1)!
By Theorem 2.7.5,
ex xn+1
lim xn+1 = ex lim =0
n→∞ (n + 1)! n→∞ (n + 1)!
It follows from Theorem 2.7.4 that the Maclaurin series of represents the function f (x) = ex for all x 6= 0.
Finally, the series represents f at x = 0, since f (0) = e0 = 1, and this is also the value of the sum of the series
at 0. J
∞ n
x2n+1
P
Example 2.7.3. Show that the Maclaurin series (−1) (2n+1)! of the function f (x) = sin x does represent
n=0
f.
Solution. Using Taylor’s Theorem with c = 0, we have
f (n+1) (z) n+1
Rn (x) = x
(n + 1)!
where z is a number between 0 and x. But f (n+1) (x) is either ± sin x or ± cos x for any n(n = 0, 1, 2, . . . ).
Therefore, |f (n+1) (z)| ≤ 1 , so
f (n+1) (z)
|x|n+1
|Rn (x)| = |x|n+1 ≤
(n + 1)! (n + 1)!
By Theorem 2.7.5,
|x|n+1
lim =0
n→∞ (n + 1)!
2
and is valid for all x because the series for e−t is valid for all t. Therefore,
1 1 1
E(1) = 1 −+ − + ···
3 5 × 2! 7 × 3!
1 1 1 (−1)n−1
≈1− + − + ···
3 5 × 2! 7 × 3! (2n − 1)(n − 1)!
We stopped with the nth term. Again, the alternating series test assures us that the error in this approximation
does not exceed the first omitted term, so it will be less than 0.0005, provided (2n + 1)n! > 2, 000. Since
13 × 6! = 9, 360, n = 6 will do. Thus,
1 1 1 1 1
E(1) ≈ 1 − + − + − ≈ 0.747,
3 10 42 216 1, 320
rounded to 3 decimal places. J
Solution. A.
x3 x5
x− x− 3! + 5! − ···
x − sin x
lim = lim
x→0 x3 x→0 x3
x3 x5
3! − 5! + ···
= lim
x→0 x3
1 x2 1 1
= lim − + ··· = =
x→0 3! 5! 3! 6
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
2.7 Taylor series; Taylor polynomial and application 39
B.
(2x)2 (2x)3 3 x6
1 + (2x) + + + ··· − 1 x − 2 + ···
(e2x − 1)(ln(1 + x3 )) 2! 3!
lim = lim 2
(1 − cos 3x)2
x→0 x→0
(3x)2 (3x)4
1 − 1 − 2! + 4! − · · ·
2 + 2x + · · ·
= lim 2
x→0
9 2 34 4
2x − 4! x + ···
2 + 2x + · · · 2 8
= lim 2 = 9 2 =
(2) 81
x→0
9 4
2 − 34! x2 + · · ·
J
Exercise 2.7.2. Use Taylor series to find the following limits
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
Chapter 3
Solution. By substitution
√
f (1, 4) = 3(1)2 4 − 1 = 5
√
f (0, 9) = 3(0)2 9 − 1 = −1
√ √
f (t2 , t) = 3(t2 )2 t − 1 = 3t4 t − 1
√ √
f (ab, 9b) = 3(ab)2 9b − 1 = 9a2 b2 b − 1
J
Domain= {(x, y) ∈ R2 : y ≥ 0}
The domain of functions of several variables consists of all points in space or (in plane for functions of two
variables) for which the formula is meaningful.
p
Example 3.1.2. f (x, y) = 9 − 4x2 − y 2 The domain of f is the region in the xy plane bounded by the ellipse
4x2 + y 2 = 9, because the square root is defined only for nonnegative numbers.
p
Example 3.1.3. g(x, y, z) = x2 + y 2 + z 2 The domain of g consists of all points (x, y, z) in space, because
x2 + y 2 + z 2 ≥ 0 for all (x, y, z).
The following are some of functions of several variables with there domains and representations
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.1 Notations, examples, level curves and graphs 41
The formula for functions of thee variables is analogous. The domain of f + g, f − g , and f g consists of all
points simultaneously in the domain of f and in the domain of g, whereas the domain of fg consists of all points
simultaneously in the domain of f and in the domain of g at which g does not assume the value 0. A function
f of two variables x and y is a polynomial function if it is a sum of function of the form cxm y n , where c is
a number and m and n are nonnegative integers. A rational function is, as with functions of one variable,
the quotient of two polynomials functions. Similar terminology is used for polynomial and rational function of
three variables.
Example 3.1.4. Describe the graph of the function in an xyz coordinate system and the level curves associated
with them.
a. f (x, y) = 1 − x − 21 y.
Solution. By definition, the graph of the given function is the graph of the equation z = 1 − x − 12 y
which is a plane. A triangular portion of the plane can be sketched by plotting the intersection with the
coordinates axes and joining them ((0, 0, 1), (0, 2, 0) and (1, 0, 0)) with line segment. For any value of c
the level curve f (x, y) = c is the line with equation x − 21 y = 1 − c. J
b. f (x, y) = 1 − x2 − y 2
Solution. By definition, the graph of the given function is the graph of the equation
z = 1 − x2 − y 2 . (3.1)
Exercise 3.1.1. Identify the type of the level curve f (x, y) = c if,
a) f (x, y) = x2 + 4y 2 ; c = 1, 4
b) f (x, y) = x2 − y; c = −2, 2
c) f (x, y) = x2 − y 2 ; c = −1, 0, 1
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.2 Limits and continuity 42
(0, 0, 1)
y
(0, 2, 0)
y
y
(1, 0, 0)
Figure 3.2:
Figure 3.1:
and say that lim f (x, y) exists. Similarly let f be defined throughout a set containing a ball centered at
(x,y)→(a,b)
(a, b, c) except possibly at (a, b, c) it self. Then L is the limit of f at (a, b, c) if for every > 0 there exists a
δ > 0 such that p
if 0 < (x − a)2 + (y − b)2 + (z − c)2 < δ, then |f (x, y, z) − L| <
In this case we write
lim f (x, y, z) = L
(x,y,z)→(a,b,c)
lim f (x,y)
f (x,y)→(a,b)
iii. lim g (x, y) = lim g(x,y) provided that lim g(x, y) 6= 0.
(x,y)→(a,b) (x,y)→(a,b) (x,y)→(a,b)
iv. The limit of a polynomial always exists and is found simply by substitution. lim Pn (x, y) = Pn (a, b)
(x,y)→(a,b)
x3 + y 3 7 x3 + y 3
lim = and lim = 0.
(x,y)→(−1,2) x2 + y 2 5 (x,y)→(0,0) x2 + y 2
Solution. Since lim x = −1 and lim y = 2 The product formula yields lim x3 = −1 and
(x,y)→(−1,2) (x,y)→(−1,2) (x,y)→(−1,2)
lim y3 = 8
(x,y)→(−1,2)
lim x2 = 1 and lim y 2 = 4 Hence the sum and the quotient formulas combined to yield
(x,y)→(−1,2) (x,y)→(−1,2)
lim (x3 + y 3 )
x3 + y 3 (x,y)→(−1,2)
lim =
(x,y)→(−1,2) x2 + y 2 lim (x2 + y 2 )
(x,y)→(−1,2)
lim x3 + lim y3
(x,y)→(−1,2) (x,y)→(−1,2)
=
lim x2 + lim y2
(x,y)→(−1,2) (x,y)→(−1,2)
−1 + 8 7
= = .
1+4 5
We cannot use quite the same procedure to verify the second limit, since lim (x2 + y 2 ) = 0. So, the
(x,y)→(0,0)
quotient formula does not apply. To verify the second limit we will show first that
x3
lim =0 (3.2)
(x,y)→(0,0) x2 + y 2
we can use the sum formula to combine the limits in 3.2 and 3.3:
x3 + y 3 x3 y3
lim 2 2
= lim 2 2
+ lim =0+0=0
(x,y)→(0,0) x + y (x,y)→(0,0) x + y (x,y)→(0,0) x + y 2
2
J
2x2 y+3xy
Exercise 3.2.2. 1. Evaluate lim 2 .
(x,y)→(2,1) 5xy +3y
2. Evaluate lim ln xy .
(x,y)→(e,1)
Disproving limits:
• For a limit to exist, the function must approach that limit for every possible path of (x, y) approaching
(a, b). Thus, it is usually very hard to prove a limit exists, and easier to show a limit does not exist.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.2 Limits and continuity 44
• So, if a function f (x, y) approaches L1 as (x, y) approaches (a, b) along a path P1 and f (x, y) approaches
L2 6= L1 as (x, y) approaches (a, b) along a different path P2 , then lim f (x, y) does not exist.
(x,y)→(a,b)
• Some simple paths to try are the lines along x = a, y = b, or any other line through the point.
y
Example 3.2.3. Show the following limit does not exist: lim
(x,y)→(1,0) x+y−1
Solution. The point (x, y) may approach (1, 0) in infinitely many paths and if the limit exits it is independent
of the path followed. Among these paths we can take the line x = 1 and the line y = x − 1.
Case 1: when (x, y) may approach (1, 0) along x = 1.
y y
lim = lim = 1.
(x,y)→(1,0) x + y − 1 y→0 y
x2 −y 2
Example 3.2.4. Show that lim 2 2 does not exist.
(x,y)→(0,0) x +y
x2 −y 2 x2
Solution. Let f (x, y) = x2 +y 2 . First let’s approach (0, 0) along the x-axis. Then y = 0 gives f (x, 0) = x2 =1
for all x 6= 0,so
f (x, y) → 1 as (x, y) → (0, 0) along the x-axis.
y2
We now approach along the y-axis by putting x = 0. The f (0, y) = y2 = −1 for all y 6= 0, so
Since f has two different limits a long two different lines, the given limit does not exist. J
Exercise 3.2.3. Show the following limit does not exist
xy
1. lim 2 2
(x,y)→(0,0) x +y
xy 2
2. lim x 2 +y 4
(x,y)→(0,0)
3.2.2 Continuity
Definition 3.2.2. a) A function f of two variables is continuous at (a, b) if
Solution. The function f is discontinuous at (0, 0) because it is not defined there. Since f is a rational function,
it is continuous on its domain, which is the set D = {(x, y)|(x, y) 6= (0, 0)}. J
Example 3.2.6. Let
x2 −y 2
(
x2 +y 2 if (x, y) 6= (0, 0)
g(x) =
0 if (x, y) = (0, 0)
g is defined at (0, 0) but g is still discontinuous there because lim g(x, y) does not exist.
(x,y)→(0,0)
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.3 Partial derivatives; tangent lines, higher order partial derivatives. 45
equal to a constant x0 , z = f (x, y) becomes the function z = f (x0 , y) of y, whose graph is the intersection of the
surface with the plane x = x0 (Figure 5), and the y-derivative fy (x0 , y0 ) is the slope in the positive y-direction
of the tangent line to this curve at y = y0 .
Example 3.3.4. Find all the second order derivatives for f (x, y) = cos(2x) − x2 e5y + 3y 2
J
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.4 The chain rule, implicit differentiation 47
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.4 The chain rule, implicit differentiation 48
∂x s
∂s
∂z
∂z ∂z ∂x ∂z ∂y ∂x x
= + ∂x
∂s ∂x ∂s ∂y ∂s ∂t
t
z ∂y s
∂z ∂z ∂x ∂z ∂y ∂s
= + y
∂t ∂x ∂t ∂y ∂t ∂z
∂y ∂y
∂t t
∂z ∂z
Example 3.4.3. Let z = x ln y, x = u2 + v 2 , and y = u2 − v 2 . Find ∂u and ∂v .
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.5 Directional derivatives and gradients 49
dy
Example 3.4.8. Let x3 + y 3 = 2xy. Find dx .
2
For example, the function f (x, y) = (x−y) ∂f ∂f
x2 +y 2 has this property, and in fact both ∂x and ∂y exist and are
continuous functions at the point (0, 0). With this sort of phenomenon in mind we give the following definition
of differentiability.
Theorem 3.4.3. Let f be a function having partial derivatives throughout a set containing a disk centered at
(x0 , y0 ). If fx and fy are continuous at (x0 , y0 ) then there are functions ε1 and ε2 of two variables such that
f (x, y) − f (x0 , y0 ) = fx (x0 , y0 )(x − x0 ) + fy (x0 , y0 )(y − y0 ) + ε1 (x, y)(x − x0 ) + ε2 (x, y)(y − y0 ) for (x, y) in D
Definition 3.4.1. A function f of two variables is differentiable at (x0 , y0 ) if there exists a disk D centered
at (x0 , y0 ) and functions ε1 and ε2 of two variables such that
f (x, y)−f (x0 , y0 ) = fx (x0 , y0 )(x−x0 )+fy (x0 , y0 )(y−y0 )+ε1 (x, y)(x−x0 )+ε2 (x, y)(y−y0 ) for (x, y) in D (3.9)
Example 3.5.1. Let f (x, y) = 6 − 3x2 − y 2 , and let u = √1 i − √1 j. Find Du f (1, 2).
2 2
Solution. Notice that u is a unit vector. First we calculate the partial derivatives of f :
Therefore by 3.11
1 1
Du f (1, 2) = fx (1, 2) √ + fy (1, 2) √
2 2
√
1 −1
= (−6) √ + (−4) √ =− 2
2 2
J
Remark 3.5.1. The directional derivative in the direction of an arbitrary non-zero vector a is defined to be
1
Du f (x0 , y0 ), where u = kak a.
Example 3.5.2. Let f (x, y) = xy 2 and let a = i − 2j. Find the directional derivative at (−3, 1) in the direction
of a.
p √
Solution. In this case kak = 12 + (−2)2 = 5, so we will find Du f (−3, 1), where
1 1 2
u= a= √ i− √ j
kak 5 5
b. Let f be a function of three variables that has partial derivatives at (x0 , y0 , z0 ). Then the gradient of f at
(x0 , y0 , z0 ), which is denoted grad (x0 , y0 , z0 ) or ∇f (x0 , y0 , z0 ) is defined by
Example 3.5.3. Find the gradient of the function f (x, y) = x2 y 3 − 4y at the point (2, −1).
Solution. We first compute the partial derivatives at (2, −1).
Hence fx (2, −1) = −4 and fy (2, −1) = 8. Therefore, ∇f (2, −1) = −4i + 8j. J
Note 2.
Du f (x, y) = ∇f (x, y) · u (3.12)
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.6 Tangent planes and Total differential 51
∇f (x, y, z) = hfx (x, y, z), fy (x, y, z), fz (x, y, z)i = hsin yz, xz cos yz, xy cos yzi = h0, 0, 3i
r
1 2 1 −1 3
Du f (1, 3, 0) = ∇f (1, 3, 0) · u = 3k · √ i + √ j − √ k = 3 √ =−
6 6 6 6 2
J
Theorem 3.5.2. Suppose f is differentiable function of two or three variables. The maximum value of the
directional derivative Du f (x) is |∇f (x)| and it occurs when u has the same direction as the gradient vector
∇f (x).
Proof. We know that Du f = ∇f · u. Thus, Du f = ∇f · u = |∇f |kuk cos θ = k∇f k cos θ where θ is the angle
between ∇f and u. The maximum value of cos θ is 1 and this occurs when θ = 0. Therefore the maximum
value of Du f is k∇f k and it occurs when θ = 0, that is, when u has the same direction ∇f .
Example 3.5.5. a. If f (x, y) = xey , find the rate of change of f at the point P (2, 0) in the direction from
P to Q(1/2, 2).
b. In what direction does f have the maximum rate of change? What is this maximum rate of change?
Solution. a. We first compute the gradient vector:
Example 3.6.1. Assuming that the curve x2 − xy + 3y 2 = 5 is smooth, find a unit vector that is perpendicular
to the curve at (1, −1).
Definition 3.6.1. Let f be differentiable at a point (x0 , y0 , z0 ) on a level surface S of f . If gradf (x0 , y0 , z0 ) 6= 0,
then the plane through (x0 , y0 , z0 ) whose normal is gradf (x0 , y0 , z0 ) is the plane tangent to S at (x0 , y0 , z0 ),
and gradf (x0 , y0 , z0 ) is normal to S
Since
gradf (x0 , y0 , z0 ) = fx (x0 , y0 , z0 )~i + fy (x0 , y0 , z0 )~j + fz (x0 , y0 , z0 )~k
and Since gradf (x0 , y0 , z0 ) is normal to the tangent plane at (x0 , y0 , z0 ), an equation of tangent plane is
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.6 Tangent planes and Total differential 52
Figure 3.4:
2 2 2
Solution.
√ The sphere is the level surface f (x, y, z) = 4, where f (x, y, z) = x + y + z . The partials of f at
(−1, 1, 2) are given by
√ √ √ √
fx (−1, 1, 2) = −2, fy (−1, 1, 2) = 2, fz (−1, 1, 2) = 2 2
√
Therefore an equation of the plane tangent at (−1, 1, 2) is
√ √
−2(x − (−1)) + 2(y − 1) + 2 2(z − 2) = 0
or equivalently, √
−x + y + 2z = 4
J
Suppose f is a function of two variables that is differentiable at (x, y0 ), and let
g(x, y, z) = f (x, y) − z
Then the graph of f is the level surface g(x, y, z) = 0. Accordingly, we define the plane tangent to the graph of
f at (x0 , y0 , f (x0 , y0 )) to be the plane tangent to the level surface g(x, y, z) at (x0 , y0 , f (x0 , y0 )). Since
Differentials
If f is a function of two variables, we can replace (x0 , y0 ) by any point (x, y) in the domain of f at which f is
differentiable and the linear approximation is transformed into
Example 3.6.7. Find the tangent plane to the elliptic paraboloid z = 2x2 + y 2 at the point (1, 1, 3).
Solution. Let f (x, y) = 2x2 + y 2 . Then fx (x, y) = 4x and fy (x, y) = 2y. which implies
fx (1, 1) = 4, fy (1, 1) = 2
Then (by definition) the equation of the tangent plane at (1, 1, 3) is
z − 3 = 4(x − 1) + 2(y − 1) ⇒ z = 4x + 2y − 3
J
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.7 Tangent plane approximations of values of a function 54
f (x, y) ≈ 4x + 2y − 3
Relative Maximums
Relative Minimums
Theorem 3.8.1. Let f have a relative extreme value at (x0 , y0 ). If f has partial derivatives at (x0 , y0 ), then
fx (x0 , y0 ) = fy (x0 , y0 ) = 0.
Definition 3.8.2. The point (a, b) is a critical point (or a stationary point) of f (x, y). Provided one of the
following is true,
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.8 Relative extrema of functions of two variables 55
Solution. The partial derivatives of f exist at every point in the domain of f , so relative extreme values can
occur only at points at which both partial derivatives are 0. The partial derivatives are
Therefore fx (x, y) = 0 only if x = 1,and fy (x, y) = 0 only if y = −2. This means that fx (x, y) = fy (x, y) only
if (x, y) = (1, −2), and thus (1, −2) is the only critical point of f . J
p
Example 3.8.2. Let f (x, y) = (x2 + y 2 ). Determine all critical points and all relative extreme values of f .
x y
Solution. We find that fx (x, y) = √ and fy (x, y) = x2 +y 2 . Since the partial derivatives exist at all
x2 +y 2
points except the origin, and since the origin is in the domain of f , the origin is a critical point of f . Because
fx (x, y) = 0 only if x = 0 and fy (x, y) = 0 only if y = 0, there is no point (x, y) such that fx (x, y) = fy (x, y) = 0.
Consequently (0, 0) is the only critical point of f . Since f (0, 0) = 0 and f (x, y) ≤ 0 for all (x, y), it follows that
0 is the only (relative) minimum value of f , and there is no relative maximum value. J
Theorem 3.8.2. If the point (a, b) is a relative extrema of the function f (x, y), then (a, b) is also a critical
point of f (x, y) and ∇f (a, b) = 0.
Note that this does NOT say that all critical points are relative extrema. It only says that relative extrema
will be critical points of the function. To see this let’s consider the function
f (x, y) = xy.
fx (x, y) = y, fy (x, y) = x
The only point that will make both of these derivatives zero at the same time is (0, 0) and also (0, 0) is a
critical point for the function. But if we start at the origin and move into either of the quadrants where both
x and y are the same sign the function increases. However, if we start at the origin and move into either of the
quadrants where x and y have the opposite sign then the function decreases. In other words, no matter what
region you take about the origin there will be points larger than f (0, 0) = 0 and points smaller than
f (0, 0) = 0. Therefore, there is no way that (0, 0) can be a relative extrema. Critical points that exhibit this
kind of behaviour are called saddle points.
Exercise 3.8.1. 1. Let f (x, y) = y 2 − x2 . Show that the origin is the only critical point but that f (0, 0) is
not a relative extreme value of f .
2. Let f (x, y) = sin x + sin y for 0 ≤ x ≤ π2 , 0 ≤ y ≤ π2 find all critical points and determine whether each
critical point yields a relative maximum value, a relative minimum value or a saddle point
Definition 3.8.3. If f is a function for which fx (x0 , y0 ) = fy (x0 , y0 ) = 0, we say that f has a saddle point
at (x0 , y0 ) if there is a disk centered at (x0 , y0 ) such that the following condition holds: f assume its maximum
value on one diameter of the disk only at (x0 , y0 ), and assumes its minimum value on another diameter of the
disk only at (x0 , y0 ). For example, if f (x, y) = y 2 − x2 then f has a saddle point at the origin.
Theorem 3.8.3 (Second Partial Test). Assume f has a critical point at (x0 , y0 ) and that f has continuous
second partial derivatives in a disk centered at (x0 , y0 ). Let
a. If D(x0 , y0 ) > 0 and fxx (x0 , y0 ) < 0 (or fyy (x0 , y0 ) < 0), then f has a relative maximum value at (x0 , y0 ).
b. If D(x0 , y0 ) > 0 and fxx (x0 , y0 ) > 0 (or fyy (x0 , y0 ) > 0), then f has a relative maximum value at (x0 , y0 ).
c. If D(x0 , y0 ) < 0 , then f has a saddle point at (x0 , y0 ).
Finally, if D(x0 , y0 ) = 0, then f may or may not have a relative extreme value at (x0 , y0 ). The expression
D(x0 , y0 ) in the second partial test is called the discriminant of f at (x0 , y0 ). It can also be given in
determinant form:
fxx (x0 , y0 ) fxy (x0 , y0 )
D(x0 , y0 ) =
fxy (x0 , y0 ) fyy (x0 , y0 )
Example 3.8.3. Let f (x, y) = x2 − 2xy + 13 y 3 − 3y Using the second partial derivative test, determine at which
points f has relative extreme values and at which points f has saddle points.
Solution. We find that fx (x, y) = 2x − 2y and fy (x, y) = −2x + y 2 − 3 Observe that fx (x, y) = 0 if x = y and
fy (x, y) = 0 if −2x + y 2 − 3 = 0. Thus (x, y) is a critical point if x = y and −2x + y 2 − 3 = 0. By substituting
y for x we can transform the second equation into y 2 − 2y − 3 = 0. The two solutions of this equation are
y = 3 and y = −1. Thus the critical points of f are (3, 3) and (−1, 1). For the second partials of f we find that
fxx (x, y) = 2, fyy (x, y) = 2y, and fxy (x, y) = −2. Therefore
D(3, 3) = fxx (3, 3)fyy (3, 3) − [fxy (3, 3)]2 = (2)(6) − 22 = 8 > 0
and
D(−1, 1) = fxx (−1, −1)fyy (−1, −1) − [fxy (−1, −1)]2 = (2)(−2) − (−2)2 = −8 < 0.
Since D(3, 3) > 0 and fxx (3, 3) = 2 > 0, f has a relative minimum value at (3, 3). Since D(−1, −1) < 0, f has
a saddle point at (−1, −1).
J
Theorem 3.9.1 (Extreme value theorem). If f is continuous in some closed, bounded set D in R2 , then there
are points in D, (x1 , y1 ) and (x2 , y2 ) so that f (x1 , y1 ) is the absolute maximum and (x2 , y2 ) is the absolute
minimum of the function in D.
Steps to find extreme value
1. Find all the critical points of f that lie in the region D and compute the values of f at these points.
y
Let f (x, y) = xy−x2 , and let R be
l4
Example 3.9.1. the square region shown in Figure 1
below. Find extreme values of f l1 l3
0 l2 1 x
Solution. By the Extreme value Theorem f has extreme values on R. Since fx (x, y) = y − 2x and fy (x, y) = x
it follows that fx (x, y) = 0 if y = 2x and fy (x, y) = 0 if x = 0. Thus the only critical point of f is (0, 0), which
happens to be a boundary point of R. Therefore the extreme values of f on R must occur on the boundary
of R, which is composed of the four line segments l1 , l2 , l3 and l4 . On l1 , x = 0 and 0 ≤ y ≤ 1 and since
f (0, y) = 0, the maximum and the minimum values of f on l1 are both 0. On l2 , y = 0 and 0 ≤ x ≤ 1, and since
f (x, 0) = −x2 the maximum value of f on l2 is 0 and the minimum value is −1. On l3 , x = 1 and 0 ≤ y ≤ 1,
and since f (1, y) = y − 1 the maximum value of f On l3 is 0 and the minimum value is -1. On l4 , y = 1 and
0 ≤ x ≤ 1, and since f (x, 1) = x − x2 the maximum value of f on l4 is 1/4 and the minimum value is 0. By
comparing the extreme values of f on l1 , l2 , l3 and l4 , we conclude that the maximum value of f on R is 1/4
and the minimum value is -1. J
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.10 Extreme values under constraint conditions: Lagrange’s multiplier 57
∇f (x0 , y0 ) = λ∇g(x0 , y0 ).
Theorem 3.10.1. Let f and g be differentiable at (x0 , y0 ). Let C be the level curve g(x, y) = k that contains
(x0 , y0 ), Assume that C is smooth, and that (x0 , y0 ) is not an end point of the curve. If ∇f (x0 , y0 ) and if f has
an extreme value on C at (x0 , y0 ), then there is a number λ such that
∇f (x0 , y0 ) = λ∇g(x0 , y0 )
3. Calculate the values of f at each point (x, y) that arises in step 2, and at each end point (if any) of
the curve. If f has maximum value in the level curve g(x, y) = k it would be the largest of the values
computed; if f has a minimum value on the level curve, it will be the smallest of the values computed.
Example 3.10.1. Let f (x, y) = x2 + y 3 , Find the extreme values of f on the ellipse x2 + 2y 2 = 1. Solution:
Let g(x, y) = x2 + 2y 2 So the constraint is g(x, y) = x2 + 2y 2 = 1. Since ∇f (x, y) = 2xi + 12y 2 j and
∇g(x, y) = 2xi + 4yj The equation we will use to find x and y are constraint x2 + 2y 2 = 1
2x = λ2x
∇f (x0 , y0 ) = λ∇g(x0 , y0 ) =
12y 2 = λ4y
∇f (x0 , y0 , z0 ) = λ∇g(x0 , y0 , z0 ).
To find the extreme values of f subject to the constraint g(x, y, z) = c, we follow the same approach as in
steps 1-3 for functions of two variables:
1. Assume that f has an extreme value on the level surface g(x, y, z) = c
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
3.10 Extreme values under constraint conditions: Lagrange’s multiplier 58
Constraint g(x, y, z) = c
fx (x, y, z) = λgx (x, y, z)
∇f (x, y, z) = λ∇g(x, y, z) fy (x, y, z) = λgy (x, y, z)
fz (x, y, z) = λgz (x, y, z)
3. Calculate the values of f at each point (x, y, z) that arises in step 2, and at each end point (if any) of
the curve. If f has maximum value in the level curve g(x, y, z) = c it would be the largest of the values
computed; if f has a minimum value on the level curve, it will be the smallest of the values computed.
Example 3.10.2. Let V (x, y, z) = xyz for x ≥ 0, y ≥ 0, and z ≥ 0. Find the maximum value of V subject to
the constraint 2x + 2y + z = 108.
Solution. Let g(x, y, z) = 2x + 2y + z, so the constraint is g(x, y, z) = 2x + 2y + z = 108. Because
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
Chapter 4
Multiple Integrals
Provided the limit exists and is the same for all values of the evaluation points ci ∈ [xi−1 , xi ] for i = 1, 2, . . . , n.
In this case, we say f is integrable on [a, b].
In this section we want to integrate a function of two variables, f (x, y). With functions of one variable we
integrated over an interval ( i.e. a one-dimensional space) and so it makes some sense then that when
integrating a function of two variables we will integrate over a region of R2 (two dimensional space).
We will start out by assuming that the region in R2 is a rectangle which we will denote as follows,
R = [a, b] × [c, d]
This means that the ranges for x and y are a ≤ x ≤ b, c ≤ y ≤ d. Also, we will initially assume that
f (x, y) ≥ 0 although this doesn’t really have to be the case. Let’s start out with the graph of the surface S
give by graphing f (x, y) over the rectangle R.
Now, just like with functions of one variable let’s not worry about integrals quite yet. Let’s first ask what the
volume of the region under S (and above the xy-plane of course) is. We will first approximate the volume
much as we approximated the area above. We will first divide up a ≤ x ≤ b into n subintervals and divide up
c ≤ y ≤ d into m subintervals. This will divide up R into a series of smaller rectangles and from each of these
we will choose a point (x∗i , yj∗ ). Here is a sketch of this set up.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.2 Iterated integrated 60
Now, over each of these smaller rectangles we will construct a box whose height is given by f (x∗i , yj∗ ). Here is a
sketch of that.
Each of the rectangles has a base area of ∆A and a height of f (xi ∗ , yj ∗ ) so the volume of each of these boxes
is f (xi ∗ , yj ∗ )∆A . The volume under the surface S is then approximately,
n X
X m
V = f (xi ∗ , yj ∗ )∆A
i=1 j=1
We will have a double sum since we will need to add up volumes in both the x and y directions.
To get a better estimation of the volume we will take n and m larger and larger and to get the exact volume
we will need to take the limit as both n and m go to infinity. In other words,
n X
X m
V = lim f (xi ∗ , yj ∗ )∆A
n,m→∞
i=1 j=1
Now, this should look familiar. This looks a lot like the definition of the integral of a function of single
variable. In fact this is also the definition of a double integral, or more exactly an integral of a function of two
variables over a rectangle. Here is the official definition of a double integral of a function of two variables over
a rectangular region R as well as the notation that we’ll use for it.
Definition 4.1.2 (Double Integral of a Function of Two Variables over a Rectangular Region). For any function
f (x, y) defined on the rectangle R = {(x, y)|a ≤ x ≤ b, c ≤ y ≤ d}, divide a ≤ x ≤ b into n subintervals and
divide c ≤ y ≤RRd into m subintervals each of the rectangles has a base area ∆A, the double integral of f over R
is denoted by f (x, y)dA defined as:
R
ZZ n X
X m
f (x, y)dA = lim f (xi ∗ , yj ∗ )∆A
n,m→∞
R i=1 j=1
provided the limit exists and is the same for all choices of the evaluation points (xi ∗ , yj ∗ ) ∈ R for i = 1, 2, , n.
In this case, we say f is integrable over R. If f is non-negative and integrable on R, then the volume V of the
solid region between the graph of f and R is given by
ZZ
V = f (x, y)dA.
R
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.2 Iterated integrated 61
Figure 4.1: Vertical simple region Figure 4.2: Horizontal simple region
ZZ Zb gZ2 (x)
f (x, y)dA = f (x, y) dx dy
R a g1 (x)
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.2 Iterated integrated 62
b If R is horizontally simple region between the graph of h1 and h2 on [c, d] , then f is integrable on R, and
ZZ Zb hZ2 (x)
f (x, y)dA = f (x, y) dy dx
R a h1 (x)
Example 4.2.2. Let R be a rectangular region bounded by the lines x = −1, x = 2, y = 0 and y = 2. Find
ZZ
x2 ydA
R
Solution. The graph of R is vertically simple region between the graphs of y = 0 and y = 2 for −1 ≤ x ≤ 2.
Therefore,
ZZ Z2 Z2
f (x, y)dA = x2 y dy dx
R −1 0
R2
To evaluate the iterated integral, we first compute x2 y dy for each x in −1 ≤ x ≤ 2 We obtain
0
Z2 Z2
2 2 1
x y dy = x y dy = x2 ( y 2 )(2 − 0) = 2x2
2
0 0
ZZ Z2 Z2 Z2
f (x, y)dA = x2 y dy dx = 2x2 dx = 6
R −1 0 −1
J
6x + 2y 2 dA, where R is the region enclosed by the parabola x = y 2 and the line
RR
Example 4.2.3. Evaluate
R
x + y = 2.
Solution. The upper boundary changes form at x = 1. The left boundary is the same throughout R. The
right boundary is the same throughout R. Therefore choose horizontal strips.
Z1 2−y
Z Z1
2
2 x=y2
I= (6x + 2y ) dx dy = 3x + 2xy 2 x=2−y dy
−2 y 2 −2
Z1
(3(2 − y)2 + 2(2 − y)y 2 ) − (3y 4 + 2y 4 ) dy
=
−2
Z1
(12 − 12y + 3y 2 ) + (4y 2 − 2y 3 ) − 5y 4 dy
=
−2
Z1
12 − 12y + 7y 2 − 2y 3 − 5y 4 dy
=
−2
7 1
=[12y − 6y 2 + y 3 − y 4 − y 5 ]1−2
3 2
7 1 56
=(12 − 6 + − − 1) − (−24 − 24 − − 8 + 32)
3 2 3
99
=
2
J
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.3 Change of variable in double integrals 63
where R is the region between the graphs of two continuous functions g1 and g2 on [a, b] such that g1 ≤ g2
ZZ Zb gZ2 (x) Zb
A= 1dA = 1 dy dx = (g1 − g2 ) dx.
R a g1 (x) a
√
Example 4.2.4. Find the area of the region in the xy-plane bounded by the curves y = x3 and y = x.
Solution.
√
ZZ Z x
Z1 Z1
√
2 3
2
2 2
3
A= 1dA = dy dx = x − x dx = x 2 = (1 − 0) = .
3
3 1 3 3
R 0 x 0
J
Theorem 4.2.2 (Linear Combinations of Double Integrals). Let the function f (x, y) and g(x, y) be integrable
over the region R, and let c be any constant. Then the following holds:
RR RR
i cf (x, y)dA = c f (x, y)dA
R R
RR RR RR
ii (f (x, y) + g(x, y)dA = f (x, y))dA + f (x, y)dA
R R R
is the Jacobian of x and y with respect to u and v. The result 4.1 corresponds to change of variables for
double integrals.
∂(x,y)
Example 4.3.1. If u = x2 − y 2 and v = 2xy, find ∂(u,v) in terms of u and v.
Solution.
∂u ∂u
∂(u, v)
= ∂x
∂v
∂y
∂v = 4(x2 + y 2 )
∂(x, y) ∂x ∂y
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.4 Double Integrals in Polar coordinates 64
∂(x,y)
Example 4.3.2. a Let x = r cos θ and y = r sin θ. Find the value of ∂(r,θ) .
RR p
b Evaluate x2 + y 2 dx dy, where R is the region in the xy-plane bounded by x2 +y 2 = 4 and x2 +y 2 = 9.
R
b By transforming the rectangular coordinates (x, y) in to polar coordinates (r, θ) and using 4.1 we have
J
Exercise 4.3.1. 1. Evaluate the following iterated integrals.
3
R1 Rx R1 Rx y
a. 1 + x2 dy dx c. e x dy dx
0 0 0 0
Rπ sin
Rx
ex sin y dx dy
RR
b. y dy dx d.
0 0
2. Compute the double integral of the function f (x, y) = x2 + y 2 over the region bounded by the curves
y = 1 − x2 and y = x2 − 1 in the xy-plane.
3. Compute the double integral of the function f (x, y) = 6 − x + 2y over the region bounded by the curves
x = y 2 and y = 2x in the xy-plane.
of the solid region D bounded above by the paraboloid z = 4 − x2 − y 2 and below by the
4. Find the volume V RR
xy-plane(hint V = (4 − x2 − y 2 )dA)
R
α≤θ≤β
h1 (θ) ≤ r ≤ h2 (θ)
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.4 Double Integrals in Polar coordinates 65
Theorem 4.4.1. Suppose that h1 and h2 are continuous on [α, β], where 0 ≤ α ≤ β ≤ 2π, and that 0 ≤ h1 (θ) ≤
h2 (θ) for α ≤ θ ≤ β, Let R be the region between the polar graphs of r = h1 (θ) and r = h2 (θ) for α ≤ θ ≤ β
and if f is continuous on R, then
ZZ Zβ hZ2 (θ)
f (x, y)dA = f (r cos θ, r sin θ)r dr dθ
R α h! (θ)
In the event f is non-negative on R, the volume V of the region between the graph of f and R is given by
Zβ hZ2 (θ)
V = f (r cos θ, r sin θ)r dr dθ
α h1 (θ)
, R is the portion of the region between the circles of radius 2 and radius 5 centred at the origin that lies in the
first quadrant.
Solution. First let’s get R in terms of polar coordinates. The circle of radius 2 is given by r = 2 and the circle
of radius 5 is given by r = 5 . We want the region between them so we will have the following inequality for r.
2≤r≤5
Also, since we only want the portion that is in the first quadrant we get the following range of θ’s. 0 ≤ θ ≤ π/2.
Now that we’ve got these we can do the integral.
π
ZZ Z2 Z5
2xydA = 2r cos θr sin θr dr dθ
R 0 2
π
Z2 Z5
= 2r3 cos θ sin θ dr dθ
0 2
π
2
5
r4
Z
= 2 cos θ sin θ dθ
4 2
0
π
Z2
609
= cosθsinθ dθ
2
0
609
=
4
J
Example 4.4.2. Let D be the solid region bounded above by the paraboloid z = 4 − x2 − y 2 and below by the
xy plane. Find the volume V of D.
Solution. The region R over which the integral is to be taken is bounded by the circle (Intersection of the
surface with plane), whose equation in polar coordinate is r = 2: therefore D can be described as the region
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.5 Application of Double Integrals 66
ZZ Z2πZ2
2 2
4 − (r cos θ)2 − (r sin θ)2 r dr dθ
4−x −y dA =
R 0 0
Z2πZ2
4r − r3 dr dθ
=
0 0
Z2π 2
r4
= (2r2 − ) dθ
4 0
0
Z2π
=4 dθ = 8π
0
J
Exercise 4.4.1. 1 Determine the volume of the region that lies under the sphere, x2 + y 2 + z 2 = 1 above
the plane z = 0 and inside the cylinder x2 + y 2 = 5.
2 Determine the area of the region that lies inside r = 3 + sin θ and outside r = 2.
3 Find the volume of the region that lies inside the z = x2 + y 2 and below the plane z = 16.
Example 4.5.1. Find the surface area S of the portion of the paraboloid
z = 2 − x2 − y 2
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.5 Application of Double Integrals 67
Solution. The given surface lies over the region R in the xy-plane bounded by the circle x2 + y 2 = 2. If
f (x, y) = 2 − x2 − y 2 , then fx (x, y) = −2x and fy (x, y) = −2y. By equation 4.2,
ZZ q ZZ p
S= 2 2
[fx ] + [fy ] + 1dA = 4x2 + 4y 2 + 1dA
R R
J
p
Example 4.5.2. Find the surface area S of the frustum of the cone Z = x2 + y 2 with minimum and maximum
radii 1 and 2 respectively.
2 2 2 2
Solution. Thep given surface lies over the xregion R in the xy-planey bounded by the annulus 1 ≤ x + y ≤ 2 .
If f (x, y) = x + y , then fx (x, y) = √ 2 2 and fy (x, y) = √ 2 2 .
2 2
x +y x +y
So that
ZZ s
x2 y2
ZZ q
S= [fx ]2 + [fy ]2 + 1dA = + 2 + 1dA
+y 2 x2
x + y2
R
ZRZ √ √ ZZ √ √ √
= 2dA = 2 dA = 2A(R) = 2π(22 − 12 ) = 3 2π
R R
J
√
Exercise 4.5.1. 1. Find the surface area of that portion of the surface z = 4 − x2 that lies above the
rectangle R in the xy plane whose coordinates satisfy 0 ≤ x ≤ 10 and 0 ≤ y ≤ 40
2. Find the surface area of the portion of the paraboloid x2 + y 2 = z below the plane z = 1.
3. Find the area of the portion of the plane Z = x + 3y that lies inside the elliptical cylinder with equation
x2 y2
4 + 9 = 1.
These are not the only applications of double integrals. The other applications related center of gravity of a
body, mass of a body and moment of inertia are mentioned at the end of the next chapter.
Let’s start simple by integrating over the box, D = [a, b] × [c, d] × [r, s]. Note that when using this notation we
list the x’s first, the y’s second and the z’s third. The triple integral in this case is,
Zr Z d Z b
f (x, y, z) dx dy dz.
c a
s
Note that we integrated with respect to x first, then y, and finally z here, but in fact there is no reason to the
integrals in this order. There are 6 different possible orders to do the integral in and which order you do the
integral in will depend upon the function and the order that you feel will be the easiest. We will get the same
answer regardless of the order however. This can be stated as a theorem:
Theorem 4.5.1 (Fubini’s Theorem). Let D be the rectangular box dened by the inequalities
a ≤ x ≤ b, c ≤ y ≤ d, r ≤ z ≤ s
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.5 Application of Double Integrals 68
ZZZ Zb Z d Z s
f (x, y, z)dV = f (x, y, z) dz dy dx
c r
D a
Moreover, the iterated integral on the right can be replaced with any of the ve other iterated integrals that
result by altering the order of integration.
Example 4.5.3. Evaluate the following integral,
ZZZ
8xyzdV,
D
ZZZ Z2 Z 2 Z 0
xyzdV = xyz dz dx dy
3 1
D 1
Z2 Z 2 1
= 4xyz 2 dx dy
3 0
1
Z2 Z 2 1
= 4xy dx dy
3 0
1
Z2 2
= 2x2 y dx dy
3
1
Z2 2
= 10y dx dy = 15
3
1
J
Theorem 4.5.2. Let D be the solid region between the graphs of two continuous functions F1 and F2 on
vertically or horizontally simple region R in the plane, and let f be continuous on D. Then
ZZZ ZZ Z F2 (x,y)
f (x, y, z)dV = ( f (x, y, z) dz)dA
F1 (x,y)
D R
F2 R
(x,y)
We evaluate f (x, y, z) dz by integrating with respect to z while both x and y are held fixed, thus obtaining
F1 (x,y)
a number depending on x and y.
If R is the vertically simple region between the graphs of g1 (x) and g2 (x) on [a, b], we evaluate the double
integral over R by using
In contrast, if R is the horizontally simple region between the graphs of h1 (y) and h2 (y) on [c, d], we
evaluate the double integral over R by using
ZZZ Zc Z h2 (y) Z F2 (x,y)
f (x, y, z)dV = (( f (x, y, z) dz) dx) dy.
h1 (y) F1 (x,y)
D d
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.5 Application of Double Integrals 69
Example 4.5.4. Let R be the triangular region in the xy plane between the graphs of y = 0 and y = x for
0 ≤ x ≤ 1 , and let D be the solid region between the graphs of the surfaces z = −y 2 and z = x2 for all (x, y)
in R. Evaluate ZZZ
(x + 1)dV.
D
ZZZ Z1 Z x Z x2
(x + 1)dV = [ ( (x + 1) dz) dy] dx
0 −y 2
D 0
Z1 Z x x2
= (x + 1)z dy dx
0 −y 2
0
Z1 Z x
= (x + 1)(x2 + y 2 ) dy dx
0
0
Z1 x
xy 3 ) y3
= (x3 y + + x2 y + dx
3 3 0
0
Z1
4 3
= (x4 + x3 ) dx =
3 5
0
J
Evaluation of triple integrals as they are may sometimes be difficult or even possible. In this case changing
one coordinate system to another may facilitate the process. If (u, v, w) are curvlinear coordinates in three
dimensions, there will be a set of transformation equations x = f (u, v, w), y = g(u, v, w) and z = h(u, v, w)
and we can write:
ZZZ ZZZ
∂(x, y, z)
F (x, y, z) dx dy dz = G(u, v, w) dudvdw (4.3)
∂(u, v, w)
D D0
is the Jacobian of x, y and z with respect to u, v and w. The result (4.3)corresponds to change of variables for
triple integrals.
Exercise 4.5.2. 1. Evaluate the following
√ πiterated integrals.
R1 Rx x+y R 6 Ry Ry
(1 + y 2 z cos xz) dx dz dy
R
A. (z − 2x − y) dz dy dx B.
−1 0 x−y 0 0 0
π π
R 3 R1 Ry
ln 2 R2 R2 sin
Rz
C. (z 2 + 1)ey dz dy dx D. (sin y) dx dy dz
0 0 0 0 0 0
√1 π
R13 Re x 2 cos
Rz cos
R yz
z(ln x)2 dz dx dy
R R
E. F. (x cos(yz) dx dy dz
−15 1 0 −π
2
− cos z − cos yz
P (x, y, z) = P (r, θ, z)
Given the rectangular coordinates (x, y, z) of
a point P , we can determine a set of cylindri-
cal coordinates for P with aid of the formulas
x2 + y 2 = r2 and tan θ = xy (if x 6= 0). Con-
versely, from any set (r, θ, z) of cylindrical
coordinates of a point P we can determine
the rectangular coordinates (x, y, z) of P by r
the formulas x = r cos θ and y = r sin θ. θ
y
Figure 4.3:
for a solid region between the graphs of two continuous functions F1 and F2 on a vertically or Horizontally
simple region R in the xy-plane and for a continuous function f on D.
Theorem 4.6.1. Let D be a solid region between the graphs of F1 and F2 on R, where R is the plane region
between the polar graphs of h1 and h2 on [α, β], with 0 ≤ β − α ≤ 2π and 0 ≤ h1 (θ) ≤ h2 (θ) for α ≤ θ ≤ β. If
f is continuous on D, then
ZZZ Zα Z h2 (θ) Z F2 (r cos θ,r sin θ)
f (x, y, z)dV = f (r cos θ, r sin θ, z)r dz dr dθ.
h1 (θ) F1 (r cos θ,r sin θ)
D β
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.6 Triple integrals in cylindrical and spherical coordinates 71
Figure 4.4:
Solution. Observe that D is a solid region between the graphs of z = 0 and z = 4 − y on R, where R is the disk
x2 + y 2 ≤ 16. In polar coordinate R is the region between the polar graphs of r = 0 and r = 4 for 0 ≤ θ ≤ 2π.
Consequently, in cylindrical coordinates D is the solid region between the graphs z = 0 and z = 4 − r sin θ for
(r, θ) in R. Then by Theorem 4.6.1 we have
J
√
R3 9−x2 R1
y 2 dz dy dx.
R
Example 4.6.2. Evaluate
√
−3 − 9−x2 (x2 +y 2 )2
√ √
Solution. The limit of integrations −3 and 3 in the first integral and − 9 − x2 and 9 − x2 on the second
integral tells us that those two integrals are taken over the region of the disk x2 + y 2 ≤ 9 or r ≤ 3, in the xy-
plane. It follows that
√
Z3 Z9−x2 Z1 Z0 Z3 Z1
2
y dz dy dx = (r sin θ)2 r dz dr dθ
√
−3 − 9−x2 (x2 +y 2 )2 2π 0 r 4
Z0 Z3 1 Z0 Z3
2
= 3
r sin θz dr dθ = r − r sin2 θ dr dθ]
3 7
r4
2π 0 2π 0
Z2π 4 8 3
Z 2π
r r 6399
= − sin2 θ dθ = − sin2 θ dθ
4 8 0 8 0
0
Z 2π 2π
6399 6399 sin 2θ 6399
=− (1 − cos 2θ) dθ = − θ− =− π
16 0 16 2 0 8
J
Exercise 4.6.1. Evaluate the following integrals by changing into cylindrical coordinates.
RRR 2
1. (x + y 2 )dV , where D is the solid region bounded by the cylinder x2 + y 2 = 1 and the planes z = 0
D
and z = 4.
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.6 Triple integrals in cylindrical and spherical coordinates 72
(xz)dV , where D is the portion of the ball portionof theballx2 + y 2 + z 2 ≤ 4 in the first octant.
RRR
2.
D
P (x, y, z) = P (ρ, φ, θ)
Then the point P is said to have spherical
coordinates ρ, θ and φ, and we write P = ρ
(ρ, θ, φ) as well as P = (x, y, z). Where 0 ≤
φ
r ≤ ∞, 0 ≤ θ ≤ 2π and 0 ≤ φ ≤ π. From
trigonometry we found that r = ρ sin φ and
z = ρ cos φ . These equations along with the
polar coordinated formulae x = r cos θ and r
y = r sin θ. θ
y
Figure 4.5:
Yield the following formulae for converting from spherical coordinates to rectangular coordinates:
x = r cos θ = ρ sin φ cos θ, y p
= r sin θ = ρ sin φ sin θ and z = ρcosφ. As you can easily verify that
x2 + y 2 + z 2 = ρ2 ⇒ ρ = x2 + y 2 + z 2 , tan θ = xy , cos φ = √ 2 z 2 2 , (x2 + y 2 + z 2 6= 0).
x +y +z
Theorem 4.6.2 (Triple integrals in spherical coordinates). If f (x, y, z) is continuous on a solid region D, then
ZZZ ZZZ
f (x, y, z)dV = f (ρ sin φ cos θ, ρ sin φ sin θ, ρcosφ)ρ2 sin φ dρ dφ dθ.
D D0
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.6 Triple integrals in cylindrical and spherical coordinates 73
ZZZ Z2πZπ Z1
2
z dV = (ρ cos φ)2 ρ2 sin φ dρ dφ dθ
D 0 0 0
Z2π Zπ Z1 Zπ 1
ρ5
4 2 2
= ρ dρ (cos φ) ρ sin φ dφ dθ = 2π cos2 φ sin φ dφ
5 0
0 0 0 0
Zπ
2π 2 2π 2 4
= cos φ sin φ dφ = = π
5 5 3 15
0
J
RRR p
Example 4.6.4. Use spherical coordinates and evaluate x2 + y 2 + z 2 dV , where D is the ball x2 +y 2 +z 2 ≤
D
a2 (a 6= 0)
Solution. Using the transformation equations x = ρ sin φ cos θ, y = ρ sin φ sin θ, z = ρ cos φ, ρ2 = x2 + y 2 + z 2
and dV = ρ2 sin φ dρ dφdθ, we have
ZZZ p Z2πZπ Za
x2 + y2 + z 2 dV = (ρ · ρ2 sin φ dρ dφ dθ
D 0 0 0
Z2π Zπ Za Z2π Zπ 4 a
3 ρ
= ρ dρ sin φ dφ dθ = sin φ dφ dθ
4 0
0 0 0 0 0
Z2π Zπ
a4 sin φ
= dφ dθ
4
0 0
Z2π π Z2π
a4 a4
=− (cos φ) dθ = dθ = πa4
4 0 2
0 0
J
(x2 + y 2 )dV , where D is a solid region bounded above by
RRR
Exercise 4.6.2. 1. Evaluate the triple integral
q D
the unit sphere x2 + y 2 + z 2 = 1 and below by the cone z = − 13 (x2 + y 2 ) using spherical coordinates.
dV
where D is the bounded solid region between the cylinder x2 + y 2 = 4 and the
RRR
2. Evaluate x2 +y 2 +z 2 ,
D
nappes of the cone x2 + y 2 = z 2 using spherical coordinates.
dV 2 2 2
RRR
3. Evaluate 3 , where D is the spherical shell 1 ≤ x + y + z ≤ e using spherical coordinates.
2 2 2
(x +y +z ) 2
D
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.7 Application: Volume, center of mass of solid region 74
Example 4.7.1. Use triple integral to find the volume of the solid enclosed between the cylinder x2 + y 2 = 16
and the planes z = 0 and y + z = 4.
Solution. The solid D and its projection R on the the xy- are shown in Figure 4.6. The lower surface of the
solid is the plane z = 0, and the upper surface is the plane y + z = 4, or equivalently, z = 4 − y. Thus,
ZZZ Z Z 4−y
Z ZZ
V = dv = dz dA = (4 − y)dA
D R 0 R
Z2πZ4
= (4 − r sin θ)r dr dθ (by using cylindrical coordinates)
0 0
Z2π Z4 Z2π 4
r3
2
= (4r − r sin θ) dr dθ = 2r2 − θ dθ
sin 0
0 0 0
Z2π 2π
64 64
= 32 −
sin θ dθ = 32θ + cos θ
3 3 0
0
64 64
= 64π + − = 64π
3 3
Figure 4.6:
Example 4.7.2. Find the volume V of the region in the first octant bounded by the planes z = 10 + x + y,
y = 2 − x, y = x, z = 0 and x = 0.
Solution. The region R of the solid bounded in the xy-plane is as shown in the fig—. The line y = 2 − x and
y = x intersect at (1, 1). Hence, x ≤ y ≤ 2 − x as 0 ≤ x ≤ 1. Therefore,
ZZZ Z 10+x+y
Z1 2−x Z Z1 2−x
Z 10+x+y
Z
V = dv = dx dy dz = dz dy dx
D x=0 y=x z=0 x=0 y=x z=0
Z1 2−x Z1 1
x3
Z
34
= (10x + x + y) dy dx = {20 − 20x − 2x2 } dx = 2{11x − 5x2 − } = .
3 0 4
0 x 0
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.7 Application: Volume, center of mass of solid region 75
1. Calculation of Mass
(a) For a plane lamina, if the surface density at the point P (x, y) be ρ = f (x, y), then the elementary
mass at P is equal to ρ dx dy. therefore, the total mass of the lamina is
ZZ
ρ dx dy
with integrals embracing the whole area of the lamina. In polar coordinates, taking ρ = φ(r, θ) at
the point P (r, θ), the total mass of the lamina is
ZZ
ρ dr dθ
(b) For a solid if the density at a point P (x, y, z) be ρ = f (x, y, z), then the total mass of the solid is
ZZ
ρ dx dy dz
Solution.
RRR Elementary mass at point P (x, y, z) is µxyz dx dy dz. Therefore, the whole mass is equal to
µxyz dx dy dz,
the integrals
embracing the whole volume of OABC(Fig
4.7). The limits for Z are
y
from 0 to Z = c 1 − xa − b . The limits for y are from 0 to y = b 1 − xa and the limits of x are from 0
to a. Hence the required mass is
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.7 Application: Volume, center of mass of solid region 76
Figure 4.7:
y
c 1− x
a−b
b(1− x
a) b(1− x
a)
Za Za c 1− x y
a−b
xyz 2
Z Z Z
µxyz dz dy dx = µ dy dx
2 z=0
0 0 0 0 0
b(1− x
a)
Za
c2
Z
x y
=µ xy · (1 − − )2 dy dx
2 a b
0 0
x
Za b(1−
Z a) 2
µc2 x y2 y3
x
= x 1− y−2 1− + 2 dy dx
α a a b b
0 0
Za
2
2
x y2 x y3 y4
µc
= x 1− −2 1− + 2 dx
α a 2 a 3b 4b
0
2 Za 4 4 4
b2 2b2 b2
µc x x x
= 1− − 1− + 1− dx
α 2 a 3 a 4 a
0
2 2 Za 4
µb c x µa2 b2 c2
= x 1− dx = .
24 a 720
0
J
Example 4.7.4. Find the volume and centroid (center of gravity) of the uniform “ice-Cream Cone” D
bounded by the cone φ = π6 and the sphere ρ = 2a cos φ of radius a. The sphere and the part of the cone
within it are shown in figure–.
π
Solution. The ice-cream cone is described by the inequalities 0 ≤ θ ≤ 2π, 0 ≤ φ ≤ 6 and 0 ≤ ρ ≤ 2a cos φ.
Its volume is given by
π π
Z2πZ6 2aZcos φ Z2πZ6
8
V = ρ2 sin φ dρ dφ dθ = a3 sin φ dφdθ
3
0 0 0 0 0
π6
16 3 1 4 7
= a π − cos φ = πa3
3 4 0 12
Now for the centroid, it is clear by symmetry that x = y = 0. We may also assume that D has a constant
7
density δ, so that the mass of D is numerically equal to volume times its density equal to 12 πa3 δ. Because
Z = ρ cos φ, the Z-coordinates of the centroid of D is
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.7 Application: Volume, center of mass of solid region 77
RRR RRR
ρzdV zdV ZZZ
D D 1
Z = RRR = RRR = zdV
ρdV dV V
D D D
π
Z2πZ 6 2aZcos φ
12
= ρ3 cos φ sin φ dρ dφ dθ
7πa3
0 0 0
π
Z2πZ6 π6
48 5 96 1 6 37
= a cos φ sin φ dφ dθ = a − cos φ = a
7 7 6 0 28
0 0
Hence the centroid of the ice-cream is located at the point 0, 0, 37
28 a . J
3. Moment of Inertia
Figure 4.8:
(a) Moment of inertia of a plane lamina Consider an elementary mass ρ dx dy at the point P (x, y) of a
plane area A so that it’s Moment of Inertia about x- axis is equal to ρ dx dyy 2 .
∴ M.I of the lamina about the x− axis, i.e. Ix is given by
ZZ
Ix = ρy 2 dx dy.
R
Also, M.I of the lamina about an axis perpendicular to xy-plane, i.e. Iz is given by
ZZ
Iz = ρ(x2 + b2 ) dx dy.
R
(b) Moment of inertia of a solid Consider elementary mass ρ dx dy dzpenclosing a point P (x, y, z) of a
solid from volume V . Distance of P from the x- axis is equal to y 2 + z 2 . Therefore, M.I. of this
element about the x− axis is equal to ρ dx dy dz(y 2 + z 2 ). Thus M.I of this solid about the x− axis
is ZZZ
Ix = ρ(y 2 + z 2 ) dx dy dz.
D
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II
4.7 Application: Volume, center of mass of solid region 78
Example 4.7.5. A solid ball D with constant density δ is bounded by the spherical surface with equation
ρ = a. Use spherical coordinates to compute its volume V and its moment of inertia Iz around the z−
axis.
Solution. The points of the ball are described by the inequalities 0 ≤ ρ ≤ a, 0 ≤ φ ≤ π and 0 ≤ θ ≤ 2π.
Volume of the ball is given by
The distance from a typical point (ρ, φ, θ) of the sphere to the z- axis is r = ρ sin φ, so the moment of
inertial of the sphere around that axis is
ZZZ Z2πZπ Za
Iz = 2
r δdV = δρ4 sin3 φ dρ dφ dθ
D 0 0 0
Z2πZa Zπ
1 3 2 2
= δ5 sin φ dφ dθ = πδa5 sin3 φ dφ = ma2
5 5 5
0 0 0
where m = 34 πa3 δ. J
Exercise 4.7.1. (a) Find the volume bounded by the cylinder x2 + y 2 = 4 and the planes y + z = 4 and
z = 0.
(b) Find the mass of a lamina in the form of the cardioid r = a(1 + cos θ).
(c) Find the centroid of a loop of the lemniscate r2 = a2 cos 2θ.
(d) If the density at any point of the solid octant of the ellipsoid ( xa )2 + ( yb )2 + ( zc )2 = 1 various as xyz,
find the coordinates of the center of gravity of the solid.
(e) Using double integrals, find the moment of inertial about the x− axis of the area enclosed by the lines
x = 0, y = 0, xa + yb = 1.
(f ) Find the moment of inertia about the z-axis of a homogeneous tetrahedron bounded by the planes
x = 0, y = 0, z = x + y and z = 1.
(g) A lamina is shaped like the circular sector R in the first quadrat bounded by the coordinate axes and
an arc of the unit circle x2 + y 2 = 1. Find the mass and center of gravity (x, y) of the lamina its
density function is ρ(x, y) = x2 + y 2 .
Ambo University
DEPARTMENT OF MATHEMATICS Applied Mathematics II