Math2471 Calculus 3 Lecture Notes
Math2471 Calculus 3 Lecture Notes
net/publication/374730268
CITATIONS READS
0 297
1 author:
Weijiu Liu
University of Central Arkansas
101 PUBLICATIONS 2,361 CITATIONS
SEE PROFILE
All content following this page was uploaded by Weijiu Liu on 15 October 2023.
The notes will be updated from time to time. Although I tried hard to make the text error-free,
there are certainly still a number of errors and mistakes of different types. If you find any errors,
please let me know. Thanks.
Weijiu Liu
Department of Mathematics
University of Central Arkansas
201 Donaghey Avenue, Conway, AR 72035, USA
2
Contents
i
ii CONTENTS
• Do Exercise 11.5, problems 5, 7, 9, 11, 15, 17, 19, 21, 25, 29, from the textbook.
• Outline
• Problem. Suppose a line passes through the point P0 (x0 , y0 , z0 ) and is parallel to a given vector v = ha, b, ci.
Find the equation of the line.
P(x, y, z)
v
P0 (x0 , y0 , z0 )
and
hx − x0 , y − y0 , z − z0 i = hat, bt, cti
3
4 CHAPTER 1. CHAPTER 11 VECTORS AND THE GEOMETRY OF SPACE
• Example. Find the equation of the line through two points (1, 2, −3) and (4, −5, 6). Then find the intersection
point of the line with xy-plane.
Solution. We have
a = 4 − 1 = 3, b = −5 − 2 = −7, c = 6 − (−3) = 9,
x0 = 1, y0 = 2, z0 = −3
So the parametric line equations are
x = 1 + 3t, y = 2 − 7t, z = −3 + 9t.
v = h−5, 5, 1i
x = 1 − 2t, y = 3, z = −1 + t.
v = h−2, 0, 1i
• Example. Find the equation of the line through the point (-1, 0,0) and parallel to the line
x−1 y
= = z − 2.
−5 5
Solution. We have
a = −5, b = 5, c = 1,
x0 = −1, y0 = 0, z0 = 0
So the parametric line equations are
x = −1 − 5t, y = 5t, z = t.
1.1. LECTURE 1: LINE EQUATIONS 5
a×b
v
a = ha1 , a2 , a3 i = a1 i + a2 j + a3 k
b = hb1 , b2 , b3 i = b1 i + b2 j + b3 k,
• Example. Find the equation of the line through the point(3, 1,1) and perpendicular to both h1, 3, 1i and h0, 2, −1i.
Solution. We first have
x0 = 3, y0 = 1, z0 = 1
Since the cross product of h1, 3, 1i and h0, 2, −1i is perpendicular to them, the directional vector of the line is
given by their cross product:
x = 3 − 5t, y = 1 + t, z = 1 + 2t.
• Test for parallel lines. Two lines are parallel if and only if their direction vectors are parallel.
• Example. Show that two lines
L1 : x = −6t, y = 1 + 9t, z = −3t
L2 : x = 1 + 2s, y = 4 − 3s, z = s
are parallel.
Solution. The direction vector of L1 is
v1 = h−6, 9, −3i
The direction vector of L2 is
v2 = h2, −3, 1i
Because v1 = −3v2 , they are parallel.
6 CHAPTER 1. CHAPTER 11 VECTORS AND THE GEOMETRY OF SPACE
• Exercise 1. Find the equation of the line through the point (4, 0 -3) and parallel to the vector v = 2i − 4j.
Answer key:
x = 4 + 2t, y = −4t, z = −3.
• Exercise 2. Find the equation of the line through the point(-1, 0,0) and parallel to the line
x+1 y
= = z − 2.
−2 3
Answer key:
x = −1 − 2t, y = 3t, z = t.
• Do Exercise 11.5, problems 37, 39, 41, 43, 45, 49, 51, 53, 55, 61, 65, 69, 79, 83 from the textbook.
• Outline
1. Plane equation
2. Parallel and Orthogonal Planes
3. Examples
• Problem. Suppose a plane passes through the point P0 (x0 , y0 , z0 ) and is perpendicular to a given vector n =
ha, b, ci. Find the equation of the plane.
P(x, y, z)
P0 (x0 , y0 , z0 )
and
ha, b, ci · hx − x0 , y − y0 , z − z0 i = 0
• Plane equation:
• Example. Find an equation of the plane passing through P0 (2, −1, 3) with a normal vector n = h−1, 3, 2i.
Solution. We have
a = −1, b = 3, c = 2,
x0 = 2, y0 = −1, z0 = 3
So the equation of the plane is
−(x − 2) + 3(y + 1) + 2(z − 3) = 0.
• Review of Cross product.
a×b
• Example. Find the equation of the plane that passes through the points P1 (1, −2, 1), P2 (2, −1, 0) and P3 (3, −2, 2).
−−→ −−→
n = P1 P2 × P1 P3
P3 (3, −2, 2)
P2 (2, −1, 0)
P1 (1, −2, 1)
we have
i j k
−−→ −−→
n = P1 P2 × P1 P3 = 1 1 −1
2 0 1
1 −1 1 −1 1 1
= i− j+ k = i − 3j − 2k
0 1 2 1 2 0
8 CHAPTER 1. CHAPTER 11 VECTORS AND THE GEOMETRY OF SPACE
Line
P(x, y, z)
Solution. Since the intersection point is on the plane, the coordinate of the point must satisfy the plane
equation. So we plug the line equations into the plane equation to obtain
1 + 3t + 2(1 − 2t) + 3(2 − 3t) = 6
n2
Plane 2
n1
Plane 1
• Orthogonal Planes. Two distinct planes are orthogonal if their respective normal vectors are orthogonal.
• Example. Determine whether the following two planes are parallel:
x + 2y + 3z = 12, 2x + 4y + 6z = 9
Since n2 = h2, 4, 6i = 2h1, 2, 3i = 2n1 , these two normal vectors are parallel and so the two planes are parallel.
1.2. LECTURE 2: PLANE EQUATIONS 9
n1
n2
Plane 2
Plane 1
x + 2y + z = 12, x + 2y − 5z = 9
Since n1 · n2 = h1, 2, 1i · h1, 2, −5i = 0, these two normal vectors are orthorgonal and so the two planes are
orthorgonal.
• Example. Find the equation of the plane that passes through the point (3 , -2, 1) and parallel to the plane
x + 3y − 4z = 2.
P0 (3, −2, 1)
Plane x + 3y − 4z = 2
n = h1, 3, −4i
• Example. Find the equation of the plane that passes through the point (3, 0, −1) and perpendicular to the line
x = 1 + t, y = 2t, z = 4 − 5t.
Solution. We first have
x0 = 3, y0 = 0, z0 = −1
10 CHAPTER 1. CHAPTER 11 VECTORS AND THE GEOMETRY OF SPACE
Line
P0 (3, 0, −1)
Since the plane is perpendicular to the line, we can use the directional vector of the line as the normal vector of
the plane. So
n = h1, 2, −5i
. Then the plane equation is
(x − 3) + 2y − 5(z + 1) = 0.
• Example. Find the equation of the line of intersection of the planes x + 2y + z = 4 and x − 2y + 3z = 2.
x − 2y + 3z = 2
x + 2y + z = 4
x + 2y + z = 4
x − 2y + 3z = 2
We then solve the system for x and y. Solving the first equation for x and then plugging into the second equation, we
obtain
4 − 2y − z − 2y + 3z = 2
Solving the equation for y, we obtain
1 1
y= + z
2 2
Plugging the solution into one of the equations in the system, we obtain
x = 3 − 2z
Then the parametric equations of the line of intersection of the planes x + 2y + z = 4 and x − 2y + 3z = 2 are
1 1
x = 3 − 2t, y= + t, z = t.
2 2
• Angle between two planes. For two planes that intersect, we define the angle between them to be the angle
between their normal vectors (0 ≤ θ ≤ π/2) as shown in the figure:
1.3. LECTURE 3: CYLINDERS AND QUADRIC SURFACES 11
n1
n2
θ
θ
So if two planes are perpendicular, then θ = π/2 and if they are parallel, then we can say the angle does not
exist.
Then plot these three points on the axes and connect them with line segments as shown in the figure.
z
(0, 0, 2)
(0, 3, 0)
y
(6, 0, 0)
x
• Self-test 1. Find the equation of the plane that passes through the point (0 , -2, 4) and is perpendicular to the
vector n = 2i − 4j + 3k
Answer key:
2x − 4(y + 2) + 3(z − 4) = 0
• Self-test 2: Find the equation of the plane that passes through the points (−1, 1, 1), (0, −1, 2) and (3, −1, −2).
Answer key:
8(x + 1) + 7(y − 1) + 6(z − 1) = 0
z
l
• Cylinder. Given a curve C in a plane P and a line l not in P, a cylinder is the surface consisting of all lines
parallel to l that pass through C.
2 2
• Sketch the ellipsoid: x2 + y9 + z4 = 1
x2 2
• Sketch the hyperboloid of one sheet: 4 + y2 − z4 = 1
z
y2 2
Trace on x = 0 : 9 + z4 = 1
2 y
Trace on z = 0 : x2 + y9 = 1
x
2
Trace on y = 0 : x2 + z4 = 1
1. Find the equation of the plane that passes through the point P0 (0, 2, −3) with a normal vector n = h1, −1, −2i.
2. Find the equation of the plane that passes through the points (1, 0, 3), (0, 4, 2) and (1, 1, 1).
3. Find an equation of the plane that passes through the point P0 (1, −2, 3) and contains the line l : r = ht, −t, 2ti
Group 2:
1. Find the equation of the plane that passes through the point P0 (1, 0, −3) with a normal vector n = h3, −1, 4i.
2. Find the equation of the plane that passes through the points (−1, 1, 1), (0, 0, 2) and (3, −1, 1).
3. Find an equation of the line passing through P0 (2, 1, 3) and normal to the plane P : 2x − 4y + z = 10.
14 CHAPTER 1. CHAPTER 11 VECTORS AND THE GEOMETRY OF SPACE
z
Trace on z = 1 : 4x2 + y2 = 1
Trace on y = 0 : z = 4x2
y
Trace on x = 0 : z = y2
x
x2
Trace on z = 2z : 4 + y2 = 2
2
Trace on y = 0 : x2 − z4 = 1 y
x2
Trace on z = 0 : 4 + y2 = 1
x2
Trace on z = −2 : 4 + y2 = 2
Group 3:
1. Find the equation of the plane that passes through the point P0 (2, 3, 0) with a normal vector n = h1, 2, −4i.
2. Find the equation of the plane that passes through the points (2, −1, 4), (1, 0, 2) and (−3, 1, 1).
3. Find an equation of the plane passing through (0, −2, 4) that is orthogonal to the planes 2x + 5y − 3z = 0 and
−x + 5y + 2z = 8.
Group 4:
1. Find the equation of the plane that passes through the point P0 (1, 4, −3) with a normal vector n = h−1, 4, −6i.
2. Find the equation of the plane that passes through the points (5, −1, 4), (1, −3, 2) and (−3, 2, 1).
3. Find an equation of the plane passing through (0, −2, 4) that is parallel to the vectors h1, 0, 1i and h3, −2, 0i.
1.4. PROBLEM SET 1 15
Surface of z= x2−y2
20
10
0
z
−10
−20
5
5
0
0
y −5 −5
x
4. Find the equation of the line of intersection of the planes x − y + 2z = 1 and x + y + z = −1.
Answer Key
Although I tried hard to make sure that the answers are correct, there may be still a number of
errors and mistakes. If you find any errors, please let me know.
Group 1:
1. Find the equation of the plane that passes through the point P0 (0, 2, −3) with a normal vector
n = h1, −1, −2i.
x − (y − 2) − 2(z + 3) = 0.
2. Find the equation of the plane that passes through the points (1, 0, 3), (0, 4, 2) and (1, 1, 1).
7(x − 1) + 2y + (z − 3) = 0.
3. Find an equation of the plane that passes through the point P0 (1, −2, 3) and contains the line
l : r = ht, −t, 2ti
−(x − 1) + (y + 2) + (z − 3) = 0
1 1
x = − (1 + t), y = (1 − 2t), z = t.
3 3
2
2. Sketch the surface: 4x2 + y2 + z4 = 1.
16 CHAPTER 1. CHAPTER 11 VECTORS AND THE GEOMETRY OF SPACE
Trace on z = 1 : 4x2 + y2 = 1
y
Trace on x = 0 : z = ±y
x
Trace on z = −1 : 4x2 + y2 = 1
0
z
−1
−2
1
0.5
0
0
y −1 −0.5
x
Group 2:
1. Find the equation of the plane that passes through the point P0 (1, 0, −3) with a normal vector
n = h3, −1, 4i.
3(x − 1) − y + 4(z + 3) = 0.
2. Find the equation of the plane that passes through the points (−1, 1, 1), (0, 0, 2) and (3, −1, 1).
3. Find an equation of the line passing through P0 (2, 1, 3) and normal to the plane P : 2x − 4y +
z = 10.
x = 2 + 2t, y = 1 − 4t, z = 3 + t.
x = 1 − 3t, y = 2t, z = t.
Group 3:
1.4. PROBLEM SET 1 17
2 2
Skecth of the surface: x = y +z
z
−1
−2
2
4
0
2
y −2 0
x
1. Find the equation of the plane that passes through the point P0 (2, 3, 0) with a normal vector
n = h1, 2, −4i.
x − 2 + 2(y − 3) − 4z = 0
2. Find the equation of the plane that passes through the points (2, −1, 4), (1, 0, 2) and (−3, 1, 1).
x − 2 + 7(y + 1) + 3(z − 4) = 0
3. Find an equation of the plane passing through (0, −2, 4) that is orthogonal to the planes 2x +
5y − 3z = 0 and −x + 5y + 2z = 8.
25x − (y + 2) + 15(z − 4) = 0
17 1
x=− − 2t, y= − t, z = t.
5 5
2
2. Sketch the surface: x2 + y4 = z2 .
0.5
0
z
−0.5
−1
2
1
0
0
y −2 −1
x
Group 4:
18 CHAPTER 1. CHAPTER 11 VECTORS AND THE GEOMETRY OF SPACE
1. Find the equation of the plane that passes through the point P0 (1, 4, −3) with a normal vector
n = h−1, 4, −6i.
−(x − 1) + 4(y − 4) − 6(z + 3) = 0
2. Find the equation of the plane that passes through the points (5, −1, 4), (1, −3, 2) and (−3, 2, 1).
2x + 3(y + 2) − 2(z − 4) = 0.
1. Find the equation of the line of intersection of the planes x − y + 2z = 1 and x + y + z = −1.
3 1
x = − t, y = −1 + t, z = t.
2 2
2. Sketch the surface: z = x2 − y2 .
Skecth of the surface: z = x2 − y2
0.5
0
z
−0.5
−1
2
2
0
0
y −2 −2
x
Chapter 2
r(t2 )
r(t1 )
r(t0 )
19
20 CHAPTER 2. CHAPTER 12 VECTOR-VALUED FUNCTIONS
• Example. Line:
r(t) = (1 + 2t)i + (2 − 3t)j + 5tk.
It is equivalent to the parametric equations:
x = 1 + 2t, y = 2 − 3t, z = 5t
So it is a line.
4
z
2
2
0 0
0
1
2 y
x 3 −2
0
y
−1
−2
−2 −1 0 1 2
x
• Example. Helix:
10
z
5
2
0 0
−2
−1
0 y
1
x 2 −2
• Example. Curve:
r(t) = ht,t sint,t costi
This is complex and we have to use a calculator to plot it:
20
0
z
10
0 0
5
10 −10 y
15
x
So the domain is
[−2, 2]
• Example. For the vector-valued function
r(t) = sin 2ti + 2 cos 2tj − 2tk
evaluate r(0), r(π/2) and r(π + ∆t) − r(π).
Solution
r(0) = sin 2(0)i + 2 cos 2(0)j − 2(0)k = 2j
r(π/2) = sin 2(π/2)i + 2 cos 2(π/2)j − 2(π/2)k
= −2j − πk
r(π + ∆t) − r(π) = sin 2(π + ∆t)i + 2 cos 2(π + ∆t)j − 2(π + ∆t)k
− (sin 2(π))i + 2 cos 2(π))j − 2(π))k)
= sin 2∆ti + 2 cos 2∆tj − 2(π + ∆t)k − (2j − 2πk)
= sin 2∆ti + 2[cos 2∆t − 1]j − ∆tk
• Example. Find a vector equation for the line segment that joins the point P(−1, −2, 1) and
the point Q(1, 3, 4).
r1
z
r(t) Q(1, 3, 4)
r0
P(−1, −2, 1)
Solution Since the vector equation and parametric equations are equivalent and the parametric
equations are easier, we first find the parametric equations. The directional vector is
−→
PQ = h1 − (−1), 3 − (−2), 4 − 1i = h2, 5, 3i
So the parametric equations are:
x = −1 + 2t, y = −2 + 5t, z = 1 + 3t, 0≤t ≤1
• Example. Let
1 1
r(t) = sinti + j+ k.
t −2 t −1
Find lim r(t) and determine the discontinuous points.
t→π
We have
1 1
lim r(t) = lim sinti + lim j + lim k
t→π t→π t→π t − 2 t→π t − 1
1 1
= sin πi + j+ k
π −2 π −1
1 1
= j+ k
π −2 π −1
The vector function is discontinuous at t = 1 and 2.
• Exercise 1. Sketch the curves:
r(t) = t 2 i + tj + 3k
r(t) = h1 + t, 3t, −ti
• Exercise 2. Find a vector equation for the line segment that joins the point P(1, 0, 1) and the
point Q(2, 3, 1).
Answer key. r(t) = h1 + t, 3t, 1i, 0 ≤ t ≤ 1
• Exercise 3. Let
et − 1
r(t) = h , ln(1 + t), cos(2t)i.
t
Find its domain and lim r(t) and determine the discontinuous points.
t→0
Answer key. Domain: t > −1 and t 6= 0; lim r(t) = h1, 0, 1i; Continuous in its domain.
t→0
r(t) r0 (t)
r(t + h)
∆r(t)
• Geometric meaning of r0 (t): Tangent vector to the curve. The unit tangent vector is
r0 (t)
T(t) =
|r0 (t)|
• Theorem:
r0 (t) = f 0 (t)i + g0 (t)j + h0 (t)k = h f 0 (t), g0 (t), h0 (t)i.
• Example. Let
r(t) = costi + sintj + tk.
1. Find r0 (t).
r0 (t) = − sinti + costj + k.
2. Sketch the tangent vector r0 (π/2)
5
z
0 0
−2
−1
0 y
1
x 2 −2
2.2. LECTURE 5: DERIVATIVES AND INTEGRALS OF VECTOR FUNCTIONS 25
3 Find the equations for the tangent line to the curve at t = π/2.
The tangent point is given by
r(π/2) = cos(π/2)i + sin(π/2)j + (π/2)k = j + (π/2)k.
So the equations for the tangent line to the curve at t = π/2 are
π
x = −t, y = 1, z = + t
2
• Derivative rules:
d 0 0
1. dt [u(t) + v(t)] = u (t) + v (t)
d 0
2. dt [cu(t)] = cu (t)
d 0 0
3. dt [ f (t)u(t)] = f (t)u(t) + f (t)u (t)
d 0 0
4. dt [u(t) · v(t)] = u (t) · v(t) + u(t) · v (t)
d 0 0
5. dt [u(t) × v(t)] = u (t) × v(t) + u(t) × v (t)
d 0 0
6. dt [u( f (t))] = f (t)u ( f (t))
• Theorem. kr(t)k = constant if and only if r(t) and r0 (t) are orthogonal.
• Example. Consider the unit circle:
r(t) = costi + sintj
We have p
kr(t)k = cos2 t + sin2 t = 1
The derivative is
r0 (t) = − sinti + costj
Since
r(t) · r0 (t) = − cost sint + sint cost = 0
they are orthogonal.
• R(t) is an antiderivative of r(t) if
R0 (t) = r(t).
• Indefinite Integral: Z
r(t)dt = R(t) + C.
Z Z Z Z
r(t)dt = f (t)dti + g(t)dtj + h(t)dtk.
• Definite integral:
Z b Z b Z b Z b
r(t)dt = f (t)dti + g(t)dtj + h(t)dtk.
a a a a
Z b
r(t)dt = R(b) − R(a) = R(t)|ba .
a
26 CHAPTER 2. CHAPTER 12 VECTOR-VALUED FUNCTIONS
• Example. Let
r(t) = sinti + costj + 2tk.
R π/2
Evaluate 0 r(t)dt.
We have
Z π/2 Z π/2 Z π/2 Z π/2
r(t)dt = sintdti + costdtj + 2tdtk
0 0 0 0
= − cost|0 i + sint|0 j + t 2 |0 k
π/2 π/2 π/2
π2
= i+j+ k
4
e0 j + C = r(0) = i + 2j + 3k
So
C = i + j + 3k
and then
r(t) = t 2 i + et j + t 3 dtk + C = (t 2 + 1)i + (et + 1)j + (t 3 + 3)k
• Exercise 1. Let
r(t) = costi + 2 sintj.
1. Find r0 (t).
2. Sketch the tangent vector r0 (π/4)
3. Find the parametric equations for the tangent line to the curve at t = π/4.
Answer key. r0 (t) = − sinti + 2 costj. The parametric equations for the tangent line are
√ √
2 2 √ √
x= − t, y = 2 + 2t
2 2
• Do Exercise 12.5, problems 3, 5, 7, 9, 11, 13, 15, 19, 21, 23, 25, 27, 35, 39, 41, 43, 47, from
the textbook.
• Outline
1. Arc length
2. Unit tangent vector
3. Curvature
• So
ds
= kr0 (t)k
dt
r(t) = i + t 2 j + t 3 k
from t = 0 to t = 2.
Since
x0 = 0, y0 = 2t, z0 = 3t 2
28 CHAPTER 2. CHAPTER 12 VECTOR-VALUED FUNCTIONS
z
4
0
2
0.9 1 y
1.1
x 1.2 0
from t = 0 to t = 2π.
Since
x0 = − sint, y0 = cost, z0 = 1
the arc length is
Z 2π q
s = [x0 (t)]2 + [y0 (t)]2 + [z0 (t)]2 dt
0
Z 2π q
= [− sint]2 + [cost]2 + [1]2 dt
0
√ Z 2π
= 2 dt
√ 0
= 2 2π
2.3. LECTURE 6: ARC LENGTH AND CURVATURE 29
z
1
0 0.5
−1 0
−0.5 0
0.5 −0.5 y
1 −1
x
t = t(s).
x0 = − sint, y0 = cost, z0 = 1
So
s
t=√
2
Plugging this equation into the helix vector equation, we obtain the vector equation with the arc
length as the parameter:
s s s
r(s) = cos √ i + sin √ j + √ k
2 2 2
30 CHAPTER 2. CHAPTER 12 VECTOR-VALUED FUNCTIONS
T3
T3
T1
T2 T1 T2
It is defined by
dT
dT dt kT0 (t)k kr0 (t) × r00 (t)k
K= = = = .
ds ds
dt
kr0 (t)k kr0 (t)k3
Since
r00 (t) = 0
we have K = 0. So the line does not bend at all.
• Examples. Find the curvature of a circle:
r(t) = R costi + R sintj
We have
r0 (t) = −R sinti + R costj
and
r00 (t) = −R costi − R sintj
Then
i j k
r0 (t) × r00 (t) = −R sint R cost 0
−R cost −R sint 0
R cost 0 −R sint 0
= i− j
−R sint 0 −R cost 0
−R sint R cost
+ k
−R cost −R sint
= R2 k
2.3. LECTURE 6: ARC LENGTH AND CURVATURE 31
So the curvature is
kr0 (t) × r00 (t)k kR2 kk R2 1
K= = = = .
kr0 (t)k3 k − R sinti + R costjk3 R3 R
So the smaller a circle, the more sharply it bends.
• Example: Find the curvature of the helix
r(t) = costi + sintj + tk.
We have
r0 (t) = − sinti + costj + k
and
r00 (t) = − costi − sintj
Then
i j k
0 00
r (t) × r (t) = − sint cost 1
− cost − sint 0
cost 1 − sint 1
= i− j
− sint 0 − cost 0
− sint cost
+ k
− cost − sint
= sinti − costj + k
So the curvature is
√
kr0 (t) × r00 (t)k k sinti − costj + kk 2 1
K= 0 3
= 3
= √ = .
kr (t)k k − sinti + costj + kk ( 2) 3 2
| f 00 (x)|
K=
[1 + ( f 0 (x))2 ]3/2
• Find the curvature of y = sin x.
1
0.5
−0.5
−1
−2 0 2
We have
y0 = cos x, y00 = − sin x
So
| f 00 (x)| | − sin x|
K(x) = = ≤1
[1 + ( f 0 (x))2 ]3/2 [1 + (cos x)2 ]3/2
32 CHAPTER 2. CHAPTER 12 VECTOR-VALUED FUNCTIONS
When x = 0, we have K(0) = 0. So the since wave is straight at the origin. When x = π/2,
we have K(π/2) = 1. So the curvature reaches its maximum at x = π/2 and then the since
wave bends most sharply at the wave maximum point.
• Exercise 1. Find the arc length of the curve given by
r(t) = ti + t 2 j
from t = 0 to t = 1.
Answer key: √ √
s = ln( 5 + 2)/4 + 5/2.
4. Find the unit tangent vector T(t) of the curve r(t) = ht 3 + 3t,t 2 + 1, 3t + 4i, t = 1 and then
find the parametric equations for the tangent line to the curve at the point with t = 1.
5. Sketch the curve and then find its length over the given interval:
r(t) = −ti + 4tj + 3tk, 0 ≤ t ≤ 1.
Group 2:
1. Find the limit
2 1
lim (ti + costj + sintk) , lim 3t, 2 ,
t→π t→2 t −1 t
2. Sketch the plane curve
r(t) = (1 + t)i + t 3 j
Find and sketch the derivative r0 (t) at t = 1.
3. Evaluate the integrals
Z Z 2
1
i + j − 2tk dt, t, et ,tet dt
t 0
2.4. PROBLEM SET 2 33
4. Find the parametric equations for the tangent line to the parametric curve
2
x = et , y = tet , z = tet
at the point (1, 0, 0).
5. Sketch the curve and then find its length over the given interval:
r(t) = i + t 2 j + t 3 k, 0 ≤ t ≤ 2.
Group 3:
1. Find the limit if it exists
√ lnt
2 1 − cost 1
lim t i + 3tj + k , lim t, 2 ,
t→0 t t→1 t −1 t −1
t
4. Find the point on the√ curve r(t) = h2 cost, 2 sint, e i, 0 ≤ t ≤ π, where the tangent line is
parallel to the plane 3x + y = 1.
5. Sketch the curve and then find its length over the given interval:
r(t) = h4t, − cost, sinti , 0 ≤ t ≤ 3π/2.
Group 4:
1. Find the limit if it exists
t sint −t −t 1 1/t
lim e i + j+e k , lim e , ,t
t→0 t t→∞ t
4. Find a vector equation for the tangent line to the curve of intersection of the cylinders x2 +
y2 = 25 and y2 + z2 = 20 at the point (3, 4, 2).
34 CHAPTER 2. CHAPTER 12 VECTOR-VALUED FUNCTIONS
5. Sketch the curve and then find its length over the given interval:
Group 1:
t2 − t √
sin πt
lim i + t + 8j + k
t→1 t − 1 lnt
t2 − t √ sin πt
= lim i + lim t + 8j + lim k
t→1 t − 1 t→1 t→1 lnt
π cos πt
= lim ti + 3j + lim k
t→1 t→1 1/t
= i + 3j − πk.
3
−t t + t 1
lim te , 3 ,t sin
t→∞ 2t − 1 t
3
t +t 1
−t
= lim te , lim 3 , lim t sin
t→∞ t→∞ 2t − 1 t→∞ t
* +
t 3t 2 + 1 sin 1t
= lim t , lim , lim
t→∞ e t→∞ 6t 2 t→∞ 1/t
1 1
= lim t , , 1
t→∞ e 2
1
= 0, , 1
2
1. Sketch the plane curve
r(t) = (1 + cost)i + (2 + sint)j
Find and sketch the derivative r0 (t) at t = π/2.
2.5
y
1.5
0.5
−0.5 0 0.5 1 1.5 2 2.5
x
Z 1 Z 1 Z 1
4 2t 4 2t
2
i+ 2
j dt = 2
dti + 2
dtj
0 1+t 1+t 0 1+t 0 1+t
1
= 4 arctant|10 i + ln(1 + t 2 ) 0 j
= πi + ln 2j.
Z Z
1 1 1 1
Z Z
2t 2t
e , ,√ dt = e dt, √ dt,dt
1 − t 1 − t2 11−t
− t 2
1 2t
= e , − ln |1 − t|, arcsint + C.
2
1. Find the unit tangent vector T(t) of the curve r(t) = ht 3 + 3t,t 2 + 1, 3t + 4i, t = 1 and then
find the parametric equations for the tangent line to the curve at the point with t = 1.
10
8
6
z
4
2
4
10
2 5
0
y x
1
T(1) = √ h6, 2, 3i
94
r(1) = h4, 2, 7i
So the parametric equations for the tangent line to the curve at the point with t = 1 are
1. Sketch the curve and then find its length over the given interval:
2
z
4
0.5
2 0
−0.5
0 −1
y −1.5
x
r0 (t) = −i + 4j + 3k, 0 ≤ t ≤ 1.
Z 1
0
Z 1q √
s= kr (t)kdt = (−1)2 + 42 + 32 dt = 26.
0 0
Group 2:
2 1 2 1
lim 3t, 2
, = lim 3t, lim 2 , lim
t→2 t −1 t t→2 t→2 t − 1 t→2 t
2 1
= 6, , .
3 2
2.4. PROBLEM SET 2 37
3
Curve: r(t) = <1+t,t >
8
y
2
0
0.5 1 1.5 2 2.5 3 3.5
x
r0 (t) = i + 3t 2 j
r0 (1) = i + 3j
1. Evaluate the integrals
Z Z 2
1
i + j − 2tk dt, t, et ,tet dt
t 0
Z
1 1
Z Z Z
i + j − 2tk dt = dti + dtj − 2tdtk
t t
= ln |t|i + tj − t 2 k + C
Z 2 Z 2 Z 2 Z 2
t t t t
t, e ,te dt = tdt, e dt, te dt
0 0 0 0
= 2, e2 − 1, e + 1 . 2
1. Find the parametric equations for the tangent line to the parametric curve
2
x = et , y = tet , z = tet
at the point (1, 0, 0).
The vector form of the parametric curve is
2
r(t) = het ,tet ,tet i
Then 2
r0 (t) = het , (1 + t)et , (1 + 2t 2 )et i
38 CHAPTER 2. CHAPTER 12 VECTOR-VALUED FUNCTIONS
2
Curve: r(t) = <et, tet, tet >
z
−2
3
2 3
1 2
0 1
0
y x
4
z
4
1.5
2
1
0
y 0.5
x
r0 (t) = 2tj + 3t 2 k, 0 ≤ t ≤ 2.
So
Z 2
s = kr0 (t)kdt
0
Z 2p
= 4t 2 + 9t 4 dt
0
Z 2 p
= t 4 + 9t 2 dt
0
8 3/2
= 10 − 1 .
27
Group 3:
2.4. PROBLEM SET 2 39
2 1 − cost 1 − cost
lim t i + 3tj + k = lim t 2 i + lim 3tj + lim k
t→0 t t→0 t→0 t→0 t
= lim sintk
t→0
= 0.
Because
1
lim
t→1 t − 1
does not exist, the limit
√ lnt
1
lim t, 2 ,
t→1 t −1 t −1
does not exist.
1. Sketch the plane curve
r(t) = 2 costi + 2 sintj + tk
Find and sketch the derivative r0 (t) at t = 3π/2.
Curve: r(t) = <2cos t, 2sin t, t>
10
z
0
2
2
0
0
−2 −2
y x
20
15
z
10
5
0 −2
2 0
0
−2 2
y
x
1. Sketch the curve and then find its length over the given interval:
r(t) = h4t, − cost, sinti , 0 ≤ t ≤ 3π/2.
z
−1
15 −1
10
5 0
0 1
x y
Group 4:
sint −t sint
t
lim e i + j+e k = lim et i + lim j + lim e−t k
t→0 t t→0 t→0 t t→0
= i + j + k.
1 −t 1−t
lim e , ,t 1/t = lim e , lim , lim t 1/t
t→∞ t t→∞ t→∞ t t→∞
D E
lnt 1/t
= 0, 0, lim e
t→∞
* lnt +
lim
= 0, 0, et→∞ t
* 1+
lim
= 0, 0, et→∞ t
= h0, 0, 1i .
r0 (t) = i + 2tj
r0 (2) = i + 4j
42 CHAPTER 2. CHAPTER 12 VECTOR-VALUED FUNCTIONS
2
Curve: r(t) = <t, t , 2>
2.5
z
1.5
15
10 4
2
5 0
−2
0 −4
y x
Z Z Z Z
t t
e i + j + t costk dt = e dti + dtj + t costdtk
= et i + tj + (t sint + cost)k + C
Z 1 Z 1 Z 1 Z 1
h8t,t, −1i dt = 8tdt, tdt, − dt
0 0 0 0
= h4, 1/2, −1i .
1. Find a vector equation for the tangent line to the curve of intersection of the cylinders x2 +
y2 = 25 and y2 + z2 = 20 at the point (3, 4, 2).
2 1/2
Curve: r(t) = <5cos t, 5sin t, (20−25sin t) >
4
z
4
2 5
0
−2 4
−4 3
y x
2
z
1.5
1 2
0.5 1.5
0 1
y −0.5 0.5
x
45
46 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
• A function can be defined by a table. The number N (in millions) of US cellular phone
subscribers is shown in the table:
Year(t) 1996 1998 2000 2002 2004
Number(N) 44 69 109 141 182
This table defines a function.
• A function is defined by an equation in most cases:
y = f (x) = 2x + 1, y = x2 + 3
• Domain of a function: the set of all possible values of the independent variable x.
• Agreement on domain: The domain of a function defined by an equation is the largest set of
all real numbers for which the equation is well defined.
• Example of domain. Find the domain of
x √
y= , y= 2x − 4.
x−1
All real numbers except 1; x ≥ 2.
• A Function of two variable is a rule that assigns to each ordered pair of real numbers (x, y)
in a set D a unique real number from another set, denoted by f (x, y). We write z = f (x, y).
x, y are called independent variables and z is called the dependent variable.
• Domain of a function: the set of all possible ordered pairs of real numbers of the independent
variables x, y.
• Agreement on domain: The domain of a function defined by an equation is the largest set of
all ordered pairs of real numbers for which the equation is well defined.
• For each of the following functions, evaluate f (0, 1) and find and sketch the domain:
√
f (x, y) = xy
p
f (0, 1) = (0)(1) = 0
The domain is
xy ≥ 0
or
x, y ≥ 0, or x, y ≤ 0
p p
f (x, y) = 2 − x + 2y − y2 − 1.
p p
f (0, 1) = 2 − 0 + 2(1) − 12 − 1 = 2
The domain is
2 − x + 2y ≥ 0, and y2 − 1 ≥ 0
3.1. LECTURE 7: FUNCTIONS OF SEVERAL VARIABLES 47
or
2 − x + 2y ≥ 0, and y ≥ 1 or y ≤ −1
The line 2 − x + 2y = 0 divides the plane into two half planes. To decide which half satisfies the
inequality 2 − x + 2y ≥ 0, we can pick up any test point, like (0, 0), and plug it into the inequality
2 − 0 + 2(0) ≥ 0
In this case, the point (0, 0) satisfies the inequality and so the half where the point (0, 0) is located
satisfies the inequality. If the point does not satisfy the inequality, then the half where the point
(0, 0) is not located satisfies the inequality.
y
2 − x + 2y = 0
y=1 x
y = −1
• Contour Curve is the intersection of the surface z = f (x, y) with the plane z = c.
• Sketch the contour curves of the surface z = 9 − x2 − y2 .
We sketch the contour curves by taking z = 8, 5, 0, −7:
• Level Curves are the projections of the contour curves on to xy-plane. The level curves of a
function f of two variables are the curves with equations f (x, y) = c, where c is a constant.
• Sketch level curves of the function z = 9 − x2 − y2 .
We sketch the level curves by taking z = 8, 5, 0, −7:
• Application of level curves: Topographic map.
• Functions of three or more variables:
f (x, y, z) = 2x + 4y + 5z + 7,
p
f (x, y, z,t) = e−2t 1 − x2 − y2 − z2
48 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
−20
z 5
−40
−4 0
−2 0 2 y
4 −5
x
0 8 5 0 −7
y
−2
−4
−4 −2 0 2 4
x
• Limit of f (x, y)
z
L z = f (x, y)
(a, b, L)
f (x, y)
x
(a, b)
(x, y)
We write
lim f (x, y) = L, lim f (x, y) = L
(x,y)→(a,b) x→a
y→b
50 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
or
f (x, y) → L as (x, y) → (a, b)
and say the limit of f (x, y), as (x, y) approaches (a, b), is equal to L if we can make the values of
f (x, y) arbitrarily close to L by taking arbitrary (x, y) to be sufficiently close to (a, b) but not equal
to (a, b).
• Direct substitution:
lim f (x, y) = f (a, b).
(x,y)→(a,b)
p p
lim 2x + y = 2(1) + 2 = 4
(x,y)→(1,2)
x−5 0−5
lim 2
= = −1
(x,y)→(0,−1) y + 4 (−1)2 + 4
12 + 1 − 2 0
2
=
1 − 3(1) + 2 0
which is undetermined. So we factor both numerator and denominator to obtain
x2 + x − 2 (x − 1)(x + 2)
lim 2
= lim
x→1 x − 3x + 2 x→1 (x − 1)(x − 2)
x+2
= lim
x→1 x − 2
1+2
=
1−2
= −3
(−2)2 + 2(1)(−2) 0
=
−2 + 2(1) 0
3.2. LECTURE 8: LIMITS 51
• Theorem:
lim f (x) = L if and only if lim f (x) = L and lim f (x) = L
x→a x→a− x→a+
x
• Show that lim does not exist.
x→0 |x|
Since x x
lim = lim = 1
x→0+ |x| x→0 x
+
and x x
lim = lim = −1
x→0− |x| x→0 −x
−
x
we conclude that lim does not exist.
x→0 |x|
We consider two pathes: x-axis and y-axis. On the x-axis, we have y = 0. So the limit along
the x-axis is
x2 − 02
lim =1
(x,0)→(0,0) x2 + 02
2
−y 2
So we conclude that lim(x,y)→(0,0) xx2 +y2 does not exist.
• Test for non-existence of limits: If f (x, y) → L1 as (x, y) → (a, b) along a path C1 , f (x, y) →
L2 as (x, y) → (a, b) along a path C2 , and L1 6= L2 , then lim f (x, y) does not exist.
(x,y)→(a,b)
If L1 = L2 , there are no conclusions. On the other hand, we have the following theorem.
• Theorem. If lim f (x) = L, then f (x, y) → L as (x, y) → (a, b) along any path C.
(x,y)→(a,b)
We first consider two pathes: x-axis and y-axis. On the x-axis, we have y = 0. So the limit
along the x-axis is
x2 (0)
lim =0
(x,0)→(0,0) x4 + 02
02 y
lim =0
(0,y)→(0,0) 04 + y2
These two limits are equal. Can we conclude that the limit is equal to 0? No, it is too early to
say that because the limit along other pathes may be different.
For example, consider the path: y = x2 The limit along this path is
1 y = x2
0.8
0.6
y
0.4
0.2
x2 x2 1
lim 4 2 2
=
(x,x2 )→(0,0) x + (x ) 2
2 2
Since it is different from 0, we conclude that lim(x,y)→(0,0) xx2 −y
+y2
does not exist.
5
Answer key. 7 and − 13 .
• Self-test. Show that the following limit do not exist
xy
lim
(x,y)→(0,0) x4 + y2
• Discontinuity cases.
x2 − 1
f (x) = .
x−1
54 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
x2 −1
x−1 , if x 6= 1,
f (x) =
0, if x = 1,
• Continuous functions: the following types of functions are continuous in their domain:
1. polynomials
2. rational functions
3. root functions
4. trigonometric functions
5. inverse trigonometric functions
6. exponential functions
7. logarithmic functions
• Continuity of composite functions: If g is continuous at a and f is continuous at g(a), then
f ◦ g is continuous at a.
then f is said to be continuous at (a, b). Otherwise, it is said to be discontinuous at (a, b). It
is said to be continuous on a domain D if it is continuous at every point in D.
• Discontinuity cases.
√ xy
(
, if (x, y) 6= (0, 0),
f (x, y) = x2 +y2
1, if (x, y) = (0, 0),
We show that
lim f (x, y) = 0 6= 1 = f (0, 0)
(x,y)→(0,0)
3.3. LECTURE 9: CONTINUITY 55
We note that
0 ≤ (|x| − |y|)2 = x2 − 2|xy| + y2
and then
2|xy| ≤ x2 + y2
x2 + y2
|xy| ≤
2
Using this inequality, we derive that
x2 +y2
xy 1p 2
0≤ p ≤ p 2 = x + y2
x2 + y2 x2 + y2 2
Because both sides of the inequality converge to 0 as (x, y) → (0, 0), we conclude that
lim f (x, y) = 0
(x,y)→(0,0)
If f is re-defined at (0, 0) as f (0, 0) = 0, then f is continuous at (0, 0). This is why the discontinu-
ous point is removable. The following figure further confirm the above analysis.
x2 − y2
f (x, y) = .
x2 + y2
To show that the limit does not exist, we consider two pathes: x-axis and y-axis. On the x-axis,
we have y = 0. So the limit along the x-axis is
x2 − 02
lim =1
(x,0)→(0,0) x2 + 02
−y 2 2
So we conclude that lim(x,y)→(0,0) xx2 +y2 does not exist.
56 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
Since f is well defined everywhere, it is continuous everywhere. Sine g is not well defined
when x2 = y2 or y = ±x, g is continuous when y 6= ±x
• Definition of continuity of functions of three or more variables: If
Group 4:
√
1. Find and sketch the domain of the function: f (x, y, z) = x − 3y + 4.
2 −2y2
2. Graph several level curves of the function: f (x, y) = e−x .
Group 1:
√
x−y2
1. Find and sketch the domain of the function: f (x, y) = x−y .
Domain: x ≥ y2 and x 6= y
0
2
2
4
−1
2
2 4
6 6
4
−2 4
−2 −1 0 1 2
3.4. PROBLEM SET 3 59
Domain: R2 . xy
f (x, y) = ,
x2 − y2
Domain: x 6= ±y
g(x, y) = sin(xy)
Domain: R2 .
Group 2:
1. Find and sketch the domain of the function: f (x, y, z) = ln(16 − 4x2 − 4y2 − z2 )
Domain: 16 − 4x2 − 4y2 − z2 > 0
−4 −2
0
1 −2
0
−2
0
−2
0
−1 −2
0
−4 −2
−4 −2
−2
−2 −1 0 1 2
Domain: R2 .
4x2 y
g(x, y) = ,
x2 + y2
Domain: R2 − {(0, 0)}.
h(x, y) = ln(x − y)
Domain: x − y > 0:
Group 3:
p
1. Find and sketch the domain of the function: f (x, y, z) = 9 − x2 − y2 .
Domain: 9 − x2 − y2 ≥ 0
−2 0
1
−2 0
0
2
0
−1
2
0
−2
−2 −1 0 1 2
y2 − 4 y+2
lim = lim
(x,y)→(2,2) xy − 2x (x,y)→(2,2) x
= 2.
2 +y2
g(x, y) = ex ,
Domain: R2 . p
h(x, y) = x2 + y2
Domain: R2 .
Group 4:
√
1. Find and sketch the domain of the function: f (x, y, z) = x − 3y + 4.
Domain: x − 3y + 4 ≥ 0
2 −2y2
1. Graph several level curves of the function: f (x, y) = e−x .
√ √
y− x+1 1
lim = lim √ √
(x,y)→(1,2) y − x − 1 (x,y)→(1,2) y + x + 1
1
= √ .
2 2
3.5. LECTURE 10: PARTIAL DERIVATIVES 63
2 2
−x −2y
Level curves of the function: z = e
2
1
0.2 0.2
0.4
0.6 0.
0.8 4
0 0.8
0.4
0.6
0.2
0.6
2
0.
0.4
0.2
−1
−2
−2 −1 0 1 2
g(x, y) = ln(x2 + y2 ),
Domain: R2 − {(0, 0)}.
h(x, y) = cos(x + 2y)
Domain: R2 .
4. Applications
• Derivative of f (x):
df f (x + h) − f (x)
f 0 (x) = = lim
dx h→0 h
• Geometrical interpretation of ordinary derivative: f 0 (a) is the slope of the tangent line to
the curve y = f (x) at x = a.
• Rate of change. The derivative f 0 (a) is the rate of change of f with respect to x at x = a.
• Partial derivative of f (x, y) with respect to x, denoted by fx (x, y), is the ordinary derivative
of f obtained by treating x as variable and y as a constant. So, let y = b and g(x) = f (x, b).
Then
g(x + h) − g(x)
fx (x, b) = g0 (x) = lim
h→0 h
f (x + h, b) − f (x, b)
= lim
h→0 h
Slope = fx (a, b)
z
C1
z = f (x, y)
(a, b)
x
• Geometrical interpretation of partial derivative: fx (a, b) is the slope of the tangent line to
the curve C1 at x = a, which is the intersection of the plane y = b with the surface z = f (x, y).
• Rate of change in the x-direction. The partial derivative fx (x, y) is the rate of change of f
with respect to x when y is held constant.
• Partial derivative of f (x, y) with respect to y, denoted by fy (x, y), is the ordinary derivative
of f obtained by treating y as variable and x as a constant. So, let x = a and g(y) = f (a, y).
Then
g(y + h) − g(y)
fy (a, y) = g0 (y) = lim
h→0 h
f (a, y + h) − f (a, y)
= lim
h→0 h
• Geometrical interpretation of partial derivative: fy (a, b) is the slope of the tangent line to
the curve C2 at y = b, which is the intersection of the plane x = a with the surface z = f (x, y).
3.5. LECTURE 10: PARTIAL DERIVATIVES 65
Slope = fx (a, b)
z
C1
z = f (x, y)
Slope = fy (a, b)
C2
(a, b)
x
• Rate of change in the y-direction. The partial derivative fy (x, y) is the rate of change of f
with respect to y when x is held constant.
• Notations for partial derivatives. Let z = f (x, y). We write
∂f ∂ ∂z
fx (x, y) = fx = = f (x, y) = = Dx f = D1 f
∂x ∂x ∂x
∂f ∂ ∂z
fy (x, y) = fy = = f (x, y) = = Dy f = D2 f
∂y ∂y ∂y
• Example. Let f (x, y) = 2x3 + 4xy2 + y4 . find fx (x, y), fy (x, y), fx (1, 2), fy (1, 2).
Treating y as constant, we compute the partial derivative with respect to x as an ordinary
derivative:
fx (x, y) = 6x2 + 4y2
and
fx (1, 2) = 6(1)2 + 4(2)2 = 22
Treating x as constant, we compute the partial derivative with respect to y as an ordinary
derivative:
fy (x, y) = 8xy + 4y3
and
fy (1, 2) = 8(1)(2) + 4(2)3 = 48
• Partial derivative of f (x, y, z) with respect to x, denoted by fx (x, y, z), is the ordinary deriva-
tive of f obtained by treating x as variable and y, z as a constant.
• Partial derivative of f (x, y, z) with respect to y, denoted by fy (x, y, z), is the ordinary deriva-
tive of f obtained by treating y as variable and x, z as a constant.
• Partial derivative of f (x, y, z) with respect to z, denoted by fz (x, y, z), is the ordinary deriva-
tive of f obtained by treating z as variable and x, y as a constant.
fz = exyz + xyzexyz
∂ 2z
∂ ∂z
= = fxx (x, y) = zxx ,
∂x ∂x ∂ x2
∂ 2z
∂ ∂z
= = fxy (x, y) = zxy ,
∂y ∂x ∂ y∂ x
∂ 2z
∂ ∂z
= = fyy (x, y) = zyy ,
∂y ∂y ∂ y2
∂ 2z
∂ ∂z
= = fyx (x, y) = zyx ,
∂x ∂y ∂ x∂ y
• Example. Let f (x, y) = 2x3 +4xy2 +y4 . Find fx (x, y), fy (x, y), fxx (x, y), fxy (x, y), fyx (x, y), fyy (x, y).
Treating y as constant, we compute the partial derivative with respect to x as an ordinary
derivative:
fx (x, y) = 6x2 + 4y2
Treating x as constant, we compute the partial derivative with respect to y as an ordinary
derivative:
fy (x, y) = 8xy + 4y3
Treating y as constant, we compute the partial derivative of fx with respect to x as an ordinary
derivative:
fxx (x, y) = 12x
Treating x as constant, we compute the partial derivative of fy with respect to y as an ordinary
derivative:
fyy (x, y) = 8x + 12y2
So the rate of change of concentration with respect to distance at the point (1,2) in the x-
direction is
2 2
Cx (1, 2) = −10e−1 −2 = −10e−5
Treating x as constant, we compute the partial derivative with respect to y as an ordinary
derivative:
2 2
Cy (x, y) = −10ye−x −y
So the rate of change of concentration with respect to distance at the point (1,2) in the y-
direction is
2 2
Cy (1, 2) = −20e−1 −2 = −20e−5
• Self-test. Let f (x, y) = 4x2 y − 9y2 . Find fx (x, y), fy (x, y), fx (2, −1), fy (2, −1).
Answer keys. fx (x, y) = 8xy, fy (x, y) = 4x2 − 18y, fx (2, −1) = −16, fy (2, −1) = 34
1. Chain rules
2. Examples
3. Applications
• The chain rule for single variable functions. Let y = f (x) and x = g(t). Then
dy dy dx
=
dt dx dt
68 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
• The chain rule 1 for two variable functions. Let z = f (x, y), x = g(t) and y = h(t). Then
dz ∂ z dx ∂ z dy
= +
dt ∂ x dt ∂ y dt
dz
• Example. Let z = 4x2 + 2xy + 3y2 , x = sint, and y = cost. Find dt t=0 .
We first calculate all required derivatives:
∂z dx
= 8x + 2y, = cost
∂x dt
∂z dy
= 2x + 6y, = − sint
∂y dt
Using the chain rule, we find that
dz ∂ z dx ∂ z dy
= +
dt ∂ x dt ∂ y dt
= (8x + 2y) cost − (2x + 6y) sint
Since
x(0) = sin 0 = 0, y(0) = cos 0 = 1
we obtain that
dz
= (8x(0) + 2y(0)) cos 0 − (2x(0) + 6y(0)) sin 0 = 2
dt t=0
• The chain rule 2 for two variable functions. Let z = f (x, y), x = g(s,t) and y = h(s,t). Then
∂z ∂z ∂x ∂z ∂y ∂z ∂z ∂x ∂z ∂y
= + , = +
∂s ∂x ∂s ∂y ∂s ∂t ∂ x ∂t ∂ y ∂t
∂z ∂z
• Example. Let z = 3x2 y4 , x = st 2 , and y = s2t. Find ∂s and ∂t .
We first calculate all required derivatives:
∂z ∂x ∂x
= 6xy4 , = t 2, = 2st,
∂x ∂s ∂t
∂z ∂y ∂y
= 12x2 y3 , = 2st, = s2 ,
∂y ∂s ∂t
Using the chain rule, we find that
∂z ∂z ∂x ∂z ∂y
= +
∂s ∂x ∂s ∂y ∂s
= 6xy4t 2 + 24x2 y3 st
∂z ∂z ∂x ∂z ∂y
= +
∂t ∂ x ∂t ∂ y ∂t
= 12xy4 st + 12x2 y3 s2
3.6. LECTURE 11: CHAIN RULE 69
∂z ∂z
• Example. Let z = f (x, y), x = r cos θ , and y = r sin θ . Find ∂r and ∂θ .
We first calculate all required derivatives:
∂x ∂x
= cos θ , = −r sin θ ,
∂r ∂θ
∂y ∂y
= sin θ , = r cos θ ,
∂r ∂θ
Using the chain rule, we find that
∂z ∂ f ∂x ∂ f ∂y
= +
∂r ∂x ∂r ∂y ∂r
∂f ∂f
= cos θ + sin θ
∂x ∂y
∂z ∂ f ∂x ∂ f ∂y
= +
∂θ ∂x ∂θ ∂y ∂θ
∂f ∂f
= − r sin θ + r cos θ
∂x ∂y
• The chain rule for three or more variable functions. Let u = f (x, y, z), x = g(s,t), y =
h(s,t), and z = p(s,t). Then
∂u ∂u ∂x ∂u ∂y ∂u ∂z
= + + ,
∂s ∂x ∂s ∂y ∂s ∂z ∂s
∂u ∂u ∂x ∂u ∂y ∂u ∂z
= + +
∂t ∂ x ∂t ∂ y ∂t ∂ z ∂t
∂u ∂u
• Example. Let u = xy + yz + xz, x = r cos θ , y = r sin θ , and z = rθ . Find ∂r and ∂θ when
r = 2 and θ = π/2.
We first calculate all required derivatives:
∂u ∂x ∂x
= y + z, = cos θ , = −r sin θ ,
∂x ∂r ∂θ
∂u ∂y ∂y
= x + z, = sin θ , = r cos θ ,
∂y ∂r ∂θ
∂u ∂z ∂z
= x + y, = θ, = r,
∂z ∂r ∂θ
Since
x(2, π/2) = 0, y(2, π/2) = 2, z(2, π/2) = π,
we obtain that
∂u
= (y(2, π/2) + z(2, π/2)) cos(π/2)
∂r (2,π/2)
+(x(2, π/2) + z(2, π/2)) sin(π/2)
+(x(2, π/2) + y(2, π/2))(π/2)
= 2π
and
∂u
= −(y(2, π/2) + z(2, π/2))2 sin(π/2)
∂θ (2,π/2)
+(x(2, π/2) + z(2, π/2))2 cos(π/2)
+(x(2, π/2) + y(2, π/2))(2)
= −2π
• Suppose that the equation
F(x, y) = 0
defines y implicitly as a function of x, y = f (x), that is, F(x, f (x)) = 0. Using the chain rule,
we find that
d ∂ F dx ∂ F dy
[F(x, f (x))] = + =0
dx ∂ x dx ∂ y dx
dy
Solving the equation for dx , we obtain that
∂F
dy Fx
= − ∂∂Fx = −
dx Fy
∂y
Let
F(x, y) = 3xy3 − 4x − 10y2 + 10
Then
Fx = 3y3 − 4, Fy = 9xy2 − 20y
So
dy Fx 3y3 − 4
=− =− 2
dx Fy 9xy − 20y
• Suppose that the equation
F(x, y, z) = 0
defines z implicitly as a function of x, y, z = f (x, y), that is, F(x, y, f (x, y)) = 0. Then
∂F ∂F
∂z Fx ∂z ∂y Fy
= − ∂∂Fx = − , = − ∂F = −
∂x Fz ∂y Fz
∂z ∂z
3.7. PROBLEM SET 4 71
• Application. A manufacturer has modeled its yearly production P (the value of its entire
production in millions of dollars) by a Cobb-Douglas function
where L is the number of labor hours (in thousands) and K is the invested capital (in millions
of dollars). Suppose that when L = 30 and K = 8, the labor force is decreasing at a rate of
2000 labor hours per year and capital is increasing at a rate of $500,000 per year. Find the
rate of change of production.
Group 3:
2. Let z = cos 2x sin 3y, x = t/2, y = t 4 . Use the Chain Rule to find dz/dt.
3. Let z = ex+y , x = st, y = s + t. Use the Chain Rule to find ∂ z/∂ s and ∂ z/∂t.
4. Let w = ln(x2 + y2 + z2 ), x = cos s, y = sint, z = rt. Use the Chain Rule to find ∂ w/∂ r,
∂ w/∂ s, ∂ w/∂t.
Group 4:
1. Find the first and second partial derivative of f (x, y, z) = (2x + 3y + 4z)2 .
p
2. Let u = x2 + y2 + z2 , x = sint, y = cost, z = cost. Use the Chain Rule to find du/dt.
x−z
3. Let w = y+z , x = s + t, y = st, z = s − t. Use the Chain Rule to find ∂ w/∂ s and ∂ w/∂t.
4. Let w = sin(x2 + y2 + z2 ), x = st, y = rs, z = rt. Use the Chain Rule to find ∂ w/∂ r, ∂ w/∂ s,
∂ w/∂t.
Common problem for all groups: The temperature at a point (x, y) on a flat metal plate is
given by T (x, y) = 60/(1 + x2 + y2 ), where T is measured in ◦C and x, y in meters. Find the rate
of change of temperature with respect to distance at the point (2,1) in the x-direction and the y-
direction, respectively.
Answer Keys
Group 1:
1. Find the first and second partial derivatives of the function f (x, y, z) = ln(2x + 3y + 5z).
2
fx =
2x + 3y + 5z
3
fy =
2x + 3y + 5z
5
fz =
2x + 3y + 5z
4
fxx = −
(2x + 3y + 5z)2
9
fyy = −
(2x + 3y + 5z)2
3.7. PROBLEM SET 4 73
25
fzz = −
(2x + 3y + 5z)2
6
fxy = fyx = −
(2x + 3y + 5z)2
10
fxz = fzx = −
(2x + 3y + 5z)2
15
fzy = fyz = −
(2x + 3y + 5z)2
1. Let z = cos(x + 4y), x = lnt, y = et . Use the Chain Rule to find dz/dt.
dz 1
= − sin(x + 4y) − 4et sin(x + 4y).
dt t
1. Let z = x4 + x2 y, x = s + 2t − u, y = stu2 . Use the Chain Rule to find ∂ z/∂ s, ∂ z/∂t, ∂ z/∂ u
when s = 4,t = 2, u = 1.
∂z
= (4x3 + 2xy) + x2tu2 ,
∂s
∂z
= 2(4x3 + 2xy) + x2 su2 ,
∂t
∂z
= −(4x3 + 2xy) + 2x2 stu,
∂u
∂z
= 1582,
∂s s=4,t=2,u=1
∂z
= 2940,
∂t s=4,t=2,u=1
∂z
= −700.
∂u s=4,t=2,u=1
1. Let w = xyz, x = r cos θ , y = r sin θ , z = rθ . Use the Chain Rule to find ∂ w/∂ r, ∂ w/∂ θ .
∂w
= yz cos θ + xz sin θ + xyθ ,
∂r
∂w
= −yzr sin θ + xzr cos θ + xyr.
∂θ
Group 2:
74 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
1. Find the first and second partial derivative of f (x, y, z) = 3 sin(2x + 3y + 4z).
fx = 6 cos(2x + 3y + 4z)
fy = 9 cos(2x + 3y + 4z)
fz = 12 cos(2x + 3y + 4z)
fxx = −12 sin(2x + 3y + 4z)
fyy = −27 sin(2x + 3y + 4z)
fzz = −48 sin(2x + 3y + 4z)
fxy = fyx = −18 sin(2x + 3y + 4z)
fxz = fzx = −24 sin(2x + 3y + 4z)
fzy = fyz = −36 sin(2x + 3y + 4z)
dz
= 2t sin y + 12t 2 x cos y.
dt
2. Let z = xy − x2 y, x = s + t, y = s − t. Use the Chain Rule to find ∂ z/∂ s and ∂ z/∂t.
∂z
= (y − 2xy) + (x − x2 ),
∂s
∂z
= (y − 2xy) − (x − x2 ).
∂t
p
1. Let w = x2 + y2 + z2 , x = st, y = rs, z = rt. Use the Chain Rule to find ∂ w/∂ r, ∂ w/∂ s,
∂ w/∂t.
∂w ys + zt
= p ,
∂r x2 + y2 + z2
∂w xt + yr
= p ,
∂s x2 + y2 + z2
∂w xs + zr
= p .
∂t x2 + y2 + z2
Group 3:
1. Find the first and second partial derivative of f (x, y) = 2x5 y2 + x2 y.
fx = 10x4 y2 + 2xy
fy = 4x5 y + x2
fxx = 40x3 y2 + 2y
fyy = 4x5
fxy = fyx = 20x4 y + 2x.
3.7. PROBLEM SET 4 75
1. Let z = cos 2x sin 3y, x = t/2, y = t 4 . Use the Chain Rule to find dz/dt.
dz
= − sin 2x sin 3y + 12t 3 cos 2x cos 3y.
dt
2. Let z = ex+y , x = st, y = s + t. Use the Chain Rule to find ∂ z/∂ s and ∂ z/∂t.
∂z
= tex+y + ex+y ,
∂s
∂z
= sex+y + ex+y .
∂t
1. Let w = ln(x2 + y2 + z2 ), x = cos s, y = sint, z = rt. Use the Chain Rule to find ∂ w/∂ r,
∂ w/∂ s, ∂ w/∂t.
∂w 2zt
= 2 ,
∂r x + y2 + z2
∂w 2x sin s
= − 2 ,
∂s x + y2 + z2
∂w 2y cost + 2zr
= .
∂t x2 + y2 + z2
Group 4:
1. Find the first and second partial derivative of f (x, y, z) = (2x + 3y + 4z)2 .
fx = 4(2x + 3y + 4z)
fy = 6(2x + 3y + 4z)
fz = 8(2x + 3y + 4z)
fxx = 8
fyy = 12
fzz = 16
fxy = fyx = 12
fxz = fzx = 16
fzy = fyz = 24
p
1. Let u = x2 + y2 + z2 , x = sint, y = cost, z = cost. Use the Chain Rule to find du/dt.
dz x cost − y sint − z sint
= p .
dt x2 + y2 + z2
x−z
2. Let w = y+z , x = s + t, y = st, z = s − t. Use the Chain Rule to find ∂ w/∂ s and ∂ w/∂t.
76 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
∂z −z (z − x)t (x + y)t
= + − ,
∂s y + z (y + z)2 (y + z)2
∂z −z (z − x)s (x + y)t
= + + .
∂t y + z (y + z)2 (y + z)2
1. Let w = sin(x2 + y2 + z2 ), x = st, y = rs, z = rt. Use the Chain Rule to find ∂ w/∂ r, ∂ w/∂ s,
∂ w/∂t.
∂w
= (2ys + 2zt) cos(x2 + y2 + z2 ),
∂r
∂w
= (2xt + 2yr) cos(x2 + y2 + z2 ),
∂s
∂w
= (2xs + 2zr) cos(x2 + y2 + z2 ).
∂t
Common problem for all groups: The temperature at a point (x, y) on a flat metal plate is
given by T (x, y) = 60/(1 + x2 + y2 ), where T is measured in ◦C and x, y in meters. Find the rate
of change of temperature with respect to distance at the point (2,1) in the x-direction and the y-
direction, respectively.
∂T −120x
= = −20/3 ◦C/meter,
∂x (2,1) (1 + x2 + y2 )2 (2,1)
∂T −120y (x + y)t
= 2 2 2
+ = −10/3 ◦C/meter.
∂y (2,1) (1 + x + y ) (y + z)2 (2,1)
Slope = fx (x0 , y0 )
z
C1
z = f (x, y)
Slope = fy (x0 , y0 )
C2
(x0 , y0 )
x
represent the rate of change of f in the x- and y-directions, respectively. Geometrically they
represent the slope of the curve in the x- and y-directions.
• The rate of change of z = f (x, y) in the direction of any unit vector u = ha, bi.
Slope = Du (x0 , y0 )
Slope = fx (x0 , y0 )
z
C1
z = f (x, y)
Slope = fy (x0 , y0 )
C2
C y
u = ha, bi
P(x, y)
P0 (x0 , y0 )
x
−→ −→
Since the vector P0 P is on u, there is a h such that P0 P = hu. Then hx − x0 , y − y0 i = hha, bi
and x = x0 + ah, y = y0 + bh. So
∆z f (x, y) − f (x0 , y0 ) f (x0 + ah, y0 + bh) − f (x0 , y0 )
= =
h h h
• Directional derivative of f (x, y) at (x0 , y0 ) in the direction of a unit vector u = ha, bi is
f (x0 + ah, y0 + bh) − f (x0 , y0 )
Du f (x0 , y0 ) = lim
h→0 h
• Theorem. Let u = ha, bi be a unit vector. Then
Du f (x, y) = fx (x, y)a + fy (x, y)b
• Example. Let f (x, y) = x2 + 3xy + y3 and v = h3, 4i. Find Dv f (x, y) and Dv f (1, 2).
We first normalize v:
v 3 4
u= =h , i
kvk 5 5
Then compute the partial derivatives:
fx = 2x + 3y, fy = 3x + 3y2
78 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
• Example. Let f (x, y, z) = x2 yz − xyz3 and v = 5i + j − 2k. Find Dv f (x, y, z) and Dv f (0, 1, 1).
We first normalize v:
v 5 1 2
u= = √ i+ √ j− √ k
kvk 30 30 30
Then compute the partial derivatives:
• Self-test. Let f (x, y, z) = xey + yez and v = i + 2j − 2k. Find Dv f (x, y, z) and Dv f (0, 0, 0).
Answer key.
ey + 2(xey + ez ) − 2yez
Dv f (x, y, z) = , Dv f (0, 0, 0) = 1,
3
or
Du f (x, y, z) = fx (x, y, z)a + fy (x, y, z)b + fz (x, y, z)c = h fx , fy , fz i · u
80 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
• Gradient of f :
∇ f (x, y) = h fx (x, y), fy (x, y)i = fx (x, y)i + fy (x, y)j
∇ f (x, y, z) = h fx (x, y, z), fy (x, y, z), fz (x, y, z)i
= fx (x, y, z)i + fy (x, y, z)j + fz (x, y, z)k
• Find the directional derivatives D∇ f f (x, y, z) of f (x, y, z) in the direction of the gradient ∇ f .
We first normalize the gradient vector
∇f
u=
k∇ f k
Then the directional derivatives of f (x, y, z) in the direction of the gradient ∇ f is given by
∇f ∇f ·∇f k∇ f k2
D∇ f f = ∇ f · u = ∇ f · = = = k∇ f k
k∇ f k k∇ f k k∇ f k
• Question: In which direction the directional derivative Du f = ∇ f · u attains the maximum?
• Theorem:
a · b = |a||b| cos θ .
b u
θ θ
a ∇f
and
∇T (1, 0, 0) = −400e−1 , 0, 0
So the rate of change of temperature at the point P(1, 0, 0) in the direction toward the
point (1, 1, 1) is given by the directional derivative:
−1 1 1
Dv T (1, 0, 0) = ∇T (1, 0, 0) · u = −400e , 0, 0 · 0, √ , √ =0
2 2
2 In which direction does the temperature increase fastest at P?
In the gradient direction:
∇T (1, 0, 0) = −400e−1 , 0, 0
1. Find the maximum rate of increase at P.
The maximum rate of increase at P is given by the directional derivative in the gradient
direction:
∇T (1, 0, 0)
D∇T (1,0,0) T (1, 0, 0) = ∇T (1, 0, 0) ·
k∇T (1, 0, 0)k
−400e−1 , 0, 0
= −400e−1 , 0, 0 ·
k h−400e−1 , 0, 0i k
= 400e−1 ◦ C per meter
y Normal vector N = ∇ f
Let the vector equation of the curve be r(t) = hx(t), y(t)i. Then
f (x(t), y(t)) = c
Using the chain rule to differentiate both sides of the equation in t, we obtain
d dc
[ f (x(t), y(t))] = =0
dt dt
3.11. PROBLEM SET 5 85
∂ f dx ∂ f dy dc
+ = =0
∂ x dt ∂ y dt dt
or
∇ f · r0 (t) = 0
So ∇ f is perpendicular to the tangent vector r0 (t). Then we say ∇ f is normal to the curve.
• Example. Consider the unit circle C: x2 + y2 = 1.
y
√ √
The gradient at the point P( 2/2, 2/2) is
√ √ √ √
∇ f ( 2/2, 2/2) = h2x, 2yi|(√2/2,√2/2) = h 2, 2i.
(c) Find the directional derivative of f at P in the direction of the vector v = h3, 4i.
Group 4:
1. Find the directional derivative of the function f (x, y, z) = exyz−1 at the point P(0, 1, −1) in the
direction of the vector v = h−2, 2, −1i.
2. Let f (x, y, z) = ln(1 + x2 + y2 + z2 )
(a) Find the gradient of f at the point (1, 1, −1).
(b) Find the directional derivative of f at the point (1, 1, −1) in the direction of the vector
v = h2/3, 2/3, −1/3i.
(c) Find the directional derivative of f at the point (1, 1, −1) in the direction of the gradient
vector at the point (1, 1, −1).
3. Let f (x, y) = 4x2 + y2
(a) Find the unit vector in the direction of maximum increase of f at the point P(1, 2).
(b) Find the rate of change of the function in the direction of maximum increase at P.
(c) Find the directional derivative of f at P in the direction of the vector v = h−3, −4i.
Common problem for all groups: A water wave is described by the function z = 1+sin(x−y),
where z gives the height of the wave and (x, y) are coordinates in the horizontal plane z = 0.
1. Use a calculator to graph the function.
2. The crest and troughs of the waves are aligned in the direction in which the height function
has zero change. Find the direction in which the crests and troughs are aligned.
3. If you were surfing on this wave and wanted the steepest descent from a crest to a trough,
in which direction would you point your surfboard (given in terms of a unit vector in the
xy-plane)?
Answer Keys
Group 1:
1. Find the directional derivative of the function f (x, y, z) = xey + yez + zex at the point P(0, 0, 0)
in the direction of the vector v = 5i + j − 2k.
5 1 2
Dv f (0, 0, 0) = ∇ f (0, 0, 0) · √ , √ , − √
30 30 30
5 1 2
= h1, 1, 1i · √ , √ , − √
30 30 30
4
= √ .
30
(b) Find the directional derivative of f at the point (1, 1, −1) in the direction of the vector
v = 2i + j + 3k.
2 1 3
Dv f (1, 1, −1) = ∇ f (1, 1, −1) · √ , √ , √
14 14 14
2 1 3
= h−1, −1, −2i · √ , √ , √
14 14 14
9
= −√ .
14
(c) Find the directional derivative of f at the point (1, 1, −1) in the direction of the gradient
vector at the point (1, 1, −1).
∇ f (1, 1, −1)
D∇ f (1,1,−1) f (1, 1, −1) = ∇ f (1, 1, −1) ·
k∇ f (1, 1, −1)k
1 1 2
= h−1, −1, −2i · − √ , − √ , − √
6 6 6
√
= 6.
(b) Find the rate of change of the function in the direction of maximum increase at P.
∇ f (1, 1)
D∇ f (1,1) f (1, 1) = ∇ f (1, 1) ·
k∇ f (1, 1)k
2 1
= h8, 4i · √ , √
5 5
√
= 4 5.
(c) Find the directional derivative of f at P in the direction of the vector v = h−2, 1i.
2 1
Dv f (1, 1) = ∇ f (1, 1) · − √ , √
5 5
2 1 12
= h8, 4i · − √ , √ = −√ .
5 5 5
Group 2:
3.11. PROBLEM SET 5 89
1. Find the directional derivative of the function f (x, y) = ln(4 + x2 + y2 ) at the point P(−1, 2)
in the direction of the vector v = h2, 1i.
2 1
Dv f (−1, 2) = ∇ f (−1, 2) · √ , √
5 5
2 1
= h−2/9, 4/9i · √ , √
5 5
= 0.
∇ f (1, 1, −1)
D∇ f (1,1,−1) f (1, 1, −1) = ∇ f (1, 1, −1) ·
k∇ f (1, 1, −1)k
1 1 1
= h1/2, 1/2, −1/2i · √ , √ , − √
3 3 3
√
= 3/2.
1. Let f (x, y) = 2 − 4x2 − 2y2
(a) Find the unit vector in the direction of maximum increase of f at the point P(1, 1).
∇ f (1, 1) 2 1
u= = −√ ,−√ .
k∇ f (1, 1)k 5 5
(b) Find the rate of change of the function in the direction of maximum increase at P.
∇ f (1, 1)
D∇ f (1,1) f (1, 1) = ∇ f (1, 1) ·
k∇ f (1, 1)k
2 1
= h−8, −4i · − √ , − √
5 5
√
= 4 5.
90 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
(c) Find the directional derivative of f at P in the direction of the vector v = h−2, 1i.
2 1
Dv f (1, 1) = ∇ f (1, 1) · − √ , √
5 5
2 1 12
= h−8, −4i · − √ , √ =√ .
5 5 5
Group 3:
1. Find the directional derivative of the function f (x, y, z) = 1 + sin(x + 2y − z) at the point
P(π/6, π/6, −π/6) in the direction of the vector v = h1/3, 2/3, 2/3i.
∇ f (3, 2, −1)
D∇ f (3,2,−1) f (3, 2, −1) = ∇ f (3, 2, −1) ·
k∇ f (3, 2, −1)k
3 4 7
= h1/3, −4/9, 7/9i · √ , − √ , √
74 74 74
√
= 74/9.
(b) Find the rate of change of the function in the direction of maximum increase at P.
∇ f (2, 1)
D∇ f (2,1) f (2, 1) = ∇ f (2, 1) ·
k∇ f (2, 1)k
1 2
= h−4, −8i · − √ , − √
5 5
√
= 4 5.
(c) Find the directional derivative of f at P in the direction of the vector v = h3, 4i.
3 4
Dv f (2, 1) = ∇ f (2, 1) · ,
5 5
3 4 44
= h−4, −8i · , =− .
5 5 5
Group 4:
1. Find the directional derivative of the function f (x, y, z) = exyz−1 at the point P(0, 1, −1) in the
direction of the vector v = h−2, 2, −1i.
(b) Find the directional derivative of f at the point (1, 1, −1) in the direction of the vector
v = h2/3, 2/3, −1/3i.
(c) Find the directional derivative of f at the point (1, 1, −1) in the direction of the gradient
vector at the point (1, 1, −1).
92 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
∇ f (1, 1, −1)
D∇ f (1,1,−1) f (1, 1, −1) = ∇ f (1, 1, −1) ·
k∇ f (1, 1, −1)k
1 1 1
= h1/2, 1/2, −1/2i · √ , √ , − √
3 3 3
√
= 3/2.
∇ f (1, 2)
D∇ f (1,2) f (1, 2) = ∇ f (1, 2) ·
k∇ f (1, 2)k
2 1
= h8, 4i · √ , √
5 5
√
= 4 5.
(c) Find the directional derivative of f at P in the direction of the vector v = h−3, −4i.
3 4
Dv f (1, 2) = ∇ f (1, 2) · − , −
5 5
3 4
= h8, 4i · − , − = −8.
5 5
Common problem for all groups: A water wave is described by the function z = 1+sin(x−y),
where z gives the height of the wave and (x, y) are coordinates in the horizontal plane z = 0.
1. Use a calculator to graph the function.
1. The crest and troughs of the waves are aligned in the direction in which the height function
has zero change. Find the direction in which the crests and troughs are aligned.
Let v = ha, bi be the direction. Then
Dv f = ∇ f (1, 2) · ha, bi
= hcos(x − y), − cos(x − y)i · ha, bi
= a cos(x − y) − b cos(x − y)
= 0.
1. If you were surfing on this wave and wanted the steepest descent from a crest to a trough,
in which direction would you point your surfboard (given in terms of a unit vector in the
xy-plane)?
• For the curve given by r(t) = hx(t), y(t), z(t)i, the tangent vector to the curve at t = t0 is r0 (t0 ).
• We show that the gradient vector ∇F(a, b, c) is perpendicular to the tangent lines to the curves
C on the surface.
Let the vector equation of the curve be r(t) = hx(t), y(t), z(t)i. Then
z Tangent plane
C1
F(x, y, z) = 0
C2 P(a, b, c)
(a, b)
x
Using the chain rule to differentiate both sides of the equation in t, we obtain
d d0
[F(x(t), y(t), z(t))] = =0
dt dt
∂ F dx ∂ F dy ∂ F dz
+ + =0
∂ x dt ∂ y dt ∂ z dt
or
∇F · r0 (t) = 0
So ∇F is perpendicular to the tangent vector r0 (t).
• Perpendicular vector test. a and b are perpendicular if and only if a · b = 0.
• Plane equation. Suppose a plane passes through the point P0 (a, b, c) and is perpendicular to
a given vector n = hn1 , n2 , n3 i. Then the equation of the plane is given by
−→
n · P0 P = 0
or
n1 (x − a) + n2 (x − b) + n3 (x − c) = 0
• The equation of the tangent plane to the surface S given by F(x, y, z) = 0 at a point P(a, b, c)
is
Fx (a, b, c)(x − a) + Fy (a, b, c)(y − b) + Fz (a, b, c)(z − c) = 0
• The line through P having the direction of ∇F(a, b, c) is called the normal line to the surface
at P.
• Example. Find the equations of the tangent plane and the normal line at the point (2, 1, 3) to
the ellipsoid
x2 z2
+ y2 + = 3
4 9
x2 2
We first compute the gradient of F = + y2 + z9 − 3:
4
x 2z
∇F = hFx , Fy , Fz i = , 2y,
2 9
3.12. LECTURE 15: TANGENT PLANES AND NORMAL LINES 95
z
2
2
1.5
1.6 1.8 2 1
2.2 y
2.4
x
• Example. Find equations of the tangent plane and the normal line to the paraboloid z = x2 +y2
at the point (1, 1, 2)
We first compute the partial derivatives of f :
fx = 2x, fy = 2y
At the point (1, 1), the partial derivatives are
fx (1, 1) = 2, fy (1, 1) = 2
So the equation of the tangent plane to the paraboloid at the point (1, 1, 2) is
2(x − 1) + 2(y − 1) − (z − 2) = 0
and the equations of the normal line to the paraboloid at the point (1, 1, 2) is
x = 1 + 2t, y = 1 + 2t, z = 2−t
96 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
z
0 2
−2 0
−1
0 y
1
x 2 −2
√
• Self-test. Find the equations of the tangent plane and the normal line to the surface z = xy
at (1,1, 1).
Answer key.
x+y−z−1 = 0
x = 1 + t, y = 1 + t, z = 1−t
1. Linear approximations
2. Differentials
3. Examples
• The equation of the tangent plane to the surface S given by z = f (x, y) at a point P(a, b, c) is
Tangent plane
z
C1 z = f (x, y)
C2 P(a, b, c)
(a, b)
x
z = L(x, y)
z
C1
z = f (x, y)
C2 P(a, b, c)
(a, b)
x
• Increment of z = f (x, y). Let x, y change from a to a + ∆x, b to b + ∆y, respectively. Then
the corresponding increment of z is
∆z = f (a + ∆x, b + ∆y) − f (a, b)
• Definition of Local (or relative) Maximum and Minimum: f (c) is a relative or local max-
imum ( minimum) for f if there exists an open interval (a, b) containing c such that
• Definition of Local (or relative) Maximum and Minimum: For a function z = f (x, y),
f (a, b) is a local (or relative) maximum if
f (a, b) ≥ f (x, y)
for all points (x, y) near the point (a, b). f (a, b) is a local (or relative) minimum if
f (a, b) ≤ f (x, y)
10
4
z
−2
−4
1
2
0
1
−1 0
−1
−2 −2
y x
Define
D = fxx (a, b) fyy (a, b) − [ fxy (a, b)]2 .
1. f (a, b) is a local maximum if D > 0 and fxx (a, b) < 0;
2. f (a, b) is a local minimum if D > 0 and fxx (a, b) > 0;
3. f (a, b) is saddle (neither a maximum nor a minimum) if D < 0;
4. no conclusion if D = 0.
• Example. Find local maximum and minimum of
f (x, y) = x2 − 2xy + 2y2 + x − 5.
Step 1. Find the critical points. We compute the partial derivatives to obtain the system of
critical points:
fx = 2x − 2y + 1 = 0 (3.1)
fy = −2x + 4y = 0. (3.2)
Solving the equation (3.2) for x, we obtain
x = 2y (3.3)
Plugging it into the equation (3.1), we obtain
4y − 2y + 1 = 0
Solving it, we get
1
y=− .
2
Plugging it into the equation (3.3), we obtain
x = −1
So the critical point is (−1, −1/2).
Step 2. Find the number D. We compute the second partial derivatives to find D:
fxx = 2, fyy = 4, fxy = −2
So
D = fxx (−1, −1/2) fyy (−1, −1/2) − [ fxy (−1, −1/2)]2 = 2 · 4 − (−2)2 = 4 > 0
Step 3. Apply the second derivative test. Since fxx (1, 1/2) = 2 > 0, f has a relative minimum
at (−1, −1/2) and the minimum is f (−1, −1/2) = − 11 2.
• Example. Find local maximum and minimum of
z = x2 − y2 .
Step 1. Find the critical points. We compute the partial derivatives to obtain the system of
critical points:
fx = 2x = 0
fy = −2y = 0.
Solving the system, we obtain the critical point is (0, 0).
102 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
2 2 2 2
Surface of z= x −2xy+2y +x−5 Level curves of the function: z = x −2xy+2y +x−5
2 0
0
40 1 −3
0
−4
−3 −4 −5
20 0
0
−3
−5.4
y
0
−5
0
−4
−1
−3
−5 −4
0
−3
−4
−20
5 −2 −3
0
2
0 0 0
−2 −3
−5 −4 −4 −3 −2 −1 0 1 2
y x x
Step 2. Find the number D. We compute the second partial derivatives to find D:
fxx = 2, fyy = −2, fxy = 0
So
D = fxx (0, 0) fyy (0, 0) − [ fxy (0, 0)]2 = 2 · (−1) − (0)2 = −4 < 0
Step 3. Apply the second derivative test. Since D < 0, the critical point (0, 0) is a saddle point .
Surface of z= x2−y2 Level curves of the function: z = x2−y2
4
−10 −5 0
−10
−5
20 0
−5
5
5
2
0
10
10
10
0
0
z
0
y
0
5
5
−10
0
−20 −2
10
10
−5
5 0
5 5 −5 5
−10
0 −10 −5 0
0 −4
−5 −5 −4 −2 0 2 4
y x x
Step 1. Find the critical points. We compute the partial derivatives to obtain the system of
critical points:
fx = 2x + y2 − 4 = 0 (3.4)
fy = 2xy = 0. (3.5)
The equation (3.5) implies that x = 0 or y = 0. If x = 0, it follows from the equation (3.4) that
y2 − 4 = 0
So y = ±2. If y = 0, it follows from the equation (3.4) that
2x − 4 = 0
So x = 2.
So the critical points are (0, −2), (0, 2) and (2, 0).
3.15. PROBLEM SET 6 103
Step 2. Find the number D. We compute the second partial derivatives to find D:
fxx = 2, fyy = 2x, fxy = 2y
So D at three critical points are
D(0, −2) = fxx (0, −2) fyy (0, −2) − [ fxy (0, −2)]2 = 2 · 0 − (−4)2 = −16 < 0
D(0, 2) = fxx (0, 2) fyy (0, 2) − [ fxy (0, 2)]2 = 2 · 0 − (4)2 = −16 < 0
D(2, 0) = fxx (2, 0) fyy (2, 0) − [ fxy (2, 0)]2 = 2 · 4 − (0)2 = 8 > 0
Step 3. Apply the second derivative test. Since D(0, −2) < 0 and D(0, 2) < 0, these two critical
points are saddle. Since D(2, 0) > 0 and fxx (2, 0) = 2 > 0, f has a relative minimum at (2, 0) and
the minimum is f (2, 0) = −3.
Surface of z= x2+xy2−4x+1 Level curves of the function: z = x2+xy2−4x+1
4
10
−2.
−1 9
0 .5 −21.9
− .5
100 5 0 5
2 10
10
5
5
50 0
0
−1.5
z
0
y
−1.5
−2.9 .5
0
−1
10
0
0 5
5 10
−50 −2 10
5 5
0
− .5
5
0 5
−1. −21.9
5 −2.9
10
0
0 −4
−5 −5 −4 −2 0 2 4
y x x
4. Find the local maximum and minimum values and saddle points of the function f (x, y) =
x3 − 12xy + 8y3
Group 2:
1. Let z = 4 − 2x2 − y2 .
(a) Find an equation of the tangent plane and the normal line to the surface given by this
function at the point (−1, −1, 1).
(b) Find the linearization L(x, y) of the function at point (−1, −1, 1).
(c) Find the differential of the function.
(d) If x changes from -1 to -1.1 and y changes from -1 to -0.9, compare the differential dz
and the corresponding change ∆z.
2. Find an equation of√the tangent plane and the normal line to the given surface x2 + y2 + z2 = 4
at the point P(1, 1, 2).
3. Find the local maximum and minimum values and saddle points of the function f (x, y) =
4 + 2x2 + 3y2 .
4. Find the local maximum and minimum values and saddle points of the function f (x, y) =
x4 + 2y2 − 4xy
Group 3:
1. Let z = sin(xy) + 2.
(a) Find an equation of the tangent plane and the normal line to the surface given by this
function at the point (1, 0, 2).
(b) Find the linearization L(x, y) of the function at point (1, 0, 2).
(c) Find the differential of the function.
(d) If x changes from 1 to 1.01 and y changes from 0 to -0.1, compare the differential dz and
the corresponding change ∆z.
2. Find an equation of the tangent plane and the normal line to the given surface x2 + y2 − z2 = 0
at the point P(3, 4, 5).
3. Find the local maximum and minimum values and saddle points of the function f (x, y) =
x2 − 6x + y2 + 8y.
4. Find the local maximum and minimum values and saddle points of the function f (x, y) =
2 2
2xye−x −y
Group 4:
1. Let z = ln(1 + xy).
(a) Find an equation of the tangent plane and the normal line to the surface given by this
function at the point (1, 2, ln 3).
(b) Find the linearization L(x, y) of the function at point (1, 2, ln 3).
(c) Find the differential of the function.
3.15. PROBLEM SET 6 105
(d) If x changes from 1 to 1.01 and y changes from 2 to 1.9, compare the differential dz and
the corresponding change ∆z.
2. Find an equation of the tangent plane and the normal line to the given surface x2 + y3 + z4 = 2
at the point P(1, 0, 1).
3. Find the local maximum and minimum values and saddle points of the function f (x, y) =
−x2 + 6x − y2 + 2y.
4. Find the local maximum and minimum values and saddle points of the function f (x, y) =
x4 + 4x2 (y − 2) + 8(y − 1)2
Common problem for all groups: The volume of a right circular cone with radius r and height
h is V = πr2 h/3. Approximate the change in the volume of the cone when the radius changes from
r = 6.5 to r = 6.6 and the height changes from h = 4.20 to h = 4.15.
Answer Keys
Group 1:
1. Let z = 3(x − 1)2 + 2(y − 2)2 + 1.
(a) Find an equation of the tangent plane and the normal line to the surface given by this
function at the point (2, 3, 6).
The plane equation is
6(x − 2) + 4(y − 3) − (z − 6) = 0
The parametric equations of the normal line are
Surface of z = 3(x−1)2+2(y−2)2+1
40
20
z
4 4
2 2
y 0
x
3. If x changes from 2 to 2.1 and y changes from 3 to 3.1, compare the differential dz and the
corresponding change ∆z.
dz = 1, ∆z ≈ 1.05.
1. Find an equation of the tangent plane and the normal line to the given surface 2x2 + 2y2 + z2 =
8 at the point P(1, 1, 2).
The plane equation is
4(x − 1) + 4(y − 1) + 4(z − 2) = 0.
x = 1 + t, y = 1 + t, z = 2+t
Surface of 2x2+2y2+z2=8
10
5
z
−5
2
2
0
0
y −2 −2
x
1. Find the local maximum and minimum values and saddle points of the function f (x, y) =
xy − 2x − 2y − x2 − y2 .
The critical point is (−2, −2) and
fxx (−2, −2) = −2, D = fxx (−2, −2) fyy (−2, −2) − [ fxy (−2, −2)]2 = 3.
So f has a maximum at (−2, −2) and the maximum value of f is f (−2, −2) = 4.
Surface of z=xy−2x−2y−x2−y2
0
z
−5
−10
0
0
−2
−2
y −4 −4
x
3.15. PROBLEM SET 6 107
1. Find the local maximum and minimum values and saddle points of the function f (x, y) =
x3 − 12xy + 8y3
The critical points are (0, 0) and (2, 1) and at these points, we have
fxx = 0, 12,
D = fxx fyy − [ fxy ]2
= −144, 432.
So (0, 0) is a saddle point and f has a minimum at (2, 1) and the minimum value of f is
f (2, 1) = −8.
Surface of z=x3−12xy+8y3 Level curves of the function: z = x3−12xy+8y3
3
500 50
2 50 20
20
6
50 6
0 20 0 −4 −20
−2 −6
6
z
−4
−4
1 20
−6
−2
0
−500 0 −6
6
−2
−4 6
−2
0
20
−1000 0 −2 0 0
6
5
−
5 −86
0 −
20
−42 0
50
0 −1
−5 −5 −1 0 1 2 3
y x x
Group 2:
1. Let z = 4 − 2x2 − y2 .
(a) Find an equation of the tangent plane and the normal line to the surface given by this
function at the point (−1, −1, 1).
The plane equation is
4(x + 1) + 2(y + 1) − (z − 1) = 0.
The parametric equations of the normal line are
x = −1 + 4t, y = −1 + 2t, z = 1−t
Surface of z=4−2x2−y2
10
0
z
−10
−20
1
0 1
−1 0
−2 −1
−2
y −3 −3
x
1. Find the linearization L(x, y) of the function at point (−1, −1, 1).
z = L(x, y) = 1 + 4(x + 1) + 2(y + 1).
108 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
dz = −4xdx − 2ydy.
3. If x changes from -1 to -1.1 and y changes from -1 to -0.9, compare the differential dz and the
corresponding change ∆z.
dz = −0.2, ∆z = −0.23.
1. Find an equation of√the tangent plane and the normal line to the given surface x2 + y2 + z2 = 4
at the point P(1, 1, 2).
The plane equation is √ √
2(x − 1) + 2(y − 1) + 2 2(z − 2) = 0
The parametric equations of the normal line are
√ √
x = 1 + 2t, y = 1 + 2t, z= 2 + 2 2t
2
z
−2
2
2
0
0
y −2 −2
x
1. Find the local maximum and minimum values and saddle points of the function f (x, y) =
4 + 2x2 + 3y2 .
The critical point is (0, 0) and at this point, we have
20 20
60 2 16
16
12
1 8
20
20
12
40
16
8
12
5
z
0
y
16
12
20 5
20
16
8 8
−1 12
20
0 12
16
5 −2 20
16
5 20
0
0 −3
−5 −5 −3 −2 −1 0 1 2 3
y x x
3.15. PROBLEM SET 6 109
1. Find the local maximum and minimum values and saddle points of the function f (x, y) =
x4 + 2y2 − 4xy
The critical points are (0, 0), (1, 1) and (−1, −1) and at these points, we have
fxx = 0, 12, 12
D = fxx fyy − [ fxy ]2
= −16, 32, 32.
So (0, 0) is a saddle point and f has a minimum at (1, 1) and (−1, −1) and the minimum
value of f is f (1, 1) = f (−1, −1) = −1.
Surface of z= x4+2y2−4xy Level curves of the function: z = x4+2y2−4xy
3 6
6
4
2
150 2
0
0
6
4
100 1 2
4
.8
−0
6
50
z
2
0
46
0 8
2
.
0
−0
0
−1 4
0
2 6
4
−50
5 −2
2
5 4
0
0
6
6
−3
−5 −5 −3 −2 −1 0 1 2 3
y x x
Group 3:
1. Let z = sin(xy) + 2.
(a) Find an equation of the tangent plane and the normal line to the surface given by this
function at the point (1, 0, 2).
The plane equation is
y − z + 2 = 0.
The parametric equations of the normal line are
x = 1, y = t, z = 2−t
Surface of z=sin(xy)+2
2.5
2
z
1.5
1
1
2
0
1
y −1 0
x
z = L(x, y) = y + 2.
110 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
dz = y cos(xy)dx + x cos(xy)dy.
3. If x changes from 1 to 1.01 and y changes from 0 to -0.1, compare the differential dz and the
corresponding change ∆z.
dz = −0.1, ∆z ≈ −0.1008.
1. Find an equation of the tangent plane and the normal line to the given surface x2 + y2 − z2 = 0
at the point P(3, 4, 5).
The plane equation is
6(x − 3) + 8(y − 4) − 10(z − 5) = 0.
The parametric equations of the normal line are
Surface of z2=x2+y2
7
6
5
z
4
3
6
5
4 4
3
2
y 2 1
x
1. Find the local maximum and minimum values and saddle points of the function f (x, y) =
x2 − 6x + y2 + 8y.
The critical point is (3, −4) and at this point, we have
So f has a minimum at (3, −4) and the minimum value of f is f (3, −4) = −25.
2 2 2 2
Surface of z= x −6x+y +8y Level curves of the function: z = x −6x+y +8y
0 −10 −10
−5 −5
−15 −15
0 −1
−1 0
0 −20
−2 −1
5
−2
−1
0
0
5
−10 −2
4
−2
−24
z
−4
y
−20 −24
−2 0
0 −2
5
−1
−1
−30 −6 5
−20
0 −1
0 −1
0
6 −15 −15
−5
−5 4 −10 −10
−5
2 −8
−10 0 0 1 2 3 4 5 6
y x x
3.15. PROBLEM SET 6 111
1. Find the local maximum and minimum values and saddle points of the function f (x, y) =
2 2
2xye−x −y
√ √ √ √ √ √ √ √
The critical points are (0, 0), ( 2/2, 2/2), ( 2/2, − 2/2), (− 2/2, 2/2) and (− 2/2, − 2/2)
and at these points, we have
.1
.2
0.1
1
0.2
−0
0
−0
.3 0.
−0 3
−0.2
0.2
−0.2
−0.1
−0
0.2
0.1
.3 0.3
−0.1 0.1
0
z
0
y
0 0 0 0
−0 −0
0.1 .1
.1
0.2 −0.3 .2
0.1
−0
0.3
−0.2
0.2
−0.1
0.1
.3
0.3
−0
−1
−0.2
−0.5
0.2
0
2
2 0.1 −0.1
0
0 −2
−2 −2 −2 −1 0 1 2
y x x
Group 4:
1. Let z = ln(1 + xy).
(a) Find an equation of the tangent plane and the normal line to the surface given by this
function at the point (1, 2, ln 3).
The plane equation is
2 1
(x − 1) + (y − 2) − (z − ln 3) = 0
3 3
The parametric equations of the normal line are
x = 1 + 2t, y = 2 + t, z = ln 3 − 3t
2 1
z = L(x, y) = ln 3 + (x − 1) + (y − 2)
3 3
2. Find the differential of the function.
y x
dz = dx + dy.
1 + xy 1 + xy
112 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
2
Surface of z =ln(1+xy)
1.5
z
0.5
0
3
2
2
1
y 1 0
x
3. If x changes from 1 to 1.01 and y changes from 2 to 1.9, compare the differential dz and the
corresponding change ∆z.
dz ≈ −0.026667, ∆z = −0.02737.
1. Find an equation of the tangent plane and the normal line to the given surface x2 + y3 + z4 = 2
at the point P(1, 0, 1).
The plane equation is
2(x − 1) + 4(z − 1) = 0.
The parametric equations of the normal line are
x = 1 + 2t, y = 0, z = 1 + 4t
Surface of x2+y3+z4=2
1.4
1.2
z
0.8
0.5
0 1
−0.5 0.5
y −1 0
x
1. Find the local maximum and minimum values and saddle points of the function f (x, y) =
−x2 + 6x − y2 + 2y.
The critical point is (3, 1) and at this point, we have
fxx = −2, D = fxx fyy − [ fxy ]2 = 4.
So f has a maximum at (3, 1) and the maximum value of f is f (3, 1) = 10.
1. Find the local maximum and minimum values and saddle points of the function f (x, y) =
x4 + 4x2 (y − 2) + 8(y − 1)2
3.16. LECTURE 18: APPLICATIONS OF EXTREMA 113
2 2 2 2
Surface of z= −x +6x−y +2y Level curves of the function: z = −x +6x−y +2y
4 0 −6
−6 0
3
3 −3
−3
10 3 6
6
3
0
0
5 2 9
3
0
6
1
6
y
9
3
−5 9
0
0
−10 6 3
6
5 −1 3
−3
6 −3
0 4 −6 0 3
0 −6
2 −2
−5 0 0 1 2 3 4 5 6
y x x
The critical points are (2, 0), (0, 1) and (−2, 0) and at these points, we have
fxx = 32, −8, 32
D = fxx fyy − [ fxy ]2
= 256, −128, 256.
So (0, 1) is a saddle point, and f has a minimum at (2, 0) and (−2, 0) with the minimum value
of −8.
Surface of z= x4+4x2(y−2)+8(y−1)2 Level curves of the function: z = x4+4x2(y−2)+8(y−1)2
2 7
4
7
0
300
4
0
1
7
−4
4
200
−4 −7
0
0
−7
100 4
7
z
7 −4
0
0
y
−4
−7
4
0
0
−7
0
4
−4
0
−4
7
−100 −1
0
7
7
2
4
7
5
7
4
0
0 −2
−2 −5 −4 −2 0 2 4
y x x
Common problem for all groups: The volume of a right circular cone with radius r and height
h is V = πr2 h/3. Approximate the change in the volume of the cone when the radius changes from
r = 6.5 to r = 6.6 and the height changes from h = 4.20 to h = 4.15.
∂V ∂V 2πrh πr2
dV =
dr + dh = dr + dh
∂r ∂h 3 3
When the radius changes from r = 6.5 to r = 6.6 and the height changes from h = 4.20 to h = 4.15,
we have
r = 6.5, h = 4.2, dr = 6.6 − 6.5 = 0.1, dh = 4.15 − 4.2 = −0.05
So
2π · 6.5 · 4.2 π · 6.52
∆V ≈ dV = · 0.1 + · (−0.05) ≈ 3.5.
3 3
• Outline:
1. Guidelines for solving optimization
2. Box design
3. Shortest distance
4. Maximizing the product of three numbers with a fixed sum
• Maximizing area. Find the dimensions of the rectangular field of maximum area that can be
made from 200 m of fencing material.
20 m Area = 1600 m2
80 m
30 m Area = 2100 m2
70 m
50 m Area = 2500 m2
50 m
For this simple problem, we may not need calculus to solve it. We can simply draw a number
of rectangles as shown above and find that the square of 50 m by 50 m gives the maximum area.
However, if real problems are more complex, we do need calculus. The following is the procedure
of how to use the maximum and minimum theory of calculus to solve optimization problems.
• Guidelines for solving optimization:
1. Draw diagrams and introduce variables.
2. Identify the quantity Q to be maximized or minimized.
3. Write the primary equation for Q.
4. Write the secondary equation (restraint equation).
3.16. LECTURE 18: APPLICATIONS OF EXTREMA 115
y y
A = xy. (3.6)
1. Write the secondary equation (restraint equation):
2x + 2y = 200 (3.7)
2. Substitute the secondary equation into the primary equation: Solving the equation (3.7) for y,
we get
y = 100 − x
Plugging it into (3.6), we obtain that
A(x) = xy = x(100 − x) = 100x − x2 .
So critical number is
x = 50.
Then
y = 100 − x = 50
2. Evaluate Q at the critical number to obtain the optimal solution: So the field with the maxi-
mum area is the square of 50 m by 50 m and the maximum area is 2500 m2 .
• A card board box without a lid is to have a volume of 32 in3 . Find the dimensions that
minimize the amount of cardboard used.
1. Draw diagrams.
116 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
z
32 in3
2. Substitute the secondary equation into the primary equation: Solving the equation (3.9) for z,
we get
32
z=
xy
Plugging it into (3.8), we obtain that
32 32 64 64
S(x, y) = xy + 2x + 2y = xy + + .
xy xy y x
x3 = 64
x = 4.
Plugging it into the first critical point equation, we get
64
y= =4
x2
Plugging both x and y values into z equation, we get
32
z= =2
xy
3.16. LECTURE 18: APPLICATIONS OF EXTREMA 117
1. Evaluate S at the critical point to obtain the optimal solution: So the box with the minimum
surface area is the one of 4 in by 4 in by 2 in and the minimum area is
S = 42 + 4 · 2 · 4 = 48 in2 .
• Find the shortest distance from the point (1,1,2) to the plane x + y + z = 1.
– Draw diagrams.
0
z
−2 2
0 1
0.5 1 y
1.5 2 0
x
• Substitute the secondary equation into the primary equation: Solving the equation (3.11) for
z, we get
z = 1−x−y
Plugging it into (3.10), we obtain that
d 2 = (x − 1)2 + (y − 1)2 + (x + y + 1)2 .
• Evaluate d at the critical point to obtain the optimal solution: So√ the point on the plane with
the shortest distance is (0, 0, 1) and the shortest distance is d = 3.
• Find three positive numbers whose sum is 100 and whose product is a maximum.
P = xyz. (3.12)
– Write the secondary equation (restraint equation):
x + y + z = 100 (3.13)
– Substitute the secondary equation into the primary equation: Solving the equation (3.13)
for z, we get
z = 100 − x − y
Plugging it into (3.12), we obtain that
100 − 2x − y = 0, 100 − x − 2y = 0
Solving the first equation for y and plugging it into the second equation, we obtain
• Self-test. Find the points on the cone z2 = x2 + y2 that are closet to the point (4, 2, 0).
√ √
Answer key. (2, 1, 5) and (2, 1, − 5)
3.17. LECTURE 19: LAGRANGE MULTIPLIERS 119
f (x, y) = 20
Tangent vector
∇g f (x, y) = 15
P f (x, y) = 10
∇f x
g(x, y) = c
f (x, y) = 5
We plot a number of level curves f (x, y) = 5, 10, 15, 20. It can be seen that the maximum is
achieved when the level curve is tangent to the conditional curve g(x, y) = c at the point P. Since
the both normal vectors ∇g and ∇ f are perpendicular to the same tangent vector, they are on the
same line. So we have the following theorem.
∇ f = λ ∇g. (3.14)
2. Evaluate f at all points from the above solutions and compare them.
120 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
• Example. Find the extreme values of the function f (x, y) = x2 + 2y2 on the circle x2 + y2 = 1.
Compute the gradients:
∇ f (x, y) = h fx , fy i = h2x, 4yi
∇g(x, y) = hgx , gy i = h2x, 2yi
Then solve the system
h2x, 4yi = λ h2x, 2yi, (3.17)
x2 + y2 = 1 (3.18)
that is,
2x = 2λ x (3.19)
4y = 2λ y (3.20)
x + y2 = 1
2
(3.21)
If x = 0, then y = ±1 and λ = 2. If y = 0, then x = ±1 and λ = 1.
Evaluate f at all these solutions:
f (0, 1) = 2, f (0, −1) = 2, f (1, 0) = 1, f (−1, 0) = 1
So the maximum of f on the circle x2 + y2 = 1 is f (0, ±1) = 2 and the minimum of f is f (±1, 0) =
1.
• Definition of Absolute Maximum and Minimum in the case of two variable functions:
f (a, b) is a absolute maximum ( minimum) of f on a domain D if
f (x, y) ≤ f (a, b) ( f (x, y) ≥ f (a, b))
for all (x, y) in the domain D.
10
4
z
−2
−4
1
2
0
1
−1 0
−1
−2 −2
y x
• Example. Find the absolute extrema of the function f (x, y) = x2 + 2y2 on the disk x2 + y2 ≤ 1.
For the previous example, we know that the maximum of f on the circle x2 + y2 = 1 is
f (0, ±1) = 2 and the minimum of f is f (±1, 0) = 1.
Next we find the critical points inside the circle:
fx = 2x = 0, fy = 4y = 0
So the critical point is (0, 0). Evaluate f at the critical point: f (0, 0) = 0.
So the absolute maximum of f on the disk x2 + y2 ≤ 1 is f (0, ±1) = 2 and the absolute
minimum of f is f (0, 0) = 0.
3.18. PROBLEMS SET 7 121
• Exercis. Find the extreme values of the function f (x, y) = x2 + y2 on the line x + 2y − 5 = 0.
Answer key. Minimum of 5 at (1, 2).
z
4 m3
1. A lidless box is to be made with a volume 4 m3 . Find the dimensions of the box that requires
the least amount of cardboard.
Minimize the surface: S = xy + 2xz + 2yz subject to xyz = 4. Solving
∂S 8
= y − 2 = 0,
∂x x
∂S 8
= x− 2 = 0
∂y y
we obtain
x = 2, y = 2, z = 1.
1. Find the shortest distance from the point (2,0,-3) to the plane x + y + z = 1.
Surface of z=1−x−y
−1
z
−2
−3 ←d
1
3
0.5 2
1
y 0 0
x
1. As shipping company handles rectangular boxes provided the sum of the hight and the girth
of the box does not exceed 96 in. (The girth is the perimeter of the smallest side of the box.)
Find the dimensions of the box that meets this condition and has the largest volume.
1. Find the points on the cone z2 = x2 + y2 that are closet to the point (4, 2, 0).
Surface of z2=x2+y2
0 ←d
z
←d
−5
−5
0 5
0
5 −5
x y
∂ d2
= 4x − 8 = 0,
∂x
∂ d2
= 4y − 4 = 0
∂y
we obtain √
x = 2, y = 1, z = ± 5,
√
and the shortest distance is 10.
Group 3:
124 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
1. Find the absolute maximum and minimum values of the function f (x, y) = 2x − x2 + y2 on the
region D = {(x, y) | x ≥ 0, y ≥ 0, x2 + y2 ≤ 4}.
The minimum
√ is 0 at the points (0, 0) and (2, 0), and the maximum is 4.5 at the point
(1/2, 15/2).
1. A lidless box is to be made using 2 m2 of cardboard. Find the dimensions of the box with the
largest possible volume.
100
50
0 ←d
z
←d
−50
−100
−5
5
0 0
5 −5
x y
Group 4:
1. Find the absolute maximum and minimum values of the function f (x, y) = 4 + 2x2 + y2 on
the region D = {(x, y) | |x| ≤ 1, |y| ≤ 1}.
The minimum is 4 at the critical point (0, 0) and the maximum is 7 at the points (1, 1), (−1, 1),
(−1, −1) and (1, −1).
1. Find the dimensions of the rectangular box with largest volume if the total surface area is
given as 64 cm2 .
Maximize the volume: V = xyz subject to 2xy + 2xz + 2yz = 64. Solving
∂V (32y − 2xy2 )(x + y) − (32xy − x2 y2 )
= = 0,
∂x (x + y)2
∂V (32x − 2x2 y)(x + y) − (32xy − x2 y2 )
= =0
∂y (x + y)2
we obtain r
32
x=y=z= .
3
1. Find three positive numbers whose sum is 100 and whose product is a maximum.
Maximize the product: f = xyz subject to x + y + z = 100. Solving
∂f
= −y(2x + y − 100) = 0,
∂x
∂f
= −x(x + 2y − 100) = 0
∂y
we obtain
x = 100/3, y = 100/3, z = 100/3,
and the maximum product is (100/3)3 .
126 CHAPTER 3. CHAPTER 13 FUNCTIONS OF SEVERAL VARIABLES
Chapter 4
• Riemann sum
n
∑ f (xi∗)∆x.
i=1
a
f (x)dx = lim
n→∞
∑ f (xi∗)∆x
i=1
= Area under a curve over [a, b].
• Volume under a surface z = f (x, y) ≥ 0 over the rectangle R = [a, b] × [c, d]:
• Double Riemann sum
m n
∑ ∑ f (xi∗j , y∗i j )∆A.
i=1 j=1
127
128 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
z
z = f (x, y)
∆A
x
Z 3Z 2 Z 3 2
2 1
(x + y )dydx = (xy + y3 ) dx
1 0 1 3 y=0
Z 3
8
= 2x + dx
1 3
3
8 2
= (x + x)
3 1
40
=
3
Z 2Z 3 Z 2 3
2 1 2 2
(x + y )dxdy = x + xy
dy
0 1 20 x=1
Z 2
1 2 2 1 2 2
= 3 + 3y − 1 +y dy
0 2 2
2
2
= (4y + y3 )
3 0
40
=
3
4.1. LECTURE 20: DOUBLE INTEGRALS OVER RECTANGLES 129
ZZ Z bZ d Z dZ b
f (x, y)dA = f (x, y)dydx = f (x, y)dxdy
a c c a
R
1 + x2
ZZ
dA
1 + y2
R
1 + x2 1 + x2
ZZ Z 1Z 2
dA = dxdy
1 + y2 0 0 1 + y2
R
2
x + 13 x3
Z 1
= dy
0 1 + y2
x=0
2 + 83
Z 1
= dy
0 1 + y2
14
= arctan y|10
3
14π
=
12
• Example. Find the volume of the solid under the elliptic paraboloid z = 1 − x2 /4 − y2 /9 and
above the rectangle R = [−1, 1] × [−2, 2].
1
z
0.5
2
−1 0
−0.5 0
0.5 y
1 −2
x
130 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
ZZ
1 − x2 /4 − y2 /9 dA
V =
R
Z 2Z 1
1 − x2 /4 − y2 /9 dxdy
=
−2 −1
Z 2
1
x − x3 /12 − xy2 /9
= x=−1
dy
−2
Z 2
1 − 13 /12 − y2 /9 − −1 − (−1)3 /12 + y2 /9 dy
=
−2
2
= 5y/6 − 2y3 /27 −2
58
=
9
• Average value of a function of single variable
Z b
1
fave = f (x)dx
b−a a
1
ZZ
fave = (4 − x − y) dA
6
R
1 3 2
Z Z
= (4 − x − y) dxdy
6 0 0
1 3
Z 2
= 4x − x2 /2 − xy x=0 dy
6 0
1 3
Z
= [(8 − 2 − 2y)] dy
6 0
1 3
= 6y − y2 0
6
3
=
2
• Self-test. Let R = [0, 2] × [1, 2]. Find the double integral
ZZ
(y + xy−2 )dA
R
Answer key. 4.
4.2. LECTURE 21: DOUBLE INTEGRALS OVER GENERAL REGIONS 131
• Do Exercise 14.2, problems 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47,
49, 51, 53, 55 from the textbook.
• Outline:
1. Fubini’s theorem
2. Volume of a solid
3. Examples
• Additive property:
Z b Z c Z b
f (x)dx = f (x)dx + f (x)dx
a a c
y
g2 (x)
D
R
g1 (x) x
a b
f (x, y) if (x, y) ∈ D
F(x, y) =
0 if (x, y) ∈
/D
132 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
Then
ZZ
f (x, y)dA
D
ZZ ZZ
= f (x, y)dA + 0dA
D R−D
ZZ ZZ
= F(x, y)dA + F(x, y)dA
D R−D
ZZ Z bZ d
= F(x, y)dA = F(x, y)dydx
a c
R
Z b Z g1 (x) Z g2 (x) Z d
= F(x, y)dy + F(x, y)dy + F(x, y)dy dx
a c g1 (x) g2 (x)
Z b Z g1 (x) Z g2 (x) Z d
= 0dy + F(x, y)dy + 0dy dx
a c g1 (x) g2 (x)
Z b Z g2 (x)
= f (x, y)dydx
a g1 (x)
• Fubini’s theorem. If
D = {(x, y) | a ≤ x ≤ b, g1 (x) ≤ y ≤ g2 (x)}
then ZZ Z b Z g2 (x)
f (x, y)dA = f (x, y)dydx
a g1 (x)
D
x4
Z 1
y 1
ZZ
5
dA = dx
x +1 0 2 x5 + 1
D
Z 2
1 1
= du
1 10 u
ln 2
=
10
(x2 +2y)dA, where D is bounded by y = x, y = x3 , x ≥ 0.
RR
• Example. Find the double integral
D
0.8
y=x
0.6
y
0.4 D
0.2
y = x3
0
0 ≤ x ≤ 1, x3 ≤ y ≤ x
y = 2x
134 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
3
y = −x + 3
D
y = 2x
x
1
and the equation of the line through the vertices (1, 2) and (0, 3). is
y = −x + 3
So the domain D can be described by the inequalities
0 ≤ x ≤ 1, 2x ≤ y ≤ −x + 3
h1 (y) D h2 (y)
c
x
2
x = y2
x = y+2
D x
−1
−1 ≤ y ≤ 2, y2 ≤ x ≤ y + 2
0 ≤ x ≤ 1, x≤y≤1
136 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
2 2
Surface of z=x +3y
z
1
0
0 D 0.5
1
0.5
0 1
y
x
y=1
D y=x
x
1
• Exercise. Find the volume of the solid under the surface z = 1 + x2 y2 and above the region
enclosed by x = y2 and x = 4.
Surface of z=1+x2 y2
80
60
40
z
20
2
0
0 D 0
2
4 −2
y
x
Answer key,
Z 2Z 4
2336
ZZ
2 2
V= (1 + x y )dA = (1 + x2 y2 )dxdy =
−2 y2 27
D
2. Find the volume of the solid in the first octant bounded by the cylinder z = 16 − x2 and the
plane y = 5.
Group 2:
1. Calculate the double integrals:
138 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
y
D = {(x, y) | 0 ≤ x ≤ 1, 0 ≤ y ≤ x2 }.
RR
(a) 1+x5
dA,
D
RR
(b) xydA, D is enclosed by the curves x = 0, y = 2x + 1 and y = 5 − 2x.
D
RR 2
(c) y dA, D is enclosed by the curves y = 1, y = 1 − x, and y = x − 1.
D
2. Find the volume of the solid enclosed by the paraboloid z = x2 + 3y2 and the planes x = 0, y =
1, y = x, z = 0
Group 3:
2. Find the volume of the solid enclosed by the surface z = 1 + ex sin y and the planes x = 1, x =
−1, y = 0, y = π, and z = 0.
Group 4:
(x2 + xy)dA,
RR
(a) R = [1, 2] × [−1, 1].
R
RR
(b) 2ydA, D is enclosed by the curves x = 1, y = 2x + 2 and y = −x − 1.
D
2. Find the volume of the solid above the parabolic region R = {(x, y) : 0 ≤ x ≤ 1, 0 ≤ y ≤ 1−x2 }
and between the places z = 1 and z = 2 − y.
Answer Keys
Group 1:
ZZ Z 2 Z 2
−1 −1
(sin(πy) + xy )dA = (sin(πy) + xy )dy dx
0 1
R
2
= 2 ln 2 −
π
4.3. PROBLEMS SET 8 139
10
y
4
D
2
0
0 0.5 1 1.5 2 2.5 3
x
ZZ Z 3 Z 3x
(1 + x + y)dA = (1 + x + y)dy dx
0 x2
D
549
=
20
RR √
1. 12ydA, D is enclosed by the curves y = 2 − x, y = x, and y = 0.
D
0.8
0.6
D
y
0.4
0.2
0
0 0.5 1 1.5 2
x
ZZ Z 1 Z 2−y
12ydA = 12ydx dy
0 y2
D
= 5
1. Find the volume of the solid in the first octant bounded by the cylinder z = 16 − x2 and the
plane y = 5.
ZZ
V = (16 − x2 )dA
D
Z 5 Z 4
2
= (16 − x )dx dy
0 0
= 640/3
140 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
2
Surface of z=16−x
20
15
10
z
5
0
5
4
2
y 0 0
x
Group 2:
1. Calculate the double integrals:
y
D = {(x, y) | 0 ≤ x ≤ 1, 0 ≤ y ≤ x2 }.
RR
(a) 1+x5
dA,
D
Z 1 Z x2
!
y y
ZZ
dA = dy dx
1 + x5 0 0 1 + x5
D
ln 2
=
10
RR
1. xydA, D is enclosed by the curves x = 0, y = 2x + 1 and y = 5 − 2x.
D
3 D
y
1
0 0.2 0.4 0.6 0.8 1
x
ZZ Z 1 Z 5−2x
xydA = xydy dx
0 2x+1
D
= 2
RR 2
1. y dA, D is enclosed by the curves y = 1, y = 1 − x, and y = x − 1.
D
ZZ Z 1 Z 1+y
2 2
y dA = y dx dy
0 1−y
D
= 1/2
4.3. PROBLEMS SET 8 141
0.8
0.6
D
y
0.4
0.2
0
0 0.5 1 1.5 2
x
Surface of z=x2+3y2
1
0.8 4
D
3
0.6
2
z
y
0.4 1
0
0.2 1
D
0
0.5
0 0.5
0 0.2 0.4 0.6 0.8 1 0 1
x x y
1. Find the volume of the solid enclosed by the paraboloid z = x2 + 3y2 and the planes x = 0, y =
1, y = x, z = 0
ZZ
V = (x2 + 3y2 )dA
D
Z 1 Z 1
2 2
= (x + 3y )dy dx
0 x
= 5/6
Group 3:
1. Calculate the double integrals:
RR
(a) (x + cos(πy))dA, R = [1, 3] × [1, 2].
R
ZZ Z 3 Z 2
(x + cos(πy))dA = (x + cos(πy))dy dx
0 1
R
= 4
ZZ Z 2 Z 8−x2
!
(x + y)dA = (x + y)dy dx
−2 x2
D
256
=
3
142 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
4 D
y
2
0
−2 −1 0 1 2
x
1.5
0.5 D
y
−0.5
−1
0 1 2 3 4
x
ZZ Z 2 Z 4−y2
!
3xydA = 3xydx dy
−1 2−y
D
= 81/8
1. Find the volume of the solid enclosed by the surface z = 1 + ex sin y and the planes x = 1, x =
−1, y = 0, y = π, and z = 0.
Surface of z=1+ex sin y
2
z
0
4
1
2
0
y 0 −1
x
ZZ
V = (1 + ex sin y)dA
D
Z π Z 1
x
= (1 + e sin y)dx dy
0 −1
= 2π + 2(e − e−1 ).
4.3. PROBLEMS SET 8 143
Group 4:
1. Calculate the double integrals:
(x2 + xy)dA,
RR
(a) R = [1, 2] × [−1, 1].
R
ZZ Z 2 Z 1
2
(x + cos(πy))dA = (x + xy)dy dx
1 −1
R
14
=
3
RR
1. 2ydA, D is enclosed by the curves x = 1, y = 2x + 2 and y = −x − 1.
D
1
y
D
0
−1
−2
−1 −0.5 0 0.5 1
x
ZZ Z 1 Z 2x+2
2ydA = xydy dx
−1 −x−1
D
= 8
2 D
y
0
−2 −1 0 1 2
x
ZZ Z 4 Z y/2
2 2
3x dA = 3x dx dy
0 y−2
D
= 8
144 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
Surface of z=2−y
1
0.8 2
1.5
0.6
1
z
y
0.4 D 0.5
0
0.2 1 D
1
0.5
0 0.5
0 0.2 0.4 0.6 0.8 1 0 0
x y x
1. Find the volume of the solid above the parabolic region R = {(x, y) : 0 ≤ x ≤ 1, 0 ≤ y ≤ 1−x2 }
and between the places z = 1 and z = 2 − y.
ZZ ZZ
V = (2 − y)dA − dA
D D
Z 1 Z 1−x2
! Z 1 Z 1−x2
!
= (2 − y)dy dx − dy dx
0 0 0 0
= 2/5
It is not convenient to use the rectangular coordinates to calculate this double integral. If the
boundary of a domain can be described polar equations such as a circle or a part of a circle, it
is the time to use the polar coordinates to greatly simplify the calculations.
4.4. LECTURE 22: DOUBLE INTEGRALS IN POLAR COORDINATES PART 1 145
D b
a
α β x
• Example. Find the volume of the solid below the paraboloid z = 18 − 2x2 − 2y2 and above
the xy-plane.
0
z
4
2
−50
−4 0
−2
0 −2 y
2
x 4 −4
18 − 2x2 − 2y2 = 0
0 D
y
−2
−3 −2 −1 0 1 2 3
x
0 ≤ r ≤ 3, 0 ≤ θ ≤ 2π
4.4. LECTURE 22: DOUBLE INTEGRALS IN POLAR COORDINATES PART 1 147
40
20
z
0
2
−20 0
−2
0 −2 y
2
x
2
D
0≤r≤3
0 0 ≤ θ ≤ 2π
y
−2
−3 −2 −1 0 1 2 3
x
D = {(r, θ ) | α ≤ θ ≤ β , h1 (θ ) ≤ r ≤ h2 (θ )}
ZZ Z β Z h2 (θ )
f (x, y)dA = f (r cos θ , r sin θ )rdrdθ
α h1 (θ )
D
ZZ
• Example. Find xdA, where D is the region in the first quadrant that lies between the circles
D
x2 + y2 = 4 and x2 + y2 = 2x.
The polar equation for the circle x2 + y2 = 4 is r = 2 and the polar equation for the circle
x2 + y2 = 2x is
r2 = 2r cos θ , or r = 2 cos θ
So, in the polar coordinates, the domain D can be described by the inequalities
0 ≤ θ ≤ π/2, 2 cos θ ≤ r ≤ 2
150 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
x2 + y2 = 4 or r = 2
D 2
r
x
x 2 + y2 = 2x or r = 2 cos θ
• Area of the region D bounded by two curves y = f (x), y = g(x) ( f (x) ≥ g(x)), and two lines
x = a, x = b (a ≤ b):
Z b
A(D) = [ f (x) − g(x)]dx.
a
• Double integral formula for the area of the region D bounded by two curves y = f (x), y = g(x)
( f (x) ≥ g(x)), and two lines x = a, x = b (a ≤ b):
ZZ Z b Z f (x) Z b
A(D) = dA = dx dy = [ f (x) − g(x)]dx
a g(x) a
D
4.5. LECTURE 23: DOUBLE INTEGRALS IN POLAR COORDINATES - PART 2 151
• Area of the region enclosed by a polar curve r = h(θ ) and the rays θ = α and θ = β :
1 2
Z β
A= h (θ )dθ .
α 2
• Double integral formula for the Area of the region enclosed by a polar curve r = h(θ ) and
the rays θ = α and θ = β :
Z β Z h(θ )
1
ZZ Z β
A(D) = dA = rdrdθ = [h(θ )]2 dθ
α 0 α 2
D
• Example. Use a double integral to find the area of the region inside the circle (x − 1)2 + y2 = 1
and outside the circle x2 + y2 = 1.
π rD x
3
x2 + y2 = 1 or r = 1 (x − 1)2 + y2 = 1 or r = 2 cos θ
The polar equation for the circle x2 + y2 = 1 is r = 1 and the polar equation for the circle
(x − 1)2 + y2 = 1 is
π
2 cos θ = 1, or θ =
3
So, in the polar coordinates, the domain D can be described by the inequalities
1 2 2 cos θ
Z π/3
= r dθ
−π/3 2 1
1
Z π/3
= [(2)2 cos2 θ − 1]dθ
−π/3 2
1 π/3 1 + cos(2θ )
Z
= 4 − 1 dθ
2 −π/3 2
1 π/3
Z
= [1 + 2 cos(2θ )] dθ
2 −π/3
1 π/3
= [θ + sin(2θ )]−π/3
2√
3 π
= +
2 3
√
2p
• Exercise. Find the iterated integral 02 0 2x−x x2 + y2 dydx by converting it to polar coor-
R R
dinates.
Answer key.
Z 2 Z √2x−x2 p Z π/2 Z 2 cos θ
16
x2 + y2 dydx = r2 drdθ =
0 0 0 0 9
• Do Exercise 14.5, problems 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37
from the textbook.
• Outline:
• Projection of a rectangle.
4.6. LECTURE 24: SURFACE AREA 153
b
θ
a
n ∆T
nt
θ α at ∆A b
θ
a
|n||nt |
∆T = ∆A
n · nt
• The normal vector of the tangent plane to the surface z = f (x, y) is n = h− fx , − fy , 1i.
• Tangent plane approximation.
z
n = h0, 0, 1i z = f (x, y)
nt = h− fx , − fy , 1i
∆T
∆S
y
∆A
x
So p
|n||nt | 1· [ fx (x, y)]2 + [ fy (x, y)]2 + 1
∆S ≈ ∆T = ∆A = ∆A
n · nt 1
• The area of the surface z = f (x, y), (x, y) ∈ D is
ZZ q
A(S) = [ fx (x, y)]2 + [ fy (x, y)]2 + 1dA
D
• Example. Find the area of the part of the plane z = 2 + 3x + 4y that lies above the rectangle
[0, 5] × [1, 4].
20
z
4
0
2 2 y
4
x
So
ZZ q
A(S) = [ fx (x, y)]2 + [ fy (x, y)]2 + 1dA
D
ZZ q
= [3]2 + [4]2 + 1dA
D
Z 5Z 4√
= 26dydx
0 1
√
= 15 26
• Example. Find the area of the surface z = 1+3x+2y2 that lies above the triangle with vertices
(0,0), (0,1), and (2,1).
10
z
2
0
0 1
1 y
2
x 3 0
y
y=1
1
0 ≤ x ≤ 2y
0≤y≤1 y = x/2
D
x
0 2
So
ZZ q
A(S) = [ fx (x, y)]2 + [ fy (x, y)]2 + 1dA
D
ZZ q
= [3]2 + [4y]2 + 1dA
D
Z 1 Z 2y q
= 10 + [4y]2 dxdy
0 0
Z 1
q
= 2y 10 + [4y]2 dy (Set u = 10 + [4y]2 )
0
1 26 √ 1 3/2
Z
= udu = 26 − 103/2
16 10 24
• Example. Find the area of the part of the paraboloid z = 4 − x2 − y2 that lies above the xy-
plane.
0
z
−10
2
0
−2
0 −2 y
2
x
2
0≤r≤2
0 ≤ θ ≤ 2π x
4 − x2 − y2 = 0
0 ≤ θ ≤ 2π, 0≤r≤2
156 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
So
ZZ q
A(S) = [ fx (x, y)]2 + [ fy (x, y)]2 + 1dA
D
ZZ q
= [−2x]2 + [−2y]2 + 1dA
D
Z 2π Z 2 p
= (Set u = 1 + 4r2 )
1 + 4r2 rdrdθ
0 0
1 2π 17 √
Z Z
π 3/2
= ududθ = 17 − 1
8 0 1 6
• Exercise. Find the area of the sphere x2 + y2 + z2 = 4 that lies above the plane z = 1.
Answer key.
Z 2π Z √3
2
A(S) = √ rdrdθ (Set u = 4 − r2 )
0 0 4 − r2
= 4π
2. Find the volume of the solid bounded by the paraboloid z = 8 − x2 − 3y2 and the hyperbolic
paraboloid z = x2 − y2 .
3. Find the area of the potion of the paraboloid z = 16 − x2 − y2 in the first octant.
√
R 4 R 16−y2
4. Evaluate the integral by converting to polar coordinates: −4 0 (16 − x2 − y2 )dxdy
Group 3:
RR 2
1. Calculate the double integrals x ydA, D is the top half of the disk with center the origin
D
and radius 5.
4.7. PROBLEMS SET 9 157
2. Find the volume of the solid bounded by the hyperboloid −x2 − y2 + z2 = 1 and the plance
z = 2.
3. Find the area of the potion of the sphere x2 + y2 + z2 = 25 inside the cylinder x2 + y2 = 9.
R 1 R √2−y2
4. Evaluate the integral by converting to polar coordinates: 0 y (x + y)dxdy
Group 4:
RR −x2 −y2 p
1. Calculate the double integrals e dA, D is enclosed by the semicircle x = 4 − y2 and
D
the y-axis.
p
2. Find the volume of the solid above the cone z = x2 + y2 and below the sphere x2 + y2 + z2 =
1.
p
3. Find the area of the potion of the cone z = 2 x2 + y2 inside the cylinder x2 + y2 = 4.
R 2 R √2x−x2 p
4. Evaluate the integral by converting to polar coordinates: 0 0 x2 + y2 dydx
Answer Keys
Group 1:
y2
D is the region that lies between the circles x2 +
RR
1. Calculate the double integrals x2 +y2
dA,
D
y2 = 1 and x2 + y2 = 9.
0 D
y
−1
−2
−3
−2 0 2
x
y2
ZZ Z 2π Z 3
2
dA = r sin (θ )dr dθ
x2 + y2 0 1
D
= 4π.
p
1. Find the volume of the solid under the cone z = x2 + y2 and above the disk x2 + y2 ≤ 4.
ZZ p
V = x2 + y2 dA
D
Z 2π Z 2
2
= r dr dθ
0 0
= 16π/3.
158 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
2 2 1/2
Surface of z=(x +y )
2.5
2
1.5
z
1
0.5
2
D 2
0
0
y −2 −2
x
Surface of z= 12−3x−2y
6
5
10
4
z
y
5
2
0 D
1
5 D 4
2 0
0 0 0 1 2 3 4
y x x
1. Find the area of the potion of the plane z = 12 − 3x − 2y in the first octant.
Since
∂z
= −3
∂x
∂z
= −2,
∂x
we have
s
∂z 2
2
∂z
ZZ
S = 1+ + dA
D ∂x ∂y
ZZ q
= 1 + (−3)2 + (−2)2 dA
D
√ Z 4 Z (12−3x)/2
= 14 dy dx
0 0
√
= 12 14.
R 3 R √9−x2
1. Evaluate the integral by converting to polar coordinates: −3 0 cos(x2 + y2 )dydx
Z 3 Z √9−x2 ZZ
cos(x2 + y2 )dydx = cos(x2 + y2 )dA
−3 0
D
Z π Z 3
= r cos(r)dr dθ
0 0
= π(cos(3) + 3 sin(3) − 1).
Group 2:
4.7. PROBLEMS SET 9 159
2
D
y
1
0
−3 −2 −1 0 1 2 3
x
p
xy2 dA, D is enclosed by x = 0 and x = 1 − y2 .
RR
1. Calculate the double integrals
D
0.5
0 D
y
−0.5
−1
0.5 1
x
ZZ Z π/2 Z 1
2 4 2
xy dA = r cos(θ ) sin (θ )dr dθ
−π/2 0
D
= 2/15.
1. Find the volume of the solid bounded by the paraboloid z = 8 − x2 − 3y2 and the hyperbolic
paraboloid z = x2 − y2 .
Surface of z=8−x2−3y2
8
6
4
z
2
2
0 D
2 0
0
−2 −2 x
y
ZZ
V = (8 − x2 − 3y2 − (x2 − y2 ))dA
D
Z 2π Z 2
2
= (8 − 2r )rdr dθ
0 0
= 16π.
160 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
1. Find the area of the potion of the paraboloid z = 16 − x2 − y2 in the first octant.
Surface of z=16−x2−y2
4
15 3
10
2
y
z
5
D
0 1
4
D 4
2 3
2 0
1 0.5 1 1.5 2 2.5 3 3.5 4
y 0
x x
Since
∂z
= −2x
∂x
∂z
= −2y,
∂x
we have
s
∂z 2
2
∂z
ZZ
S = 1+ + dA
D ∂x ∂y
ZZ q
= 1 + (−2x)2 + (−2y)2 dA
D
Z π/2 Z 4 p
= r 1 + 4r2 dr dθ
0 0
√
= π(65 65 − 1)/24.
√
R4 R 16−y2
1. Evaluate the integral by converting to polar coordinates: −4 0 (16 − x2 − y2 )dxdy
0 D
y
−2
−4
1 2 3 4
x
Z 4 Z √16−y2 ZZ
2 2
(16 − x − y )dxdy = (16 − x2 − y2 )dA
−4 0
D
Z π/2 Z 4
2
= (16 − r )rdr dθ
−π/2 0
= 64π.
4.7. PROBLEMS SET 9 161
Group 3:
RR 2
1. Calculate the double integrals x ydA, D is the top half of the disk with center the origin
D
and radius 5.
3
D
y
2
0
−5 0 5
x
ZZ Z π Z 5
2 4 2
x ydA = r cos (θ ) sin(θ )dr dθ
0 0
D
= 1250/3.
1. Find the volume of the solid bounded by the hyperboloid −x2 − y2 + z2 = 1 and the plance
z = 2.
Surface of z2=1+x2+y2
2
z
0
1 D
0 1
0
−1 −1
y x
ZZ p
V = (2 − 1 + x2 + y2 )dA
D
Z √3
Z 2π
!
p
= (2 − 1 + r2 )rdr dθ
0 0
= 4π/3.
1. Find the area of the potion of the sphere x2 + y2 + z2 = 25 inside the cylinder x2 + y2 = 9.
162 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
Surface of x2+y2+z2=25
2
5
4 1
3
0 D
y
z
2
1 −1
0
2 D −2
0 2
0
−2 −2 −2 −1 0 1 2 3
y x x
Since
∂z x
= −p
∂x 25 − x2 − y2
∂z y
= −p ,
∂x 25 − x2 − y2
we have
s
∂z 2
2
∂z
ZZ
S = 2 1+ + dA
D ∂x ∂y
v !2 !2
ZZ u u
t1 + − p x y
= 2 + −p dA
D 25 − x2 − y2 25 − x2 − y2
Z 2π Z 3
5r
= 2 √ dr dθ
0 0 25 − r2
= 20π.
R 1 R √2−y2
1. Evaluate the integral by converting to polar coordinates: 0 y (x + y)dxdy
0.8
0.6
y
0.4
D
0.2
0
0 0.5 1
x
Z 1 Z √2−y2 ZZ
(x + y)dxdy = (x + y)dA
0 y
D
Z √2
Z π/4
!
= (cos(θ ) + sin(θ ))r2 dr dθ
0 0
√
= 2 2/3.
4.7. PROBLEMS SET 9 163
Group 4:
RR −x2 −y2 p
1. Calculate the double integrals e dA, D is enclosed by the semicircle x = 4 − y2 and
D
the y-axis.
0 D
y
−1
−2
0.5 1 1.5 2
x
ZZ Z π Z 2
−x2 −y2 −r2
e = re dr dθ
0 0
D
= −π(exp(−4) − 1)/2.
p
1. Find the volume of the solid above the cone z = x2 + y2 and below the sphere x2 + y2 + z2 =
1.
Surface of z2=1−x2−y2
0.5
z
0
0.5 D
0.5
0
0
−0.5 −0.5
y x
ZZ p p
V = 1 − x2 − y2 − x2 + y2 dA
D
Z √1/2 p
Z 2π
!
= 1 − r2 − r rdr dθ
0 0
√
= π 2 − 2 /3.
p
1. Find the area of the potion of the cone z = 2 x2 + y2 inside the cylinder x2 + y2 = 4.
164 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
Surface of z=2(x2+y2)1/2
1.5
4
1
3 0.5
2 0 D
y
z
1 −0.5
0 −1
1 D 2 −1.5
0 1
−1 0
−1 −1 0 1 2
y x x
Since
∂z 2x
= p
∂x x2 + y2
∂z 2y
= p ,
∂x x2 + y2
we have
s
∂z 2
2
∂z
ZZ
S = 1+ + dA
D ∂x ∂y
v !2 !2
ZZ u
t1 + p 2x 2y
u
= + p dA
D x2 + y2 x2 + y2
√ Z 2π Z 2
= 5 rdr dθ
0 0
√
= 4π 5.
0.5 D
y
0
0 0.5 1 1.5 2
x
Z 2 Z √2x−x2 p ZZ p
x2 + y2 dydx = x2 + y2 dA
0 0
D
Z π/2 Z 2 cos(θ )
2
= r dr dθ
0 0
= 16/9.
4.8. LECTURE 25: TRIPLE INTEGRALS 165
• Fubini’s Theorem for Double Integrals. Let R = [a, b] × [c, d]. Then
ZZ Z bZ d Z dZ b
f (x, y)dA = f (x, y)dydx = f (x, y)dxdy
a c c a
R
• Fubini’s Theorem for Triple Integrals. Let B = [a, b] × [c, d] × [r, s]. Then
ZZZ Z sZ dZ b
f (x, y, z)dA = f (x, y, z)dxdydz
r c a
B
y
g2 (x)
D
R
g1 (x) x
a b
Then ZZ Z b Z g2 (x)
f (x, y)dA = f (x, y)dydx
a g1 (x)
D
• Triple integral of f over the general region of type I. Let E = {(x, y, z) | (x, y) ∈ D, u1 (x, y) ≤
z ≤ u2 (x, y)} where D is the projection of E onto the xy-plane.
Then ZZZ ZZ Z u2 (x,y)
f (x, y, z)dV = f (x, y, z)dz dA
u1 (x,y)
E D
RRR
• Example. Find E sin ydV where E lies below the plane z = x and above the triangular
region with vertices (0, 0, 0), (π, 0, 0), and (0, π, 0).
The solid E is described by
(x, y) ∈ D, 0≤z≤x
4.8. LECTURE 25: TRIPLE INTEGRALS 167
z z = u2 (x, y)
z = u1 (x, y)
y
x D
z y
y = π −x
z=x y D x
D 0 π
x
• Example. Find the volume of the solid between the sphere x2 + y2 + z2 = 19 and the hyper-
boloid z2 − x2 − y2 = 1 for z > 0.
168 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
z
2
2
0
−2
0 −2 y
2
x
The domain D is the disk bounded by the intersection of the sphere x2 + y2 + z2 = 19 and the
hyperboloid z2 − x2 − y2 = 1. To find the intersection equation, we solve the hyperboloid equation
for z2 to obtain
z2 = 1 + x2 + y2
x2 + y2 + 1 + x2 + y2 = 19
or
x2 + y2 = 9
3
0≤r≤3
0 ≤ θ ≤ 2π x
0 ≤ θ ≤ 2π, 0≤r≤3
4.9. LECTURE 26: TRIPLE INTEGRALS - PART 2 169
• Triple integral of f over the general region of type II. Let E = {(x, y, z) | (y, z) ∈ D u1 (y, z) ≤
x ≤ u2 (y, z)} where D is the projection of E onto the yz-plane.
x = u1 (y, z)
x = u2 (y, z)
x
170 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
Then
ZZZ ZZ Z u2 (y,z)
f (x, y, z)dV = f (x, y, z)dx dA
u1 (y,z)
E D
0
z
1
−1
0
1
2 y
3
x 4 −1
The domain D is the disk bounded by the intersection of the paraboloid x = 4y2 + 4z2 and the
plane x = 4:
4y2 + 4z2 = 4
or
y2 + z2 = 1
1
0≤r≤1
0 ≤ θ ≤ 2π y
0 ≤ θ ≤ 2π, 0≤r≤1
4.9. LECTURE 26: TRIPLE INTEGRALS - PART 2 171
D
y = u1 (x, z) y = u2 (x, z)
y
Then
ZZZ ZZ Z u2 (x,z)
f (x, y, z)dV = f (x, y, z)dy dA
u1 (x,z)
E D
RRR √
• Example. Find E x2 + z2 dV where E is the region bounded by the paraboloid y = x2 + z2
and the plane y = 4.
0
z
4
−2
−2 2
−1 y
0
1
x 2
172 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
The domain D is the disk bounded by the intersection of the paraboloid y = x2 + z2 and the
plane y = 4:
x2 + z2 = 4
2
0≤r≤2
0 ≤ θ ≤ 2π x
(x, z) ∈ D, x2 + z2 ≤ y ≤ 4
0 ≤ θ ≤ 2π, 0≤r≤2
4
D
0≤r≤4
x
2
z
D
0
2
1 y
2
3
x 0
4
D
0≤r≤4
y
Thus,
Z 4 Z √16−x2 Z √16−x2 −z2 Z 4 Z √16−z2 Z √16−y2 −z2
dydzdx = dxdydz
0 0 0 0 0 0
• Exercise. Find the volume of the solid enclosed by the paraboloids y = x2 + z2 and y =
8 − x 2 − z2 .
174 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
D
2
z
0
0 2
1 y
2
3
x
Answer key.
ZZZ Z 2π Z 2
V= dV = (8 − 2r2 )rdrdθ = 16π
E 0 0
2. Find the volume of the solid enclosed by the cylinder x2 + z2 = 4 and the planes y = −1 and
y + z = 4.
Group 4:
1. Calculate the triple integrals:
RRR
(a) B dV , where B = [0, 1] × [0, 2] × [0, 3].
where E = {(x, y, z) | 0 ≤ z ≤ 2, 0 ≤ y ≤ z2 , 0 ≤ x ≤ y − z.
RRR
(b) E (2x − y)dV ,
where E is bounded by the cylinder y2 + z2 = 9 and the plane x = 0, y = 3x and
RRR
(c) E zdV ,
z = 0 in the first octant.
2. Find the volume of the wedge bounded by the parabolic cylinder y = x2 and the plane z = 3−y
and z = 0.
Answer Keys
Group 1:
1. Calculate the triple integrals:
RRR
(a) B xdV , where B = [0, 1] × [0, 2] × [0, 3].
ZZZ Z 1Z 2Z 3
xdV = xdzdydx = 3.
B 0 0 0
RRR
(b) E ydV , where E = {(x, y, z) | 0 ≤ x ≤ 3, 0 ≤ y ≤ x, x − y ≤ z ≤ x + y.
ZZZ Z 3 Z x Z x+y
ydV = ydzdydx = 27/2.
E 0 0 x−y
RRR
1. √ the plane z = 1 + x + y and above the region in the xy-plane
E 6xydV , where E lies under
bounded by the curves y = x, y = 0, and x = 1.
ZZZ ZZ Z 1+x+y
6xydV = 6xydzdA
E D 0
Z 1 Z √x Z 1+x+y
= 6xydzdydx
0 0 0
= 65/28.
Surface of z= 1+x+y
1
3
0.8
2
0.6
z
1 0.4
D
0.2
0
1 D 1
0.5 0.5 0
0 0 0 0.2 0.4 0.6 0.8 1
y x x
176 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
1. Find the volume of the tetrahedron enclosed by the coordinate planes and the plane 2x + y +
z = 4.
ZZZ ZZ Z 4−2x−y
V= dV = dzdA
E D 0
Z 2 Z 4−2x Z 4−2x−y
= dzdydx
0 0 0
= 16/3.
Surface of z=4−2x − y
4
4
3
2
0 2
y
z
D
−2
1 D
−4
4
2
2 1 0
0 0 0 0.5 1 1.5 2
y x x
Group 2:
ZZZ Z 1Z 2Z 3
ydV = ydzdydx = 6.
B 0 0 0
RRR
(b) E (x + y + z)dV , where E = {(x, y, z) | 0 ≤ y ≤ 1, y ≤ x ≤ 1, 0 ≤ z ≤ xy.
ZZZ Z 1 Z 1 Z xy
(x + y + z)dV = (x + y + z)dzdxdy = 7/36.
E 0 y 0
ZZZ ZZ Z x+y
xydV = xydzdA
E D 0
Z 1 Z √x Z x+y
= xydzdydx
0 x2 0
= 3/28.
p
1. Find the volume of the solid bounded by below by the cone z = x2 + y2 and bounded above
4.10. PROBLEMS SET 10 177
Surface of z= x+y
1
2 0.8
1.5
0.6
1
y
D
0.5 0.4
0
1 D 0.2
1
0.5
0.5 0
0 0 0 0.2 0.4 0.6 0.8 1
y x x
by the sphere x2 + y2 + z2 = 8.
ZZZ
V = dV
E
ZZ Z √8−r2
= dzdA
D r
Z 2π Z 2 Z √8−r2
= rdzdrdθ
0 0 r
√
= 32π( 2 − 1)/3.
2 2 2
Surface of x +y +z = 8
2
1
2
0 D
y
z
0 −1
D
1 2
0 1
−1 0 −2
−1 −2 −1 0 1 2
y x x
Group 3:
1. Calculate the triple integrals:
RRR
(a) B zdV , where B = [0, 1] × [0, 2] × [0, 3].
ZZZ Z 1Z 2Z 3
zdV = zdzdydx = 9.
B 0 0 0
RRR
(b) E 2ydV , where E = {(x, y, z) | 0 ≤ y ≤ 4, y ≤ z ≤ 4, 0 ≤ x ≤ z.
ZZZ Z 4Z 4Z z
2ydV = 2ydxdzdy = 64.
E 0 y 0
Surface of x = y2+z2
2
4
1
3
2 0 D
z
x
1
0 −1
2
D 2
0
0 −2
−2 −2 −2 −1 0 1 2
z y y
1. Find the volume of the solid enclosed by the cylinder x2 + z2 = 4 and the planes y = −1 and
y + z = 4.
ZZZ
V = dV
E
Z Z 4−r sin(θ )
= dxdA
D −1
Z 2π Z 2 Z 4−r sin(θ )
= rdxdrdθ
0 0 −1
= 20π.
Surface of y = 4−z
2
6
1
4
D
y
0
z
0
D −1
2
2
0
0 −2
−2 −2 −2 −1 0 1 2
z x x
Group 4:
ZZZ Z 1Z 2Z 3
xdV = dzdydx = 6.
B 0 0 0
where E = {(x, y, z) | 0 ≤ z ≤ 2, 0 ≤ y ≤ z2 , 0 ≤ x ≤ y − z.
RRR
(b) E (2x − y)dV ,
ZZZ Z 2 Z z2 Z y−z
(2x − y)dV = (2x − y)dxdydz = 16/15.
E 0 0 0
Surface of y = 3x
3
1 2.5
0.5
x
1.5
z
1 D
0
3 D 0.5
2 0
1 1
2 0
3 0.5 1 1.5 2 2.5 3
y z y
1. Find the volume of the wedge bounded by the parabolic cylinder y = x2 and the plane z = 3−y
and z = 0.
ZZZ
V = dV
E
Z Z 3−y
= dzdA
D 0
Z 3 Z √y Z 3−y
= √ dzdxdy
0 − y 0
√
= 24 3/5.
Surface of z= 3−y
3
2.5
3
2
2
D
z
1.5
y
1
1
0
3 D 0.5
2 1
1 0 0
−1 −1.5 −1 −0.5 0 0.5 1 1.5
y 0
x x
P(r, θ )
r
θ
O
Polar axis x
Pole
(x, y, z)
P (r, θ , z)
y
r
x
θ
x y
• Example. Find E x2 dV , where E is the solid that lies within the cylinder x2 + y2 = 1, above
RRR
z 1
0
0
−1
0 y
1 −1
x
x2 + y2 = 1
1
0≤r≤1
0 ≤ θ ≤ 2π x
p
(x, y) ∈ D, 0≤z≤ 4x2 + 4y2
0 ≤ θ ≤ 2π, 0≤r≤1
182 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
5
z
0 2
−2 0
0 y
2 −2
x
D 2
1≤r≤2
0 ≤ θ ≤ 2π 1
x
0 ≤ θ ≤ 2π, 1≤r≤2
(x, y) ∈ D, 0≤z≤1
184 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
p
x= 1 − y2
1
D
0.5
z
√
x= 3y
0 0.4
0 0.2
0.2 0.4 0.6 y
0.8 1 0
x
0≤r≤1 1
π/6 D x
0 ≤ θ ≤ π/6, 0≤r≤1
1. Spherical coordinates
2. Triple integral formula in spherical Coordinates
3. Examples
• Spherical coordinates P(ρ, θ , φ ) of a point P.
ρ ≥ 0, 0≤φ ≤π
• Conversion between spherical and rectangular coordinates. From the figure, we can see that
r = ρ sin φ , z = ρ cos φ , x = r cos θ , y = r sin θ .
So
x = ρ cos θ sin φ , y = ρ sin θ sin φ , z = ρ cos φ
From the figure, we can also see that
x2 + y2 = r2 , r2 + z2 = ρ 2 .
So y z z
ρ 2 = x2 + y2 + z2 , tan θ = , cos φ = =p .
x ρ x + y2 + z2
2
• Example. Plot the point with spherical coordinates (3, π/2, 3π/4) and find its rectangular
coordinates.
√
• Example. Find the spherical coordinates of the point with the rectangular coordinates (−1, 1, − 2).
• Example. Describe the surface given by the spherical equation:
θ = π/4 ρ = 2, φ = π/3, ρ = sin θ sin φ
and then
tan φ = ±1.
So
π 3π
, . φ=
4 4
p
• Example. A solid lies above the cone z = x2 + y2 and below the sphere x2 + y2 + z2 = z.
Write a description of the solid in terms of inequalities involving spherical coordinates.
Surface of x2+y2+z2 = z
0.5
z
0
0.5
0.5
0
0
y −0.5 −0.5
x
Then
ZZZ
f (x, y, z)dV
E
Z dZ βZ b
= f (ρ cos θ sin φ , ρ sin θ sin φ , ρ cos φ )ρ 2 sin φ dρdθ dφ
c α a
2 + y2 + z2 )dV ,
RRR
• Example. Find B (x where B is
1. the ball with radius 2 and center at the origin: x2 + y2 + z2 ≤ 4,
4.13. LECTURE 29: TRIPLE INTEGRALS IN SPHERICAL COORDINATES - PART 2 187
z
c
b
ρ
a d
φ
y
β
θ α
x
0 ≤ θ ≤ 2π, 0 ≤ φ ≤ π, 1 ≤ ρ ≤ 2.
So
ZZZ Z π Z 2π Z 2
2 2
(x + y )dV = ρ 2 (sin φ )2 ρ 2 sin φ dρdθ dφ
0 0 1
B
1 5 3 2
Z π Z 2π
= ρ sin φ dθ dφ
0 0 5 1
Z π Z 2π
31 31
Z π
= 3
sin φ dθ dφ = sin3 φ θ |2π
0 dφ
0 0 5 0 5
62π
Z π
= sin3 φ dφ (use u = cos φ )
0 5
Z −1
62π
= − (1 − u2 )du
1 5
−1
62π u3
248π
= −u = .
5 3 1 15
0 ≤ θ ≤ 2π, 0 ≤ φ ≤ π/2, 0 ≤ ρ ≤ 3.
φ
ρ 3
y
θ
x
4.13. LECTURE 29: TRIPLE INTEGRALS IN SPHERICAL COORDINATES - PART 2 189
So
ZZZ
(9 − x2 − y2 )dV
H
Z π/2 Z 2π Z 3
= [9 − ρ 2 (sin φ )2 ]ρ 2 sin φ dρdθ dφ
0 0 0
Z π/2 Z 2π 3
3 1 5 3
= 3ρ sin φ − ρ sin φ dθ dφ
0 0 5
Z π/2 Z 2π 0
243 3
= 81 sin φ − sin φ dθ dφ
0 0 5
Z π/2
243 3
= 81 sin φ − sin φ θ |2π 0 dφ
0 5
Z π/2
486π 3
= 162π sin φ − sin φ dφ (use u = cos φ )
0 5
Z 0
486π 2
= − 162π − (1 − u ) du
1 5
0
u3
486π 972π
= − 162πu − u− = 162π + .
5 3 1 15
• Formula for triple integrals in spherical coordinates. Let E be a general spherical region:
E = {(ρ, θ , φ ) | u1 (θ , φ ) ≤ ρ ≤ u2 (θ , φ ), α ≤ θ ≤ β , c ≤ φ ≤ d}
z
c
ρ u2 (θ , φ )
d
u1 (θ , φ )
φ
y
β
θ α
x
Then
ZZZ
f (x, y, z)dV
E
Z d Z β Z u2 (θ ,φ )
= f (ρ cos θ sin φ , ρ sin θ sin φ , ρ cos φ )ρ 2 sin φ dρdθ dφ
c α u1 (θ ,φ )
p
• Example. Find the volume of the solid that lies above the cone z = x2 + y2 and below the
sphere x2 + y2 + z2 = z.
Solution. As shown in the previous example, the solid can be described by
0 ≤ θ ≤ 2π, 0 ≤ φ ≤ π/4, 0 ≤ ρ ≤ cos φ .
190 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
So
ZZZ
V = dV
E
Z π/4 Z 2π Z cos φ
= ρ 2 sin φ dρdθ dφ
0 0 0
Z π/4 Z 2π cos φ
1 3
= ρ sin φ dθ dφ
0 0 3 0
Z π/4 Z 2π
1
= cos3 φ sin φ dθ dφ
0 0 3
1
Z π/4
= cos3 φ sin φ θ |2π
0 dφ
0 3
2π
Z π/4
= cos3 φ sin φ dφ (use u = cos φ )
0 3
Z √2/2
2π
= − u3 du
3 1
√
2π 4 2/2 3π
= − u 1 = .
12 24
• Example. Find the volume of the solid bounded by the sphere ρ = 2 cos φ and the hemisphere
ρ = 1, z ≥ 0.
Spheres: ρ = 2cos(φ) and ρ=1
0.5
z
0
1
1
0
0
y −1 −1
x
2 cos φ = 1
and then
π
φ= .
3
π
Then the solid is divided into two parts. One part is above the cone φ = 3 and below the
sphere ρ = 1 and is described by
0 ≤ θ ≤ 2π, 0 ≤ φ ≤ π/3, 0 ≤ ρ ≤ 1.
π
The other part is below the cone φ = 3 and above the sphere ρ = 2 cos φ and is described by
So
ZZZ
V = dV
E
Z π/3 Z 2π Z 1 Z π/2 Z 2π Z 2 cos φ
2
= ρ sin φ dρdθ dφ + ρ 2 sin φ dρdθ dφ
0 0 0 π/3 0 0
Z π/3 Z 2π 1 Z π/2 Z 2π 2 cos φ
1 3 1 3
= ρ sin φ dθ dφ + ρ sin φ dθ dφ
0 0 3 0 π/3 0 3 0
Z π/3 Z 2π Z π/2 Z 2π
1 8
= sin φ dθ dφ + cos3 φ sin φ dθ dφ
0 0 3 π/3 0 3
1 8
Z π/3 Z π/2
= sin φ θ |2π
0 dφ + cos3 φ sin φ θ |2π
0 dφ
0 3 π/3 3
2π 16π
Z π/3 Z π/2
= sin φ dφ + cos3 φ sin φ dφ (use u = cos φ )
0 3 π/3 3
Z 0
2π 16π
u3 du
π/3
= − cos φ |0 −
3 3 1/2
π 16π 4 0 π π 5π
= − u 1/2 = + = .
3 12 3 12 12
2 − y2 )dV ,
RRR
• Exercise 1 (Do it yourself before looking at the solution). Find H (9 − x where
H is the solid hemisphere x2 + y2 + z2 ≤ 9 and y ≥ 0.
Solution. The solid hemisphere can be described by
0 ≤ θ ≤ π, 0 ≤ φ ≤ π, 0 ≤ ρ ≤ 3.
So
ZZZ Z πZ πZ 3
2 2
(9 − x − y )dV = [9 − ρ 2 (sin φ )2 ]ρ 2 sin φ dρdθ dφ
0 0 0
H
Z πZ π 3
3 1 5 3
= 3ρ sin φ − ρ sin φ dθ dφ
0 0 5
Z πZ π 0
243 3
= 81 sin φ − sin φ dθ dφ
0 0 5
Z π
243 3
= 81 sin φ − sin φ θ |π0 dφ
0 5
Z π
243π 3
= 81π sin φ − sin φ dφ (use u = cos φ )
0 5
Z −1
243π 2
= − 81π − (1 − u ) du
1 5
−1
u3
243π
= − 81πu − u−
5 3 1
972π
= 162π + .
15
192 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
• Exercise 2 (Do it yourself before looking at the solution). Find the volume
pof the solid lies
2 2 2
within the sphere x + y + z = 4, above the xy-plane, below the cone z = x2 + y2 .
Spheres ρ=2 and cone φ = π/4
1.5
z
0.5
0
2
2
0
0
y −2 −2
x
So
ZZZ
V = dV
E
Z π/2 Z 2π Z 2
= ρ 2 sin φ dρdθ dφ
π/4 0 0
Z π/2 Z 2π 2
1 3
= ρ sin φ dθ dφ
π/4 0 3 0
Z π/2 Z 2π
8
= sin φ dθ dφ
π/4 0 3
8
Z π/2
= sin φ θ |2π
0 dφ
3
π/4
16π
Z π/2
= sin φ dφ
π/4 3
16π π/2
= − cos φ |π/4
√3
8 2π
= .
3
ZZZ ZZ Z 4
zdV = zdzdA
E D x2 +y2
Z 2π Z 2 Z 4
= zrdzdrdθ
0 0 r2
= 64π/3.
194 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
Surface of z=x2+y2
1.5
4
1
3 0.5
D
2 0
y
z
1 −0.5
0 −1
D −1.5
1 2
0 1
−1 0
−1 −1 0 1 2
y x x
RRR
1. Find E xdV , where E is enclosed by the planes z = 0 and z = x + y + 5 and the cylinders
x2 + y2 = 4 and x2 + y2 = 9.
ZZZ ZZ Z x+y+5
xdV = xdzdA
E D 0
Z 2π Z 3 Z r cos θ +r sin θ +5
= r2 cos θ dzdrdθ
0 2 0
= 65π/4.
Surface of z=x+y+5
2
8
1
6
D
0
y
z
4
−1
2
D −2
0 2
−2 0
0 2 −2
y −2 −1 0 1 2 3
x x
ZZZ
V = dV
E
Z π/2 Z π/2 Z 2
= ρ 2 sin φ dρdφ dθ
0 π/4 0
√
= 2π 2/3.
Surface of x2+y2+z2=4
1.5
1
z
0.5
0
2
2
1 1.5
1
0.5
y 0
x
Group 2:
4.14. PROBLEM SET 11 195
1. Find the volume of the solid that lies within both the cylinder x2 + y2 = 1 and the sphere
x2 + y2 + z2 = 4.
ZZZ
V = dV
E
ZZ Z √4−x2 −y2
= √ dzdA
D − 4−x2 −y2
Z 2π Z 1 Z √4−r2
= √ rdzdrdθ
0 0 − 4−r2
√
= 4π(8 − 3 3)/3.
Surface of x2+y2+z2 = 4
2
0.5
1
D
0 0
y
z
D
−1
−2 −0.5
0.5 1
0 0.5
−0.5 0
−0.5 −0.5 0 0.5 1
y x x
ZZZ Z 2π Z π Z 3
2 2
(9 − x − y )dV = (9 − ρ 2 sin2 φ )ρ 2 sin φ dρdφ dθ
E π 0 0
= 486π/5.
2 2 2
Surface of x +y +z =9, y <= 0
0
z
−2
−3
2 −2
0 −1
−2 0
y
x
p
1. Find the volume of the solid that is enclosed by the cone z = x2 + y2 and the sphere x2 +
y2 + z2 = 2.
ZZZ
V = dV
E
Z 2π Z π/4 Z √2
= ρ 2 sin φ dρdφ dθ
0
√0 0
= 4π( 2 − 1)/3.
196 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
Surface of x2+y2+z2 = 2
z
0.5
0
0.5 1
0 0.5
−0.5 0
−0.5
y x
Group 3:
1. Find the volume of the solid in the first octant bounded by the cylinder r = 1 and the planes
z = x and z = 0.
ZZZ
V = dV
ZZ EZ x
= dzdA
D 0
Z π/2 Z 1 Z r cos θ
= rdzdrdθ
0 0 0
= 1/3.
Surface of z = x
1
0.8
1
0.6
y
0.5
z
0.4
D
D 0
0.2
0 0.5
1 0.8 0.6 0.4 0
0.2 1 y 0.2 0.4 0.6 0.8 1
x x
1. Find the volume of the solid that lies between the paraboloid z = x2 + y2 and the sphere
x2 + y2 + z2 = 2.
ZZZ
V = dV
E
ZZ Z √2−x2 −y2
= dzdA
D x2 +y2
Z 2π Z 1 Z √2−r2
= rdzdrdθ
0 2
√0 r
= π(8 2 − 7))/6.
ZZZ Z 2π Z π Z 3
zdV = ρ 2 sin φ ρ cos φ dρdφ dθ
E 0 0 2
= 0.
4.14. PROBLEM SET 11 197
Surface of z = x2+y2
1
0.5
1
0 D
y
z
0.5
0 −0.5
D
0.5 1
0 0.5
−0.5 0 −1
−0.5 −1 −0.5 0 0.5 1
y x x
Surface of x2+y2+z2=9
z
−2
2
0 2
0
−2 −2
y x
Group 4:
RRR
1. Find E (x + y + z)dV , where E is the solid in the first octant that lies under the paraboloid
z = 4 − x2 − y2 .
2 2
Surface of z =4− x −y
2
4
1.5
3
2 1
y
z
1
D
0 0.5
2
D 2
1 1.5
1 0
0.5 0.5 1 1.5 2
y 0
x x
1. Find the volume of the solid outside the cone φ = π/4 and inside the sphere ρ = 4 cos φ .
ZZZ
V = dV
E
Z 2π Z π/2 Z 4 cos φ
= ρ 2 sin φ dρdφ dθ
0 π/4 0
= 8π/3.
198 CHAPTER 4. CHAPTER 14 MULTIPLE INTEGRALS
Surface of ρ = 4cos(φ)
1.5
z
0.5
0
1 2
0 1
−1 0
−1
y x
RRR
1. Find E xyzdV , where E lies between the spheres ρ = 2 and ρ = 4 and above the cone
φ = π/3.
ZZZ Z 2π Z π/3 Z 4
xyzdV = ρ 3 sin2 φ sin θ cos θ cos φ ρ 2 sin φ dρdφ dθ
E 0 0 2
= 0.
Surface of ρ=4
2
z
0
2
0 2
0
−2 −2
y x
Chapter 5
199
200 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
a = ha1 , a2 i = a1 i + a2 j
a = ha1 , a2 , a3 i = a1 i + a2 j + a3 k.
F(x, y, z) = F(x)
5.1. LECTURE 30: VECTOR FIELDS 201
0.5
−0.5
y
−1
−1.5
−2
0 0.5 1 1.5 2
x
To sketch a vector field by hand, we place the initial point of each vector at the point (x, y).
Then terminal point of the vector is (x + y, y − x). Plot a straight line with an arrow connecting
these two points. For example, to sketch the vector at the point (1, 1), we plot a line segment
from the point (1, 1) to (2, 0) with an arrow as shown in Figure 5.3.
This is a time-comsuming procedure. Many math softwares such as Maple and Matlab can do
it. A matlab plot of the vector field F(x, y) = yi − xj is shown in Figure 5.4.
0
y
−1
−2
−3
−3 −2 −1 0 1 2 3
x
mMG
F(x, y) = − x
|x|3
mMGx mMGy
= − 2 i − j
(x + y2 + z2 )3/2 (x2 + y2 + z2 )3/2
mMGz
− 2 k
(x + y2 + z2 )3/2
202 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
fx = 2x, fy = 2y
we have
∇ f = h2x, 2yi.
• Conservative Vector Fields. A vector field F is called a conservative vector field if there
exists a scalar function f such that
F = ∇f
f is called a potential function of F.
• Criterion for the Conservative Vector Fields. F(x, y) = P(x, y)i + Q(x, y)j is conservative if
and only if
∂P ∂Q
=
∂y ∂x
• Example. Show that the following vector fields F are conservative and find their potentials f :
1. F(x, y) = yi + xj
Set
P = y, Q=x
Then
∂P ∂Q
= 1, =1
∂y ∂x
So
∂P ∂Q
=1=
∂y ∂x
and then F(x, y) is a conservative vector field.
5.1. LECTURE 30: VECTOR FIELDS 203
Then
∂P ∂Q
= ex cos y, = ex cos y
∂y ∂x
So
∂P ∂Q
= ex cos y =
∂y ∂x
and then F(x, y) is a conservative vector field.
To find its potential f , we let
∂f ∂f
= ex sin y, = ex cos y
∂x ∂y
Integrating the second equation in y, we obtain
f = ex sin y + g(x).
Plugging this equation into the above first equation, we obtain
ex sin y + g0 (x) = ex sin y.
So
g0 (x) = 0
and then g(x) = C, a constant. Therefore, we obtain
f = ex sin y +C.
• Exercise. Verify that Gravitational Field
mMG
F(x, y) = − x
|x|3
mMGx mMGy
= − 2 i − j
(x + y2 + z2 )3/2 (x2 + y2 + z2 )3/2
mMGz
− 2 k
(x + y2 + z2 )3/2
is conservative with a potential function
mMG
f (X, y, z) = p
x2 + y2 + z2
[fragile]
• Exercise 1. Sketch the vector field
F(x, y) = 2i + yj
• Exercise 2. Find the gradient vector field of f (x, y) = x + y. Plot the gradient vector field and
the contour map of f .
• Useful youtube videos links:
5.2. LECTURE 31: CURL AND DIVERGENCE OF A VECTOR FIELD 205
1. Definition of curl
2. Definition of divergence
3. Conservative vector field
4. Finding potential function for a conservative vector field.
• Gradient operator ∇
∂ ∂ ∂
∇=i +j +k
∂x ∂y ∂z
Then
∂f ∂f ∂f
∇f = i +j +k
∂x ∂y ∂z
• Definition of Cross product. For two vectors
a = ha1 , a2 , a3 i = a1 i + a2 j + a3 k
b = hb1 , b2 , b3 i = b1 i + b2 j + b3 k,
i j k
a×b = a1 a2 a3
b1 b2 b3
a2 a3 a a a a
= i− 1 3 j+ 1 2 k
b2 b3 b1 b3 b1 b2
206 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
curl F = ∇ × F
i j k
∂ ∂ ∂
= ∂x ∂y ∂z
P Q R
∂ ∂ ∂ ∂ ∂ ∂
= ∂y ∂z
i − ∂x ∂z j + ∂x ∂y k
Q R P R P Q
∂R ∂Q ∂P ∂R ∂Q ∂P
= − i+ − j+ − k
∂y ∂z ∂z ∂x ∂x ∂y
Solution.
curl F = ∇ × F
i j k
∂ ∂ ∂
= ∂x ∂y ∂z
−y x 0
∂ ∂ ∂ ∂ ∂ ∂
= ∂y ∂z i− ∂x ∂z j+ ∂x ∂y k
x 0 −y 0 −y x
= (0 − 0) i + (0 − 0) j + (1 − (−1)) k
= 2k.
0
y
−1
−2
−3
−3 −2 −1 0 1 2 3
x
Solution.
curl F = ∇ × F
i j k
∂ ∂ ∂
= ∂x ∂y ∂z
x y 0
∂ ∂ ∂ ∂ ∂ ∂
= ∂y ∂z i− ∂x ∂z j+ ∂x ∂y k
y 0 x 0 x y
= (0 − 0) i + (0 − 0) j + (0 − 0) k
= 0.
0
y
−1
−2
−2 −1 0 1 2
x
• It can be seen from the above two examples that Curl F is a measure of how quickly fluid
particles move around the axis pointing in the direction of Curl F. In the above first example,
the particles are moving around the origin and so the curl is 2k. In the second example, the
particles are moving away from the origin and so the curl is 0.
• Recall: For two dimensional vector fields, F(x, y) = P(x, y)i + Q(x, y)j is conservative if and
only if
∂P ∂Q
=
∂y ∂x
Since
curl F = ∇ × F
i j k
∂ ∂ ∂
= ∂x ∂y ∂z
x y z
∂ ∂ ∂ ∂ ∂ ∂
= ∂y ∂z i− ∂x ∂z j+ ∂x ∂y k
y z x z x y
= (0 − 0) i + (0 − 0) j + (0 − 0) k
= 0.
fx = x, fy = y, fz = z.
∂P ∂Q ∂R
div F = ∇ · F = + +
∂x ∂y ∂z
2
1
1
0 0
y
−1
−1
−2
−3 −2
−3 −2 −1 0 1 2 3 −2 −1 0 1 2
x x
Figure 5.5: Left: Vector field of F(x, y) = −yi + xj; Right: Vector field of F(x, y) = xi + yj.
• It can be seen from the above examples that div F measures the tendency of fluid particles to
diverge from the point (x, y, z). In the above first example, the particles are moving around
the origin and so the divergence is 0. In the second example, the particles are moving away
from the origin and so the divergence is 2.
[fragile]
• Laplace operator:
∂2 f ∂2 f ∂2 f
∇2 f = ∇ · ∇ f = div(∇ f ) = + +
∂ x2 ∂ y2 ∂ z2
https://www.youtube.com/watch?v=Ia7Harz_TLk
https://www.youtube.com/watch?v=t-MvmFZttyI
3. Find the curl and the divergence of the vector field F(x, y, z) = sin(yz)i + sin(zx)j + sin(xy)k.
4. Show that F(x, y) = (1 + xy)exy i + x2 exy j is a conservative vector field and find its potential f .
5. Determine whether or not the vector field F(x, y, z) = i + sin(z)j + y cos(z)k is conservative.
If it is, find a function f such that F = ∇ f .
Group 2:
1. Sketch the vector field: F = h2x, 3yi.
2. Find the gradient field F = ∇ f for the potential function f (x, y) = x + y. Sketch a level curve
of f and the gradient and show that they are perpendicular.
3. Find the curl and the divergence of the vector field F(x, y, z) = xyzi + xyzj + xyzk.
4. Show that F(x, y) = (ln y + 2xy3 )i + (3x2 y2 + x/y)j is a conservative vector field and find its
potential f .
5. Determine whether or not the vector field F(x, y, z) = (3x2 + yz)i + (3y2 + xz)j + (3z2 + xy)k
is conservative. If it is, find a function f such that F = ∇ f .
Group 3:
1. Sketch the vector field: F = hy, −xi.
2. Find the gradient field F = ∇ f for the potential function f (x, y) = 2xy. Sketch a level curve
of f and the gradient and show that they are perpendicular.
3. Find the curl and the divergence of the vector field F(x, y, z) = x2 zi − 2xzj + yzk.
4. Show that F(x, y) = (3x2 +2y2 )i+(4xy+5)j is a conservative vector field and find its potential
f.
5. Determine whether or not the vector field F(x, y, z) = y2 z3 i + 2xyz3 j + 3xy2 z2 k is conservative.
If it is, find a function f such that F = ∇ f .
Group 4:
1. Sketch the vector field: F = hx + y, yi.
p
2. Find the gradient field F = ∇ f for the potential function f (x, y) = x2 + y2 . Sketch a level
curve of f and the gradient and show that they are perpendicular.
3. Find the curl and the divergence of the vector field F(x, y, z) = ex sin yi − ex cos yj.
4. Show that F(x, y) = (2xy + y−2 )i + (x2 − 2xy−3 )j is a conservative vector field and find its
potential f .
5. Determine whether or not the vector field F(x, y, z) = sin zi + sin xj + sin yk is conservative. If
it is, find a function f such that F = ∇ f .
Answer Keys
Group 1:
1. Sketch the vector field: F = hx, −yi.
5.3. PROBLEM SET 12 211
y
−1
−2
−3 −2 −1 0 1 2 3
x
1. Find the gradient field F = ∇ f for the potential function f (x, y) = x2 + 2y2 . Sketch a level
curve of f and the gradient and show that they are perpendicular.
F = ∇ f = h2x, 4yi.
2 2
Gradient field and contour of f = x +2y
2 8 8
8 8
4 4
1
4
4
0
y
4
4
−1
4
4 8
8
8 8
−2
−2 −1 0 1 2
x
1. Find the curl and the divergence of the vector field F(x, y, z) = sin(yz)i + sin(zx)j + sin(xy)k.
i j k
∂ ∂ ∂
curl F(x, y, z) = ∂x ∂y ∂z
sin(yz) sin(zx) sin(xy)
= x[cos(xy) − cos(zx)]i + y[cos(zy) − cos(yx)]j
+z[cos(xz) − cos(zy)]k.
1. Show that F(x, y) = (1 + xy)exy i + x2 exy j is a conservative vector field and find its potential f .
Set
P = (1 + xy)exy , Q = x2 exy
Then
∂P ∂Q
= xexy + x(1 + xy)exy , = 2xexy + yx2 exy
∂y ∂x
So
∂P ∂Q
= xexy + x(1 + xy)exy =
∂y ∂x
212 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
and then F(x, y) = (1 + xy)exy i + x2 exy j is a conservative vector field. To find its potential f ,
we let
∂f ∂f
= (1 + xy)exy , = x2 exy
∂x ∂y
Integrating the second equation, we obtain
f = xexy + g(x).
Plugging this equation into the above first equation, we obtain
(1 + xy)exy + g0 (x) = (1 + xy)exy .
So
g0 (x) = 0
and then g(x) = C, a constant. Therefore, we obtain
f = xexy +C.
1. Determine whether or not the vector field F(x, y, z) = i + sin(z)j + y cos(z)k is conservative.
If it is, find a function f such that F = ∇ f .
Since
i j k
∂ ∂ ∂
curl F(x, y, z) = ∂x ∂y ∂z
1 sin(z) y cos(z)
= 0,
the vector field is conservative. To find the potential function f , we let
fx = 1, fy = sin(z), fz = y cos(z).
Integrating with respect to x, y, and z separately produces
f (x, y, z) = x + g(y, z)
f (x, y, z) = y sin z + h(x, z)
f (x, y, z) = y sin z + k(x, y).
Comparing these three versions of f (x, y, z), we can conclude that
g(y, z) = y sin z +C1 , h(x, z) = x +C2 , k(x, y) = x +C3 .
So
f = x + y sin z +C.
Group 2:
1. Sketch the vector field: F = h2x, 3yi.
1. Find the gradient field F = ∇ f for the potential function f (x, y) = x + y. Sketch a level curve
of f and the gradient and show that they are perpendicular.
F = ∇ f = h1, 1i.
5.3. PROBLEM SET 12 213
y
−1
−2
−3
−3 −2 −1 0 1 2 3
x
2
1
0
2
0
y
−2 0
−1 −2 0
−2
−2 −1 0 1 2
x
1. Find the curl and the divergence of the vector field F(x, y, z) = xyzi + xyzj + xyzk.
i j k
∂ ∂ ∂
curl F(x, y, z) = ∂x ∂y ∂z
xyz xyz xyz
= x(z − y)i + y(z − x)j + z(y − x)k.
1. Show that F(x, y) = (ln y + 2xy3 )i + (3x2 y2 + x/y)j is a conservative vector field and find its
potential f .
Set
P = ln y + 2xy3 , Q = 3x2 y2 + x/y
Then
∂P ∂Q
= 1/y + 6xy2 , = 6xy2 + 1/y
∂y ∂x
So
∂P ∂Q
= 6xy2 + 1/y =
∂y ∂x
and then it is a conservative vector field. To find its potential f , we let
∂f ∂f
= ln y + 2xy3 , = 3x2 y2 + x/y
∂x ∂y
Integrating the second equation in y, we obtain
f = x2 y3 + x ln y + g(x).
214 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
1. Determine whether or not the vector field F(x, y, z) = (3x2 + yz)i + (3y2 + xz)j + (3z2 + xy)k
is conservative. If it is, find a function f such that F = ∇ f .
Since
i j k
∂ ∂ ∂
curl F(x, y, z) = ∂x ∂y ∂z
3x2 + yz 3y2 + xz 3z2 + xy
= 0,
the vector field is conservative. To find the potential function f , we let
fx = 3x2 + yz, fy = 3y2 + xz, fz = 3z2 + xy.
Integrating with respect to x, y, and z separately produces
f (x, y, z) = x3 + xyz + g(y, z)
f (x, y, z) = y3 + xyz + h(x, z)
f (x, y, z) = z3 + xyz + sin z + k(x, y).
Comparing these three versions of f (x, y, z), we can conclude that
g(y, z) = y3 + z3 +C1 , h(x, z) = z3 + x3 +C2 , k(x, y) = y3 + x3 +C3 .
So
f = x3 + y3 + z3 + xyz +C.
Group 3:
1. Sketch the vector field: F = hy, −xi.
Vector field: F =<y, −x>
3
0
y
−1
−2
−3
−3 −2 −1 0 1 2 3
x
1. Find the gradient field F = ∇ f for the potential function f (x, y) = 2xy. Sketch a level curve
of f and the gradient and show that they are perpendicular.
F = ∇ f = h2y, 2xi.
5.3. PROBLEM SET 12 215
−4 4
0
1
y
0 0 0 0
−1 4
0
−4
−2
−2 −1 0 1 2
x
1. Find the curl and the divergence of the vector field F(x, y, z) = x2 zi − 2xzj + yzk.
i j k
∂ ∂ ∂
curl F(x, y, z) = ∂x ∂y ∂z
x2 z −2xz yz
= (2x + z)i + x2 j − 2zk.
∂ x2 z ∂ (−2xz) ∂ yz
div F(x, y, z) = + +
∂x ∂y ∂z
= 2xz + y.
1. Show that F(x, y) = (3x2 +2y2 )i+(4xy+5)j is a conservative vector field and find its potential
f.
Set
P = 3x2 + 2y2 , Q = 4xy + 5
Then
∂P ∂Q
= 4y, = 4y
∂y ∂x
So
∂P ∂Q
= 4y =
∂y ∂x
and then it is a conservative vector field. To find its potential f , we let
∂f ∂f
= 3x2 + 2y2 , = 4xy + 5
∂x ∂y
Integrating the second equation in y, we obtain
f = 2xy2 + 5y + g(x).
Plugging this equation into the above first equation, we obtain
2y2 + g0 (x) = 3x2 + 2y2 .
So
g0 (x) = 3x2
and then g(x) = x3 +C, a constant. Therefore, we obtain
f = 2xy2 + 5y + x3 +C.
216 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
1. Determine whether or not the vector field F(x, y, z) = y2 z3 i + 2xyz3 j + 3xy2 z2 k is conservative.
If it is, find a function f such that F = ∇ f .
Since
i j k
∂ ∂ ∂
curl F(x, y, z) = ∂x ∂y ∂z
y2 z3 2xyz3 3xy2 z2
= 0,
the vector field is conservative. To find the potential function f , we let
fx = y2 z3 , fy = 2xyz3 , fz = 3xy2 z2 .
Integrating with respect to x, y, and z separately produces
f (x, y, z) = xy2 z3 + g(y, z)
f (x, y, z) = xy2 z3 + h(x, z)
f (x, y, z) = xy2 z3 + k(x, y).
Comparing these three versions of f (x, y, z), we can conclude that
g(y, z) = C1 , h(x, z) = C2 , k(x, y) = C3 .
So
f = xy2 z3 +C.
Group 4:
1. Sketch the vector field: F = hx + y, yi.
Vector field: F =<x+y, y>
3
0
y
−1
−2
−3
−3 −2 −1 0 1 2 3
x
p
1. Find the gradient field F = ∇ f for the potential function f (x, y) = x2 + y2 . Sketch a level
curve of f and the gradient and show that they are perpendicular.
* +
x y
F = ∇f = p ,p .
x2 + y2 x2 + y2
1. Find the curl and the divergence of the vector field F(x, y, z) = ex sin yi − ex cos yj.
i j k
∂ ∂ ∂
curl F(x, y, z) = ∂x ∂y ∂z
ex sin y −ex cos y 0
= 0i + 0j + 2ex cos yk.
5.3. PROBLEM SET 12 217
2
1
1
1
0
y
2
2
1
−1
2
2
−2 2
−2 −1 0 1 2
x
a
f (x)dx = lim
n→∞
∑ f (xi∗)∆x
i=1
= Area under a curve over [a, b].
• Plane curve C:
x = x(t), y = y(t), a≤t ≤b
Or
r(t) = hx(t), y(t)i, a≤t ≤b
• Line integral of f along a smooth curve C.
z
f (x1 , y1 )
z = f (x, y)
f (x1 , y1 )∆s1 y
C
∆s1
x
We divide the curve C into a number of small arcs. On each small arc, we use the value of
f at some point (xi , yi ), f (xi , yi ), and the small arc ∆si to construct a rectangle, whose area is
f (xi , yi )∆si . Then we add up all of areas of these rectangles and then takes the limit as the
number of small arcs goes to infinity. The limit is defined to be the line integral of f along a
smooth curve C:
Z n
f (x, y)ds = lim ∑ f (xi, yi)∆si
C n→∞
i=1
= Area of a curtain along the curveC.
• Arc length: s
Z t 2 2
dx dy
s(t) = + dr
a dr dr
5.4. LECTURE 32: LINE INTEGRALS 219
s 2 2
ds dx dy
= +
dt dt dt
s 2 2
dx dy
ds = + dt = |r0 (t)|dt
dt dt
Or Z Z b
f (x, y)ds = f (x(t), y(t))|r0 (t)|dt
C a
• Example. Let the curve C be the right half of the circle x2 + y2 = 16. Find the line integral
4
R
C xy ds.
Solution. The parametric equation of the right half of the circle x2 + y2 = 16 is:
and
x0 = −4 sin θ , y0 = 4 cos θ .
So
Z Z π/2 q
xy4 ds = 4 cos θ (4 sin θ )4 (x0 )2 + (y0 )2 dθ
C −π/2
Z π/2 q
4
= 4 cos θ (4 sin θ ) (−4 sin θ )2 + (4 cos θ )2 dθ
−π/2
Z π/2
6
= 4 cos θ (sin θ )4 dθ
−π/2
π/2
46
= (sin θ )5
5 −π/2
8192
= .
5
√
• Example. Find C (x + y)ds, where C consists of the curve C1 of the parabola y = x2 from
R
(0, 0) to (1, 1) followed by the line segment C2 from (1, 1) to (1, 2).
Solution. The parametric equation of the curve C1 of the parabola y = x2 from (0, 0) to (1, 1):
x = t, y = t 2, 0 ≤ t ≤ 1,
and
x0 = 1, y0 = 2t.
220 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
1.5 C2
y
0.5
C1
0
So
Z
√ √ q
Z 1
(x + y)ds = (t + t 2 ) (x0 )2 + (y0 )2 dt
C1 0
Z 1 q
= 2t (1)2 + (2t)2 dt (u = 1 + 4t 2 )
0
1
1
= (1 + 4t 2 )3/2
6 0
1 √
= (5 5 − 1).
6
The parametric equation of the line segment C2 from (1, 1) to (1, 2):
x = 1, y = 1 + t, 0 ≤ t ≤ 1,
and
x0 = 0, y0 = 1.
So
Z
√
Z 1√ q
(x + y)ds = (1 + 1 + t) (x0 )2 + (y0 )2 dt
C2 0
Z 1 √ q
= (1 + 1 + t) (0)2 + (1)2 dt
0
1
2 3/2
= t + (1 + t)
3 0
1 √
= (1 + 4 2).
3
So
√ √ √ 1 √ 1 √
Z Z Z
(x + y)ds = (x + y)ds + (x + y)ds = (5 5 − 1) + (1 + 4 2).
C C1 C2 6 3
5.5. LECTURE 33: LINE INTEGRALS IN DIFFERENTIAL FORM 221
• Space curve C:
x = x(t), y = y(t), z = z(t), a≤t ≤b
Or
r(t) = hx(t), y(t), z(t)i, a≤t ≤b
• Line integral of f along a smooth curve C in space:
Z
f (x, y, z)ds
C
n
= lim
n→∞
∑ f (xi∗, y∗i , z∗i )∆si
i=1
s
dx 2 dy 2 dz 2
Z b
= f (x(t), y(t), z(t)) + + dt
a dt dt dt
Z b
= f (x(t), y(t), z(t))|r0 (t)|dt
a
R
• Example. Evaluate C (x + y + z)ds, where C is the line segment from (0,1, 0) to (3,4,5).
Solution. The parametric equation of the line segment from (0,1, 0) to (3,4,5):
x = 3t, y = 1 + 3t, z = 5t, 0 ≤ t ≤ 1,
and
x0 = 3, y0 = 3, z0 = 5.
So
Z Z 1 q
(x + y + z)ds = (3t + 1 + 3t + 5t) (x0 )2 + (y0 )2 + (z0 )2 dt
C 0
Z 1 q
= (1 + 11t) (3)2 + (3)2 + (5)2 dt
0
√ 11 2 1
= 43 t + t
2 0
√
13 43
= .
2
[fragile]
• Useful youtube videos links:
1. Line Integrals
https://www.youtube.com/watch?v=fjEvsinvtnw:
• Do Exercise 15.2, problems 53, 55, 57, 59, 61, from the textbook.
• Outline
• Plane curve C:
x = x(t), y = y(t), a≤t ≤b
C
f (x, y)dx = lim
n→∞
∑ f (xi∗, y∗i )∆xi
i=1
Z n
C
f (x, y)dy = lim
n→∞
∑ f (xi∗, y∗i )∆yi
i=1
• Abbreviation notation:
Z Z Z
P(x, y)dx + Q(x, y)dy = P(x, y)dx + Q(x, y)dy
C C C
R
• Example. Evaluate C ydx + xdy, where
1. C = C1 is the line segment from (0,1) to (1,2).
Solution. The parametric equation of the line segment from (0,1) to (1,2):
x = t, y = 1 + t, 0 ≤ t ≤ 1,
and
x0 = 1, y0 = 1.
So
Z Z 1
ydx + xdy = (1 + t)(1)dt + t(1)dt
C 0
1
= t + t2 0
= 2.
5.5. LECTURE 33: LINE INTEGRALS IN DIFFERENTIAL FORM 223
x = 1 − t, y = 2 − t, 0 ≤ t ≤ 1,
and
x0 = −1, y0 = −1.
So
Z Z 1
ydx + xdy = (2 − t)(−1)dt + (1 − t)(−1)dt
C 0
1
= t 2 − 3t 0
= −2.
• Dependence of line integrals on curve orientation. If −C denotes the curve C with the
opposite orientation, then
Z Z
f (x, y)dx = − f (x, y)dx
Z−C ZC
f (x, y)dy = − f (x, y)dy
−C C
• Space curve C:
x = x(t), y = y(t), z = z(t), a≤t ≤b
C
f (x, y, z)dx = lim
n→∞
∑ f (xi∗, y∗i , z∗i )∆xi
i=1
Z b
= f (x(t), y(t), z(t))x0 (t)dt
a
Z n
C
f (x, y, z)dy = lim
n→∞
∑ f (xi∗, y∗i , y∗i )∆yi
i=1
Z b
= f (x(t), y(t), z(t))y0 (t)dt
a
Z n
C
f (x, y, z)dz = lim
n→∞
∑ f (xi∗, y∗i , y∗i )∆zi
i=1
Z b
= f (x(t), y(t), z(t))z0 (t)dt
a
224 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
• Abbreviation notation:
Z Z Z
P(x, y, z)dx + Q(x, y, z)dy + R(x, y, z)dz
C C C
Z
= P(x, y, z)dx + Q(x, y, z)dy + R(x, y, z)dz
C
R
• Example. Evaluate C ydx + xdy + zdz, where C is the line segment from (0,1, 0) to (3,4,5).
Solution. The parametric equation of the line segment from (0,1, 0) to (3,4,5):
x = 3t, y = 1 + 3t, z = 5t, 0 ≤ t ≤ 1,
and
x0 = 3, y0 = 3, z0 = 5.
So
Z Z 1
ydx + xdy + zdz = (1 + 3t)3dt + 3t3dt + 5t5dt
C 0
43 2 1
= 3t + t
2 0
49
= .
2
[fragile]
• Useful youtube videos links:
1. Line integral with respect to x
https://www.youtube.com/watch?v=wBuHu31MKxc
r(t2 )
r(t1 )
r(t0 )
• Geometric meaning of r0 (t): Tangent vector to the curve. The unit tangent vector is
r0 (t)
T(t) =
|r0 (t)|
r(t) r0 (t)
r(t + h)
∆r(t)
F
θ
P Q
We divide the curve C into a number of small arcs, calculate an approximate work done by F
on each arcs, and then add them up to obtain an approximate work.
After taking the limit as the number of small arcs goes to infinity, we obtain the work:
226 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
z
Wi = F(xi , yi , zi ) · T(xi , yi , zi )∆si
F(xi , yi , zi )
T(xi , yi , zi )∆si
r(t)
y
n
W = lim
n→∞
∑ F(xi, yi, zi) · T(xi, yi, zi)∆si
i=1
Z
= F(x, y, z) · T(x, y, z)ds
C
• So
ds
= |r0 (t)|
dt
• Then
Z
W = F(x, y, z) · T(x, y, z)ds
C
r0 (t) 0
Z b
= F(r(t)) · |r (t)|dt
a |r0 (t)|
Z b Z
= F(r(t)) · r0 (t)dt = F · dr
a C
r(t) = h0,t,t 2 i.
• Dependence of line integrals on curve orientation. If −C denotes the curve C with the
opposite orientation, then Z Z
F · dr = − F · dr
−C C
• Relation between line integral of vector field and line integral of scalar field:
Z Z
F · dr = P(x, y, z)dx + Q(x, y, z)dy + R(x, y, z)dz
C C
• Example. Find the work done by the force field F(x, y) = x2 i + xyj on a particle that moves
once around the circle x2 + y2 = 4 oriented in the counter-clockwise direction.
Solution. Find parametric equation of the cirle:
x = 2 cost, y = 2 sint, 0 ≤ t ≤ 2π.
Write the parametric equation into vector function:
r(t) = h2 cost, 2 sinti.
Find the derivative of r(t):
r0 (t) = h−2 sint, 2 costi.
Evaluate F along the circle:
F(r(t)) = h(2 cost)2 , 2 cost2 sinti.
So the work is
Z Z 2π
W = F · dr = F(r(t)) · r0 (t)dt
C 0
Z 2π
= h(2 cost)2 , 2 cost2 sinti · h−2 sint, 2 costidt
0
Z 2π
= ((2 cost)2 (−2 sint) + 2 cost2 sint2 cost)dt = 0.
0
228 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
[fragile]
• Useful youtube videos links:
1. Line Integrals in Vector Fields
https://www.youtube.com/watch?v=oolSiZw3hs0
R
3. Find the line integral C xyzds, C is the line segment from (0, 0, 0) to (1, 2, 3).
R
4. Find the line integrals C F · dr, where F(x, y, z) = xi + yj + xyk and C is given by the vector
function r(t) = costi + sintj + tk, 0 ≤ t ≤ π.
5. Find the work done by the force field F(x, y) = h−y, x, zi on an object that moves along the
helix r(t) = h2 cost, 2 sint,t/(2π)i for 0 ≤ t ≤ 2π.
Group 3:
R
1. Find the line integral C (x − y + 2z)ds, C is the the circle r(t) = h1, 3 cost, 3 sinti for 0 ≤ t ≤
2π.
R
2. Find the line integral C (y + z)dx + (x + z)dy + (x + y)dz, C is the line segment from (1, 0, 1)
to (0, 1, 2).
R
3. Find the line integral C (y − z)ds, C is the helix r(t) = h3 cost, 3 sint,ti for 0 ≤ t ≤ 2π.
where F(x, y) = h−y, xi and C is the part of parabola y = x2
R
4. Find the line integrals C F · dr,
from (0, 0) to (1, 1).
p
5. Find the work done by the force field F(x, y) = hx, yi/ x2 + y2 on an object that moves along
the circle x2 + y2 = 4 from (2, 0) to (-2, 0).
Group 4:
5.7. PROBLEM SET 13 229
R xy
1. Find the line integral C z ds, C is the line segment from (1,4,1) to (3, 6, 3).
2. Find the line integral C x2 dx + y2 dy, C consists of the arc of the circle x2 + y2 = 4 from (2, 0)
R
1. Find the line integral C z2 dx + x2 dy + y2 dz, C is the line segment from (1, 0, 0) to (4, 1, 2).
R
1. Find the line integrals C F · dr, where F(x, y, z) = (x + y)i + (y − z)j + z2 k and C is given by
R
1. Find the work done by the force field F(x, y) = x2 i + yex j on a particle that moves along the
parabola x = y2 + 1 from (1,0) to (2, 1).
The vector equation of the parabola is
r(t) = ht 2 + 1,ti, 0 ≤ t ≤ 1.
Group 2:
2
R
1. Find the line integral C xyz ds, C is the line segment from (-1,5,0) to (1, 6, 4).
The parametric equation of C is
and
x0 = 2, y0 = 1, z0 = 4
So
Z Z 1 p
2
xyz ds = (−1 + 2t)(5 + t)(4t)2 22 + 12 + 42 dt
C 0
√
= 236 21/15
5.7. PROBLEM SET 13 231
√
t, y = t, z = t 2 , 1 ≤ t ≤ 4.
R
1. Find the line integral C ydx + zdy + xdz, C: x=
Since
1
x0 = √ , y0 = 1, z0 = 2t
2 t
we have
√
Z 4
t
Z
2
ydx + zdy + xdz = √ + t + 2t t) dt
C 1 2 t
= 722/15.
R
1. Find the line integral C xyzds, C is the line segment from (0, 0, 0) to (1, 2, 3).
The parametric equation of C is
and
x0 = 1, y0 = 2, z0 = 3
So
Z Z 1 √
xyzds = 6t 3 14dt
C 0
√
= 3 14/2.
R
1. Find the line integrals C F · dr, where F(x, y, z) = xi + yj + xyk and C is given by the vector
function r(t) = costi + sintj + tk, 0 ≤ t ≤ π.
Since
x = cost, y = sint, z = t,
and
x0 = − sint, y0 = cost, z0 = 1
we have
Z Z π
F · dr = F · r0 (t)dt
C
Z0π
= [− cost sint + sint cost + cost sint] dt
0
= 0.
1. Find the work done by the force field F(x, y) = h−y, x, zi on an object that moves along the
helix r(t) = h2 cost, 2 sint,t/(2π)i for 0 ≤ t ≤ 2π.
Since
r0 (t) = h−2 sint, 2 cost, 1/(2π)i, 0 ≤ t ≤ 2π,
232 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
x0 = 0, y0 = −3 sint, z0 = 3 cost
we have
Z Z 2π √
(x − y + 2z)ds = (1 − 3 cost + 6 sint) 9dt
C 0
= 6π
R
1. Find the line integral C (y + z)dx + (x + z)dy + (x + y)dz, C is the line segment from (1, 0, 1)
to (0, 1, 2).
The parametric equation of C is
x = 1 − t, y = t, z = 1 + t, 0≤t ≤1
and
x0 = −1, y0 = 1, z0 = 1
So
Z
(y + z)dx + (x + z)dy + (x + y)dz
C
Z 1
= [(t + 1 + t)(−1) + 1 − t + 1 + t + 1 − t + t]dt
0
= 1
R
1. Find the line integral C (y − z)ds, C is the helix r(t) = h3 cost, 3 sint,ti for 0 ≤ t ≤ 2π.
Since
x0 = −3 sint, y0 = 3 cost, z0 = 1
we have
Z Z 2π √
(y − z)ds = 10 [3 sint − t] dt
C 0
√
= 2 10π 2 .
5.7. PROBLEM SET 13 233
1. Find the line integrals C F · dr, where F(x, y) = h−y, xi and C is the part of parabola y = x2
R
Group 4:
1. Find the line integral C xyz ds, C is the line segment from (1,4,1) to (3, 6, 3).
R
1. Find the line integral C x2 dx + y2 dy, C consists of the arc of the circle x2 + y2 = 4 from (2, 0)
R
and
x0 = −2 sint, y0 = 2 cost.
The parametric equation of the line segment is
x = 4t, y = 2 + t, 0≤t ≤1
and
x0 = 4, y0 = 1.
So
Z Z π/2
x2 dx + y2 dy = [4 cos2 t(−2 sint) + 4 sin2 t(2 cost)]dt
C 0
Z 1
+ [(4t)2 (4) + (2 + t)2 ]dt
0
= 83/3
yz
R
1. Find the line integral C xe ds, C is r(t) = ht, 2t, −4ti for 1 ≤ t ≤ 2.
Since
x0 = 1, y0 = 2, z0 = −4
we have
Z Z 2√
2
yz
xe ds = 21te−8t dt
C
√1
= 21(e−8 − e−32 )/16.
R
1. Find the line integrals C F · dr, where F(x, y, z) = sin xi + cos yj + xzk and C is given by the
vector function r(t) = t 3 i − t 2 j + tk, 0 ≤ t ≤ 1.
Since
x = t 3, y = −t 2 , z = t,
and
x0 = 3t 2 , y0 = −2t, z0 = 1
we have
Z Z 1
F · dr = F · r0 (t)dt
C 0
Z 1
3t 2 sint 3 − 2t cos(−t 2 ) + t 4 dt
=
0
= 6/5 − cos(1) − sin(1).
5.8. LECTURE 35: INDEPENDENCE OF LINE INTEGRAL ON PATH 235
1. Find the work done by the force field F(x, y) = h−y, xi on an object that moves along the
whole circle x2 + y2 = 4.
The vector equation of the circle is
and
r0 (t) = h−2 sint, 2 costi, 0 ≤ t ≤ 2π.
Then the work done by the force is
Z
W = F · dr
C
Z 2π
= F · r0 (t)dt
0
Z 2π
= [= 2 sint(−2 sint) + 2 cost(2 cost)] dt
0
= 8π.
1. Fundamental theorem
2. Independence of path
3. Examples
• Question:R For any two pathsRC1 and C2 with the same initial and terminal points, are two line
integrals C1 Pdx + Qdy and C2 Pdx + Qdy are equal?
• A vector field F is called a conservative vector field if there exists a scalar function f such
that
F = ∇f
f is called a potential function of F.
• Criterion for the Conservative Vector Fields. F(x, y) = P(x, y)i + Q(x, y)j is conservative if
and only if
∂P ∂Q
=
∂y ∂x
236 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
• Example. Let C1 be the line segment from (0,0) to (1,1) and C2 the arc of the parabola y = x2
from (0,0) to (1,1). Find Z Z
ydx + xdy, ydx + xdy
C1 C2
x = t, y = t, 0 ≤ t ≤ 1,
and
x0 = 1, y0 = 1, 0 ≤ t ≤ 1.
The parametric equation of C2 is
x = t, y = t 2, 0 ≤ t ≤ 1,
and
x0 = 1, y0 = 2t, 0 ≤ t ≤ 1.
So
Z Z 1
ydx + xdy = tdt + tdt
C1 0
1
= t2 0
= 1.
Z Z 1
ydx + xdy = t 2 dt + t(2t)dt
C2 0
3 1
= t 0
= 1.
• The Fundamental Theorem for Line Integrals. Let C be a smooth curve given by the
vector function r(t), a ≤ t ≤ b and the initial and terminal points of C be r(a) = hx1 , y1 , z1 i
and r(b) = hx2 , y2 , z2 i. Then
Z
∇ f · dr = f (r(b)) − f (r(a)) = f (x2 , y2 , z2 ) − f (x1 , y1 , z1 )
C
• Example. LetR f (x, y, z) = x2 y + yz2 + 5 and C is a piecewise smooth curve from (1, 1, 0) to
(0, 2, 3). Find C ∇ f · dr = 17.
R
• Theorem If F is conservative,
R then C F · dr is independent of path. Furthermore, if C is a
closed curve, then C F · dr = 0.
• Example. Let F = (yex + sin y)i + (ex + x cos y)j.
5.8. LECTURE 35: INDEPENDENCE OF LINE INTEGRAL ON PATH 237
So
g0 (x) = 0
and then g(x) = C, a constant. Therefore, we obtain
and
r(π/2) = hcos π/2, 2 sin π/2i = h0, 2i.
So by the fundamental theorem, we have
Z
F · dr = f (0, 2) − f (1, 0) = 2e0 + 0(sin 2) − (0(e1 ) + 1(sin 0)) = 2.
C
• Example. Let C1 be the line segment from (0,0) to (1,1) and C2 the arc of the parabola y = x2
from (0,0) to (1,1). Find Z Z
2ydx + xdy, 2ydx + xdy
C1 C2
238 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
x = t, y = t, 0 ≤ t ≤ 1,
and
x0 = 1, y0 = 1, 0 ≤ t ≤ 1.
x = t, y = t 2, 0 ≤ t ≤ 1,
and
x0 = 1, y0 = 2t, 0 ≤ t ≤ 1.
So
Z Z 1
2ydx + xdy = 2tdt + tdt
C1 0
1
3 2 3
= t = .
2 0 2
Z Z 1
2ydx + xdy = 2t 2 dt + t(2t)dt
C2 0
1
4 3
= t
3 0
4
= .
3
• Criterion for the Conservative Vector Fields in R3 . F(x, y, z) = P(x, y, z)i + Q(x, y, z)j +
R(x, y, z)k is conservative if and only if
∂P ∂Q ∂P ∂R ∂Q ∂R
= , = , =
∂y ∂x ∂z ∂x ∂z ∂y
or
i j k
∂ ∂ ∂
∂x ∂y ∂z =0
P Q R
∂R ∂Q ∂P ∂R ∂Q ∂P
− i+ − j+ − k=0
∂y ∂z ∂z ∂x ∂x ∂y
• Example.
R Let F(x, y, z) = yzi+xzj+xyk. Find the potential f such that ∇ f = F. Then evaluate
C F · dr, where C is any smooth curve from (1,2,3) to (-1,4, 0)
5.9. LECTURE 36: GREEN’S THEOREM 239
Solution. Since
curl F = ∇ × F
i j k
∂ ∂ ∂
= ∂x ∂y ∂z
yz xz xy
∂ ∂ ∂ ∂ ∂ ∂
= ∂y ∂z i− ∂x ∂z j+ ∂x ∂y k
xz xy yz xy yz xz
= (x − x) i − (y − y) j + (z − z) k
= 0.
the vector field is conservative.
To find the potential function f , we let
fx = yz, fy = xz, fz = xy.
Integrating with respect to x, y, and z separately produces
f (x, y, z) = xyz + g(y, z)
f (x, y, z) = xyz + h(x, z)
f (x, y, z) = xyz + k(x, y).
Comparing these three versions of f (x, y, z), we can conclude that
g(y, z) = C1 ,
h(x, z) = C2 ,
k(x, y) = C3 .
So
f = xyz +C.
So by the fundamental theorem, we have
Z
F · dr = f (−1, 4, 0) − f (1, 2, 3) = (−1)(4)(0) − (1)(2)(3) = −6.
C
[fragile]
• Useful youtube videos links:
1. Path independence for line integrals
https://www.youtube.com/watch?v=CPbdDoS9_K0
• Outline
1. Green’s theorem
2. Using Green’s theorem to evaluate line integrals
• Orientation of a curve. The positive orientation of a simple closed curve C refers to a single
counterclockwise traversal of C, that is, as you traverse C, the region enclosed by C is always
on your left.
D C
• Example. Let P = y and Q = −x and let C be the circle x2 + y2 = a2 and D the region enclosed
by C. Evaluate ZZ
∂Q ∂P
I
Pdx + Qdy, − dA
C ∂x ∂y
D
where C is the triangular curve consisting of the line segments from (0,0) to (1,0), from
(1,0) to (0,1), and from (0,1) to (0,0).
y
1
0 ≤ y ≤ 1−x
y = 1−x
D x
0 0≤x≤1 1
Solution. We have q
cos x2 2
P = 3xy − e , Q = 4x − 1 + sin4 y
and
∂P ∂Q
= 3x, = 8x
∂y ∂x
It then follows from the Green’s theorem that
I q
cos x2 2
(3xy − e )dx + (4x − 1 + sin4 y)dy
C
ZZ
∂Q ∂P
ZZ
= − dA = (8x − 3x) dA
∂x ∂y
D D
Z 1 Z 1−x
= 5 xdydx
0 0
Z 1
= 5 (1 − x)xdx = 5/6.
0
2
• Example. Use Green’s Theorem to evaluate C (1 − y3 )dx + (x3 + ey )dy, where C is the
H
0.8 √
y= x
0.6
D
y
0.4
y = x2
0.2
Solution. We have √
P = y+e x
, Q = 2x + cos y2
and
∂P ∂Q
= 1, =2
∂y ∂x
It then follows from the Green’s theorem that
I I
F · dr = Pdx + Qdy
C C
ZZ
∂Q ∂P
ZZ
= − dA = (2 − 1) dA
∂x ∂y
D D
Z 1 Z √x
= 3 dydx = 1.
0 x2
[fragile]
• Useful youtube videos links:
1. Green’s Theorem:
https://www.youtube.com/watch?v=a_zdFvYXX_c
5.10. PROBLEM SET 14 243
parabola y = x2 from (0, 0) to (1, 1) and the line segment from (1, 1) to (0, 1) and from
(0, 1) to (0, 0).
Group 2:
1. Let F(x, y) = (x2 − y2 )i − 2xyj. Show that F is conservative and the line integral
R
C F · dr is
the same along two different paths with the same initial and terminal points:
(a) C1 : r1 = cos θ i + sin θ j, 0 ≤ θ ≤ π,
(b) C2 : r2 = (1 − t)i, 0 ≤ t ≤ 2.
2. Use Green’s Theorem to evaluate the line integrals along the given positively oriented curve.
(a) C xy2 dx + 2x2 ydy, C is the triangle with vertices (0, 0), (2, 2), and (2, 4).
R
(b) C F · dr, where F(x, y) = (e−x + y2 )i + (sin(y2 ) + x2 )j and C consists of the arc of the
R
curve y = cos x from (−π/2, 0) to (π/2, 0) and the line segment from (π/2, 0) to (−π/2, 0)
Group 3:
1. Let F(x, y) = y2 zi + 2xyzj + xy2 k. Show that F is conservative and the line integral
R
C F · dr is
the same along two different paths with the same initial and terminal points:
(a) C1 : r1 = ti + t 2 j + k, 0 ≤ t ≤ 1,
(b) C2 : r2 = ti + tj + (2t − 1)2 k, 0 ≤ t ≤ 1.
2. Use Green’s Theorem to evaluate the line integrals along the given positively oriented curve.
R
(a) C −3ydx + 3xdy, C is the triangle with vertices (0, 0), (3, 0), and (0, 1).
(b) C F · dr, where F(x, y) = (y − cos y)i + (x sin y)j and C is the the circle (x − 3)2 + (y +
R
4)2 = 4
Group 4:
R
1. Let F(x, y) = yzi + xzj + xyk. Show that F is conservative and the line integral C F · dr is the
same along two different paths with the same initial and terminal points:
(a) C1 : r1 = costi + sintj + tk, 0 ≤ t ≤ π,
(b) C2 : r2 = (1 − 2t)i + πtk, 0 ≤ t ≤ 1.
244 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
2. Use Green’s Theorem to evaluate the line integrals along the given positively oriented curve.
(a) C y3 dx − x3 dy, C is the the circle x2 + y2 = 4.
R
R
(b) C F · dr, where F(x, y) = (y cos x − xy sin x)i + (xy + x cos x)j and C is the triangle with
vertices (0, 0), (2, 0), and (0, 4).
Answer Keys
Group 1:
1. Let F(x, y) = 2xyi + x2 j. Show that F is conservative and the line integral
R
C F · dr is the same
along two different paths with the same initial and terminal points:
(a) C1 : r1 = ti + t 2 j, 0 ≤ t ≤ 1,
(b) C2 : r2 = ti + t 3 j, 0 ≤ t ≤ 1.
Solution. Set
P = 2xy, Q = x2
Then
∂P ∂Q
= 2x, = 2x
∂y ∂x
So
∂P ∂Q
= 2x =
∂y ∂x
and then F is a conservative vector field.
Along C1 , we have
x = t, y = t 2,
and
x0 = 1, y0 = 2t.
So
Z Z 1
F · dr = F · r0 (t)dt
C1 0
Z 1
2t 3 + t 2 (2t) dt
=
0
= 1.
Along C2 , we have
x = t, y = t 3,
and
x0 = 1, y0 = 3t 2 .
So
Z Z 1
F · dr = F · r0 (t)dt
C2 0
Z 1
2t 4 + t 2 (3t 2 ) dt
=
0
= 1.
5.10. PROBLEM SET 14 245
1. Use Green’s Theorem to evaluate the line integrals along the given positively oriented curve.
2 sin ydy, C
R
(a) C cos ydx + x is the rectangle with vertices (0, 0), (5, 0), (5, 2), and (0, 2).
Z Z
2 ∂ 2 ∂
cos ydx + x sin ydy = (x sin y) − (cos y) dA
C D ∂x ∂y
Z
= (2x sin y + sin y) dA
D
Z 5Z 2
= (2x sin y + sin y) dydx
0 0
= 30(1 − cos(2)).
R √
2 y2 + 1 + x4 )i + (xy − ey2 )j and C consists of the arc of the
1. C F · dr, where F(x, y) = (x
parabola y = x2 from (0, 0) to (1, 1) and the line segment from (1, 1) to (0, 1) and from (0, 1)
to (0, 0).
Z Z
2
p
F · dr = (x2 y2 + 1 + x4 )dx + (xy − ey )dy
C C
Z
∂ y2 ∂ 2 2 p 4
= (xy − e ) − (x y + 1 + x ) dA
D ∂x ∂y
Z
y − 2x2 y dA
=
D
Z 1Z 1
y − 2x2 y dydx
=
0 x2
= 22/105.
0.8
0.6 D
y
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1
x
Group 2:
1. Let F(x, y) = (x2 − y2 )i − 2xyj. Show that F is conservative and the line integral
R
C F · dr is
the same along two different paths with the same initial and terminal points:
(a) C1 : r1 = cos θ i + sin θ j, 0 ≤ θ ≤ π,
(b) C2 : r2 = (1 − t)i, 0 ≤ t ≤ 2.
Solution. Set
P = x2 − y2 , Q = −2xy
246 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
Then
∂P ∂Q
= −2y, = −2y
∂y ∂x
So
∂P ∂Q
= −2y =
∂y ∂x
and then F is a conservative vector field.
Along C1 , we have
x = cos θ , y = sin θ ,
and
x0 = − sin θ , y0 = cos θ .
So
Z Z π
F · dr = F · r0 (t)dt
C1 0
Z π
(cos2 θ − sin2 θ )(− sin θ ) − 2 cos θ sin θ cos θ dt
=
0
= −2/3.
Along C2 , we have
x = 1 − t, y = 0,
and
x0 = −1, y0 = 0.
So
Z Z 2
F · dr = F · r0 (t)dt
C2 0
Z 2
= (1 − t)2 (−1)dt
0
= −2/3.
1. Use Green’s Theorem to evaluate the line integrals along the given positively oriented curve.
2 2
R
(a) C xy dx + 2x ydy, C is the triangle with vertices (0, 0), (2, 2), and (2, 4).
Z Z
2 2 ∂ 2 ∂ 2
xy dx + 2x yd = (2x y) − (xy ) dA
C D ∂x ∂y
Z
= (4xy − 2xy) dA
D
Z 2 Z 2x
= 2xydydx
0 x
= 12.
5.10. PROBLEM SET 14 247
where F(x, y) = (e−x + y2 )i + (sin(y2 ) + x2 )j and C consists of the arc of the curve
R
1. C F · dr,
y = cos x from (−π/2, 0) to (π/2, 0) and the line segment from (π/2, 0) to (−π/2, 0)
Z Z
F · dr = (e−x + y2 )dx + (sin(y2 ) + x2 )dy
C C
Z
∂ 2 2 ∂ −x 2
= − (sin(y ) + x ) − (e + y ) dA
D ∂x ∂y
Z
= − (2x − 2y) dA
D
Z π/2 Z cos x
= −2 (x − y) dydx
−π/2 0
= π/2.
Group 3:
1. Let F(x, y) = y2 zi + 2xyzj + xy2 k. Show that F is conservative and the line integral
R
C F · dr is
the same along two different paths with the same initial and terminal points:
(a) C1 : r1 = ti + t 2 j + k, 0 ≤ t ≤ 1,
(b) C2 : r2 = ti + tj + (2t − 1)2 k, 0 ≤ t ≤ 1.
Solution. Since
curl F = ∇ × F
i j k
∂ ∂ ∂
= ∂x ∂y ∂z
y2 z 2xyz xy2
∂ ∂ ∂ ∂ ∂ ∂
= ∂y ∂z i− ∂x ∂z j+ ∂x ∂y k
2xyz xy2 y2 z xy2 y2 z 2xyz
= (2xy − 2xy) i + y2 − y2 j + (2yz − 2yz) k
= 0.
the vector field is conservative.
Along C1 , we have
x = t, y = t 2, z = 1,
and
x0 = 1, y0 = 2t, z0 = 0.
So
Z Z 1
F · dr = F · r0 (t)dt
C1 0
Z 1
t 4 + 2t 3 (2t) dt
=
0
= 1.
248 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
Along C2 , we have
x = t, y = t, z = (2t − 1)2 ,
and
x0 = 1, y0 = 1, z0 = 4(2t − 1).
So
Z Z 1
F · dr = F · r0 (t)dt
C2 0
Z 1
t 2 (2t − 1)2 + 2t 2 (2t − 1)2 + 4t 3 (2t − 1) dt
=
0
= 1.
1. Use Green’s Theorem to evaluate the line integrals along the given positively oriented curve.
R
(a) C −3ydx + 3xdy, C is the triangle with vertices (0, 0), (3, 0), and (0, 1).
Z Z
∂ ∂
−3ydx + 3xdy = (3x) − (−3y) dA
C D ∂x ∂y
Z
= 6dA
D
Z 3 Z 1−x/3
= 6dydx
0 0
= 9.
where F(x, y) = (y − cos y)i + (x sin y)j and C is the the circle (x − 3)2 + (y + 4)2 = 4
R
1. C F · dr,
Z Z
F · dr = (y − cos y)dx + (x sin y)dy
C C
Z
∂ ∂
= (x sin y) − (y − cos y) dA
D ∂x ∂y
Z
= (sin y − 1 − sin y) dA
D
Z 2π Z 2
= − rdrdθ
0 0
= −4π.
Group 4:
R
1. Let F(x, y) = yzi + xzj + xyk. Show that F is conservative and the line integral C F · dr is the
same along two different paths with the same initial and terminal points:
Solution. Since
curl F = ∇ × F
i j k
∂ ∂ ∂
= ∂x ∂y ∂z
yz xz xy
∂ ∂ ∂ ∂ ∂ ∂
= ∂y ∂z i− ∂x ∂z j+ ∂x ∂y k
xz xy yz xy yz xz
= (x − x) i + (y − y) j + (z − z) k
= 0.
Along C2 , we have
x = 1 − 2t, y = 0, z = πt,
and
x0 = −2, y0 = 0, z0 = π.
So
Z Z 1
F · dr = F · r0 (t)dt
C2 0
Z 1
= 0dt
0
= 0.
1. Use Green’s Theorem to evaluate the line integrals along the given positively oriented curve.
250 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
Z Z
3 3 ∂ 3 ∂ 3
y dx − x dy = (−x ) − (y ) dA
C D ∂x ∂y
Z
x2 + y2 dA
= −3
D
Z 2π Z 2
= −3 r3 drdθ
0 0
= −24π.
R
1. C F · dr, where F(x, y) = (y cos x − xy sin x)i + (xy + x cos x)j and C is the triangle with vertices
(0, 0), (2, 0), and (0, 4).
Z Z
F · dr = (y cos x − xy sin x)dx + (xy + x cos x)dy
C C
Z
∂ ∂
= (xy + x cos x) − (y cos x − xy sin x) dA
D ∂x ∂y
Z
= (y + cos x − x sin x − cos x + x sin x) dA
D
Z 2 Z 4−2x
= ydydx
0 0
= 16/3.
z
S
r(u, v
y
10
5
z
2
0 2
0
−2 −2
y x
z
−2
0.5 1
0 0.5
−0.5 0
−0.5
y x
2
Surface of r=<r cos θ, r sin θ, r
8
6
z
4
2
0
2
0 2
0
−2 −2
y x
• Tangent vector. r0 (t0 ) is a tangent vector of the curve given by Vector-valued functions:
z
C1
S
rv (u0 , v0 )
C2
ru (u0 , v0 ) y
(u0 , v0 )
x
z Tangent plane
C1
S
rv (u0 , v0 )
C2 P
ru (u0 , v0 ) y
(u0 , v0 )
x
n = rφ (θ , φ ) × rθ (θ , φ )
i j k
= 2 cos θ cos φ 2 sin θ cos φ −2 sin φ
−2 sin θ sin φ 2 cos θ sin φ 0
2 sin θ cos φ −2 sin φ 2 cos θ cos φ −2 sin φ
= i− j
2 cos θ sin φ 0 −2 sin θ sin φ 0
2 cos θ cos φ 2 sin θ cos φ
+ k
−2 sin θ sin φ 2 cos θ sin φ
= 4 cos θ sin2 φ i + 4 sin θ sin2 φ j + 4 cos φ sin φ k.
2
z
−2 2
−2
0 0
2
4 −2
y
x
where 0 ≤ θ ≤ 2π and 0 ≤ φ ≤ π.
Solution. From the above example, we have
krφ (θ , φ ) × rθ (θ , φ )k
q
= (4 cos θ sin2 φ )2 + (4 sin θ sin2 φ )2 + (4 cos φ sin φ )2
q
= 4 sin4 φ + cos2 φ sin2 φ
q
= 4 sin2 φ
= 4 sin φ .
[fragile] So
Z 2π Z π Z 2π Z π
S= krφ (θ , φ ) × rθ (θ , φ )kdφ dθ = 4 sin φ dφ dθ = 16π.
0 0 0 0
1. Parameterized Surfaces:
https://www.youtube.com/watch?v=MmTNkRA0yyk
• Outline
f (Pi j )
S
∆Si j
After taking the limit as the number of the areas goes to infinity, we obtain the surface integral:
ZZ m n
f (x, y, z)dS = lim ∑ ∑ f (Pi j )∆Si j
m,n→∞
i=1 j=1
S
where
5
z
0 S
−2
0 2
0
x 2 −2
y
Then
ru (u, v) = −3 sin ui + 3 cos uj,
and
rv (u, v) = k.
5.12. LECTURE 38: SURFACE INTEGRALS 257
So
i j k
ru (u, v) × rv (u, v) = −3 sin u 3 cos u 0
0 0 1
3 cos u 0 −3 sin u 0
= i− j
0 1 0 1
−3 sin u 3 cos u
+ k
0 0
= 3 cos ui + 3 sin uj,
and then
q
kru (u, v) × rv (u, v)k = (3 cos u)2 + (3 sin u)2
= 3.
So ZZ Z 3 Z 2π Z 3 Z 2π
ydS = 3 sin ukru (u, v) × rv (u, v)kdudv = 9 sin ududv = 0.
S 0 0 0 0
• Formula for calculating surface integrals when S is given by z = z(x, y), (x, y) ∈ D:
ZZ ZZ q
f (x, y, z)dS = f (x, y, z) 1 + (zx )2 + (zy )2 dA
S D
RR
• Example. Find S xzdS, where S is the part of the plane 2x + 2y + z = 4 that lies in the first
octant.
Solution. The domain D is the projection of the part of the plane in the first octant onto the
xy-plane and it can be obtained by setting z = 0:
2x + 2y = 4
z
4 y
2
y = 2−x
S D
2 y x
D y = 2−x 0 2
2
x
Since the line intersect with the x-axis at x = 2, the domain D can be described by the inequali-
ties
0 ≤ x ≤ 2, 0 ≤ y ≤ 2 − x
Since
z = 4 − 2x − 2y, zx = −2, zy = −2,
258 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
y = 2−x
D x
2
we have
ZZ ZZ q
xzdS = x(4 − 2x − 2y) 1 + (zx )2 + (zy )2 dA
S D
Z 2 Z 2−x q
= x(4 − 2x − 2y) 1 + (−2)2 + (−2)2 dydx
0 0
= 4.
• The area of the surface z = f (x, y) is
ZZ ZZ q
A(S) = dS = [ fx (x, y)]2 + [ fy (x, y)]2 + 1dA
S
D
S
4
2 D
0
z
−2 2
1
−4
−2 0
−1
0 −1 y
1
x 2 −2
Solution. The domain D is the projection of the part of the paraboloid above the xy-plane onto
the xy-plane and it can be obtained by setting z = 0:
4 − x2 − y2 = 0
The domain D in the polar coordinates is described by
0 ≤ θ ≤ 2π, 0≤r≤2
Since
zx = −2x, zy = −2y,
5.13. LECTURE 39: FLUX INTEGRALS 259
2
0≤r≤2
0 ≤ θ ≤ 2π x
we have
ZZ
S = dS
ZZS q
= 1 + (zx )2 + (zy )2 dA
D
ZZ q
= 1 + (−2x)2 + (−2y)2 dA
D
Z 2π Z 2 p
= 1 + 4r2 rdrdθ
0 0
√
= π(17 17/6 − 1/6).
[fragile]
• Useful youtube videos links:
1. Evaluating a Surface Integral :
https://www.youtube.com/watch?v=SnUuJ7lRTNw
z Tangent plane
C1
S
C2 (x0 , y0 , z0 )
(x0 , y0 )
x
h− f ,− f ,1i
Normal vector: n = √ x2 y 2
( fx ) +( fy ) +1
z Tangent plane
C1
S
C2 (x0 , y0 , z0 )
(x0 , y0 )
x
ru ×rv
Normal vector: n = |ru ×rv |
z Tangent plane
C1
S
ru (u0 , v0 )
C2 P
ru (u0 , v0 ) y
(u0 , v0 )
x
or
ru × rv
n=
|ru × rv |
• For a closed surface S, the positive orientation is the one for which the normal vectors point
outward from S.
• Flux integral of F across an oriented surface S. Since only particles moving in the normal
direction cross the surface, the flux is defined by
ZZ ZZ
F · ndS = F · dS
S S
n F
z
F·n
S
y
F F
• Example. Find the flux of the vector field F = zi + yj + xk across the unit sphere x2 + y2 + z2 =
1. (4π/3)
Solution. The vector equation of the sphere is
and
rφ (θ , φ ) = cos θ cos φ i + sin θ cos φ j − sin φ k.
262 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
Then
rφ (θ , φ ) × rθ (θ , φ )
i j k
= cos θ cos φ sin θ cos φ − sin φ
− sin θ sin φ cos θ sin φ 0
sin θ cos φ − sin φ 2 cos θ cos φ − sin φ
= i− j
cos θ sin φ 0 − sin θ sin φ 0
cos θ cos φ sin θ cos φ
+ k
− sin θ sin φ cos θ sin φ
= cos θ sin2 φ i + sin θ sin2 φ j + cos φ sin φ k.
Evaluate F on the sphere:
F = cos φ i + sin θ sin φ j + cos θ sin φ k.
So the flux is
ZZ
F · ndS
S
ZZ
= F · (rφ × rθ )dA
D
ZZ
= (cos φ i + sin θ sin φ j + cos θ sin φ k) ·
D
(cos θ sin2 φ i + sin θ sin2 φ j + cos φ sin φ k)dA
Z 2π Z π
= (cos θ sin2 φ cos φ + sin2 θ sin3 φ + cos θ cos φ sin2 φ )dφ dθ
0 0
= 4π/3.
• Formula for calculating flux cross S given by z = f (x, y):
h− fx , − fy , 1i
ZZ ZZ q
F · ndS = F· p ( fx )2 + ( fy )2 + 1dA
( fx )2 + ( fy )2 + 1
S S
ZZ
= = (−P fx − Q fy + R)dA
D
where F = Pi + Qj + Rk.
RR
• Example. Find F · ndS, where F = xi + yj + zk and S is the part of the paraboloid z =
S
1 − x2 − y2 above the plane z = 0. (3π/2)
Solution. The domain D is the projection of the part of the paraboloid above the xy-plane onto
the xy-plane and it can be obtained by setting z = 0:
1 − x2 − y2 = 0
5.14. PROBLEM SET 15 263
F
F
F
2
F S
D
z
0
−1 0
−0.5 0
0.5 y
1 −1
x
1
0≤r≤1
0 ≤ θ ≤ 2π x
2. Find an equation of the tangent plane to the surface r(u, v) = u cos vi + u sin vj + u2 k at the
point with u = 2, v = π/3.
3. Find the surface integrals:
RR
(a) S xyzdS, where S is the cone with parametric equation x = u cos v, y = u sin v, z = u, 0 ≤
u ≤ 1, 0 ≤ v ≤ π/2.
RR
(b) S F · dS, where F = yi + (z − y)j + xk, S is the surface of the tetrahedron with vertices
(0, 0, 0), (1, 0, 0), (0, 1, 0), and (0, 0, 1), oriented outward.
Group 2:
1. Find a parametric representation for the plane x + y + z = 6.
2. Find an equation of the tangent plane to the surface with parametric equations
x = u2 , y = v2 , z = u + 2v
at the point (1,1,3).
3. Find the surface integrals:
RR
(a) S yzdS, where S is the part of the plane z = 2 − x − y that lies in the first octant.
(b) S F · dS, where F = xzi + xj + yk, S is the hemisphere x2 + y2 + z2 = 25, y ≥ 0, oriented
RR
Answer Keys
Group 1:
1. Find a parametric
p representation for the part of the sphere x2 + y2 + z2 = 9 that lies above the
cone z = x2 + y2 .
20
10
0
z
−10
−20
4
5
2
0
y 0 −5
x
Since
ru (u, v)|(2,π/3) = [cos vi + sin vj + 2uk](2,π/3)
√
1 3
= i+ j + 4k,
2 2
rv (u, v)|(2,π/3) = [−u sin vi + u cos vj](2,π/3)
√
= − 3i + j,
0.5
z
0
1
1
0.5
0.5
y 0 0
x
0.5
z
S4
0
S2 S3
1
S1 1
0.5
0.5
y 0 0
x
On the triangular side S1 with vertices (0, 0, 0), (1, 0, 0), (0, 1, 0), we have
z = 0.
So
ZZ ZZ
F · dS = − (x − yzx − (0 − y)zy )dA
S1 S1
Z 1 Z 1−x
= − xdydx
0 0
= −1/6.
5.14. PROBLEM SET 15 267
On the triangular side S2 with vertices (0, 0, 0), (0, 1, 0), (0, 0, 1), we have
x = 0.
So
ZZ ZZ
F · dS = − (y − (z − y)xy − 0 × xz )dA
S2 S2
Z 1 Z 1−y
= − ydzdy
0 0
= −1/6.
On the triangular side S3 with vertices (0, 0, 0), (1, 0, 0), (0, 0, 1), we have
y = 0.
So
ZZ ZZ
F · dS = − (z − 0 − 0 × yx − x × yz )dA
S3 S3
Z 1 Z 1−x
= − zdzdx
0 0
= −1/6.
On the triangular side S4 with vertices (1, 0, 0), (0, 0, 1), (0, 1, 0), we have
z = 1 − x − y.
So
ZZ ZZ
F · dS = (x − yzx − (1 − x − y − y) × zy )dA
S4 S1
Z 1 Z 1−x
= (1 − y)dydx
0 0
= 1/3.
Therefore,
ZZ ZZ ZZ ZZ ZZ
F · dS = F · dS + F · dS + F · dS + F · dS = −1/6
S S1 S2 S3 S4
Group 2:
1. Find a parametric representation for the plane x + y + z = 6.
r(x, y) = xi + yj + (6 − x − y)k.
1. Find an equation of the tangent plane to the surface with parametric equations
x = u2 , y = v2 , z = u + 2v
at the point (1,1,3).
268 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
z
2
0
4
4
2
2
y 0 0
x
2 1.5
1
1
y
0 D
z
−1
0.5 D
2
−2
0 1
1
0
2 0 y 0 0.5 1 1.5 2
x x
Since
zx = −1
zy = −1,
we obtain
ZZ ZZ q
yzdS = yz 1 + z2x + z2y dA
S D
Z 2 Z 2−x √
= 3y(2 − x − y)dydx
0
√ 0
= 2 3/3.
5.14. PROBLEM SET 15 269
4
5
4 2
3 D
y
0
z
2
1
−2
0
4 D
2 4 −4
0 2
−2 0
−4 −2 −4 −2 0 2 4
−4
z x x
Since
p
y = 25 − x2 − z2
x
yx = −√
25 − x2 − z2
z
yz = −√ ,
25 − x2 − z2
we obtain
x2 z
ZZ
zy
ZZ
F · dS = x+ √ +√ dA
S 25 − x2 − z2
D 25 − x2 − z2
x2 z
ZZ
= x+ √ + z dA
D 25 − x2 − z2
r3 cos2 θ sin θ
Z 2π Z 5
= r cos θ + √ + r sin θ rdrdθ
0 0 25 − r2
= 0.
Group 3:
√
1. Find a parametric representation for the cone y = 4x2 + 9z2 .
1 1
r(u, v) = v cos ui + vj + v sin uk, v ≥ 0.
2 3
1. Find an equation of the tangent plane to the surface r(u, v) = sin ui + cos u sin vj + sin vk at the
point with u = π/6, v = π/6.
Surface of r(u, v) = <sin u, cos u sin v, sin v>
0.5
z
−0.5
1
1
0.5
0.5
y 0 0
x
270 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
Since
i
√
j k
3
n = 2 − 41 0
√
3 3
0 4 2
√ √
3 3 3 3
= h− ,− , i.
8 4 8
Also,
√
1 3 1
r(π/6, π/6) = i + j + k.
2 4 2
Surface of z = x2+y2
1.5
4
1
3 0.5
D
2 0
y
z
1 −0.5
0 −1
D −1.5
1 2
0 1
−1 0
−1 −1 0 1 2
y x x
Since
zx = 2x
zy = 2y,
5.14. PROBLEM SET 15 271
we obtain
ZZ
S = dS
q ZZS
= 1 + z2x + z2y dA
D
ZZ p
= 1 + 4x2 + 4y2 dA
D
Z 2π Z 2 p
= r 1 + 4r2 drdθ
0
√0
= π(17 17 − 1)/6.
2
1.5
1.5
1
z
y 1
0.5
D
0 0.5
2
D 2
1 1.5
1 0
0.5 0.5 1 1.5 2
y 0
x x
Since
p
z = 4 − x2 − y2
x
zx = −p
4 − x2 − y2
z
zz = −p ,
4 − x2 − y2
we obtain
" #
x2 zy
ZZ ZZ
F · dS = − y+ p −p dA
S 4 − x2 − y2
D 4 − x2 − y2
" #
ZZ
x 2
= − y+ p − y dA
D 4 − x2 − y2
Z π/2 Z 2 2
r cos2 θ
= − √ rdrdθ
0 0 4 − r2
= 4π/3.
Group 4:
1. Find an equation of the tangent plane to the surface with parametric equations
x = u + v, y = 3u2 , z = u − v
z
0
−2 4
0
5 2
10
15 0
y x
i j k
n = 1 6 1
1 0 −1
= h−6, 2, −6i.
−6(x − 2) + 2(y − 3) − 6z = 0.
(a) The area of the part of the plane 3x + 2y + z = 6 that lies in the first octant.
Surface of z = 6−3x−2y
3
2.5
6
2
4
z
1.5
y
2
1
0 D
3 0.5
2 D 2
1 1 0
0 0 0 0.5 1 1.5 2
y x x
Since
zx = −3
zy = −2,
5.15. LECTURE 40: THE DIVERGENCE THEOREM 273
we obtain
ZZ
S = dS
ZZS q
= 1 + z2x + z2y dA
D
Z 2 Z 6−3x √
= 14dydx
0 0
√
= 3 14.
where F = xyi + yzj + zxk, S is the part of the paraboloid z = 4 − x2 − y2 that lies
RR
1. S F · dS,
above the square 0 ≤ x ≤ 1, 0 ≤ y ≤ 1, and has the upward orientation.
Surface S
1
4 0.8
3
0.6
2 D
z
y
1 0.4
0
1 D 0.2
1
0.5
0.5 0
0 0 0 0.2 0.4 0.6 0.8 1
y x x
Since
zx = −2x
zz = −2y,
we obtain
ZZ ZZ
xz + 2x2 y + 2y2 z dA
F · dS =
S D
ZZ
x(4 − x2 − y2 ) + 2x2 y + 2y2 (4 − x2 − y2 ) dA
= −
D
Z 1Z 1
x(4 − x2 − y2 ) + 2x2 y + 2y2 (4 − x2 − y2 ) dxdy
= −
0 0
= 713/180.
1. Divergence theorem
2. Stokers’s theorem
3. Examples
274 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
• The Divergence Theorem in the space. Let S be the boundary of a simple solid region E,
given with positive (outward) orientation. Then
ZZ ZZZ
F · ndS = div FdV
S E
• Example. Use the Divergence Theorem to find the flux of the vector field F = zi + yj + xk
across the unit sphere x2 + y2 + z2 = 1.
Using the Divergence Theorem, we obtain
ZZ ZZZ
F · ndS = div FdV
S E
ZZZ
= dV
E
Z 2π Z π Z 1
= ρ 2 sin φ dρdφ dθ
0 0 0
4π
=
3
RR
• Example. Use the Divergence Theorem to find F · ndS, where F = xi + yj + zk and S is the
S
boundary of the solid region enclosed by the paraboloid z = 1 − x2 − y2 and the plane z = 0.
Using the Divergence Theorem, we obtain
ZZ ZZZ
F · ndS = div FdV
S E
ZZZ
= 3dV
E
Z 2π Z 1 Z 1−r2
= 3 rdzdrdθ
0 0 0
3π
=
2
5.16. PROBLEM SET 16 275
RR
• Example. Use the Divergence Theorem to calculate the surface integral F · ndS, where
S
F = (cos z + xy2 )i + xe−z j + (sin y + x2 z)k and S is the surface of the solid bounded by the
paraboloid z = x2 + y2 and the plane z = 4.
Using the Divergence Theorem, we obtain
ZZ ZZZ
F · ndS = div FdV
S E
ZZZ
= (x2 + y2 )dV
E
Z 2π Z 2 Z 4
= r3 dzdrdθ
0 0 r2
32π
=
3
(a) F = x2 z2 i − 2yj + 3xyzk, and S is the surface of the solid bounded by the surfaces: x = 0,
x = a, y = 0, y = a, z = 0, z = a.
F = xyi + yzj − yzk, and S is the surface of the solid bounded by the surfaces: z =
(b) p
a2 − x2 − y2 , z = 0.
Group 4:
RR
1. Use the Divergence Theorem to find the surface integral S F · dS.
(a) F = xi + y2 j − zk, and S is the surface of the solid bounded by the surfaces: x2 + y2 = 25,
z = 0, z = 7.
(b) F = (xy2 + cos pz)i + (x2 y + sin z)j + ez k, and S is the surface of the solid bounded by the
surfaces: z = 12 x2 + y2 , z = 8.
Answer Keys
Group 1:
RR
1. Use the Divergence Theorem to find the surface integral S F · dS.
ZZ ZZZ
F · dS = div FdV
S E
ZZZ
= 2 (x2 + y2 + z2 )dV
E
Z 2π Z π Z 2
= 2 ρ 4 sin φ dρdφ dθ
0 0 0
= 256π/5.
1. F = x4 i − x3 z2 j + 4xy2 zk, S is the surface of the solid bounded by the cylinder x2 + y2 = 1 and
the planes z = x + 2 and z = 0.
ZZ ZZZ
F · dS = div FdV
S ZZZE
= (4x3 + 4xy2 )dV
E
Z 2π Z 1 Z 2+r cos θ
= 4r4 cos θ dzdrdθ
0 0 0
= 2π/3.
Group 2:
RR
1. Use the Divergence Theorem to find the surface integral S F · dS.
ZZ ZZZ
F · dS = div FdV
S E
ZZZ
= 2 (x + y + z)dV
Z a ZE aZ a
= 2 (x + y + z)dzdydx
0 0 0
4
= 3a .
F = x2 i − 2xyj + xyz2 k, and S is the surface of the solid bounded by the surfaces: z =
1. p
a2 − x2 − y2 , z = 0.
ZZ ZZZ
F · dS = div FdV
S E
ZZZ
= 2 (x − x + xyz)dV
E
Z 2π Z π/2 Z a
= 2 ρ 5 cos θ sin θ cos φ sin3 φ dρdφ dθ
0 0 0
= 0.
Group 3:
RR
1. Use the Divergence Theorem to find the surface integral S F · dS.
(a) F = x2 z2 i − 2yj + 3xyzk, and S is the surface of the solid bounded by the surfaces: x = 0,
x = a, y = 0, y = a, z = 0, z = a.
ZZ ZZZ
F · dS = div FdV
S ZZZE
= (2xz2 − 2 + 3xy)dV
Z a ZE a Z a
= (2xz2 − 2 + 3xy)dzdydx
0 0 0
1 6 3 5
= a + a − 2a3 .
3 4
p
1. F = xyi+yzj−yzk, and S is the surface of the solid bounded by the surfaces: z = a2 − x2 − y2 ,
z = 0.
ZZ ZZZ
F · dS = div FdV
S ZZZE
= (y + z − y)dV
E
Z 2π Z π/2 Z a
= ρ 3 cos φ sin φ dρdφ dθ
0 0 0
= πa4 /4.
278 CHAPTER 5. CHAPTER 15 VECTOR CALCULUS
Group 4:
RR
1. Use the Divergence Theorem to find the surface integral S F · dS.
(a) F = xi + y2 j − zk, and S is the surface of the solid bounded by the surfaces: x2 + y2 = 25,
z = 0, z = 7.
Surface S
6 2
4 D
z
0
y
2
−2
0
4 D
2 4 −4
0 2
−2 0
−4 −2 −4 −2 0 2 4
−4
y x x
ZZ ZZZ
F · dS = div FdV
S ZZZE
= (1 + 2y − 1)dV
E
Z 2π Z 5 Z 7
= 2r2 sin θ dzdrdθ
0 0 0
= 0.
1. F = (xy2 + cosp z)i + (x2 y + sin z)j + ez k, and S is the surface of the solid bounded by the
surfaces: z = 12 x2 + y2 , z = 8.
Surface S
15
8 10
6 5
D
4
z
0
y
2
−5
0
D −10
10
0 10
0 −15
−10 −10 −15 −10 −5 0 5 10 15
y x x
ZZ ZZZ
F · dS = div FdV
S ZZZE
= (y2 + x2 + ez )dV
E
Z 2π Z 16 Z 8
= (r2 + ez )rdzdrdθ
0 0 r/2
8
= 2π(100e + 131052/5).