Professional Documents
Culture Documents
App Math II For Engineering
App Math II For Engineering
App Math II For Engineering
By:-Brhane Aregawi(MSc)
Mathematics Department
Mekelle University
2 Power Series 15
2.1 Definition of Power Series at Any Point a . . . . . . . . . . . . . . 15
2.2 Convergence and Divergence, Radius and Interval of Convergence 16
2.3 Representations of Functions as Power Series . . . . . . . . . . . 16
2.4 Differentiation and Integration of Power Series . . . . . . . . . . 17
2.5 Taylor Series; Taylor Polynomial and Application . . . . . . . . . 18
3.5.2 Gradients . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.6 Tangent Plane and Tangent Plane Approximation . . . . . . . . . 38
3.6.1 Total Differential . . . . . . . . . . . . . . . . . . . . . . . 38
3.6.2 Tangent Plane . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.6.3 Tangent Plane Approximation . . . . . . . . . . . . . . . . 40
3.7 Chain Rule and Implicitly Differentiation . . . . . . . . . . . . . 41
3.7.1 Chain Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.7.2 Implicitly Differentiation . . . . . . . . . . . . . . . . . . . 42
3.8 Relative Extrema of Function of Two Variables . . . . . . . . . . . 42
3.9 Largest and Smallest Values of a Function on a Given Set . . . . 45
3.10 Extreme Value under Constraint Condition . . . . . . . . . . . . 46
3.10.1 Method of Lagrange Multipliers for One Constraint . . . 46
3.10.2 Method of Lagrange Multipliers for Two Constraints . . . 49
4 Multiple Integral 53
4.1 Double Integrals and Their Evaluation by Iterated Integrals . . . 53
4.1.1 Definition of Double Integral . . . . . . . . . . . . . . . . 53
4.1.2 Iterated Integral . . . . . . . . . . . . . . . . . . . . . . . . 54
4.1.3 Properties of double integrals . . . . . . . . . . . . . . . . 57
4.1.4 Double Integral over vertically and horizontally simple
regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
4.1.5 Change of Variables in Double Integral . . . . . . . . . . . 61
4.1.6 Double Integral in Polar Coordinate . . . . . . . . . . . . 63
4.1.7 Application of Double Integral: Area, volume, Center of
Mass of Plane Region, Surface Area . . . . . . . . . . . . . 65
4.2 Triple Integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
4.2.1 Notation of Triple Integral . . . . . . . . . . . . . . . . . . 72
4.2.2 Triple Integral in Cylindrical Coordinate . . . . . . . . . . 74
4.2.3 Triple Integral in Spherical Coordinate . . . . . . . . . . . 75
4.2.4 Application of Triple Integral: Volume, Center of Mass
of Solid Region . . . . . . . . . . . . . . . . . . . . . . . . 77
1
Chapter 1
1.1 Sequences
1.1.1 Definition of Sequence
A sequence is a list of numbers written in a specific order. A Sequence is a set
can be defined as a function whose domain is the set of positive integers. A
sequence can be written in a definite order:
a1 , a 2 , a 3 , · · · , a n , · · ·
1. the terms are in order (with Sets the order does not matter)
2. the same value can appear many times (only once in Sets)
2. the sequence {3, 5, 7, 9...} starts at 3 and jumps 2 every time; then find
a. the nth term or the general formula of the sequence,
b. the 10th and 100th terms.
( n )
−1
3. Calculate the first four terms of the sequence: {an} = .
n n=1
2
1 Applied Math. II
Example 4 Consider the sequence 1, 4, 7, 10, 13, 16, 19, 22, 25, · · · :common dif-
ference, d=3 and then its nth term is An = 3n − 2.
where; a is the first term, and d is the difference between the terms (Usu-
ally called the "common difference") so that its nth term is
An = A1 + (n − 1)d.
an = 2 n
{G1 , G1 r, G1 r 2 , G1 r 3 , ...}
Where: G1 is the first term, and r is the factor between the terms (called
the "common ratio").
Note that:
i. r , 0.
ii. The nth term is Gn = G1 r n−1 .
an L
a4 . { ban } is converges and lim = , provided K , 0.
n n→∞ bn K
p p
a5 . {an } is converges and lim an = Lp .
n→∞
Theorem 1 Given the sequence {an } if we have a function f (x) such that f (n) = an
and lim f (x) = L then lim an = L.
x→∞ n→∞
Theorem 2 If lim |an | = 0 then lim an = 0. But the converse is not true.
n→∞ n→∞
(−1)n ∞ (−1)2n ∞
c) { n }n=1 d) { n }n=0
* Composition substitution
* Sqeezing (or sundwich)theorem
* L’hopitals rule
i. {(−n2 )}∞
n=0 ii. {(−1)n+1 }∞
n=1 iii. { n12 }∞
n=5
n ∞ n ∞ 3
n
iv. { n+2 }n=0 v. { n+1 }n=1 vi. { n4 +10000 }∞
n=0
∞
X
Example 8 i. 2 + 4 + 6 + 8 + 10 + · · · + · · · = 2n.
n=1
n(n+1)
ii. 1 + 2 + 3 + 4 + + · · · + n = 2 .
∞
X 1 1 1 1 1 1
iii. n
= + + + + · · · + n + · · · = 1.
2 2 4 8 16 2
n=1
These are called partial sums. Notice that the partial sums will form an infinite
sequence, {sn }∞
n=1 .
∞ ∞
X X 1 3 1 1
a. n b. : sn = 4 − 2n − 2(n+1)
n2 − 1
n=1 n=2
∞ ∞
X
n
X 1
c. (−1) d. is a divergent series
n
n=0 n=1
P
Theorem 4 If an converges then lim an = 0. But the converse is not true.
n→∞
∞ ∞
1 1 X 1 X 1
Example 10 lim = 0 and lim 2 = 0, but is divergent and is
n→∞ n n→∞ n n n2
n=1 n=1
convergent [we see later].
X
b) If an converges, then lim an = 0. But the converse is not true.
n→∞
∞
X 1 1
Example 11 i. is diverges, but lim = 0.
n n→∞ n
n=1
∞
X 1 1
ii. 2
is converges and lim 2 = 0.
n n→∞ n
n=1
∞
X 4n2 − n3 4n2 − n3 −1
iii. Using Divergence Test; is diverges, since lim = , 0.
10 + 2n3 n→∞ 10 + 2n3 2
n=0
F Geometric Series
∞
X
Theorem 6 The Geometric series ar n−1 = a + ar + ar 2 + ar 3 + · · · + ar n−1 + · · · is
n=0
∞
X a
convergent if |r| < 1 and its sum is ar n−1 = , if, |r| > 1 the geometric series
1−r
n=0
is divergent. Here r is called the common ratio.
∞
X
Example 12 Is the series 22n 31−n convergent or divergent?
n=1
F Telescoping Series
This name comes from what happens with the partial sums of the sequence
such that we must get terms to cancel.
∞
X 1
Example 13 Show that the series is convergent, and find its sum.
n(n + 1)
n=1
∞
X 1
Example 14 i. Show that the series 5 is divergent.
n
n=1
∞
X 1
ii. Show that the series is divergent
n
n=4
The convergence of the series is not change when:
adding/subtracting a finite number (constant) from a series.
∞ !
X 4 2
Example 15 Show that the series − converges, and find its sum.
2n n(n + 1)
n=1
is called integral divergent. Also to prove that the harmonic series di-
verges using estimate the area by breaking up the interval into segments
and then sketching in rectangles and using the sum of the area all of the
rectangles as an estimate of the actual area. Break up the interval into
sub-intervals of width 1 and we will take the function value at the left
endpoint as the height of the rectangle.
So, the
area under
the curve
is approximately,
A ≈ 1 (1) + 2 (1) + 3 (1) + 14 (1) + 51 (1) + · · ·
1 1 1
= 11 + 12 + 13 + 14 + 15 + · · · .
First, each of the rectangles over estimates the actual area and secondly
the formula for the area is exactly the harmonic series!
∞ Z∞
X 1 1
A≈ > =∞
n 1 x
n=1
∞
X 1
This implies = ∞.
n
n=1
that is the improper integral and the series have exactly the same conver-
gence.
We know that by divergence test the series
∞
X 1
n2
n=1
converges. Similarly to the above process to prove this: let f (x) = x12 is on
Z∞
1
the interval [1, ∞). Then the Improper Integral 2
dx = 1 and so this
1 x
integral converges.
Again try to estimate the area under this curve using the right end points
for the height of our rectangles. Here is a sketch of this case,
B. P-Series Test
∞
X 1
If k > 0 then converges if p>1 and diverges if p ≤ 1. This series in
np
n=k
this fact are called p-series and so this fact is called the p-series test.
The Integral Test applicable if the series terms MUST be positive. If they
are negative then the test doesn’t work.
C. The comparison Test X X
Suppose that we have two series an and bn with, 0 ≤ an ≤ bn for all
n. Then,
X X
1. If bn is convergent so is an .
X X
2. If an is divergent so is bn .
X
3. bn is divergent, then we haven’t conclusion about the convergence
X
of an .
In other words, we have two series of positive terms and the terms of one
of the series is always larger than the terms of the other series. Then if
the larger series is convergent the smaller series must also be convergent.
Likewise, if the smaller series is divergent then the larger series must also
be divergent.
In the comparison tests the idea is to compare a given series with a series
that is known to be convergent or divergent
an = (−1)n−1 bn or an = (−1)n bn
Power Series
where x is a variable and the cn0 s are constants called the coefficients of the series.
For each fixed x, 2.1 the series is a series of constants that we can test for con-
vergence or divergence. A power series may converge for some values of x and
diverge for other values of x. The sum of the series is a function
f (x) = c0 + c1 x + c2 x2 + c3 x3 + · · ·
whose domain is the set of all for which the series converges. Notice that f
resembles a polynomial. The only difference is that has infinitely many terms.
For instance, if we take cn = 1 for all n, the power series becomes the geometric
series
∞
X
xn = 1 + x + x2 + x3 + · · ·
n=0
which converges when |x| < 1 and diverges when |x| ≥ 1.
More generally, a series of the form
∞
X
cn (x − a)n = c0 + c1 (x − a) + c2 (x − a)2 + c3 (x − a)3 + · · · (2.2)
n=0
15
2 Applied Math. II
The number R in three cases above is called the radius of convergence of the
power series. The interval of convergence of a power series is the interval that
consists of all values of x for which the series converges.
In general, the Ratio Test (or sometimes the Root Test) should be used to deter-
mine the radius of convergence . The Ratio and Root Tests always fail when is
an endpoint of the interval of convergence, so the endpoints must be checked
with some other test.
Example 25 Find the radius of convergence and interval of convergence of the se-
ries
∞
X (−3)n xn
√
n=0 n+1
Answer: R = 3 and I = (−5, 1)
1
The power series representation of f (x) = 1−x is given as
∞
1 X
= 1 + x + x2 + x3 + · · · = xn , |x| < 1
1−x
n=0
∞
X (−1)n n
Example 27 Find a power series representation for 1
x+2 . [Ans. f (x) = 2n+1 ]
x
n=0
∞
x3
X (−1)n n+1
Example 28 Find a power series representation for x+2 .[Ans. f (x) = 2n+1 ]
x
n=0
Example 30 Find a power series representation for ln(1 + x) and its radius of con-
vergence.
∞
X (−1)n xn+1
Ans. f (x) = C + V C = 0, R = 1 and I = (−1, 1]
n+1
n=0
Example 34 Find the Maclaurin series of the function f (x) = ex and its radius of
convergence.
As with any convergent series, this means that f (x) is the limit of the sequence
of partial sums. The partial sums of the Taylor series are:
n
X f i (a)(x − a)i
Tn (x) =
i!
i=0
f 0 (a)(x − a) f 00 (a)(x − a)2 f 000 (a)(x − a)3 f (n) (a)(x − a)n
= f (a) + + + + ··· +
1! 2! 3! n!
Notice that Tn is a polynomial of degree n called the nth -degree Taylor poly-
nomial of f at a.
Theorem 12 If f (x) = Tn (x) + Rn (x), where Rn (x) is called the remainder of the
Taylor series of f at a and
lim Rn (x) = 0
n→∞
for |x−a| < R, then f is equal to the sum of its Taylor series on the interval |x−a| < R.
|x − a| ≤ d
, then the remainder Rn (x) of the Taylor series satisfies the inequality
M
|Rn (x)| ≤ (x − a)n+1 for|x − a| ≤ d
(n + 1)!
Example 38 Find the Maclaurin series for sin x and prove that it represents sin x
for all x.
(i) f (x) = cos x (ii) f (x) = x cos x (iii) f (x) = sin x at a = π/3
k !
X k n
The Muclarine series of f (x) = (1 + x)k is x , where k is any real number.
n
n=0
This series is called the binomial series for |x| < 1.
Differential Calculus of
Functions of Several
Variables
The domain of function of several variables is taken to be the set of all values
of the variables for which the function is defined.
cos(x + z) 2x
(a) f (x, y) = x ln y (b) f (x, y, z) = (c) g(x, y) =
xy y − x2
q q q
(d) f (x, y) = ln 4 − x2 − y 2 (e) f (x, y, z) = ln x2 + y 2 − 4 (f ) g(x, y) = 9 − x2 − y 2 − z2
Properties: The sum, product, and quotient of two functions f and g of several
variables are defined as
1. (f ± g)(x, y) = f (x, y) ± g(x, y)
2. (f g)(x, y) = f (x, y)g(x, y)
f (x,y)
f
3. g (x, y) = g(x,y) , provided that g(x,y) does not assume the value 0.
20
3 Applied Math. II
3.1.2 Graphs
The graph of a function f of two variables is the collection of points (x, y, f (x, y))
for which (x,y) is in the domain of f . Let z = f (x, y), then the graph of f consists
of all points (x,y,z) such that z = f (x, y).
p
Example 42 Find and describe in graphical terms the domain of g(x, y, z) = 9 − x2 − y 2 − z2 .
p
Solution 2 To define g(x, y, z) = 9 − x2 − y 2 − z2 it should to have 9−x2 −y 2 −z2 ≥
0 or x2 + y 2 + z2 ≤ 9. Therefore the domain of g is a sphere of radius 3 centered at
the origin and its interior.
p
Figure 3.1: f = 9 − x2 − y 2 − z2
Definition 10 The level curves of a function f of two variablf and it shows the
height value of f at (x, y) from the xy-plane. The level curve f (x, y) = k are just the
traces of the graph of f in the horizontal plane z = k projected down to the xy plane
and the trace of f in the plane z = k either lies directly above or directly below the
level curve f (x, y) = k or coincides with it.
Example 43 Sketch the level curves of the function f (x, y) = 6 − 3x − 2y for the
values k = −6, 0, 6, 12.
Solution 3 The level curves are 6 − 3x − 2y = k, this is a family of lines with slope
−3
2 . The four particular level curves with k = −6, 0, 6 and 12 are
3x + 2y − 12 = 0
3x + 2y − 6 = 0
3x + 2y = 0 and
3x + 2y + 6 = 0
The level curves are equally spaced parallel lines because the graph of f is a plane.
The contour map of f (x, y) = 6x − 3y − 2y is given below.
p
Example 44 Sketch the level curves of the function f (x, y) = 9 − x2 − y 2 for k =
0, 1, 2, 3.
p
Solution 4 The level curves are 9 − x2 − y 2 = k or x2 +y 2 = 9−k 2 . This is a family
√
of concentric circles with center(0, 0) and radius 9 − k 2 . The casesk = 0, 1, 2, 3.
p
Figure 3.5: The level curves of f (x, y) = 9 − x2 − y 2
Example 45 The level curve(contour curve) the graph of f (x, y) = x2 + y 2 is the set
of circles given by
Solution 5 Certainly, both of these limits are intuitively quite clear, we can use the
above definition to verify them, however. Given any number > 0, we must find
another number δ > 0 so that
p
|x − a| < whenever 0 < (x − a)2 + (y − b)2 < δ
Notice that
p p
(x − a)2 + (y − b)2 ≥ (x − a)2 = |x − a|
and so, taking δ = , we have that
p p
|x − a| = (x − a)2 ≤ (x − a)2 + (y − b)2 <
p
whenever 0 < (x − a)2 + (y − b)2 < δ. Lick wise, we can show that lim y = b.
(x,y)→(a,b)
lim f (x, y) = L
(x,y)→(a,b)
if the deference |f (x, y) − L| is as small as we wish whenever the distance from the
point (x,y) to the point (a,b) is sufficiently small, but not zero.
Note that: The limit of a function of two variables (if exists) is unique.
Operation of Limit
If f (x, y) and g(x, y) have limits at (x,y) approaches to (a,b), respectively; that
is,
lim f (x, y) = K and lim g(x, y) = L
(x,y)→(a,b) (x,y)→(a,b)
then
• lim [f (x, y) ± g(x, y)] = K ± L
(x,y)→(a,b)
xsiny+x +2 2
Example 47 Evaluate the limit of the function f (x, y) = √ 2 2 at (x,y) ap-
x +y +1
proaches to (0,0).
Solution 6
xsiny + x2 + 2
lim f (x, y) = lim p
(x,y)→(0,0) (x,y)→(0,0) x2 + y 2 + 1
lim (xsiny + x2 + 2)
(x,y)→(0,0)
= q
lim x2 + y 2 + 1
(x,y)→(0,0)
=2
2x2 y + 3xy
Example 48 Evaluate lim .
(x,y)→(2,1) 5xy 2 + 3y
Solution 7 First, note that this limit of rational function is the quationt of the two
polynomials. Since the limit in the denominator is
lim (5xy 2 + 3y) = 10 + 3 = 13 , 0
(x,y)→(2,1)
we have
lim (2x2 y + 3xy)
2x2 y + 3xy (x,y)→(2,1)
lim =
(x,y)→(2,1) 5xy 2 + 3y lim (5xy 2 + 3y)
(x,y)→(2,1)
14
=
13
Remark 1 1. If f (x, y) approaches L1 as (x,y) approaches (a,b) along a path p1
and f (x, y) approaches L2 , L1 as (x,y) approaches (a,b) along a path p2 , then
lim f (x, y) does not exist. So, the following paths are the simplest paths
(x,y)→(a,b)
to check the existence of limit
(a) Vertical line test (x = a, y → b)
b) Horizontal line test (y = b, x → a)
c) y = g(x), x → a where b = g(a) and
d) x = g(y), y → b where a = g(b)
2. Use polar coordinate to check the existence of limit. Consider (x,y) approaches
to (a,b). We can convert it by polar coordinate in the form x = a + rcosθ and
y = b + rsinθ. So,
lim f (x, y) = lim f (r, θ)
(x,y)→(a,b) r→0
If lim f (r, θ) exist; that is, constant number and unique for any θ, then the
r→0
limit exist. Otherwise, the limit does not exist.
y
Example 49 Evaluate lim .
(x,y)→(1,0) x + y − 1
Solution 8 First, we consider the vertical line path along the line x = 1 and com-
pute the limit as y approaches 0. If (x, y) → (1, 0) along the line x = 1, we have
y
lim = lim 1 = 1
(x,y)→(1,0) x + y − 1 y→0
Next consider the horizontal line y = 0 and compute the limit as x approaches 1,
then we have
y
lim = lim 0 = 0
(x,y)→(1,0) x + y − 1 x→1
Since the function is approaching two different values along two different paths to
the point (1,0), the limit does not exist.
xy
Example 50 Show that lim doesn’t exist.
(x,y)→(0,0) x2 + y 2
xy
Solution 9 To show that lim doesn’t exist, it suffice to show that the
(x,y)→(0,0) x2 + y 2
limits doesn’t exist at different direction of approaching the point (0,0). Suppose,
xy x3
lim = lim =0
(x,y)→(0,0) x2 + y 2
(x,y)→(0,0) x3 x + 1x
xy x2 1
lim = lim =
(x,y)→(0,0) x2 + y 2 (x,y)→(0,0) x2 + x2 2
Hence, since
xy xy
lim , lim
(x,x2 )→(0,0) x2 + y 2 (x,x)→(0,0) x2 + y 2
xy
We conclude that lim doesn’t exist.
(x,y)→(0,0) x2 + y 2
xy 2
Example 51 Evaluate lim .
(x,y)→(0,0) x2 + y 4
0y 2
lim = lim 0 = 0
(0,y)→(0,0) 02 + y 4 y→0
x02
lim = lim 0 = 0
(x,0)→(0,0) x2 + 04 x→0
Since the limits along the first two paths are the same, we try another path. The
next most obvious choice of path through (0,0) is the line y = x. As it turns out, this
limit is
xx2 x
lim = lim =0
(x,x)→(0,0) x2 + x4 x→0 1 + x2
also, so we will need to try yet another path. Path y = kx Finally, notice that along
the path x = y 2 , the terms x2 and y 4 will be equal. We then have
y2y2 y4
lim = lim =1
(y 2 ,y)→(0,0) (y 2 )2 + y 4 y4
Since this limits does not agree with the limits along the earlier paths, the original
limit does not exist.
xy 2
Figure 3.9: f (x, y) = x2 +y 4
Theorem 14 Suppose that |f (x, y) − L| ≤ g(x, y) for all (x,y) in the interior of some
circle centered at (a,b) except possibly at (a,b). If lim g(x, y) = 0, then
(x,y)→(a,b)
lim f (x, y) = L
(x,y)→(a,b)
x2 y
Example 53 Evaluate lim .
(x,y)→(0,0) x2 + y 2
Solution 12 As we did in the earlier example, we start by looking at the limit along
several paths through (0,0). Along the path x = 0, we have
0y
lim = 0.
(0,y)→(0,0) 0 + y 2
At this stage, we know that if the limit exists, it must equal 0. We could try other
paths, but our last calculation gives an important clue that the limit does not exist.
In that calculation, after simplifying the expression, there remained an extra power
of x in the numerator forcing the limit to 0. To show that the limit equals L = 0,
consider
x2 y
|f (x, y) − L| = |f (x, y) − 0| = 2
x + y 2
Notice that if there was no y 2 term in the denominator, we could cancel the x2 terms.
Since x2 + y 2 ≥ x2 ,we have for x , 0.
x2 y x2 y
|f (x, y) − L| = |f (x, y) − 0| = 2 ≤ = |y|
x + y 2 x2
x2 y
certainly, lim |y| = 0 and so the above theorem gives as lim = 0.
(x,y)→(0,0) (x,y)→(0,0) x2 + y 2
3.2.2 Continuity
Definition 13 Suppose that f (x, y) is defined in the interior of a circle centered at
the point (a,b). We say that f is continuous at (a,b) if
Continuity on a Set
Let R be a set in the plane. Then for each point P in the plane, one of the
following conditions hold
1. There is an open disk centered at P and contained in R. In this case P is
an interior point of R.
This notation indicates that the limit is taken only along paths lying completely
inside D.
Example 54 Let R be a rectangular region consisting of all points (x,y) such that
0 ≤ x ≤ 1 and 0 ≤ y ≤ 2. Let
(
4 − x − y, f or (x, y) in R;
f (x, y) =
0, f or (x, y) not in R.
x2 +y3
Example 55 The function defined by f (x, y) = x3 y+4 is continuous at the point
(0,0) because
lim f (x, y) = f (0, 0)
(x,y)→(0,0)
Solution 14 f (x, y) = g(h(x, y)), where g(t) = et and h(x, y) = x2 y. Since g is con-
tinuous for all values of t and h is a polynomial in x and y ( and hence continuous
for all x and y). It follows from the above theorem that f is continuous for all x and
y.
x
Example 57 Find all points where the given function is continuous f (x, y) = x2 −y
.
lim g(x, y) = 0
(x,y)→(0,0)
Using the following string of inequalities. Notice that for (x, y) , (0, 0).
x4 x4
|g(x, y)| = |g(x, y) − 0| = ≤ = |x|
x(x2 + y 2 ) x(x2 )
So that g is continuous at (0,0). Putting this all together, we get that g is continuous
at the origin and also at all points (x,y) with x , 0.
x2 + y 2 − z2
Example 59 Evaluate lim .
(x,y,z)→(0,0,0) x2 + y 2 + z2
∂f f (x, y + h) − f (x, y)
= lim
∂y h→0 h
Remark 2 • Prime notation; that is, f 0 (x, y) is not applicable in several vari-
ables.
∂f ∂
• The notation of partial derivatives is represented by ∂x
(x, y) = fx (x, y) = ∂x f (x, y).
∂f ∂
Similarly, we have ∂y
(x, y) = fy (x, y) = ∂x f (x, y).
∂f
• To compute the partial derivative of f (x, y) respect to x; that is, ∂x simply
take an ordinary derivative with respect to x, while treating y as a constant.
∂f
Similarly, we can compute ∂y by taking an ordinary derivative with respect
to y, while treating x as a constant.
Solution 18 By definition
∂f f (0 + h, 0) − f (0, 0)
= lim = lim h = 0
∂x h→0 h h→0
∂f
Similarly, ∂x
(0, 0) = 0.
∂f ∂f
Solution 19 We have to compute ∂x
and ∂y
respectively as
∂f 2
∂x
(x, y) = exy (y 2 cos y)
2
= y 2 (cos y)exy
∂f 2 2
∂y
(x, y) = (−siny)exy + 2xy cos yexy
2
= exy (−siny + 2xy cos y)
∂f ∂f ∂f
Example 62 For f (x, y) = 3x2 +x3 y +4y 2 . Compute ∂x
(x, y), ∂y (x, y), ∂x (1, 0) and
∂f
∂y
(2, −1).
∂f
Solution 20 Compute ∂x
by treating y as a constant. We have
∂f ∂
∂x
(x, y) = ∂x (3x2 + x3 y + 4y 2 )
= 6x + (3x2 )y + 0
= 6x + 3x2 y
∂f ∂f
∂y
(x, y) = ∂y (3x2 + x3 + 4y 2 )
= 0 + x3 (1) + 8y
= x3 + 8y
∂f
fx (1, 0) = (1, 0) = 6 + 0 = 6
∂x
∂f
fy (2, −1) = (2, −1) = 8 − 8 = 0
∂y
∂2 f
∂f
∂
• ∂y ∂x
= ∂y∂x
= fyx mixed 2nd order partial derivatives.
we then have
∂2 f
∂f
∂
∂x2
= ∂x ∂x
= ∂
∂x
2xy + 1x = 2y − x12
∂2 f
∂f
∂
∂y∂x
= ∂y ∂x
= ∂
∂y
2xy + 1x = 2x
∂2 f ∂ ∂f
∂x∂y
= ∂x ∂y
∂
= ∂x
(x2 − 3y 2 ) = 2x
and finally
∂2 f ∂ ∂f
∂y 2
= ∂y ∂y
∂
= ∂y
(x2 − 3y 2 ) = −6y
Theorem 19 If fxy (x, y) and fyx (x, y) are continuous on an open set containing
(a,b), then fxy (a, b) = fyx (a, b).
Example 64 fxy (x, y) and fyx (x, y) of f (x, y) = x2 y − y 3 + ln x are equal with in the
domain of f (x, y). Partial derivatives of order 3 or higher can also be defined in
similar ways as second order. For instance,
∂3 f
fxyy = fxy y = ∂y 2 ∂x and fxyy = fyxy = fyyx if these functions are continuous.
Solution 22 we have
∂
fx (x, y) = ∂x (cos(xy) − x3 + x4 )
= −y sin(xy) − 3x2
Differentiating fx with respect to y gives us
∂ ∂f
fxy (x, y) = ∂y ∂x
∂
= ∂y
(−y sin(xy) − 3x2 )
= − sin(xy) − xy cos(xy)
and
∂ ∂f
∂
fxyy (x, y) = ∂y ∂y ∂x
∂
= ∂y (− sin(xy) − xy cos(xy))
= −2x cos(xy) + x2 y sin(xy)
finally, we have
∂ ∂f
∂ ∂
fxyyy (x, y) = ∂y ∂y ∂y ∂x
∂
= ∂y (−2x cos(xy) + x2 y sin(xy))
= 3x2 sin(xy) + x3 y cos(xy)
∂z ∂ 2
= (x + 3y 2 ) = 6y.
∂y ∂y
∂z
Now we can evaluate ∂y
at a point (2,1,7)
∂z
(2, 1) = 6(1) = 6
∂y
Therefore, the rate at which z changes with y when the point is at (2,1,7) is 6.
Example 67 Find the slope of the tangent line at (2,1,2) to the curve of intersection
of x2 + y 2 + z2 = 9 and the planes x = 2.
2 3
Example
√ 68 For f (x, y) = x y − 4y , compute Du f (2, 1) for the direction u =
3 1
2 , 2 and v in the direction from (2,1) to (4,0).
Solution 25 Regardless of the direction, we first need to compute the first partial
derivatives
∂f ∂f
∂x
= 2xy and ∂x
= x2 − 12y 2 , then
In particular, this says that the function is decreasing in this direction. Next, we
have to compute the directional derivative in the direction of v. We must first find
the unit vector u in the indicated direction. Observe that the vector from (2,1)
to (4,0) corresponding
to
the position vector (2,-1) and so, the unit vector in that
direction is u = √2 , √
−1
, we then have from the above theorem that
5 5
Notice that this says that the function is increasing rapidly in this direction.
3.5.2 Gradients
Definition 17 The gradient of f (x, y) is the vector-valued function is given by
∂f ∂f ∂f ∂f
5f (x, y) = ∂x , ∂y = ∂x i + ∂y j provided both partial derivatives exist. We denote
the gradient of a function f by gradf or 5f ( read as delf ).
Definition 18 The directional derivative of f (x, y, z) at the point (a,b,c) in the di-
rection of the unit vector u = (u1 , u2 , u3 ) is given by
Example 70 Find the maximum and minimum rates of change of the function
f (x, y) = x2 + y2 at the point (1,3).
Solution 27 We first compute the gradient 5f (x, y) = (2x, 2y) and evaluate it at
the point (1,3)
5f (1, 3) = (2, 6)
From the above theorem, the maximum rate of change of f at (1,3) is
√
k 5 f (1, 3)k = k(2, 6)k = 40
5f (1,3) (2,6)
and occur in the direction u = k5f (1,3)k = √ = √1 (2, 6). Similarly, the minimum
40 40
rate of change is √
−k 5 f (1, 3)k = −k(2, 6)k = − 40
5f (1,3) (2,6)
which occurs in the direction u = − k5f (1,3)k = − √ = − √1 (2, 6).
40 40
Example
71 2 If 2the temperature at the point (x,y,z) is given by T (x, y, z) = 85 +
z
1 − 100 e−(x +y ) . Find the direction from the point (2,0,99) in which the tempera-
ture increases most rapidly.
The sum of the partial differentials with respect to all of the independent vari-
ables is the total differential given by
∂y ∂y
dy = dx1 + · · · + dx
∂x1 ∂xn n
where y = f (x1 , x2 , · · · , xn ).
Solution 29 Since f (x, y) = 4x3 y2 , and then fx (x, y) = 12x2 y2 and fy (x, y) = 8x3 y.
Therefore
dz = 12x2 y 2 dx + 8x3 ydy.
Alternatively, let g(x, y, z) = z − f (x, y) and let (x,y,z) be any arbitrary point
on a tangent plane. Since 5g(x0 , y0 , z0 ) is the normal vector to the surface at
(x0 , y0 , z0 ), we have
5g(x0 , y0 , z0 ) · (x − x0 , y − y0 , z − z0 ) = 0
Theorem 26 The equation of the tangent plane to the surface f (x, y, z) = c at the
point (x0 , y0 , z0 ) is given by
Example 74 Find the tangent plane to the elliptic paraboloid z = 3x2 + 2y 2 at the
point (1,1,5).
z − 5 = 6(x − 1) + 4(y − 1) V z = 6x + 4y − 5.
Solution 32 First we have to find the normal vector to the plane as 5f (x, y, z) =
(2x, 4y, 6z) and the normal vector at (4,-1,1) will be 5f (4, −1, 1) = (8, −4, 6). Let
(x,y,z) be any arbitrary point on a tangent plane. So
5f (4, −1, 1) · (x − 4, y + 1, z − 1) = 0
(8, −4, 6) · (x − 4, y + 1, z − 1) = 0
8(x − 4) − 4(y + 1) + 6(z − 1) = 0
8x − 4y + 6z = 42
Theorem 27 If the partial derivatives fx and fy exist near (x0 , y0 ) and are contin-
uous at (x0 , y0 ),then f is differentiable at (x0 , y0 ).
Example 76 Show that f (x, y) = xexy is differentiable at (1,0) and find its lin-
earization there. Then use it to approximate f (1, 1, −0.1).
Example 77 An equation of the tangent plane to the graph of the function f (x, y) =
3x2 + 2y 2 at the point (1,1,3) is z = 6x + 4y − 5. Therefore,the linear function of two
variables L(x, y) = 6x + 4y − 5 is a good approximation to f (x, y) when (x,y) is near
(1,1).The function L is called the linearizion of f at (1,1) and the approximation
f (x, y) ≈ 6x + 4y − 5
is called a tangent plane approximation of f at (1,1).
Example 78 Consider f (x, y) = x2 cos y, where x(t) = t 2 + 2t, y(t) = sin t. Then
df
evaluate dt .
df ∂f ∂f dy
dt = ∂x · dx
dt + ∂y · dt
= (2x cos y)(2t + 2) − (x2 sin y)(cos t)
= 2(t 2 + 2t) cos(sin t)(2t + 2) − (t 2 + 2t)2 sin(sin t) cos t
Example 79 For f (x, y) = x2 ey , x(t) = t 2 − 1 and y(t) = sin t, find the derivative of
g(t) = f (x(t), y(t)).
∂f ∂f dx
Solution 34 We first compute the derivatives ∂x
= 2xey , ∂x
= x2 ey , dt = 2t and
dy
dt = cos t. The chain rule then gives us
∂f ∂f dy
g 0 (t) = ∂x dx
dt + ∂x dt
= 2xey (2t) + x2 ey cos t
= 2(t 2 − 1)esin t (2t) + (t 2 − 1)2esin t cos t
Example 80 Suppose that f (x, y) = exy , x(u, v) = 3u sin v and y(u, v) = 4v2u. For
∂g ∂g
g(u, v) = f (x(u, v), y(u, v)), find the partial derivatives ∂u and ∂u .
∂f ∂f ∂x
Solution 35 We first compute the derivatives ∂x
= yexy , ∂y
= xexy , ∂u
= 3 sin v
∂y
and ∂u
= 4v 2 . The chain rule then gives us
∂g ∂f
∂x ∂f ∂y
∂u
= ∂x ∂u + ∂y ∂u
= ye (3 sin v) + xexy (4v 2 )
xy
2 2 2 2
= (4v 2 u)e12u v sin v (3 sin v) + (3u sin v)e12u v sin v (4v 2 )
∂x
For the partial derivative of g with respect to v, we compute ∂v
= 3u cos v and
∂y
∂v
= 8uv, Here the chain rule gives us
∂g ∂f ∂x ∂f ∂y
∂v
= ∂x ∂v + ∂y ∂v
= ye (3u cos v) + xexy (8uv)
xy
2 2 2 2
= (4v 2 u)e12u v sin v (3u cos v) + (3u sin v)e12u v sin v (8uv)
∂z ∂z 2 3
Example 81 Find partialx and partialy , given that F(x, y, z) = xy +z +sin(xyz) = 0.
Solution 36 First, note that using the usual chain rule, we have
Fx = y 2 + yz cos(xyz)
Fy = 2xy + xz cos(xyz) and
Fz = 3z2 + xy cos(xyz)
We now have
∂z Fx y 2 +yz cos(xyz)
partialx = − Fz = − 3z2 +xy cos(xyz) and
∂z Fy 2xy+xz cos(xyz)
partialy = − Fz = − 3z2 +xy cos(xyz)
Local extrema can occur at critical points, every critical points need not corre-
spond to a local extreme. For this reason, we refer to critical points as candi-
dates for local extrema.
Theorem 30 If f (x, y) has a local extreme at (x0 , y0 ), then (x0 , y0 ) must be a critical
point of f .
Example 82 If f has relative extreme at (x0 , y0 ) and fx (x0 , y0 ) and fy (x0 , y0 ) exist,
then fx (x0 , y0 ) = fy (x0 , y0 ) = 0.
Example 85 Locate all the critical points and find all the points of relative maxi-
mum and relative minimum of f (x, y) = 2x2 − y 3 − 2xy.
fx = 4x − 2y and fy = −3y 2 − 2x
Since both partial derivatives are defined for all (x,y), the critical points are solutions
of the two equations.
fx = 4x − 2y = 0 and fy = −3y 2 − 2x = 0
Solving the first equation for y, we get y = 2x. Substituting this in to the second
equation, we have
0 = −3(4x2 ) − 2x
= −12x2 − 2x
= −2x(6x + 1)
So that x = 0 or x = −1
6 .
The corresponding y-values are y = 0 and y = −1 3 . The only two critical points are
−1 −1
then (0,0) and 6 , 3 . To classify these points, we first compute the second partial
derivatives
fxx = 4, fyy = −6y and fxy = −2
then test the discriminant. We have
0) = (4)(0) − (−2)2 = −4
D(0,
D −1 −1
6 , 3 = (4)(2) − (−2)2 = 4
Example 86 Let f (x, y) = xy−x2 and let R be the square region in the first quadrant
having vertex (0,0), (1,0), (1,1) and (0,1). Find the extreme values of f on R.
(assuming that these extreme values exist and 5g , 0 on the surface g(x, y, z) =
0)
• Find all values of x,y,z and λ such that 5f (x, y, z) = λ 5 g(x, y, z) and
g(x, y, z) = 0.
5f (x, y) = λ 5 g(x, y)
2x = λ(2x) 2y = λ(4y)
for x,y and λ. Since (x,y) is on the ellipse, both x and y can not be zero at the same
time. Hence, we get either x = 0, λ = 21 or y = 0, λ = 1. Since we seek points on the
ellipse, x = 0 implies y = ± √1 and y = 0 implies that x = ±1. Moreover,we see that
2
1 1
f 0, ± √ = 2 , f (±1, 0) = 1. We conclude that if f has maximum, then it occurs at
2
(±1, 0) and if it has minimum, then it occurs at 0, ± √1 .
2
Example 89 Find the point on the line y = 3 − 2x that is closest to the origin.
Solution 41 the distance from the origin to the point (x,y) on the line is expressed
as q
h(x, y) = x2 + y 2
but before we continue, we must point out that the distance is minimized at exactly
the same point at which the square of the distance is minimized. Notice that if we
instead minimize the square of the distance, given by
f (x, y) = x2 + y 2
for f (x, y) = x2 +y 2 , we have 5f (x, y) = (2x, 2y) and for g(x, y) = 2x +y −3, we have
5g(x, y) = (2, 1). The vector equation 5(x, y) = λ 5 g(x, y) becomes
Solving the second equation for λ, we have λ = 2y. The first equation then gives us
x = λ = 2y. Substituting x = 2y in to the constraint equation y = 3 − 2x, we have
y = 3 − 2(2y) or 5y = 3
The solution is y = 35 , giving us x = 2y = 65 . The closest point is then 6 3
5, 5 .
1
((u − 32)t, t 2 ) = λ(u 2 , 2ut)
2
For some constant λ. It follows that
(u − 32)t = λu 2 and 21 t 2 = λ2ut
solving both equations for λ, we have
(u − 32)t 1 2 2
λ= = t u
u2 2
This gives us
2u(u − 32)t 2 = t 2 u 2
Solution include t = 0 and u = 0 on physical ground, we can argue that these solu-
tions represent minimum heights, since zero thrust or zero time would correspond to
zero height. Canceling the factors t2 and u, we have 4(u − 32) = u. The solution to
10,000 10,000
this is u = 128
3 , with this value of u, the engines can burn t = 2u 2 = 128 2 ≈ 5.5s
( 3 )
1 128 2
with the rocket reaches height z = 2 3 − 32 (5.5s) ≈ 161f eet.
T√(−1, 0) = −1 √
T (√24, 0) = 24 + 2√24 ≈ 33.8
T (− 24, 0) = 24 − 2 24 ≈ 14.2
√
T − 43 , 350 = 14
3 ≈ 4.7 and
√
T − 43 , −50
3 = 14
3 ≈ 4.7
Example 92 For a business that produces three products, suppose that when pro-
ducing x,y and z thousand units of the products, the profit of the company (in
thousand of dollars) can be modeled by P (x, y, z) = 4x + 8y + 6z. Manufacturing
constraints force x2 + 4y 2 + 2z2 ≤ 800. Find the maximum profit for the company.
Solution 44 We start with 5P (x, y, z) = (4, 8, 6) and note that there are no critical
points. This says that the extrema must lie on the boundary of the constraint region.
That is, they must satisfy the constraint equation
5g(x, y, z) = λ 5 g(x, y, z) or
(4, 8, 6) = λ(2x, 8y, 4z)
= (2λx, 8λy, 4λz)
This occurs when 4 = 2λx, 8 = 8λy and 6 = 4λz From the first equation, we get
2
x = lambda . The second equation gives us y = λ1 and finally the third equation gives
3
us z = 2λ . From the constraint equation x2 + 4y 2 + 2z2 = 800. We know have
2 2 2
2 1 3 5
800 = +4 +2 =
λ λ 2λ 2λ2
25
so that λ2 = 1600 and then λ = 18 .
The values of x,y and z are positive since they represent a number of quantity, so
since x > 0, we must have λ = 2x > 0.
The only candidate for an extrema is then
2 1 3
x= λ = 16, y = λ = 8 and z = 2λ = 12
Where the corresponding profit is P (16, 8, 12) = 4(14) + 8(8) + 6(12) = 200. Observe
that this is the maximum profit, while λ = − 18 gives the minimum value of the profit
function.
Consider the problem Maximum(minimum) of f (x, y, z) subject to g(x, y, z) ≤ 0
we first find the critical points of f (x, y, z) that satisfy the constraint, then find
the extrema of the function on the boundary g(x, y, z) = 0 (the constraint curve
or set ) and finally, compare the function values.
Maximum(minimum) of f (x, y, z)
subject to
g(x, y, z) = 0
h(x, y, z) = 0
(assuming that these extreme values exist,5g , a and 5h , 0 on the surface
g(x, y, z) = 0 and h(x, y, z) = 0, respectively and 5g is not parallel with 5h)
• Step 1: Find all values of x,y,z,λ and µ such that
Or
fx (x, y, z) = λgx (x, y, z) + µhx (x, y, z)
fy (x, y, z) = λgy (x, y, z) + λhy (x, y, z)f z(x, y, z) = λgz (x, y, z) + µhz (x, y, z)
g(x, y, z) = 0 and h(x, y, z) = 0
• Step 2: Evaluate f at all points (x,y,z) that result from Step 1. The largest
of these values is the maximum value of f ; the smallest is the minimum
value of f .
Solution 45 We know that the minimizing the distance to the origin is equivalent
to minimizing
f (x, y, z) = x2 + y 2 + z2
We have constraints
g(x, y, z) = x + y + z − 12 = 0 and
h(x, y, z) = x2 + y 2 − z = 0
So,f (x, y, z) = λ 5 g(x, y, z) + µ 5 h(x, y, z) or
(2x, 2y, 2z) = λ(1, 1, 1) + µ(2x, 2y, −1)
Together with the constraint equations, we now have the system of equations.
2x = λ + 2µx
2y = λ + 2µy
2z = λ−µ
x + y + z − 12 = 0 and
x2 + y 2 − z =0
From the above equations (2,2,8) and (-3,-3,18) are the only candidates for extrema.
Finally, since f (2, 2, 8) = 72 and f (−3, −3, 18) = 342. Therefore, the closest point
on the intersection of the two surfaces to the origin is (2,2,8).
By the same reasoning, observe that the furthest point on the intersection of the two
surfaces from the origin is (-3,-3,18). Consider the problem
Maximum(minimum) of f (x, y, z)
subject to
g(x, y, z) ≤ 0
h(x, y, z) ≤ 0
we first find the critical points of f(x,y,z) that satisfy the constraint, then find the ex-
trema of the function on the boundary g(x, y, z) = 0 and h(x, y, z) = 0 (the constraint
curve or set) and finally, compare the function values.
Ans. 4, R2 , [0, ∞)
√
z−x2 −y 2
2. Let f (x, y, z) = e .
y4
3. Find the limit lim x, y) → (0, 0) if it exist.
( x4 + 3y 4
Ans. 0
xy + yz2 + xz2
5. Find the limit lim x, y, z) → (0, 0, 0) if it exist.
( x2 + y 2 + z2
6. Find√h(x, y) = g(f (x, y)) and the set on which h is continuous, where g(t) =
t 2 + t, f (x, y) = 2x + 3y − 6. p
Ans. h(x, y) = (2x + 3y − 6)2 + 2x + 3y − 6, (x, y)|2x + 3y ≥ 6
7. Determine the set of points at which the function is continuous, where
x2 y 3
2x2 +y 2
if (x, y) , (0, 0)
f (x, y) =
1 if (x, y) = (0, 0)
x3 + y 3
8. Use polar coordinate to find the limit lim x, y) → (0, 0) .
( x2 + y 2
Ans. 0
x−y
9. Find the first partial derivatives of the function f (x, y) = x+y .
2y −2x
Ans. fx = x+y , fy = x+y
10. Find the first partial derivatives of the function f (x, y, z) = ln(x + 2y + 3z).
1 2 3
Ans. fx = x+2y+3z , fy = x+2y+3z , fz = x+2y+3z
∂3 f ∂3 f x
11. Find ∂z∂y∂x
and ∂x2 ∂y
for a function f (x, y, z) = y+2z .
12. Find an equation of the tangent plane to the surface z = y cos(x −y) at (2,2,2).
Ans. z = y
√
13. Find the linearization of the function f (x, y) = x y at (1,4).
Ans. L(x, y) = 2x − 14 y − 1
y
dw
14. Use chain rule to find dt for the functions w = xe z , x = t 2 , y = 1−t, z = 1+2t.
y 2xy
dw
Ans. dt = e z (2t − 2x − z2
)
√
dz
15. Use chain rule to find dt for the functions z = er cos θ, r = st, θ = s2 + t 2 .
dz s
Ans. dt = er (t cos θ − √ sin θ)
s2 +t 2
√
16. Find the directional derivative of the function f (x, y) = 1 + 2x x at the point
(3,4) in the direction of v = (3, 4).
23
Ans. 10
√
17. Find the directional derivative of the function f (x, y) = xy at the point (2,8)
in the direction of v = (5, 4).
2
Ans. 5
18. Find the maximum rate of change of f (x, y) = sin(xy) at the point (1,0) and
the direction in which it occurs.
Ans. 1, (0,1)
19. Find the local maximum and minimum values and saddle point(s) of the func-
tion f (x, y) = x3 − 12xy + 8y 3 .
Maximum(Minimum) of x2 + y 2 + z2
20. Use Lagrange multipliers to find
subject to
x4 + y 4 + z4 − 1 = 0
√
Ans. Maximum 3, Minimum 1
Multiple Integral
if the limit exist. where the limit is taken so that the number n of subdivisions
increases without limit and such that the largest linear dimension of each approaches
zero.
Solution: It would p be √ very difficult to evaluate this integral directly from the
definition but, because
√ 1 − x2 ≥ 0, we can compute the integral by interpreting it
as a volume. If z = 1 − x2 , then x2 + z2 = 1 and z ≥ 0, so the given double integral
represents the volume of the solid S that lies below the circular cylinder x2 + z2 = 1
and above the rectangle R. The volume of S is the area of a semicircle with radius 1
times the length of the cylinder. Thus
" √
1
1 − x2 dA = π(1)2 (4) = 2π
R 2
53
4 Applied Math. II
√
Figure 4.1: f (x, y) = 1 − x2
R3R2
Solution 46 For 0 1
x2 ydydx
Z 3Z 2 Z 3 !Z 2
x2 ydydx = x2 ydy dx
0 1 Z03 21 2 !
x y 2
= dx
2 1
Z03
3 2
= x dx
0 2
1 33
2x 0
= 27
2
R2R3
For 1 0
x2 ydxdy
Z 2Z 3 Z 2 Z 3 !
2 2
x ydxdy = x ydx dy
1 0 Z12 0
x3 y
!
3
= 0 dy
3
Z12
= 9ydy
1
9 22
= 2y 1
27
= 2
Z 3Z 2 Z 2Z 3
Here, x2 ydydx = x2 ydxdy.
0 1 1 0
!
Example 96 If R = [0, 2]x[1, 4], evaluate R
(6x2 + 4xy 3 )dA.
Solution 47 We have
! Z 4Z 2
R
(6x2 + 4xy 3 )dA = (6x2 + 4xy 3 )dxdy
Z14 Z0 2 !
2 3
= (6x + 4xy )dx dy
R 41 3 0 2
= ( x + 4 x2 y 3 ) 20 dy
R14 3
= 1 (16 + 8y 3 )dy
= (16y + 2y 4 ) 41
= 558
We evaluate the first integral above respect to x while treating y as a constant. Sim-
ilarly
" Z 2Z 4
(6x2 + 4xy 3 )dA = (6x2 + 4xy 3 )dydx = 558
R 0 1
!
Example 97 Evaluate the double integral R
(2x − 3y 2 )dA, where R = {(x, y) | 0 ≤
x ≤ 2, 1 ≤ y ≤ 2}.
Again applying Fubini’s Theorem, but this time integrating with respect to x first,
we have ! R2R2
R
(2x − 3y 2 )dA = 1 0 (2x − 3y 2 )dxdy
R2
= 1 (x2 − 3xy 2 ) 20 dy
R2
= 1 (4 − 6y 2 )dy
= 4y − 2y 3 21
= −10
R1R1 x−y R1R1 x−y
1
Example 98 Show that 0 0 (x+y)3
dydx = 2 and 0 0 (x+y)3
dxdy = − 12 ,
R1R1 x−y
Solution 49 First let’s evaluate 0 0 (x+y)3
dydx = 12 ,
R1R1 x−y R 1 R 1 2x−(x+y)
0 0 (x+y)3
dydx = (x+y)3
dydx
R01 R01 x+y d
2x
= 0 0 (x+y) 3 − x+y 3 ydx
R1R1
2x 1 d
= 0 0 (x+y) 3 − x+y 2 ydx
R1
−x 1 1
= 0 (x+y) 2 − x+y 0 dx
R1
1
= 0 (x+1) dx
1 1
= − (x+1) 0
= 12
R1R1 x−y
and for 0 0 (x+y)3
dxdy = − 12 , we have
R1R1 x−y R1R1 y−x
0 0 (x+y)3
dxdy =− (x+y)3
dxdy
R01 R01 2y−(x+y)
= − 0 0 (x+y)3 dxdy
R 1 R 1 2y x+y
= − 0 0 (x+y)3 − (x+y)3 dxdy
R 1 R 1 2y
1
= − 0 0 (x+y)3 − (x+y) 2 dxdy
R 1 −y
1 1
= − 0 (x+y)2 − x+y 0 dxdy
R1
1
= − 0 y+1 dy
1 1
= y+1 0
= − 21
This shows that interchanging the order of integration may not always produce
equal results. A sufficient condition under which the order may be interchanged is
! x−y
that the double integral over the corresponding region exists. In this case R (x+y)3 dydx,
where R is the region 0 ≤ x ≤ 1, 0 ≤ y ≤ 1 fails to exist because of the discontinuity
of the integrand at (0,0). The integral is actually an improper double integral
! ! ! !
5. R
f (x, y)dA = R f (x, y)dA+ R f (x, y)dA+· · ·+ R , where R = R1 +R2 +
1 2 n
· · ·+Rn and the Ri ’s are mutually disjoint regions for each i ∈ {1, 2, 3, · · · , n}.
6. If f (x, y) ≥ g(x, y) for all (x, y) in D, then
" "
f (x, y)dA ≥ g(x, y)dA
D D
Since the lower boundary is y = 2x2 and the upper boundary is y = x2 + 1, then
! R 1 R x2 +1
D
(x + 2y)dA = 2x2
(x + 2y)dydx
R−1
1 2
x +1
= (xy + y 2 ) 2x 2 dx
R−1
1
= −1 (−3x − x + 2x2 + x + 1)dx
4 3
5 4 3 2
= −3 x5 − x4 + 2 x3 + x2 + x 1−1
32
= 15
Example 100 Find the volume of the solid that lies below the paraboloid z = x2 +y 2
above the region D in the xy-plane bounded by the line y = 2x and the parabolic
y = x2 .
Solution 51 From the figure below, we see that D is a type I region and
2 32 7
= 15 y + 72 y 2 − 13
96 y 4 4
0
= 216
35
R1R1 3
Example 101 Evaluate 0
y yex dxdy.
2
√
Figure 4.8: Region formed by x = 12 y and x = y
Solution 52 No one can not able to integrate with first respect to x, as indicated,
3
because ex is known to have no elementary anti-derivative. So we try to evaluate
the integral by first reversing the order of integration. To do so,
R1R1 R 1 R 2x
x3 =
3
yex dydx
y ye dxdy
0 2 0 0
R 1 R 2x 3
= 0 0 yex dy dx
R 1 y2 3
= 0 2 ex 2x 0 dx
R1 3
2
= 0 2x e dx x
3
= 23 ex 10
= 23 (e − 1)
! x−y 4
Example 102 Compute D x+y dA, where D is the triangle region bounded by
the line x + y = 1 and the coordinate axes.
Solution 53 Let
u = x − y and v = x + y
V x = 12 (u + v) and y = 12 (u − v)
Now transform each boundary on D to the variables u and v; that is,
• On the y-axis, x = 0 V= −u.
• On the x-axis, y = 0 V v = u.
• On x + y = 1 V v = 1
The Jacobian of the change of variables on region D = {(u, v)|0 ≤ v ≤ 1, −v ≤ u ≤ v}
is
∂(x, y) xu xv 12 1
2 =
1
= =
∂(u, v) yu yv − 21 1
2 2
Therefore,
! x−y 4 ! 4
u 1
dA = dudv
D x+y R 1 Rv v 2
D
1 4 −4
= 2 0 −v u v dudv
1
= 10
∂(x,y)
Example 103 If u = x2 − y 2 and v = 2xy, find ∂(u,v) in terms of u and v.
∂(u,v) u uy
Solution 54 From the identity ∂(x,y)
= x = 4(x2 + y 2 ), we have
vx vy
This is because
∂(x, y) ∂(u, v)
· =1
∂(u, v) ∂(x, y)
∂(x,y)
provided that ∂(u,v)
, 0.
! p
Example 105 Evaluate R
x2 + y 2 dA, where R = {(x; y) | 1 ≤ x2 + y 2 ≤ 9, y ≥ 0.
Example 106 Find the volume of the solid that lies under the paraboloid z = x2 +y 2 ,
above the xy-plane, and inside the cylinder x2 + y 2 = 2x.
Solution 57 The solid lies above the disk D whose boundary circle has equation
x2 + y 2 = 2x or, after completing the square,
(x − 1)2 + y 2 = 1
and we have !
V = D
(x2 + y2)dA
Rπ 2 cos θ
R
= 2
− π2 0
r 2 rdrdθ
Rπ 4
2 r 2 cos θ
= − π2 4 0
dθ
π
R
=4 2 4
cos θdθ
− π2
π
R
=8 2 4
cos θdθ
R0π 2
2 1+cos 2θ
=8 2 dθ
R0π
=2 [1 + 2 cos 2θ + 21 (1 + cos 4θ)]dθ
2
h0 iπ
= 2 32 θ + sin 2θ + 18 sin 4θ 02
= 2 23 π2
= 3π
2
Example 107 Let D be the solid region bounded above by the paraboloid z = 2 −
x2 − y 2 and below by the xy-plane. Find the volume V of D.
Figure 4.13: z = 2 − x2 − y 2
Example 108 Calculate area of the region R bounded by the cardioid r = 1 − cosθ.
Solution 59 "
A = dA
R 2πRR 1−cos θ
= 0 0
rdrd θ
R 2π 2
r 1−cos θ
= 2 0 dθ
R02π
1+2 cos θ+cos2 θ
= 0 2 dθ
= 32 π
Surface Area of a Parametrized Surface
If a smooth parametrized surface S is given by the equation
r(u, v) = x(u, v)i + y(u, v)j + z(u, v)k for (u, v) ∈ D
and S is covered just once as (u, v) ranges throughout the parameter domain D,
then the surface area of S is
"
kru xrv kdA
D
∂x ∂y ∂z ∂x ∂y ∂z
where ru = ∂u
i + ∂u j + ∂u k and ru = ∂v
i + ∂v j + ∂v k.
Example 109 Find the surface area of a sphere of radius a, where the surface is
parametrized by
x = asinφcosθ, y = asinφsinθ, z = acosφ
where the parametric domain is
D = {(φ, θ) | 0 ≤ φ ≤ π, 0 ≤ θ ≤ 2π
i j k
∂x ∂y ∂z
rφ × rθ = ∂φ ∂φ ∂φ
∂x ∂y ∂z
∂θ ∂θ ∂θ
= a2 sin2 φ cos θi +2 sin2 φ sin θj +2 sin2 φ cos φk
Thus
q
krφ × rθ k = a4 sin4 φ cosθ +a4 sin4 φ sin2 θ + a4 sin2 φ cos2 θ
q
= a4 sin4 φ + a4 sin2 φ cos2 φ
q
= a2 sin2 φ
= a2 sin φ
Since 0 ≤ φ ≤ π. Therefore, by the above definition, the area of the sphere is
!
S = D krφ × rθ kdA
R 2π R π
= 0 0 a2 sin φdφdθ
R 2π Rπ
= a2 0 dθ 0 sin φdφ
= a2 (2π)(2)
= 4πa2
Figure 4.15: z = 2 − x2 − y 2
Example 110 Find the surface area S of the portion of the paraboloid z = 2−x2 −y 2
that lies above the xy-plane.
Solution 61 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.
So,
! q
S = R (fx (x, y))2 + (fy (x, y))2 + 1dA
! p
= R (−2x)2 + (−2y)2 + 1dA
! p
= R 4x2 + 4y 2 + 1dA
R 2π R √2 √
= 0 0 4r 2 + 1rdrdθ, let u = 4r 2 + 1 V du = 8rdr
R9√
= 2π8 R 1 udu
π 9√
= 4 1 udu
3
= π6 u 2 91
= 13
3 π
p
Example 111 Find the surface area S of the frustum of the cone z = a x2 + y 2 with
minimum and maximum radii r1 and r2 , respectively ans assume a > 0.
Solution 62 The given surface lies over the region R in the xy plane bounded by
the annual
r12 ≤ x2 + y 2 ≤ r22
p
If f (x, y) = a x2 + y 2 , then
ay
fx (x, y) = √ ax and fy (x, y) = √ 2
x +y 2
2 x +y 2
! q
S = (f (x, y))2 + (fy (x, y))2 + 1dA
Rs x
!
!2 !
ax ay
= R √ + √ + 1dA
x2 +y 2 x2 +y 2
!
r
2 x2 a2 y 2
= R xa2 +y 2 + x2 +y 2 + 1dA
! √
= R a2 + 1dA
√ !
= a2 + 1dA R dA
√
= π a2 + 1(r22 − r12 )
since the area of the annuales R is π(r22 − r12 ).
Calculation of Mass
For a plane lamina, if the surface density at the point P (x, y) is ρ = f (x, y), then
the elementary mass at P is equal to ρdxdy. Therefore, the total mass of the
lamina is "
m= ρdxdy
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
"
m= ρrdrdθ.
Center of Gravity
To find the center of gravity (x, y) of a plane lamina, take the element of mass
ρdxdy at the point P (x, y), then
! !
1 1
x= m xρdxdy and y = m yρdxdy
Example 112 Find the mass and center of mass of a triangular lamina with vertex
(0, 0), (1, 0) and (0, 2) if the density function is ρ(x, y) = 1 + 3x + y.
Solution 63 The triangle is shown in the figure below. Note that the equation of
the upper boundary is y = 2 − 2x. The mass of the lamina is
!
m = D ρ(x, y)dA
R 1 R 2−2x
= 0 0 (1 + 3x + y)dydx
R1
= 0 y + 3xy + 12 y 2 02−2x dx
R1
= 0 (1 − x2 )dx
3
= 4 x − x3 10
= 83
Then !
1
x = m R DR xρ(x, y)da
3 1 2−2x
=8 0 0 (x + 3X 2 + xy)dydx
R1 y2
= 38 0 xy + 3X 2 y + x 2 2−2x 0 dydx
3 1
R
= 8 0 (x − x3 )dx
2 4
= 38 x2 − x4 10
= 83
!
1
y =m yρ(x, y)da
R DR
3 1 2−2x
=8 0 0 (y + 3Xy + y 2 )dydx
R 1 y2 y2 y3
= 38 0 2 + 3X 2 + 3 2−2x 0 dydx
R1
= 14 0 (7 − 9x − 3x2 + 5x3 )dx
2 4
= 41 7x − 9 x2 − x3 + 5 x4 10
= 1116
where K is some constant. Both the density functionp and the shape of the lamina
suggest that we convert to polar coordinates. Then x2 + y 2 = r and the region D is
given by 0 ≤ r ≤ a, 0 ≤ θ ≤ π. Thus the mass of the lamina is
!
m = D ρ(x, y)dxdy
! p
= D K x2 + y 2 dxdy
RπRa
= 0 0 (Kr)rdrdθ
Rπ Ra
= K 0 dθ 0 r 2 dr
3
= Kπ r3 a
0
3
= Kπa
3
Both the lamina and the density function are symmetric with respect to the y-axis,
so the center of mass lie on the y-axis; that is, x=0. The y-coordinate is given by
!
1
y =m yρ(x, y)dxdy
DR π R a
3
= Kπa3 0 0 r sin θ(Kr)rdrdθ
Rπ Ra
3 3
= Kπa 3 0 sin θdθ 0 r dr
π r4 a
3
= Kπa3 (− cos θ) 0 4 0
3 2a4
= Kπa3 4
3a
= 2π
Moment of Inertia
Let a particle of mass m of a body be at a distance r from a given line, then
mr 2 is called the moment of inertia of the particle about the given line and
P the
sum of similar expressions taken for all the particles of the body; that is, mr 2
is called the moment of inertial of the body about the given line. If m is the
total mass of the body and we write its moment of inertia is equal to mk 2 , then
k is called the radius of gyration of the body about the axis.
Moment of inertial of a plane lamina
Consider an elementary mass ρdxdy at the point P (x, y) of a plane area A so
that it’s Moment of inertial about x-axis is equal to ρy 2 dxdy. Therefore, Mo-
ment of inertial of the lamina about x-axis, Ix is given by
"
Ix = ρy 2 dxdy
Similarly, Moment of inertial of the lamina about the y-axis; that is, Iy is given
by "
Iy = ρx2 dxdy
Also Moment of inertial of the lamina about an axis perpendicular to the xy-
plane is "
Iz = ρ(x2 + y 2 )dxdy
is called the triple integral of f (x, y, z) over D. The limit exist if f is continu-
ous(sectionally continuous) in D.
Theorem 37 (Fubini’s Theorem for triple integral) Suppose that f (x, y, z) is con-
tinuous on the rectangular box B = {(x, y, z) | a ≤ x ≤ b, c ≤ y ≤ d, e ≤ z ≤ f , then
$ Z bZ dZ f
f (x, y, z)dv = f (x, y, z)dzdydx.
B a c e
Example 115 Let R be the rectangular region in the xy-plane bounded by the line
x = 61 , x = 1, y = 0 and y = π,!and let D be the parallelepipeds between the graph of
z=0 and z=2 on R. Evaluate D zx sin(xy)dv.
Solution 65
! R R
π 2
D
zx sin(xy)dv = int 11 0 0 (zx sin(xy))dz dy dx
R 1 6R π
= 1 0 21 z2 x sin(xy) 20 dy dx
R 61 R π
= 1 0 (2x sin(xy))dy dx
R 61
= 1 (2 cos(xy)) π 0 dx
R 61
= 1 (2 − 2 cos(πx))dx
6
= 2x − π2 sin(πx) 11
6
= 2 − 13 − π2 sin π6
= 2 − 13 − π1
= 53 + π1
Evaluation of triple integrals as they may some times be difficult or even im-
possible. In this case changing one coordinate system to another may facil-
itate the process. If (u,v,w) are curvilinear coordinates in three dimensions,
where G(u, v, w) = F(f (u, v, w), g(u, v, w), z = h(u, v, w)) and
∂x ∂x ∂x
∂u ∂v ∂w
∂(x, y, z) = ∂y ∂y ∂y
∂(u, v, w) ∂u ∂v ∂w
∂z ∂z ∂z
∂u ∂v ∂w
is the Jacobian of x,y and z with respect to u,v and w. The result of the triple
integral corresponds to change of variables for triple integrals.
R 2 R √4−x2 R 2
Example 116 Evaluate √ √ (x2 + y 2 )dzdydx.
−2 − 4−x2 x2 +y 2
√ √ p
Figure 4.20: E = {(x, y, y) | −2 ≤ x ≤ 2, − 4 − x2 ≤ y ≤ 4 − x2 , x2 + y 2 ≤ z ≤ 2}
Then the point P is said to have spherical coordinates r, θ and φ, and write P =
(ρ, θ, φ) as well as P = (x, y, z), where 0 ≤ r ≤ ∞, 0 ≤ θ ≤ 2π and 0 ≤ φ ≤ π. So,
x = rcosθ = rsinφcosθ, y = rsinθ = rsinφsinθ and z = rcosφ.
Example 118 Use spherical coordinates to find the volume of the solid that lies
√
above the cone z = x2 + y2 and below the sphere x2 + y2 + z2 = z.
Solution 68 Notice that the sphere passes through the origin and has center (0, 0, 12 ).
We write the equation of the sphere in spherical coordinates as
ρ2 = ρcosφ or ρcosφ
This gives sinφ = cosφ, or φ = π4 . Therefore the description of the solid E in spheri-
cal coordinates is
π
E = {(ρ, θ, φ) | 0 ≤ 2π, 0 ≤ , 0 ≤ ρ ≤ cosφ}
4
E is swept out if we integrate first respect to ρ, then φ and then θ. Then volume of
E is
$ Z 2π Z π Z cosφ
4
V (E) = dV = ρ2 sinφdρdφdθ
E 0 0 0
π
=
8
Example 119 Use triple integral to find the volume of the tetrahedron T bounded
by the planes x + 2y + z = 2, x = 2y, x = 0 and z = 0.
Solution 69 The tetrahedron T and its projection D on the xy-plane are shown in
the figure below. The lower boundary of T is the plane z = 0 and the upper boundary
is the plane x + 2y + z = 2, that is,z = 2 − x − 2y. Therefore we have
$
V (T ) = dv
T
Z 1Z 1− 2x Z 2−x−2y
= dzdydx
0 x 0
2
Z 1Z 1− 2x
= (2 − x − 2y)dydx
0 x
2
1
=
3
Calculation of Mass
For a solid, if the density at a point P (x, y, z) is ρ = f (x, y, z), then total mass of
the solid is $
m= ρdxdydz
Example 120 Find the center of mass of a solid of constant density that is bounded
by the parabolic cylinder x = y 2 and the planes x = z, z = 0 and x = 1.
Solution 70 The solid E and its projection on to the xy-plane are shown in the
figure below. The lower and upper surfaces of E are planes z = 0 and z = x, so we
described E as a type I region
E = {(x, y, z) | −1 ≤ y ≤ 1, y 2 ≤ x ≤ 1, 0 ≤ z ≤ x}
Because of the symmetry of E and r about the xy-plane, we can immediately say that
Iy = 0 and therefore y = 0. The other moments are
#
Ix = E xρdv
R1 R1 Rx
= −1 y 2 0 xρdzdxdy
4ρ
= 7
#
Iz = zρdv
R 1 ER 1 R x
= −1 y 2 0
zρdzdxdy
2ρ
= 7
Ix Iy Iz
!
5 5
(x, y, z) = , , = , 0,
m m m 7 14
Example 121 Use a 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 71 The solid D and its projection R on the xy-plane. 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
#
V = D dv
! R 4−y
= R 0 dz dA
!
= R (4 − y)dA
R 2π R 4
= 0 0 (4 − r sin θ)rdrdθ, by using cylindrical coordinate
R 2π R 4
= 0 (4r − r 2 sin θ)rdr dθ
0
R 2π 3
= 0 2r 2 − r3 sin θ 40 dθ
R 2π
= 0 32 − 64 3 sin θ dθ
2π
= 32θ + 64 3 cos θ 0
= 64π
Example 122 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 72 The region R of the solid bounded in the xy-plane. The line y = 2 − x
Example 123 Let D be the solid region bounded by the circular paraboloids
# z=
3 − x2 − y 2 and z = −5 + x2 + y 2 for which x ≥ 0 and y ≥ 0. Evaluate ydv.
3 − x2 − y 2 = −5 + x2 + y 2
V x2 + y 2 = 4
= 128
15
R3R1
Exercise 6 1. Evaluate the iterated integral 1 0
(1 + 4xy)dxdy.
Ans. 10
! xy 2
2. Evaluate the double integral R x2 +1
dA, R = {(x, y)|0 ≤ x ≤ 1, −3 ≤ y ≤ 3}.
Ans. 9 ln 2
3. Find the volume of the solid that lies under the plane 3x + 2y + z = 12 and
above the rectangle R = {(x, y)|0 ≤ x ≤ 1, −2 ≤ y ≤ 3}.
Ans. 47.5
x2 y2
4. Find the volume of the solid lying under the elliptic paraboloid 4 + 9 +z = 1
and above the rectangle R = [−1, 1] × [−2, 2].
166
Ans. 27
!
5. Evaluate the double integral D
x cos ydA, D is bounded by y = 0, y = x2 ,
x = 1.
Ans. 12 (1 − cos 1
6. Find the volume of the solid under the surface z = xy and above the triangle
with vertex (1,1), (4,1), and (1,2).
Ans. 6
R1R3 2
7. Evaluate the integral 0 3y
ex dxdy.
Ans. 16 (e9 − 1)
! 2 2
8. Evaluate the integral R e−x −y dA, where D is the region bounded by the
p
semi circle x = 4 − y 2 and y-axis by changing to polar coordinate.
π −4
Ans. 2 (1 − e )
p
9. Find the volume of of the solid above the cone z = x2 + y 2 and below the
sphere x2 + y 2 + z2 = 1.
2π
Ans. 3 1 − √1
2
15
Ans. 16
11. Find the mass and center of mass of the lamina that occupies the region D and
has the density ρ(x, y) = x + y, where D is the triangular region with vertices
(0,0), (2,1), (0,3).
Ans. 6, 43 , 32
#
12. Evaluate the triple integral E 6xydV , where E lies under the plane z = 1+x+
√
y and above the region in the xy-plane bounded by the curves y = x, y = 0,
and x = 1.
65
Ans. 28
#
13. Evaluate the triple integral E xdV , where E bounded by the paraboloid x =
4y 2 + 4z2 and the plane x = 4.
16π
Ans. 3
14. Express the volume of the wedge in the first octant that is cut from the cylinder
y 2 + z2 = 1 by the planes y = x and x = 1 as a triple integral.
R x R x R √1−x2
Ans. 0 0 0 dzdydx
15. Find the mass and center of mass of the solid E with the density ρ(x, y, z) =
x2 + y 2 + z2 , where E is the cube given by 0 ≤ x 5 a, 0 ≤ y ≤ a, 0 ≤ z ≤ a.
7a 7a 7a
Ans. a5 , 12 , 12 , 12
# p
16. Evaluate E x2 + y 2 dV by using cylindrical coordinate, where E is the re-
gion that lies inside the cylinder x2 + y 2 = 16 and between the planes z = −5
and z = 4.
384π
Ans. 17
#
17. Evaluate E x2 dV by using cylindrical coordinate, where E is the solid that
lies within the cylinder x2 +y 2 = 1, above the planes z = 0, and below the cone
z2 = 4x2 + 4y 2 .
2π
Ans. 5
#
18. Evaluate B (x2 + y 2 + z2 )dV by using spherical coordinate, where B is the
ball with center the origin and radius 5.
2π
Ans. 5
!
19. Use the given transformation to evaluate the integral R x2 dA, where R is the
region bounded by the ellipse 9x2 + 4y 2 = 36; x = 2u, y = 3v.
Ans. 6π
! y−x
20. Evaluate R cos y+x dA by appropriate change of variables, where R is the
trapezoidal region with vertex (1,0), (2,0), (0,2), (0,1).
3
Ans. 2 sin 1