Full
Full
CALCULUS III
MATH 2215: Calculus III
This text is disseminated via the Open Education Resource (OER) LibreTexts Project (https://LibreTexts.org) and like the
hundreds of other texts available within this powerful platform, it freely available for reading, printing and "consuming." Most,
but not all, pages in the library have licenses that may allow individuals to make changes, save, and print this book. Carefully
consult the applicable license(s) before pursuing such effects.
Instructors can adopt existing LibreTexts texts or Remix them to quickly build course-specific resources to meet the needs of
their students. Unlike traditional textbooks, LibreTexts’ web based origins allow powerful integration of advanced features and
new technologies to support learning.
The LibreTexts mission is to unite students, faculty and scholars in a cooperative effort to develop an easy-to-use online
platform for the construction, customization, and dissemination of OER content to reduce the burdens of unreasonable
textbook costs to our students and society. The LibreTexts project is a multi-institutional collaborative venture to develop the
next generation of open-access texts to improve postsecondary education at all levels of higher learning by developing an
Open Access Resource environment. The project currently consists of 13 independently operating and interconnected libraries
that are constantly being optimized by students, faculty, and outside experts to supplant conventional paper-based books.
These free textbook alternatives are organized within a central environment that is both vertically (from advance to basic level)
and horizontally (across different fields) integrated.
The LibreTexts libraries are Powered by MindTouch® and are supported by the Department of Education Open Textbook Pilot
Project, the UC Davis Office of the Provost, the UC Davis Library, the California State University Affordable Learning
Solutions Program, and Merlot. This material is based upon work supported by the National Science Foundation under Grant
No. 1246120, 1525057, and 1413739. Unless otherwise noted, LibreTexts content is licensed by CC BY-NC-SA 3.0.
Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not
necessarily reflect the views of the National Science Foundation nor the US Department of Education.
Have questions or comments? For information about adoptions or adaptions contact [email protected]. More information
on our activities can be found via Facebook (https://facebook.com/Libretexts), Twitter (https://twitter.com/libretexts), or our
blog (http://Blog.Libretexts.org).
TITLEPAGE
INFOPAGE
TABLE OF CONTENTS
2: NEW PAGE
3: NEW PAGE
4: NEW PAGE
5: NEW PAGE
6: NEW PAGE
7: NEW PAGE
8: NEW PAGE
9: NEW PAGE
10: NEW PAGE
11: NEW PAGE
12: VECTORS AND THE GEOMETRY OF SPACE
12.7E: EXERCISES FOR CYLINDRICAL AND SPHERICAL COORDINATES
CHAPTER 11 REVIEW EXERCISES
CYLINDRICAL AND SPHERICAL COORDINATES
EQUATIONS OF LINES AND PLANES IN SPACE
EXERCISES FOR EQUATIONS OF LINES AND PLANES IN SPACE
EXERCISES FOR QUADRIC SURFACES
EXERCISES FOR THE CROSS PRODUCT
EXERCISES FOR THE DOT PRODUCT
EXERCISES FOR VECTORS IN SPACE
EXERCISES FOR VECTORS IN THE PLANE
QUADRIC SURFACES
THE CROSS PRODUCT
THE DOT PRODUCT
VECTORS IN SPACE
VECTORS IN THE PLANE
1 9/15/2021
THE CALCULUS OF VECTOR-VALUED FUNCTIONS
THE CALCULUS OF VECTOR-VALUED FUNCTIONS II
VECTOR-VALUED FUNCTIONS AND SPACE CURVES
2 9/15/2021
17: APPENDICES
TABLE OF DERIVATIVES
TABLE OF INTEGRALS
TABLE OF LAPLACE TRANSFORMS
BACK MATTER
INDEX
GLOSSARY
3 9/15/2021
2: New Page
VECTORS IN SPACE
Vectors are useful tools for solving two-dimensional problems. Life, however, happens in three dimensions. To expand the use of
vectors to more realistic applications, it is necessary to create a framework for describing three-dimensional space.
1 9/15/2021
12.7E: Exercises for Cylindrical and Spherical Coordinates
This is a practice subsection
Exercise 12.7E. 1
Add exercises text here.
Answer
Add texts here. Do not delete this text first.
z
2
y
2
1
1
-2
-1
1
-1 2 x
-1
-2
-2
Use the following figure as an aid in identifying the relationship between the rectangular, cylindrical, and spherical coordinate
systems.
6
, 3)
Answer:
–
(2 √3, 2, 3)
2) (3, π
3
, 5)
3) (4, 7π
6
, 3)
Answer:
–
−2 √3, −2, 3)
4) (2, π, −4)
For exercises 5 - 8, the rectangular coordinates (x, y, z) of a point are given. Find the cylindrical coordinates
(r, θ, z) of the point.
–
5) (1, √3, 2)
Answer:
π
(2, , 2)
3
6) (1, 1, 5)
7) (3, −3, 7)
Answer:
– π
(3 √2, − , 7)
4
– –
8) (−2√2, 2√2, 4)
For exercises 9 - 16, the equation of a surface in cylindrical coordinates is given. Find the equation of the surface in
rectangular coordinates. Identify and graph the surface.
9) [T] r = 4
Answer:
A cylinder of equation x 2
+y
2
= 16, with its center at the origin and rulings parallel to the z -axis,
11) [T] r
2
cos(2θ) + z
2
+1 = 0
Answer:
Hyperboloid of two sheets of equation −x 2
+y
2
−z
2
= 1, with the y-axis as the axis of symmetry,
Answer:
Cylinder of equation x 2
− 2x + y
2
= 0, with a center at (1, 0, 0) and radius 1, with rulings parallel to the z-axis,
14) [T] r 2
+z
2
=5
Answer:
For exercises 17 - 22, the equation of a surface in rectangular coordinates is given. Find the equation of the surface in
cylindrical coordinates.
17) z = 3
Answer:
z =3
18) x = 6
19) x2
+y
2
+z
2
=9
Answer:
2 2
r +z =9
20) y = 2x 2
21) x2
+y
2
− 16x = 0
Answer:
r = 16 cos θ, r = 0
−−−−−−
22) x2
+y
2 2
− 3 √x + y
2
+2 = 0
For exercises 23 - 26, the spherical coordinates (ρ, θ, φ) of a point are given. Find the rectangular coordinates (x, y, z)
of the point.
23) (3, 0, π)
Answer:
(0, 0, −3)
24) (1, π
6
,
π
6
)
25) (12, − π
4
,
π
4
)
Answer:
–
(6, −6, √2)
26) (3, π
4
,
π
6
)
Answer:
(4, 0, 90°)
28) (−1, 2, 1)
29) (0, 3, 0)
Answer:
(3, 90°, 90°)
–
30) (−2, 2√3, 4)
For exercises 31 - 36, the equation of a surface in spherical coordinates is given. Find the equation of the surface in
rectangular coordinates. Identify and graph the surface.
31) [T] ρ = 3
Answer:
Sphere of equation x
2
+y
2
+z
2
=9 centered at the origin with radius 3,
32) [T] φ = π
Answer:
Sphere of equation x
2
+y
2
+ (z − 1 )
2
=1 centered at (0, 0, 1) with radius 1,
Answer:
The xy-plane of equation z = 0,
For exercises 37 - 40, the equation of a surface in rectangular coordinates is given. Find the equation of the surface in
spherical coordinates. Identify the surface.
37) x2
+y
2
− 3z
2
= 0, z ≠ 0
Answer:
φ =
π
3
or φ = 2π
3
; Elliptic cone
38) x2
+y
2
+z
2
− 4z = 0
39) z = 6
Answer:
ρcosφ = 6; Plane at z = 6
40) x2
+y
2
=9
For exercises 41 - 44, the cylindrical coordinates of a point are given. Find its associated spherical coordinates, with the
measure of the angle φ in radians rounded to four decimal places.
41) [T] (1, π
4
, 3)
Answer:
−− π
(√10, , 0.3218)
4
2
, 3)
Answer:
– π π
(3 √2, , )
2 4
44) (3, − π
6
, 3)
4
,
π
2
)
Answer:
π
(2, − , 0)
4
46) (4, π
4
,
π
6
)
47) (8, π
3
,
π
2
)
Answer:
π
(8, , 0)
3
48) (9, − π
6
,
π
3
)
For exercises 49 - 52, find the most suitable system of coordinates to describe the solids.
49) The solid situated in the first octant with a vertex at the origin and enclosed by a cube of edge length a , where a > 0
Answer:
Cartesian system, (x, y, z)|0 ≤ x ≤ a, 0 ≤ y ≤ a, 0 ≤ z ≤ a
50) A spherical shell determined by the region between two concentric spheres centered at the origin, of radii of a and b ,
respectively, where b > a > 0
51) A solid inside sphere x 2
+y
2
+z
2
=9 and outside cylinder (x − 3
2
2
) +y
2
=
9
Answer:
Cylindrical system, (r, θ, z) ∣ r 2
+z
2
≤ 9, r ≥ 3cosθ, 0 ≤ θ ≤ 2π
52) A cylindrical shell of height 10 determined by the region between two cylinders with the same center, parallel rulings, and
radii of 2 and 5, respectively
53) [T] Use a CAS or CalcPlot3D to graph in cylindrical coordinates the region between elliptic paraboloid z = x 2
+y
2
and
cone x + y − z = 0.
2 2 2
Answer:
The region is described by the set of points (r, θ, z) ∣∣ 0 ≤ r ≤ 1, 0 ≤ θ ≤ 2π, r 2
≤ z ≤ r.
54) [T] Use a CAS or CalcPlot3D to graph in spherical coordinates the “ice cream-cone region” situated above the xy-plane
between sphere x + y + z = 4 and elliptical cone x + y − z = 0.
2 2 2 2 2 2
55) Washington, DC, is located at 39° N and 77° W (see the following figure). Assume the radius of Earth is 4000 mi.
Express the location of Washington, DC, in spherical coordinates.
56) San Francisco is located at 37.78°N and 122.42°W . Assume the radius of Earth is 4000 mi. Express the location of San
Francisco in spherical coordinates.
57) Find the latitude and longitude of Rio de Janeiro if its spherical coordinates are (4000, −43.17°, 102.91°).
Answer:
43.17°W , 22.91°S
58) Find the latitude and longitude of Berlin if its spherical coordinates are (4000, 13.38°, 37.48°).
59) [T] Consider the torus of equation (x 2
+y
2
+z
2 2
+R
2
−r )
2 2
= 4 R (x
2 2
+ y ), where R ≥ r > 0.
a. Write the equation of the torus in spherical coordinates.
b. If R = r, the surface is called a horn torus. Show that the equation of a horn torus in spherical coordinates is
ρ = 2Rsinφ.
c. Use a CAS or CalcPlot3D to graph the horn torus with R = r = 2 in spherical coordinates.
Answer:
a. ρ = 0, ρ + R2 − r2 − 2Rsinφ = 0
c.
60) [T] The “bumpy sphere” with an equation in spherical coordinates is ρ = a + bcos(mθ)sin(nφ) , with θ ∈ [0, 2π] and
φ ∈ [0, π], where a and b are positive numbers and m and n are positive integers, may be used in applied mathematics to
12
. Graph the intersection curve in
the plane of intersection.
Answer:
True; See proof in Section 11.3
⇀ ⇀ ⇀
2) For vectors ⇀
a and b and any given scalar c, ⇀ ⇀
c( a × b ) = (c a ) × b .
3) The symmetric equation for the line of intersection between two planes x +y +z = 2 and x + 2y − 4z = 5 is given by
x−1 y−1
− = = z.
6 5
Answer:
False, Converting the symmetric equations above to the parametric equations of the line, we get:
x = 1 − 6t
y = 1 + 5t
z =t
If this line lies on each plane, we should get an identity (like 5 = 5) when we substitute each expression of t in the
each plane's equation.
Thus we know that this line does lie on the first plane.
Since we do not get an identity, we know this line is not on the second plane and can therefore not be the line of
intersection of the two planes.
⇀ ⇀
4) If ⇀
a ⋅ b = 0, then ⇀
a is perpendicular to b .
Answer:
⇀
False, since ⇀
a or b could also be the zero vector.
For exercises 5 and 6, use the given vectors to find the quantities.
⇀
5) ⇀ ^ ^
a = 9 i − 2 j,
^ ^
b = −3 i + k
⇀
a. 3 a + b
⇀
b. ∥ a ∥
⇀
⇀
c. ⇀
a × ∥b × a∥
⇀
⇀
d. ∥ b × a ∥ ⇀
Answer:
a. ⟨24, −6, 1⟩
−−
b. √85
1 9/5/2021 https://math.libretexts.org/@go/page/20997
c. Can’t cross a vector with a scalar
d. 11
⇀
6) ⇀ ^ ^ ^
a = 2 i + j − 9 k,
^ ^
b = − i + 2 k,
⇀ ^ ^ ^
c = 4i −2j +k
⇀
a. 2 a − b
⇀
⇀
b. ∥ b × c ∥ ⇀
⇀ ⇀
c. b × ( b × c ) ⇀
⇀
d. ⇀
c × ∥b × a∥
⇀
⇀
e. Proj ⇀
a
b
7) Find the values of a such that vectors ⟨2, 4, a⟩ and ⟨0, −1, a⟩ are orthogonal.
Answer:
a = ±2
Answer:
1 2 3 √14 √14 3 √14
⟨ ,− ,− ⟩ =⟨ ,− ,− ⟩
√14 √14 √14 14 7 14
For exercises 10 and 11, find the area or volume of the given shapes.
⇀
10) The parallelogram spanned by vectors ⇀
a = ⟨1, 13⟩ and b = ⟨3, 21⟩
⇀
11) The parallelepiped formed by ⇀
a = ⟨1, 4, 1⟩ and b = ⟨3, 6, 2⟩, and ⇀
c = ⟨−2, 1, −5⟩
Answer:
27 units
2
For exercises 12 and 13, find the parametric equations and the vector equation of the line with the given properties.
12) The line that passes through point (2, −3, 7) that is parallel to vector ⟨1, 3, −2⟩
13) The line that passes through points (1, 3, 5) and (−2, 6, −3)
Answer:
⇀ ^ ^ ^
x = 1 − 3t, y = 3 + 3t, z = 5 − 8t, r (t) = (1 − 3t) i + 3(1 + t) j + (5 − 8t)k
For exercises 14 and 15, find the equation of the plane with the given properties.
14) The plane that passes through point (4, 7, −1) and has normal vector n = ⟨3, 4, 2⟩ ⇀
15) The plane that passes through points (0, 1, 5), (2, −1, 6),and (3, 2, 5).
Answer:
2 9/5/2021 https://math.libretexts.org/@go/page/20997
−x + 3y + 8z = 43
For exercises 16 and 17, find the traces for the surfaces in planes x = k, y = k , and z = k. Then, describe and draw
the surfaces.
16) 9x 2
+ 4y
2
− 16y + 36 z
2
= 20
17) x 2
=y
2
+z
2
Answer:
x =k trace: k 2
=y
2
+z
2
is a circle, y = k trace: x − z = k is a hyperbola (or a pair of lines if k = 0), z = k
2 2 2
trace: x 2
−y
2
=k
2
is a hyperbola (or a pair of lines if k = 0 ). The surface is a cone.
For exercises 18 and 19, write the given equation in cylindrical coordinates and spherical coordinates.
18) x 2
+y
2
+z
2
= 144
19) z = x 2
+y
2
−1
Answer:
Cylindrical: z = r 2
− 1, spherical: cos φ = ρ sin2
φ−
1
For exercises 20 and 21, convert the given equations from cylindrical or spherical coordinates to rectangular
coordinates. Identify the given surface.
20) ρ 2 2
(sin (φ) − cos (φ)) = 1
2
21) r2
− 2r cos(θ) + z
2
=1
Answer:
x
2
− 2x + y
2
+z
2
=1 , sphere
3 9/5/2021 https://math.libretexts.org/@go/page/20997
23) When the boat reaches the shore, two ropes are thrown to people to help pull the boat ashore. One rope is at an angle of
25° and the other is at 35°. If the boat must be pulled straight and at a force of 500 N, find the magnitude of force for each
Answer:
331 N and 244 N
24) An airplane is flying in the direction of 52° east of north with a speed of 450 mph. A strong wind has a bearing 33° east of
north with a speed of 50 mph. What is the resultant ground speed and bearing of the airplane?
25) Calculate the work done by moving a particle from position (1, 2, 0) to (8, 4, 5) along a straight line with a force
⇀
^ ^ ^
F = 2 i + 3 j − k.
Answer:
15 J
In problems 26 and 27, consider your unsuccessful attempt to take the tire off your car using a wrench to loosen the
bolts. Assume the wrench is 0.3 m long and you are able to apply a 200-N force.
26) Because your tire is flat, you are only able to apply your force at a 60° angle. What is the torque at the center of the bolt?
Assume this force is not enough to loosen the bolt.
27) Someone lends you a tire jack and you are now able to apply a 200-N force at an 80° angle. Is your resulting torque going
to be more or less? What is the new resulting torque at the center of the bolt? Assume this force is not enough to loosen the
4 9/5/2021 https://math.libretexts.org/@go/page/20997
bolt.
Answer:
More, 59.09 J
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
5 9/5/2021 https://math.libretexts.org/@go/page/20997
Cylindrical and Spherical Coordinates
Learning Objectives
Convert from cylindrical to rectangular coordinates.
Convert from rectangular to cylindrical coordinates.
Convert from spherical to rectangular coordinates.
Convert from rectangular to spherical coordinates.
The Cartesian coordinate system provides a straightforward way to describe the location of points in space. Some surfaces,
however, can be difficult to model with equations based on the Cartesian system. This is a familiar problem; recall that in two
dimensions, polar coordinates often provide a useful alternative system for describing the location of a point in the plane,
particularly in cases involving circles. In this section, we look at two different ways of describing the location of points in
space, both of them based on extensions of polar coordinates. As the name suggests, cylindrical coordinates are useful for
dealing with problems involving cylinders, such as calculating the volume of a round water tank or the amount of oil flowing
through a pipe. Similarly, spherical coordinates are useful for dealing with problems involving spheres, such as finding the
volume of domed structures.
Cylindrical Coordinates
When we expanded the traditional Cartesian coordinate system from two dimensions to three, we simply added a new axis to
model the third dimension. Starting with polar coordinates, we can follow this same process to create a new three-dimensional
coordinate system, called the cylindrical coordinate system. In this way, cylindrical coordinates provide a natural extension of
polar coordinates to three dimensions.
Figure 1: The right triangle lies in the xy-plane. The length of the hypotenuse is r and θ is the measure of the angle
formed by the positive x -axis and the hypotenuse. The z -coordinate describes the location of the point above or below the
xy -plane.
In the xy-plane, the right triangle shown in Figure 1 provides the key to transformation between cylindrical and Cartesian, or
rectangular, coordinates.
1 9/5/2021 https://math.libretexts.org/@go/page/20995
x = r cos θ
y = r sin θ
z =z
These equations are used to convert from rectangular coordinates to cylindrical coordinates
1. r2
=x
2
+y
2
y
2. tan θ =
x
3. z = z
As when we discussed conversion from rectangular coordinates to polar coordinates in two dimensions, it should be noted that
y
the equation tan θ = has an infinite number of solutions. However, if we restrict θ to values between 0 and 2π, then we can
x
find a unique solution based on the quadrant of the xy -plane in which original point (x, y, z) is located. Note that if x =0 ,
π 3π
then the value of θ is either , , or 0, depending on the value of y .
2 2
Notice that these equations are derived from properties of right triangles. To make this easy to see, consider point P in the xy -
plane with rectangular coordinates (x, y, 0) and with cylindrical coordinates (r, θ, 0), as shown in Figure 2.
convert to cylindrical coordinates, the z -coordinate does not change. Therefore, in cylindrical coordinates, surfaces of the form
z = c are planes parallel to the xy-plane. Now, let’s think about surfaces of the form r = c . The points on these surfaces are at
a fixed distance from the z -axis. In other words, these surfaces are vertical circular cylinders. Last, what about θ = c ? The
points on a surface of the form θ = c are at a fixed angle from the x-axis, which gives us a half-plane that starts at the z -axis
(Figures 3 and 4).
Figure 3: In rectangular coordinates, (a) surfaces of the form x = c are planes parallel to the yz-plane, (b) surfaces of the form
y = c are planes parallel to the xz -plane, and (c) surfaces of the form z = c are planes parallel to the xy -plane.
2 9/5/2021 https://math.libretexts.org/@go/page/20995
Figure 4: In cylindrical coordinates, (a) surfaces of the form r = c are vertical cylinders of radius r , (b) surfaces of the form
θ = c are half-planes at angle θ from the x -axis, and (c) surfaces of the form z = c are planes parallel to the xy -plane.
Solution
Conversion from cylindrical to rectangular coordinates requires a simple application of the equations listed in Note:
2π
x = r cos θ = 4 cos = −2
3
2π – .
y = r sin θ = 4 sin = 2 √3
3
z = −2
2π –
The point with cylindrical coordinates (4, , −2) has rectangular coordinates (−2, 2√3, −2) (Figure 5).
3
Figure 5: The projection of the point in the xy -plane is 4 units from the origin. The line from the origin to the point’s
2π
projection forms an angle of with the positive x -axis. The point lies 2 units below the xy-plane.
3
Exercise 1
Point R has cylindrical coordinates (5,
π
6
, 4) . Plot R and describe its location in space using rectangular, or Cartesian,
coordinates.
Hint
The first two components match the polar coordinates of the point in the xy-plane.
Answer
5 √3
The rectangular coordinates of the point are ( 2
,
5
2
, 4).
3 9/5/2021 https://math.libretexts.org/@go/page/20995
If this process seems familiar, it is with good reason. This is exactly the same process that we followed in Introduction to
Parametric Equations and Polar Coordinates to convert from polar coordinates to two-dimensional rectangular coordinates.
−−−−−−−−−
2 2
r = ±√ 1 + (−3 )
−−
= ±√10.
−−
We choose the positive square root, so r = √10 .Now, we apply the formula to find θ . In this case, y is negative and x is
3π
positive, which means we must select the value of θ between and 2π:
2
y −3
tan θ = =
x 1
In this case, the z-coordinates are the same in both rectangular and cylindrical coordinates:
z = 5.
−−
The point with rectangular coordinates (1, −3, 5) has cylindrical coordinates approximately equal to (√10, 5.03, 5).
Exercise 2
Convert point (−8, 8, −7) from Cartesian coordinates to cylindrical coordinates.
Hint
y
r
2
=x
2
+y
2
and tan θ = x
Answer
– 3π
(8 √2, , −7)
4
4 9/5/2021 https://math.libretexts.org/@go/page/20995
The use of cylindrical coordinates is common in fields such as physics. Physicists studying electrical charges and the
capacitors used to store these charges have discovered that these systems sometimes have a cylindrical symmetry. These
systems have complicated modeling equations in the Cartesian coordinate system, which make them difficult to describe and
analyze. The equations can often be expressed in more simple terms using cylindrical coordinates. For example, the cylinder
described by equation x + y = 25 in the Cartesian system can be represented by cylindrical equation r = 5 .
2 2
c. z = r
Solution
a. When the angle θ is held constant while r and z are allowed to vary, the result is a half-plane (Figure 6).
Figure 6: In polar coordinates, the equation θ = π/4 describes the ray extending diagonally through the first quadrant. In
three dimensions, this same equation describes a half-plane.
b. Substitute r = x + y into equation r + z = 9 to express the rectangular form of the equation: x
2 2 2 2 2 2
+y
2
+z
2
=9 .
This equation describes a sphere centered at the origin with radius 3 (Figure 7).
Figure 7: The sphere centered at the origin with radius 3 can be described by the cylindrical equation r
2
+z
2
= 9 .
5 9/5/2021 https://math.libretexts.org/@go/page/20995
c. To describe the surface defined by equation z = r , is it useful to examine traces parallel to the xy-plane. For example,
the trace in plane z = 1 is circle r = 1 , the trace in plane z = 3 is circle r = 3 , and so on. Each trace is a circle. As the
value of z increases, the radius of the circle also increases. The resulting surface is a cone (Figure 8).
Figure 8: The traces in planes parallel to the xy-plane are circles. The radius of the circles increases as z increases.
Exercise 3
Describe the surface with cylindrical equation r = 6 .
Hint
The θ and z components of points on the surface can take any value.
Answer
This surface is a cylinder with radius 6.
Spherical Coordinates
In the Cartesian coordinate system, the location of a point in space is described using an ordered triple in which each
coordinate represents a distance. In the cylindrical coordinate system, location of a point in space is described using two
distances (r and z) and an angle measure (θ) . In the spherical coordinate system, we again use an ordered triple to describe the
location of a point in space. In this case, the triple describes one distance and two angles. Spherical coordinates make it simple
to describe a sphere, just as cylindrical coordinates make it easy to describe a cylinder. Grid lines for spherical coordinates are
based on angle measures, like those for polar coordinates.
6 9/5/2021 https://math.libretexts.org/@go/page/20995
Definition: spherical coordinate system
In the spherical coordinate system, a point P in space (Figure 9) is represented by the ordered triple (ρ, θ, φ) where
ρ(the Greek letter rho) is the distance between P and the origin (ρ ≠ 0);
θis the same angle used to describe the location in cylindrical coordinates;
φ (the Greek letter phi) is the angle formed by the positive z -axis and line segment OP , where O is the origin and
¯
0 ≤ φ ≤ π.
y = ρ sin φ sin θ
z = ρ cos φ
θ =θ
z = ρ cos φ
7 9/5/2021 https://math.libretexts.org/@go/page/20995
θ =θ
z
φ = arccos( −− − −−−)
√r + z 2
2
The formulas to convert from spherical coordinates to rectangular coordinates may seem complex, but they are straightforward
applications of trigonometry. Looking at Figure, it is easy to see that r = ρ sin φ . Then, looking at the triangle in the xy-plane
with r as its hypotenuse, we have x = r cos θ = ρ sin φ cos θ . The derivation of the formula for y is similar. Figure also shows
−− −−−−
that ρ = r + z = x + y + z
2 2 2 2 2
and z = ρ cos φ . Solving this last equation for φ and then substituting ρ = √r + z
2 2 2
z
(from the first equation) yields φ = arccos( −−−− −−) . Also, note that, as before, we must be careful when using the formula
√r2 + z 2
y
tan θ = to choose the correct value of θ .
x
Figure 10: The equations that convert from one system to another are derived from right-triangle relationships.
As we did with cylindrical coordinates, let’s consider the surfaces that are generated when each of the coordinates is held
constant. Let c be a constant, and consider surfaces of the form ρ = c . Points on these surfaces are at a fixed distance from the
origin and form a sphere. The coordinate θ in the spherical coordinate system is the same as in the cylindrical coordinate
system, so surfaces of the form θ = c are half-planes, as before. Last, consider surfaces of the form φ = 0 . The points on these
surfaces are at a fixed angle from the z -axis and form a half-cone (Figure 11).
Figure 11: In spherical coordinates, surfaces of the form ρ = c are spheres of radius ρ (a), surfaces of the form θ = c are half-
planes at an angle θ from the x -axis (b), and surfaces of the form ϕ = c are half-cones at an angle ϕ from the z -axis (c).
8 9/5/2021 https://math.libretexts.org/@go/page/20995
x = ρ sin φ cos θ
π π
= 8 sin( ) cos( )
6 3
1 1
= 8( )
2 2
=2
y = ρ sin φ sin θ
π π
= 8 sin( ) sin( )
6 3
–
1 √3
= 8( )
2 2
–
= 2 √3
z = ρ cos φ
π
= 8 cos( )
6
–
√3
= 8( )
2
–
= 4 √3
Figure 12: The projection of the point in the xy-plane is 4 units from the origin. The line from the origin to the point’s
–
projection forms an angle of π/3 with the positive x -axis. The point lies 4√3 units above the xy-plane.
π π – –
The point with spherical coordinates (8, , ) has rectangular coordinates (2, 2√3, 4√3).
3 6
π
= 8 sin =4
6
θ =θ
z = ρ cos φ
π
= 8 cos
6
–
= 4 √3.
9 9/5/2021 https://math.libretexts.org/@go/page/20995
π –
Thus, cylindrical coordinates for the point are (4, , 4 √3) .
3
Exercise 4
Plot the point with spherical coordinates (2, −
5π
6
,
π
6
) and describe its location in both rectangular and cylindrical
coordinates.
Hint
Converting the coordinates first may help to find the location of the point in space more easily.
Answer
√3 – –
Cartesian: (− 2
,−
1
2
, √3), cylindrical: (1, − 5π
6
, √3)
1
tan θ =
−1
– 3π
ρ = 2 √2 and θ = arctan(−1) = .
4
4
.
z
There are actually two ways to identify φ . We can use the equation φ = arccos( −−−−−−−−− −) . A more simple
√x2 + y 2 + z 2
– –
approach, however, is to use equation z = ρ cos φ. We know that z = √6 and ρ = 2 √2 , so
– –
– – √6 √3
√6 = 2 √2 cos φ, so cos φ = – =
2 √2 2
π – 3π π
and therefore φ = . The spherical coordinates of the point are (2√2, , ).
6 4 6
To find the cylindrical coordinates for the point, we need only find r:
10 9/5/2021 https://math.libretexts.org/@go/page/20995
– π –
r = ρ sin φ = 2 √2 sin( ) = √2.
6
– 3π –
The cylindrical coordinates for the point are (√2, .
, √6)
4
π
Figure 13: The surface described by equation θ = is a half-plane.
3
5π
b. Equation φ = describes all points in the spherical coordinate system that lie on a line from the origin forming an
6
5π
angle measuring rad with the positive z -axis. These points form a half-cone (Figure). Because there is only one value
6
for φ that is measured from the positive z -axis, we do not get the full cone (with two pieces).
11 9/5/2021 https://math.libretexts.org/@go/page/20995
5π
Figure 14: The equation φ = describes a cone.
6
z
To find the equation in rectangular coordinates, use equation φ = arccos( −−−−−−−−− −
).
2 2 2
√x + y + z
5π z
= arccos( −−−−−−−−−−)
6 2 2 2
√x +y +z
5π z
cos = −−−−−−−−−−
6 2 2 2
√x +y +z
–
√3 z
− = −−−−−−−−− −
2 √ x2 + y 2 + z 2
2
3 z
=
2 2 2
4 x +y +z
2 2 2
3x 3y 3z
2
+ + =z
4 4 4
2 2 2
3x 3y z
+ − = 0.
4 4 4
12 9/5/2021 https://math.libretexts.org/@go/page/20995
ρ = sin θ sin φ
ρ
2
= ρ sin θ sin φ Multiply both sides of the equation by ρ.
x
2
+y
2
+z
2
=y Substitute rectangular variables using the equations above.
x
2
+y
2
−y +z
2
=0 Subtract y from both sides of the equation.
1 1
x
2
+y
2
−y + +z
2
= Complete the square.
4 4
1 1
x
2
+ (y − )
2
+z
2
= . Rewrite the middle terms as a perfect square.
2 4
1 1
The equation describes a sphere centered at point (0, , 0) with radius .
2 2
Exercise 5
Describe the surfaces defined by the following equations.
a. ρ = 13
2π
b. θ =
3
π
c. φ =
4
Hint
Think about what each component represents and what it means to hold that component constant.
Answer a
This is the set of all points 13 units from the origin. This set forms a sphere with radius 13.
Answer b
2π
This set of points forms a half plane. The angle between the half plane and the positive x -axis is θ = .
3
Answer c
π
Let P be a point on this surface. The position vector of this point forms an angle of φ = with the positive z -axis,
4
which means that points closer to the origin are closer to the axis. These points form a half-cone.
Spherical coordinates are useful in analyzing systems that have some degree of symmetry about a point, such as the volume of
the space inside a domed stadium or wind speeds in a planet’s atmosphere. A sphere that has Cartesian equation
2 2
x +y +z = c
2
has the simple equation ρ = c in spherical coordinates.
2
In geography, latitude and longitude are used to describe locations on Earth’s surface, as shown in Figure. Although the shape
of Earth is not a perfect sphere, we use spherical coordinates to communicate the locations of points on Earth. Let’s assume
Earth has the shape of a sphere with radius 4000 mi. We express angle measures in degrees rather than radians because latitude
and longitude are measured in degrees.
13 9/5/2021 https://math.libretexts.org/@go/page/20995
Figure 16: In the latitude–longitude system, angles describe the location of a point on Earth relative to the equator and the
prime meridian.
Let the center of Earth be the center of the sphere, with the ray from the center through the North Pole representing the
positive z -axis. The prime meridian represents the trace of the surface as it intersects the xz-plane. The equator is the trace of
the sphere intersecting the xy-plane.
Exercise 6
Sydney, Australia is at 34°S and 151°E. Express Sydney’s location in spherical coordinates.
Hint
Because Sydney lies south of the equator, we need to add 90° to find the angle measured from the positive z -axis.
Answer
(4000, 151°, 124°)
Cylindrical and spherical coordinates give us the flexibility to select a coordinate system appropriate to the problem at hand. A
thoughtful choice of coordinate system can make a problem much easier to solve, whereas a poor choice can lead to
unnecessarily complex calculations. In the following example, we examine several different problems and discuss how to
select the best coordinate system for each one.
14 9/5/2021 https://math.libretexts.org/@go/page/20995
In each of the following situations, we determine which coordinate system is most appropriate and describe how we
would orient the coordinate axes. There could be more than one right answer for how the axes should be oriented, but we
select an orientation that makes sense in the context of the problem. Note: There is not enough information to set up or
solve these problems; we simply select the coordinate system (Figure 17).
a. Find the center of gravity of a bowling ball.
b. Determine the velocity of a submarine subjected to an ocean current.
c. Calculate the pressure in a conical water tank.
d. Find the volume of oil flowing through a pipeline.
e. Determine the amount of leather required to make a football.
Figure 17: (credit: (a) modification of work by scl hua, Wikimedia, (b) modification of work by DVIDSHUB, Flickr, (c)
modification of work by Michael Malak, Wikimedia, (d) modification of work by Sean Mack, Wikimedia, (e)
modification of work by Elvert Barnes, Flickr)
Solution
a. Clearly, a bowling ball is a sphere, so spherical coordinates would probably work best here. The origin should be
located at the physical center of the ball. There is no obvious choice for how the x-, y - and z -axes should be oriented.
Bowling balls normally have a weight block in the center. One possible choice is to align the z -axis with the axis of
symmetry of the weight block.
b. A submarine generally moves in a straight line. There is no rotational or spherical symmetry that applies in this
situation, so rectangular coordinates are a good choice. The z -axis should probably point upward. The x- and y -axes
could be aligned to point east and north, respectively. The origin should be some convenient physical location, such as
the starting position of the submarine or the location of a particular port.
c. A cone has several kinds of symmetry. In cylindrical coordinates, a cone can be represented by equation z = kr,
where k is a constant. In spherical coordinates, we have seen that surfaces of the form φ = c are half-cones. Last, in
rectangular coordinates, elliptic cones are quadric surfaces and can be represented by equations of the form
2 2
x y
z
2
=
2
+
2
. In this case, we could choose any of the three. However, the equation for the surface is more
a b
complicated in rectangular coordinates than in the other two systems, so we might want to avoid that choice. In
addition, we are talking about a water tank, and the depth of the water might come into play at some point in our
calculations, so it might be nice to have a component that represents height and depth directly. Based on this
reasoning, cylindrical coordinates might be the best choice. Choose the z -axis to align with the axis of the cone. The
orientation of the other two axes is arbitrary. The origin should be the bottom point of the cone.
15 9/5/2021 https://math.libretexts.org/@go/page/20995
d. A pipeline is a cylinder, so cylindrical coordinates would be best the best choice. In this case, however, we would
likely choose to orient our z -axis with the center axis of the pipeline. The x-axis could be chosen to point straight
downward or to some other logical direction. The origin should be chosen based on the problem statement. Note that
this puts the z -axis in a horizontal orientation, which is a little different from what we usually do. It may make sense
to choose an unusual orientation for the axes if it makes sense for the problem.
e. A football has rotational symmetry about a central axis, so cylindrical coordinates would work best. The z -axis should
align with the axis of the ball. The origin could be the center of the ball or perhaps one of the ends. The position of the
x-axis is arbitrary.
Exercise 7
Which coordinate system is most appropriate for creating a star map, as viewed from Earth (see the following figure)?
Hint
What kinds of symmetry are present in this situation?
Answer
Spherical coordinates with the origin located at the center of the earth, the z -axis aligned with the North Pole, and the
x -axis aligned with the prime meridian
Key Concepts
In the cylindrical coordinate system, a point in space is represented by the ordered triple (r, θ, z), where (r, θ) represents
the polar coordinates of the point’s projection in the xy-plane and z represents the point’s projection onto the z -axis.
To convert a point from cylindrical coordinates to Cartesian coordinates, use equations x = r cos θ, y = r sin θ, and z = z.
y
To convert a point from Cartesian coordinates to cylindrical coordinates, use equations r 2
=x
2 2
+ y , tan θ = , and
x
z = z.
In the spherical coordinate system, a point P in space is represented by the ordered triple (ρ, θ, φ), where ρ is the distance
between P and the origin (ρ ≠ 0), θ is the same angle used to describe the location in cylindrical coordinates, and φ is the
angle formed by the positive z -axis and line segment OP¯
, where O is the origin and 0 ≤ φ ≤ π.
16 9/5/2021 https://math.libretexts.org/@go/page/20995
To convert a point from spherical coordinates to Cartesian coordinates, use equations x = ρ sin φ cos θ, y = ρ sin φ sin θ,
and z = ρ cos φ.
y
To convert a point from Cartesian coordinates to spherical coordinates, use equations ρ 2
=x
2
+y
2 2
+ z , tan θ = , and
x
z
φ = arccos(
−−−−−−−−− −
) .
√x2 + y 2 + z 2
To convert a point from spherical coordinates to cylindrical coordinates, use equations r = ρ sin φ, θ = θ, and
z = ρ cos φ.
−− −−−−
To convert a point from cylindrical coordinates to spherical coordinates, use equations ρ = √r 2 2
+ z , θ = θ, and
z
φ = arccos( −−−− −− ).
√r2 + z 2
Glossary
cylindrical coordinate system
a way to describe a location in space with an ordered triple (r, θ, z), where (r, θ) represents the polar coordinates of the
point’s projection in the xy-plane, and z represents the point’s projection onto the z -axis
17 9/5/2021 https://math.libretexts.org/@go/page/20995
Equations of Lines and Planes in Space
By now, we are familiar with writing equations that describe a line in two dimensions. To write an equation for a line, we must
know two points on the line, or we must know the direction of the line and at least one point through which the line passes. In
two dimensions, we use the concept of slope to describe the orientation, or direction, of a line. In three dimensions, we
describe the direction of a line using a vector parallel to the line. In this section, we examine how to use equations to describe
lines and planes in space.
If u and
⇀ ⇀
v have opposite directions, choose
⇀
∥ u∥
k =− . (2)
⇀
∥ v∥
Note that the converse holds as well. If u = k v for some scalar k , then either u and v have the same direction (k > 0) or
⇀ ⇀ ⇀ ⇀
opposite directions (k < 0) , so u and v are parallel. Therefore, two nonzero vectors u and v are parallel if and only if
⇀ ⇀ ⇀ ⇀
⇀
u = k v for some scalar k . By convention, the zero vector 0 is considered to be parallel to all vectors.
⇀ ⇀
Q = (x, y, z)
⇀
v = <a, b, c>
P = (x 0, y 0, z 0)
y
x
−−⇀
⇀
v = ⟨a, b, c⟩ be a vector parallel to L. Then, for any point on line Q(x, y, z), we know that P Q is parallel to ⇀
v . Thus, as we
−−⇀
just discussed, there is a scalar, t , such that P Q = t v , which gives
⇀
−−⇀
⇀
P Q = tv
⟨x − x0 , y − y0 , z − z0 ⟩ = t⟨a, b, c⟩
Setting ⇀
r = ⟨x, y, z⟩ and ⇀
r 0 = ⟨x0 , y0 , z0 ⟩ , we now have the vector equation of a line:
⇀ ⇀ ⇀
r = r 0 + tv. (4)
Equating components, Equation 4 shows that the following equations are simultaneously true: x − x = ta, y − y = tb, and 0 0
z − z = tc. If we solve each of these equations for the component variables x, y, and z , we get a set of equations in which
0
each variable is defined in terms of the parameter t and that, together, describe the line. This set of three equations forms a set
of parametric equations of a line:
x = x0 + ta
y = y0 + tb
z = z0 + tc.
If we solve each of the equations for t assuming a, b, and c are nonzero, we get a different description of the same line:
x − x0
=t
a
y − y0
=t
b
z − z0
= t.
c
Because each expression equals t , they all have the same value. We can set them equal to each other to create symmetric
equations of a line:
x − x0 y − y0 z − z0
= = .
a b c
and
z = z0 + tc. (6)
The parametric equations of a line are not unique. Using a different parallel vector or a different point on the line leads to a
different, equivalent representation. Each set of parametric equations leads to a related set of symmetric equations, so it
follows that a symmetric equation of a line is not unique either.
Use either of the given points on the line to complete the parametric equations:
x = 1 − 4t
y = 4 + t,
and
z = −2 + 2t.
Solve each equation for t to create the symmetric equation of the line:
x −1 z+2
= y −4 = .
−4 2
Exercise 1
Find parametric and symmetric equations of the line passing through points (1, −3, 2) and (5, −2, 8).
Hint:
Start by finding a vector parallel to the line.
Answer
Possible set of parametric equations: x = 1 + 4t, y = −3 + t, z = 2 + 6t; related set of symmetric equations:
x −1 z−2
= y +3 =
4 6
Sometimes we don’t want the equation of a whole line, just a line segment. In this case, we limit the values of our parameter t .
For example, let P (x , y , z ) and Q(x , y , z ) be points on a line, and let p = ⟨x , y , z ⟩ and q = ⟨x , y , z ⟩ be the
0 0 0 1 1 1
⇀
0 0 0
⇀
1 1 1
associated position vectors. In addition, let r = ⟨x, y, z⟩ . We want to find a vector equation for the line segment between P
⇀
−−⇀
and Q. Using P as our known point on the line, and P Q = ⟨x1 − x0 , y1 − y0 , z1 − z0 ⟩ as the direction vector equation,
Equation 4 gives
−−⇀
⇀ ⇀
r = p + t(P Q). (8)
= ⟨x0 , y0 , z0 ⟩ + t⟨x1 − x0 , y1 − y0 , z1 − z0 ⟩
= (1 − t)⟨x0 , y0 , z0 ⟩ + t⟨x1 , y1 , z1 ⟩
⇀ ⇀
= (1 − t) p + t q .
Remember that we did not want the equation of the whole line, just the line segment between P and Q. Notice that when
t = 0 , we have r = p , and when t = 1 , we have r = q . Therefore, the vector equation of the line segment between P and Q
⇀ ⇀
is
⇀ ⇀ ⇀
r = (1 − t) p + t q , 0 ≤ t ≤ 1. (10)
Going back to Equation 4, we can also find parametric equations for this line segment. We have
⇀ ⇀ −−⇀
r = p + t(P Q)
x = x0 + t(x1 − x0 )
y = y0 + t(y1 − y0 ) (11)
z = z0 + t(z1 − z0 ), 0 ≤ t ≤ 1.
x = x0 + t(x1 − x0 )
= 2 + t(3 − 2)
= 2 + t,
y = y0 + t(y1 − y0 )
= 1 + t(−1 − 1)
= 1 − 2t,
and
z = z0 + t(z1 − z0 )
= 4 + t(3 − 4)
= 4 − t.
y = 1 − 2t
z = 4 − t, 0 ≤ t ≤ 1.
Exercise 2
Find parametric equations of the line segment between points P (−1, 3, 6) and Q(−8, 2, 4).
Answer
x = −1 − 7t, y = 3 − t, z = 6 − 2t, 0 ≤ t ≤ 1
When we’re looking for the distance between a line and a point in space, Figure 2 still applies. We still define the distance as
the length of the perpendicular line segment connecting the point to the line. In space, however, there is no clear way to know
which point on the line creates such a perpendicular line segment, so we select an arbitrary point on the line and use properties
of vectors to calculate the distance. Therefore, let P be an arbitrary point on line L and let v be a direction vector for L
⇀
(Figure 3).
−−⇀
Figure 3: Vectors P M and form two sides of a parallelogram with base ∥ v ∥ and height d , which is the distance between a
⇀ ⇀
v
parallelogram can also be calculated as the product of its base and height:
−−⇀
⇀ ⇀
∥ P M × v ∥ = ∥ v ∥d. (12)
We can use this formula to find a general formula for the distance between a line in space and any point not on the line.
−−⇀
⇀
∥P M × v ∥
d = . (13)
⇀
∥ v∥
Solution:
From the symmetric equations of the line, we know that vector v = ⟨4, 2, 1⟩ is a direction vector for the line. Setting the
⇀
symmetric equations of the line equal to zero, we see that point P (3, −1, 3) lies on the line. Then,
−−⇀
PM = ⟨1 − 3, 1 − (−1), 3 − 3⟩
= ⟨−2, 2, 0⟩.
−−⇀
To calculate the distance, we need to find P M × v :⇀
∣ ^ ^ ^∣
i j k
−−⇀ ∣ ∣
⇀
P M × v = ∣ −2 2 0 ∣
∣ ∣
∣ 4 2 1 ∣
^ ^ ^
= (2 − 0) i − (−2 − 0) j + (−4 − 8)k
^ ^ ^
= 2 i + 2 j − 12 k.
Therefore, the distance between the point and the line is (Figure 4)
−−⇀
⇀
∥P M × v ∥
d =
⇀
∥ v∥
− −−−−− −−−−−
2 2 2
√ 2 + 2 + 12
= − −−−− −−−− −
√ 42 + 22 + 12
−−
2 √38
=
−−
√21
−−−
2 √798
= units
21
Exercise 3
Find the distance between point (0, 3, 6) and the line with parametric equations x = 1 − t, y = 1 + 2t, z = 5 + 3t.
Hint
Find a vector with initial point (0, 3, 6) and a terminal point on the line, and then find a direction vector for the line.
Answer
−−
− −−
10 √70
√ = units
7 7
Figure 6: Determine the relationship between two lines based on whether their direction vectors are parallel and whether they
share a point.
Example 4 : Classifying Lines in Space
For each pair of lines, determine whether the lines are equal, parallel but not equal, skew, or intersecting.
a.
L1 : x = 2s − 1, y = s − 1, z = s − 4
b.
L1 : x = −y = z
x −3
L2 : = y = z−2
2
c.
L1 : x = 6s − 1, y = −2s, z = 3s + 1
x −4 y +3 z−1
L2 : = =
6 −2 3
Solution
a. Line L has direction vector v = ⟨2, 1, 1⟩; line L has direction vector v = ⟨1, 3, −2⟩. Because the direction vectors
1
⇀
1 2
⇀
2
are not parallel vectors, the lines are either intersecting or skew. To determine whether the lines intersect, we see if there is
a point, (x, y, z), that lies on both lines. To find this point, we use the parametric equations to create a system of equalities:
2s − 1 = t − 3; (14)
s − 1 = 3t + 8; (15)
s − 4 = 5 − 2t. (16)
s − 1 = 6s + 6 + 8
5s = −15
s = −3.
s − 4 = 5 − 4s − 4
5s = 5
s = 1.
There is no single point that satisfies the parametric equations for L1 and L2 simultaneously. These lines do not
intersect, so they are skew (see the following figure).
b. Line L has direction vector v = ⟨1, −1, 1⟩ and passes through the origin, (0, 0, 0). Line L has a different direction
1
⇀
1 2
vector, v = ⟨2, 1, 1⟩, so these lines are not parallel or equal. Let r represent the parameter for line L and let s represent
⇀
2 1
x = r x = 2s + 3
y = −r y = s
z = r z = s + 2.
Solve the system of equations to find r = 1 and s = −1 . If we need to find the point of intersection, we can
substitute these parameters into the original equations to get (1, −1, 1) (see the following figure).
Exercise 4
Describe the relationship between the lines with the following parametric equations:
x = 1 − 4t, y = 3 + t, z = 8 − 6t
Hint
Start by identifying direction vectors for each line. Is one a multiple of the other?
−−⇀
be a vector and P = (x , y , z ) be a point. Then the set of all points Q = (x, y, z) such that P Q is orthogonal to n forms a
0 0 0
⇀
plane (Figure 7). We say that n is a normal vector, or perpendicular to the plane. Remember, the dot product of orthogonal
⇀
⟨a, b, c⟩ ⋅ ⟨x − x0 , y − y0 , z − z0 ⟩ =0
−−⇀
Figure 7: Given a point P and vector n , the set of all points Q with P Q orthogonal to n forms a plane.
⇀ ⇀
⇀ −−⇀
n ⋅PQ = 0
This equation can be expressed as ax + by + cz + d = 0, where d = −ax0 − b y0 − c z0 . This form of the equation is
sometimes called the general form of the equation of a plane.
As the standard and general forms of the equation of a plane no longer contain an explicit vector, they are sometimes called
scalar equations of a plane.
= ⟨−1, 1, 3⟩
−−⇀
QR = ⟨−1 − 0, −1 − 2, 0 − 1⟩
∣ ^ ^ ^ ∣
i j k
∣ ∣
= ∣ −1 1 3 ∣
∣ ∣
∣ −1 −3 −1 ∣
^ ^ ^
= (−1 + 9) i − (1 + 3) j + (3 + 1)k
^ ^ ^
= 8 i − 4 j + 4 k.
Thus, n = ⟨8, −4, 4⟩, and we can choose any of the three given points to write an equation of the plane:
8x − 4y + 4z + 4 = 0. (General form)
The scalar equations of a plane vary depending on the normal vector and point chosen.
Solution
Symmetric equations describe the line that passes through point (0, 1, −1) parallel to vector v = ⟨1, 2, 1⟩ (see the
⇀
1
following figure). Use this point and the given point, (1, 4, 3), to identify a second vector parallel to the plane:
⇀
v 2 = ⟨1 − 0, 4 − 1, 3 − (−1)⟩ = ⟨1, 3, 4⟩.
Use the cross product of these vectors to identify a normal vector for the plane:
∣^i
^
j
^
k∣
∣ ∣
=∣1 2 1 ∣
∣ ∣
∣1 3 4 ∣
^ ^ ^
= (8 − 3) i − (4 − 1) j + (3 − 2)k
^ ^ ^
= 5 i − 3 j + k.
Exercise 6
Find an equation of the plane containing the lines L and L :
1 2
L1 : x = −y = z
x −3
L2 : = y = z − 2.
2
Hint
Hint: The cross product of the lines’ direction vectors gives a normal vector for the plane.
Answer:
−2(x − 1) + (y + 1) + 3(z − 1) = 0 (Standard form)
Solution
−−⇀
The coefficients of the plane’s equation provide a normal vector for the plane: n = ⟨1, −2, 1⟩ . To find vector QP , we need
⇀
a point in the plane. Any point will work, so set y = z = 0 to see that point Q = (5, 0, 0) lies in the plane. Find the
component form of the vector from Q to P :
−−⇀
QP = ⟨3 − 5, 1 − 0, 2 − 0⟩ = ⟨−2, 1, 2⟩.
| − 2 − 2 + 2|
= –
√6
–
2 √6
= – = units.
√6 3
Exercise 7
Find the distance between point P = (5, −1, 0) and the plane given by 4x + 2y − z = 3 .
Hint
Point (0, 0, −3) lies on the plane.
Answer:
−−
15 5 √21
= units
−−
√21 7
y = 1 +t
z = 3t
Solution
Notice that we can substitute the expressions of t given in the parametric equations of the line into the plane equation for x,
y , and z .
3(2 − t) − 2(1 + t) + 3t = 10
6 − 3t − 2 − 2t + 3t = 10
4 − 2t = 10
−2t = 6
t = −3
Since we found a single value of t from this process, we know that the line should intersect the plane in a single point, here
where t = −3 . So the point of intersection can be determined by plugging this value in for t in the parametric equations of
the line.
Now that we have examined what happens when there is a single point of intersection between a line and a point, let's consider
how we know if the line either does not intersect the plane at all or if it lies on the plane (i.e., every point on the line is also on
the plane).
Line: x = 1 + 2t Plane: x + 2y − 2z = 5
y = −2 + 3t
z = −1 + 4t
Solution
Substituting the expressions of t given in the parametric equations of the line into the plane equation gives us:
1 + 2t − 4 + 6t + 2 − 8t = 5
Collecting like terms on the left side causes the variable t to cancel out and leaves us with a contradiction:
−1 = 5
Since this is not true, we know that there is no value of t that makes this equation true, and thus there is no value of t that
will give us a point on the line that is also on the plane. This means that this line does not intersect with this plane and
there will be no point of intersection.
plane, telling us that the line is contained in the plane whose equation is x + 2y − 2z = −1 .
x+y+z=0 z
2
1
-2
-2
-1 -1
1
1
2 -1
2 y
x
-2
2x - y + z = 0
Solution
Finding the line of intersection:
2x − y + z = 0
________________
3x + 2z = 0 .
2
Solve for one of the variables. If we solve for x, we find x = − z. Now choose any value for z , say z = 3 . Then x = −2 .
3
Now plugging these two values into one of the plane equations, we can solve for the corresponding value of y that will give
us a point that should satisfy both planes (i.e., it will lie on the line of intersection).
Plugging into the equation x + y + z = 0 gives us −2 + y + 3 = 0 → y = −1 . So a point on the line of intersection
is (−2, −1, 3).
Verify that this point satisfies both plane equations: −2 + (−1) + 3 = 0 ✓ and 2(−2) − (−1) + 3 = −4 + 1 + 3 = 0 ✓
2. Now we are ready to find a direction vector for the line of intersection. Since this line must lie in both planes, the
direction vector must be orthogonal to the normal vector s of both planes. Since we need a vector that is orthogonal to both
normal vectors, we use the cross product of the normal vectors to obtain one. Thus:
Direction vector of the line of intersection:
∣^i
^
j
^
k∣
∣ ∣
⇀ ⇀ ⇀
v = n1 × n2 = ∣ 1 1
^ ^ ^ ^ ^ ^
1 ∣ = (1 − (−1)) i − (1 − 2) j + (−1 − 2)k = 2 i + j − 3 k .
∣ ∣
∣ 2 −1 1 ∣
Now the line of intersection will contain the point (−2, −1, 3) and have direction vector ⇀ ^ ^ ^
v = 2 i + j − 3k .
So a possible set of parametric equations of the line of intersection are: x = −2 + 2t, y = −1 + t, z = 3 − 3t .
To check, we could either find another point on this line (for t ≠ 0 and verify that it satisfies both plane equations, or we
could substitute these expressions of t into both plane equations and show that we obtain an identity in both cases (such as
5 = 5 or 0 = 0 ).
For example, if we let t = 1 , the line's equations give us the origin (0, 0, 0) as a second point on the intersection line. It's
easy to see that this point satisfies both plane equations.
Exercise 8
Find parametric equations for the line formed by the intersection of planes x + y − z = 3 and 3x − y + 3z = 5.
Hint
Add the two equations, to eliminate the variable y. Then use the resulting equation to determine a point on the line of
intersection. Then find the direction vector, remembering it will be orthogonal to the normal vectors of both planes.
Answer:
x = t, y = 7 − 3t, z = 4 − 2t
Figure 10: The acute angle between two planes has the same measure as the angle between the normal vectors for the planes or
its supplement.
To be sure we obtain the acute angle between the two planes, we take the absolute value of the dot product of the two normal
vectors, thus forcing the resulting angle θ to be acute.
So, to find the acute angle θ between two planes with normal vectors n and n , we use the definition of the dot product and
⇀
1
⇀
2
add the absolute values mentioned above to first find the cosine of the angle:
⇀ ⇀
| n1 ⋅ n2 |
cos θ = . (19)
⇀ ⇀
∥ n 1 ∥∥ n 2 ∥
−−−−−−−−−−−−−
⇀ 2 2 2 –
∥ n2 ∥ = √ 2 + (−1 ) +1 = √6
Then
√18
) ≈ 61.9° ≈ 1.08 radians.
Once we find the angle between two planes we can use it to determine whether the two planes are parallel or orthogonal or if
they intersect at some other angle.
each other. The normal vectors are parallel, so the planes are parallel.
b. The normal vectors for these planes are n = ⟨2, −3, 2⟩ and n = ⟨6, 2, −3⟩. Taking the dot product of these vectors,
⇀
1
⇀
2
we have
⇀ ⇀
n1 ⋅ n2 = ⟨2, −3, 2⟩ ⋅ ⟨6, 2, −3⟩
The normal vectors are orthogonal, so the corresponding planes are orthogonal as well.
c. The normal vectors for these planes are n = ⟨1, 1, 1⟩ and n = ⟨1, −3, 5⟩:
⇀
1
⇀
2
⇀ ⇀
| n1 ⋅ n2 |
cos θ =
⇀ ⇀
∥ n 1 ∥∥ n 2 ∥
3
=
−−−
√105
Then θ = arccos 3
√105
≈ 1.27 rad.
Thus the angle between the two planes is about 1.27 rad, or approximately 73°.
Exercise 9
Find the measure of the angle between planes x + y − z = 3 and 3x − y + 3z = 5. Give the answer in radians and round
to two decimal places.
Hint
Use the coefficients of the variables in each equation to find a normal vector for each plane.
Answer:
1.44 rad
When we find that two planes are parallel, we may need to find the distance between them. To find this distance, we simply
select a point in one of the planes. The distance from this point to the other plane is the distance between the planes.
Previously, we introduced the formula for calculating this distance in Equation 18:
where Q is a point on the plane, P is a point not on the plane, and n⃗ is the normal vector that passes through point Q.
Consider the distance from point (x , y , z ) to plane ax + by + cz + k = 0. Let (x , y , z ) be any point in the plane.
0 0 0 1 1 1
|ax0 + b y0 + c z0 + k|
= −− −−− −−−− − .
√ a2 + b2 + c2
6 –
= – = √6 units
√6
Exercise 10 :
Find the distance between parallel planes 5x − 2y + z = 6 and 5x − 2y + z = −3 .
Hint
Set x = y = 0 to find a point on the first plane.
Answer
−−
9 3 √30
= units
−−
√30 10
x − x1 y − y1 z − z1
L1 : = = (23)
a1 b1 c1
x − x2 y − y2 z − z2
L2 : = = . (24)
a2 b2 c2
You are to develop a formula for the distance d between these two lines, in terms of the values
a , b , c ; a , b , c ; x , y , z ; and x , y , z . The distance between two lines is usually taken to mean the minimum
1 1 1 2 2 2 1 1 1 2 2 2
distance, so this is the length of a line segment or the length of a vector that is perpendicular to both lines and intersects
both lines.
1. First, write down two vectors, ⇀
v1 and ⇀
v2 , that lie along L and L , respectively.
1 2
perpendicular to both lines, and hence its length must be the perpendicular distance d between them.
25 √22
5. Check that your formula gives the correct distance of d =
25
=
66
units ≈ 1.78 units between the
√198
x −6 y −1 z
L2 : = = . (26)
3 5 7
6. Is your general expression valid when the lines are parallel? If not, why not? (Hint: What do you know about the
value of the cross product of two parallel vectors? Where would that result show up in your expression for d ?)
7. Demonstrate that your expression for the distance is zero when the lines intersect. Recall that two lines intersect if
they are not parallel and they are in the same plane. Hence, consider the direction of n and v . What is the result of ⇀ ⇀
12
minimum distance between the lines. (Take the origin to be at the lower corner of the first pipe.) Similarly, you may
also develop the symmetric equations for each line and substitute directly into your formula.
Key Concepts
In three dimensions, the direction of a line is described by a direction vector. The vector equation of a line with direction
vector v = ⟨a, b, c⟩ passing through point P = (x , y , z ) is r = r + t v , where r = ⟨x , y , z ⟩ is the position
⇀
0 0 0
⇀ ⇀
0
⇀ ⇀
0 0 0 0
vector of point P . This equation can be rewritten to form the parametric equations of the line: x = x + ta, y = y + tb , 0 0
and z = z + tc . The line can also be described with the symmetric equations
0
x − x0 y − y0 z − z0
= = . (27)
a b c
−−⇀
⇀
∥P Q × v ∥
d = .
⇀
∥ v∥
In three dimensions, two lines may be parallel but not equal, equal, intersecting, or skew.
−−⇀
Given a point P and vector n , the set of all points Q satisfying equation n ⋅ P Q = 0 forms a plane. This equation is
⇀ ⇀
where d = −ax − by − cz . This form of the equation is sometimes called the general form of the equation of a plane.
0 0 0
Suppose a plane with normal vector n passes through point Q. The distance D from the plane to point P not in the plane is
given by
→
∣ ⇀∣
∣QP ⋅ n ∣
−−⇀
→ ∣ ∣
D = ∥ proj ⇀ QP ∥ =∣ comp⇀ QP ∣=
n n ⇀
∥ n ∥.
The normal vectors of parallel planes are parallel. When two planes intersect, they form a line.
The measure of the angle θ between two intersecting planes can be found using the equation:
⇀ ⇀
| n1 ⋅ n2 |
cos θ =
⇀ ⇀
∥ n 1 ∥∥ n 2 ∥
Key Equations
Vector Equation of a Line
⇀ ⇀ ⇀
r = r 0 + tv
x = x0 + ta, y = y0 + tb,
and
z = z0 + tc
Glossary
direction vector
a vector parallel to a line that is used to describe the direction, or orientation, of the line in space
normal vector
a vector perpendicular to a plane
skew lines
two lines that are not parallel but do not intersect
the plane
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Edited by Paul Seeburger (Monroe Community College)
Answer:
⇀
a. r = ⟨−3, 5, 9⟩ + t⟨7, −12, −7⟩, t ∈ R;
b. x = −3 + 7t, y = 5 − 12t, z = 9 − 7t, t ∈ R;
x +3 y −5 z−9
c. = = ;
7 −12 −7
Answer:
a. r = ⟨−1, 0, 5⟩ + t⟨5, 0, −2⟩, t ∈ R;
⇀
b. x = −1 + 5t, y = 0, z = 5 − 2t, t ∈ R;
x +1 z−5
c. = , y = 0;
5 −2
Answer:
a. x = 1 + t, y = −2 + 2t, z = 3 + 3t, t ∈ R;
x −1 y +2 z−3
b. = = ;
1 2 3
c. (0, −4, 0)
6) P (3, 1, 5), ⇀
v = ⟨1, 1, 1⟩
−−⇀
7) P (3, 1, 5), ⇀
v = QR, where Q(2, 2, 3) and R(3, 2, 3)
Answer:
a. x = 3 + t, y = 1, z = 5, t ∈ R;
b. y = 1, z = 5;
c. The line does not intersect the xy-plane.
−−⇀
8) P (2, 3, 0), ⇀
v = QR, where Q(0, 4, 5) and R(0, 4, 6)
1 9/5/2021 https://math.libretexts.org/@go/page/20992
For exercises 9 and 10, line L is given.
a. Find a point P that belongs to the line and a direction vector ⇀
v of the line. Express ⇀
v in component form.
b. Find the distance from the origin to line L .
9) x = 1 + t, y = 3 + t, z = 5 + 4t, t ∈ R
Answer:
a. A possible point and direction vector are P (1, 3, 5) and ⇀
v = ⟨1, 1, 4⟩ , but these answers are not unique.
–
b. √3 units
10) −x = y + 1, z =2
11) Find the distance between point A(−3, 1, 1) and the line of symmetric equations
x = −y = −z.
Answer:
2 √2 2 √6
√3
=
3
units
12) Find the distance between point A(4, 2, 5) and the line of parametric equations
x = −1 − t, y = −t, z = 2, t ∈ R.
b. If the lines L and L are parallel, then find the distance between them.
1 2
13) L1 : x = 1 + t, y = t, z = 2 + t, t ∈ R and L2 : x − 3 = y − 1 = z − 3
Answer:
a. Parallel;
√2 √6
b. =
3
units
√3
15) Show that the line passing through points P (3, 1, 0) and Q(1, 4, −3) is perpendicular to the line with equation
x = 3t, y = −32 + 8t, z = −9 + 6t, t ∈ R.
Answer:
−−⇀
P Q = ⟨−2, 3, −3⟩ is the direction vector of the line through points P and Q , and the direction vector of the line
defined by the parametric equations above is v = ⟨3, 8, 6⟩. ⇀
−−⇀
Since v ⋅ P Q = −6 + 24 − 18 = 0 , the two direction vectors are orthogonal.
⇀
Setting the x - and z -coordinates of the two lines equal, we obtain the system of equations:
3t = 3 − 2u and − 9 + 6t = −3u
2 9/5/2021 https://math.libretexts.org/@go/page/20992
Solving this system using substitution gives us, u = −3 and t = 3 . Plugging these values of t and u back into the
parametric equations of these two lines gives us the intersection point with coordinates (9, −8, 9) on both lines.
−−⇀
Therefore the lines intersect and the line through points P and Q with direction vector P Q is perpendicular to the
other line.
Answer:
(−12, 6, −4)
18) Find the intersection point of the x -axis with the line of parametric equations
x = 10 + t, y = 2 − 2t, z = −3 + 3t, t ∈ R.
For exercises 19 - 22, lines L and L are given. Determine whether the lines are equal, parallel but not equal, skew, or
1 2
intersecting.
z
19) L 1 : x = y − 1 = −z and L2 : x − 2 = −y =
2
Answer:
The lines are skew.
3
(y − 4) =
2
7
z−2
Answer:
The lines are equal.
z
23) Consider line L of symmetric equations x − 2 = −y = and point A(1, 1, 1).
2
a. Find parametric equations for a line parallel to L that passes through point A .
b. Find symmetric equations of a line skew to L and that passes through point A .
c. Find symmetric equations of a line that intersects L and passes through point A .
Answer:
a. x = 1 + t, y = 1 − t, z = 1 + 2t, t ∈ R
b. For instance, the line passing through A with direction vector j : x = 1, z = 1
c. For instance, the line passing through A and point (2, 0, 0) that belongs to L is a line that intersects;
x−1
L : = y −1 = z−1
−1
a. Find parametric equations for a line parallel to L that passes through the origin.
b. Find parametric equations of a line skew to L that passes through the origin.
c. Find symmetric equations of a line that intersects L and passes through the origin.
3 9/5/2021 https://math.libretexts.org/@go/page/20992
For exercises 25 - 28, point P and vector ⇀
n are given.
a. Find the scalar equation of the plane that passes through P and has normal vector ⇀
n .
b. Find the general form of the equation of the plane that passes through P and has normal vector ⇀
n .
Answer:
a. 3x − 2y + 4z = 0
b. 3x − 2y + 4z = 0
Answer:
a. (x − 1) + 2(y − 2) + 3(z − 3) = 0
b. x + 2y + 3z − 14 = 0
Answer:
a. n = 4^i + 5^j + 10k
⇀ ^
30) 3x + 4y − 12 = 0
31) 3x − 2y + 4z = 0
Answer:
a. n = 3^i − 2^j + 4k
⇀ ^
b. (0, 0, 0)
4 9/5/2021 https://math.libretexts.org/@go/page/20992
c.
32) x + z = 0
−−⇀
33) Given point P (1, 2, 3) and vector n = ^i + ^j , find point Q on the x-axis such that P Q and n are orthogonal.
⇀ ⇀
Answer:
(3, 0, 0)
34) Show there is no plane perpendicular to n = ^i + ^j that passes through points P (1, 2, 3) and Q(2, 3, 4).
⇀
35) Find parametric equations of the line passing through point P (−2, 1, 3) that is perpendicular to the plane of equation
2x − 3y + z = 7.
Answer:
x = −2 + 2t, y = 1 − 3t, z = 3 + t, t ∈ R
36) Find symmetric equations of the line passing through point P (2, 5, 4) that is perpendicular to the plane of equation
2x + 3y − 5z = 0.
x −1 y +1 z−2
37) Show that line = = is parallel to plane x − 2y + z = 6 .
2 3 4
38) Find the real number α such that the line of parametric equations x = t, y = 2 − t, z = 3 + t, t ∈ R is parallel to
the plane of equation αx + 5y + z − 10 = 0.
Answer:
5 9/5/2021 https://math.libretexts.org/@go/page/20992
a. The planes are neither parallel nor orthogonal.
b. 62°
c. x = −1 + 2t
y = −4 + t
z = 5 − 3t
40) 5x − 3y + z = 4, x + 4y + 7z = 1
41) x − 5y − z = 1, 5x − 25y − 5z = −3
Answer:
a. The planes are parallel.
42) [T] x − 3y + 6z = 4, 5x + y − z = 4
For exercises 43 - 46, determine whether the given line intersects with the given plane. If they do intersect, state the
point of intersection.
43) Plane: 2x + y − z = 11 Line: x = 1 + t, y = 3 − 2t, z = 2 + 4t
Answer:
They intersect at point (−1, 7, −6).
Answer:
They intersect at point (− 1
3
, −
8
3
, 7) .
Answer:
The line does not intersect with this plane.
Answer:
The line is actually fully contained in this plane, so every point on the line is on the plane. For example, when t = 0
we have the point, (2, 0, 4).
x y −1
47) Show that the lines of equations x = t, y = 1 + t, z = 2 + t, t ∈ R, and = = z−3 are skew, and find
2 3
the distance between them.
Answer:
√6
1
=
6
units
√6
6 9/5/2021 https://math.libretexts.org/@go/page/20992
Answer:
18 √29
a. r = 18
=
29
√29
b. P (−
51
29
,
130
29
,
62
29
)
Answer:
4x − 3y = 0
52) [T] John allocates d dollars to consume monthly three goods of prices a, b, and c . In this context, the budget equation is
defined as ax + by + cz = d, where x ≥ 0, y ≥ 0 , and z ≥ 0 represent the number of items bought from each of the goods.
The budget set is given by {(x, y, z) | ax + by + cz ≤ d, x ≥ 0, y ≥ 0, z ≥ 0}, and the budget plane is the part of the
plane of equation ax + by + cz = d for which x ≥ 0, y ≥ 0 , and z ≥ 0 . Consider a = $8, b = $5, c = $10, and d = $500.
a. Use a CAS to graph the budget set and budget plane.
b. For z = 25, find the new budget equation and graph the budget set in the same system of coordinates.
53) [T] Consider ⇀
r (t) = ⟨sin t, cos t, 2t⟩ the position vector of a particle at time , where the components of
t ∈ [0, 3]
⇀
r are
−−⇀
expressed in centimeters and time is measured in seconds. Let OP be the position vector of the particle after 1 sec.
a. Determine the velocity vector ⇀
v (1) of the particle after 1 sec.
b. Find the scalar equation of the plane that is perpendicular to v(1) and passes through point P . This plane is called the
normal plane to the path of the particle at point P .
c. Use a CAS to visualize the path of the particle along with the velocity vector and normal plane at point P .
Answer:
a. v (1) = ⟨cos 1, − sin 1, 2⟩
⇀
7 9/5/2021 https://math.libretexts.org/@go/page/20992
54) [T] A solar panel is mounted on the roof of a house. The panel may be regarded as positioned at the points of coordinates
(in meters) A(8, 0, 0), B(8, 18, 0), C (0, 18, 8),and D(0, 0, 8) (see the following figure).
a. Find the general form of the equation of the plane that contains the solar panel by using points A, B, and C , and
−−⇀ −−⇀
show that its normal vector is equivalent to AB × AD.
b. Find parametric equations of line L1 that passes through the center of the solar panel and has direction vector
⇀
s =
1
√3
^
i +
1
√3
^
j +
1
√3
^
k, which points toward the position of the Sun at a particular time of day.
c. Find symmetric equations of line L that passes through the center of the solar panel and is perpendicular to it.
2
d. Determine the angle of elevation of the Sun above the solar panel by using the angle between lines L and L . 1 2
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Problems 15 and 43 - 46 created by Paul Seeburger
8 9/5/2021 https://math.libretexts.org/@go/page/20992
Exercises for Quadric Surfaces
For exercises 1 - 6, sketch and describe the cylindrical surface of the given equation.
1) [T] x
2
+z
2
=1
Answer:
The surface is a cylinder with the rulings parallel to the y-axis.
2) [T] x
2
+y
2
=9
3) [T] z = cos( π
2
+ x)
Answer:
The surface is a cylinder with rulings parallel to the y-axis.
4) [T] z = e x
5) [T] z = 9 − y 2
Answer:
The surface is a cylinder with rulings parallel to the x -axis.
1 9/5/2021 https://math.libretexts.org/@go/page/20994
6) [T] z = ln x
Answer:
a. Cylinder; b. The x -axis
8)
2 9/5/2021 https://math.libretexts.org/@go/page/20994
9)
Answer:
a. Hyperboloid of two sheets; b. The x -axis
10)
For exercises 11 - 16, match the given quadric surface with its corresponding equation in standard form.
2 2 2
x y z
a. + − =1
4 9 12
2 2 2
x y z
b. − − =1
4 9 12
3 9/5/2021 https://math.libretexts.org/@go/page/20994
2 2 2
x y z
c. + + =1
4 9 12
d. z 2
= 4x
2
+ 3y
2
e. z = 4x 2
−y
2
f. 4x 2
+y
2
−z
2
=0
Answer:
b.
12) Ellipsoid
13) Elliptic paraboloid
Answer:
d.
Answer:
a.
For exercises 17 - 28, rewrite the given equation of the quadric surface in standard form. Identify the surface.
17) −x 2
+ 36 y
2
+ 36 z
2
=9
Answer:
2 2 2
x y z
− + + = 1, hyperboloid of one sheet with the x -axis as its axis of symmetry
9 1 1
4 4
18) −4x 2
+ 25 y
2
+z
2
= 100
19) −3x 2
+ 5y
2
−z
2
= 10
Answer:
2 2 2
x y z
−
10
+ − = 1, hyperboloid of two sheets with the y-axis as its axis of symmetry
2 10
3
20) 3x 2
−y
2
− 6z
2
= 18
21) 5y = x 2
−z
2
Answer:
2 2
z x
y =− + , hyperbolic paraboloid with the y-axis as its axis of symmetry
5 5
22) 8x 2
− 5y
2
− 10z = 0
23) x2
+ 5y
2
+ 3z
2
− 15 = 0
Answer:
4 9/5/2021 https://math.libretexts.org/@go/page/20994
2 2 2
x y z
+ + = 1, ellipsoid
15 3 5
24) 63x 2
+ 7y
2
+ 9z
2
− 63 = 0
25) x2
+ 5y
2
− 8z
2
=0
Answer:
2 2 2
x y z
+ − = 0, elliptic cone with the z -axis as its axis of symmetry
40 8 5
26) 5x 2
− 4y
2
+ 20 z
2
=0
27) 6x = 3y 2
+ 2z
2
Answer:
2 2
y z
x = + , elliptic paraboloid with the x -axis as its axis of symmetry
2 3
28) 49y = x 2
+ 7z
2
For exercises 29 - 34, find the trace of the given quadric surface in the specified plane of coordinates and sketch it.
29) [T] x 2
+z
2
+ 4y = 0, z =0
Answer:
2
Parabola y = − x
4
,
30) [T] x 2
+z
2
+ 4y = 0, x =0
Answer:
2 2
y z
Ellipse + = 1,
4 100
5 9/5/2021 https://math.libretexts.org/@go/page/20994
32) [T] −4x 2
+ 25 y
2
+z
2
= 100, y =0
2 2
y z
33) [T] x2
+ + = 1, x =0
4 100
Answer:
2 2
y z
Ellipse + = 1,
4 100
34) [T] x2
−y −z
2
= 1, y =0
35) Use the graph of the given quadric surface to answer the questions.
Answer:
a. Ellipsoid
b. The third equation
6 9/5/2021 https://math.libretexts.org/@go/page/20994
2 2 2
x y z
c. + + =1
100 400 225
36) Use the graph of the given quadric surface to answer the questions.
Answer:
2 2
(x + 3) (z − 2)
a. + =1
16 8
b. Cylinder centered at (−3, 2) with rulings parallel to the y-axis
38) 4x 2
−y
2
+z
2
− 8x + 2y + 2z + 3 = 0
39) x2
+ 4y
2
− 4z
2
− 6x − 16y − 16z + 5 = 0
Answer:
2
(x − 3)
a. + (y − 2 )
2 2
− (z + 2 ) =1
4
b. Hyperboloid of one sheet centered at (3, 2, −2), with the z -axis as its axis of symmetry
40) x2
+z
2
− 4y + 4 = 0
2 2
y z
41) x2
+ − + 6x + 9 = 0
4 3
Answer:
2 2
y z
a. (x + 3) 2
+ − =0
4 3
b. Elliptic cone centered at (−3, 0, 0), with the z -axis as its axis of symmetry
42) x2
−y
2
+z
2
− 12z + 2x + 37 = 0
7 9/5/2021 https://math.libretexts.org/@go/page/20994
43) Write the standard form of the equation of the ellipsoid centered at the origin that passes through points
−−
A(2, 0, 0), B(0, 0, 1), and C (12, √11,
1
).
2
Answer:
2 2
x y
2
+ +z =1
4 16
44) Write the standard form of the equation of the ellipsoid centered at point P (1, 1, 0) that passes through points
A(6, 1, 0), B(4, 2, 0)and C (1, 2, 1).
Answer:
(1, −1, 0) and ( 13
3
, 4,
5
3
)
47) Find the equation of the quadric surface with points P (x, y, z) that are equidistant from point Q(0, −1, 0) and plane of
equation y = 1. Identify the surface.
Answer:
x
2
+z
2
+ 4y = 0, elliptic paraboloid
48) Find the equation of the quadric surface with points P (x, y, z) that are equidistant from point Q(0, 2, 0) and plane of
equation y = −2. Identify the surface.
49) If the surface of a parabolic reflector is described by equation 400z = x 2
+y ,
2
find the focal point of the reflector.
Answer:
(0, 0, 100)
8 9/5/2021 https://math.libretexts.org/@go/page/20994
a. Solve the system consisting of the equations of the surfaces to find the equation of the intersection curve. (Hint: Find
x and y in terms of z .)
b. Use a computer algebra system (CAS) or CalcPlot3D to visualize the intersection curve on sphere x 2
+y
2
+z
2
=4 .
Answer:
2
z z −−−− −
a. x = 2 − , y =± √4 − z 2 , where z ∈ [−2, 2];
2 2
b.
54) Hyperboloid of one sheet 25x + 25y − z = 25 and elliptic cone −25x + 75y + z = 0 are represented in the
2 2 2 2 2 2
following figure along with their intersection curves. Identify the intersection curves and find their equations (Hint: Find y
from the system consisting of the equations of the surfaces.)
55) [T] Use a CAS or CalcPlot3D to create the intersection between cylinder 2
9x + 4y
2
= 18 and ellipsoid
36 x + 16 y + 9 z = 144 , and find the equations of the intersection curves.
2 2 2
Answer:
2 2
x y –
two ellipses of equations +
9
=1 in planes z = ±2√2
2
2
9 9/5/2021 https://math.libretexts.org/@go/page/20994
56) [T] A spheroid is an ellipsoid with two equal semiaxes. For instance, the equation of a spheroid with the z-axis as its axis
2 2 2
x y z
of symmetry is given by 2
+
2
+
2
=1 , where a and c are positive real numbers. The spheroid is called oblate if c < a ,
a a c
and prolate for c > a .
a. The eye cornea is approximated as a prolate spheroid with an axis that is the eye, where a = 8.7mm and
c = 9.6mm.Write the equation of the spheroid that models the cornea and sketch the surface.
Answer:
2 2 2
x y z
a. + + =1
2 2 2
3963 3963 3950
b.
10 9/5/2021 https://math.libretexts.org/@go/page/20994
2 2
x y (2950)(4950)
c. The intersection curve is the ellipse of equation + = , and the intersection is
2 2 2
3963 3963 3950
an ellipse.
2 2
2y z
d. The intersection curve is the ellipse of equation 2
+
2
= 1.
3963 3950
58) [T] A set of buzzing stunt magnets (or “rattlesnake eggs”) includes two sparkling, polished, superstrong spheroid-shaped
magnets well-known for children’s entertainment. Each magnet is 1.625 in. long and 0.5 in. wide at the middle. While tossing
them into the air, they create a buzzing sound as they attract each other.
a. Write the equation of the prolate spheroid centered at the origin that describes the shape of one of the magnets.
b. Write the equations of the prolate spheroids that model the shape of the buzzing stunt magnets. Use a CAS or
CalcPlot3D to create the graphs.
59) [T] A heart-shaped surface is given by equation (x 2
+
9
4
y
2
+z
2
− 1)
3
−x z
2 3
−
9
80
2
y z
3
= 0.
a. Use a CAS or CalcPlot3D to graph the surface that models this shape.
b. Determine and sketch the trace of the heart-shaped surface on the xz-plane.
Answer:
a.
60) [T] The ring torus symmetric about the z -axis is a special type of surface in topology and its equation is given by
2 2 2 2 2 2 2
(x + y + z + R − r ) = 4 R (x + y )
2 2
, where R > r > 0 . The numbers R and r are called are the major and minor
radii, respectively, of the surface. The following figure shows a ring torus for which R = 2 and r = 1 .
11 9/5/2021 https://math.libretexts.org/@go/page/20994
a. Write the equation of the ring torus with R =2 and r =1 , and use a CAS or CalcPlot3D to graph the surface.
Compare the graph with the figure given.
b. Determine the equation and sketch the trace of the ring torus from a. on the xy-plane.
c. Give two examples of objects with ring torus shapes.
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
12 9/5/2021 https://math.libretexts.org/@go/page/20994
Exercises for The Cross Product
For exercises 1-4, the vectors ⇀
u and ⇀
v are given.
a. Find the cross product ⇀
u × v
⇀
of the vectors ⇀
u and ⇀
v . Express the answer in component form.
b. Sketch the vectors ⇀
u, v
⇀
, and ⇀ ⇀
u × v .
1) ⇀
u = ⟨2, 0, 0⟩,
⇀
v = ⟨2, 2, 0⟩
Answer:
⇀ ⇀
a. u × v = ⟨0, 0, 4⟩;
b.
2) ⇀
u = ⟨3, 2, −1⟩,
⇀
v = ⟨1, 1, 0⟩
3) ⇀ ^ ^
u = 2 i +3j,
⇀ ^ ^
v = j + 2k
Answer:
⇀ ⇀
a. u × v = ⟨6, −4, 2⟩;
b.
4) ⇀ ^ ^
u = 2 j + 3 k,
⇀ ^ ^
v = 3i +k
1 9/5/2021 https://math.libretexts.org/@go/page/20990
5) Simplify (^i × ^i − 2^i × ^j − 4^i × k
^ ^ ^ ^
+ 3 j × k) × i .
Answer:
^ ^
−2 j − 4 k
6) Simplify ^j × (k
^ ^ ^ ^ ^ ^ ^ ^
× j + 2 j × i − 3 j × j + 5 i × k).
Answer:
√6 7 √6 √6
⇀ ^ ^ ^
w =− i − j − k
18 18 9
8) ⇀
u = ⟨2, 6, 1⟩,
⇀
v = ⟨3, 0, 1⟩
−−⇀ −−⇀
9) ⇀
u = AB,
⇀
v = AC , where A(1, 0, 1), B(1, −1, 3) , and C (0, 0, 5)
Answer:
4 √21 2 √21 √21
⇀ ^ ^ ^
w =− i − j − k
21 21 21
−−⇀ −−⇀
10) ⇀
u = OP ,
⇀
v = P Q, where P (−1, 1, 0) and Q(0, 2, 1)
11) Determine the real number α such that u × v and ^i are orthogonal, where u = 3^i + ^j − 5k
⇀ ⇀ ^
and ⇀ ⇀ ^ ^ ^
v = 4 i − 2 j + α k.
Answer:
α = 10
Answer:
^ ^ ^
−3 i + 11 j + 2 k
∣^i
^
j
^
k ∣
∣ ∣
16) Calculate the determinant ∣ 0 3 −4 ∣ .
∣ ∣
∣ 1 6 −1 ∣
and v .
⇀
17) ⇀
u = ⟨−1, 0, e ⟩,
t ⇀
v = ⟨1, e
−t
, 0⟩, where t is a real number
Answer:
2 9/5/2021 https://math.libretexts.org/@go/page/20990
⇀ t −t
w = ⟨−1, e , −e ⟩
18) ⇀
u = ⟨1, 0, x⟩,
⇀
v =⟨
2
x
, 1, 0⟩, where x is a nonzero real number
∣^i
^
j
^
k∣ ∣^i
^
j
^
k ∣
⇀ ∣ ∣ ⇀ ∣ ∣
19) Find vector ( a − 2 b ) × c , where
⇀ ⇀ ⇀
a =∣ 2 −1 5 ∣, b = ∣ 0 1 1 ∣, and ⇀ ^ ^ ^
c = i + j + k.
∣ ∣ ∣ ∣
∣ 0 1 8 ∣ ∣ 2 −1 −2 ∣
Answer:
^ ^ ^
−26 i + 17 j + 9 k
∣^i
^
j
^
k∣ ∣^i
^
j
^
k ∣
⇀ ∣ ∣ ⇀ ∣ ∣
20) Find vector ⇀ ⇀
c × ( a + 3 b ), where ⇀
a =∣ 5 0 9 ∣, b = ∣ 0 −1 1 ∣, and ⇀ ^ ^
c = i − k.
∣ ∣ ∣ ∣
∣ 0 1 0 ∣ ∣ 7 1 −1 ∣
21) [T] Use the cross product u × v to find the acute angle between vectors
⇀ ⇀ ⇀
u and ⇀
v , where ⇀ ^ ^
u = i +2j and ⇀ ^ ^
v = i + k.
Answer:
72°
25) Nonzero vectors u and v are called collinear if there exists a nonzero scalar α such that
⇀ ⇀ ⇀
v = αu
⇀
. Show that ⇀
u and ⇀
v are
collinear if and only if u × v = 0.
⇀ ⇀
−−⇀
26) Nonzero vectors u and ⇀ ⇀
v are called collinear if there exists a nonzero scalar α such that ⇀
v = αu
⇀
. Show that vectors AB
−−⇀
and AC are collinear, where A(4, 1, 0), B(6, 5, −2), and C (5, 3, −1).
27) Find the area of the parallelogram with adjacent sides u = ⟨3, 2, 0⟩ and ⇀ ⇀
v = ⟨0, 2, 1⟩ .
Answer:
7
28) Find the area of the parallelogram with adjacent sides u = ^i + ^j and ⇀ ⇀ ^ ^
v = i + k.
29) Consider points A(3, −1, 2), B(2, 1, 5), and C (1, −2, −2).
−−⇀ −−⇀
a. Find the area of parallelogram ABC D with adjacent sides AB and AC .
b. Find the area of triangle ABC .
c. Find the distance from point A to line BC .
Answer:
– 5 √6 5 √6 5 √354
a. 5√6; b. 2
; c. =
59
√59
30) Consider points A(2, −3, 4), B(0, 1, 2), and C (−1, 2, 0).
−−⇀ −−⇀
a. Find the area of parallelogram ABC D with adjacent sides AB and AC .
b. Find the area of triangle ABC .
c. Find the distance from point B to line AC .
3 9/5/2021 https://math.libretexts.org/@go/page/20990
In exercises 31-32, vectors ⇀
u, v
⇀
, and w are given.
⇀
31) ⇀ ^ ^
u = i + j,
⇀ ^ ^
v = j + k, and ⇀ ^ ^
w = i +k
Answer:
a. 2; b. 2 units3
32) ⇀
u = ⟨−3, 5, −1⟩,
⇀
v = ⟨0, 2, −2⟩, and ⇀
w = ⟨3, 1, 1⟩
Answer:
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
v ⋅ ( u × w) = −1, w ⋅ (u × v ) = 1
∣1 2 3∣
⇀
∣ ∣
35) Find vectors ⇀
a, b , and ⇀
c with a triple scalar product given by the determinant ∣
0 2 5 . Determine their triple scalar
∣
∣8 9 2∣
product.
Answer:
⇀ ⇀
⇀ ⇀ ⇀ ⇀
a = ⟨1, 2, 3⟩, b = ⟨0, 2, 5⟩, c = ⟨8, 9, 2⟩; a ⋅ ( b × c ) = −9
∣0 −2 1∣
⇀ ∣ ∣ ⇀
36) The triple scalar product of vectors ⇀
a, b , and ⇀
c is given by the determinant ∣ 0 1 4
∣
. Find vector ⇀ ⇀
a − b + c.
∣1 −3 7∣
37) Consider the parallelepiped with edges OA, OB, and OC , where A(2, 1, 0), B(1, 2, 0),and C (0, 1, α).
a. Find the real number α > 0 such that the volume of the parallelepiped is 3 units3.
b. For α = 1, find the height h from vertex C of the parallelepiped. Sketch the parallelepiped.
Answer:
a. α = 1; b. h = 1 unit,
38) Consider points A(α, 0, 0), B(0, β, 0), and C (0, 0, γ), with α, β, and γ positive real numbers.
4 9/5/2021 https://math.libretexts.org/@go/page/20990
−−⇀ −−⇀ −−⇀
a. Determine the volume of the parallelepiped with adjacent sides OA, OB, and OC .
b. Find the volume of the tetrahedron with vertices O, A, B, and C . (Hint: The volume of the tetrahedron is 1/6 of the
volume of the parallelepiped.)
c. Find the distance from the origin to the plane determined by A, B, and C . Sketch the parallelepiped and tetrahedron.
39) Let u, v, and w be three-dimensional vectors and c be a real number. Prove the following properties of the cross product.
⇀
a. u × u = 0
⇀ ⇀
b. u × ( v + w) = (u × v ) + (u × w)
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
c. c(u × v ) = (c u ) × v = u × (c v )
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
⇀
d. u ⋅ (u × v ) = 0
⇀ ⇀ ⇀
⇀
a. u × u = 0
⇀ ⇀
b. u × ( v + w) = (u × v ) + (u × w)
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
c. c(u × v ) = (c u ) × v = u × (c v )
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
⇀
d. u ⋅ (u × v ) = 0
⇀ ⇀ ⇀
41) Nonzero vectors u , v , and w are said to be linearly dependent if one of the vectors is a linear combination of the other
⇀ ⇀ ⇀
two. For instance, there exist two nonzero real numbers α and β such that w = α u + β v . Otherwise, the vectors are called
⇀ ⇀ ⇀
linearly independent. Show that u , v , and w could be placed on the same plane if and only if they are linear dependent.
⇀ ⇀ ⇀
a. Show that u , ⇀ ⇀
v , and w can be placed on the same plane by using their triple scalar product
⇀
b. Show that u , v , and w can be placed on the same plane by using the definition that there exist two nonzero real
⇀ ⇀ ⇀
Answer:
−−⇀ −−⇀ −−⇀
Yes, AD = α AB + β AC , where α = −1 and β = 1.
45) Let ⇀
u = ⟨u1 , u2 ⟩ and ⇀
v = ⟨v1 , v2 ⟩ be two-dimensional vectors. The cross product of vectors ⇀
u and ⇀
v is not defined.
~ ~
However, if the vectors are regarded as the three-dimensional vectors u = ⟨u , u , 0⟩ and v = ⟨v , v , 0⟩ , respectively, then,
⇀
1 2
⇀
1 2
~ ~ ~ ~
in this case, we can define the cross product of u and v . In particular, in determinant notation, the cross product of u and v is
⇀ ⇀ ⇀ ⇀
given by
∣ ^ ^ ^∣
i j k
~ ~ ∣ ∣
⇀ ⇀
u×v =∣u
1 u2 0 ∣ .
∣ ∣
∣ v1 v2 0 ∣
Use this result to compute (cos θ ^i + sin θ ^j ) × (sin θ ^i − cos θ ^j ), where θ is a real number.
Answer:
^
−k
5 9/5/2021 https://math.libretexts.org/@go/page/20990
46) Consider points P (2, 1), Q(4, 2),and R(1, 2).
a. Find the area of triangle P QR.
b. Determine the distance from point R to the line passing through P and Q.
47) Determine a vector of magnitude 10 perpendicular to the plane passing through the x-axis and point P (1, 2, 4).
Answer:
– –
⟨0, ±4 √5, 2 √5⟩
48) Determine a unit vector perpendicular to the plane passing through the z-axis and point A(3, 1, −2).
49) Consider u and v two three-dimensional vectors. If the magnitude of the cross product vector u × v is k times larger
⇀ ⇀ ⇀ ⇀
than the magnitude of vector u , show that the magnitude of v is greater than or equal to k , where k is a natural number.
⇀ ⇀
50) [T] Assume that the magnitudes of two nonzero vectors u and v are known. The function f (θ) = ∥ u ∥∥ v ∥ sin θ defines
⇀ ⇀ ⇀ ⇀
the magnitude of the cross product vector u × v , where θ ∈ [0, π] is the angle between u and v .
⇀ ⇀ ⇀ ⇀
Answer:
Writing all components in terms of the constant w , one way to represent these vectors is:
3
Note that we could use any parameter we wish here. We could set w = a . Then w = ⟨a − 1, a + 1, a⟩ would also
3
⇀
Answer:
8.66 ft-lb
54) [T] A boy applies the brakes on a bicycle by applying a downward force of 20 lb on the pedal when the 6-in. crank makes
a 40° angle with the horizontal (see the following figure). Find the torque at point P . Express your answer in foot-pounds
rounded to two decimal places.
6 9/5/2021 https://math.libretexts.org/@go/page/20990
55) [T] Find the magnitude of the force that needs to be applied to the end of a 20-cm wrench located on the positive direction
of the y -axis if the force is applied in the direction ⟨0, 1, −2⟩ and it produces a 100 N·m torque to the bolt located at the origin.
Answer:
–
250 √5 N ≈ 559 N
56) [T] What is the magnitude of the force required to be applied to the end of a 1-ft wrench at an angle of 35° to produce a
torque of 20 N·m?
⇀
57) [T] The force vector F acting on a proton with an electric charge of 1.6 × 10
−19
C (in coulombs) moving in a magnetic
⇀ ⇀ ⇀ ⇀
field B where the velocity vector v is given by F = 1.6 × 10 ( v × B) (here, v is expressed in meters per second, B is in
⇀ −19 ⇀ ⇀
⇀
tesla [T], and F is in newtons [N]). Find the force that acts on a proton that moves in the xy-plane at velocity
⇀
v = 10 i + 10 j (in meters per second) in a magnetic field given by B = 0.3 j .
⇀ ^5 ^ 5 ^
Answer:
⇀
−15
F = 4.8 × 10 kN
⇀ ⇀
58) [T] The force vector F acting on a proton with an electric charge of 1.6 × 10
−19
C moving in a magnetic field B where
⇀ ⇀ ⇀ ⇀
the velocity vector v is given by F = 1.6 × 10 ( v × B) (here, v is expressed in meters per second, B in T , and F in N ).
⇀ −19 ⇀ ⇀
⇀
If the magnitude of force F acting on a proton is 5.9 × 10 N and the proton is moving at the speed of 300 m/sec in
−17
⇀ ⇀
magnetic field B of magnitude 2.4 T, find the angle between velocity vector v of the proton and magnetic field B. Express
⇀
Answer:
⇀ 2 √5 sin t 2 √5 cos t √5
a. B(t) = ⟨ 5
,−
5
,
5
⟩;
b.
7 9/5/2021 https://math.libretexts.org/@go/page/20990
60) A solar panel is mounted on the roof of a house. The panel may be regarded as positioned at the points of coordinates (in
meters) A(8, 0, 0), B(8, 18, 0), C (0, 18, 8),and D(0, 0, 8) (see the following figure).
−−⇀ −−⇀
a. Find vector n = AB × AD perpendicular to the surface of the solar panels. Express the answer using standard unit
⇀
vectors. Note that the magnitude of this vector should give us the area of rectangle ABC D.
√3
^
i +
1
√3
^
j +
1
√3
^
k points toward the Sun at a particular time of the day and the flow of
⇀
solar energy is F = 900 s (in watts per square meter [W /m ]). Find the predicted amount of electrical power the panel
⇀ 2
⇀
can produce, which is given by the dot product of vectors F and n (expressed in watts).
⇀
c. Determine the angle of elevation of the Sun above the solar panel. Express the answer in degrees rounded to the
nearest whole number. (Hint: The angle between vectors n and s and the angle of elevation are complementary.)
⇀ ⇀
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
8 9/5/2021 https://math.libretexts.org/@go/page/20990
Exercises for The Dot Product
For exercises 1-4, the vectors ⇀
u and ⇀
v are given. Calculate the dot product ⇀ ⇀
u ⋅ v .
1) ⇀
u = ⟨3, 0⟩,
⇀
v = ⟨2, 2⟩
Answer:
⇀ ⇀
u⋅ v =6
2) ⇀
u = ⟨3, −4⟩,
⇀
v = ⟨4, 3⟩
3) ⇀
u = ⟨2, 2, −1⟩,
⇀
v = ⟨−1, 2, 2⟩
Answer:
⇀ ⇀
u⋅ v =0
4) ⇀
u = ⟨4, 5, −6⟩,
⇀
v = ⟨0, −2, −3⟩
⇀ ⇀ ⇀
For exercises 5-8, the vectors ⇀
a, b , and ⇀
c are given. Determine the vectors ( a ⋅ b ) c and ( a ⋅ c ) b . Express the vectors
⇀ ⇀ ⇀ ⇀
in component form.
⇀
5) ⇀
a = ⟨2, 0, −3⟩, b = ⟨−4, −7, 1⟩,
⇀
c = ⟨1, 1, −1⟩
Answer:
⇀
⇀ ⇀ ⇀ ⇀
( a ⋅ b ) c = ⟨−11, −11, 11⟩; ( a ⋅ c )b = ⟨−20, −35, 5⟩
⇀
6) ⇀
a = ⟨0, 1, 2⟩, b = ⟨−1, 0, 1⟩,
⇀
c = ⟨1, 0, −1⟩
⇀
7) ⇀ ^ ^
a = i + j,
^ ^
b = i − k,
⇀ ^ ^
c = i − 2k
Answer:
⇀ ⇀
⇀ ⇀ ⇀ ⇀
( a ⋅ b ) c = ⟨1, 0, −2⟩; ( a ⋅ c ) b = ⟨1, 0, −1⟩
⇀
8) ⇀ ^ ^ ^
a = i − j + k,
^ ^
b = j + 3 k,
⇀ ^ ^ ^
c = − i + 2 j − 4k
Answer:
a. θ = 2.82 rad; b. θ is not acute.
⇀
10) [T] ⇀
a = ⟨2, 1⟩, b = ⟨−1, 3⟩
11) ⇀ ^
u = 3i,
⇀ ^ ^
v = 4i +4j
Answer:
a. θ =
π
4
rad; b. θ is acute.
12) ⇀ ^
u = 5i,
⇀ ^ ^
v = −6 i + 6 j
1 9/5/2021 https://math.libretexts.org/@go/page/20988
⇀
For exercises 13-18, find the measure of the angle between the three-dimensional vectors ⇀
a and b . Express the answer in
radians rounded to two decimal places, if it is not possible to express it exactly.
⇀
13) ⇀
a = ⟨3, −1, 2⟩, b = ⟨1, −1, −2⟩
Answer:
π
θ =
2
⇀
14) ⇀
a = ⟨0, −1, −3⟩, b = ⟨2, 3, −1⟩
⇀
15) ⇀ ^ ^
a = i + j,
^ ^
b = j −k
Answer:
π
θ =
3
⇀
16) ⇀ ^ ^ ^
a = i − 2 j + k,
^ ^ ^
b = i + j − 2k
⇀
17) [T] ⇀ ^ ^ ^
a = 3 i − j − 2 k,
⇀
b = v + w,
⇀
where ⇀ ^ ^ ^
v = −2 i − 3 j + 2 k and w = ^i + 2k
⇀ ^
Answer:
θ =2 rad
⇀
18) [T] ⇀ ^ ^ ^
a = 3 i − j + 2 k,
⇀
b = v − w,
⇀
where ⇀ ^ ^ ^
v = 2 i + j + 4k and w = 6^i + ^j + 2k
⇀ ^
For exercises 19-22, determine whether the given vectors are orthogonal.
⇀
19) ⇀
a = ⟨x, y⟩, b = ⟨−y, x⟩ , where x and y are nonzero real numbers
Answer:
Orthogonal
⇀
20) ⇀
a = ⟨x, x⟩, b = ⟨−y, y⟩ , where x and y are nonzero real numbers
⇀
21) ⇀ ^ ^ ^
a = 3 i − j − 2 k,
^ ^ ^
b = −2 i − 3 j + k
Answer:
Not orthogonal
⇀
22) ⇀ ^ ^
a = i − j,
^ ^ ^
b = 7i +2j −k
⇀
23) Find all two-dimensional vectors ⇀
a orthogonal to vector b = ⟨3, 4⟩. Express the answer in component form.
Answer:
⇀
a = ⟨−
4α
3
, α⟩, where α ≠ 0 is a real number
⇀
24) Find all two-dimensional vectors ⇀
a orthogonal to vector b = ⟨5, −6⟩. Express the answer by using standard unit vectors.
25) Determine all three-dimensional vectors ⇀
u orthogonal to vector ⇀
v = ⟨1, 1, 0⟩. Express the answer by using standard unit
vectors.
Answer:
⇀ ^ ^ ^
u = −α i + α j + β k, where α and β are real numbers such that α 2
+β
2
≠0
2 9/5/2021 https://math.libretexts.org/@go/page/20988
Answer:
α = −6
⇀
28) Determine the real number α such that vectors ⇀ ^ ^
a = −3 i + 2 j and b = 2^i + α ^j are orthogonal.
29) [T] Consider the points P (4, 5) and Q(5, −7), and note that O represents the origin.
−−⇀ −−⇀
a. Determine vectors OP and OQ. Express the answer by using standard unit vectors.
b. Determine the measure of angle O in triangle OP Q. Express the answer in degrees rounded to two decimal places.
Answer:
−−⇀ −−⇀
^ ^ ^ ^
a. OP = 4 i + 5 j , OQ = 5 i − 7 j ; b. 105.8°
30) [T] Consider points A(1, 1), B(2, −7), and C (6, 3).
−−⇀ −−⇀
a. Determine vectors BA and BC . Express the answer in component form.
b. Determine the measure of angle B in triangle ABC . Express the answer in degrees rounded to two decimal places.
31) Determine the measure of angle A in triangle ABC , where A(1, 1, 8), B(4, −3, −4), and C (−3, 1, 5). Express your answer
in degrees rounded to two decimal places.
Answer:
68.33°
−−⇀ −−⇀
32) Consider points P (3, 7, −2) and Q(1, 1, −3). Determine the angle between vectors OP and OQ . [Remember that O
represents the origin.] Express the answer in degrees rounded to two decimal places.
For exercises 33-34, determine which (if any) pairs of the following vectors are orthogonal.
33) ⇀
u = ⟨3, 7, −2⟩,
⇀
v = ⟨5, −3, −3⟩,
⇀
w = ⟨0, 1, −1⟩
Answer:
u and are orthogonal; and w are orthogonal, but u and w are not orthogonal.
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
v v
34) ⇀ ^ ^
u = i − k,
⇀ ^ ^
v = 5 j − 5 k,
⇀ ^
w = 10 j
35) Use vectors to show that a parallelogram with equal diagonals is a rectangle.
36) Use vectors to show that the diagonals of a rhombus are perpendicular.
37) Show that u ⋅ ( v + w) = u ⋅ v + u ⋅ w
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
is true for any vectors u , v , and w.
⇀ ⇀ ⇀
Answer:
⇀ ⇀ π √3 15 √3
u ⋅ v = (5)(3) cos = 15 ⋅ =
6 2 2
40) ⇀
∥ u ∥ = 20 , ⇀
∥ v ∥ = 15 , and the angle between u and ⇀ ⇀
v is 5π/4 rad.
41) ⇀
∥ u∥ = 7 , ⇀
∥ v ∥ = 12 , and the angle between u and ⇀ ⇀
v is π/2 rad.
Answer:
⇀ ⇀ π
u ⋅ v = (7)(12) cos = 84 ⋅ 0 = 0
2
3 9/5/2021 https://math.libretexts.org/@go/page/20988
42) Considering the definition of the dot product, u ⋅ v = ∥ u ∥∥ v ∥ cos θ , where θ is the angle between u and
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
v , what can you say
about the angle θ between two nonzero vectors u and v if: ⇀ ⇀
a. ⇀ ⇀
u⋅ v >0 ?
b. ⇀ ⇀
u⋅ v <0 ?
c. ⇀ ⇀
u⋅ v =0 ?
In exercises 43-45, you are given the vertices of a triangle. Use dot products to determine whether each triangle is acute,
obtuse, or right.
43) (2, 3, 0), (3, 1, −2), (−1, 4, 5)
Answer:
−−⇀ −−⇀
Label the points P , Q and R. Then determine the vectors P Q and P R.
−−⇀
Here we see that, if P = (2, 3, 0), Q = (3, 1, −2) and R = (−1, 4, 5), so we have P Q =< 1, −2, −2 > and
−−⇀
P R =< −3, 1, 5 > .
−−⇀ −−⇀
Then P Q ⋅ P R = −15 < 0 , so angle QP R is obtuse. Therefore this triangle must be an obtuse triangle.
Solution:
−−⇀ −−⇀
Label the points P , Q and R. Then determine the vectors P Q and P R.
−−⇀
Here we see that, if P = (6, 1, 4), Q = (3, 2, −1) and R = (2, 3, 1), so we have P Q =< −3, 1, −5 > and
−−⇀
P R =< −4, 2, −3 > .
−−⇀ −−⇀
Then P Q ⋅ P R = 29 > 0 , so angle QP R is acute. This triangle could still be any of the three types, so we need to
check another angle.
−−⇀ −−⇀ −−⇀ −−⇀
Considering angle P QR we find QP =< 3, −1, 5 > and QR =< −1, 1, 2 > , so QP ⋅ QR = 6 > 0 , showing angle
P QR is also acute.
We then must check the third angle to determine whether this is a right triangle or an acute triangle.
−−⇀ −−⇀ −−⇀ −−⇀
To check angle P RQ we find RP =< 4, −2, 3 > and RQ =< 1, −1, −2 > , giving us RP ⋅ RQ = 0 . Angle P RQ is
thus a right angle.
Therefore this triangle is a right triangle.
46) Which of the following operations are allowed for nonzero vectors u , ⇀ ⇀
v , and w, and which are not. Explain your reasoning.
⇀
a. u + ( v ⋅ w) b. (u ⋅ v ) ⋅ w c. (u ⋅ v ) w
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
d. (u + v ) ⋅ w e. (u + v ) ⋅ ∥w∥ f. ∥ u + v ∥∥w∥
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
Projections
For the exercises 47-50, given the vectors ⇀
u and ⇀
v :
a. Find the vector projection Proj v of vector ⇀
u
⇀ ⇀
v onto vector u and the component of
⇀ ⇀
v that is orthogonal to ⇀
u , i.e., ⇀
v perp .
Express your answers in component form.
b. Find the scalar projection comp ⇀
u
⇀
v = ∥ Proj⇀ v ∥
u
⇀
of vector ⇀
v onto vector u . ⇀
4 9/5/2021 https://math.libretexts.org/@go/page/20988
47) ⇀ ^ ^
u = 5 i +2j,
⇀ ^ ^
v = 2i +3j
Answer:
16 √29
a. Proj ⇀
u
⇀
v =⟨
80
29
,
32
29
⟩ and ⇀
v perp =< −
22
29
,
55
29
> ; b. comp ⇀
u
⇀
v =
16
=
29
;
√29
16 √13
c. Proj ⇀
v
⇀
u =
32
13
^
i +
48
13
^
j and u ⇀
perp =
33
13
^
i −
22
13
^
j ; d. comp ⇀
v
⇀
u =
16
=
13
√13
48) ⇀
u = ⟨−4, 7⟩,
⇀
v = ⟨3, 5⟩
49) ⇀ ^ ^
u = 3 i + 2 k,
⇀ ^ ^
v = 2 j + 4k
Answer:
8 √13
a. Proj ⇀
u
⇀
v =⟨
24
13
, 0,
16
13
⟩ and ⇀
v perp =< −
24
13
,
26
13
,
36
13
> ; b. comp ⇀
u
⇀
v =
8
=
13
√13
√80 4 √5
c. Proj ⇀
v
⇀
u =
4
5
^
j +
8
5
^
k and u ⇀
perp
^
=3i −
4
5
^
j +
2
5
^
k ; d. comp ⇀
v
⇀
u =
5
=
5
;
50) ⇀
u = ⟨4, 4, 0⟩,
⇀
v = ⟨0, 4, 1⟩
b. Write the decomposition v = w + q of vector v into the orthogonal components w and q , where w is the projection of
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
v onto u and q is the vector component of v orthogonal to the direction of u . That is, q = v .
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
perp
Answer:
a. Proj ⇀
u
⇀
v =⟨
24
25
,−
18
25
⟩ ; b. q
⇀ ⇀
= v perp = ⟨
51
25
,
68
25
⟩ ,
⇀ ⇀ ⇀ ⇀ ⇀ 24 18 51 68
v = w + q = Proj⇀ v + v perp = ⟨ ,− ⟩+⟨ , ⟩
u 25 25 25 25
So we have that, ⇀
v =⟨
24
25
,−
18
25
⟩+⟨
51
25
,
68
25
⟩ .
b. Write the decomposition v = w + q of vector v into the orthogonal components w and q , where w is the projection of
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
53) A 50, 000-pound truck is parked on a hill with a 5° slope above the horizontal (in the positive x-direction). Considering only
the force due to gravity, find
a. the component of the weight of the truck that is pulling the truck down the hill (aligned with the road)
b. the component of the weight of the truck that is perpendicular to the road.
c. the magnitude of the force needed to keep the truck from rolling down the hill
d. the magnitude of the force that is perpendicular to the road.
Solution:
⇀
Let F be the force due to gravity on the truck (its weight) and let ⇀
r be the unit vector pointing up the hill to the right.
Then
⇀
a. the component of the weight of the truck that is pulling the truck down the hill is Proj ⇀F
r
.
⇀ ⇀
Now ^
F = −50, 000 j and
⇀ ^ ^
r = cos 5° i + sin 5° j and F ⋅ ⇀
r = −50, 000 sin 5° ≈ −4357.78714
Note that ∥ r ∥ = 1.
⇀
⇀ ⇀
⇀
Then: Proj⇀ F = (
r
F⋅ r
⇀ 2
) r
⇀
= (−50, 000 sin 5°) r
⇀
=
^ 2 ^
−50000 sin 5° cos 5° i − 50000 sin 5° j .
∥ r ∥
r
^ 2 ^
Proj⇀ F = −25000 sin 10° i − 50000 sin 5° j ≈
^ ^
−4341.2 i − 379.8 j .
5 9/5/2021 https://math.libretexts.org/@go/page/20988
⇀
b. the component of the weight of the truck that is perpendicular to the road is F perp .
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
Since we know that F = Proj ⇀F
r
+ Fperp , we have that F perp = F − Proj⇀ F
r
.
⇀
So Fperp
^ ^ 2 ^
= −50000 j − (−25000 sin 10° i − 50000 sin 5° j )
^ 2 ^ ^ 2 ^
= 25000 sin 10° i + (50000 sin 5° − 50000) j = 25000 sin 10° i − 50000 cos 5° j ≈
^ ^
4341.2 i − 49620.2 j.
⇀
c. the magnitude of the force needed to keep the truck from rolling down the hill is ∥Proj F∥ = 50, 000 sin 5°lbs ⇀
r
≈ 4357.8 lbs. Note that this force is actually the negative of the projection vector, but its magnitude is the same.
⇀
d. the magnitude of the truck's weight that is perpendicular to the road is ∥F perp ∥ ≈ 49809.7 lbs.
Work
⇀
55) Find the work done by force F = ⟨5, 6, −2⟩ (measured in Newtons) that moves a particle from point P (3, −1, 0) to point
Q(2, 3, 1) along a straight line (the distance is measured in meters).
Answer:
17 N⋅m
56) [T] A sled is pulled by exerting a force of 100 N on a rope that makes an angle of 25° with the horizontal. Find the work done
in pulling the sled 40 m. (Round the answer to one decimal place.)
57) [T] A father is pulling his son on a sled at an angle of 20° with the horizontal with a force of 25 lb (see the following image).
He pulls the sled in a straight path of 50 ft. How much work was done by the man pulling the sled? (Round the answer to the
nearest integer.)
Answer:
1175 ft⋅lb
58) [T] A car is towed using a force of 1600 N. The rope used to pull the car makes an angle of 25° with the horizontal. Find the
work done in towing the car 2 km. Express the answer in joules (1 J= 1 N⋅m) rounded to the nearest integer.
59) [T] A boat sails north aided by a wind blowing in a direction of N 30°E with a magnitude of 500 lb. How much work is
performed by the wind as the boat moves 100 ft? (Round the answer to two decimal places.)
Answer:
–
25000 √3 ft-lbs ≈ 43, 301.27ft-lbs
Solution:
6 9/5/2021 https://math.libretexts.org/@go/page/20988
Vector representing the wind: w = 500 cos 60
⇀ ∘^
i + 500 sin 60
∘^
j
⇀
Answer:
–
a. 2 √2; b. 109.47°
62) Vector p = ⟨150, 225, 375⟩ represents the price of certain models of bicycles sold by a bicycle shop. Vector n = ⟨10, 7, 9⟩
⇀ ⇀
represents the number of bicycles sold of each model, respectively. Compute the dot product p ⋅ n and state its meaning.
⇀ ⇀
⇀ ⇀
63) [T] Two forces F and F are represented by vectors with initial points that are at the origin. The first force has a magnitude of
1 2
20 lb and passes through the point P (1, 1, 0). The second force has a magnitude of 40 lb and passes through the point Q(0, 1, 1).
⇀ ⇀ ⇀
Let F be the resultant force of forces F and F . 1 2
⇀
a. Find the magnitude of F. (Round the answer to one decimal place.)
⇀
b. Find the direction angles of F. (Express the answer in degrees rounded to one decimal place.)
Answer:
⇀ ⇀
a. ∥ F1 + F2 ∥= 52.9 lb; b. The direction angles are α = 74.5°, β = 36.7°, and γ = 57.7°.
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
7 9/5/2021 https://math.libretexts.org/@go/page/20988
Exercises and LaTeX edited by Paul Seeburger. Problems 39-46 and 53 & 54 were created by Paul Seeburger.
Solution to Problem 59 also was added by Paul Seeburger.
8 9/5/2021 https://math.libretexts.org/@go/page/20988
Exercises for Vectors in Space
1) Consider a rectangular box with one of the vertices at the origin, as shown in the following figure. If point A(2, 3, 5) is the
opposite vertex to the origin, then find
a. the coordinates of the other six vertices of the box and
b. the length of the diagonal of the box determined by the vertices O and A .
Answer:
−−
a. (2, 0, 5), (2, 0, 0), (2, 3, 0), (0, 3, 0), (0, 3, 5), (0, 0, 5)b. √38
2) Find the coordinates of point P and determine its distance to the origin.
For exercises 3-6, describe and graph the set of points that satisfies the given equation.
3) (y − 5)(z − 6) = 0
Answer:
A union of two planes: y = 5 (a plane parallel to the xz-plane) and z = 6 (a plane parallel to the xy-plane)
1 9/5/2021 https://math.libretexts.org/@go/page/20986
4) (z − 2)(z − 5) = 0
5) (y − 1)2
+ (z − 1 )
2
=1
Answer:
A cylinder of radius 1 centered on the line y = 1, z = 1
6) (x − 2) 2
+ (z − 5 )
2
=4
7) Write the equation of the plane passing through point (1, 1, 1) that is parallel to the xy-plane.
Answer:
z =1
8) Write the equation of the plane passing through point (1, −3, 2) that is parallel to the xz-plane.
9) Find an equation of the plane passing through points (1, −3, −2), (0, 3, −2), and (1, 0, −2).
Answer:
z = −2
10) Find an equation of the plane passing through points (1, 9, 2), (1, 3, 6),and (1, −7, 8).
For exercises 11-14, find the equation of the sphere in standard form that satisfies the given conditions.
11) Center C (−1, 7, 4) and radius 4
Answer:
2 2 2
(x + 1 ) + (y − 7 ) + (z − 4 ) = 16
2 9/5/2021 https://math.libretexts.org/@go/page/20986
12) Center C (−4, 7, 2) and radius 6
13) Diameter P Q, where P (−1, 5, 7) and Q(−5, 2, 9)
Answer:
29
2 2 2
x + 3) + (y − 3.5 ) + (z − 8 ) =
4
For exercises 15 and 16, find the center and radius of the sphere with an equation in general form that is given.
15) x 2
+y
2
+z
2
− 4z + 3 = 0
Answer:
Center C (0, 0, 2) and radius 1
16) x 2
+y
2
+z
2
− 6x + 8y − 10z + 25 = 0
−−⇀
For exercises 17-20, express vector P Q with the initial point at P and the terminal point at Q
a. in component form and
b. by using standard unit vectors.
17) P (3, 0, 2) and Q(−1, −1, 4)
Answer:
−−⇀
a. P Q = ⟨−4, −1, 2⟩
−−⇀
^ ^ ^
b. P Q = −4 i − j + 2 k
Answer:
−−⇀
a. P Q = ⟨6, −24, 24⟩
−−⇀
^ ^ ^
b. P Q = 6 i − 24 j + 24 k
¯
¯¯¯¯¯¯
¯
20) Q(0, 7, −6) and M (−1, 3, 2), where M is the midpoint of the line segment P Q
−−⇀
21) Find terminal point Q of vector P Q = ⟨7, −1, 3⟩ with the initial point at P (−2, 3, 5).
Answer:
Q(5, 2, 8)
−−⇀
22) Find initial point P of vector P Q = ⟨−9, 1, 2⟩ with the terminal point at Q(10, 0, −1).
⇀ ⇀ ⇀
For exercises 23-26, use the given vectors ⇀
a and b to find and express the vectors ⇀
a + b, 4 a
⇀
, and ⇀
−5 a + 3 b in
component form.
⇀
23) ⇀
a = ⟨−1, −2, 4⟩, b = ⟨−5, 6, −7⟩
Answer:
3 9/5/2021 https://math.libretexts.org/@go/page/20986
⇀ ⇀
⇀ ⇀ ⇀
a + b = ⟨−6, 4, −3⟩, 4 a = ⟨−4, −8, 16⟩, −5 a + 3 b = ⟨−10, 28, −41⟩
⇀
24) ⇀
a = ⟨3, −2, 4⟩, b = ⟨−5, 6, −9⟩
⇀
25) ⇀ ^
a = −k,
^
b = −i
Answer:
⇀ ⇀
⇀ ⇀ ⇀
a + b = ⟨−1, 0, −1⟩, 4 a = ⟨0, 0, −4⟩, −5 a + 3 b = ⟨−3, 0, 5⟩
⇀
26) ⇀ ^ ^ ^
a = i + j + k,
^ ^ ^
b = 2 i − 3 j + 2k
27) ⇀ ^ ^ ^
u = 2 i + 3 j + 4 k,
⇀ ^ ^ ^
v = −i + 5 j − k
Answer:
⇀ ⇀ −− ⇀ −−
∥ u − v ∥ = √38, ∥ − 2 u ∥ = 2 √29
28) ⇀ ^ ^
u = i + j,
⇀ ^ ^
v = j −k
29) ⇀
u = ⟨2 cos t, −2 sin t, 3⟩,
⇀
v = ⟨0, 0, 3⟩, where t is a real number.
Answer:
⇀ ⇀ ⇀ −−
∥ u − v ∥ = 2, ∥ − 2 u ∥ = 2 √13
30) ⇀
u = ⟨0, 1, sinh t⟩,
⇀
v = ⟨1, 1, 0⟩, where t is a real number.
For exercises 31-36, find the unit vector in the direction of the given vector ⇀
a and express it using standard unit
vectors.
31) ⇀ ^ ^
a = 3i −4j
Answer:
3 ^ 4 ^
i − j
5 5
32) ⇀
a = ⟨4, −3, 6⟩
−−⇀
33) ⇀
a = PQ , where P (−2, 3, 1) and Q(0, −4, 4)
Answer:
√62 7 √62 3 √62
^ ^ ^
i − j + k
31 62 62
−−⇀
34) ⇀
a = OP , where P (−1, −1, 1)
35) ⇀ ⇀
a = u − v + w,
⇀ ⇀
where u = ^i − ^j − k
⇀ ^
,
⇀ ^ ^ ^
v = 2 i − j + k, and w = −^i + ^j + 3k
⇀ ^
Answer:
√6 √6 √6
^ ^ ^
− i + j + k
3 6 6
36) ⇀ ⇀
a = 2 u + v − w,
⇀ ⇀
where u = ^i − k
⇀ ^
,
⇀ ^
v = 2j , and w = ^i − ^j
⇀
−−⇀ −−⇀
37) Determine whether AB and P Q are equivalent vectors, where A(1, 1, 1), B(3, 3, 3), P (1, 4, 5), and Q(3, 6, 7).
Answer:
Equivalent vectors
4 9/5/2021 https://math.libretexts.org/@go/page/20986
−−⇀ −−⇀
38) Determine whether the vectors AB and P Q are equivalent, where A(1, 4, 1), B(−2, 2, 0), P (2, 5, 7), and Q(−3, 2, 1).
Answer:
⇀ 70 √59 10 √59 30 √59
u =⟨ ,− , ⟩
59 59 59
40) ⇀
v = ⟨2, 4, 1⟩, ∥ u ∥ = 15
⇀
, and u and
⇀ ⇀
v have the same direction
41) ⇀
v = ⟨2 sin t, 2 cos t, 1⟩, ∥ u ∥ = 2, u
⇀ ⇀
and ⇀
v have opposite directions for any t , where t is a real number
Answer:
⇀ 4 √5 4 √5 2 √5
u = ⟨− sin t, − cos t, − ⟩
5 5 5
42) ⇀
v = ⟨3 sinh t, 0, 3⟩, ∥ u ∥ = 5
⇀
, and u and
⇀ ⇀
v have opposite directions for any t , where t is a real number
−−⇀
43) Determine a vector of magnitude 5 in the direction of vector AB, where A(2, 1, 5) and B(3, 4, −7).
Answer:
5 √154 15 √154 30 √154
⟨ , ,− ⟩
154 154 77
−−⇀
44) Find a vector of magnitude 2 that points in the opposite direction than vector AB , where A(−1, −1, 1) and B(0, 1, 1).
Answer:
– −−
α = −√7, β = −√15
46) Consider points A(α, 0, 0), B(0, β, 0), and C (α, β, β), where α and β are positive real numbers. Find α and β such that
¯
¯¯¯¯¯¯
¯ ¯ –
¯¯¯¯¯¯
¯ ¯
¯¯¯¯¯¯
¯–
∥ OA + OB∥ = √2 and ∥ OC ∥ = √3 .
47) Let P (x, y, z) be a point situated at an equal distance from points A(1, −1, 0) and B(−1, 2, 1). Show that point P lies on
the plane of equation −2x + 3y + z = 2.
48) Let P (x, y, z) be a point situated at an equal distance from the origin and point A(4, 1, 2) . Show that the coordinates of
point P satisfy the equation 8x + 2y + 4z = 21.
−−⇀ −−⇀ −−⇀
49) The points A, B, and
are collinear (in this order) if the relation
C ∥ AB∥ + ∥ BC ∥ = ∥ AC ∥ is satisfied. Show that
A(5, 3, −1), B(−5, −3, 1), and C (−15, −9, 3) are collinear points.
50) Show that points A(1, 0, 1), B(0, 1, 1), and C (1, 1, 1) are not collinear.
⇀ −−⇀
51) [T] A force F of 50 N acts on a particle in the direction of the vector OP , where P (3, 4, 0).
a. Express the force as a vector in component form.
⇀
b. Find the angle between force F and the positive direction of the x-axis. Express the answer in degrees rounded to the
nearest integer.
Answer:
⇀
a. F = ⟨30, 40, 0⟩; b. 53°
5 9/5/2021 https://math.libretexts.org/@go/page/20986
⇀ −−⇀
52) [T] A force F of 40 N acts on a box in the direction of the vector OP , where P (1, 0, 2).
a. Express the force as a vector by using standard unit vectors.
⇀
b. Find the angle between force F and the positive direction of the x-axis.
⇀
53) If F is a force that moves an object from point P (x , y , z ) to another point P (x , y , z ), then the displacement vector
1 1 1 1 2 2 2 2
⇀ ⇀
is defined as D = (x − x )^i + (y − y )^j + (z − z )k
2 1 2 1
^
. A metal container is lifted 10 m vertically by a constant force F.
2 1
⇀
Express the displacement vector D by using standard unit vectors.
Answer:
⇀
^
D = 10 k
⇀
54) A box is pulled 4 yd horizontally in the x-direction by a constant force F . Find the displacement vector in component
form.
55) The sum of the forces acting on an object is called the resultant or net force. An object is said to be in static equilibrium if
⇀ ⇀ ⇀
the resultant force of the forces that act on it is zero. Let F = ⟨10, 6, 3⟩, F = ⟨0, 4, 9⟩, and F = ⟨10, −3, −9⟩ be three
1 2 3
⇀
forces acting on a box. Find the force F acting on the box such that the box is in static equilibrium. Express the answer in
4
component form.
Answer:
⇀
F4 = ⟨−20, −7, −3⟩
⇀
56) [T] Let F k
2
= ⟨1, k, k ⟩, k = 1, . . . , n be n forces acting on a particle, with n ≥ 2.
⇀ n ⇀
a. Find the net force F = ∑ k=1
Fk . Express the answer using standard unit vectors.
⇀
b. Use a computer algebra system (CAS) to find n such that ∥F∥ < 100.
⇀ ⇀
57) The force of gravity F acting on an object is given by F = m g , where m is the mass of the object (expressed in
⇀
kilograms) and g is acceleration resulting from gravity, with ∥ g ∥ = 9.8 N /kg. A 2-kg disco ball hangs by a chain from the
⇀ ⇀
ceiling of a room.
⇀
a. Find the force of gravity F acting on the disco ball and find its magnitude.
⇀
b. Find the force of tension T in the chain and its magnitude.
Express the answers using standard unit vectors.
Answer:
6 9/5/2021 https://math.libretexts.org/@go/page/20986
⇀ ⇀
^
a. F = −19.6 k, ∥ F∥ = 19.6 N
⇀ ⇀
^
b. T = 19.6 k, ∥ T∥ = 19.6 N
58) A 5-kg pendant chandelier is designed such that the alabaster bowl is held by four chains of equal length, as shown in the
following figure.
a. Find the magnitude of the force of gravity acting on the chandelier.
b. Find the magnitudes of the forces of tension for each of the four chains (assume chains are essentially vertical).
59) [T] A 30-kg block of cement is suspended by three cables of equal length that are anchored at points
– – –
P (−2, 0, 0), Q(1, √3, 0), and R(1, −√3, 0). The load is located at S(0, 0, −2 √3), as shown in the following figure. Let
⇀ ⇀ ⇀
F1 , F2 , and F be the forces of tension resulting from the load in cables RS, QS, and P S, respectively.
3
⇀ ⇀ ⇀ ⇀
a. Find the gravitational force F acting on the block of cement that counterbalances the sum F1 + F2 + F3 of the
forces of tension in the cables.
⇀ ⇀ ⇀
b. Find forces F 1, F2 , and F . Express the answer in component form.
3
Answer:
⇀
a. F = −294k
^
N;
⇀ 49 √3 ⇀ 49 √3 ⇀ 98 √3
b. F 1 = ⟨−
3
, 49, −98⟩, F2 = ⟨−
3
, −49, −98⟩ , and F 3 =⟨
3
, 0, −98⟩ (each component is expressed in
7 9/5/2021 https://math.libretexts.org/@go/page/20986
newtons)
60) Two soccer players are practicing for an upcoming game. One of them runs 10 m from point A to point B. She then turns
left at 90° and runs 10 m until she reaches point C. Then she kicks the ball with a speed of 10 m/sec at an upward angle of 45°
to her teammate, who is located at point A. Write the velocity of the ball in component form.
61) Let r (t) = ⟨x(t), y(t), z(t)⟩ be the position vector of a particle at the time t ∈ [0, T ], where x, y, and z are smooth
⇀
functions on [0, T ]. The instantaneous velocity of the particle at time t is defined by vector v (t) = ⟨x (t), y (t), z (t)⟩ , with
⇀ ′ ′ ′
components that are the derivatives with respect to t , of the functions x, y, and z , respectively. The magnitude ∥ v (t)∥ of the ⇀
instantaneous velocity vector is called the speed of the particle at time t . Vector a (t) = ⟨x (t), y (t), z (t)⟩ , with
⇀ ′′ ′′ ′′
components that are the second derivatives with respect to t , of the functions x, y, and z , respectively, gives the acceleration
of the particle at time t . Consider r (t) = ⟨cos t, sin t, 2t⟩ the position vector of a particle at time t ∈ [0, 30], where the
⇀
a. Find the instantaneous velocity, speed, and acceleration of the particle after the first second. Round your answer to
two decimal places.
b. Use a CAS to visualize the path of the particle—that is, the set of all points of coordinates (cos t, sin t, 2t), where
t ∈ [0, 30].
Answer:
⇀
a. v (1) = ⟨−0.84, 0.54, 2⟩ (each component is expressed in centimeters per second); ∥ v (1) ∥= 2.24 (expressed in
⇀
centimeters per second); a (1) = ⟨−0.54, −0.84, 0⟩ (each component expressed in centimeters per second squared);
⇀
b.
62) [T] Let r (t) = ⟨t, 2t , 4t ⟩ be the position vector of a particle at time
⇀ 2 2
t (in seconds), where t ∈ [0, 10] (here the
components of r are expressed in centimeters).
⇀
a. Find the instantaneous velocity, speed, and acceleration of the particle after the first two seconds. Round your answer
to two decimal places.
b. Use a CAS to visualize the path of the particle defined by the points (t, 2
2 t , 4 t ),
2
where t ∈ [0, 60].
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
8 9/5/2021 https://math.libretexts.org/@go/page/20986
9 9/5/2021 https://math.libretexts.org/@go/page/20986
Exercises for Vectors in the Plane
For exercises 1 - 10, consider points P (−1, 3), Q(1, 5), and R(−3, 7). Determine the requested vectors and express
each of them
a. in component form and
b. by using standard unit vectors.
−−⇀
1) P Q
Answer:
−−⇀
a. P Q = ⟨2, 2⟩
−−⇀
b. P Q = 2^i + 2^j
−−⇀
2) P R
−−⇀
3) QP
Answer:
−−⇀
a. QP = ⟨−2, −2⟩
−−⇀
b. QP ^ ^
= −2 i − 2 j
−−⇀
4) RP
−−⇀ −−⇀
5) P Q + P R
Answer:
−−⇀ −−⇀
a. P Q + P R = ⟨0, 6⟩
−−⇀ −−⇀
b. P Q + P R = 6^j
−−⇀ −−⇀
6) P Q − P R
−−⇀ −−⇀
7) 2P Q − 2P R
Answer:
−−⇀ −−⇀
a. 2P Q → −2P R = ⟨8, −4⟩
−−⇀ −−⇀
b. 2P Q − 2P R = 8^i − 4^j
−−⇀ −−⇀
8) 2P Q + 1
2
PR
−−⇀
9) The unit vector in the direction of P Q
Answer:
√2 √2
a. ⟨ 2
,
2
⟩
√2 √2
b. 2
^
i +
2
^
j
−−⇀
10) The unit vector in the direction of P R
Answer:
1 9/5/2021 https://math.libretexts.org/@go/page/20984
3 4
⟨ , ⟩
5 5
–
coordinates of terminal point Q such that the magnitude of the vector v is √5. ⇀
Answer:
Q(0, 2)
14) The vector v has initial point P (1, 1) and terminal point Q that is on the x-axis and left of the initial point. Find the
⇀
−−
coordinates of terminal point Q such that the magnitude of the vector v is √10 . ⇀
⇀
For exercises 15 and 16, use the given vectors ⇀
a and b .
⇀
a. Determine the vector sum ⇀
a +b and express it in both the component form and by using the standard unit vectors.
⇀
b. Find the vector difference ⇀
a −b and express it in both the component form and by using the standard unit vectors.
⇀ ⇀ ⇀ ⇀
c. Verify that the vectors ⇀
a , b, and ⇀
a +b , and, respectively, ⇀
a, b , and ⇀
a −b satisfy the triangle inequality.
⇀ ⇀
d. Determine the vectors ⇀
2 a , −b , and ⇀
2 a − b. Express the vectors in both the component form and by using standard
unit vectors.
⇀
15) ⇀ ^ ^ ^ ^
a = 2 i + j, b = i + 3 j
Answer:
⇀ ⇀
⇀ ⇀ ^ ^
a. a + b = ⟨3, 4⟩, a + b = 3i +4j
⇀ ⇀
⇀ ⇀ ^ ^
b. a − b = ⟨1, −2⟩, a − b = i −2j
⇀
16) ⇀ ^ ^ ^
a = 2 i , b = −2 i + 2 j
⇀
17) Let ⇀
a be a standard-position vector with terminal point (−2, −4) . Let b be a vector with initial point (1, 2) and terminal
⇀
point (−1, 4). Find the magnitude of vector ⇀ ^ ^
−3 a + b − 4 i + j .
Answer:
15
⇀
18) Let ⇀
a be a standard-position vector with terminal point at (2, 5) . Let b be a vector with initial point (−1, 3) and terminal
⇀
point (1, 0). Find the magnitude of vector ⇀ ^ ^
a − 3 b + 14 i − 14 j .
⇀
19) Let ⇀
u and ⇀
v be two nonzero vectors that are nonequivalent. Consider the vectors ⇀ ⇀
a = 4u + 5v
⇀
and ⇀
b = u + 2v
⇀
defined
⇀
in terms of u and⇀ ⇀
v . Find the scalar λ such that vectors ⇀
a + λb and u − v are equivalent.
⇀ ⇀
Answer:
λ = −3
⇀
20) Let u and v be two nonzero vectors that are nonequivalent. Consider the vectors a = 2 u − 4 v and b = 3 u − 7 v defined
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
⇀
in terms of u and v . Find the scalars α and β such that vectors α a + β b and u − v are equivalent.
⇀ ⇀ ⇀ ⇀ ⇀
21) Consider the vector a (t) = ⟨cos t, sin t⟩ with components that depend on a real number t . As the number
⇀
t varies, the
components of a (t) change as well, depending on the functions that define them.
⇀
2 9/5/2021 https://math.libretexts.org/@go/page/20984
a. Write the vectors ⇀
a (0) and ⇀
a (π) in component form.
b. Show that the magnitude ∥ a (t)∥ of vector ⇀ ⇀
a (t) remains constant for any real number t .
c. As t varies, show that the terminal point of vector ⇀
a (t) describes a circle centered at the origin of radius 1.
Answer:
⇀ ⇀
a. a (0) = ⟨1, 0⟩, a (π) = ⟨−1, 0⟩
the components of a (x) change as well, depending on the functions that define them.
⇀
Answer:
⇀ 21 28
v =⟨ , ⟩
5 5
26) ∥ v ∥ = 3,
⇀ ⇀
u = ⟨−2, 5⟩
27) ∥ v ∥ = 7,
⇀ ⇀
u = ⟨3, −5⟩
Answer:
⇀ 21 √34 35 √34
v =⟨ ,− ⟩
34 34
28) ∥ v ∥ = 10,
⇀ ⇀
u = ⟨2, −1⟩
Answer:
⇀ –
u = ⟨√3, 1⟩
30) ∥ u ∥ = 6, θ = 60°
⇀
31) ∥ u ∥ = 5, θ =
⇀ π
Answer:
⇀
u = ⟨0, 5⟩
32) ∥ u ∥ = 8, θ = π
⇀
3 9/5/2021 https://math.libretexts.org/@go/page/20984
33) ∥ u ∥ = 10, θ =
⇀ 5π
Answer:
⇀ –
u = ⟨−5 √3, 5⟩
34) ∥ u ∥ = 50, θ =
⇀ 3π
For exercises 35 and 36, vector u is given. Find the angle θ ∈ [0, 2π) that vector
⇀ ⇀
u makes with the positive direction of
the x-axis, in a counter-clockwise direction.
– –
35) u = 5√2^i − 5√2^j
⇀
Answer:
7π
θ =
4
–
36) u = −√3^i − ^j
⇀
⇀
37) Let a = ⟨a , a ⟩, b = ⟨b , b ⟩ , and c
⇀
1 2 1 2
⇀
= ⟨c1 , c2 ⟩ be three nonzero vectors. If a1 b2 − a2 b1 ≠ 0 , then show there are two
⇀
scalars, α and β, such that c = α a + β b .
⇀ ⇀
Answer:
⇀ 1
a. z0 = f (x0 ) + f '(x0 ); b. u = ⟨1, f '(x0 )⟩
2
√1+[f '( x0 ) ]
b. Determine the unit vector u with initial point P and terminal point Q.
⇀
⇀
41) Consider f and g two functions defined on the same set of real numbers D. Let a = ⟨x, f (x)⟩ and b = ⟨x, g(x)⟩ be two ⇀
vectors that describe the graphs of the functions, where x ∈ D. Show that if the graphs of the functions f and g do not intersect,
⇀
then the vectors a and b are not equivalent.
⇀
⇀
42) Find x ∈ R such that vectors ⇀
a = ⟨x, sin x⟩ and b = ⟨x, cos x⟩ are equivalent.
43) Calculate the coordinates of point D such that ABC D is a parallelogram, with A(1, 1), B(2, 4), and C (7, 4).
Answer:
D(6, 1)
−−⇀
44) Consider the points A(2, 1), B(10, 6), C (13, 4), and D(16, −2). Determine the component form of vector AD.
45) The speed of an object is the magnitude of its related velocity vector. A football thrown by a quarterback has an initial
speed of 70 mph and an angle of elevation of 30°. Determine the velocity vector in mph and express it in component form.
(Round to two decimal places.)
4 9/5/2021 https://math.libretexts.org/@go/page/20984
Answer:
⟨60.62, 35⟩
46) A baseball player throws a baseball at an angle of 30° with the horizontal. If the initial speed of the ball is 100 mph, find the
horizontal and vertical components of the initial velocity vector of the baseball. (Round to two decimal places.)
47) A bullet is fired with an initial velocity of 1500 ft/sec at an angle of 60° with the horizontal. Find the horizontal and vertical
components of the velocity vector of the bullet. (Round to two decimal places.)
Answer:
The horizontal and vertical components are 750 ft/sec and 1299.04ft/sec, respectively.
48) [T] A 65-kg sprinter exerts a force of 798 N at a 19° angle with respect to the ground on the starting block at the instant a
race begins. Find the horizontal component of the force. (Round to two decimal places.)
49) [T] Two forces, a horizontal force of 45 lb and another of 52 lb, act on the same object. The angle between these forces is
25°. Find the magnitude and direction angle from the positive x-axis of the resultant force that acts on the object. (Round to two
decimal places.)
Answer:
The magnitude of resultant force is 94.71 lb; the direction angle is 13.42°.
50) [T] Two forces, a vertical force of 26 lb and another of 45 lb, act on the same object. The angle between these forces is 55°.
Find the magnitude and direction angle from the positive x-axis of the resultant force that acts on the object. (Round to two
decimal places.)
51) [T] Three forces act on object. Two of the forces have the magnitudes 58 N and 27 N, and make angles 53° and 152°,
respectively, with the positive x-axis. Find the magnitude and the direction angle from the positive x-axis of the third force such
that the resultant force acting on the object is zero. (Round to two decimal places.)
Answer:
The magnitude of the third vector is 60.03 N; the direction angle is 259.38°.
52) Three forces with magnitudes 80 lb, 120 lb, and 60 lb act on an object at angles of 45°, 60° and 30°, respectively, with the
positive x-axis. Find the magnitude and direction angle from the positive x-axis of the resultant force. (Round to two decimal
places.)
5 9/5/2021 https://math.libretexts.org/@go/page/20984
53) [T] An airplane is flying in the direction of 43° east of north (also abbreviated as N 43E at a speed of 550 mph. A wind
with speed 25 mph comes from the southwest at a bearing of N 15E. What are the ground speed and new direction of the
airplane?
Answer:
The new ground speed of the airplane is 572.19mph; the new direction is N 41.82E.
54) [T] A boat is traveling in the water at 30 mph in a direction of N 20E (that is, 20° east of north). A strong current is moving
at 15 mph in a direction of N 45E. What are the new speed and direction of the boat?
55) [T] A 50-lb weight is hung by a cable so that the two portions of the cable make angles of 40° and 53°, respectively, with
⇀ ⇀
the horizontal. Find the magnitudes of the forces of tension T and T in the cables if the resultant force acting on the object is
1 2
Answer:
6 9/5/2021 https://math.libretexts.org/@go/page/20984
⇀ ⇀
∥ T1 ∥ = 30.13 lb, ∥ T2 ∥ = 38.35 lb
56) [T] A 62-lb weight hangs from a rope that makes the angles of 29° and 61°, respectively, with the horizontal. Find the
⇀ ⇀
magnitudes of the forces of tension T and T in the cables if the resultant force acting on the object is zero. (Round to two
1 2
decimal places.)
57) [T] A 1500-lb boat is parked on a ramp that makes an angle of 30° with the horizontal. The boat’s weight vector points
downward and is a sum of two vectors: a horizontal vector v that is parallel to the ramp and a vertical vector v that is
⇀
1
⇀
2
perpendicular to the inclined surface. The magnitudes of vectors v and v are the horizontal and vertical component,
⇀
1
⇀
2
respectively, of the boat’s weight vector. Find the magnitudes of v and v . (Round to the nearest integer.)
⇀
1
⇀
2
Answer:
⇀ ⇀
∥ v 1 ∥ = 750 lb, ∥ v 2 ∥ = 1299 lb
58) [T] An 85-lb box is at rest on a 26° incline. Determine the magnitude of the force parallel to the incline necessary to keep
the box from sliding. (Round to the nearest integer.)
59) A guy-wire supports a pole that is 75 ft high. One end of the wire is attached to the top of the pole and the other end is
anchored to the ground 50 ft from the base of the pole. Determine the horizontal and vertical components of the force of tension
in the wire if its magnitude is 50 lb. (Round to the nearest integer.)
Answer:
The two horizontal and vertical components of the force of tension are 28 lb and 42 lb, respectively.
60) A telephone pole guy-wire has an angle of elevation of 35° with respect to the ground. The force of tension in the guy-wire
is 120 lb. Find the horizontal and vertical components of the force of tension. (Round to the nearest integer.)
7 9/5/2021 https://math.libretexts.org/@go/page/20984
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
8 9/5/2021 https://math.libretexts.org/@go/page/20984
Quadric Surfaces
Learning Objectives
Identify a cylinder as a type of three-dimensional surface.
Recognize the main features of ellipsoids, paraboloids, and hyperboloids.
Use traces to draw the intersections of quadric surfaces with the coordinate planes.
We have been exploring vectors and vector operations in three-dimensional space, and we have developed equations to
describe lines, planes, and spheres. In this section, we use our knowledge of planes and spheres, which are examples of three-
dimensional figures called surfaces, to explore a variety of other surfaces that can be graphed in a three-dimensional
coordinate system.
Identifying Cylinders
The first surface we’ll examine is the cylinder. Although most people immediately think of a hollow pipe or a soda straw when
they hear the word cylinder, here we use the broad mathematical meaning of the term. As we have seen, cylindrical surfaces
don’t have to be circular. A rectangular heating duct is a cylinder, as is a rolled-up yoga mat, the cross-section of which is a
spiral shape.
In the two-dimensional coordinate plane, the equation x + y = 9 describes a circle centered at the origin with radius 3. In
2 2
three-dimensional space, this same equation represents a surface. Imagine copies of a circle stacked on top of each other
centered on the z -axis (Figure 1), forming a hollow tube. We can then construct a cylinder from the set of lines parallel to the
z -axis passing through the circle x + y = 9 in the xy-plane, as shown in the figure. In this way, any curve in one of the
2 2
From this definition, we can see that we still have a cylinder in three-dimensional space, even if the curve is not a circle. Any
curve can form a cylinder, and the rulings that compose the cylinder may be parallel to any given line (Figure 2).
1 9/5/2021 https://math.libretexts.org/@go/page/20993
Figure 2: In three-dimensional space, the graph of equation z = x
3
is a cylinder, or a cylindrical surface with rulings parallel
to the y -axis.
b. z = 2x − y
2
c. y = sin x
Solution
a. The variable y can take on any value without limit. Therefore, the lines ruling this surface are parallel to the y -axis. The
intersection of this surface with the xz-plane forms a circle centered at the origin with radius 5 (see Figure 3).
2 9/5/2021 https://math.libretexts.org/@go/page/20993
Figure 4
c. In this equation, the variable z can take on any value without limit. Therefore, the lines composing this surface are
parallel to the z -axis. The intersection of this surface with the xy-plane outlines curve y = sin x (Figure 5).
Figure 5: The graph of equation y = sin x is formed by a set of lines parallel to the z -axis passing through curve
y = sin x in the xy -plane.
Exercise 1 :
Sketch or use a graphing tool to view the graph of the cylindrical surface defined by equation z = y . 2
Hint
The variable x can take on any value without limit.
Answer
3 9/5/2021 https://math.libretexts.org/@go/page/20993
When sketching surfaces, we have seen that it is useful to sketch the intersection of the surface with a plane parallel to one of
the coordinate planes. These curves are called traces. We can see them in the plot of the cylinder in Figure 6.
Definition: traces
The traces of a surface are the cross-sections created when the surface intersects a plane parallel to one of the coordinate
planes.
Traces are useful in sketching cylindrical surfaces. For a cylinder in three dimensions, though, only one set of traces is useful.
Notice, in Figure 6, that the trace of the graph of z = sin x in the xz-plane is useful in constructing the graph. The trace in the
xy-plane, though, is just a series of parallel lines, and the trace in the yz-plane is simply one line.
Figure 6: (a) This is one view of the graph of equation z = sin x . (b) To find the trace of the graph in the xz -plane, set y = 0 .
The trace is simply a two-dimensional sine wave.
Cylindrical surfaces are formed by a set of parallel lines. Not all surfaces in three dimensions are constructed so simply,
however. We now explore more complex surfaces, and traces are an important tool in this investigation.
Quadric Surfaces
We have learned about surfaces in three dimensions described by first-order equations; these are planes. Some other common
types of surfaces can be described by second-order equations. We can view these surfaces as three-dimensional extensions of
the conic sections we discussed earlier: the ellipse, the parabola, and the hyperbola. We call these graphs quadric surfaces
4 9/5/2021 https://math.libretexts.org/@go/page/20993
Definition: Quadric surfaces and conic sections
Quadric surfaces are the graphs of equations that can be expressed in the form
2 2 2
Ax + By + Cz + Dxy + Exz + F yz + Gx + H y + Jz + K = 0. (1)
When a quadric surface intersects a coordinate plane, the trace is a conic section.
2 2 2
x y z
An ellipsoid is a surface described by an equation of the form + + = 1. Set x = 0 to see the trace of the ellipsoid
a2 b2 c2
in the yz-plane. To see the traces in the xy- and xz-planes, set z = 0 and y = 0 , respectively. Notice that, if a = b , the trace in
the xy-plane is a circle. Similarly, if a = c , the trace in the xz-plane is a circle and, if b = c , then the trace in the yz-plane is a
circle. A sphere, then, is an ellipsoid with a = b = c.
Solution
2 2
x y
Start by sketching the traces. To find the trace in the xy-plane, set z =0 :
2
+
2
=1 (Figure 7). To find the other
2 3
traces, first set y = 0 and then set x = 0.
2 2 2
x y z
Figure 7: (a) This graph represents the trace of equation 2
+
2
+
2
= 1 in the xy -plane, when we set z = 0 . (b)
2 3 5
When we set y = 0 , we get the trace of the ellipsoid in the xz -plane, which is an ellipse. (c) When we set x = 0 , we get
the trace of the ellipsoid in the yz-plane, which is also an ellipse.
Now that we know what traces of this solid look like, we can sketch the surface in three dimensions (Figure 8).
5 9/5/2021 https://math.libretexts.org/@go/page/20993
Figure 8: (a) The traces provide a framework for the surface. (b) The center of this ellipsoid is the origin.
The trace of an ellipsoid is an ellipse in each of the coordinate planes. However, this does not have to be the case for all
quadric surfaces. Many quadric surfaces have traces that are different kinds of conic sections, and this is usually indicated by
the name of the surface. For example, if a surface can be described by an equation of the form
2 2
x y z
+ = (3)
2 2
a b c
then we call that surface an elliptic paraboloid. The trace in the xy-plane is an ellipse, but the traces in the xz-plane and yz-
plane are parabolas (Figure 9). Other elliptic paraboloids can have other orientations simply by interchanging the variables to
2 2 2 2
x z y y z x
give us a different variable in the linear term of the equation 2
+
2
= or 2
+
2
= .
a c b b c a
Solution
2
y
To find the trace in the xy-plane, set z = 0 : x 2
+
2
= 0. The trace in the plane z =0 is simply one point, the origin.
2
Since a single point does not tell us what the shape is, we can move up the z -axis to an arbitrary plane to find the shape of
other traces of the figure.
6 9/5/2021 https://math.libretexts.org/@go/page/20993
2
y
The trace in plane z =5 is the graph of equation x
2
+
2
=1 , which is an ellipse. In the -plane, the equation
xz
2
becomes z = 5x . The trace is a parabola in this plane and in any plane with the equation y = b .
2
In planes parallel to the yz-plane, the traces are also parabolas, as we can see in Figure 10.
2
y z
Figure 10: (a) The paraboloid x 2
+ = . (b) The trace in plane z = 5 . (c) The trace in the xz -plane. (d) The trace in
2 5
2
the yz-plane.
Exercise 2 :
2 2 2
x y z
A hyperboloid of one sheet is any surface that can be described with an equation of the form 2
+
2
−
2
=1 .
a b c
2 2 2
x y z
Describe the traces of the hyperboloid of one sheet given by equation 2
+
2
−
2
= 1.
3 2 5
Hint
To find the traces in the coordinate planes, set each variable to zero individually.
Answer
The traces parallel to the xy -plane are ellipses and the traces parallel to the xz - and -planes are hyperbolas.
yz
2 2 2 2
x y x z
Specifically, the trace in the xy-plane is ellipse 2
+
2
= 1, the trace in the xz-plane is hyperbola 2
−
2
= 1,
3 2 3 5
2 2
y z
and the trace in the yz-plane is hyperbola 2
−
2
=1 (see the following figure).
2 5
7 9/5/2021 https://math.libretexts.org/@go/page/20993
Hyperboloids of one sheet have some fascinating properties. For example, they can be constructed using straight lines, such as
in the sculpture in Figure 1a. In fact, cooling towers for nuclear power plants are often constructed in the shape of a
hyperboloid. The builders are able to use straight steel beams in the construction, which makes the towers very strong while
using relatively little material (Figure 1b).
Figure 11: (a) A sculpture in the shape of a hyperboloid can be constructed of straight lines. (b) Cooling towers for nuclear
power plants are often built in the shape of a hyperboloid.
8 9/5/2021 https://math.libretexts.org/@go/page/20993
Figure 12: Energy reflects off of the parabolic reflector and is collected at the focal point. (credit: modification of CGP
Grey, Wikimedia Commons)
Solution
Since z is the first-power variable, the axis of the reflector corresponds to the z -axis. The coefficients of x and y are
2 2
equal, so the cross-section of the paraboloid perpendicular to the z -axis is a circle. We can consider a trace in the xz-plane
or the yz-plane; the result is the same. Setting y = 0 , the trace is a parabola opening up along the z -axis, with standard
z
equation x 2
= 4pz , where p is the focal length of the parabola. In this case, this equation becomes x 2
= 100 ⋅ = 4pz
4
or 25 = 4p . So p is 6.25 m, which tells us that the focus of the paraboloid is 6.25 m up the axis from the vertex. Because
the vertex of this surface is the origin, the focal point is (0, 0, 6.25).
Seventeen standard quadric surfaces can be derived from the general equation
2 2 2
Ax + By + Cz + Dxy + Exz + F yz + Gx + H y + Jz + K = 0. (4)
9 9/5/2021 https://math.libretexts.org/@go/page/20993
Figure 13: Characteristics of Common Quadratic Surfaces: Ellipsoid, Hyperboloid of One Sheet, Hyperboloid of Two
Sheets.
10 9/5/2021 https://math.libretexts.org/@go/page/20993
Figure 14: Characteristics of Common Quadratic Surfaces: Elliptic Cone, Elliptic Paraboloid, Hyperbolic Paraboloid.
Solution
a. The x, y, and z terms are all squared, and are all positive, so this is probably an ellipsoid. However, let’s put the
equation into the standard form for an ellipsoid just to be sure. We have
11 9/5/2021 https://math.libretexts.org/@go/page/20993
2 2 2
16 x + 9y + 16 z = 144.
2 2
9x − 18x + 4 y + 16y + 25 = 36z
2 2
9(x − 2x) + 4(y + 4y) + 25 = 36z
2 2
9(x − 2x + 1 − 1) + 4(y + 4y + 4 − 4) + 25 = 36z
2 2
9(x − 1 ) − 9 + 4(y + 2 ) − 16 + 25 = 36z
2 2
9(x − 1 ) + 4(y + 2 ) = 36z
2 2
(x − 1) (y − 2)
+ = z.
4 9
Exercise 3
Identify the surface represented by equation 9x 2
+y
2
−z
2
+ 2z − 10 = 0.
Hint
Look at the signs and powers of the x, y, and z terms
Answer
Hyperboloid of one sheet, centered at (0, 0, 1).
Key Concepts
A set of lines parallel to a given line passing through a given curve is called a cylinder, or a cylindrical surface. The parallel
lines are called rulings.
The intersection of a three-dimensional surface and a plane is called a trace. To find the trace in the xy-, yz-, or xz-planes,
set z = 0, x = 0, or y = 0, respectively.
Quadric surfaces are three-dimensional surfaces with traces composed of conic sections. Every quadric surface can be
expressed with an equation of the form
2 2 2
Ax + By + Cz + Dxy + Exz + F yz + Gx + H y + Jz + K = 0.
To sketch the graph of a quadric surface, start by sketching the traces to understand the framework of the surface.
Important quadric surfaces are summarized in Figures 13 and 14.
Glossary
cylinder
a set of lines parallel to a given line passing through a given curve
ellipsoid
12 9/5/2021 https://math.libretexts.org/@go/page/20993
2 2 2
x y z
a three-dimensional surface described by an equation of the form + + =1 ; all traces of this surface are
2 2 2
a b c
ellipses
elliptic cone
2 2 2
x y z
a three-dimensional surface described by an equation of the form 2
+
2
−
2
=0 ; traces of this surface include
a b c
ellipses and intersecting lines
elliptic paraboloid
2 2
x y
a three-dimensional surface described by an equation of the form z = 2
+
2
; traces of this surface include ellipses and
a b
parabolas
quadric surfaces
surfaces in three dimensions having the property that the traces of the surface are conic sections (ellipses, hyperbolas, and
parabolas)
rulings
parallel lines that make up a cylindrical surface
trace
the intersection of a three-dimensional surface with a coordinate plane
13 9/5/2021 https://math.libretexts.org/@go/page/20993
The Cross Product
Learning Objectives
Calculate the cross product of two given vectors.
Use determinants to calculate a cross product.
Find a vector orthogonal to two given vectors.
Determine areas and volumes by using the cross product.
Calculate the torque of a given force and position vector.
Imagine a mechanic turning a wrench to tighten a bolt. The mechanic applies a force at the end of the wrench. This creates
rotation, or torque, which tightens the bolt. We can use vectors to represent the force applied by the mechanic, and the distance
(radius) from the bolt to the end of the wrench. Then, we can represent torque by a vector oriented along the axis of rotation.
Note that the torque vector is orthogonal to both the force vector and the radius vector.
In this section, we develop an operation called the cross product, which allows us to find a vector orthogonal to two given
vectors. Calculating torque is an important application of cross products, and we examine torque in more detail later in the
section.
v = ⟨v , v , v ⟩ be nonzero vectors. We want to find a vector w = ⟨w , w , w ⟩ orthogonal to both u and v —that is, we
⇀ ⇀ ⇀ ⇀
1 2 3 1 2 3
u1 w1 + u2 w2 + u3 w3 = 0 (1)
v1 w1 + v2 w2 + v3 w3 = 0. (2)
If we multiply the top equation by v3 and the bottom equation by u3 and subtract, we can eliminate the variable w3 , which
gives
If we select
w1 = u2 v3 − u3 v2
w2 = −(u1 v3 − u3 v1 ),
we get a possible solution vector. Substituting these values back into the original equations (Equations 1 and 2) gives
w3 = u1 v2 − u2 v1 .
⇀ ⇀ ^ ^ ^
u×v = (u2 v3 − u3 v2 ) i − (u1 v3 − u3 v1 ) j + (u1 v2 − u2 v1 )k
1 9/5/2021 https://math.libretexts.org/@go/page/20989
From the way we have developed u × v , it should be clear that the cross product is orthogonal to both u and
⇀ ⇀ ⇀ ⇀
v . However, it
never hurts to check. To show that u × v is orthogonal to u , we calculate the dot product of u and u × v .
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
⇀ ⇀ ⇀
u ⋅ (u × v ) = ⟨u1 , u2 , u3 ⟩ ⋅ ⟨u2 v3 − u3 v2 , −u1 v3 + u3 v1 , u1 v2 − u2 v1 ⟩
= u1 u2 v3 − u1 u3 v2 − u1 u2 v3 + u2 u3 v1 + u1 u3 v2 − u2 u3 v1
=0
In a similar manner, we can show that the cross product is also orthogonal to ⇀
v .
⇀ ⇀
The cross product a × b (vertical, in pink) changes as the angle between the vectors a (blue) and b (red) changes. The cross
⇀ ⇀
product (purple) is always perpendicular to both vectors, and has magnitude zero when the vectors are parallel and maximum
⇀
= ⟨p2 q3 − p3 q2 , −(p1 q3 − p3 q1 ), p1 q2 − p2 q1 ⟩
2 9/5/2021 https://math.libretexts.org/@go/page/20989
Exercise 1
Find p × q for p = ⟨5, 1, 2⟩ and q
⇀ ⇀ ⇀ ⇀
= ⟨−2, 0, 1⟩. Express the answer using standard unit vectors.
Hint
Use the formula u × v = (u
⇀ ⇀
2 v3
^ ^ ^
− u3 v2 ) i − (u1 v3 − u3 v1 ) j + (u1 v2 − u2 v1 )k.
Answer
⇀ ⇀ ^ ^ ^
p × q = i − 9 j + 2k
Although it may not be obvious from Equation 3, the direction of u × v is given by the right-hand rule. If we hold the right
⇀ ⇀
hand out with the fingers pointing in the direction of u , then curl the fingers toward vector v , the thumb points in the direction
⇀ ⇀
Notice what this means for the direction of v × u . If we apply the right-hand rule to v × u , we start with our fingers pointed
⇀ ⇀ ⇀ ⇀
in the direction of v , then curl our fingers toward the vector u . In this case, the thumb points in the opposite direction of
⇀ ⇀
u × v . (Try it!)
⇀ ⇀
3 9/5/2021 https://math.libretexts.org/@go/page/20989
We have
⇀ ⇀
u × v = ⟨(0 + 1), −(0 − 3), (0 − 6)⟩ = ⟨1, 3, −6⟩
⇀ ⇀
v × u = ⟨(−1 − 0), −(3 − 0), (6 − 0)⟩ = ⟨−1, −3, 6⟩.
We see that, in this case, u × v = −( v × u ) (Figure 4). We prove this in general later in this section.
⇀ ⇀ ⇀ ⇀
Figure 4: The cross products u × v and are both orthogonal to u and , but in opposite directions.
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
v ×u v
Exercise 2
Suppose vectors u and v lie in the xy-plane (the z -component of each vector is zero). Now suppose the x- and y -
⇀ ⇀
components of u and the y -component of v are all positive, whereas the x-component of v is negative. Assuming the
⇀ ⇀ ⇀
coordinate axes are oriented in the usual positions, in which direction does u × v point? ⇀ ⇀
Hint
Remember the right-hand rule (Figure 2).
Answer
Up (the positive z -direction)
(The cross product of two vectors is a vector, so each of these products results in the zero vector, not the scalar 0.) It’s up to
you to verify the calculations on your own.
Furthermore, because the cross product of two vectors is orthogonal to each of these vectors, we know that the cross product
of ^i and ^j is parallel to k
^
. Similarly, the vector product of ^i and k
^
is parallel to ^j , and the vector product of ^j and k
^
is
parallel to i .
^
We can use the right-hand rule to determine the direction of each product. Then we have
4 9/5/2021 https://math.libretexts.org/@go/page/20989
^ ^ ^
i × j =k
^ ^ ^
j × i = −k
^ ^ ^
j ×k = i
^ ^ ^
k × j = −i
^ ^ ^
k× i = j
^ ^ ^
i × k = −j .
Solution
⇀
We know that ^j × k
^
= i . Therefore, i × ( j × k) = i × i = 0 .
^ ^ ^ ^ ^ ^
Exercise 3
Find (^i × ^j ) × (k
^ ^
× i ).
Hint
Remember the right-hand rule (Figure 2).
Answer
^
−i
As we have seen, the dot product is often called the scalar product because it results in a scalar. The cross product results in a
vector, so it is sometimes called the vector product. These operations are both versions of vector multiplication, but they have
very different properties and applications. Let’s explore some properties of the cross product. We prove only a few of them.
Proofs of the other properties are left as exercises.
i. Anticommutative property:
⇀ ⇀ ⇀ ⇀
u × v = −( v × u ) (5)
5 9/5/2021 https://math.libretexts.org/@go/page/20989
vi. Scalar triple product:
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
u ⋅ ( v × w) = ( u × v ) ⋅ w (10)
Proof
For property i, we want to show u × v = −( v × u ). We have
⇀ ⇀ ⇀ ⇀
⇀ ⇀
u×v = ⟨u1 , u2 , u3 ⟩ × ⟨v1 , v2 , v3 ⟩
= ⟨u2 v3 − u3 v2 , −u1 v3 + u3 v1 , u1 v2 − u2 v1 ⟩
= −⟨u3 v2 − u2 v3 , −u3 v1 + u1 v3 , u2 v1 − u1 v2 ⟩
= −⟨v1 , v2 , v3 ⟩ × ⟨u1 , u2 , u3 ⟩
⇀ ⇀
= −( v × u ).
Unlike most operations we’ve seen, the cross product is not commutative. This makes sense if we think about the right-
hand rule.
For property iv., this follows directly from the definition of the cross product. We have
⇀ ⇀ ⇀
u × 0 = ⟨u2 (0) − u3 (0), −(u2 (0) − u3 (0)), u1(0) − u2 (0)⟩ = ⟨0, 0, 0⟩ = 0 . (11)
⇀ ⇀
Then, by property i., 0 × u = 0 as well. Remember that the dot product of a vector and the zero vector is the scalar 0,
⇀
⇀
whereas the cross product of a vector with the zero vector is the vector 0 .
Property vi . looks like the associative property, but note the change in operations:
⇀ ⇀ ⇀
u ⋅ ( v × w) = u ⋅ ⟨v2 w3 − v3 w2 , −v1 w3 + v3 w1 , v1 w2 − v2 w1 ⟩
= u1 v2 w3 − u1 v3 w2 − u2 v1 w3 + u2 v3 w1 + u3 v1 w2 − u3 v2 w1
⇀ ⇀ ⇀
= ⟨u2 v3 − u3 v2 , u3 v1 − u1 v3 , u1 v2 − u2 v1 ⟩ ⋅ ⟨w1 , w2 , w3 ⟩ = ( u × v ) ⋅ w.
^ ^ ^
= 2(3)( i × j ) × j
^ ^
= (6 k) × j
^ ^
= 6(k × j )
^ ^
= 6(− i ) = −6 i .
Exercise 4
Use the properties of the cross product to calculate (^i × k
^ ^ ^
) × (k × j ).
Hint
⇀ ⇀ ⇀ ⇀
u × v = −( v × u )
6 9/5/2021 https://math.libretexts.org/@go/page/20989
Answer
^
−k
So far in this section, we have been concerned with the direction of the vector u × v , but we have not discussed its ⇀ ⇀
magnitude. It turns out there is a simple expression for the magnitude of u × v involving the magnitudes of u and v , and the ⇀ ⇀ ⇀ ⇀
Proof
Let u = ⟨u
⇀
1, u2 , u3 ⟩ and ⇀
v = ⟨v1 , v2 , v3 ⟩ be vectors, and let θ denote the angle between them. Then
⇀ ⇀ 2 2 2 2
∥u × v∥ = (u2 v3 − u3 v2 ) + (u3 v1 − u1 v3 ) + (u1 v2 − u2 v1 )
2 2 2 2 2 2 2 2 2 2 2 2
=u v − 2 u2 u3 v2 v3 + u v +u v − 2 u1 u3 v1 v3 + u v +u v − 2 u1 u2 v1 v2 + u v
2 3 3 2 3 1 1 3 1 2 2 1
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
=u v +u v +u v +u v +u v +u v +u v +u v +u v
1 1 1 2 1 3 2 1 2 2 2 3 3 1 3 2 3 3
2 2 2 2 2 2
− (u v +u v +u v + 2 u1 u2 v1 v2 + 2 u1 u3 v1 v3 + 2 u2 u3 v2 v3 )
1 1 2 2 3 3
2 2 2 2 2 2 2
= (u +u + u )(v +v + v ) − (u1 v1 + u2 v2 + u3 v3 )
1 2 3 1 2 3
⇀ 2 ⇀ 2 ⇀ ⇀ 2
= ∥ u∥ ∥ v ∥ − (u ⋅ v )
⇀ 2 ⇀ 2 ⇀ 2 ⇀ 2 2
= ∥ u∥ ∥ v ∥ − ∥ u∥ ∥ v ∥ cos θ
⇀ 2 ⇀ 2 2
= ∥ u ∥ ∥ v ∥ (1 − cos θ)
⇀ 2 ⇀ 2 2
= ∥ u ∥ ∥ v ∥ (sin θ).
−−−−−
Taking square roots and noting that √sin2 θ = sin θ for 0 ≤ θ ≤ 180°, we have the desired result:
⇀ ⇀ ⇀ ⇀
∥ u × v ∥ = ∥ u ∥∥ v ∥ sin θ. (12)
This definition of the cross product allows us to visualize or interpret the product geometrically. It is clear, for example, that
the cross product is defined only for vectors in three dimensions, not for vectors in two dimensions. In two dimensions, it is
impossible to generate a vector simultaneously orthogonal to two nonparallel vectors.
= 4(3)(1) = 12
Exercise 5
Use Note to find the magnitude of u × v , where u = ⟨−8, 0, 0⟩ and
⇀ ⇀ ⇀ ⇀
v = ⟨0, 2, 0⟩ .
7 9/5/2021 https://math.libretexts.org/@go/page/20989
Hint
Vectors u and
⇀ ⇀
v are orthogonal.
Answer
16
For example,
∣3 −2 ∣
∣ ∣ = 3(1) − 5(−2) = 3 + 10 = 13. (14)
∣5 1 ∣
Equation 15 is referred to as the expansion of the determinant along the first row. Notice that the multipliers of each of the
2 × 2 determinants on the right side of this expression are the entries in the first row of the 3 × 3 determinant. Furthermore,
each of the 2 × 2 determinants contains the entries from the 3 × 3 determinant that would remain if you crossed out the row
and column containing the multiplier. Thus, for the first term on the right, a is the multiplier, and the 2 × 2 determinant
1
contains the entries that remain if you cross out the first row and first column of the 3 × 3 determinant. Similarly, for the
second term, the multiplier is a , and the 2 × 2 determinant contains the entries that remain if you cross out the first row and
2
second column of the 3 × 3 determinant. Notice, however, that the coefficient of the second term is negative. The third term
can be calculated in similar fashion.
Solution
We have
∣ 2 5 −1 ∣
∣ ∣ ∣1 3∣ ∣ −1 3∣ ∣ −1 1∣
−1 1 3 =2∣ ∣−5 ∣ ∣−1 ∣ ∣
∣ ∣ ∣3 4∣ ∣ −2 4∣ ∣ −2 3∣
∣ −2 3 4 ∣
= −19
Exercise 6
8 9/5/2021 https://math.libretexts.org/@go/page/20989
∣1 −2 −1 ∣
Hint
Expand along the first row. Don’t forget the second term is negative!
Answer
40
Technically, determinants are defined only in terms of arrays of real numbers. However, the determinant notation provides a
useful mnemonic device for the cross product formula.
∣ ^ ^ ^ ∣
i j k
∣ ∣ ∣ u2 u3 ∣ ∣ u1 u3 ∣ ∣ u1 u2 ∣
⇀ ⇀ ^ ^ ^
u×v =∣u u2 u3 ∣ = ∣ ∣ i −∣ ∣ j +∣ ∣ k. (16)
1
∣ ∣ ∣ v2 v3 ∣ ∣ v1 v3 ∣ ∣ v1 v2 ∣
∣ v1 v2 v3 ∣
Solution
We set up our determinant by putting the standard unit vectors across the first row, the components of ⇀
u in the second
row, and the components of v in the third row. Then, we have
⇀
∣ ^ ^ ^ ∣
i j k
∣ ∣ ∣2 5 ∣ ∣ −1 5 ∣ ∣ −1 2∣
⇀ ⇀ ^ ^ ^
p×q = ∣ −1 2 5 ∣ =∣ ∣ i −∣ ∣ j +∣ ∣k
∣ ∣ ∣0 −3 ∣ ∣ 4 −3 ∣ ∣ 4 0∣
∣ 4 0 −3 ∣
^ ^ ^
= (−6 − 0) i − (3 − 20) j + (0 − 8)k
^ ^ ^
= −6 i + 17 j − 8 k.
Notice that this answer confirms the calculation of the cross product in Example 1.
Exercise 7
⇀ ⇀
Use determinant notation to find ⇀
a ×b , where ⇀
a = ⟨8, 2, 3⟩ and b = ⟨−1, 0, 4⟩.
Hint
∣ ^^^ ∣
i jk
∣ ∣
Calculate the determinant ∣ 8 2 3∣ .
∣ ∣
∣ −1 0 4∣
Answer
⇀
⇀ ^ ^ ^
a × b = 8 i − 35 j + 2 k
9 9/5/2021 https://math.libretexts.org/@go/page/20989
Using the Cross Product
The cross product is very useful for several types of calculations, including finding a vector orthogonal to two given vectors,
computing areas of triangles and parallelograms, and even determining the volume of the three-dimensional geometric shape
made of parallelograms known as a parallelepiped. The following examples illustrate these calculations.
^ ^ ^
= (8 − 1) i − (20 − 0) j + (−5 − 0)k
^ ^ ^
= 7 i − 20 j − 5 k.
Exercise 8
⇀ ⇀
Find a unit vector orthogonal to both ⇀
a and b , where ⇀
a = ⟨4, 0, 3⟩ and b = ⟨1, 1, 4⟩.
Hint
Normalize the cross product.
Answer
−−− −−− −−−
−3 −13 4 −3 √194 −13 √194 2 √194
⟨ −−−, −−−, −−−⟩ or, simplified as ⟨ , , ⟩
√194 √194 √194 194 194 97
To use the cross product for calculating areas, we state and prove the following theorem.
Area of a Parallelogram
If we locate vectors u and v such that they form adjacent sides of a parallelogram, then the area of the parallelogram is
⇀ ⇀
10 9/5/2021 https://math.libretexts.org/@go/page/20989
Figure 5: The parallelogram with adjacent sides u and has base ∥ u ∥ and height ∥ v ∥ sin θ.
⇀ ⇀ ⇀ ⇀
v
Proof
We show that the magnitude of the cross product is equal to the base times height of the parallelogram.
⇀ ⇀
= ∥ u ∥(∥ v ∥ sin θ)
⇀ ⇀
= ∥u × v∥
11 9/5/2021 https://math.libretexts.org/@go/page/20989
∣ ^ ^ ^
i j k∣
−−⇀ −−⇀ ∣ ∣
P Q × P R = ∣ −1 1 0 ∣
∣ ∣
∣ −1 0 1 ∣
^ ^ ^
= (1 − 0) i − (−1 − 0) j + (0 − (−1))k
^ ^ ^
= i + j +k
∥ −−⇀ −−⇀
∥
PQ×PR =∥ ⟨1, 1, 1⟩∥
∥ ∥
−−−−−− −−−−
2 2 2
= √1 +1 +1
–
= √3.
–
The area of ΔP QR is half the area of the parallelogram or √3/2 units . 2
Exercise 9
Find the area of the parallelogram P QRS with vertices P (1, 1, 0), Q(7, 1, 0), R(9, 4, 2), and S(3, 4, 2).
Hint
Sketch the parallelogram and identify two vectors that form adjacent sides of the parallelogram.
Answer
−− 2
6 √13 units
⇀ ⇀ ⇀
u ⋅ ( v × w). (17)
⇀ ^ ^ ^
v = v1 i + v2 j + v3 k (19)
and
⇀ ^ ^ ^
w = w1 i + w2 j + w3 k (20)
Proof
The calculation is straightforward.
12 9/5/2021 https://math.libretexts.org/@go/page/20989
⇀ ⇀ ⇀
u ⋅ ( v × w) = ⟨u1 , u2 , u3 ⟩ ⋅ ⟨v2 w3 − v3 w2 , −v1 w3 + v3 w1 , v1 w2 − v2 w1 ⟩
∣ u1 u2 u3 ∣
∣ ∣
= v1 v2 v3 .
∣ ∣
∣ w1 w2 w3 ∣
Solution
Apply Equation 21 directly:
∣ 1 3 5 ∣
⇀ ⇀ ⇀ ∣ ∣
u ⋅ ( v × w) = 2 −1 0
∣ ∣
∣ −3 0 −1 ∣
∣ −1 0 ∣ ∣ 2 0 ∣ ∣ 2 −1 ∣
=1∣ ∣−3 ∣ ∣+5 ∣ ∣
∣ 0 −1 ∣ ∣ −3 −1 ∣ ∣ −3 0 ∣
= (1 − 0) − 3(−2 − 0) + 5(0 − 3)
= 1 + 6 − 15 = −8.
Exercise 10
⇀ ⇀
Calculate the triple scalar product ⇀
a ⋅ ( b × c ),
⇀
where ⇀
a = ⟨2, −4, 1⟩, b = ⟨0, 3, −1⟩ , and ⇀
c = ⟨5, −3, 3⟩.
Hint
Place the vectors as the rows of a 3 × 3 matrix, then calculate the determinant.
Answer
17
When we create a matrix from three vectors, we must be careful about the order in which we list the vectors. If we list them in
a matrix in one order and then rearrange the rows, the absolute value of the determinant remains unchanged. However, each
time two rows switch places, the determinant changes sign:
∣ a1 a2 a3 ∣ ∣ b1 b2 b3 ∣ ∣ b1 b2 b3 ∣ ∣ c1 c2 c3 ∣
∣ ∣ ∣ ∣ ∣ ∣ ∣ ∣
b1 b2 b3 =d a1 a2 a3 = −d c1 c2 c3 =d b1 b2 b3 = −d
∣ ∣ ∣ ∣ ∣ ∣ ∣ ∣
∣ c1 c2 c3 ∣ ∣ c1 c2 c3 ∣ ∣ a1 a2 a3 ∣ ∣ a1 a2 a3 ∣
Verifying this fact is straightforward, but rather messy. Let’s take a look at this with an example:
∣ 1 2 1 ∣
∣ ∣ ∣0 3 ∣ ∣ −2 3 ∣ ∣ −2 0∣
−2 0 3 =∣ ∣−2 ∣ ∣+∣ ∣
∣ ∣ ∣1 −1 ∣ ∣ 4 −1 ∣ ∣ 4 1∣
∣ 4 1 −1 ∣
= −3 + 20 − 2 = 15.
13 9/5/2021 https://math.libretexts.org/@go/page/20989
∣ −2 0 3 ∣
∣ ∣ ∣2 1 ∣ ∣1 2∣
1 2 1 = −2 ∣ ∣+3 ∣ ∣
∣ ∣ ∣1 −1 ∣ ∣4 1∣
∣ 4 1 −1 ∣
= −2(−2 − 1) + 3(1 − 8)
= 6 − 21 = −15.
Rearranging vectors in the triple products is equivalent to reordering the rows in the matrix of the determinant. Let
⇀ ^ ^ ^ ^ ^ ⇀
u = u i + u j + u k, v = v i + v j + v k,
1 2 3
^
and w = w ^i + w ^j + w k
1 2 3
^
. Applying Note, we have
⇀
1 2 3
∣ u1 u2 u3 ∣
⇀ ⇀ ⇀ ∣ ∣
u ⋅ ( v × w) = v1 v2 v3 (22)
∣ ∣
∣ w1 w2 w3 ∣
and
∣ u1 u2 u3 ∣
⇀ ⇀ ⇀ ∣ ∣
u ⋅ (w × v ) = w1 w2 w3 . (23)
∣ ∣
∣ v1 v2 v3 ∣
Following this reasoning and exploring the different ways we can interchange variables in the triple scalar product lead to the
following identities:
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
u ⋅ ( v × w) = −u ⋅ (w × v ) (24)
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
u ⋅ ( v × w) = v ⋅ (w × u ) = w ⋅ ( u × v ). (25)
Let u and v be two vectors in standard position. If u and v are not scalar multiples of each other, then these vectors form
⇀ ⇀ ⇀ ⇀
adjacent sides of a parallelogram. We saw in Note that the area of this parallelogram is ∥ u × v ∥ . Now suppose we add a third ⇀ ⇀
vector w that does not lie in the same plane as u and v but still shares the same initial point. Then these vectors form three
⇀ ⇀ ⇀
edges of a parallelepiped, a three-dimensional prism with six faces that are each parallelograms, as shown in Figure. The
volume of this prism is the product of the figure’s height and the area of its base. The triple scalar product of u , v , and w ⇀ ⇀ ⇀
provides a simple method for calculating the volume of the parallelepiped defined by these vectors.
Volume of a Parallelepiped
The volume of a parallelepiped with adjacent edges given by the vectors ⇀
u, v
⇀
, and w is the absolute value of the triple
⇀
Note that, as the name indicates, the triple scalar product produces a scalar. The volume formula just presented uses the
absolute value of a scalar quantity.
Proof
The area of the base of the parallelepiped is given by ∥ v × w∥. The height of the figure is given by ∥proj
⇀ ⇀
⇀ ⇀
v ×w
⇀
u ∥. The
volume of the parallelepiped is the product of the height and the area of the base, so we have
14 9/5/2021 https://math.libretexts.org/@go/page/20989
⇀ ⇀ ⇀
V =∥ proj ⇀ ⇀ u ∥ ∥ v × w∥
v ×w
⇀ ⇀ ⇀
u ⋅ ( v × w)
⇀ ⇀
=∣∣ ∣∣ ∥ v × w∥
⇀ ⇀
∥ v × w∥
⇀ ⇀ ⇀
= ∥ u ⋅ ( v × w)∥.
Figure 8
Solution
We have
∣ −1 −2 1 ∣
⇀ ⇀ ⇀ ∣ ∣
u ⋅ ( v × w) = 4 3 2
∣ ∣
∣ 0 −5 −2 ∣
∣ 3 2 ∣
∣4 2 ∣∣4 3 ∣
= (−1) ∣ ∣+2 ∣ ∣+∣ ∣
∣ −5 −2 ∣ ∣0 −2 ∣ ∣0 −5 ∣
= −4 − 16 − 20
= −40.
Exercise 11
⇀
Find the volume of the parallelepiped formed by the vectors ⇀ ^ ^ ^ ^ ^ ^
a = 3 i + 4 j − k, b = 2 i − j − k, and ⇀ ^ ^
c = 3 j + k.
Hint
Calculate the triple scalar product by finding a determinant.
Answer
8 units3
15 9/5/2021 https://math.libretexts.org/@go/page/20989
Applications of the Cross Product
The cross product appears in many practical applications in mathematics, physics, and engineering. Let’s examine some of
these applications here, including the idea of torque, with which we began this section. Other applications show up in later
chapters, particularly in our study of vector fields such as gravitational and electromagnetic fields (Introduction to Vector
Calculus).
∣2 0 5∣
⇀ ⇀ ⇀ ∣ ∣
u ⋅ ( v × w) = 2 2 4
∣ ∣
∣1 −1 3∣
= 2 − 2 = 0.
The volume of the parallelepiped is 0 units3, so one of the dimensions must be zero. Therefore, the three vectors all lie in
the same plane.
Exercise 12
⇀
Are the vectors ⇀ ^ ^ ^ ^ ^ ^
a = i + j − k, b = i − j + k, and ⇀ ^ ^ ^
c = i + j +k coplanar?
Hint
Calculate the triple scalar product.
Answer
No, the triple scalar product is −4 ≠ 0, so the three vectors form the adjacent edges of a parallelepiped. They are not
coplanar.
−−⇀
QR = ⟨−2 − 1, 5 − 3, 0 − 0⟩ = ⟨−3, 2, 0⟩.
16 9/5/2021 https://math.libretexts.org/@go/page/20989
∣ ^ ^ ^
i j k∣
−−⇀ −−⇀ ∣ ∣
P Q × QR = ∣ −8 6 2 ∣
∣ ∣
∣ −3 2 0 ∣
^ ^ ^ ^ ^ ^
= 0 i − 6 j − 16 k − (−18 k + 4 i + 0 j )
^ ^ ^
= −4 i − 6 j + 2 k.
We have seen how to use the triple scalar product and how to find a vector orthogonal to a plane. Now we apply the cross
product to real-world situations.
Sometimes a force causes an object to rotate. For example, turning a screwdriver or a wrench creates this kind of rotational
effect, called torque.
Definition: Torque
Torque, τ (the Greek letter tau), measures the tendency of a force to produce rotation about an axis of rotation. Let r be
⇀ ⇀
a vector with an initial point located on the axis of rotation and with a terminal point located at the point where the force
⇀
is applied, and let vector F represent the force. Then torque is equal to the cross product of r and F :
⇀
⇀ ⇀
τ = r × F. (27)
See Figure 9.
Think about using a wrench to tighten a bolt. The torque τ applied to the bolt depends on how hard we push the wrench (force)
and how far up the handle we apply the force (distance). The torque increases with a greater force on the wrench at a greater
distance from the bolt. Common units of torque are the newton-meter or foot-pound. Although torque is dimensionally
equivalent to work (it has the same units), the two concepts are distinct. Torque is used specifically in the context of rotation,
whereas work typically involves motion along a line.
17 9/5/2021 https://math.libretexts.org/@go/page/20989
Solution:
Substitute the given information into the equation defining torque:
⇀
⇀ ⇀
∥ τ ∥ = ∥ r × F∥
⇀
⇀
= ∥ r ∥ ∥ F ∥ sin θ
≈ 0.58 N⋅m.
Exercise 14
Calculate the force required to produce 15 N⋅m torque at an angle of 30º from a 150-cm rod.
Hint
⇀
∥ τ ∥ = 15 N⋅m and ∥ r ∥ = 1.5 m
⇀
Answer
20 N
Key Concepts
The cross product u × v of two vectors u = ⟨u , u , u ⟩ and v = ⟨v , v , v ⟩ is a vector orthogonal to both u and v . Its
⇀ ⇀ ⇀
1 2 3
⇀
1 2 3
⇀ ⇀
length is given by ∥ u × v ∥ = ∥ u ∥ ⋅ ∥ v ∥ ⋅ sin θ, where θ is the angle between u and v . Its direction is given by the right-
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
hand rule.
The algebraic formula for calculating the cross product of two vectors,
⇀
u = ⟨u1 , u2 , u3 ⟩ and ⇀
v = ⟨v1 , v2 , v3 ⟩ , is
⇀ ⇀ ^ ^ ^
u × v = (u2 v3 − u3 v2 ) i − (u1 v3 − u3 v1 ) j + (u1 v2 − u2 v1 )k.
The cross product satisfies the following properties for vectors u , v , and w, and scalar c : ⇀ ⇀ ⇀
⇀ ⇀ ⇀ ⇀
u × v = −( v × u )
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
u × ( v + w) = u × v + u × w
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
c( u × v ) = (c u ) × v = u × (c v )
⇀ ⇀ ⇀
⇀ ⇀
u×0 = 0 ×u = 0
⇀ ⇀ ⇀
v ×v = 0
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
u ⋅ ( v × w) = ( u × v ) ⋅ w
∣ ^
i
^
j
^
k ∣
∣ ∣
The cross product of vectors u = ⟨u ⇀
1, u2 , u3 ⟩ and ⇀
v = ⟨v1 , v2 , v3 ⟩ is the determinant ∣ u 1 u2 u3 ∣
∣ ∣
∣ v1 v2 v3 ∣
If vectors u and v form adjacent sides of a parallelogram, then the area of the parallelogram is given by ∥ u × v ∥.
⇀ ⇀ ⇀ ⇀
The volume of a parallelepiped with adjacent edges given by vectors u , v , and w is V = | u ⋅ ( v × w)|. ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
If the triple scalar product of vectors u , v , and w is zero, then the vectors are coplanar. The converse is also true: If the
⇀ ⇀ ⇀
⇀ ⇀
(displacement) r from the axis, then torque is equal to the cross product of r and F : τ = r × F.
⇀ ⇀ ⇀ ⇀
18 9/5/2021 https://math.libretexts.org/@go/page/20989
Key Equations
The cross product of two vectors in terms of the unit vectors
⇀ ⇀ ^ ^ ^
u × v = (u2 v3 − u3 v2 ) i − (u1 v3 − u3 v1 ) j + (u1 v2 − u2 v1 )k (28)
Glossary
cross product
⇀ ⇀ ^ ^ ^
u × v = (u2 v3 − u3 v2 ) i − (u1 v3 − u3 v1 ) j + (u1 v2 − u2 v1 )k, where u = ⟨u
⇀
1, u2 , u3 ⟩ and ⇀
v = ⟨v1 , v2 , v3 ⟩
determinant
a real number associated with a square matrix
parallelepiped
a three-dimensional prism with six faces that are parallelograms
torque
the effect of a force that causes an object to rotate
triple scalar product
the dot product of a vector with the cross product of two other vectors: u ⋅ ( v × w)
⇀ ⇀ ⇀
vector product
the cross product of two vectors
19 9/5/2021 https://math.libretexts.org/@go/page/20989
The Dot Product
Learning Objectives
Calculate the dot product of two given vectors.
Determine whether two given vectors are perpendicular.
Find the direction cosines of a given vector.
Explain what is meant by the vector projection of one vector onto another vector, and describe how to compute it.
Calculate the work done by a given force.
If we apply a force to an object so that the object moves, we say that work is done by the force. Previously, we looked at a
constant force and we assumed the force was applied in the direction of motion of the object. Under those conditions, work
can be expressed as the product of the force acting on an object and the distance the object moves. In this chapter, however, we
have seen that both force and the motion of an object can be represented by vectors.
In this section, we develop an operation called the dot product, which allows us to calculate work in the case when the force
vector and the motion vector have different directions. The dot product essentially tells us how much of the force vector is
applied in the direction of the motion vector. The dot product can also help us measure the angle formed by a pair of vectors
and the position of a vector relative to the coordinate axes. It even provides a simple test to determine whether two vectors
meet at a right angle.
Note that if u and v are two-dimensional vectors, we calculate the dot product in a similar fashion. Thus, if ⇀
u = ⟨u1 , u2 ⟩ and
v = ⟨v , v ⟩, then
⇀
1 2
⇀ ⇀
u ⋅ v = u1 v1 + u2 v2 . (2)
When two vectors are combined under addition or subtraction, the result is a vector. When two vectors are combined using the
dot product, the result is a scalar. For this reason, the dot product is often called the scalar product. It may also be called the
inner product.
Solution:
a. Substitute the vector components into the formula for the dot product:
⇀ ⇀
u⋅ v = u1 v1 + u2 v2 + u3 v3
= −3 + 15 + 0
= 12.
1 9/5/2021 https://math.libretexts.org/@go/page/20987
b. The calculation is the same if the vectors are written using standard unit vectors. We still have three components for
each vector to substitute into the formula for the dot product:
⇀ ⇀
p⋅ q = u1 v1 + u2 v2 + u3 v3
= −20 − 4 + 42
= 18.
Exercise 1
Find u ⋅ v , where u = ⟨2, 9, −1⟩ and
⇀ ⇀ ⇀ ⇀
v = ⟨−3, 1, −4⟩.
Hint
Multiply corresponding components and then add their products.
Answer
7
Like vector addition and subtraction, the dot product has several algebraic properties. We prove three of these properties and
leave the rest as exercises.
i. Commutative property
⇀ ⇀ ⇀ ⇀
u⋅ v = v ⋅ u (3)
Proof
Let u = ⟨u
⇀
1, u2 , u3 ⟩ and ⇀
v = ⟨v1 , v2 , v3 ⟩. Then
⇀ ⇀
u⋅ v = ⟨u1 , u2 , u3 ⟩ ⋅ ⟨v1 , v2 , v3 ⟩
= u1 v1 + u2 v2 + u3 v3
= v1 u1 + v2 u2 + v3 u3
= ⟨v1 , v2 , v3 ⟩ ⋅ ⟨u1 , u2 , u3 ⟩
⇀ ⇀
= v ⋅ u.
The associative property looks like the associative property for real-number multiplication, but pay close attention to the
difference between scalar and vector objects:
2 9/5/2021 https://math.libretexts.org/@go/page/20987
⇀ ⇀
c( u ⋅ v ) = c(u1 v1 + u2 v2 + u3 v3 )
= ⟨c u1 , c u2 , c u3 ⟩ ⋅ ⟨v1 , v2 , v3 ⟩
= c⟨u1 , u2 , u3 ⟩ ⋅ ⟨v1 , v2 , v3 ⟩
⇀ ⇀
= (c u ) ⋅ v .
The fourth property shows the relationship between the magnitude of a vector and its dot product with itself:
⇀ ⇀
v ⋅ v = ⟨v1 , v2 , v3 ⟩ ⋅ ⟨v1 , v2 , v3 ⟩
2 2 2
= (v1 ) + (v2 ) + (v3 )
−−−−−−−−−−−−−−−− 2
2 2 2
= [√ (v1 ) + (v2 ) + (v3 ) ]
⇀ 2
= ∥ v∥ .
⇀ ⇀
Note that by property iv. we have ⇀
0 ⋅ v = 0. Also by property iv. if ⇀ ⇀
v ⋅ v = 0, then ⇀
v = 0.
b. a ⋅ (2 c )
⇀ ⇀
⇀
c. ∥ b ∥ 2
Solution
⇀
a. Note that this expression asks for the scalar multiple of ⇀
c by ⇀
a ⋅ b :
⇀
⇀ ⇀
( a ⋅ b) c = (⟨1, 2, −3⟩ ⋅ ⟨0, 2, 4⟩)⟨5, −1, 3⟩
= −8⟨5, −1, 3⟩
= ⟨−40, 8, −24⟩.
⇀ ⇀ ⇀ ⇀
a ⋅ (2 c ) = 2( a ⋅ c )
= 2(−6) = −12.
3 9/5/2021 https://math.libretexts.org/@go/page/20987
⇀ ⇀ ⇀
2
∥ b∥ = b⋅ b
= ⟨0, 2, 4⟩ ⋅ ⟨0, 2, 4⟩
2 2 2
=0 +2 +4
= 0 + 4 + 16
= 20.
Exercise 2
Find the following products for p = ⟨7, 0, 2⟩, q
⇀ ⇀
= ⟨−2, 2, −2⟩ , and ⇀
r = ⟨0, 2, −3⟩ .
a. ( r ⋅ p ) q
⇀ ⇀ ⇀
b. ∥ p ∥
⇀ 2
Hint
⇀
r ⋅ p
⇀
is a scalar.
Answer
⇀ ⇀ ⇀ ⇀ 2
a. ( r ⋅ p ) q = ⟨12, −12, 12⟩; b. ∥ p∥ = 53
Using the Dot Product to Find the Angle between Two Vectors
When two nonzero vectors are placed in standard position, whether in two dimensions or three dimensions, they form an angle
between them (Figure 1). The dot product provides a way to find the measure of this angle. This property is a result of the fact
that we can express the dot product in terms of the cosine of the angle formed by two vectors.
Proof
Place vectors u and v in standard position and consider the vector
⇀ ⇀ ⇀
v −u
⇀
(Figure 2). These three vectors form a triangle
with side lengths ∥ u ∥, ∥ v ∥, and ∥ v − u ∥ .
⇀ ⇀ ⇀ ⇀
Figure 2: The lengths of the sides of the triangle are given by the magnitudes of the vectors that form the triangle.
Recall from trigonometry that the law of cosines describes the relationship among the side lengths of the triangle and the angle
θ . Applying the law of cosines here gives
4 9/5/2021 https://math.libretexts.org/@go/page/20987
⇀ ⇀ 2 ⇀ 2 ⇀ 2 ⇀ ⇀
∥ v − u∥ = ∥ u∥ + ∥ v∥ − 2∥ u ∥∥ v ∥ cos θ. (8)
The dot product provides a way to rewrite the left side of Equation 8:
⇀ ⇀ 2 ⇀ ⇀ ⇀ ⇀
∥ v − u∥ = (v − u) ⋅ (v − u)
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
= (v − u) ⋅ v − (v − u) ⋅ u
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
= v ⋅ v −u⋅ v −v ⋅ u+u⋅ u
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
= v ⋅ v −u⋅ v −u⋅ v +u⋅ u
⇀ 2 ⇀ ⇀ ⇀ 2
= ∥ v∥ − 2 u ⋅ v + ∥ u∥ .
⇀ 2 ⇀ ⇀ ⇀ 2 ⇀ 2 ⇀ 2 ⇀ ⇀
∥ v∥ − 2 u ⋅ v + ∥ u∥ = ∥ u∥ + ∥ v∥ − 2∥ u ∥∥ v ∥ cos θ
⇀ ⇀ ⇀ ⇀
−2 u ⋅ v = −2∥ u ∥∥ v ∥ cos θ
⇀ ⇀ ⇀ ⇀
u ⋅ v = ∥ u ∥∥ v ∥ cos θ.
□
We can use the form of the dot product in Equation 7 to find the measure of the angle between two nonzero vectors by
rearranging Equation 7 to solve for the cosine of the angle:
⇀ ⇀
u⋅ v
cos θ = . (9)
⇀ ⇀
∥ u ∥∥ v ∥
Using this equation, we can find the cosine of the angle between two nonzero vectors. Since we are considering the smallest
angle between the vectors, we assume 0° ≤ θ ≤ 180° (or 0 ≤ θ ≤ π if we are working in radians). The inverse cosine is
unique over this range, so we are then able to determine the measure of the angle θ .
−2 −2
= = .
– −− −−
√3√14 √42
−2
Therefore, θ = arccos −− rad.
√42
b. Start by finding the value of the cosine of the angle between the vectors:
5 9/5/2021 https://math.libretexts.org/@go/page/20987
⟨2, 5, 6⟩ ⋅ ⟨−2, −4, 4⟩
cos θ =
∥⟨2, 5, 6⟩ ∥ ⋅ ∥ ⟨−2, −4, 4⟩∥
0
= = 0.
−− −−
√65√36
Exercise 3
⇀
Find the measure of the angle, in radians, formed by vectors ⇀
a = ⟨1, 2, 0⟩ and b = ⟨2, 4, 1⟩ . Round to the nearest
hundredth.
Hint
Use the Equation 9.
Answer
θ ≈ 0.22 rad
The angle between two vectors can be acute (0 < cos θ < 1), obtuse (−1 < cos θ < 0) , or straight (cos θ = −1) . If
cos θ = 1 , then both vectors have the same direction. If cos θ = 0 , then the vectors, when placed in standard position, form a
right angle (Figure 3). We can formalize this result into a theorem regarding orthogonal (perpendicular) vectors.
Figure 3: (a) An acute angle has 0 < cos θ < 1 . (b) An obtuse angle has −1 < cos θ < 0. (c) A straight line has cos θ = −1 .
(d) If the vectors have the same direction, cos θ = 1 . (e) If the vectors are orthogonal (perpendicular), cos θ = 0.
Orthogonal Vectors
The nonzero vectors u and
⇀ ⇀
v are orthogonal vectors if and only if u ⋅ v = 0.
⇀ ⇀
Proof
Let u and
⇀ ⇀
v be nonzero vectors, and let θ denote the angle between them. First, assume u ⋅ v = 0. Then
⇀ ⇀
6 9/5/2021 https://math.libretexts.org/@go/page/20987
⇀ ⇀
∥ u ∥∥ v ∥ cos θ = 0. (10)
However, ∥ u ∥ ≠ 0 and ∥ v ∥ ≠ 0, so we must have cos θ = 0 . Hence, θ = 90° , and the vectors are orthogonal.
⇀ ⇀
⇀ ⇀
= ∥ u ∥∥ v ∥ cos 90°
⇀ ⇀
= ∥ u ∥∥ v ∥(0)
= 0.
The terms orthogonal, perpendicular, and normal each indicate that mathematical objects are intersecting at right angles.
The use of each term is determined mainly by its context. We say that vectors are orthogonal and lines are perpendicular. The
term normal is used most often when measuring the angle made with a plane or other surface.
Because p ⋅ q
⇀ ⇀
= 0, the vectors are orthogonal (Figure 4).
Figure 4: Vectors p and q form a right angle when their initial points are aligned.
⇀ ⇀
Exercise 4
For which value of x is p = ⟨2, 8, −1⟩ orthogonal to q
⇀ ⇀
= ⟨x, −1, 2⟩ ?
Hint
Vectors p and q are orthogonal if and only if p ⋅ q
⇀ ⇀ ⇀ ⇀
=0 .
Answer
x =5
7 9/5/2021 https://math.libretexts.org/@go/page/20987
Example 5 : Measuring the Angle Formed by Two Vectors
Let ⇀
v = ⟨2, 3, 3⟩. Find the measures of the angles formed by the following vectors.
a. v and ^i
⇀
b. v and ^j
⇀
c. v and k
⇀ ^
Solution
2
α = arccos ≈ 1.130 rad.
−−
√22
⇀ ^
v ⋅ j ⟨2, 3, 3⟩ ⋅ ⟨0, 1, 0⟩ 3
cos β = = =
− −−−−− −−−− – −−
⇀ ^ 2 2 2
√ 2 + 3 + 3 √1 √22
∥ v∥ ⋅ ∥ j ∥
3
β = arccos −− ≈ 0.877 rad.
√22
3
γ = arccos −− ≈ 0.877 rad.
√22
Exercise 5
Let ⇀
v = ⟨3, −5, 1⟩. Find the measure of the angles formed by each pair of vectors.
a. v and ^i
⇀
b. v and ^j
⇀
c. v and k
⇀ ^
Hint
^ ^
i = ⟨1, 0, 0⟩, j = ⟨0, 1, 0⟩, and k
^
= ⟨0, 0, 1⟩
Answer
a. α ≈ 1.04 rad; b. β ≈ 2.58 rad; c. γ ≈ 1.40 rad
The angle a vector makes with each of the coordinate axes, called a direction angle, is very important in practical
computations, especially in a field such as engineering. For example, in astronautical engineering, the angle at which a rocket
is launched must be determined very precisely. A very small error in the angle can lead to the rocket going hundreds of miles
off course. Direction angles are often calculated by using the dot product and the cosines of the angles, called the direction
cosines. Therefore, we define both these angles and their cosines.
8 9/5/2021 https://math.libretexts.org/@go/page/20987
The angles formed by a nonzero vector and the coordinate axes are called the direction angles for the vector (Figure 5).
The cosines for these angles are called the direction cosines.
2 3 3
In Example, the direction cosines of ⇀
v = ⟨2, 3, 3⟩ are cos α = −− , cos β = −−, and cos γ = −− . The direction angles
√22 √22 √22
So far, we have focused mainly on vectors related to force, movement, and position in three-dimensional physical space.
However, vectors are often used in more abstract ways. For example, suppose a fruit vendor sells apples, bananas, and
oranges. On a given day, he sells 30 apples, 12 bananas, and 18 oranges. He might use a quantity vector, q = ⟨30, 12, 18⟩, to
⇀
represent the quantity of fruit he sold that day. Similarly, he might want to use a price vector, p = ⟨0.50, 0.25, 1⟩, to indicate
⇀
that he sells his apples for 50¢ each, bananas for 25¢ each, and oranges for $1 apiece. In this example, although we could still
graph these vectors, we do not interpret them as literal representations of position in the physical world. We are simply using
vectors to keep track of particular pieces of information about apples, bananas, and oranges.
This idea might seem a little strange, but if we simply regard vectors as a way to order and store data, we find they can be
quite a powerful tool. Going back to the fruit vendor, let’s think about the dot product, q ⋅ p . We compute it by multiplying
⇀ ⇀
the number of apples sold (30) by the price per apple (50¢), the number of bananas sold by the price per banana, and the
number of oranges sold by the price per orange. We then add all these values together. So, in this example, the dot product tells
us how much money the fruit vendor had in sales on that particular day.
When we use vectors in this more general way, there is no reason to limit the number of components to three. What if the fruit
vendor decides to start selling grapefruit? In that case, he would want to use four-dimensional quantity and price vectors to
represent the number of apples, bananas, oranges, and grapefruit sold, and their unit prices. As you might expect, to calculate
the dot product of four-dimensional vectors, we simply add the products of the components as before, but the sum has four
terms instead of three.
9 9/5/2021 https://math.libretexts.org/@go/page/20987
⇀
c = ⟨0.25, 0.25, 0.50, 0.20⟩
⇀
p = ⟨2.50, 1.50, 4.50, 1.25⟩
⇀
q = ⟨1258, 342, 2426, 1354⟩.
AAA sales for the month of May can be calculated using the dot product p ⋅ q . We have
⇀ ⇀
⇀ ⇀
p⋅ q = ⟨2.50, 1.50, 4.50, 1.25⟩ ⋅ ⟨1258, 342, 2426, 1354⟩
= 16267.5.
So, AAA took in $16,267.50 during the month of May. To calculate the profit, we must first calculate how much AAA
paid for the items sold. We use the dot product c ⋅ q to get
⇀ ⇀
c ⋅ q = ⟨0.25, 0.25, 0.50, 0.20⟩ ⋅ ⟨1258, 342, 2426, 1354⟩
= 1883.8.
So, AAA paid $1,883.30 for the items they sold. Their profit, then, is given by
⇀ ⇀ ⇀ ⇀
p ⋅ q − c ⋅ q = 16267.5 − 1883.8 = 14383.7.
Exercise 6
On June 1, AAA Party Supply Store decided to increase the price they charge for party favors to $2 per package. They
also changed suppliers for their invitations, and are now able to purchase invitations for only 10¢ per package. All their
other costs and prices remain the same. If AAA sells 1408 invitations, 147 party favors, 2112 decorations, and 1894 food
service items in the month of June, use vectors and dot products to calculate their total sales and profit for June.
Hint
Use four-dimensional vectors for cost, price, and quantity sold.
Answer
Sales = $15,685.50; profit = $14,073.15
Projections
As we have seen, addition combines two vectors to create a resultant vector. But what if we are given a vector and we need to
find its component parts? We use vector projections to perform the opposite process; they can break down a vector into its
components. The magnitude of a vector projection is a scalar projection. For example, if a child is pulling the handle of a
wagon at a 55° angle, we can use projections to determine how much of the force on the handle is actually moving the wagon
forward (6). We return to this example and learn how to solve it after we see how to calculate projections.
Figure 6: When a child pulls a wagon, only the horizontal component of the force propels the wagon forward.
10 9/5/2021 https://math.libretexts.org/@go/page/20987
The vector projection of v onto u is the vector labeled proj v in Figure 7. It has the same initial point as u and v and
⇀ ⇀
⇀
u
⇀ ⇀ ⇀
the same direction as u , and represents the component of v that acts in the direction of u . If θ represents the angle
⇀ ⇀ ⇀
between u and v , then, by properties of triangles, we know the length of proj v is ∥proj v ∥ = ∥ v ∥ cos θ. When
⇀ ⇀
⇀
u
⇀
⇀
u
⇀ ⇀
⇀ ⇀
⇀ ⇀
u⋅ v
∥ proj ⇀ v ∥ = comp⇀ v = (13)
u u ⇀
∥ u ∥.
Figure 7: The projection of onto u shows the component of vector in the direction of u .
⇀ ⇀ ⇀ ⇀
v v
Solution
a. Substitute the components of ⇀
v and u into the formula for the projection:
⇀
⇀ ⇀
u⋅ v
⇀ ⇀
proj ⇀ v = u
u 2
⇀
∥ u∥
⟨−1, 4, 3⟩ ⋅ ⟨3, 5, 1⟩
= ⟨−1, 4, 3⟩
2
∥⟨−1, 4, 3⟩∥
−3 + 20 + 3
= ⟨−1, 4, 3⟩
2 2 2
(−1 ) +4 +3
20
= ⟨−1, 4, 3⟩
26
10 40 30
= ⟨− , , ⟩.
13 13 13
b. To find the two-dimensional projection, simply adapt the formula to the two-dimensional case:
11 9/5/2021 https://math.libretexts.org/@go/page/20987
⇀ ⇀
u⋅ v
⇀ ⇀
proj ⇀ v = u
u 2
⇀
∥ u∥
^ ^
( i + 6 j ) ⋅ (3i − 2j)
= (i + 6j)
2
∥^ ^∥
∥i +6j∥
1(3) + 6(−2)
^ ^
= (i +6j)
2 2
1 +6
9
^ ^
=− (i +6j)
37
9 54
^ ^
=− i − j.
37 37
Sometimes it is useful to decompose vectors—that is, to break a vector apart into a sum. This process is called the resolution
of a vector into components. Projections allow us to identify two orthogonal vectors having a desired sum. For example, let
v = ⟨6, −4⟩ and let u = ⟨3, 1⟩. We want to decompose the vector v into orthogonal components such that one of the
⇀ ⇀ ⇀
We first find the component that has the same direction as u by projecting ⇀ ⇀
v onto u . Let p = proj
⇀ ⇀
⇀
u
⇀
v . Then, we have
⇀ ⇀
⇀
u⋅ v ⇀
p = u
⇀ 2
∥ u∥
18 − 4 ⇀
= u
9 +1
7 7 21 7
⇀
= u = ⟨3, 1⟩ = ⟨ , ⟩.
5 5 5 5
21 7
= ⟨6, −4⟩ − ⟨ , ⟩
5 5
9 27
=⟨ ,− ⟩.
5 5
9 27 21 7
⇀ ⇀
q ⋅ p =⟨ ,− ⟩⋅⟨ , ⟩
5 5 5 5
9(21) 27(7)
= +−
25 25
189 189
= − = 0.
25 25
Solution
Let p represent the projection of
⇀ ⇀
v onto u :
⇀
12 9/5/2021 https://math.libretexts.org/@go/page/20987
⇀ ⇀
p = proj ⇀ v
u
⇀ ⇀
u⋅ v
⇀
= u
⇀ 2
∥ u∥
16 − 9 − 6
= ⟨2, 3, 2⟩
2 2 2
2 +3 +2
1
= ⟨2, 3, 2⟩
17
2 3 2
=⟨ , , ⟩.
17 17 17
Then,
2 3 2
⇀ ⇀ ⇀
q = v − p = ⟨8, −3, −3⟩ − ⟨ , , ⟩
17 17 17
134 54 53
=⟨ ,− ,− ⟩.
17 17 17
To check our work, we can use the dot product to verify that p and q are orthogonal vectors: ⇀ ⇀
⇀ ⇀
2 3 2 134 54 53
p⋅ q =⟨ , , ⟩⋅⟨ ,− ,− ⟩
17 17 17 17 17 17
Then,
2 3 2 134 54 53
⇀ ⇀ ⇀
v = p+q =⟨ , , ⟩+⟨ ,− ,− ⟩.
17 17 17 17 17 17
Exercise 7
Express ⇀ ^ ^
v =5i − j as a sum of orthogonal vectors such that one of the vectors has the same direction as u = 4^i + 2^j . ⇀
Hint
Start by finding the projection of ⇀
v onto u . ⇀
Answer
18 9 7 14
⇀ ⇀
v = p + q,
⇀
where p =
⇀ ^
i +
^
j and q ⇀
=
^
i −
^
j
5 5 5 5
13 9/5/2021 https://math.libretexts.org/@go/page/20987
Solution
Let ⇀
vbe the velocity vector generated by the engine, and let w be the velocity vector of the current. We already know
∥ v ∥ = 20 along the desired route. We just need to add in the scalar projection of w onto v . We get
⇀ ⇀ ⇀
⇀ ⇀
v ⋅w
⇀
comp⇀ w =
v ⇀
∥ v∥
⇀ ⇀ –
∥ v ∥∥ w∥ cos(30°) √3 –
⇀
= = ∥ w∥ cos(30°) = 2 = √3 ≈ 1.73 knots.
⇀
∥ v∥ 2
The ship is moving at 21.73 knots in the direction 15° north of east.
Exercise 8
Repeat the previous example, but assume the ocean current is moving southeast instead of northeast, as shown in the
following figure.
Hint
Compute the scalar projection of w onto
⇀ ⇀
v .
Answer
21 knots
Work
Now that we understand dot products, we can see how to apply them to real-life situations. The most common application of
the dot product of two vectors is in the calculation of work.
14 9/5/2021 https://math.libretexts.org/@go/page/20987
From physics, we know that work is done when an object is moved by a force. When the force is constant and applied in the
same direction the object moves, then we define the work done as the product of the force and the distance the object travels:
W = F d . We saw several examples of this type in earlier chapters. Now imagine the direction of the force is different from
the direction of motion, as with the example of a child pulling a wagon. To find the work done, we need to multiply the
component of the force that acts in the direction of the motion by the magnitude of the displacement. The dot product allows
⇀
us to do just that. If we represent an applied force by a vector F and the displacement of an object by a vector s , then the ⇀
⇀
work done by the force is the dot product of F and ⇀
s .
Let’s revisit the problem of the child’s wagon introduced earlier. Suppose a child is pulling a wagon with a force having a
magnitude of 8 lb on the handle at an angle of 55°. If the child pulls the wagon 50 ft, find the work done by the force (Figure
8 ).
⇀
Figure 8: The horizontal component of the force is the projection of F onto the positive x -axis.
We have
⇀ −−⇀
W =∥ F ∥∥ P Q ∥ cos θ = 8(50)(cos(55°)) ≈ 229 ft⋅lb.
⇀
∥ −−⇀ ∥
In U.S. standard units, we measure the magnitude of force ∥F∥
∥ ∥
in pounds. The magnitude of the displacement vector ∥
PQ
∥
tells us how far the object moved, and it is measured in feet. The customary unit of measure for work, then, is the foot-pound.
One foot-pound is the amount of work required to move an object weighing 1 lb a distance of 1 ft straight up. In the metric
system, the unit of measure for force is the newton (N), and the unit of measure of magnitude for work is a newton-meter
(N·m), or a joule (J).
15 9/5/2021 https://math.libretexts.org/@go/page/20987
⇀ −−⇀
W = F⋅PQ
^ ^ ^ ^ ^ ^
= (5 i − 3 j + k) ⋅ (8 i + 3 j + 6 k)
= 37 N⋅m
= 37 J
Exercise 9
A constant force of 30 lb is applied at an angle of 60° to pull a handcart 10 ft across the ground. What is the work done by
this force?
Hint
Use the definition of work as the dot product of force and distance.
Answer
150 ft-lb
Key Concepts
The dot product, or scalar product, of two vectors u = ⟨u ⇀
1, u2 , u3 ⟩ and ⇀
v = ⟨v1 , v2 , v3 ⟩ is u ⋅ v = u
⇀ ⇀
1 v1 + u2 v2 + u3 v3 .
The dot product satisfies the following properties:
⇀ ⇀ ⇀ ⇀
u⋅ v = v ⋅ u
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
u ⋅ ( v + w) = u ⋅ v + u ⋅ w
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
c( u ⋅ v ) = (c u ) ⋅ v = u ⋅ (c v )
⇀ ⇀ ⇀ 2
v ⋅ v = ∥ v∥
The dot product of two vectors can be expressed, alternatively, as u ⋅ v = ∥ u ∥∥ v ∥ cos θ. This form of the dot product is
⇀ ⇀ ⇀ ⇀
useful for finding the measure of the angle formed by two vectors.
Vectors u and v are orthogonal if u ⋅ v = 0 .
⇀ ⇀ ⇀ ⇀
The angles formed by a nonzero vector and the coordinate axes are called the direction angles for the vector. The cosines
of these angles are known as the direction cosines.
⇀ ⇀
u⋅ v
The vector projection of ⇀
v onto u is the vector proj
⇀
⇀
u
⇀
v =
2
⇀
u . The magnitude of this vector is known as the scalar
⇀
∥ u∥
⇀ ⇀
u⋅ v
projection of ⇀
v onto u , given by comp
⇀
⇀
u
⇀
v =
⇀
.
∥ u∥
⇀
Work is done when a force is applied to an object, causing displacement. When the force is represented by the vector F and
the displacement is represented by the vector s , then the work done W is given by the formula
⇀
⇀ ⇀
⇀ ⇀
W = F ⋅ s =∥ F ∥ ∥ s ∥ cos θ.
16 9/5/2021 https://math.libretexts.org/@go/page/20987
Key Equations
Dot product of u and v ⇀ ⇀
⇀ ⇀ ⇀ ⇀
u ⋅ v = u1 v1 + u2 v2 + u3 v3 = ∥ u ∥∥ v ∥ cos θ
⇀ ⇀
u⋅ v
cos θ =
⇀ ⇀
∥ u ∥∥ v ∥
Vector projection of ⇀
v onto u⇀
⇀ ⇀
u⋅ v
⇀ ⇀
proj ⇀ v = u
u 2
⇀
∥ u∥
Scalar projection of ⇀
v onto u⇀
⇀ ⇀
⇀
u⋅ v
comp⇀ v =
u ⇀
∥ u∥
⇀ −−⇀
Work done by a force F to move an object through displacement vector P Q
⇀ −−⇀ ⇀ −−⇀
W = F ⋅ P Q =∥ F ∥∥ P Q ∥ cos θ
Glossary
direction angles
the angles formed by a nonzero vector and the coordinate axes
direction cosines
the cosines of the angles formed by a nonzero vector and the coordinate axes
scalar projection
the magnitude of the vector projection of a vector
orthogonal vectors
vectors that form a right angle when placed in standard position
vector projection
the component of a vector that follows a given direction
17 9/5/2021 https://math.libretexts.org/@go/page/20987
Vectors in Space
Learning Objectives
Describe three-dimensional space mathematically.
Locate points in space using coordinates.
Write the distance formula in three dimensions.
Write the equations for simple planes and spheres.
Perform vector operations in R . 3
Vectors are useful tools for solving two-dimensional problems. Life, however, happens in three dimensions. To expand the use
of vectors to more realistic applications, it is necessary to create a framework for describing three-dimensional space. For
example, although a two-dimensional map is a useful tool for navigating from one place to another, in some cases the
topography of the land is important. Does your planned route go through the mountains? Do you have to cross a river? To
appreciate fully the impact of these geographic features, you must use three dimensions. This section presents a natural
extension of the two-dimensional Cartesian coordinate plane into three dimensions.
denoted by R .3
In Figure 1a, the positive z -axis is shown above the plane containing the x- and y -axes. The positive x-axis appears to the left
and the positive y -axis is to the right. A natural question to ask is: How was this arrangement determined? The system
displayed follows the right-hand rule. If we take our right hand and align the fingers with the positive x-axis, then curl the
fingers so they point in the direction of the positive y -axis, our thumb points in the direction of the positive z -axis (Figure 1b).
In this text, we always work with coordinate systems set up in accordance with the right-hand rule. Some systems do follow a
left-hand rule, but the right-hand rule is considered the standard representation.
Figure 1: (a) We can extend the two-dimensional rectangular coordinate system by adding a third axis, the z -axis, that is
perpendicular to both the x -axis and the y -axis. (b) The right-hand rule is used to determine the placement of the coordinate
axes in the standard Cartesian plane.
1 9/5/2021 https://math.libretexts.org/@go/page/20985
In two dimensions, we describe a point in the plane with the coordinates (x, y). Each coordinate describes how the point aligns
with the corresponding axis. In three dimensions, a new coordinate, z , is appended to indicate alignment with the z -axis:
(x, y, z). A point in space is identified by all three coordinates (Figure 2 ). To plot the point (x, y, z), go x units along the x-
axis, then y units in the direction of the y -axis, then z units in the direction of the z -axis.
Figure 2: To plot the point (x, y, z) go x units along the x -axis, then y units in the direction of the y -axis, then z units in the
direction of the z -axis.
(Figure).
Exercise 1
Sketch the point (−2, 3, −1) in three-dimensional space.
Hint
Start by sketching the coordinate axes. e.g., Figure 3. Then sketch a rectangular prism to help find the point in space.
Answer
2 9/5/2021 https://math.libretexts.org/@go/page/20985
In two-dimensional space, the coordinate plane is defined by a pair of perpendicular axes. These axes allow us to name any
location within the plane. In three dimensions, we define coordinate planes by the coordinate axes, just as in two dimensions.
There are three axes now, so there are three intersecting pairs of axes. Each pair of axes forms a coordinate plane: the xy-
plane, the xz-plane, and the yz-plane (Figure 3). We define the xy-plane formally as the following set: {(x, y, 0) : x, y ∈ R}.
Similarly, the xz-plane and the yz-plane are defined as {(x, 0, z) : x, z ∈ R} and {(0, y, z) : y, z ∈ R}, respectively.
To visualize this, imagine you’re building a house and are standing in a room with only two of the four walls finished.
(Assume the two finished walls are adjacent to each other.) If you stand with your back to the corner where the two finished
walls meet, facing out into the room, the floor is the xy-plane, the wall to your right is the xz-plane, and the wall to your left is
the yz-plane.
Figure 3: The plane containing the x - and y -axes is called the xy-plane. The plane containing the x - and z -axes is called the
xz -plane, and the y - and z -axes define the yz-plane.
In two dimensions, the coordinate axes partition the plane into four quadrants. Similarly, the coordinate planes divide space
between them into eight regions about the origin, called octants. The octants fill R in the same way that quadrants fill R , as
3 2
shown in Figure 4.
3 9/5/2021 https://math.libretexts.org/@go/page/20985
Figure 4: Points that lie in octants have three nonzero coordinates.
Most work in three-dimensional space is a comfortable extension of the corresponding concepts in two dimensions. In this
section, we use our knowledge of circles to describe spheres, then we expand our understanding of vectors to three
dimensions. To accomplish these goals, we begin by adapting the distance formula to three-dimensional space.
If two points lie in the same coordinate plane, then it is straightforward to calculate the distance between them. We know that
the distance d between two points (x , y ) and (x , y ) in the xy -coordinate plane is given by the formula
1 1 2 2
−−−−−−−−−−−−−−−−−−
2 2
d = √ (x2 − x1 ) + (y2 − y1 ) . (1)
The formula for the distance between two points in space is a natural extension of this formula.
The proof of this theorem is left as an exercise. (Hint: First find the distance d1 between the points (x1 , y1 , z1 ) and
(x , y , z ) as shown in Figure 5 .)
2 2 1
Figure 5: The distance between P and P is the length of the diagonal of the rectangular prism having P and P as opposite
1 2 1 2
corners.
4 9/5/2021 https://math.libretexts.org/@go/page/20985
Figure 6: Find the distance between the two points.
Solution
Substitute values directly into the distance formula (Equation 2):
−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2 2
d(P1 , P2 ) = √ (x2 − x1 ) + (y2 − y1 ) + (z2 − z1 )
−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2 2
= √ (2 − 3 ) + (1 − (−1)) + (−1 − 5 )
−−−−−−−−−−−−−−−
2 2 2
= √ (−1 ) +2 + (−6 )
−−
= √41.
Exercise 2
Find the distance between points P 1 = (1, −5, 4) and P 2 = (4, −1, −1) .
Hint
−−−−−−−−−−−−−−−−−−−−−−−−−−− −
d = √(x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2
Answer
–
5 √2
Before moving on to the next section, let’s get a feel for how R differs from R . For example, in R , lines that are not parallel
3 2 2
must always intersect. This is not the case in R . For example, consider the line shown in Figure 7. These two lines are not
3
5 9/5/2021 https://math.libretexts.org/@go/page/20985
z
4
3
2
-4 -3 1 -4
-2 -1 -1 -2 -3
1 1 2
3 2 3
y
x 4 -1 4
-2
-3
-4
Figure 7 : These two lines are not parallel, but still do not intersect.
You can also have circles that are interconnected but have no points in common, as in Figure 8.
6 9/5/2021 https://math.libretexts.org/@go/page/20985
z
6
2 -6
-6 -4
-4
-2 -2
2 2
4 4
x 6 -2 6 y
-4
-6
Writing Equations in R 3
Now that we can represent points in space and find the distance between them, we can learn how to write equations of
geometric objects such as lines, planes, and curved surfaces in R . First, we start with a simple equation. Compare the graphs
3
of the equation x = 0 in R, R ,and R (Figure 9). From these graphs, we can see the same equation can describe a point, a
2 3
line, or a plane.
7 9/5/2021 https://math.libretexts.org/@go/page/20985
Figure 9: (a) In R , the equation x = 0 describes a single point. (b) In R , the equation
2
x = 0 describes a line, the y -axis. (c)
In R , the equation x = 0 describes a plane, the yz-plane.
3
In space, the equation x = 0 describes all points (0, y, z). This equation defines the yz-plane. Similarly, the xy-plane contains
all points of the form (x, y, 0). The equation z = 0 defines the xy-plane and the equation y = 0 describes the xz-plane (Figure
10).
Figure 10: (a) In space, the equation z = 0 describes the xy-plane. (b) All points in the xz -plane satisfy the equation y = 0 .
Understanding the equations of the coordinate planes allows us to write an equation for any plane that is parallel to one of the
coordinate planes. When a plane is parallel to the xy-plane, for example, the z -coordinate of each point in the plane has the
same constant value. Only the x- and y -coordinates of points in that plane vary from point to point.
2. The plane in space that is parallel to the xz-plane and contains point (a, b, c) can be represented by the equation
y = b.
3. The plane in space that is parallel to the yz-plane and contains point (a, b, c) can be represented by the equation
x = a.
a. Write an equation of the plane passing through point (3, 11, 7) that is parallel to the yz-plane.
b. Find an equation of the plane passing through points (6, −2, 9), (0, −2, 4),and (1, −2, −3).
8 9/5/2021 https://math.libretexts.org/@go/page/20985
Solution
a. When a plane is parallel to the yz-plane, only the y - and z -coordinates may vary. The x-coordinate has the same
constant value for all points in this plane, so this plane can be represented by the equation x = 3 .
b. Each of the points (6, −2, 9), (0, −2, 4),and (1, −2, −3) has the same y -coordinate. This plane can be represented by
the equation y = −2 .
Exercise 3
Write an equation of the plane passing through point (1, −6, −4) that is parallel to the xy-plane.
Hint
If a plane is parallel to the xy-plane, the z-coordinates of the points in that plane do not vary.
Answer
z = −4
As we have seen, in R the equation x = 5 describes the vertical line passing through point (5, 0). This line is parallel to the
2
y -axis. In a natural extension, the equation x = 5 in R describes the plane passing through point (5, 0, 0), which is parallel to
3
the yz-plane. Another natural extension of a familiar equation is found in the equation of a sphere.
Definition: Sphere
A sphere is the set of all points in space equidistant from a fixed point, the center of the sphere (Figure 11), just as the set
of all points in a plane that are equidistant from the center represents a circle. In a sphere, as in a circle, the distance from
the center to a point on the sphere is called the radius.
Figure 11: Each point (x, y, z) on the surface of a sphere is r units away from the center (a, b, c) .
The equation of a circle is derived using the distance formula in two dimensions. In the same way, the equation of a sphere is
based on the three-dimensional formula for distance.
9 9/5/2021 https://math.libretexts.org/@go/page/20985
z
20
x -20
20 (10, 7, 4)
(-1, 3, -2)
-20
20
y -20
−−−−−−−−−−−−−−−−−−−
2 2 2
= √ (−11 ) + (−4 ) + (−6 )
−−−
= √173
Exercise 4
Find the standard equation of the sphere with center (−2, 4, −5) containing point (4, 4, −1).
Hint
First use the distance formula to find the radius of the sphere.
Answer
2 2 2
(x + 2 ) + (y − 4 ) + (z + 5 ) = 52
10 9/5/2021 https://math.libretexts.org/@go/page/20985
Example 5 : Finding the Equation of a Sphere
¯
¯¯¯¯¯¯
¯
Let P = (−5, 2, 3) and Q = (3, 4, −1), and suppose line segment P Q forms the diameter of a sphere (Figure 13). Find
the equation of the sphere.
Solution:
Since P Q is a diameter of the sphere, we know the center of the sphere is the midpoint of P Q.Then,
¯
¯¯¯¯¯¯
¯ ¯
¯¯¯¯¯¯
¯
−5 + 3 2 +4 3 + (−1)
C =( , , ) = (−1, 3, 1).
2 2 2
Furthermore, we know the radius of the sphere is half the length of the diameter. This gives
−−−−−−−−−−−−−−−−−−−−−−−−−−−
1 2 2 2
r = √ (−5 − 3 ) + (2 − 4 ) + (3 − (−1))
2
1 − −−−−−−− −
= √ 64 + 4 + 16
2
−−
= √21
Exercise 5
¯
¯¯¯¯¯¯
¯
Find the equation of the sphere with diameter P Q, where P = (2, −1, −3) and Q = (−2, 5, −1).
Hint
Find the midpoint of the diameter first.
Answer
2 2 2
x + (y − 2 ) + (z + 2 ) = 14
11 9/5/2021 https://math.libretexts.org/@go/page/20985
We must have either x − 4 = 0 or z − 2 = 0 , so the set of points forms the two planes x = 4 and z = 2 (Figure 14).
Figure 14: The set of points satisfying (x − 4)(z − 2) = 0 forms the two planes x = 4 and z = 2 .
Exercise 6
Describe the set of points that satisfies (y + 2)(z − 3) = 0, and graph the set.
Hint
One of the factors must be zero.
Answer
The set of points forms the two planes y = −2 and z = 3 .
12 9/5/2021 https://math.libretexts.org/@go/page/20985
Example 7 : Graphing Other Equations in Three Dimensions
Describe the set of points in three-dimensional space that satisfies (x − 2)
2 2
+ (y − 1 ) = 4, and graph the set.
Solution
The x- and y -coordinates form a circle in the xy-plane of radius 2, centered at (2, 1). Since there is no restriction on the
z -coordinate, the three-dimensional result is a circular cylinder of radius 2 centered on the line with x = 2 and y = 1 .
13 9/5/2021 https://math.libretexts.org/@go/page/20985
Figure 15: The set of points satisfying (x − 2)
2 2
+ (y − 1) = 4 . This is a cylinder of radius 2 centered on the line with
x = 2 and y = 1 .
Exercise 7
Describe the set of points in three dimensional space that satisfies x 2 2
+ (z − 2 ) = 16 , and graph the surface.
Hint
Think about what happens if you plot this equation in two dimensions in the xz-plane.
Answer
A cylinder of radius 4 centered on the line with x = 0 and z = 2 .
14 9/5/2021 https://math.libretexts.org/@go/page/20985
Working with Vectors in R 3
Just like two-dimensional vectors, three-dimensional vectors are quantities with both magnitude and direction, and they are
represented by directed line segments (arrows). With a three-dimensional vector, we use a three-dimensional arrow.
Three-dimensional vectors can also be represented in component form. The notation v = ⟨x, y, z⟩ is a natural extension of the
⇀
two-dimensional case, representing a vector with the initial point at the origin, (0, 0, 0), and terminal point (x, y, z). The zero
⇀
vector is 0 = ⟨0, 0, 0⟩. So, for example, the three dimensional vector v = ⟨2, 4, 1⟩ is represented by a directed line segment
⇀
⇀ ⇀
v + w = ⟨x1 + x2 , y1 + y2 , z1 + z2 ⟩ (4)
and
⇀
k v = ⟨kx1 , ky1 , kz1 ⟩. (5)
If k = −1, then k v = (−1) v is written as −v , and vector subtraction is defined by v − w = v + (−w) = v + (−1)w .
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
The standard unit vectors extend easily into three dimensions as well, ^i = ⟨1, 0, 0⟩, ^j = ⟨0, 1, 0⟩, and k
^
= ⟨0, 0, 1⟩, and we
use them in the same way we used the standard unit vectors in two dimensions. Thus, we can represent a vector in R in the 3
following ways:
⇀ ^ ^ ^
v = ⟨x, y, z⟩ = x i + y j + zk (6)
15 9/5/2021 https://math.libretexts.org/@go/page/20985
Figure 17: The vector with initial point P = (3, 12, 6) and terminal point Q = (−4, −3, 2) .
Solution
In component form,
−−⇀
P Q = ⟨x2 − x1 , y2 − y1 , z2 − z1 ⟩
= ⟨−4 − 3, −3 − 12, 2 − 6⟩
Exercise 8
→
Let S = (3, 8, 2) and T = (2, −1, 3) . Express ST in component form and in standard unit form.
Hint
−−⇀ −−⇀
Write ST in component form first. T is the terminal point of ST .
Answer
−−⇀
^ ^ ^
ST = ⟨−1, −9, 1⟩ = − i − 9 j + k
As described earlier, vectors in three dimensions behave in the same way as vectors in a plane. The geometric interpretation of
vector addition, for example, is the same in both two- and three-dimensional space (Figure 18).
Figure 18: To add vectors in three dimensions, we follow the same procedures we learned for two dimensions.
16 9/5/2021 https://math.libretexts.org/@go/page/20985
We have already seen how some of the algebraic properties of vectors, such as vector addition and scalar multiplication, can be
extended to three dimensions. Other properties can be extended in similar fashion. They are summarized here for our
reference.
Vector addition:
⇀ ⇀
v + w = ⟨x1 , y1 , z1 ⟩ + ⟨x2 , y2 , z2 ⟩ = ⟨x1 + x2 , y1 + y2 , z1 + z2 ⟩ (8)
Vector subtraction:
⇀ ⇀
v − w = ⟨x1 , y1 , z1 ⟩ − ⟨x2 , y2 , z2 ⟩ = ⟨x1 − x2 , y1 − y2 , z1 − z2 ⟩ (9)
Vector magnitude:
−−−−−−−−−−
⇀ 2 2 2
∥ v∥ = √ x + y + z (10)
1 1 1
We have seen that vector addition in two dimensions satisfies the commutative, associative, and additive inverse properties.
These properties of vector operations are valid for three-dimensional vectors as well. Scalar multiplication of vectors satisfies
the distributive property, and the zero vector acts as an additive identity. The proofs to verify these properties in three
dimensions are straightforward extensions of the proofs in two dimensions.
a. 3 v − 2w
⇀ ⇀
b. 5∥w∥ ⇀
c. ∥5w∥ ⇀
17 9/5/2021 https://math.libretexts.org/@go/page/20985
Figure 19: The vectors ⇀
v = ⟨−2, 9, 5⟩ and w = ⟨1, −1, 0⟩ .
⇀
Solution
a. First, use scalar multiplication of each vector, then subtract:
⇀ ⇀
3 v − 2 w = 3⟨−2, 9, 5⟩ − 2⟨1, −1, 0⟩
= ⟨−6 − 2, 27 − (−2), 15 − 0⟩
b. Write the equation for the magnitude of the vector, then use scalar multiplication:
−−−−−−−−−−−−−
⇀ 2 2 2 –
5∥ w∥ = 5 √ 1 + (−1 ) +0 = 5 √2.
c. First, use scalar multiplication, then find the magnitude of the new vector. Note that the result is the same as for part b.:
−−−−−−−−−−−−−
⇀ 2 2 2 −− –
∥5 w∥ =∥ ⟨5, −5, 0⟩ ∥= √ 5 + (−5 ) +0 = √50 = 5 √2
d. Recall that to find a unit vector in two dimensions, we divide a vector by its magnitude. The procedure is the same in
three dimensions:
⇀
v 1
= ⟨−2, 9, 5⟩
⇀ ⇀
∥ v∥ ∥ v∥
1
= −−−−−−−−−−−−− ⟨−2, 9, 5⟩
2 2
√ (−2 )2 + 9 +5
1
= −−− ⟨−2, 9, 5⟩
√110
−2 9 5
=⟨ , , ⟩.
−−− −−− −−−
√110 √110 √110
Exercise 9 :
Let ⇀
v = ⟨−1, −1, 1⟩ and w = ⟨2, 0, 1⟩. Find a unit vector in the direction of 5 v + 3w.
⇀ ⇀ ⇀
Hint
18 9/5/2021 https://math.libretexts.org/@go/page/20985
Start by writing 5 v + 3w in component form.
⇀ ⇀
Answer
1 5 8
⟨ −−, − −−, −−⟩
3 √10 3 √10 3 √10
Solution
The first thing we want to do is find a vector in the same direction as the velocity vector of the ball. We then scale the
vector appropriately so that it has the right magnitude. Consider the vector w extending from the quarterback’s arm to a
⇀
point directly above the receiver’s head at an angle of 30° (see the following figure). This vector would have the same
direction as v , but it may not have the right magnitude.
⇀
The receiver is 20 yd down the field and 15 yd to the quarterback’s left. Therefore, the straight-line distance from the
quarterback to the receiver is
−−−−−−−− −−−−−− −− −−−
Dist from QB to receiver= √15 2
+ 20
2
= √225 + 400 = √625 = 25 yd.
25
We have ⇀
= cos 30°. Then the magnitude of w is given by
⇀
∥ w∥
25 25 ⋅ 2 50
⇀
∥ w∥ = = – = – yd
cos 30° √3 √3
and the vertical distance from the receiver to the terminal point of w is ⇀
50 1 25
Vert dist from receiver to terminal point of w = ∥w∥ sin 30° =
⇀ ⇀
–
⋅ =
–
yd.
√3 2 √3
19 9/5/2021 https://math.libretexts.org/@go/page/20985
25
Then w = ⟨20, 15,
⇀
–⟩ , and has the same direction as ⇀
v .
√3
50
Recall, though, that we calculated the magnitude of w to be ⇀ ⇀
∥ w∥ =
–
, and ⇀
v has magnitude 60 mph. So, we need to
√3
multiply vector w by an appropriate constant, k . We want to find a value of k so that ∥kw ∥= 60 mph. We have
⇀ ⇀
50
⇀
∥kw∥ = k∥ w∥ = k
⇀
–
mph,
√3
so we want
50
k = 60
–
√3
–
60 √3
k =
50
–
6 √3
k = .
5
Then
–
25 6 √3 25 – –
⇀ ⇀
v = kw = k⟨20, 15, –⟩ = ⟨20, 15, – ⟩ = ⟨24
√3, 18 √3, 30⟩ .
√3 5 √3
−−−−−−−−−−−−−−−−−−−− −
– – −−−−−−−−−−−−− − −−−−
⇀
∥ v ∥ = √(24 √3)2 + (18 √3)2 + (30 )2 = √1728 + 972 + 900 = √3600 = 60 mph.
Exercise 10
Assume the quarterback and the receiver are in the same place as in the previous example. This time, however, the
quarterback throws the ball at velocity of 40 mph and an angle of 45°. Write the initial velocity vector of the ball, v , in ⇀
component form.
Hint
Follow the process used in the previous example.
Answer
– – –
v = ⟨16 √2, 12 √2, 20 √2⟩
Key Concepts
The three-dimensional coordinate system is built around a set of three axes that intersect at right angles at a single point,
the origin. Ordered triples (x, y, z) are used to describe the location of a point in space.
The distance d between points (x , y , z ) and (x , y , z ) is given by the formula
1 1 1 2 2 2
−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2 2
d = √ (x2 − x1 ) + (y2 − y1 ) + (z2 − z1 ) .
In three dimensions, the equations x = a, y = b, and z = c describe planes that are parallel to the coordinate planes.
The standard equation of a sphere with center (a, b, c) and radius r is
2 2 2 2
(x − a) + (y − b ) + (z − c ) =r .
20 9/5/2021 https://math.libretexts.org/@go/page/20985
Properties of vectors in space are a natural extension of the properties for vectors in a plane. Let ⇀
v = ⟨x1 , y1 , z1 ⟩ and
w = ⟨x , y , z ⟩ be vectors, and let k be a scalar.
⇀
2 2 2
Scalar multiplication:
⇀
k v = ⟨kx1 , ky1 , kz1 ⟩
Vector addition:
⇀ ⇀
v + w = ⟨x1 , y1 , z1 ⟩ + ⟨x2 , y2 , z2 ⟩ = ⟨x1 + x2 , y1 + y2 , z1 + z2 ⟩
Vector subtraction:
⇀ ⇀
v − w = ⟨x1 , y1 , z1 ⟩ − ⟨x2 , y2 , z2 ⟩ = ⟨x1 − x2 , y1 − y2 , z1 − z2 ⟩
Vector magnitude:
−−−−−−−−−−
⇀ 2 2 2
∥ v∥ = √ x +y +z
1 1 1
Key Equations
Distance between two points in space:
−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2 2
d = √ (x2 − x1 ) + (y2 − y1 ) + (z2 − z1 )
Glossary
coordinate plane
a plane containing two of the three coordinate axes in the three-dimensional coordinate system, named by the axes it
contains: the xy-plane, xz-plane, or the yz-plane
right-hand rule
a common way to define the orientation of the three-dimensional coordinate system; when the right hand is curved around
the z -axis in such a way that the fingers curl from the positive x -axis to the positive y-axis, the thumb points in the
direction of the positive z -axis
octants
the eight regions of space created by the coordinate planes
sphere
the set of all points equidistant from a given point known as the center
21 9/5/2021 https://math.libretexts.org/@go/page/20985
Contributors and Attributions
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
22 9/5/2021 https://math.libretexts.org/@go/page/20985
Vectors in the Plane
Learning Objectives
Describe a plane vector, using correct notation.
Perform basic vector operations (scalar multiplication, addition, subtraction).
Express a vector in component form.
Explain the formula for the magnitude of a vector.
Express a vector in terms of unit vectors.
Give two examples of vector quantities.
When describing the movement of an airplane in flight, it is important to communicate two pieces of information: the direction
in which the plane is traveling and the plane’s speed. When measuring a force, such as the thrust of the plane’s engines, it is
important to describe not only the strength of that force, but also the direction in which it is applied. Some quantities, such as
or force, are defined in terms of both size (also called magnitude) and direction. A quantity that has magnitude and direction is
called a vector. In this text, we denote vectors by boldface letters, such as v. Many times, we will also include an arrow or
harpoon above the boldface letter, giving us v ⃗ or v . This is how we will write vectors by hand, since it's hard to write in
⇀
boldface.
Definition: Vector
A vector is a quantity that has both magnitude and direction.
Vector Representation
A vector in a plane is represented by a directed line segment (an arrow). The endpoints of the segment are called the initial
point and the terminal point of the vector. An arrow from the initial point to the terminal point indicates the direction of the
vector. The length of the line segment represents its magnitude. We use the notation ∥ v ∥ to denote the magnitude of the
⇀
⇀
vector v . A vector with an initial point and terminal point that are the same is called the zero vector, denoted 0 . The zero
⇀
vector is the only vector without a direction, and by convention can be considered to have any direction convenient to the
problem at hand.
Vectors with the same magnitude and direction are called equivalent vectors. We treat equivalent vectors as equal, even if they
have different initial points. Thus, if v and w are equivalent, we write
⇀ ⇀
⇀ ⇀
v = w. (1)
The arrows in Figure 1(b) are equivalent. Each arrow has the same length and direction. A closely related concept is the idea
of parallel vectors. Two vectors are said to be parallel if they have the same or opposite directions. We explore this idea in
more detail later in the chapter. A vector is defined by its magnitude and direction, regardless of where its initial point is
located.
1 9/5/2021 https://math.libretexts.org/@go/page/20983
Figure 1: (a) A vector is represented by a directed line segment from its initial point to its terminal point. (b) Vectors ⇀
v1
The use of boldface, lowercase letters to name vectors is a common representation in print, but there are alternative notations.
When writing the name of a vector by hand, for example, it is easier to sketch an arrow over the variable than to show it is a
−−⇀
vector: v ⃗ . When a vector has initial point P and terminal point Q, the notation P Q is useful because it indicates the direction
and location of the vector.
−−⇀
Figure 2: The vector with initial point (1, 1) and terminal point (8, 5) is named P Q.
Exercise 1
−−⇀
Sketch the vector ST where S is point (3, −1) and T is point (−2, 3).
Hint
The first point listed in the name of the vector is the initial point of the vector.
Answer
2 9/5/2021 https://math.libretexts.org/@go/page/20983
Combining Vectors
Vectors have many real-life applications, including situations involving force or velocity. For example, consider the forces
acting on a boat crossing a river. The boat’s motor generates a force in one direction, and the current of the river generates a
force in another direction. Both forces are vectors. We must take both the magnitude and direction of each force into account if
we want to know where the boat will go.
A second example that involves vectors is a quarterback throwing a football. The quarterback does not throw the ball parallel
to the ground; instead, he aims up into the air. The velocity of his throw can be represented by a vector. If we know how hard
he throws the ball (magnitude—in this case, speed), and the angle (direction), we can tell how far the ball will travel down the
field.
A real number is often called a scalar in mathematics and physics. Unlike vectors, scalars are generally considered to have a
magnitude only, but no direction. Multiplying a vector by a scalar changes the vector’s magnitude. This is called scalar
multiplication. Note that changing the magnitude of a vector does not indicate a change in its direction. For example, wind
blowing from north to south might increase or decrease in speed while maintaining its direction from north to south.
direction that is the same as the direction of v if k > 0 , and opposite the direction of v if k < 0 . This is called scalar
⇀ ⇀
⇀ ⇀
multiplication. If k = 0 or v = 0 , then k v = 0 .
⇀ ⇀
⇀ ⇀ ⇀
k v = (−1) v = − v . (2)
Note that −v has the same magnitude as v , but has the opposite direction (Figure 3).
⇀ ⇀
Figure 3: (a) The original vector v has length n units. (b) The length of 2 v equals units. (c) The length of is
⇀ ⇀ ⇀
2n v /2 n/2
units. (d) The vectors v and −v have the same length but opposite directions.
⇀ ⇀
Another operation we can perform on vectors is to add them together in vector addition, but because each vector may have its
own direction, the process is different from adding two numbers. The most common graphical method for adding two vectors
is to place the initial point of the second vector at the terminal point of the first, as in Figure 4(a). To see why this makes
sense, suppose, for example, that both vectors represent displacement. If an object moves first from the initial point to the
3 9/5/2021 https://math.libretexts.org/@go/page/20983
terminal point of vector v , then from the initial point to the terminal point of vector w, the overall displacement is the same as
⇀ ⇀
if the object had made just one movement from the initial point to the terminal point of the vector v + w . For obvious reasons,
⇀ ⇀
this approach is called the triangle method. Notice that if we had switched the order, so that w was our first vector and v was
⇀ ⇀
our second vector, we would have ended up in the same place. (Again, see Figure 4(a).) Thus,
⇀ ⇀ ⇀ ⇀
v + w = w + v. (3)
A second method for adding vectors is called the parallelogram method. With this method, we place the two vectors so they
have the same initial point, and then we draw a parallelogram with the vectors as two adjacent sides, as in Figure 4(b). The
length of the diagonal of the parallelogram is the sum. Comparing Figure 4(b) and Figure 4(a), we can see that we get the
same answer using either method. The vector v + w is called the vector sum.
⇀ ⇀
v . Then, the vector sum, v + w , is the vector with an initial point that coincides with the initial point of v and has a
⇀ ⇀ ⇀ ⇀
terminal point that coincides with the terminal point of w. This operation is known as vector addition.
⇀
Figure 4: (a) When adding vectors by the triangle method, the initial point of w is the terminal point of
⇀ ⇀
v . (b) When
adding vectors by the parallelogram method, the vectors v and w have the same initial point.
⇀ ⇀
It is also appropriate here to discuss vector subtraction. We define v − w as v + (−w) = v + (−1)w . The vector v − w is
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
called the vector difference. Graphically, the vector v − w is depicted by drawing a vector from the terminal point of w to
⇀ ⇀ ⇀
Figure 5: (a) The vector difference v − w is depicted by drawing a vector from the terminal point of w to the terminal point
⇀ ⇀ ⇀
In Figure 5(a), the initial point of v + w is the initial point of v . The terminal point of v + w is the terminal point of w.
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
These three vectors form the sides of a triangle. It follows that the length of any one side is less than the sum of the lengths of
the remaining sides. So we have
⇀ ⇀ ⇀ ⇀
∥ v + w∥ ≤ ∥ v ∥ + ∥ w∥. (4)
This is known more generally as the triangle inequality. There is one case, however, when the resultant vector u + v has the ⇀ ⇀
same magnitude as the sum of the magnitudes of u and v . This happens only when u and v have the same direction.
⇀ ⇀ ⇀ ⇀
b. v + w
⇀ ⇀
c. 2 v − w
⇀ ⇀
4 9/5/2021 https://math.libretexts.org/@go/page/20983
Figure 6: Vectors ⇀
v and w lie in the same plane.
⇀
Solution
a. The vector 3w has the same direction as w; it is three times as long as w.
⇀ ⇀ ⇀
Figure 7: To find v + w , align the vectors at their initial points or place the initial point of one vector at the terminal
⇀ ⇀
point of the other. (a) The vector v + w is the diagonal of the parallelogram with sides v and w . (b) The vector v + w is
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
the third side of a triangle formed with w placed at the terminal point of v .
⇀ ⇀
c. To find 2 v − w , we can first rewrite the expression as 2 v + (−w) . Then we can draw the vector
⇀ ⇀ ⇀ ⇀
−w
⇀
, then add it to
the vector 2 v.
⇀
Exercise 2
Using vectors ⇀
v and w from Example 2, sketch the vector 2w − v .
⇀ ⇀ ⇀
Hint
First sketch vectors 2w and −v .
⇀ ⇀
5 9/5/2021 https://math.libretexts.org/@go/page/20983
Answer
Vector Components
Working with vectors in a plane is easier when we are working in a coordinate system. When the initial points and terminal
points of vectors are given in Cartesian coordinates, computations become straightforward.
a.
⇀
v has initial point (3, 2) and terminal point (7, 2)
w has initial point (1, −4) and terminal point (1, 0)
⇀
b.
⇀
v has initial point (0, 0) and terminal point (1, 1)
⇀
w has initial point (−2, 2) and terminal point (−1, 3)
Solution
a. The vectors are each 4 units long, but they are oriented in different directions. So ⇀
v and w are not equivalent (Figure
⇀
9 ).
6 9/5/2021 https://math.libretexts.org/@go/page/20983
Figure 10: These vectors are equivalent.
Exercise 3
Which of the following vectors are equivalent?
Hint
Equivalent vectors have both the same magnitude and the same direction.
Answer
⇀
Vectors ⇀
a, b , and ⇀
e are equivalent.
We have seen how to plot a vector when we are given an initial point and a terminal point. However, because a vector can be
placed anywhere in a plane, it may be easier to perform calculations with a vector when its initial point coincides with the
origin. We call a vector with its initial point at the origin a standard-position vector. Because the initial point of any vector in
standard position is known to be (0, 0), we can describe the vector by looking at the coordinates of its terminal point. Thus, if
vector v has its initial point at the origin and its terminal point at (x, y), we write the vector in component form as
⇀
⇀
v = ⟨x, y⟩. (5)
When a vector is written in component form like this, the scalars x and y are called the components of ⇀
v .
7 9/5/2021 https://math.libretexts.org/@go/page/20983
Recall that vectors are named with lowercase letters in bold type or by drawing an arrow over their name. We have also
learned that we can name a vector by its component form, with the coordinates of its terminal point in angle brackets.
However, when writing the component form of a vector, it is important to distinguish between ⟨x, y⟩ and (x, y). The first
ordered pair uses angle brackets to describe a vector, whereas the second uses parentheses to describe a point in a plane. The
initial point of ⟨x, y⟩ is (0, 0); the terminal point of ⟨x, y⟩ is (x, y).
When we have a vector not already in standard position, we can determine its component form in one of two ways. We can use
a geometric approach, in which we sketch the vector in the coordinate plane, and then sketch an equivalent standard-position
vector. Alternatively, we can find it algebraically, using the coordinates of the initial point and the terminal point. To find it
algebraically, we subtract the x-coordinate of the initial point from the x-coordinate of the terminal point to get the x-
component, and we subtract the y -coordinate of the initial point from the y -coordinate of the terminal point to get the y -
component.
Similarly, the difference of the y -coordinates shows the vertical length of the vector.
yt − yi = 2 − 4 = −2.
8 9/5/2021 https://math.libretexts.org/@go/page/20983
So, in component form,
⇀
v = ⟨xt − xi , yt − yi ⟩ = ⟨1 − (−3), 2 − 4⟩ = ⟨4, −2⟩.
Exercise 4
Vector w has initial point (−4, −5) and terminal point (−1, 2). Express w in component form.
⇀ ⇀
Hint
You may use either geometric or algebraic method.
Answer
⟨3, 7⟩
To find the magnitude of a vector, we calculate the distance between its initial point and its terminal point. The magnitude of
vector v = ⟨x, y⟩ is denoted ∥ v ∥, or | v |, and can be computed using the formula
⇀ ⇀ ⇀
−−−−−−
⇀ 2 2
∥ v∥ = √ x +y . (7)
Note that because this vector is written in component form, it is equivalent to a vector in standard position, with its initial point
at the origin and terminal point (x, y). Thus, it suffices to calculate the magnitude of the vector in standard position. Using the
distance formula to calculate the distance between initial point (0, 0) and terminal point (x, y), we have
−−−−−−−−−−−−−−− −−−−−−
⇀ 2 2 2 2
∥ v ∥ = √ (x − 0 ) + (y − 0 ) = √x +y . (8)
⇀
Based on this formula, it is clear that for any vector ⇀ ⇀
v , ∥ v ∥ ≥ 0, and ∥ v ∥ = 0 if and only if
⇀ ⇀
v = 0 .
The magnitude of a vector can also be derived using the Pythagorean theorem, as in the following figure.
Figure 12: If you use the components of a vector to define a right triangle, the magnitude of the vector is the length of the
triangle’s hypotenuse.
We have defined scalar multiplication and vector addition geometrically. Expressing vectors in component form allows us to
perform these same operations algebraically.
Vector addition:
⇀ ⇀
v + w = ⟨x1 , y1 ⟩ + ⟨x2 , y2 ⟩ = ⟨x1 + x2 , y1 + y2 ⟩ (10)
b. v + w ,
⇀ ⇀
c. 3 v, and
⇀
9 9/5/2021 https://math.libretexts.org/@go/page/20983
d. v − 2w .
⇀ ⇀
Solution
a. To place the initial point of v at the origin, we must translate the vector 2 units to the left and 5 units down (Figure 13).
⇀
b. To find ⇀
v +w
⇀
, add the x-components and the y -components separately:
⇀ ⇀
v + w = ⟨6, 8⟩ + ⟨−2, 4⟩ = ⟨4, 12⟩.
⇀
3 v = 3 ⋅ ⟨6, 8⟩ = ⟨3 ⋅ 6, 3 ⋅ 8⟩ = ⟨18, 24⟩.
d. To find ⇀
v − 2w
⇀
, find −2w and add it to v :
⇀ ⇀
⇀ ⇀
v − 2 w = ⟨6, 8⟩ − 2 ⋅ ⟨−2, 4⟩ = ⟨6, 8⟩ + ⟨4, −8⟩ = ⟨10, 0⟩.
Exercise 5A
⇀
Let ⇀
a = ⟨7, 1⟩ and let b be the vector with initial point (3, 2) and terminal point (−1, −1).
a. Find ∥ a ∥.
⇀
⇀
b. Express b in component form.
⇀
c. Find 3 a − 4 b .
⇀
Hint
⇀ ⇀
Use the Pythagorean Theorem to find ∥ a ∥. To find 3 a − 4 b , start by finding the scalar multiples 3 a and −4 b .
⇀ ⇀ ⇀
Answer a
⇀ –
∥ a ∥ = 5 √2,
Answer b
⇀
b = ⟨−4, −3⟩,
Answer c
⇀
⇀
3 a − 4 b = ⟨37, 15⟩
Now that we have established the basic rules of vector arithmetic, we can state the properties of vector operations. We will
prove two of these properties. The others can be proved in a similar manner.
10 9/5/2021 https://math.libretexts.org/@go/page/20983
Properties of Vector Operations
Let u ,
⇀ ⇀
v , and w be vectors in a plane. Let r and s be scalars.
⇀
i. Commutative property
⇀ ⇀ ⇀ ⇀
u+v = v +u (11)
= ⟨x2 + x1 , y2 + y1 ⟩
⇀ ⇀
= v + u.
= ⟨r(x1 + x2 ), r(y1 + y2 )⟩
⇀ ⇀
= ru + r v .
Exercise 5B
Prove the additive inverse property.
11 9/5/2021 https://math.libretexts.org/@go/page/20983
Hint
Use the component form of the vectors.
We have found the components of a vector given its initial and terminal points. In some cases, we may only have the
magnitude and direction of a vector, not the points. For these vectors, we can identify the horizontal and vertical components
using trigonometry (Figure 14).
Figure 14: The components of a vector form the legs of a right triangle, with the vector as the hypotenuse.
Consider the angle θ formed by the vector v and the positive x-axis. We can see from the triangle that the components of
⇀
vector v are ⟨∥ v ∥ cos θ, ∥ v ∥ sin θ⟩. Therefore, given an angle and the magnitude of a vector, we can use the cosine and sine
⇀ ⇀ ⇀
Figure 15: Use trigonometric ratios, x = ∥ v ∥ cos θ and y = ∥ v ∥ sin θ, to identify the components of the vector.
⇀ ⇀
Exercise 6
Find the component form of vector ⇀
v with magnitude 10 that forms an angle of 120° with the positive x-axis.
Hint
⇀
x = ∥ v ∥ cos θ and y = ∥ v ∥ sin θ
⇀
Answer
–
v = ⟨−5, 5 √3⟩
Unit Vectors
A unit vector is a vector with magnitude 1. For any nonzero vector v , we can use scalar multiplication to find a unit vector
⇀ ⇀
u
that has the same direction as v . To do this, we multiply the vector by the reciprocal of its magnitude:
⇀
12 9/5/2021 https://math.libretexts.org/@go/page/20983
⇀
1 ⇀
u = v. (19)
⇀
∥ v∥
1
Recall that when we defined scalar multiplication, we noted that ⇀
∥k v ∥ = |k| ⋅ ∥ v ∥
⇀
. For ⇀
u =
⇀
⇀
v , it follows that
∥ v∥
1
⇀
∥ u∥ =
⇀
⇀
(∥ v ∥) = 1 . We say that ⇀
u is the unit vector in the direction of ⇀
v (Figure 16 ). The process of using scalar
∥ v∥
1
Figure 16: The vector ⇀
v and associated unit vector u = ⇀
⇀
⇀
v . In this case, ∥ v ∥ > 1.
⇀
∥v∥
Solution:
a. First, find the magnitude of ⇀
v , then divide the components of ⇀
v by the magnitude:
− −−−−− −−− − –
⇀ 2 2
∥ v∥ = √ 1 + 2 = √ 1 + 4 = √5
1 1 1 2
⇀
u = v= ⟨1, 2⟩ = ⟨ , ⟩.
⇀ – – –
∥ v∥ √5 √5 √5
Exercise 7
Let ⇀
v = ⟨9, 2⟩ . Find a vector with magnitude 5 in the opposite direction as ⇀
v .
Hint
First, find a unit vector in the same direction as v . ⇀
Answer
45 10
⟨− ,− ⟩
−− −−
√85 √85
We have seen how convenient it can be to write a vector in component form. Sometimes, though, it is more convenient to write
a vector as a sum of a horizontal vector and a vertical vector. To make this easier, let’s look at standard unit vectors. The
standard unit vectors are the vectors ^i = ⟨1, 0⟩ and ^j = ⟨0, 1⟩ (Figure 17).
13 9/5/2021 https://math.libretexts.org/@go/page/20983
Figure 17: The standard unit vectors ^i and ^j .
Thus, ⇀
v is the sum of a horizontal vector with magnitude x, and a vertical vector with magnitude y , as in Figure 18.
b. Vector u is a unit vector that forms an angle of 60° with the positive x-axis. Use standard unit vectors to describe u .
⇀ ⇀
Solution:
a. Resolve vector w into a vector with a zero y -component and a vector with a zero x-component:
⇀
⇀ ^ ^
w = ⟨3, −4⟩ = 3 i − 4 j .
b. Because u is a unit vector, the terminal point lies on the unit circle when the vector is placed in standard position
⇀
(Figure 19).
⇀
u = ⟨cos 60°, sin 60°⟩
–
1 √3
=⟨ , ⟩
2 2
–
1 √3
^ ^
= i + j.
2 2
Figure 19: The terminal point of u lies on the unit circle (cos θ, sin θ).
⇀
14 9/5/2021 https://math.libretexts.org/@go/page/20983
Exercise 8
⇀ ⇀
Let a = ⟨16, −11⟩ and let b be a unit vector that forms an angle of
⇀
225° with the positive x-axis. Express ⇀
a and b in
terms of the standard unit vectors.
Hint
⇀
Applications of Vectors
Because vectors have both direction and magnitude, they are valuable tools for solving problems involving such applications
as motion and force. Recall the boat example and the quarterback example we described earlier. Here we look at two other
examples in detail.
tenth of a pound and its direction angle from the positive x-axis.
300 i.
^
The second vector has magnitude 150 and makes an angle of 15° with the first, so we can express it as
⟨150 cos(15°), 150 sin(15°)⟩,or 150 cos(15°) i + 150 sin(15°) j. Then, the sum of the vectors, or resultant vector, is
^ ^
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
⇀ 2 2
∥ r ∥ = √ (300 + 150 cos(15°)) + (150 sin(15°)) ≈ 446.6.
15 9/5/2021 https://math.libretexts.org/@go/page/20983
Solution
Let’s start by sketching the situation described (Figure 21).
Figure 21: Initially, the plane travels due west. The wind is from the northeast, so it is blowing to the southwest. The
angle between the plane’s course and the wind is 45°. (Figure not drawn to scale.)
Set up a sketch so that the initial points of the vectors lie at the origin. Then, the plane’s velocity vector is ⇀ ^
p = −425 i .
The vector describing the wind makes an angle of 225° with the positive x-axis:
40 40 40 40
⇀ ^ ^
w = ⟨40 cos(225°), 40 sin(225°)⟩ = ⟨− ,− ⟩ =− i − j.
– – – –
√2 √2 √2 √2
When the airspeed and the wind act together on the plane, we can add their vectors to find the resultant force:
⇀ ⇀
40 40 40 40
^ ^ ^ ^ ^
p + w = −425 i + (− – i − – j ) = (−425 − – )i − – j.
√2 √2 √2 √2
The magnitude of the resultant vector shows the effect of the wind on the ground speed of the airplane:
−−−−−−−−−−−−−−−−−−−−−
⇀ ⇀
40 40
2 2
∥ p + w∥ = √(−425 − –) + (− –) ≈ 454.17 mph
√2 √2
As a result of the wind, the plane is traveling at approximately 454 mph relative to the ground.
To determine the bearing of the airplane, we want to find the direction of the vector p + w : ⇀ ⇀
40
− –
√2
tan θ = ≈ 0.06
40
(−425 − –)
√2
θ ≈ 3.57° .
The overall direction of the plane is 3.57° south of west.
Exercise 9
An airplane flies due north at an airspeed of 550 mph. The wind is blowing from the northwest at 50 mph. What is the
ground speed of the airplane?
Hint
Sketch the vectors with the same initial point and find their sum.
Answer
Approximately 516 mph
16 9/5/2021 https://math.libretexts.org/@go/page/20983
Key Concepts
Vectors are used to represent quantities that have both magnitude and direction.
We can add vectors by using the parallelogram method or the triangle method to find the sum. We can multiply a vector by
a scalar to change its length or give it the opposite direction.
Subtraction of vectors is defined in terms of adding the negative of the vector.
A vector is written in component form as v = ⟨x, y⟩.
⇀
−−− −− −
The magnitude of a vector is a scalar: ∥ v ∥ = √x + y .
⇀ 2 2
1
A unit vector u has magnitude 1 and can be found by dividing a vector by its magnitude: u =
⇀ ⇀
⇀
⇀
v . The standard unit
∥ v∥
vectors are ^i = ⟨1, 0⟩ and ^j = ⟨0, 1⟩. A vector v = ⟨x, y⟩ can be expressed in terms of the standard unit vectors as
⇀
v = xi +yj .
⇀ ^ ^
Vectors are often used in physics and engineering to represent forces and velocities, among other quantities.
Glossary
component
a scalar that describes either the vertical or horizontal direction of a vector
equivalent vectors
vectors that have the same magnitude and the same direction
initial point
the starting point of a vector
magnitude
the length of a vector
normalization
using scalar multiplication to find a unit vector with a given direction
parallelogram method
a method for finding the sum of two vectors; position the vectors so they share the same initial point; the vectors then form
two adjacent sides of a parallelogram; the sum of the vectors is the diagonal of that parallelogram
scalar
a real number
scalar multiplication
a vector operation that defines the product of a scalar and a vector
standard-position vector
a vector with initial point (0, 0)
terminal point
the endpoint of a vector
triangle inequality
the length of any side of a triangle is less than the sum of the lengths of the other two sides
triangle method
17 9/5/2021 https://math.libretexts.org/@go/page/20983
a method for finding the sum of two vectors; position the vectors so the terminal point of one vector is the initial point of
the other; these vectors then form two sides of a triangle; the sum of the vectors is the vector that forms the third side; the
initial point of the sum is the initial point of the first vector; the terminal point of the sum is the terminal point of the
second vector
unit vector
a vector with magnitude 1
vector
a mathematical object that has both magnitude and direction
vector addition
a vector operation that defines the sum of two vectors
vector difference
the vector difference ⇀
v −w
⇀
is defined as ⇀ ⇀ ⇀
v + (−w) = v + (−1)w
⇀
vector sum
the sum of two vectors, v and w, can be constructed graphically by placing the initial point of w at the terminal point of
⇀ ⇀ ⇀
v ; then the vector sum v + w is the vector with an initial point that coincides with the initial point of v , and with a
⇀ ⇀ ⇀ ⇀
zero vector
the vector with both initial point and terminal point (0, 0)
18 9/5/2021 https://math.libretexts.org/@go/page/20983
CHAPTER OVERVIEW
13: VECTOR-VALUED FUNCTIONS
1 9/15/2021
Acceleration and Kepler's Laws
Components of the Acceleration Vector
We can combine some of the concepts discussed in Arc Length and Curvature with the acceleration vector to gain a deeper
⇀
understanding of how this vector relates to motion in the plane and in space. Recall that the unit tangent vector T and the unit
⇀
normal vector N form an osculating plane at any point P on the curve defined by a vector-valued function r (t) . The ⇀
following theorem shows that the acceleration vector a (t) lies in the osculating plane and can be written as a linear
⇀
Here, v(t) = ∥ v (t)∥ is the speed of the object and κ is the curvature of C traced out by
⇀ ⇀
r (t) .
Proof
⇀
⇀ r '(t) ⇀ ⇀
Because ⇀ ⇀
v (t) = r '(t) and T(t) = ⇀
, we have v (t) = || r '(t)||T(t) = v(t)T(t) .
⇀ ⇀
|| r '(t)||
⇀ ⇀
d ⇀ ⇀ ⇀
a (t) = v '(t) = (v(t)T(t)) = v'(t)T(t) + v(t)T'(t) (2)
dt
⇀ T'(t) ⇀ ⇀ ⇀
Since N(t) = ⇀
, we know T'(t) = ||T'(t)||N(t) , so
|| T'(t)||
⇀ ⇀ ⇀
⇀
a (t) = v'(t)T(t) + v(t)|| T'(t)|| N(t). (3)
⇀′
|| T (t)|| ⇀′
⇀′
A formula for curvature is κ = ⇀′
, so T (t) = κ|| r (t)|| = κv(t) .
|| r (t)||
⇀ ⇀
This gives ⇀
a (t) = v'(t)T(t) + κ(v(t)) N(t).
2
⇀ ⇀
The coefficients of T(t) and N(t) are referred to as the tangential component of acceleration and the normal component
of acceleration, respectively. We write a to denote the tangential component and a to denote the normal component.
⇀
T
⇀
N
acceleration vector. The tangential and normal components of acceleration a and a are given by the formulas ⇀
T
⇀
N
⇀ ⇀
⇀ ⇀ v ⋅ a
a⇀ = a ⋅ T = (4)
T ⇀
|| v ||
and
⇀ ⇀ −−−−−−−−−−−−
|| v × a || 2
⇀
⇀ ⇀ 2
a⇀ = a ⋅ N = = √ || a | | − (a⇀ ) . (5)
N ⇀ T
|| v ||
⇀ ⇀
Here T(t) is the unit tangent vector to the curve defined by ⇀
r (t) , and N(t) is the unit normal vector to the curve defined
by r (t) .
⇀
⇀ ⇀
Figure 1 : The acceleration can be broken into components parallel to N(t) and T(t) . Here t = 1 .
At a given point on the curve, breaking the acceleration vector up into these two components, a tangential component parallel
⇀ ⇀
to the velocity vector (and T ) and a normal component parallel to the normal vector N, allows us to more clearly see the
effect of the acceleration vector on the velocity at that point. See Figure 1.
Only the component of acceleration that is parallel to the velocity will change the speed of the motion (affecting the magnitude
of the velocity). And only the component that is normal to the curve will affect the direction of the velocity (and the
corresponding bending of the curve at this point). Note that for the example in Figure (\PageIndex{1}\), the acceleration is
clearly slowing the velocity and turning the curve to the left.
This means that if acceleration is orthogonal to the velocity, it will only affect the direction and will not change the speed at
this point. And if the acceleration is parallel to the velocity, it will only affect the speed and not change the direction at this
point. If the acceleration vector is always parallel to the velocity vector for a given position function, the motion must be along
a straight line.
Exercise 1
What can you say about the speed of the motion along a curve if the acceleration vector is always orthogonal to the velocity
vector for the corresponding position function?
Hint
In addition to considering what this means based on the discussion of the components of acceleration shown above, see
⇀′ ⇀′′
Derivative Property vii in Section 12.2, considering what it says should be true if r (t) ⋅ r (t) = 0 , that is, if
⇀
v (t) ⋅ a (t) = 0 .
⇀
⇀ ⇀
Note that in this context, the unit vectors T(t) and N(t) are filling a role very similar to ^i and ^j . But instead of representing a
⇀ ⇀
vector in the xy-plane where the vectors ^i and ^j reside, the linear combination of T(t) and N(t) represents an acceleration
⇀ ⇀
vector in the plane formed by the vectors T(t) and N(t).
The normal component of acceleration is also called the centripetal component of acceleration or sometimes the radial
component of acceleration. To understand centripetal acceleration, suppose you are traveling in a car on a circular track at a
constant speed. Then, as we saw earlier, the acceleration vector points toward the center of the track at all times. As a rider in
the car, you feel a pull toward the outside of the track because you are constantly turning. This sensation acts in the opposite
direction of centripetal acceleration. The same holds true for non-circular paths. The reason is that your body tends to travel in
a straight line and resists the force resulting from acceleration that push it toward the side. Note that at point B in Figure 2 the
acceleration vector is pointing backward. This is because the car is decelerating as it goes into the curve.
Solution
a. Let’s start with Equation 4:
⇀ ⇀ ^ ^ ^
v (t) = r (t) = 2t i + 2 j + (6t − 3) k (7)
⇀ ⇀′ ^ ^
a (t) = v (t) = 2 i + 6 k (8)
⇀ ⇀
v ⋅ a
a⇀ =
T ⇀
|| v ||
^ ^ ^ ^ ^
(2t i + 2 j + (6t − 3) k) ⋅ (2 i + 6 k)
=
^ ^ ^
||2t i + 2 j + (6t − 3) k||
4t + 6(6t − 3)
=
−−−−−−−−−−−−−−−−−
2
√ (2t)2 + 2 2
+ (6t − 3 )
40t − 18
=
2
40 t − 36t + 13
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2
40t − 18
^ ^ 2
= √ ||2 i + 6 k| | − ( − −− −−− −−−−− −)
√ 40 t2 − 36 + 13
−−−−−−−−−−−−−−−−−−−−
2
(40t − 18)
= √ 4 + 36 −
2
40 t − 36t + 13
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2
40(40 t − 36t + 13) − (1600 t − 1440t + 324)
=√
2
40 t − 36t + 13
−−−−−−−−−−−−−
196 14
=√ =
2 − −−−−−−−−−− −
40 t − 36t + 13 √ 40 t2 − 36t + 13
80 − 18
= − −−−−−−−−− −
√ 160 − 72 + 13
62
= −−−
√101
14
a⇀ (2) =
N
−−−−−−−−−−−−−− −
√ 40(2 )2 − 36(2) + 13
14 140
= − −−−−−−−−− − = −−−.
√ 160 − 72 + 13 √101
The units of acceleration are feet per second squared, as are the units of the normal and tangential components of
acceleration.
Exercise 2
An object moves in a path defined by the vector-valued function ⇀ ^ 2 ^
r (t) = 4t i + t j , where t measures time in seconds.
a. Find a⇀
T
and a
⇀
N
as functions of t .
b. Find a⇀
T
and a
⇀
N
at time t = −3 .
Hint
Use Equations 4 and 5
Answer
a.
^ ^ ^
(4 i + 2t j ) ⋅ (2 j )
=
^ ^
||4 i + 2t j ||
4t
=
−−−−−−−−
2 2
√4 + (2t)
2t
=
− −−−−
√ 2 + t2
−−−−−−−−−
⇀ 2 2
a⇀ = √ || a | | − a⇀
N
T
− −−−−−−−−−−−−−−−− −
2
2t
^ 2
= ||2 j | | − ( )
− −− −−
⎷
√ 2 + t2
−−−−−−−−−
2
4t
= √4 −
2
2 +t
b.
2(−3)
a⇀ (−3) = − −−− −−−−
T 2
√ 2 + (−3)
−6
=
−−
√11
−−−−−−−−−−−−
2
4(−3)
a⇀ (−3) = √ 4 −
N 2
2 + (−3)
−−−−−−
36
= √4 −
11
−−
−
8
=√
11
–
2 √2
=
−−
√11
Kepler’s Laws
During the early 1600s, Johannes Kepler was able to use the amazingly accurate data from his mentor Tycho Brahe to
formulate his three laws of planetary motion, now known as Kepler’s laws of planetary motion. These laws also apply to other
objects in the solar system in orbit around the Sun, such as comets (e.g., Halley’s comet) and asteroids. Variations of these
laws apply to satellites in orbit around Earth.
Figure 3: Kepler’s first and second laws are pictured here. The Sun is located at a focus of the elliptical orbit of any planet.
Furthermore, the shaded areas are all equal, assuming that the amount of time measured as the planet moves is the same for
each region.
Kepler’s third law is especially useful when using appropriate units. In particular, 1 astronomical unit is defined to be the
average distance from Earth to the Sun, and is now recognized to be 149,597,870,700 m or, approximately 93,000,000 mi. We
therefore write 1 A.U. = 93,000,000 mi. Since the time it takes for Earth to orbit the Sun is 1 year, we use Earth years for units
of time. Then, substituting 1 year for the period of Earth and 1 A.U. for the average distance to the Sun, Kepler’s third law can
be written as
2 3
Tp = Dp (9)
for any planet in the solar system, where T is the period of that planet measured in Earth years and D is the average
P P
distance from that planet to the Sun measured in astronomical units. Therefore, if we know the average distance from a planet
to the Sun (in astronomical units), we can then calculate the length of its year (in Earth years), and vice versa.
Kepler’s laws were formulated based on observations from Brahe; however, they were not proved formally until Sir Isaac
Newton was able to apply calculus. Furthermore, Newton was able to generalize Kepler’s third law to other orbital systems,
such as a moon orbiting around a planet. Kepler’s original third law only applies to objects orbiting the Sun.
Proof
Let’s now prove Kepler’s first law using the calculus of vector-valued functions. First we need a coordinate system. Let’s
place the Sun at the origin of the coordinate system and let the vector-valued function r (t) represent the location of a
⇀
planet as a function of time. Newton proved Kepler’s law using his second law of motion and his law of universal
⇀ ⇀
gravitation. Newton’s second law of motion can be written as F = m a , where F represents the net force acting on the
⇀
⇀
⇀ GmM r
planet. His law of universal gravitation can be written in the form F =−
⇀ 2
⋅
⇀
, which indicates that the force
|| r | | || r ||
GmM
resulting from the gravitational attraction of the Sun points back toward the Sun, and has magnitude 2
(Figure 4).
⇀
|| r | |
⇀
This equation shows that the vectors d v /dt and ⇀ ⇀
r are parallel to each other, so d v /dt × r ⇀ ⇀
= 0 . Next, let’s differentiate
r × v with respect to time:
⇀ ⇀
⇀ ⇀
d dr dv ⇀ ⇀
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
( r × v) = ×v + r × = v × v + 0 = 0. (12)
dt dt dt
⇀ ⇀
This proves that r × v is a constant vector, which we call C. Since r and v are both perpendicular to C for all values of
⇀ ⇀ ⇀ ⇀
⇀
t , they must lie in a plane perpendicular to C. Therefore, the motion of the planet lies in a plane.
⇀
Next we calculate the expression d v /dt × C :
⇀
⇀
dv ⇀ GM ⇀ ⇀ ⇀
GM ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
×C = − r × ( r × v) = − [( r ⋅ v ) r − ( r ⋅ r ) v ]. (13)
⇀ 3 ⇀ 3
dt || r | | || r | |
The last equality in Equation 12 is from the triple cross product formula (The Cross Product). We need an expression for
r ⋅ v . To calculate this, we differentiate r ⋅ r with respect to time:
⇀ ⇀ ⇀ ⇀
⇀ ⇀ ⇀
d ⇀ ⇀
dr ⇀ ⇀
dr ⇀
dr ⇀ ⇀
(r ⋅ r) = ⋅ r + r ⋅ = 2r ⋅ = 2 r ⋅ v. (14)
dt dt dt dt
Since ⇀ ⇀ ⇀
r ⋅ r = || r | |
2
, we also have
d ⇀ ⇀
d ⇀ 2 ⇀
d ⇀
(r ⋅ r) = || r | | = 2|| r || || r ||. (15)
dt dt dt
⇀ ⇀ ⇀
d ⇀
2 r ⋅ v = 2|| r || || r ||
dt
⇀ ⇀ ⇀
d ⇀
r ⋅ v = || r ∥ || r ||.
dt
GM ⇀
d ⇀ ⇀ ⇀ 2⇀
=− [|| r ( || r ||) r − || r | | v ]
⇀ 3
|| r | | dt
1 d 1
⇀ ⇀ ⇀
= −GM [ ( || r ||) r − v]
⇀ 2 ⇀
dt || r ||
|| r | |
⇀ ⇀
v r d ⇀
= GM [ − ( || r ||)] . (16)
⇀ ⇀ 2
|| r || || r | | dt
However,
d ⇀ ⇀ ⇀ d ⇀
⇀
d r ( r )|| r || − r || r ||
dt dt
=
⇀ ⇀ 2
dt || r || || r | |
⇀
d r
⇀
dt r d ⇀
= − || r ||
⇀ 2
⇀ dt
|| r || || r | |
⇀ ⇀
v r d ⇀
= − || r ||.
⇀ ⇀ 2
|| r || || r | | dt
⇀
Since C is a constant vector, we can integrate both sides and obtain
⇀
⇀ r ⇀
⇀
v × C = GM + D, (18)
⇀
|| r ||
⇀ ⇀
where D is a constant vector. Our goal is to solve for || r ||. Let’s start by calculating
⇀ ⇀ ⇀
r ⋅ (v × C :
⇀ 2
⇀ || r | | ⇀ ⇀
⇀ ⇀ ⇀ ⇀ ⇀
r ⋅ ( v × C = GM + r ⋅ D = GM || r || + r ⋅ D. (19)
⇀
|| r ||
⇀ ⇀
However, ⇀ ⇀ ⇀ ⇀
r ⋅ ( v × C) = ( r × v ) ⋅ C , so
⇀ ⇀
⇀ ⇀ ⇀ ⇀
( r × v ) ⋅ C = GM || r || + r ⋅ D. (20)
⇀
Since ⇀ ⇀
r ×v =C , we have
⇀ 2 ⇀
⇀ ⇀
|| C| | = GM || r || + r ⋅ D. (21)
⇀ ⇀ ⇀
Note that ⇀ ⇀
r ⋅ D = || r |||| D|| cos θ , where θ is the angle between ⇀
r and D. Therefore,
⇀ ⇀
2 ⇀ ⇀
|| C| | = GM || r || + || r |||| D|| cos θ (22)
⇀ ⇀
2 2
|| C| | || C| | 1
⇀
|| r || = = ( ). (23)
⇀
GM 1 + e cos θ
GM + || D|| cos θ
⇀
where e = ||D||/GM . This is the polar equation of a conic with a focus at the origin, which we set up to be the Sun. It is a
hyperbola if e > 1 , a parabola if e = 1 , or an ellipse if e < 1 . Since planets have closed orbits, the only possibility is an
ellipse. However, at this point it should be mentioned that hyperbolic comets do exist. These are objects that are merely
Kepler’s third law of planetary motion can be modified to the case of one object in orbit around an object other than the Sun,
such as the Moon around the Earth. In this case, Kepler’s third law becomes
2 3
2
4π a
P = , (24)
G(m + M )
where m is the mass of the Moon and M is the mass of Earth, a represents the length of the major axis of the elliptical orbit,
and P represents the period.
and the period of the moon is 27.3 days, let’s find the length of the major axis of the orbit of the Moon around Earth.
Solution
It is important to be consistent with units. Since the universal gravitational constant contains seconds in the units, we need
to use seconds for the period of the Moon as well:
24 hr 3600 esc
27.3 days × × = 2, 358, 720 sec (25)
1 day 1 hour
2 3
4π a
12
5.563 × 10 =
−11 3 24
(6.67 × 10 m )(6.04 × 10 )
12 −11 3 24 2 3
(5.563 × 10 )(6.67 × 10 m )(6.04 × 10 ) = 4π a
27
3
2.241 × 10 3
a = m
2
4π
8
a = 3.84 × 10 m
Analysis
According to solarsystem.nasa.gov, the actual average distance from the Moon to Earth is 384,400 km. This is calculated
using reflectors left on the Moon by Apollo astronauts back in the 1960s.
Exercise 3
Titan is the largest moon of Saturn. The mass of Titan is approximately 1.35 × 10 kg . The mass of Saturn is 23
approximately 5.68 × 10 kg. Titan takes approximately 16 days to orbit Saturn. Use this information, along with the
26
universal gravitation constant G = 6.67 × 10 m/kg ⋅ sec to estimate the distance from Titan to Saturn.
−11 2
Hint
Make sure your units agree, then use Equation 24.
Answer
9
a ≈ 1.224 × 10 m = 1, 224, 000km (26)
Solution
Using the equation T = D 2 3
with T = 76.1 , we obtain 3
D , so
= 5791.21 D ≈ 17.96 A.U. This comes out to
approximately 1.67 × 10 mi. 9
A natural question to ask is: What are the maximum (aphelion) and minimum (perihelion) distances from Halley’s Comet
to the Sun? The eccentricity of the orbit of Halley’s Comet is 0.967 (Source:
http://nssdc.gsfc.nasa.gov/planetary...cometfact.html). Recall that the formula for the eccentricity of an ellipse is e = c/a ,
where a is the length of the semimajor axis and c is the distance from the center to either focus. Therefore,
0.967 = c/17.96 and c ≈ 17.37 A.U. Subtracting this from a gives the perihelion distance
p = a − c = 17.96 − 17.37 = 0.59 A.U. According to the National Space Science Data Center (Source:
http://nssdc.gsfc.nasa.gov/planetary...cometfact.html), the perihelion distance for Halley’s comet is 0.587 A.U. To calculate
the aphelion distance, we add
P = a + c = 17.96 + 17.37 = 35.33 A.U. (27)
This is approximately 3.3 × 10 mi. The average distance from Pluto to the Sun is 39.5 A.U. (Source:
9
http://www.oarval.org/furthest.htm), so it would appear that Halley’s Comet stays just within the orbit of Pluto.
to keep the car on the curve, the car will shoot off of it.
2. Show that the speed of the car is ωR. Use this to show that (2π4)/∥ v ∥ = (2π)/ω.
⇀
3. Find the acceleration a . Show that this vector points toward the center of the circle and that ∥ a ∥ = Rω .
⇀ ⇀ 2
⇀
4. The force required to produce this circular motion is called the centripetal force, and it is denoted F . This force cent
⇀
points toward the center of the circle (not toward the ground). Show that ∥F cent ∥
⇀ 2
= (m| v | ) /R .
As the car moves around the curve, three forces act on it: gravity, the force exerted by the road (this force is perpendicular
to the ground), and the friction force (Figure 6). Because describing the frictional force generated by the tires and the road
⇀ ⇀
is complex, we use a standard approximation for the frictional force. Assume that f = μN for some positive constant μ .
The constant μ is called the coefficient of friction.
Figure 6: The car has three forces acting on it: gravity (denoted by m g ), the friction force , and the force exerted by the
⇀
f
⇀
road N.
Let vmax denote the maximum speed the car can attain through the curve without skidding. In other words, v is the max
fastest speed at which the car can navigate the turn. When the car is traveling at this speed, the magnitude of the centripetal
force is
2
⇀ m(vmax )
∥ Fcent ∥ = . (28)
R
The next three questions deal with developing a formula that relates the speed v max to the banking angle θ .
⇀ ⇀ ⇀
5. Show that N cos θ = m g + f sin θ . Conclude that N = (m g )/(cos θ − μ sin θ) .
⇀ ⇀
6. The centripetal force is the sum of the forces in the horizontal direction, since the centripetal force points toward the
center of the circular curve. Show that
⇀ ⇀ ⇀
Fcent = N sin θ + f cos θ. (29)
Conclude that
⇀ sin θ + μ cos θ
⇀
Fcent = m g. (30)
cosθ − μ sin θ
Figure 7: At the Bristol Motor Speedway, Bristol, Tennessee (a), the turns have an inner radius of about 211 ft and a width
of 40 ft (b). (credit: part (a) photo by Raniel Diaz, Flickr)
The coefficient of friction for a normal tire in dry conditions is approximately 0.7. Therefore, we assume the coefficient for
a NASCAR tire in dry conditions is approximately 0.98.
Before answering the following questions, note that it is easier to do computations in terms of feet and seconds, and then
convert the answers to miles per hour as a final step.
8. In dry conditions, how fast can the car travel through the bottom of the turn without skidding?
9. In dry conditions, how fast can the car travel through the top of the turn without skidding?
10. In wet conditions, the coefficient of friction can become as low as 0.1. If this is the case, how fast can the car travel
through the bottom of the turn without skidding?
11. Suppose the measured speed of a car going along the outside edge of the turn is 105 mph. Estimate the coefficient of
friction for the car’s tires.
Key Concepts
The acceleration vector always points toward the concave side of the curve defined by r (t) . The tangential and normal
⇀
components of acceleration a and a are the projections of the acceleration vector onto the unit tangent and unit normal
⇀
T
⇀
N
Key Equations
Tangential component of acceleration
⇀ ⇀
⇀
⇀ v ⋅ a
a⇀ = a ⋅ T =
T ⇀
|| v ||
Glossary
acceleration vector
the second derivative of the position vector
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Edited by Paul Seeburger
t2 −−−−−−−−−−−−−−
2 2
s =∫ √ (x'(t)) + (y'(t)) dt. (1)
t1
b −−−−−−−−−−−−−−−−−−−−−−
2 2 2
s =∫ √ (f '(t)) + (g'(t)) + (h'(t)) dt. (3)
a
b −−−−−−−−−−−−−
2 2
s =∫ √ [f '(t)] + [g'(t)] dt (4)
a
b
⇀
=∫ ∥ r '(t)∥ dt. (5)
a
b
⇀
=∫ ∥ r '(t)∥ dt. (7)
a
The two formulas are very similar; they differ only in the fact that a space curve has three component functions instead of two.
Note that the formulas are defined for smooth curves: curves where the vector-valued function r (t) is differentiable with a ⇀
non-zero derivative. The smoothness condition guarantees that the curve has no cusps (or corners) that could make the formula
problematic.
Solution
a. Using Equation 5, ⇀ ^ ^
r '(t) = 3 i + 4 j , so
b
⇀
s =∫ ∥ r '(t)∥ dt
a
5
− −−−−−
2 2
=∫ √ 3 + 4 dt
1
5
5
=∫ 5 dt = 5t∣
∣ = 20.
1
1
b. Using Equation 7, ⇀
r '(t) = ⟨cos t − t sin t, sin t + t cos t, 2⟩ , so
b
⇀
s =∫ ∥ r '(t) ∥ dt
a
2π −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2 2
=∫ √ (cos t − t sin t) + (sin t + t cos t) +2 dt
0
2π −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2 2 2 2 2
=∫ √ (cos t − 2t sin t cos t + t sin t) + (sin t + 2t sin t cos t + t cos t) + 4 dt
0
2π −−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2 2 2 2
=∫ √ cos t + sin t + t (cos t + sin t) + 4 dt
0
2π
− − −−−
2
=∫ √ t + 5 dt
so we obtain
2π 2π
− − −−− 1 −−−−− −− −−−
2 2 2
∫ √ t + 5 dt = (t√ t + 5 + 5 ln ∣
∣t +
√t + 5 ∣ )
∣
0
2
0
1 − −−−−− − −−−−− 5 –
2 2
= (2π √ 4 π + 5 + 5 ln (2π + √ 4 π + 5 )) − ln √5
2 2
≈ 25.343 units.
Exercise 1
Calculate the arc length of the parameterized curve
⇀ 2 2 3
r (t) = ⟨2 t + 1, 2 t − 1, t ⟩, 0 ≤ t ≤ 3.
Hint
Use Equation 7.
Answer
⇀ 2
r '(t) = ⟨4t, 4t, 3 t ⟩, so s = 1
27
(113
3/2
− 32
3/2
) ≈ 37.785 units
We now return to the helix introduced earlier in this chapter. A vector-valued function that describes a helix can be written in
the form
where R represents the radius of the helix, h represents the height (distance between two consecutive turns), and the helix
completes N turns. Let’s derive a formula for the arc length of this helix using Equation 7. First of all,
⇀
2πN R 2πN t 2πN R 2πN t
^ ^ ^
r '(t) = − sin( ) i + cos( ) j + k. (9)
h h h h
Therefore,
b
⇀
s =∫ ∥ r '(t)∥ dt (10)
a
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
h 2 2
2πN R 2πN t 2πN R 2πN t 2
=∫ √ (− sin ( )) +( cos ( )) +1 dt (11)
0
h h h h
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
h
4π2 N 2
R2 2πN t 2πN t
2 2
=∫ √ ( sin ( ) + cos ( )) + 1 dt (12)
2
0 h h h
−−−−−−−−−−−
h 2 2 2
4π N R
=∫ √ + 1 dt (13)
2
0
h
−−−−−−−−−−−
h
4π2 N 2
R2
= [t√ +1] (14)
2
h
0
−−−−−−−−−−−−
2 2 2 2
4π N R +h
= h√ (15)
2
h
− −−−−− −−−−−−
2 2 2 2
= √ 4π N R + h . (16)
This gives a formula for the length of a wire needed to form a helix with N turns that has radius R and height h .
Arc-Length Parameterization
We now have a formula for the arc length of a curve defined by a vector-valued function. Let’s take this one step further and
examine what an arc-length function is.
If a vector-valued function represents the position of a particle in space as a function of time, then the arc-length function
measures how far that particle travels as a function of time. The formula for the arc-length function follows directly from the
formula for arc length:
t −−−−−−−−−−−−−−−−−−−−−−−
2 2 2
s =∫ √ (f '(u)) + (g'(u)) + (h'(u)) du. (17)
a
If the curve is in two dimensions, then only two terms appear under the square root inside the integral. The reason for using the
independent variable u is to distinguish between time and the variable of integration. Since s(t) measures distance traveled as
a function of time, s'(t) measures the speed of the particle at any given time. Since we have a formula for s(t) in Equation 17,
we can differentiate both sides of the equation:
t −−−−−−−−−−−−−−−−−−−−−−−
d 2 2 2
s'(t) = [∫ √ (f '(u)) + (g'(u)) + (h'(u)) du] (18)
dt a
t
d
⇀
= [∫ ∥ r '(u)∥du] (19)
dt a
⇀
= ∥ r '(t)∥. (20)
t t
⇀
s(t) = ∫ ∥ r '(u)∥ du = ∫ 1 du = t − a, (21)
a a
dt
⇀ ⇀
∥ r '(t)∥ = 1 for all t ≥a , then the parameter t represents the arc length from the
starting point at t = a .
A useful application of this theorem is to find an alternative parameterization of a given curve, called an arc-length
parameterization. Recall that any vector-valued function can be reparameterized via a change of variables. For example, if
we have a function r (t) = ⟨3 cos t, 3 sin t⟩, 0 ≤ t ≤ 2π that parameterizes a circle of radius 3, we can change the parameter
⇀
from t to 4t, obtaining a new parameterization r (t) = ⟨3 cos 4t, 3 sin 4t⟩ . The new parameterization still defines a circle of
⇀
radius 3, but now we need only use the values 0 ≤ t ≤ π/2 to traverse the circle once.
Suppose that we find the arc-length function s(t) and are able to solve this function for t as a function of s . We can then
reparameterize the original function r (t) by substituting the expression for t back into r (t) . The vector-valued function is
⇀ ⇀
now written in terms of the parameter s . Since the variable s represents the arc length, we call this an arc-length
parameterization of the original function r (t) . One advantage of finding the arc-length parameterization is that the distance
⇀
traveled along the curve starting from s = 0 is now equal to the parameter s . The arc-length parameterization also appears in
the context of curvature (which we examine later in this section) and line integrals.
b. ⇀
r (t) = ⟨t + 3, 2t − 4, 2t⟩, t ≥3
Solution
a. First we find the arc-length function using Equation 17:
t
⇀
s(t) =∫ ∥ r '(u)∥ du
a
t −−−−−−−−−−−−−−−−−−
2 2
=∫ √ (−4 sin u ) + (4 cos u ) du
0
t
− −−− −− −−−− −− −−−−
=∫ √ 16 sin2 u + 16 cos2 u du
=∫ 4 du = 4t,
0
b. which gives the relationship between the arc length s and the parameter t as s = 4t; so, t = s/4 . Next we replace the
variable t in the original function r (t) = 4 cos t ^i + 4 sin t ^j with the expression s/4 to obtain
⇀
⇀
s s
^ ^
r (s) = 4 cos( ) i + 4 sin( ) j.
4 4
s becomes s/4 ≥ 0 , or s ≥ 0 .
c. The arc-length function is given by Equation 17:
t
⇀
s(t) =∫ ∥ r '(u)∥ du
a
=∫ ∥⟨1, 2, 2⟩∥ du
3
t
−−−−−− −−−−
2 2 2
=∫ √1 +2 +2 du
3
=∫ 3 du
3
= 3t − 9.
Therefore, the relationship between the arc length s and the parameter t is s = 3t − 9 , so t = s
3
+3 . Substituting this
into the original function r (t) = ⟨t + 3, 2t − 4, 2t⟩ yields
⇀
⇀
s s s s 2s 2s
r (s) = ⟨( + 3) + 3, 2 ( + 3) − 4, 2 ( + 3)⟩ = ⟨ + 6, + 2, + 6⟩.
3 3 3 3 3 3
Exercise 2
Find the arc-length function for the helix
⇀
r (t) = ⟨3 cos t, 3 sin t, 4t⟩, t ≥ 0.
Then, use the relationship between the arc length and the parameter t to find an arc-length parameterization of ⇀
r (t) .
Hint
Start by finding the arc-length function.
Answer
⇀
s = 5t , or t = s/5 . Substituting this into r (t) = ⟨3 cos t, 3 sin t, 4t⟩ gives
⇀
r (s) = ⟨3 cos(
s
5
), 3 sin(
s
5
),
4s
5
⟩, s ≥0 .
Curvature
An important topic related to arc length is curvature. The concept of curvature provides a way to measure how sharply a
smooth curve turns. A circle has constant curvature. The smaller the radius of the circle, the greater the curvature.
Think of driving down a road. Suppose the road lies on an arc of a large circle. In this case you would barely have to turn the
wheel to stay on the road. Now suppose the radius is smaller. In this case you would need to turn more sharply to stay on the
road. In the case of a curve other than a circle, it is often useful first to inscribe a circle to the curve at a given point so that it is
tangent to the curve at that point and “hugs” the curve as closely as possible in a neighborhood of the point (Figure 1). The
curvature of the graph at that point is then defined to be the same as the curvature of the inscribed circle.
∥ dT ∥ ⇀
κ =∥ ∥ = ∥ T'(s)∥. (23)
∥ ds ∥
⇀
As the unit vector T(t) is not changing in length, the curvature could be described as a measure of the speed at which the
direction of the motion is changing. Since the parameter here is s , we have forced the varying speed of travel along the path
out of this measurement.
⇀
The formula in the definition of curvature is not very useful in terms of calculation. In particular, recall that T(t) represents
⇀
the unit tangent vector to a given vector-valued function r (t) , and the formula for T(t) is
⇀
⇀
⇀ r '(t)
T(t) = . (24)
⇀
∥ r '(t)∥
To use the formula for curvature, it is first necessary to express r (t) in terms of the arc-length parameter s , then find the unit
⇀
⇀ ⇀
tangent vector T(s) for the function r (s) , then take the derivative of T(s) with respect to s . This is a tedious process.
⇀
If C is the graph of a function y = f (x) and both y' and y exist, then the curvature κ at point (x, y) is given by
′′
′′
|y |
κ = . (27)
2 3/2
[1 + (y') ]
Proof
The first formula follows directly from the chain rule:
⇀ ⇀
dT dT ds
= ,
dt ds dt
where s is the arc length along the curve C . Dividing both sides by ds/ dt , and taking the magnitude of both sides gives
Since ds/ dt = ∥ r '(t)∥ , this gives the formula for the curvature κ of a curve C in terms of any parameterization of C :
⇀
⇀
∥ T'(t)∥
κ = .
⇀
∥ r '(t)∥
⇀
In the case of a three-dimensional curve, we start with the formulas T(t) = ( r '(t))/∥ r '(t)∥ and ds/ dt = ∥ r '(t)∥ . ⇀ ⇀ ⇀
⇀
Therefore, r '(t) = (ds/ dt)T(t) . We can take the derivative of this function using the scalar product formula:
⇀
2
⇀
d s ⇀ ds ⇀
r '' (t) = T(t) + T'(t).
2
dt dt
2
ds d s ⇀ ⇀ ds 2
⇀ ⇀
= T(t) × T(t) + ( ) T(t) × T'(t).
dt dt2 dt
⇀ ⇀
Since T(t) × T(t) = 0 , this reduces to
2
⇀ ⇀
ds ⇀ ⇀
r '(t) × r ''(t) = ( ) T(t) × T'(t).
dt
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
Since T' is parallel to N , and
is orthogonal to
T N , it follows that T and T' are orthogonal. This means that
⇀ ⇀ ⇀ ⇀ ⇀
∥ T × T'∥ = ∥ T∥∥ T'∥ sin(π/2) = ∥ T'∥, so
2
ds ⇀
⇀ ⇀
∥ r '(t) × r '' (t)∥ = ( ) ∥ T'(t)∥.
dt
⇀
Now we solve this equation for ∥T'(t)∥ and use the fact that ds/ dt = ∥ r '(t)∥ : ⇀
⇀ ⇀
⇀ ∥ r '(t) × r '' (t)∥
∥ T'(t)∥ = .
⇀ 2
∥ r '(t)∥
⇀
⇀ ⇀
∥ T'(t)∥ ∥ r '(t) × r '' (t)∥
κ = = .
⇀ 3
⇀
∥ r '(t)∥ ∥ r '(t)∥
This proves 26. To prove 27, we start with the assumption that curve C is defined by the function y = f (x). Then, we can
define r (t) = x ^i + f (x) ^j + 0 k
⇀ ^
. Using the previous formula for curvature:
⇀ ^ ^
r '(t) = i + f '(x) j
⇀ ^
r '' (t) = f '' (x) j
∣^ ^ ^ ∣
i j k
∣ ∣
⇀ ⇀ ^
r '(t) × r '' (t) =∣1 f '(x) 0 ∣ = f '' (x) k.
∣ ∣
∣0 f '' (x) 0 ∣
Therefore,
⇀ ⇀
∥ r '(t) × r '' (t)∥ |f '' (x)|
κ = =
⇀ 3 2 3/2
∥ r '(t)∥ (1 + [f '(x)] )
Considering what was stated above about the curvature being a measure of the speed at which the direction of motion is
changing at a point, notice that we have normalized this measurement this time by dividing out the actual speed of travel along
the curve at the given instant.
The second alternate formula could be rewritten as
⇀ ⇀
∥ v (t) × a (t)∥
κ = . (29)
⇀ 3
∥ v (t)∥
Remember that the cross product measures the extent to which the two vectors are aligned, returning its largest value when
they are orthogonal. Note also that the component of acceleration that is orthogonal to the velocity is the only part we care
about here, as it is the component that will affect the change of direction of the motion. The component of acceleration that is
aligned with the velocity (and tangent to the curve) will only affect the speed of the motion, which is being ignored in our
⇀
measurement of curvature. Note that one factor of will multiply into the cross product to make the first vector be T(t) .
⇀
1
∥ v (t)∥
Solution
a. This function describes a helix.
⇀
The curvature of the helix at t = (4π)/3 can be found by using 25. First, calculate T(t) :
4 4 3
= ⟨− sin t, cos t, ⟩.
5 5 5
⇀
Next, calculate T'(t) :
⇀ 4 4
T'(t) = ⟨− cos t, − sin t, 0⟩.
5 5
−−−−−−−−−−−−−−−−−−−−−− −
4 4
2
√ (− cos t)2 + (− sin t)2 + 0
5 5
=
−−−−−−−−−−−−−−−−−−−−−
2
√ (−4 sin t)2 + (4 cos t)2 + 3
4/5 4
= = .
5 25
To find the curvature of this graph, we must use 27. First, we calculate y' and y'' :
− −−−− −
2 2 1/2
y = √ 4x − x = (4x − x )
1 2 −1/2 2 −1/2
y' = (4x − x ) (4 − 2x) = (2 − x)(4x − x )
2
1
2 −1/2 2 −3/2
y'' = −(4x − x ) + (2 − x)(− )(4x − x ) (4 − 2x)
2
2 2
4x − x (2 − x)
=− −
(4x − x2 )3/2 (4x − x2 )3/2
2 2
x − 4x − (4 − 4x + x )
=
2 3/2
(4x − x )
4
=− .
2 3/2
(4x − x )
∣ 4 ∣ ∣ 4 ∣
∣− ∣ ∣ ∣
∣ 2 3/2 ∣ ∣ 2 3/2 ∣
(4x − x ) (4x − x )
= =
3/2 2 3/2
(2 − x)
2 −1/2 2
[1 + ((2 − x)(4x − x ) ) ] [1 + ]
2
4x − x
∣ 4 ∣
∣ ∣
∣ 2 3/2 ∣ 2 3/2
(4x − x ) ∣ 4 ∣ (4x − x )
= =∣ ∣⋅
3/2 ∣ 2 3/2 ∣ 8
4x − x
2
+x
2
− 4x + 4 (4x − x )
[ ]
4x − x2
1
= .
2
The curvature of this circle is equal to the reciprocal of its radius. There is a minor issue with the absolute value in 27 ;
however, a closer look at the calculation reveals that the denominator is positive for any value of x.
Exercise 3
Find the curvature of the curve defined by the function
2
y = 3x − 2x + 4
at the point x = 2 .
Hint
Use 27.
Answer
6
κ = ≈ 0.0059
3/2
101
⇀
unit tangent vector T(t) can be calculated by dividing r '(t) by its magnitude. When studying motion in three dimensions,
⇀
two other vectors are useful in describing the motion of a particle along a path in space: the principal unit normal vector and
the binormal vector.
Definition: binormal vectors
⇀ ⇀
Let C be a three-dimensional smooth curve represented by ⇀
r over an open interval I . If T'(t) ≠ 0 , then the principal unit
normal vector at t is defined to be
⇀
⇀ T'(t)
N(t) = . (30)
⇀
∥ T'(t)∥
⇀
where T(t) is the unit tangent vector.
Note that, by definition, the binormal vector is orthogonal to both the unit tangent vector and the normal vector. Furthermore,
⇀
B(t) is always a unit vector. This can be shown using the formula for the magnitude of a cross product:
⇀ ⇀ ⇀
where θ is the angle between T(t) and N(t). Since N(t) is the derivative of a unit vector, property (vii) of the derivative of a
⇀ ⇀
vector-valued function tells us that T(t) and N(t) are orthogonal to each other, so θ = π/2 . Furthermore, they are both unit
⇀ ⇀ ⇀
vectors, so their magnitude is 1. Therefore, ∥T(t)∥∥N(t)∥ sin θ = (1)(1) sin(π/2) = 1 and B(t) is a unit vector.
The principal unit normal vector can be challenging to calculate because the unit tangent vector involves a quotient, and this
quotient often has a square root in the denominator. In the three-dimensional case, finding the cross product of the unit tangent
vector and the unit normal vector can be even more cumbersome. Fortunately, we have alternative formulas for finding these
two vectors, and they are presented in Motion in Space.
Example 4 : Finding the Principal Unit Normal Vector and Binormal Vector
For each of the following vector-valued functions, find the principal unit normal vector. Then, if possible, find the binormal
vector.
1. ⇀ ^ ^
r (t) = 4 cos t i − 4 sin t j
2. ⇀ ^ 2 ^ ^
r (t) = (6t + 2) i + 5 t j − 8t k
Solution
1. This function describes a circle.
⇀
To find the principal unit normal vector, we first must find the unit tangent vector T(t) :
⇀
⇀ r '(t)
T(t) =
⇀
∥ r '(t)∥
^ ^
−4 sin t i − 4 cos t j
= − −−−−−−−−−−−−−−−−− −
2 2
√ (−4 sin t) + (−4 cos t)
^ ^
−4 sin t i − 4 cos t j
=
− −−−−−−−−−−−−− −
√ 16 sin2 t + 16 cos2 t
^ ^
−4 sin t i − 4 cos t j
= −−−−−−−−−−−−−−
2 2
√ 16(sin t + cos t)
^ ^
−4 sin t i − 4 cos t j
=
4
^ ^
= − sin t i − cos t j .
⇀ T'(t)
N(t) =
⇀
∥ T'(t)∥
^ ^
− cos t i + sin t j
= − −−−−−−−−−−−−− −
√ (− cos t)2 + (sin t)2
^ ^
− cos t i + sin t j
= − −−− − −−− −−−
√ cos2 t + sin2 t
^ ^
= − cos t i + sin t j .
Notice that the unit tangent vector and the principal unit normal vector are orthogonal to each other for all values of t :
⇀ ⇀
T(t) ⋅ N(t) = ⟨− sin t, − cos t⟩ ⋅ ⟨− cos t, sin t⟩
= 0.
Furthermore, the principal unit normal vector points toward the center of the circle from every point on the circle. Since
r (t) defines a curve in two dimensions, we cannot calculate the binormal vector.
⇀
⇀
To find the principal unit normal vector, we first find the unit tangent vector T(t) :
^ ^ ^
6 i + 10t j − 8 k
=
−−−−−−−−−−−−−−−
2 2 2
√6 + (10t) + (−8 )
^ ^ ^
6 i + 10t j − 8 k
= −−−−−−−−−−− −
√ 36 + 100 t2 + 64
^ ^ ^
6 i + 10t j − 8 k
= − −−−−−−−−
2
√ 100(t + 1)
^ ^ ^
3 i − 5t j − 4 k
= − − −−−
2
5√ t + 1
3 2 −1/2 2 −1/2 ^
4 2 −1/2
^ ^
= (t + 1) i − t(t + 1 ) j − (t + 1) k.
5 5
⇀ ⇀
Next, we calculate T'(t) and ∥T'(t)∥:
⇀ 3 1 2 −3/2 2 −1/2
1 2 −3/2
4 1 2 −3/2
^ ^ ^
T'(t) = (− )(t + 1) (2t) i − ((t + 1 ) − t( )(t + 1) (2t)) j − (− )(t + 1) (2t) k
5 2 2 5 2
3t 1 4t
^ ^ ^
=− i − j + k
2 3/2 2 3/2 2 3/2
5(t + 1) (t + 1) 5(t + 1)
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2 2
⇀ 3t 1 4t
∥ T'(t)∥ =√ (− ) +( − ) +( )
5(t2 + 1 )3/2 (t2 + 1 )3/2 5(t2 + 1 )3/2
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2
9t 1 16t
=√ + +
25(t2 + 1 )3 (t2 + 1 )3 25(t2 + 1 )3
−−−−−−−−−
25 t2 + 25
=√
2 3
25(t + 1)
−−−−−−−−
1
=√
(t2 + 1 )2
1
= .
2
t +1
⇀ T'(t)
N(t) =
⇀
∥ T'(t)∥
3t 1 4t 2
^ ^ ^
=(− i − j + k)(t + 1)
2 3/2 2 3/2 2
5(t + 1) (t + 1) 5(t + 1 )3/2
3t 5 4t
^ ^ ^
=− i − j + k
2 1/2 2 1/2 2 1/2
5(t + 1) 5(t + 1) 5(t + 1)
^ ^ ^
3t i + 5 j − 4t k
=− .
− − −−−
2
5√ t + 1
Once again, the unit tangent vector and the principal unit normal vector are orthogonal to each other for all values of t :
= 0.
Last, since ⇀
r (t) represents a three-dimensional curve, we can calculate the binormal vector using Equation 31:
⇀ ⇀ ⇀
B(t) = T(t) × N(t)
∣ ^ ^ ^ ∣
i j k
∣ ∣
3 5t 4
∣ ∣
− −
− −−−− − −−−− − −−−−
= ∣ 5 √ t2 + 1 5 √ t2 + 1 5 √ t2 + 1 ∣
∣ ∣
3t 5 4t
∣− − ∣
− − −−− − − −−− − − −−−
∣ 2 2 2
5√ t + 1 5√ t + 1 5√ t + 1 ∣
5t 4t 4 5
^
= (( − )( ) −( − )( − )) i
− − −−− − − −−− − − −−− − − −−−
2 2 2 2
5√ t + 1 5√ t + 1 5√ t + 1 5√ t + 1
3 4t 4 3t
^
− (( − − −−− )( − − −−−) −( − − − −−− )( − − − −−− )) j
√ 2 √ 2 √ 2 √ 2
5 t +1 5 t +1 5 t +1 5 t +1
3 5 5t 3t
^
+ (( )( − ) −( − )( − )) k
− −−−− − −−−− − −−−− − −−−−
5 √ t2 + 1 5 √ t2 + 1 5 √ t2 + 1 5 √ t2 + 1
2 2
−20 t − 20 −15 − 15t
^ ^
= ( ) i +( )k
2 2
25(t + 1) 25(t + 1)
2 2
t +1 t +1
^ ^
= − 20( ) i − 15( )k
2 2
25(t + 1) 25(t + 1)
4 3
^ ^
= − i − k.
5 5
Exercise 4
Find the unit normal vector for the vector-valued function ⇀
r (t) = (t
2 ^ ^
− 3t) i + (4t + 1) j and evaluate it at t = 2 .
Hint
⇀
First, find T(t), then use 30.
Answer
–
⇀ √2
^ ^
N(2) = ( i − j)
2
For any smooth curve in three dimensions that is defined by a vector-valued function, we now have formulas for the unit
⇀ ⇀ ⇀
tangent vector T , the unit normal vector N, and the binormal vector B. The unit normal vector and the binormal vector form a
plane that is perpendicular to the curve at any point on the curve, called the normal plane. In addition, these three vectors form
a frame of reference in three-dimensional space called the Frenet frame of reference (also called the TNB frame) (Figure 2).
⇀ ⇀
Last, the plane determined by the vectors T and N forms the osculating plane of C at any point P on the curve.
radius of curvature of the curve, and it is equal to the reciprocal of the curvature. If this circle lies on the concave side of the
curve and is tangent to the curve at point P , then this circle is called the osculating circle of C at P , as shown in Figure 3.
Figure 3: In this osculating circle, the circle is tangent to curve C at point P and shares the same curvature.
For more information on osculating circles, see this demonstration on curvature and torsion, this article on osculating circles,
and this discussion of Serret formulas.
To find the equation of an osculating circle in two dimensions, we need find only the center and radius of the circle.
Figure 4: We want to find the osculating circle of this graph at the point where x = 1 .
First, let’s calculate the curvature at x = 1 :
1
This gives κ =6 . Therefore, the radius of the osculating circle is given by R =
1
κ
= . Next, we then calculate the
6
coordinates of the center of the circle. When x = 1 , the slope of the tangent line is zero. Therefore, the center of the
osculating circle is directly above the point on the graph with coordinates (1, −1). The center is located at (1, − ). The 5
formula for a circle with radius r and center (h, k) is given by (x − h) + (y − k) = r . Therefore, the equation of the
2 2 2
osculating circle is (x − 1) + (y + ) =
2 5
6
2 1
. The graph and its osculating circle appears in the following graph.
36
6
.
Exercise 5
Find the equation of the osculating circle of the curve defined by the vector-valued function y = 2x 2
− 4x + 5 at x = 1 .
Hint
Use 27 to find the curvature of the graph, then draw a graph of the function around x = 1 to help visualize the circle in
relation to the graph.
Answer
4
κ =
2 3/2
[1+(4x−4) ]
At the point x = 1 , the curvature is equal to 4. Therefore, the radius of the osculating circle is 1
4
.
A graph of this function appears next:
(x − 1 )
2
+ (y −
13
4
)
2
=
1
16
.
Key Concepts
b
The arc-length function for a vector-valued function is calculated using the integral formula s(t) = ∫ ⇀
∥ r '(t)∥ dt .
a
⇀ T'(t)
N(t) = .
⇀
∥ T'(t)∥
⇀ ⇀ ⇀ ⇀
The binormal vector at t is defined as B(t) = T(t) × N(t) , where T(t) is the unit tangent vector.
The Frenet frame of reference is formed by the unit tangent vector, the principal unit normal vector, and the binormal
vector.
The osculating circle is tangent to a curve at a point and has the same curvature as the tangent curve at that point.
Key Equations
Arc length of space curve
b b
−−−−−−−−−−−−−−−−−−−− − ⇀
s =∫ √[f '(t)]2 + [g'(t)]2 + [h'(t)]2 dt = ∫ ∥ r '(t)∥ dt
a a
Arc-length function
t t
−−−−−−−−−−−−−−−−−−−−− − ⇀
2 2 2
s(t) = ∫ √f '(u)) + (g'(u)) + (h'(u)) du or s(t) = ∫ ∥ r '(u)∥ du
a a
Curvature
⇀ ⇀ ⇀
∥ T '(t)∥ ∥ r '(t)× r ''(t)∥ |y''|
κ = ⇀
or κ = or κ =
⇀ 3 2 3/2
∥ r '(t)∥ ∥ r '(t) ∥ [1+(y') ]
Binormal vector
⇀ ⇀ ⇀
B(t) = T(t) × N(t)
Glossary
arc-length function
a function s(t) that describes the arc length of curve C as a function of t
arc-length parameterization
a reparameterization of a vector-valued function in which the parameter is equal to the arc length
binormal vector
a unit vector orthogonal to the unit tangent vector and the unit normal vector
curvature
the derivative of the unit tangent vector with respect to the arc-length parameter
normal plane
a plane that is perpendicular to a curve at any point on the curve
osculating circle
a circle that is tangent to a curve C at a point P and that shares the same curvature
osculating plane
the plane determined by the unit tangent and the unit normal vector
radius of curvature
the reciprocal of the curvature
smooth
curves where the vector-valued function ⇀
r (t) is differentiable with a non-zero derivative
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
dt
Answer:
d ⇀
False, ⇀ ⇀
[u (t) × u (t)] = 0 .
dt
3. The curvature of a circle of radius r is constant everywhere. Furthermore, the curvature is equal to 1/r.
⇀
r '(t)
4. The speed of a particle with a position function ⇀
r (t) is ⇀
.
∥ r '(t)∥
Answer:
False, it is ∥ r '(t)∥ ⇀
1
6. ⇀
r (t) = ⟨e ,
t
−− −− , sec t⟩
√4 − t
Answer:
nπ
t < 4, t ≠
2
Sketch the curves for the following vector equations. Use a calculator if needed.
7. [T] ⇀ 2
r (t) = ⟨t , t ⟩
3
8. [T] ⇀
r (t) = ⟨sin(20t)e
−t
, cos(20t)e
−t
, e
−t
⟩
Answer:
1 9/5/2021 https://math.libretexts.org/@go/page/21010
−−−−−−
10. Intersection of the cone z = √x 2
+y
2
and plane z = y − 4
Answer:
2 2
⇀ t t
r (t) = ⟨t, 2 − , −2 − ⟩
8 8
12. ⇀ 2
u (t) = ⟨t , 2t + 6, 4 t
5
− 12⟩
Answer:
⇀ 4
u '(t) = ⟨2t, 2, 20 t ⟩,
⇀ 3
u '' (t) = ⟨2, 0, 80 t ⟩,
d ⇀ ⇀ 3 4 2
[u '(t) × u (t)] = ⟨−480 t − 160 t , 24 + 75 t , 12 + 4t⟩,
dt
d ⇀ ⇀ 3 4 2
[u (t) × u '(t)] = ⟨480 t + 160 t , −24 − 75 t , −12 − 4t⟩,
dt
d ⇀ ⇀ 8 3 2
[u (t) ⋅ u '(t)] = 720 t − 9600 t + 6t + 4,
dt
4
⇀ 2t 2 20t
unit tangent vector: T(t) = −−−−−−−−−−− −
^
i +
−−−−−−−−−−− −
^
j +
−−−−−−−−−−− −
^
k
√400 t8 + 4 t2 + 4 √400 t8 + 4 t2 + 4 √400 t8 + 4 t2 + 4
13. ∫ ^
(tan(t) sec(t) i − te
3t ^
j ) dt
4
ln t 1
14. ∫ ⇀
u (t) dt, with u (t) = ⟨
⇀
, , sin(
tπ
4
)⟩
1
t √t
Answer:
2 –
ln(4 ) 2(2 + √2)
^ ^ ^
i +2 j + k
2 π
16. ⇀ ^ ^ 2 ^
r (t) = 2 i + t j + 3 t k for 0 ≤t ≤1
Answer:
−−
√37
1 −1
+ sinh 6
12
2
Reparameterize the following functions with respect to their arc length measured from t = 0 in direction of increasing
t.
17. ⇀ ^ ^ ^
r (t) = 2t i + (4t − 5) j + (1 − 3t) k
18. ⇀ ^ ^ ^
r (t) = cos(2t) i + 8t j − sin(2t) k
Answer:
2 9/5/2021 https://math.libretexts.org/@go/page/21010
⇀ 2s ^ 8s ^ 2s ^
r (t(s)) = cos( ) i + j − sin( )k
√65 √65 √65
– t – −t
20. ⇀ ^
r (t) = √2e i + √2e
^ ^
j + 2t k
Answer:
2t
e
2
2t
(e + 1)
21. Find the unit tangent vector, the unit normal vector, and the binormal vector for ⇀ ^ ^ ^
r (t) = 2 cos t i + 3t j + 2sint k.
22. Find the tangential and normal acceleration components with the position vector ⇀ t
r (t) = ⟨cos t, sin t, e ⟩.
Answer:
2t
e
aT = ,
2t
1 +e
−−−−−−−−−−−−−−−−−− −
√2 e2t + 4 e2t sin t cos t + 1
aN =
2t
1 +e
23. A Ferris wheel car is moving at a constant speed v and has a constant radius r. Find the tangential and normal acceleration
of the Ferris wheel car.
24. The position of a particle is given by r (t) = ⟨t , ln t, sin(πt)⟩, where t is measured in seconds and r is measured in
⇀ 2
meters. Find the velocity, acceleration, and speed functions. What are the position, velocity, speed, and acceleration of the
particle at 1 sec?
Answer:
⇀ 1
v (t) = ⟨2t, , π cos(πt)⟩ m/sec,
t
⇀ 1 2 2
a (t) = ⟨2, − , −π sin(πt)⟩ m/sec ,
2
t
−−−−−−−−−−−−−−−−−
speed(t) = √4 t
2
+
1
2
+π
2 2
cos (πt) m/sec ;
t
−−−−−
At t = 1, ⇀
r (1) = ⟨1, 0, 0⟩ m, ⇀
v (1) = ⟨2, −1, π⟩ m/sec, ⇀
a (1) = ⟨2, −1, 0⟩ m/sec2, and speed(1) = √5 + π 2
m/sec
The following problems consider launching a cannonball out of a cannon. The cannonball is shot out of the cannon with
an angle θ and initial velocity v . The only force acting on the cannonball is gravity, so we begin with a constant
⇀
0
acceleration a (t) = −g ^j .
⇀
Answer:
2
⇀
gt
⇀ ^
r (t) = v 0 t − j,
2
2
gt
⇀
r (t) = ⟨v0 (cos θ)t, v0 (sin θ)t, − ⟩ where ⇀
v0 = ∥ v 0 ∥.
2
3 9/5/2021 https://math.libretexts.org/@go/page/21010
27. At what angle do you need to fire the cannonball for the horizontal distance to be greatest? What is the total distance it
would travel?
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
4 9/5/2021 https://math.libretexts.org/@go/page/21010
Exercises for Section 12.1
Introduction to Vector-Valued Functions
1) Give the component functions x = f (t) and y = g(t) for the vector-valued function ⇀ ^ ^
r (t) = 3 sec t i + 2 tan t j .
Answer:
Here we can say that f (t) = 3 sec t, g(t) = 2 tan t
2) Given ⇀ ^ ^
r (t) = 3 sec t i + 2 tan t j , find the following values (if possible).
a. ⇀
r(
π
4
)
b. ⇀
r (π)
c. ⇀
r(
π
2
)
Answer:
4) Evaluate lim (e t^
i +
sin t
t
^
j +e
−t ^
k)
t→0
t→
4
b. r ( )
⇀ π
c. Is r (t) continuous at t =
⇀ π
3
?
d. Graph r (t) . ⇀
Answer:
√2 √2
a. ⟨ 2
,
2
⟩ ,
√3
b. ⟨ , 1
2
⟩,
2
3
is equal to r( π
3
) ,
d.
1 9/5/2021 https://math.libretexts.org/@go/page/21000
6) Given the vector-valued function ⇀
r (t) = ⟨t, t
2
+ 1⟩ , find the following values:
a. lim r (t)
⇀
t→−3
b. r (−3)
⇀
c. Is r (t) continuous at x = −3 ?
⇀
d. r (t + 2) − r (t)
⇀ ⇀
7) Let ⇀ t^ ^ ^
r (t) = e i + sin t j + ln tk . Find the following values:
a. ⇀
r(
π
4
)
b. lim r (t)
π
⇀
t→
4
c. Is ⇀
r (t) continuous at t = π
4
?
Answer:
π
√2
a. ⟨e 4
,
2
, ln(
π
4
) ⟩;
π
√2
b. ⟨e , 4
2
, ln(
π
4
) ⟩;
c. Yes
For exercises 8 - 13, find the limit of the following vector-valued functions at the indicated value of t .
−−−− √t−2
8) lim⟨√t − 3 , t−4
, tan(
π
t
)⟩
t→4
9) lim r (t)
π
⇀
for ⇀ t^ ^ ^
r (t) = e i + sin t j + ln tk
t→
2
Answer:
π
π
⟨e 2
, 1, ln( )⟩
2
10) lim ⟨e
−2t
,
2t+3
3t−1
, arctan(2t)⟩
t→∞
−−−− −
11) lim ⟨t ln(t),
ln t
2
, √ln(t2 )⟩
2 t
t→e
Answer:
2^ 2 ^ ^
2e i + j + 2k
4
e
Answer:
2 9/5/2021 https://math.libretexts.org/@go/page/21000
The limit does not exist because the limit of ln(t − 1) as t approaches infinity does not exist.
15) Domain: ⇀ 2
r (t) = ⟨t , tan t, ln t⟩
Answer:
π
D⇀ = {t | t > 0, t ≠ (2k + 1) , where k is any integer}
r 2
−−−−
16) Domain: ⇀ 2
r (t) = ⟨t , √t − 3 ,
2t+1
3
⟩
17) Domain: ⇀
r (t) = ⟨csc(t),
1
, ln(t − 2)⟩
√t−3
Answer:
D⇀ = {t | t > 3, t ≠ nπ, where n is any integer}
r
Answer:
a. D : (1, ∞)
⇀
r
Answer:
1
D⇀ : [ , 1]
r 2
Answer:
a. r is continuous for all real numbers, i.e., for t ∈ R .
⇀
b. Note that there should be a z on the vertical axis in the cross-section in image (a) below instead of the y.
3 9/5/2021 https://math.libretexts.org/@go/page/21000
22) Produce a careful sketch of the graph of ⇀ 2
r (t) = t
^ ^
i +t j .
In questions 23 - 25, use a graphing utility to sketch each of the vector-valued functions:
23) [T] ⇀
r (t) = 2 cos
2 ^ ^
t i + (2 − √t) j
Answer:
24) [T] ⇀
r (t) = ⟨e
cos(3t)
,e
− sin(t)
⟩
25) [T] ⇀
r (t) = ⟨2 − sin(2t), 3 + 2 cos t⟩
4 9/5/2021 https://math.libretexts.org/@go/page/21000
Answer:
Finding Equations in x and y for the Path Traced out by Vector-Valued Functions
For questions 26-33, eliminate the parameter t , write the equation in Cartesian coordinates, then sketch the graph of
the vector-valued functions.
26) r (t) = 2t^i + t ^j
⇀ 2
(Hint: Let x = 2t and y = t . Solve the first equation for t in terms of x and substitute this result into the second equation.)
2
27) ⇀
r (t) = t
3^ ^
i + 2t j
Answer:
3 −
y = 2 √x , a variation of the cube-root function
5 9/5/2021 https://math.libretexts.org/@go/page/21000
28) ⇀ ^ ^
r (t) = sin t i + cos t j
29) ⇀ ^ ^
r (t) = 3 cos t i + 3 sin t j
Answer:
x
2
+y
2
=9 , a circle centered at (0, 0) with radius 3, and a counterclockwise orientation
30) ⇀
r (t) = ⟨sin t, 4 cos t⟩
31) ⇀ ^ ^
r (t) = 2 sin t i − 3 cos t j
Answer:
2
2 y
x
4
+
9
=1 , an ellipse centered at (0, 0) with intercepts at x = ±2 and y = ±3 , and a clockwise orientation
6 9/5/2021 https://math.libretexts.org/@go/page/21000
32) ⇀ ^ ^
r (t) = tan t i − 2 sec t j
33) ⇀ ^ ^
r (t) = 3 sec t i + 4 tan t j
Answer:
2
2
y
x
9
−
16
=1 , a hyperbola centered at (0, 0) with x -intercepts (3, 0) and (−3, 0), with orientation shown
Answer:
⇀
r (t) = ⟨t, t ⟩
2
, where t increases
36) The line through P and Q where P is (1, 4, −2) and Q is (3, 9, 6)
37) The circle, x 2
+y
2
= 36 , oriented clockwise, with position (−6, 0) at time t = 0 .
7 9/5/2021 https://math.libretexts.org/@go/page/21000
Answer:
⇀ ^ ^
r (t) = −6 cos t i + 6 sin t j
2
y
38) The ellipse, x 2
+ =1 , oriented counterclockwise
36
Answer:
⇀ ^ ^
r (t) = cos t i + 6 sin t j
2
y
39) The hyperbola, −x
2
=1 , top piece is oriented from left-to-right
36
Answer:
⇀ ^ ^
r (t) = tan t i + 6 sec t j
2 2
x y
40) The hyperbola, − =1 , right piece is oriented from bottom-to-top
49 64
Answer:
⇀ ^ ^
r (t) = 7 sec t i + 8 tan t j
41)
Answer:
⇀
a. ^ 4 ^
r 1 (t) = t i + t j for 0 ≤ t ≤ 1
−− ^
⇀ ^ 3
r 2 (t) = −t i + √−t j for −1 ≤ t ≤ 0
b. ⇀ ^ 3
^
r 1 (t) = t i + √t j for 0 ≤ t ≤ 1
⇀ ^ 4 ^
r 2 (t) = −t i + (−t) j for −1 ≤ t ≤ 0
8 9/5/2021 https://math.libretexts.org/@go/page/21000
So a piecewise parameterization of this path is:
^ 3 ^
⇀ t i + √t j , 0 ≤t ≤1
r (t) = {
^ 4 ^
(2 − t) i + (2 − t) j, 1 <t ≤2
42)
43)
Answer:
a. ⇀ ^ ^
r 1 (t) = t i + 0 j for 0 ≤ t ≤ 2
⇀ ^ ^
r 2 (t) = −t i + (2 + t) j for −2 ≤ t ≤ −1
⇀ ^ 3 ^
r 3 (t) = −t i + (−t) j for −1 ≤ t ≤ 0
b. ⇀ ^ 3 ^
r 1 (t) = t i + t j for 0 ≤ t ≤ 1
⇀ ^ ^
r 2 (t) = t i + (2 − t) j for 1 ≤ t ≤ 2
⇀ ^ ^
r 3 (t) = −t i + 0 j for −2 ≤ t ≤ 0
9 9/5/2021 https://math.libretexts.org/@go/page/21000
So a piecewise parameterization of this path is:
⎧t^ 3 ^
i + t j, 0 ≤t ≤1
⎪
⇀
r (t) = ⎨ t ^ ^
i + (2 − t) j , 1 <t ≤2
⎩
⎪
^
(4 − t) i , 2 <t ≤4
44)
Answer:
(50, 0, 0)
46) What is ⇀
lim r (t) ?
t→∞
Answer:
r
48) Eliminate the parameter t to show that z = 5 − where r 2 2
=x +y
2
.
10
49) [T] Let r (t) = cos t^i + sin t^j + 0.3 sin(2t)k
⇀ ^
. Use technology to graph the curve (called the roller-coaster curve) over
the interval [0, 2π). Choose at least two views to determine the peaks and valleys.
Answer:
10 9/5/2021 https://math.libretexts.org/@go/page/21000
50) [T] Use the result of the preceding problem to construct an equation of a roller coaster with a steep drop from the peak and
steep incline from the “valley.” Then, use technology to graph the equation.
51) Use the results of the preceding two problems to construct an equation of a path of a roller coaster with more than two
turning points (peaks and valleys).
Answer:
One possibility is r (t) = cos t^i + sin t^j + sin(4t)k
⇀ ^
. By increasing the coefficient of t in the third component, the
number of turning points will increase.
11 9/5/2021 https://math.libretexts.org/@go/page/21000
a. Graph the curve r (t) = (4 + cos(18t)) cos(t)^i + (4 + cos(18t) sin(t))^j + 0.3 sin(18t)k
⇀ ^
using two viewing
angles of your choice to see the overall shape of the curve.
b. Does the curve resemble a “slinky”?
c. What changes to the equation should be made to increase the number of coils of the slinky?
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) created problems 12, 14, 19, 22, 30-33, 37- 44.
12 9/5/2021 https://math.libretexts.org/@go/page/21000
Exercises for Section 12.2
Taking Derivatives of Vector-Valued Functions
In questions 1 - 10, compute the derivative of each vector-valued function.
3
t
1) ⇀ 3
r (t) = t
^ 2 ^
i + 3t j +
^
k
6
Answer:
⇀′ 2 ^ ^ 1 2 ^
r (t) = 3 t i + 6t i + t k
2
2) ⇀ ^ ^ t ^
r (t) = sin(t) i + cos(t) j + e k
3) ⇀
r (t) = e
−t ^ ^ ^
i + sin(3t) j + 10 √t k . A sketch of the graph is shown here. Notice the varying periodic nature of the graph.
Answer:
⇀′
5
−t ^ ^ ^
r (t) = −e i + 3 cos(3t) j + k
√t
4) ⇀
r (t) = e
t ^ t ^ ^
i + 2e j + k
5) ⇀ ^ ^ ^
r (t) = i + j + k
Answer:
⇀
⇀′
r (t) = ⟨0, 0, 0⟩ = 0
6) ⇀
r (t) = te
t ^ ^ ^
i + t ln(t) j + sin(3t) k
1
7) ⇀
r (t) = ⟨ , arctan(t), ln t ⟩
3
t +1
Answer:
⇀′
−1 1 3
r (t) = ⟨ , , ⟩
2 2
(t + 1) 1 +t t
8) ⇀
r (t) = ⟨tan 2t, sec 2t, sin
2
t⟩
9) ⇀
r (t) = ⟨3, 4 sin(3t), t cos(t)⟩
Answer:
1 9/5/2021 https://math.libretexts.org/@go/page/21003
⇀′
r (t) = ⟨0, 12 cos(3t), cos t − t sin t⟩
10) ⇀
r (t) = t
2 ^
i + te
−2t ^
j − 5e
−4t ^
k
11) a. Describe and sketch the curve represented by the vector-valued function ⇀
r (t) = ⟨6t, 6t − t ⟩
2
.
b. Locate the highest point on the curve ⇀
r (t) = ⟨6t, 6t − t ⟩
2
and give the value of the function at this point.
Answer:
b. r (t) = ⟨18, 9⟩ at t = 3
⇀
12) Find the parametric equations of the tangent line to the curve ⇀ 2
r (t) = ⟨t, t , t⟩ at t = 2 .
13) Find the parametric equations of the tangent line to the curve ⇀ t
r (t) = ⟨e , e
−t
, 0⟩ at t = 0 .
Answer:
x = 1 + t, y = 1 − t, z =0
Answer:
t =0 : t =1 :
⇀ ⇀ ⇀ ⇀
^ 3 ^ ^ ^
r (t) = t i + t j , r (0) = 0 , r (1) = i + j
⇀ ^ 2 ^ ⇀ ^ ⇀ ^ ^
v (t) = i + 3 t j , v (0) = i , v (1) = i + 3 j
⇀
⇀ ^ ⇀ ⇀ ^
a (t) = 6t j , a (0) = 0 , a (1) = 6 j
16) ⇀ ^ ^
r (t) = cos t i + sin 3t j , at t = 0 , at t = π
4
, and at t = π
17) ⇀ ^ ^
r (t) = ln t i + (t − 2) j , at t = 1 and at t = 2
Answer:
2 9/5/2021 https://math.libretexts.org/@go/page/21003
t =1 : t =2 :
⇀ ^ ^ ⇀ ^ ⇀ ^
r (t) = (ln t) i + (t − 2) j , r (1) = − j , r (2) = (ln 2) i
1
⇀ ^ ^ ⇀ ^ ^ ⇀ 1 ^ ^
v (t) = i + j, v (1) = i + j , v (2) = i + j
2
t
⇀
1 ⇀ ⇀
^ ^ 1 ^
a (t) = − i, a (1) = − i , a (2) = − i
2 4
t
In questions 18 - 24, find the velocity, speed, and acceleration of a particle with the given position function. Remember that the speed
is the magnitude of the velocity represented by ∥ v (t)∥ or ∥ r '(t)∥. ⇀ ⇀
18) ⇀
r (t) = e
2t ^ ^
i + sin t j
19) ⇀
r (t) = cos t
3 ^ 3 ^
i + sin t j
Answer:
⇀ 2 3 ^ 2 3 ^ ⇀ 2 ⇀ 3 4 3 ^ 3 4 3 ^
v (t) = −3 t sin t i + 3 t cos t j , speed(t) = ∥ v (t)∥ = 3 t , a (t) = (−6t sin t − 9t cos t ) i + (6t cos t − 9 t sin t ) j
20) ⇀ t
r (t) = ⟨e , e
−t
, 0⟩
21) ⇀
r (t) = ⟨t + cos t, t − sin t⟩
Answer:
⇀ ⇀ −−−−−−−−−−−−− − ⇀
v (t) = ⟨1 − sin t, 1 − cos t⟩, speed(t) = ∥ v (t)∥ = √3 − 2(sin t + cos t) , a (t) = ⟨− cos t, sin t⟩
2t − 1
22) ⇀
r (t) =
^ 2 ^
i + ln(1 − 4 t ) j
2t + 1
23) ⇀ ^ ^ ^
r (t) = cos 3t i + sin 3t j + 0.5t k
Answer:
⇀ ^ ^ ^ ⇀ −−−
− ⇀ ^ ^
v (t) = −3 sin 3t i + 3 cos 3t j + 0.5 k, speed(t) = ∥ v (t)∥ = √9.25 units/sec, a (t) = −9 cos 3t i − 9 sin 3t j
24) ⇀
r (t) = e
−t ^ ^ ^
i + (ln t) j + (sin 7t) k
3 9/5/2021 https://math.libretexts.org/@go/page/21003
a. Find the velocity vector at any time.
b. Find the speed of the particle at time t = 2 sec.
c. Find the acceleration at time t = 2 sec.
Answer:
a. ⇀ ^ ^ 2 ^
v (t) = i + 2t j + 3 t k
−−−
b. √161 units/sec
−−−−−−−−−−−−−−− −−−−−−−−− −
Note that speed(t) = ∥ v (t)∥ = √1
⇀ 2
+ (2t)2 + (3 t2 )2 = √1 + 4 t2 + 9 t4 .
26) A particle travels along the path of an ellipse with the equation ⇀ ^ ^ ^
r (t) = cos t i + 2 sin t j + 0 k . Find the following:
a. Velocity of the particle
Answer:
⇀
v (t) = ⟨− sin t, 2 cos t, 0⟩
Answer:
⇀ √2 –
a (t) = ⟨− , −√2, 0⟩
2
27) Show that if the speed of a particle traveling along a curve represented by a vector-valued function is constant, then the velocity function is
always perpendicular to the acceleration function.
Answer:
⇀
∥ v (t)∥ =k
⇀ ⇀ 2
v (t) ⋅ v (t) =k
d ⇀ ⇀
d
2
( v (t) ⋅ v (t)) = (k ) = 0
dt dt
⇀ ⇀ ⇀ ⇀
v (t) ⋅ v '(t) + v '(t) ⋅ v (t) =0
⇀ ⇀
2 v (t) ⋅ v '(t) =0
⇀ ⇀
v (t) ⋅ v '(t) =0
The last statement implies that the velocity and acceleration are perpendicular or orthogonal.
4 9/5/2021 https://math.libretexts.org/@go/page/21003
a. Velocity
b. Speed
Answer:
−−−−−−−−−−−−−− − −−−−−−−−−−−−−−−−− −
⇀ 4 2 2 2 2 2
∥ v (t)∥ = √sec t + sec t tan t = √(sec t)(sec t + tan t)
c. Acceleration
29) Find the minimum speed of a particle traveling along the curve ⇀
r (t) = ⟨t + cos t, t − sin t⟩ , where . Then also find its
t ∈ [0, 2π)
Answer:
−−−−−−−
–
Min. speed is √3 − 2√2 ≈ 0.41421 when t = π
4
.
−−−− −−−
–
Max. speed is √3 + 2 √2 ≈ 2.41421 when t = 5π
4
.
For questions 30 - 31, consider a particle that moves on a circular path of radius b according to the function
dθ
⇀ ^ ^
r (t) = b cos(ωt) i + b sin(ω) j , where ω is the angular velocity, .
dt
30) Show that the speed of the particle is proportional to the angular velocity.
31) Find the velocity function and show that ⇀
v (t) is always orthogonal to ⇀
r (t) .
Answer:
⇀′ ⇀′
^ ^
r (t) = −bω sin(ωt) i + bω cos(ωt) i . To show orthogonality, note that ⇀
r (t) ⋅ r (t) = 0 .
5 9/5/2021 https://math.libretexts.org/@go/page/21003
33) ⇀
r (t) = t
3 ^ 2 ^
i + 5t j
Answer:
⇀′ ⇀
a. r is not smooth at t = 0 , since r (0) = 0 .
⇀
34) ⇀
r (t) = ⟨5, 2 sin(t), cos(t)⟩
35) ⇀
r (t) = ⟨t
3 2
− 3 t , 7⟩
Answer:
⇀ ⇀
⇀′ ⇀′
a. r is not smooth at t = 0 and t = 2 , since r (0) = 0 and r (2) = 0 .
⇀
c. The motion on the curve reverses along the same path at both t = 0 and t = 2 .
36) ⇀
r (t) = t
2 ^ 3 ^
i + t j − 5e
−4t ^
k
3
t
37) ⇀
r (t) = ⟨ln(t
2
+ 4t + 5), − 4t, 5⟩
3
Answer:
⇀
⇀′
a. r is not smooth at t = −2 , since r (−2) = 0 .
⇀
38) ⇀ ^ ^
r (t) = (5 cos t − cos 5t) i + (5 sin t − sin 5t) j , for 0 ≤ t ≤ 2π
−−−−− −
39) ⇀ 3
r (t) = √t + 9 t
2 ^ 2 ^ ^
i + (t + 12t) j + 7 k
Answer:
a. The domain of ⇀
r is [−9, ∞).
⇀
⇀′
And r is not smooth at t = −6 , since r (−6) = 0 .
⇀
⇀′ ⇀′
The domain of r is (−9, ∞) , since r is undefined at t = −9 .
b. r is smooth on the open intervals (−9, −6) and (−6, ∞) .
⇀
40) ⇀
r (t) = cos
3 ^ ^
t i + sin t j , for 0 ≤ t ≤ 2π
Answer:
a. The domain of ⇀
r is (−∞, ∞) .
⇀′
r (t) = −3(cos
2
. It's domain is also (−∞, ∞) .
^ ^
t)(sin t) i + cos t j
But note that both components have a factor of cos t, so both components will be 0 when cos t = 0 .
⇀ ⇀
⇀′ ⇀′
Therefore, ⇀
r is not smooth at t = π
2
and at t = 3π
2
, since r (
π
2
) = 0 and r (
3π
2
) = 0 . Note then that ⇀
r is not smooth for any
(2n+1)π
odd multiple of π
2
, that is for t = 2
, for any integer value n .
(2n − 1)π (2n + 1)π
b. ⇀
r is smooth on the open intervals ( , ) , for any integer value n .
2 2
(2n + 1)π
c. There is a cusp when t = , for any integer value n .
2
d
41) ⇀ 2
[ r (t )]
dt
Answer:
6 9/5/2021 https://math.libretexts.org/@go/page/21003
d ⇀ 2 3 7
[ r (t )] = ⟨2t, 4 t , −8 t ⟩
dt
d
42) [t
2 ⇀
⋅ s (t)]
dt
d
43) ⇀ ⇀
[ r (t) ⋅ s (t)]
dt
Answer:
d ⇀ ⇀ t 3 2 t 4
[ r (t) ⋅ s (t)] = sin t + 2te − 4 t cos t + t cos t + t e + t sin t
dt
⇀′ ⇀′′
44) Find r (t) ⋅ r
⇀
(t) f or r (t) = −3 t
5 ^ ^ 2 ^
i + 5t j + 2 t k .
Answer:
⇀′ ⇀′′ 7
r (t) ⋅ r (t) = 900 t + 16t
45) Given ⇀ ^ ^ 2 ^
r (t) = t i + 3t j + t k and u (t) = 4t ^i + t
⇀ 2 ^ 3 ^
j +t k , find d
dt
⇀ ⇀
( r (t) × u (t)) .
d
46) Evaluate ⇀ ⇀
[ u (t) × u '(t)] given u (t) = t
⇀ 2 ^ ^ ^
i − 2t j + k .
dt
Answer:
d ⇀ ⇀ ^ ^ ^
[ u (t) × u '(t)] = 0 i + 2 j + 4t k
dt
1
47) Given ⇀ ^ ^ ^
r (t) = t i + 2 sin t j + 2 cos t k and u (t) = ⇀ ^ ^ ^
i + 2 sin t j + 2 cos t k , find the following:
t
a. ⇀
r (t) × u (t)
⇀
Answer:
⇀ ⇀ 1 1
r (t) × u (t) = ⟨0, 2(cos t) ( − t) , 2(sin t) (t − )⟩
t t
b. d
dt
⇀ ⇀
( r (t) × u (t))
Answer:
d ⇀ ⇀ 1 1 1 1
( r (t) × u (t)) = ⟨0, 2(sin t) (t − ) − 2(cos t) (1 + ) , 2 (sin t) (1 + ) + 2 (cos t) (t − )⟩
dt t 2
t
2
t t
c. Now, use the product rule for the derivative of the cross product of two vectors and show this result is the same as the answer for the
preceding problem.
49) ⇀ ^ ^ ^
r (t) = t i + sin(2t) j + cos(3t) k; t =
π
Answer:
⇀′
r (
π
3
) = ⟨1, 1, 0⟩ is a tangent vector, so a unit tangent vector would be:
1 √2 √2
⟨1, −1, 0⟩ = ⟨ , − , 0⟩
√2 2 2
50) ⇀ ^ ^ 2 ^
r (t) = cos(2t) i + 2 sin t j + t k; t =
π
51) ⇀
r (t) = 3 e
t ^
i + 2e
−3t ^
j + 4e
2t ^
k; t = ln(2)
Answer:
⇀′
r (ln(2)) = ⟨6, −
3
4
, 32⟩ is a tangent vector, so a unit tangent vector would be:
−−−−− −−−−−
1 24 √16969 12 √16969 128 √16969
3
−−−−−−−− ⟨6, − 4
, 32⟩ = ⟨ ,− ,
16969
⟩
√1060.5625 16969 67876
7 9/5/2021 https://math.libretexts.org/@go/page/21003
⇀
For questions 52 - 58, find the unit tangent vector T(t) for the following parameterized curves.
52) ⇀ ^ ^ 2 ^
r (t) = t i + 3t j + t k
53) ⇀ ^ ^ ^
r (t) = 6 i + cos(3t) j + 3 sin(4t) k, 0 ≤ t < 2π
Answer:
⇀ 1
T(t) = ⟨0, −3 sin(3t), 12 cos(4t)⟩
−−−−−−−−−−−−−−−−−−−
2 2
√9 sin (3t) + 144 cos (4t)
54) ⇀
r (t) = ⟨t cos t, t sin t⟩
55) ⇀
r (t) = ⟨t + 1, 2t + 1, 2t + 2⟩
Answer:
⇀
1
T(t) = ⟨1, 2, 2⟩
3
56) ⇀ ^ ^ ^
r (t) = cos t i + sin t j + sin t k, 0 ≤ t < 2π . Two views of this curve are presented here:
1
57) ⇀
r (t) = ⟨t, ⟩ . The graph is shown here:
t
8 9/5/2021 https://math.libretexts.org/@go/page/21003
Answer:
2
⇀ t −1
T(t) = ⟨ , ⟩
−− −−− √t4 +1
√t4 + 1
58) ⇀ ^ ^ ^
r (t) = 3 cos(4t) i + 3 sin(4t) j + 5t k, 1 ≤t ≤2
Answer:
⇀
12 ^ 12 ^ 5 ^
T(t) = − sin(4t) i + cos(4t) j + k
13 13 13
59) A particle travels along the path of a helix with the equation ⇀ ^ ^ ^
r (t) = cos(t) i + sin(t) j + t k . See the graph presented here:
Answer:
⇀
v (t) = ⟨− sin t, cos t, 1⟩
9 9/5/2021 https://math.libretexts.org/@go/page/21003
b. Speed of the particle at any time
c. Acceleration of the particle at any time
Answer:
⇀ ^ ^ ^
a (t) = − cos t i − sin t j + 0 k
1
1
61) ∫ ⇀
r (t) dt , where ⇀
r (t) = ⟨√t,
3
,e
−t
⟩
0
t +1
Answer:
3 ^ ^ 1 ^
i + ln(2) j + (1 − )k
4 e
62) Evaluate ∫ ^ 2 ^
∥t i + t j ∥dt .
0
Answer:
3
1
(10 2 − 1)
3
63) The acceleration function, initial velocity, and initial position of a particle are
⇀ ^ ^
a (t) = −5 cos t i − 5 sin t j ,
⇀ ^ ^
v (0) = 9 i + 2 j , and
⇀ ^
r (0) = 5 i
Find ⇀
v (t) and ⇀
r (t) .
Answer:
⇀ ^ ^
v (t) = (9 − 5 sin t) i + (−3 + 5 cos t) j
⇀ ^ ^
r (t) = (9t + 5 cos t) i + (−3t + 5 sin t) j
1
⇀′
64) Find the antiderivative of ^ ^
r (t) = cos(2t) i − 2 sin t j +
2
^
k that satisfies the initial condition ⇀ ^ ^ ^
r (0) = 3 i − 2 j + k .
1 +t
65) An object starts from rest at point P (1, 2, 0) and moves with an acceleration of ⇀ ^ ^
a (t) = j + 2 k , where ⇀
∥ a (t)∥ is measured in feet per
second per second. Find the location of the object after t = 2 sec.
Contributors:
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is licensed with
a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) created questions 11 - 19.
10 9/5/2021 https://math.libretexts.org/@go/page/21003
Exercises for Section 12.3
1) Given ⇀
r (t) = (3 t
2 ^ ^
− 2) i + (2t − sin t) j ,
a. find the velocity of a particle moving along this curve.
b. find the acceleration of a particle moving along this curve.
Answer:
a. ⇀ ^ ^
v (t) = 6t i + (2 − cos t) i
⇀
b. ^ ^
a (t) = 6 i + sin t i
In questions 2 - 5, given the position function, find the velocity, acceleration, and speed in terms of the parameter t .
2) ⇀
r (t) = e
−t ^ 2 ^ ^
i + t j + tan t k
3) ⇀
r (t) = ⟨3 cos t, 3 sin t, t ⟩
2
Answer:
⇀ ^ ^ ^
v (t) = −3 sin t i + 3 cos t j + 2t k
⇀ ^ ^ ^
a (t) = −3 cos t i − 3 sin t j + 2 k
⇀
−−−− −−
2
Speed(t) = ∥ v (t)∥ = √9 + 4t
4) ⇀
r (t) = t
5 ^ 2 ^ ^
i + (3 t + 2t − 5) j + (3t − 1) k
5) ⇀ ^ ^
r (t) = 2 cos t j + 3 sin t k . The graph is shown here:
Answer:
⇀ ^ ^
v (t) = −2 sin t j + 3 cos t k
⇀ ^ ^
a (t) = −2 cos t j − 3 sin t k
− −−−−−−−−−−− − −−−− −− −−−
⇀ 2 2 2
Speed(t) = ∥ v (t)∥ = √4 sin t + 9 cos t = √4 + 5 cos t
In questions 6 - 8, find the velocity, acceleration, and speed of a particle with the given position function.
6) ⇀
r (t) = ⟨t
2
− 1, t⟩
7) ⇀
r (t) = ⟨e , e
t −t
⟩
Answer:
⇀
v (t) = ⟨e , −e
t −t
⟩ ,
⇀ t −t
a (t) = ⟨e , e ⟩,
⇀
−−− −−−−−
2t −2t
∥ v (t)∥ = √e +e
8) ⇀
r (t) = ⟨sin t, t, cos t⟩ . The graph is shown here:
1 9/5/2021 https://math.libretexts.org/@go/page/21005
9) The position function of an object is given by ⇀ 2
r (t) = ⟨t , 5t, t
2
− 16t⟩ . At what time is the speed a minimum?
Answer:
t =4
10) Let r (t) = r cosh(ωt) ^i + r sinh(ωt) ^j . Find the velocity and acceleration vectors and show that the acceleration is
⇀
proportional to r (t) .
⇀
11) Consider the motion of a point on the circumference of a rolling circle. As the circle rolls, it generates the cycloid
r (t) = (ωt − sin(ωt)) i + (1 − cos(ωt)) j , where ω is the angular velocity of the circle and b is the radius of the circle:
⇀ ^ ^
Find the equations for the velocity, acceleration, and speed of the particle at any time.
Answer:
⇀ ^ ^
v (t) = (ω − ω cos(ωt)) i + (ω sin(ωt)) j
⇀ 2 ^ 2 ^
a (t) = (ω sin(ωt)) i + (ω cos(ωt)) j
−−−−−−−−−−−−−−−−−−−−−−−−
2 2
speed(t) = √(ω − ω cos(ωt)) + (ω sin(ωt))
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2 2 2 2 2
= √ω − 2ω cos(ωt) + ω cos (ωt) + ω sin (ωt)
−−−−−−−−−−−−−
2
= √2 ω (1 − cos(ωt))
12) A person on a hang glider is spiraling upward as a result of the rapidly rising air on a path having position vector
r (t) = (3 cos t) i + (3 sin t) j + t k . The path is similar to that of a helix, although it is not a helix. The graph is shown
⇀ ^ ^ ^ 2
here:
2 9/5/2021 https://math.libretexts.org/@go/page/21005
Find the following quantities:
a. The velocity and acceleration vectors
b. The glider’s speed at any time
Answer:
⇀
−−−− −−
2
∥ v (t)∥ = √9 + 4t
c. The times, if any, at which the glider’s acceleration is orthogonal to its velocity
13) Given that ⇀
r (t) = ⟨e
−5t
sin t, e
−5t
cos t, 4 e
−5t
⟩ is the position vector of a moving particle, find the following quantities:
a. The velocity of the particle
Answer:
⇀ −5t −5t −5t
v (t) = ⟨e (cos t − 5 sin t), −e (sin t + 5 cos t), −20 e ⟩
Answer:
⇀ −5t −5t −5t −5t −5t
a (t) = ⟨e (− sin t − 5 cos t) − 5 e (cos t − 5 sin t), −e (cos t − 5 sin t) + 5 e (sin t + 5 cos t), 100 e ⟩
14) Find the maximum speed of a point on the circumference of an automobile tire of radius 1 ft when the automobile is
traveling at 55 mph.
Answer:
⇀ ^ 1 3 14 ^ 1 3 1 1 ^
r (t) = 0 i + ( t + 4.5t − ) j +( t − t+ ) k
6 3 6 2 3
Projectile Motion
18) A projectile is shot in the air from ground level with an initial velocity of 500 m/sec at an angle of 60° with the horizontal.
a. At what time does the projectile reach maximum height?
Answer:
3 9/5/2021 https://math.libretexts.org/@go/page/21005
44.185 sec
Answer:
t = 88.37 sec
Answer:
t = 88.37 sec
19) A projectile is fired at a height of 1.5 m above the ground with an initial velocity of 100 m/sec and at an angle of 30°
above the horizontal. Use this information to answer the following questions:
a. Determine the maximum height of the projectile.
b. Determine the range of the projectile.
Answer:
The range is approximately 886.29m.
20) A golf ball is hit in a horizontal direction off the top edge of a building that is 100 ft tall. How fast must the ball be
launched to land 450 ft away?
21) A projectile is fired from ground level at an angle of 8° with the horizontal. The projectile is to have a range of 50 m. Find
the minimum velocity (speed) necessary to achieve this range.
Answer:
v = 42.16 m/sec
22) Prove that an object moving in a straight line at a constant speed has an acceleration of zero.
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
4 9/5/2021 https://math.libretexts.org/@go/page/21005
Exercises for Section 12.4
Determining Arc Length
In questions 1 - 5, find the arc length of the curve on the given interval.
1) ⇀
r (t) = t
2 ^ 2 ^
i + (2 t + 1) j , 1 ≤t ≤3
Answer:
–
8 √5 units
2) ⇀
r (t) = t
2 ^ ^
i + 14t j , 0 ≤t ≤7 . This portion of the graph is shown here:
3) ⇀
r (t) = ⟨t
2
+ 1, 4 t
3
+ 3⟩, −1 ≤ t ≤ 0
Answer:
1
54
(37
3/2
− 1) units
4) ⇀
r (t) = ⟨2 sin t, 5t, 2 cos t⟩, 0 ≤t ≤π . This portion of the graph is shown here:
5) ⇀
r (t) = ⟨e
−t cos t
,e
−t sin t
⟩ over the interval [0, π
2
. Here is the portion of the graph on the indicated interval:
]
6) Set up an integral to represent the arc length from t = 0 to t = 2 along the curve traced out by ⇀ 4
r (t) = ⟨t, t ⟩. Then use
technology to approximate this length to the nearest thousandth of a unit.
√3
7) Find the length of one turn of the helix given by ⇀
r (t) =
1
2
^
cos t i +
1
2
^
sin t j +
2
^
tk .
1 9/5/2021 https://math.libretexts.org/@go/page/21007
Answer:
Length = 2π units
Answer:
6π units
10) Set up an integral to find the circumference of the ellipse with the equation ⇀ ^ ^ ^
r (t) = cos t i + 2 sin t j + 0 k .
–
11) Find the length of the curve ⇀ t
r (t) = ⟨√2t, e , e
−t
⟩ over the interval 0 ≤ t ≤ 1 . The graph is shown here:
Answer:
(e −
1
e
) units
Solution:
⇀′ ^ ^
r (t) = −aω sin(ωt) i + bω cos(ωt) j
−−−−−−−−−−−−−−−−−−−−−−−
⇀′ 2 2 2 2 2 2
∥ r (t)∥ = √a ω sin (ωt) + b ω cos (ωt)
⇀′ ^ ^
⇀ r (t) −aω sin(ωt) i + bω cos(ωt) j
T(t) = = −−−−−−−−−−−−−−−−−−−−−−−
⇀′
∥ r (t)∥ 2
√a2 ω2 sin (ωt) + b2 ω2 cos2 (ωt)
^ ^
⇀ bω j bω j
T(0) = −−−− =
2
√(bω) |bω|
⇀
If bω > 0, ^
T(0) = j , and if ^
bω < 0, T (0) = −j
Answer:
⇀ ⇀
If bω > 0, ^
T(0) = j , and if ^
bω < 0, T(0) = − j
⇀ ⇀
If a > 0, ^
N(0) = − i , and if ^
a < 0, N(0) = i
⇀
14) Given ⇀ ^ ^
r (t) = a cos(ωt) i + b sin(ωt) j , find the binormal vector B(0).
⇀
15) Given ⇀ t t
r (t) = ⟨2 e , e cos t, e sin t⟩
t
, determine the unit tangent vector T(t) .
2 9/5/2021 https://math.libretexts.org/@go/page/21007
Answer:
⇀ 2 cos t − sin t cos t + sin t
T(t) = ⟨ , , ⟩
– – –
√6 √6 √6
– – –
√6 √6 √6
=⟨ , (cos t − sin t), (cos t + sin t)⟩
3 6 6
⇀ ⇀
16) Given ⇀ t t
r (t) = ⟨2 e , e cos t, e sin t⟩
t
, find the unit tangent vector T(t) evaluated at t = 0 , T(0).
⇀
17) Given ⇀ t t
r (t) = ⟨2 e , e cos t, e sin t⟩
t
, determine the unit normal vector N(t).
Answer:
⇀ √2 √2
N(t) = ⟨0, − (sin t + cos t), (cos t − sin t)⟩
2 2
⇀ ⇀
18) Given ⇀ t t
r (t) = ⟨2 e , e cos t, e sin t⟩
t
, find the unit normal vector N(t) evaluated at t = 0 , N(0).
Answer:
⇀ √2 √2
N(0) = ⟨0, − , ⟩
2 2
⇀
19) Given ⇀ ^ 2 ^ ^
r (t) = t i + t j + t k , find the unit tangent vector T(t) . The graph is shown here:
Answer:
⇀ 1
T(t) = < 1, 2t, 1 >
−− − −−−
√4 t2 + 2
⇀ ⇀
20) Find the unit tangent vector T(t) and unit normal vector N(t) at t =0 for the plane curve ⇀ 3
r (t) = ⟨t
2
− 4t, 5 t − 2⟩ .
The graph is shown here:
⇀
21) Find the unit tangent vector T(t) for ⇀ ^ 2 ^ ^
r (t) = 3t i + 5 t j + 2t k .
Answer:
⇀ 1
^ ^ ^
T(t) = −−−−−−− − (3 i + 10t j + 2 k)
√100 t2 + 13
3 9/5/2021 https://math.libretexts.org/@go/page/21007
22) Find the principal normal vector to the curve ⇀
r (t) = ⟨6 cos t, 6 sin t⟩ at the point determined by t = . π
⇀
23) Find T(t) for the curve ⇀
r (t) = (t
3 ^ 2 ^
− 4t) i + (5 t − 2) j .
Answer:
⇀ 1
2 ^ ^
T(t) = ((3 t − 4) i + 10t j )
−−−−−−−−−−− −
√9 t4 + 76 t2 + 16
⇀
24) Find N(t) for the curve ⇀
r (t) = (t
3 ^ 2 ^
− 4t) i + (5 t − 2) j .
⇀
25) Find the unit tangent vector T(t) for ⇀
r (t) = ⟨2 sin t, 5t, 2 cos t⟩ .
Answer:
⇀ 2 √29 5 √29 2 √29
T(t) = ⟨ cos t, , − sin t⟩
29 29 29
⇀
26) Find the unit normal vector N(t) for ⇀
r (t) = ⟨2 sin t, 5t, 2 cos t⟩ .
Answer:
⇀
N(t) = ⟨− sin t, 0, − cos t⟩
Answer:
3s 4s
Arc-length function: s(t) = 5t ; The arc-length parameterization of ⇀
r (t) : ⇀
r (s) = (3 −
^
) i +
^
j
5 5
29) Parameterize the curve using the arc-length parameter s , at the point at which t = 0 for ⇀ t ^ t ^
r (t) = e sin t i + e cos t j
Answer:
⇀
s s s s
^ ^
r (s) = (1 + ) sin(ln(1 + )) i + (1 + ) cos(ln(1 + )) j
– – – –
√2 √2 √2 √2
4 9/5/2021 https://math.libretexts.org/@go/page/21007
31) Find the x-coordinate at which the curvature of the curve y = 1/x is a maximum value.
Answer:
The maximum value of the curvature occurs at x = 1 .
4
2
x at the point x = 2 .
Answer:
1
3
3
x at the point x = 1 .
Answer:
49.477
κ ≈
(17 + 144t2 )3/2
Answer:
5 9/5/2021 https://math.libretexts.org/@go/page/21007
1
2 √2
Answer:
The curvature approaches zero.
Answer:
y = 6x + π and x + 6y = 6π
Answer:
π
x + 2z =
2
3
).
Answer:
4 4
a b
4 2 4 2 3/2
(b x +a y )
Answer:
10 √10
48) Find the radius of curvature of the hyperbola xy = 1 at point (1, 1).
Answer:
1 −− −−
[4 √17 + ln(4 + √17)] units ≈ 4.64678 units
4
Answer:
The curvature is decreasing over this interval.
6 9/5/2021 https://math.libretexts.org/@go/page/21007
The surface of a large cup is formed by revolving the graph of the function y = 0.25x 1.6
from x = 0 to x = 5 about the y -axis
(measured in centimeters).
52) [T] Use technology to graph the surface.
53) Find the curvature κ of the generating curve as a function of x.
Answer:
30
κ =
3/2
2/5 6/5
x (25 + 4 x )
3/2
4
25x2/5 (1 + x6/5 )
25
6
=
3/2
1 3/2
2/5 6/5
25 x ( ) [25 + 4 x ]
25
6
=
25 3/2
2/5 6/5
x [25 + 4 x ]
125
30
=
3/2
2/5
x (25 + 4 x6/5 )
Contributors:
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) created question 6.
7 9/5/2021 https://math.libretexts.org/@go/page/21007
Exercises for Section 12.5
Finding Components of Acceleration & Kepler's Laws
1) Find the tangential and normal components of acceleration for ⇀
r (t) = t
2 ^ ^
i + 2t j when t = 1 .
Answer:
– –
a⇀ = √2, a⇀ = √2
T N
3) ⇀ t
r (t) = ⟨e cos t, e sin t, e ⟩
t t
. The graph is shown here:
Answer:
– t – t
a⇀ = √3e , a⇀ = √2e
T N
–
4) ⇀
r (t) = ⟨
2
3
(1 + t)
3/2
,
2
3
(1 − t)
3/2
, √2t⟩
3
t
5) ⇀
r (t) = ⟨2t, t ,
2
⟩
3
Answer:
a⇀ = 2t, a⇀ = 2
T N
6) ⇀
r (t) = t
2 ^ 2 ^ 3 ^
i +t j +t k
7) ⇀ 2
r (t) = ⟨6t, 3 t , 2 t ⟩
3
Answer:
−−−−−−−−−−
3 2 4
6t + 12t 1 + 4t +t
a⇀ = , a⇀ = 6 √
T
−−−−−−− − N 2 4
√1 + t2 + t4 1 +t +t
8) ⇀ ^ ^
r (t) = 3 cos(2πt) i + 3 sin(2πt) j
1 9/5/2021 https://math.libretexts.org/@go/page/21009
Answer:
2
a⇀ = 0, a⇀ = 12 π
T N
Answer:
2
a⇀ = 0, a⇀ = aω
T N
10) Suppose that the position function for an object in three dimensions is given by the equation
⇀ ^ ^ ^
r (t) = t cos(t) i + t sin(t) j + 3t k .
a. Show that the particle moves on a circular cone.
b. Find the angle between the velocity and acceleration vectors when t = 1.5 .
c. Find the tangential and normal components of acceleration when t = 1.5 .
Answer:
2 2
c. a ⇀
T
= 0.43 m/sec , a⇀ = 2.46 m/sec
N
⇀
11) The force on a particle is given by f (t) = (cos t) ^i + (sin t) ^j . The particle is located at point (c, 0) at t = 0 . The initial
⇀
velocity of the particle is given by v (0) = v ^j . Find the path of the particle of mass m. (Recall, F = m a .)
⇀
0
⇀
Answer:
⇀
− cos t 1
− sin t 1
^ ^
r (t) = ( +c + ) i +( + (v0 + ) t) j
m m
m m
12) An automobile that weighs 2700 lb makes a turn on a flat road while traveling at 56 ft/sec. If the radius of the turn is 70 ft,
what is the required frictional force to keep the car from skidding?
−−−−−
2GM
13) Using Kepler’s laws, it can be shown that v 0 =√ is the minimum speed needed when θ = 0 so that an object will
r0
escape from the pull of a central force resulting from mass M . Use this result to find the minimum speed when θ = 0 for a
space capsule to escape from the gravitational pull of Earth if the probe is at an altitude of 300 km above Earth’s surface.
Answer:
10.94 km/sec
14) Find the time in years it takes the dwarf planet Pluto to make one orbit about the Sun given that a = 39.5 A.U.
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
2 9/5/2021 https://math.libretexts.org/@go/page/21009
Motion in Space
We have now seen how to describe curves in the plane and in space, and how to determine their properties, including their
derivatives, where they are smooth, and their unit tangent vectors. All of this leads to the main goal of this chapter, which is
the description of motion along plane curves and space curves. We now have all the tools we need; in this section, we put these
ideas together and look at how to use them.
⇀ ⇀
ds
Speed = ∥ v (t)∥ = ∥ r '(t)∥ = . (3)
dt
Since r (t) can be in either two or three dimensions, these vector-valued functions can have either two or three components. In
⇀
two dimensions, we define r (t) = x(t)^i + y(t)^j and in three dimensions r (t) = x(t)^i + y(t)^j + z(t)k
⇀ ⇀ ^
. Then the velocity,
acceleration, and speed can be written as shown in the following table.
Table 1 : Formulas for Position, Velocity, Acceleration, and Speed
Quantity Two Dimensions Three Dimensions
Position ⇀ ^ ^
r (t) = x(t) i + y(t) j
⇀ ^ ^ ^
r (t) = x(t) i + y(t) j + z(t)k
Velocity ⇀ ^ ^
v (t) = x'(t) i + y'(t) j
⇀ ^ ^ ^
v (t) = x'(t) i + y'(t) j + z'(t)k
Acceleration ⇀ ^ ^
a (t) = x'' (t) i + y'' (t) j
⇀ ^ ^ ^
a (t) = x'' (t) i + y'' (t) j + z'' (t)k
−−−−−−−−−−−−− − −−−−−−−−−−−−−−−−−−−−− −
Speed ⇀ 2
∥ v (t)∥ = √(x'(t)) + (y'(t))
2 ⇀ 2 2
∥ v (t)∥ = √(x'(t)) + (y'(t)) + (z'(t))
2
2
t
= √ (2t) + (− − −−−−)
√ 5 − t2
−−−−−−−−−−
2
2
t
= √ 4t +
2
5 −t
−−−−−−−−−
2 4
21 t − 4t
=√ .
2
5 −t
−−−− −
2. The graph of ⇀
r (t) = t
2^ 2 ^
i + √5 − t j is a portion of a parabola (Figure 1).
−−−− −−−^ –^
When t = 1 , ⇀
r (1) = (1 )
2^ 2
i + √5 − (1) j =
^
i + √4 j =
^ ^
i +2j .
Notice that the velocity vector is tangent to the path, as is always the case.
Figure 1: This graph depicts the velocity vector at time t = 1 for a particle moving in a parabolic path.
3. To find the parametric equations of the tangent line, we need the point at which it is tangent to the curve and a direction
vector for the line. The point is just what we found above, (1, 2). And it turns out that we can use the velocity vector as
a direction vector for the tangent line. This is always true, unless the velocity is the zero vector at this point.
8
^
j. This is the direction vector for this tangent line so we can write the parametric
equations of the tangent line as:
5
y =2− t
8
z =0
⇀ 5
^ ^
L(t) = (1 + 2t) i + (2 − t) j . (6)
8
Exercise 1
A particle moves in a path defined by the vector-valued function r (t) = (t − 3t) ^i + (2t − 4) ^j + (t + 2) k
⇀ 2 ^
, where t
measures time in seconds and where distance is measured in feet. Find the velocity, acceleration, and speed as functions of
time.
Hint
Use Equations 1, 2, and 3.
Answer
⇀ ⇀′ ^ ^ ^
v (t) = r (t) = (2t − 3) i + 2 j + k
⇀ ⇀ ^
a (t) = v '(t) = 2 i
−−−−−−−−−−−−−−− − −−−−−−−−− −
⇀ 2 2 2 2
|| r '(t)|| = √ (2t − 3 ) +2 +1 = √ 4 t − 12t + 14 (7)
The units for velocity and speed are feet per second, and the units for acceleration are feet per second squared.
To gain a better understanding of the velocity and acceleration vectors, imagine you are driving along a curvy road. If you do
not turn the steering wheel, you would continue in a straight line and run off the road. The speed at which you are traveling
when you run off the road, coupled with the direction, gives a vector representing your velocity, as illustrated in Figure 2.
Figure 2 : At each point along a road traveled by a car, the velocity vector of the car is tangent to the path traveled by the car.
However, the fact that you must turn the steering wheel to stay on the road indicates that your velocity is always changing
(even if your speed is not) because your direction is constantly changing to keep you on the road. As you turn to the right, your
acceleration vector also points to the right. As you turn to the left, your acceleration vector points to the left. This indicates that
your velocity and acceleration vectors are constantly changing, regardless of whether your actual speed varies (Figure 3).
Projectile Motion
Now let’s look at an application of vector functions. In particular, let’s consider the effect of gravity on the motion of an object
as it travels through the air, and how it determines the resulting trajectory of that object. In the following, we ignore the effect
of air resistance. This situation, with an object moving with an initial velocity but with no forces acting on it other than gravity,
is known as projectile motion. It describes the motion of objects from golf balls to baseballs, and from arrows to cannonballs.
First we need to choose a coordinate system. If we are standing at the origin of this coordinate system, then we choose the
positive y -axis to be up, the negative y -axis to be down, and the positive x-axis to be forward (i.e., away from the thrower of
the object). The effect of gravity is in a downward direction, so Newton’s second law tells us that the force on the object
⇀ ⇀
resulting from gravity is equal to the mass of the object times the acceleration resulting from gravity, or F = m a , where F
g
⇀
g
represents the force from gravity and a = −g ^j represents the acceleration resulting from gravity at Earth’s surface. The value
⇀
of g in the English system of measurement is approximately 32 ft/sec2 and it is approximately 9.8 m/sec2 in the metric system.
This is the only force acting on the object. Since gravity acts in a downward direction, we can write the force resulting from
⇀
gravity in the form F = −mg ^j , as shown in Figure 4.
g
⇀ ^
m a = −mg j
⇀ ^
a = −g j .
⇀
for some constant vector C . To determine the value of this vector, we can use the velocity of the object at a fixed time, say at
1
⇀ ⇀
time t = 0 . We call this velocity the initial velocity: ⇀
v (0) = v 0
⇀
. Therefore, ⇀ ^ ⇀
v (0) = −g(0) j + C1 = v 0 and C 1
⇀
= v0 . This
gives the velocity vector as v (t) = −gt ^j + v .
⇀ ⇀
0
⇀ ^ ⇀
s (t) = ∫ −gt j + v 0 dt
1 ⇀
2 ^ ⇀
=− gt j + v 0 t + C2
2
⇀ ⇀
with another unknown constant vector C . To determine the value of C , we can use the position of the object at a given time,
2 2
say at time t = 0. We call this position the initial position: s (0) = s . Therefore, ⇀ ⇀
0
⇀
⇀
s (0) = −(1/2)g(0 )
2 ^ ⇀ ⇀
j + v 0 (0) + C2 = s 0 . This gives the position of the object at any time as
⇀ 2 ^ ⇀ ⇀
s (t) = −12gt j + v0 t + s 0 . (11)
Let’s take a closer look at the initial velocity and initial position. In particular, suppose the object is thrown upward from the
origin at an angle θ to the horizontal, with initial speed v . How can we modify the previous result to reflect this scenario?
⇀
0
First, we can assume it is thrown from the origin. If not, then we can move the origin to the point from where it is thrown.
⇀
Therefore, s = 0 , as shown in Figure 5.
⇀
0
Figure 5: Projectile motion when the object is thrown upward at an angle θ. The horizontal motion is at constant velocity and
the vertical motion is at constant acceleration.
We can rewrite the initial velocity vector in the form ⇀
v0
^ ^
= v0 cos θ i + v0 sin θ j . Then the equation for the position function
s (t) becomes
⇀
⇀
1 2 ^ ^ ^
s (t) = − gt j + v0 t cos θ i + v0 t sin θ j
2
1 2
^ ^ ^
= v0 t cos θ i + v0 t sin θ j − gt j
2
1
^ 2 ^
= v0 t cos θ i + ( v0 t sin θ − gt ) j .
2
time t . The maximum value of the horizontal distance (measured at the same initial and final altitude) is called the range R .
The coefficient of ^j represents the vertical component of s (t) and is the altitude of the object at time t . The maximum value
⇀
⇀
1 2
^ ^
s (t) = v0 t cos θ i + ( v0 t sin θ − gt ) j (12)
2
ft ft
with θ = 30 , g = 32
∘
2
, and v
0 = 600
2
. Then the position equation becomes
sec sec
⇀ ∘ ∘
1 2
^ ^
s (t) = 600t(cos 30 ) i + (600t sin 30 − (32)t ) j
2
–^ 2 ^
= 300t√3 i + (300t − 16 t ) j
a. The cannonball reaches its maximum height when the vertical component of its velocity is zero, because the cannonball
is neither rising nor falling at that point. The velocity vector is
⇀ ⇀′
v (t) = s (t)
–^ ^
= 300 √3 i + (300 − 32t) j
Therefore, the vertical component of velocity is given by the expression 300 − 32t. Setting this expression equal to zero
and solving for t gives t = 9.375 sec. The height of the cannonball at this time is given by the vertical component of the
position vector, evaluated at t = 9.375.
⇀ –^ 2 ^ ^ ^
s (9.375) = 300(9.375)√3 i + (300(9.375) − 16(9.375 ) ) j = 4871.39 i + 1406.25 j
Therefore, the maximum height of the cannonball is 1406.39 ft above the cannon, or 1506.39 ft above sea level.
2
300t − 16t = −100
2
16 t − 300t − 100 = 0
2
4t − 75 − 25 = 0
−−−−−−
2
75 ± √(−75) − 4(4)(−25)
t =
2(4)
−−−−
75 ± √6025
=
8
−−−
75 ± 5 √241
=
8
The positive value of t that solves this equation is approximately 19.08. Therefore, the cannonball hits the water after
approximately 19.08 sec.
c. To find the distance out to sea, we simply substitute the answer from part (b) into s (t) : ⇀
⇀ –^ 2 ^
s (19.08) = 300(19.08)√3 i + (300(19.08) − 16(19.08 ) ) j
^ ^
= 9914.26 i − 100.7424 j
Therefore, the ball hits the water about 9914.26 ft away from the base of the cliff. Notice that the vertical component of
the position vector is very close to −100, which tells us that the ball just hit the water. Note that 9914.26 feet is not the
true range of the cannon since the cannonball lands in the ocean at a location below the cannon. The range of the cannon
would be determined by finding how far out the cannonball is when its height is 100 ft above the water (the same as the
altitude of the cannon).
Exercise 2
An archer fires an arrow at an angle of 40° above the horizontal with an initial speed of 98 m/sec. The height of the archer
is 171.5 cm. Find the horizontal distance the arrow travels before it hits the ground.
Hint
The equation for the position vector needs to account for the height of the archer in meters.
Answer
967.15 m
One final question remains: In general, what is the maximum distance a projectile can travel, given its initial speed? To
determine this distance, we assume the projectile is fired from ground level and we wish it to return to ground level. In other
words, we want to determine an equation for the range. In this case, the equation of projectile motion is
⇀
1 2
^ ^
s = v0 t cos θ i + ( v0 t sin θ − gt ) j . (13)
2
Setting the second component equal to zero and solving for t yields
1
2
v0 t sin θ − gt =0
2
1
t ( v0 sin θ − gt) = 0
2
2 v0 sin θ
Therefore, either t =0 or t = . We are interested in the second value of t , so we substitute this into ⇀
s (t) , which
g
gives
⇀
2 v0 sin θ 2 v0 sin θ 2 v0 sin θ 1 2 v0 sin θ
^ ^
s ( ) = v0 ( ) cos θ i + ( v0 ( ) sin θ − g( ) ) j
g g g 2 g
2
2v sin θ cos θ
0
^
=( ) i
g
2
v sin 2θ
0
^
= i.
g
The only variable in this expression is θ . To maximize the distance traveled, take the derivative of the coefficient of i with
respect to θ and set it equal to zero:
2
d v sin 2θ
0
( ) =0
dθ g
2
2v cos 2θ
0
=0
g
∘
θ = 45
This value of θ) is the smallest positive value that makes the derivative equal to zero. Therefore, in the absence of air
resistance, the best angle to fire a projectile (to maximize the range) is at a 45° angle. The distance it travels is given by
∘ 2 ∘ 2
2 v0 sin 45 v sin 90 v
⇀ 0 0
^ ^
s ( ) = i = i (15)
g g g
2
v
Therefore, the range for an angle of 45° is g
0
units.
Key Concepts
⇀′
If r (t) represents the position of an object at time t, then r (t) represents the velocity and
⇀ ⇀
r ''(t) represents the
acceleration of the object at time t. The magnitude of the velocity vector is speed.
Projectile motion can be represented by the vector-valued function
⇀
1 2
^ ^
r (t) = v0 t cos θ i + ( v0 t sin θ − gt ) j (16)
2
Key Equations
Velocity
⇀ ⇀
v (t) = r '(t)
Acceleration
⇀ ⇀ ⇀
a (t) = v '(t) = r ''(t)
Speed
ds
⇀ ⇀
v(t) = || v (t)|| = || r '(t)|| =
dt
Projectile Motion
Glossary
acceleration vector
the second derivative of the position vector
projectile motion
motion of an object with an initial velocity but no force acting on it other than gravity
velocity vector
the derivative of the position vector
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Edited by Paul Seeburger
Paul Seeburger added finding point (1, 2) when t = 1 and added part 3 (finding the equations of the tangent line) in
Example 1.
He also created Figure 1.
Now that we have seen what a vector-valued function is and how to take its limit, the next step is to learn how to differentiate a
vector-valued function. The definition of the derivative of a vector-valued function is nearly identical to the definition of a real-
valued function of one variable. However, because the range of a vector-valued function consists of vectors, the same is true for the
range of the derivative of a vector-valued function.
Definition: Derivative of Vector-Valued Functions
The derivative of a vector-valued function ⇀
r (t) is
⇀ ⇀
r (t + Δt) − r (t)
⇀
r '(t) = lim (1)
Δt→0 Δt
⇀′
provided the limit exists. If r (t) exists, then r (t) is differentiable at t . If r '(t) exists for all t in an open interval (a, b) then
⇀ ⇀
r (t) is differentiable over the interval (a, b) . For the function to be differentiable over the closed interval [a, b], the following two
⇀
and
⇀ ⇀
r (b + Δt) − r (b)
⇀
r '(b) = lim (3)
Δt→0
−
Δt
Graphical Interpretation of the Derivative: Recall that the derivative of a real-valued function can be interpreted as the slope of a
tangent line or the instantaneous rate of change of the function. The derivative of a vector-valued function can be understood to be an
instantaneous rate of change as well; for example, when the function represents the position of an object at a given point in time, the
derivative represents its velocity at that same point in time.
Figure 1
To understand what this derivative represents geometrically, it helps to consider the diagram shown in Figure 1. For the purposes of
this illustration, consider r (t) to the represent position of an object.
⇀
Since Δt is also approaching 0, dividing by it will tend to lengthen the average velocity vector (as long as Δt < 1 ).
The limit gives us the vector ⇀
r '(t) , the velocity of the motion along the curve, which is tangent to the curve at this point.
We now demonstrate taking the derivative of a vector-valued function.
Solution
Let’s use Equation 1:
⇀ ⇀
r (t + Δt) − r (t)
⇀
r '(t) = lim
Δt→0 Δt
^ 2 ^ ^ 2 ^
[(3(t + Δt) + 4) i + ((t + Δt) − 4(t + Δt) + 3) j ] − [(3t + 4) i + (t − 4t + 3) j ]
= lim
Δt→0 Δt
^ ^ 2 2 ^ 2 ^
(3t + 3Δt + 4) i − (3t + 4) i + (t + 2tΔt + (Δt) − 4t − 4Δt + 3) j − (t − 4t + 3) j
= lim
Δt→0 Δt
^ 2 ^
(3Δt) i + (2tΔt + (Δt) − 4Δt) j
= lim
Δt→0 Δt
^ ^
= lim (3 i + (2t + Δt − 4) j )
Δt→0
^ ^
= 3 i + (2t − 4) j
Exercise 1
Use the definition to calculate the derivative of the function ⇀
r (t) = (2 t
2 ^ ^
+ 3) i + (5t − 6) j .
Hint
Use Equation 1.
Answer
⇀ ^ ^
r '(t) = 4t i + 5 j
Notice that in the calculations in Example 1, we could also obtain the answer by first calculating the derivative of each component
function, then putting these derivatives back into the vector-valued function. This is always true for calculating the derivative of a
vector-valued function, whether it is in two or three dimensions. We state this in the following theorem. The proof of this theorem
follows directly from the definitions of the limit of a vector-valued function and the derivative of a vector-valued function.
2. If ⇀ ^ ^ ^
r (t) = f (t) i + g(t) j + h(t) k then
a. ⇀ ^ 2 ^
r (t) = (6t + 8) i + (4 t + 2t − 3) j
b. ⇀ ^ ^
r (t) = 3 cos t i + 4 sin t j
c. ⇀ t ^ t ^
r (t) = e sin t i + e cos t j − e
2t ^
k
Solution
We use Theorem 1 and what we know about differentiating functions of one variable.
a. The first component of
⇀ ^ 2 ^
r (t) = (6t + 8) i + (4 t + 2t − 3) j
b. The first component is f (t) = 3 cos t and the second component is g(t) = 4 sin t . We have f '(t) = −3 sin t and
g'(t) = 4 cos t , so we obtain
⇀ ^ ^
r '(t) = −3 sin t i + 4 cos t j
theorem gives
⇀ t ^ t ^ 2t ^
r '(t) = e (sin t + cos t) i + e (cos t − sin t) j − 2 e k
Exercise 2
Calculate the derivative of the function
⇀ ^ t ^ ^
r (t) = (t ln t) i + (5 e ) j + (cos t − sin t) k.
Hint
Identify the component functions and use Theorem 1.
Answer
⇀ ^ t ^ ^
r '(t) = (1 + ln t) i + 5 e j − (sin t + cos t) k
of time.
The velocity vector v (t) of the object is given by
⇀
⇀ ⇀
ds
Speed = ∥ v (t)∥ = ∥ r '(t)∥ = . (9)
dt
−−⇀
If ⇀
r (t) has a third derivative, we can also define the jerk vector jerk (t) to be
−−⇀
⇀′ ⇀′′′
Jerk = jerk(t) = a (t) = r (t). (11)
Now let's see how this looks in the context of a particular position function.
a. Determine the velocity, speed, acceleration, and jerk as functions of time for this position function.
b. Evaluate each of these functions, including the position function, at times t = 0 sec and t = 2 sec.
c. Sketch a graph of this position function and draw in each of the non-zero vectors from part b on the graph of ⇀
r , starting at the
location of the object on the curve at the corresponding time.
Solution
a. Since ⇀ 2 ^ ^
r (t) = (1 − t ) i + t j , we have
⇀ ⇀′ ^ ^
v (t) = r (t) = −2t i + 1 j ,
−−−−−−−−−−− − −− −−−
2 2 2
speed(t) = ∥v(t)∥ = √ (−2t) + (1 ) = √ 4t + 1 ,
⇀ ⇀′ ^
a (t) = v (t) = −2 i ,
−−⇀ ⇀
jerk(t) = 0
⇀ ^ ^ ^
v (0) = −2(0) i + 1 j = j
−−−−−−−
2 –
speed(0) = √ 4(0 ) + 1 = √1 = 1 unit/sec
⇀ ^
a (0) = −2 i ,
−−⇀ ⇀
jerk(0) = 0
⇀ ^ ^ ^ ^
v (2) = −2(2) i + 1 j = −4 i + j
−−−−−−−
2 −−
speed(2) = √ 4(2 ) + 1 = √17 units/sec
⇀ ^
a (0) = −2 i ,
−−⇀ ⇀
jerk(0) = 0
c. The graph of this curve is shown below in Figure 2. We then drew in and labeled the vectors vecsv(0) , vecsa(0) , vecsv(2) ,
and vecsa(2) .
⇀′
2. f , g and h are all continuous on I , that is, r
′ ′ ′
(t) is defined and continuous on I , and
⇀′ ⇀
3. r (t) ≠ 0 for all values of t in the interval I .
The concept of smoothness is very closely connected to the application of vector-valued functions to motion. If you have ever ridden
rides at an amusement park, you can probably identify some where the ride felt smooth, and others where there are moments during
the ride where it was not smooth. These moments often correspond to points in the motion where the relevant parameterization is not
smooth by the definition above.
To identify open intervals in the domain of ⇀
r on which ⇀
r is smooth, we usually identify values of t for which ⇀
r is not smooth.
In addition to using the definition above to identify these points, it is often apparent from the graph of the vector-valued function
r (t) . A cusp, i.e., a sharp turning point, is a common occurrence at points where a curve is not smooth. In Figure 3 below, you can
⇀
quickly identify points at which the parameterization fails to be smooth by locating cusps in the graph.
parameterization fails to be smooth: a reversal of motion or a momentary pause in the motion. To summarize these events:
If a vector-valued function ⇀
r (t) is not smooth at time t , we will observe that:
1. There is a cusp at the associated point on the graph of r (t) , or ⇀
2. The motion reverses itself at the associated point, causing the motion to travel back along the same path in the opposite
direction, or
3. The motion actually stops and starts up again, with no visual cue, that is, where the curve appears smooth.
Let's consider a couple examples to see how this can look.
a. ⇀
r (t) = (2 t
3
− 3t )
2 ^ 2 ^ ^
i + (t − 2t) j + 2 k
−− −−−
b. ⇀
r (t) = t
3 ^ 2
i + √t − 1 j
^
c. ⇀
r (t) = t
4 ^ 2 ^
i + ln(t + 1) j
d. ⇀
r (t) = (6 cos t − cos(6t))
^ ^
i + (6 sin t − sin(6t)) j , for 0 ≤ t ≤ 2π
Solution
a. First we need to consider the domain of ⇀
r . In this case, D ⇀
r
: (−∞, ∞) .
⇀′
Then we need to find r (t) . Since ⇀
r (t) = (2 t
3 2
− 3t )
^ 2 ^ ^
i + (t − 2t) j + 2 k ,
⇀′ 2 ^ ^
r (t) = (6 t − 6t) i + (2t − 2) j (13)
⇀′
Next we need to consider the domain of r . Here, D ⇀′
r
: (−∞, ∞) .
⇀
Finally we need to determine if there are any values of t in D ⇀
r
where ⇀′
r (t) = 0 .
⇀′
To do this, we set each component of r (t) equal to 0 and solve for t .
2
t − 6t = 0 and 2t − 2 = 0 (14)
t =0 or t =1 t =1 (16)
⇀
Since t = 1 makes both components of ⇀′
r equal 0, we have ⇀′
r (1) = 0 , so we know that ⇀
r is not smooth at t = 1 .
⇀′
Note however that ⇀
r is smooth at t = 0 , because although one of the components of r is 0, the other one is not.
Therefore we can conclude that ⇀
r is smooth on the open intervals:
(−∞, 1) and (1, ∞) (17)
Figure 4 : Plot of ⇀
r (t) = (2t
3 2
− 3t )
^ 2 ^ ^
i + (t − 2t) j + 2 k
b. The domain of ⇀
r is D⇀
r
: (−∞, −1] ∪ [1, ∞) , since t 2
−1 is less than 0 between −1 and 1.
⇀′
−− −−−
Now we calculate r (t) . Since ⇀
r (t) = t
3 ^ 2
i + √t − 1 j
^
, we have
⇀′ 2
t
^ ^
r (t) = 3 t i + − −−−− j (18)
√ t2 − 1
Then, since we cannot have zero in the denominator, t = −1 and t =1 are not in the domain of ⇀′
r . Thus,
D : (−∞, −1) ∪ (1, ∞) .
⇀′
r
⇀
⇀′
Lastly we determine if there are any values of t in D ⇀
r
where r (t) = 0 .
⇀′
Setting each component of r (t) equal to 0 and solve for t we get:
2
t
t =0 and −− −−− =0 (19)
2
√t − 1
t =0 t =0 (20)
⇀′
If t = 0 were in the domain of r , then r would not be smooth there, but since it is not in the domain, we have nothing to
⇀
remove, and we can conclude that r is smooth on the entire domain of its derivative r , that is,
⇀ ⇀′
⇀
r is smooth on the open intervals: (−∞, −1) and (1, ∞). (21)
Observe the two separate smooth pieces of this function in the graph below.
−− −−−
Figure 5 : Plot of ⇀
r (t) = t
3 ^ 2
i + √t − 1 j
^
c.
d
⇀ ⇀
i. [c r (t)] = c r '(t) Scalar multiple
dt
d
⇀ ⇀ ⇀ ⇀
ii. [ r (t) ± u (t)] = r '(t) ± u '(t) Sum and difference
dt
d
⇀ ⇀ ⇀
iii. [f (t) u (t)] = f '(t) u (t) + f (t) u '(t) Scalar product
dt
d ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
iv. [ r (t) ⋅ u (t)] = r '(t) ⋅ u (t) + r (t) ⋅ u '(t) Dot product
dt
d ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
v. [ r (t) × u (t)] = r '(t) × u (t) + r (t) × u '(t) Cross product
dt
d ⇀ ⇀
vi. [ r (f (t))] = r '(f (t)) ⋅ f '(t) Chain rule
dt
⇀ ⇀ ⇀ ⇀
vii. If r (t) ⋅ r (t) = c, then r (t) ⋅ r '(t) = 0 .
Proof
The proofs of the first two properties follow directly from the definition of the derivative of a vector-valued function. The third
property can be derived from the first two properties, along with the product rule. Let u (t) = g(t) ^i + h(t) ^j . Then ⇀
d d
⇀ ^ ^
[f (t) u (t)] = [f (t)(g(t) i + h(t) j )]
dt dt
d
^ ^
= [f (t)g(t) i + f (t)h(t) j ]
dt
d d
^ ^
= [f (t)g(t)] i + [f (t)h(t)] j
dt dt
^ ^
= (f '(t)g(t) + f (t)g'(t)) i + (f '(t)h(t) + f (t)h'(t)) j
⇀ ⇀
= f '(t) u (t) + f (t) u '(t).
= f1 '(t)f2 (t) + f1 (t)f2 '(t) + g1 '(t)g2 (t) + g1 (t)g2 '(t) = f1 '(t)f2 (t) + g1 '(t)g2 (t) + f1 (t)f2 '(t) + g1 (t)g2 '(t)
^ ^ ^ ^ ^ ^ ^ ^
= (f1 ' i + g1 ' j ) ⋅ (f2 i + g2 j ) + (f1 i + g1 j ) ⋅ (f2 ' i + g2 ' j )
⇀ ⇀ ⇀ ⇀
= r '(t) ⋅ u (t) + r (t) ⋅ u '(t).
The proof of property v. is similar to that of property iv. Property vi. can be proved using the chain rule. Last, property vii. follows
from property iv:
d d
⇀ ⇀
[ r (t) ⋅ r (t)] = [c]
dt dt
⇀ ⇀ ⇀ ⇀
r '(t) ⋅ r (t) + r (t) ⋅ r '(t) =0
⇀ ⇀
2 r (t) ⋅ r '(t) =0
⇀ ⇀
r (t) ⋅ r '(t) =0
and
⇀ 2 ^ ^ 3 ^
u (t) = (t − 3) i + (2t + 4) j + (t − 3t) k,
calculate each of the following derivatives using the properties of the derivative of vector-valued functions.
d
a. ⇀ ⇀
[ r (t) ⋅ u (t)]
dt
d
b. ⇀ ⇀
[ u (t) × u '(t)]
dt
Solution
We have ⇀ ^ ^ ^
r '(t) = 6 i + (8t + 2) j + 5 k and u '(t) = 2t ^i + 2 ^j + (3t
⇀ 2 ^
− 3) k . Therefore, according to property iv:
1. d ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
[ r (t) ⋅ u (t)] = r '(t) ⋅ u (t) + r (t) ⋅ u '(t)
dt
^ ^ ^ 2 ^ ^ 3 ^
= (6 i + (8t + 2) j + 5 k) ⋅ ((t − 3) i + (2t + 4) j + (t − 3t) k)
^ 2 ^ ^ ^ ^ 2 ^
+ ((6t + 8) i + (4 t + 2t − 3) j + 5t k) ⋅ (2t i + 2 j + (3 t − 3) k)
2 3
= 6(t − 3) + (8t + 2)(2t + 4) + 5(t − 3t)
2 2
+ 2t(6t + 8) + 2(4 t + 2t − 3) + 5t(3 t − 3)
3 2
= 20 t + 42 t + 26t − 16.
Recall that the cross product of any vector with itself is zero. Furthermore, u ''(t) represents the second derivative of u (t) :
⇀ ⇀
d d
⇀ ⇀ ^ ^ 2 ^ ^ ^
u ''(t) = [ u '(t)] = [2t i + 2 j + (3 t − 3) k] = 2 i + 6t k.
dt dt
Therefore,
d
⇀ ⇀ 2 ^ ^ 3 ^ ^ ^
[ u (t) × u '(t)] = 0 + ((t − 3) i + (2t + 4) j + (t − 3t) k) × (2 i + 6t k)
dt
∣ ^ ^ ^ ∣
i j k
∣ ∣
= ∣ t2 − 3 2t + 4
3
t − 3t ∣
∣ ∣
∣ 2 0 6t ∣
^ 2 3 ^ ^
= 6t(2t + 4) i − (6t(t − 3) − 2(t − 3t)) j − 2(2t + 4) k
2 ^ 3 ^ ^
= (12 t + 24t) i + (12t − 4 t ) j − (4t + 8) k.
Exercise 3
d d
Calculate ⇀ ⇀
[ r (t) ⋅ r '(t)] and ⇀ ⇀
[ u (t) × r (t)] for the vector-valued functions:
dt dt
⇀ ^ ^ 2t ^
r (t) = cos t i + sin t j − e k
⇀ ^ ^ ^
u (t) = t i + sin t j + cos t k ,
Hint
Follow the same steps as in Example 4.
d ⇀ ⇀ 2t ^ 2t ^ ^
[ u (t) × r (t)] = −(e (cos t + 2 sin t) + cos 2t) i + (e (2t + 1) − sin 2t) j + (t cos t + sin t − cos 2t) k
dt
and
–
π 1 √3
⇀ ^ ^
r' ( ) =− i + j.
6 2 2
π ⇀′
π
The graph of this function appears in Figure 6, along with the vectors ⇀
r ( ) and r ( ) .
6 6
Figure 6: The tangent line at a point is calculated from the derivative of the vector-valued function .
⇀
r (t)
π π
Notice that the vector ⇀
r' ( ) is tangent to the circle at the point corresponding to t = . This is an example of a tangent vector to
6 6
the plane curve defined by Equation 22.
Definition: principal unit tangent vector
Let C be a curve defined by a vector-valued function r , and assume that r '(t) exists when t = t A tangent vector r at t = t is
⇀ ⇀
0
⇀
0
any vector such that, when the tail of the vector is placed at point r (t ) on the graph, vector r is tangent to curve C . Vector
⇀
0
⇀
r '(t ) is an example of a tangent vector at point t = t . Furthermore, assume that r '(t) ≠ 0 . The principal unit tangent vector at
⇀ ⇀
0 0
t is defined to be
⇀
⇀ r '(t)
T(t) = , (23)
⇀
∥ r '(t)∥
provided ∥ r '(t)∥ ≠ 0 .
⇀
The unit tangent vector is exactly what it sounds like: a unit vector that is tangent to the curve. To calculate a unit tangent vector, first
find the derivative r '(t). Second, calculate the magnitude of the derivative. The third step is to divide the derivative by its
⇀
magnitude.
Solution
a.
⇀ ^ ^
First step: r '(t) = − sin t i + cos t j
⇀ −−−−−−−−−−−−−− −
2 2
Second step: ∥ r '(t)∥ = √(− sin t) + (cos t) =1
⇀
r '(t) ^ ^
⇀ − sin t i + cos t j
^ ^
Third step: T(t) = = = − sin t i + cos t j
⇀
∥ r '(t)∥ 1
⇀ ^ 2 ^ ^
First step: r '(t) = (6t + 2) i − 12 t j + 6 k
−−−−−−−−−−−−−−−−−−−−
⇀ 2
Second step: ∥ r '(t)∥ = √(6t + 2 )2 + (−12 t2 )2 + 6
−−−−−−−−−−−−−−−−− −
= √144 t4 + 36 t2 + 24t + 40
−−−−−−−−−−−−−−− −
4 2
2 √36 t + 9 t + 6t + 10
b. =
⇀ ^ 2 ^ ^
⇀ r '(t) (6t + 2) i − 12 t j + 6 k
Third step: T(t) = =
⇀ −−−−−−−−−−−−−−− −
∥ r '(t)∥ 4 2
2 √36 t + 9 t + 6t + 10
2
3t + 1 6t 3
^ ^ ^
= i − j + k
−−−−−−−−−−−−−−− − −−−−−−−−−−−−−−− − −−−−−−−−−−−−−−− −
√36 t4 + 9 t2 + 6t + 10 √36 t4 + 9 t2 + 6t + 10 √36 t4 + 9 t2 + 6t + 10
Exercise 4
Find the unit tangent vector for the vector-valued function
⇀ 2 ^ ^ ^
r (t) = (t − 3) i + (2t + 1) j + (t − 2) k.
Hint
Follow the same steps as in Example 5.
Answer
⇀ 2t 2 1
^ ^ ^
T(t) = i + j + k
− − −−−− − − −−−− − − −−−−
√ 4 t2 + 5 √ 4 t2 + 5 √ 4 t2 + 5
^ ^ ^ ^
∫ [f (t) i + g(t) j ] dt = [∫ f (t) dt] i + [∫ g(t) dt] j . (24)
^ ^ ^ ^
∫ [f (t) i + g(t) j ] dt = [∫ f (t) dt] i + [∫ g(t) dt] j . (25)
a a a
^ ^ ^ ^ ^ ^
∫ [f (t) i + g(t) j + h(t) k] dt = [∫ f (t) dt] i + [∫ g(t) dt] j + [∫ h(t) dt] k. (26)
^ ^ ^ ^ ^ ^
∫ [f (t) i + g(t) j + h(t) k] dt = [∫ f (t) dt] i + [∫ g(t) dt] j + [∫ h(t) dt] k. (27)
a a a a
Since the indefinite integral of a vector-valued function involves indefinite integrals of the component functions, each of these
component integrals contains an integration constant. They can all be different. For example, in the two-dimensional case, we can
have
^ ^ ^ ^
∫ [f (t) i + g(t) j ] dt = [∫ f (t) dt] i + [∫ g(t) dt] j
^ ^
= (F (t) + C1 ) i + (G(t) + C2 ) j
^ ^ ^ ^
= F (t) i + G(t) j + C1 i + C2 j
⇀
^ ^
= F (t) i + G(t) j + C
⇀
where C = C 1
^ ^
i + C2 j . Therefore, the integration constants becomes a constant vector.
a. ∫ [(3 t
2 ^ ^ 3 2 ^
+ 2t) i + (3t − 6) j + (6 t + 5 t − 4) k] dt
b. ∫ 2 3 3
[⟨t, t , t ⟩ × ⟨t , t , t⟩] dt
2
c. ∫
^ ^
[sin 2t i + tan t j + e
−2t ^
k] dt
0
Solution
a. We use the first part of the definition of the integral of a space curve:
2 ^ ^ 3 2 ^ 2 ^ ^ 3 2 ^
∫ [(3 t + 2t) i + (3t − 6) j + (6 t + 5 t − 4) k] dt = [∫ 3t + 2t dt] i + [∫ 3t − 6 dt] j + [∫ 6t + 5t − 4 dt] k
3 3 5 ⇀
3 2 ^ 2 ^ 4 3 ^
= (t +t ) i +( t − 6t) j + ( t + t − 4t) k + C.
2 2 3
∣ ^
i
^
j
^
k∣
∣ ∣
2 3 3 2
2 3
⟨t, t , t ⟩ × ⟨t , t , t⟩ = ∣ t t t ∣
∣ ∣
3 2
∣t t t ∣
2 3 2 ^ 2 3 3 ^ 2 2 3 ^
= (t (t) − t (t )) i − (t − t (t )) j + (t(t ) − t (t )) k
3 5 ^ 6 2 ^ 3 5 ^
= (t − t ) i + (t − t ) j + (t − t ) k.
4 6 7 3 4 6
t t t t t t ⇀
^ ^ ^
=( − ) i +( − ) j +( − ) k + C.
4 6 7 3 4 6
c. Use the second part of the definition of the integral of a space curve:
π π π π
3 3 3 3
^ ^ −2t ^ ^ ^ −2t ^
∫ [sin 2t i + tan t j + e k] dt = [∫ sin 2t dt] i + [ ∫ tan t dt] j + [ ∫ e dt] k
0 0 0 0
1 2π 1 ^ π ^ 1 −2π/3 1 −2(0) ^
= (− cos + cos 0) i − (ln(cos ) − ln(cos 0)) j − ( e − e ) k
2 3 2 3 2 2
1 1 ^ ^ 1 −2π/3 1 ^
=( + ) i − (− ln 2) j − ( e − ) k
4 2 2 2
3 ^ ^ 1 1 −2π/3 ^
= i + (ln 2) j + ( − e ) k.
4 2 2
Exercise 5
Calculate the following integral:
3
^ 2 ^
∫ [(2t + 4) i + (3 t − 4t) j ] dt
1
Hint
Use the definition of the definite integral of a plane curve.
Answer
3
^ 2 ^ ^ ^
∫ [(2t + 4) i + (3 t − 4t) j ] dt = 16 i + 10 j
1
⇀ ⇀ ^ ^
v (t) = ∫ a (t) dt = ∫ (sin t i − 2t j ) dt
⇀
^ 2 ^
= − cos t i − t j + C1
⇀
Now we use the initial velocity to determine C . 1
⇀
^ ^
And so C1 = 3 i + j
Incorporating this constant vector into our velocity function from above, we obtain the velocity describing this object's motion
over time:
⇀ ^ 2 ^
v (t) = (3 − cos t) i + (1 − t ) j (28)
b. Since the object's position is at the point (2, 3, -1) when time t = 0 , we know ⇀ ^ ^ ^
r (0) = 2 i + 3 j − k .
Now, to determine the object's position function, we integrate it's velocity.
⇀ ⇀ ^ 2 ^
r (t) = ∫ v (t) dt =∫ [ (3 − cos t) i + (1 − t ) j ] dt
3
t ⇀
^ ^
= (3t − sin t) i + (t − ) j + C2
3
⇀
Now we use the initial position to determine C . 2
3
(0) ⇀
⇀ ^ ^ ^ ^ ^
r (0) = (3(0) − sin 0) i + (0 − ) j + C2 = 2 i +3 j − k
3
⇀
^ ^ ^
And so C2 = 2 i + 3 j − k
Incorporating this constant vector into our position function from above, we obtain:
3
⇀
t
^ ^ ^
r (t) = (2 + 3t − sin t) i + (3 + t − ) j − k (29)
3
To find the object's position at time t = 3 seconds, we just evaluate this position function at t = 3 .
3
(3)
⇀ ^ ^ ^
r (3) = (2 + 3(3) − sin 3) i + (3 + 3 − ) j − k
3
^ ^ ^
= (11 − sin 3) i − 3 j − k
This position vector indicates that the object will be located at the point (11 − sin 3, −3, −1) at time t = 3 seconds.
We know that the antiderivative of velocity is position and that this definite integral gives us the change in position over the time
interval, a ≤ t ≤ b . In other words,
b
⇀ ⇀ ⇀
∫ v (t) dt = r (b) − r (a) (31)
a
Thus, the definite integral of velocity over a time interval a ≤t ≤b gives us the displacement vector that indicates the change in
position over this time interval.
In general, the definite integral
b
∫
⇀ ⇀
r (t) dt = q (b) − q (a)
⇀
, where q (t) is the antiderivative of
⇀ ⇀
r (t) ,
a
gives us a change in the antiderivative of our vector-valued function over the given inteval [a, b]. This will always be a constant
vector that would fit from tip to tip of the vectors given by the antiderivative function at t = a and t = b , respectively (assuming the
vectors were placed in standard position).
Key Equations
Derivative of a vector-valued function
⇀ ⇀
r (t + Δt) − r (t)
⇀
r '(t) = lim
Δt→0 Δt
^ ^ ^ ^ ^ ^
∫ [f (t) i + g(t) j + h(t) k] dt = [∫ f (t) dt] i + [∫ g(t) dt] j + [∫ h(t) dt] k
^ ^ ^ ^ ^ ^
∫ [f (t) i + g(t) j + h(t) k] dt = [∫ f (t) dt] i + [∫ g(t) dt] j + [∫ h(t) dt] k
a a a a
Glossary
tangent vector
to r (t) at t = t any vector
⇀
0
⇀
v such that, when the tail of the vector is placed at point ⇀
r (t0 ) on the graph, vector ⇀
v is tangent to
curve C
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) edited this section and added content on visualizing the derivative of a vector-
valued function and content on smooth vector-valued functions.
⇀
limit of r (t) , as t approaches c , is L , expressed as
⇀
⇀
⇀
lim r (t) = L, (1)
t→c
⇀
means that given any ϵ > 0 , there exists a δ > 0 such that for all t ≠ c , if |t − c| < δ , we have ∥ r (t) − L∥ < ϵ. ⇀
Note how the measurement of distance between real numbers is the absolute value of their difference; the measure of distance
between vectors is the vector norm, or magnitude, of their difference.
1. Let ⇀
r (t) = ⟨ f (t), g(t) ⟩ be a vector-valued function in R defined on an open interval I containing c . Then
2
⇀
lim r (t) = ⟨lim f (t) , lim g(t)⟩. (2)
t→c t→c t→c
2. Let ⇀
r (t) = ⟨ f (t), g(t), h(t) ⟩ be a vector-valued function in R defined on an open interval I containing c . Then
3
⇀
lim r (t) = ⟨lim f (t) , lim g(t) , lim h(t)⟩ (3)
t→c t→c t→c t→c
t
2
, t − 3t + 3, cos t⟩. Find lim t→0
⇀
r (t) .
Solution
We apply the theorem and compute limits component-wise.
⇀
sin t 2
lim r (t) = ⟨lim , lim t − 3t + 3 , lim cos t⟩
t→0 t→0 t t→0 t→0
= ⟨1, 3, 1⟩.
Continuity
1 9/5/2021 https://math.libretexts.org/@go/page/21002
THEOREM 90: Continuity of Vector-Valued Functions
Let r (t) be a vector-valued function defined on an open interval
⇀
I containing c . ⇀
r (t) is continuous at c if, and only if,
each of its component functions is continuous at c .
t
, t
2
− 3t + 3, cos t⟩. Determine whether ⇀
r is continuous at t = 0 and t = 1 .
Solution
While the second and third components of r (t) are defined at t = 0 , the first component, (sin t)/t , is not. Since the first
⇀
component is not even defined at t = 0 , r (t) is not defined at t = 0 , and hence it is not continuous at t = 0 .
⇀
Derivatives
Consider a vector-valued function r defined on an open interval I containing t and t . We can compute the displacement of
⇀
0 1
r on [ t , t ], as shown in Figure 1a. Recall that dividing the displacement vector by t − t gives the average rate of change
⇀
0 1 1 0
on [t , t ], as shown in 1b.
0 1
for any value of h ≠ 0 . We take the limit as h → 0 to measure the instantaneous rate of change; this is the derivative of ⇀
r .
2. The derivative of ⇀
r is
⇀ ⇀
r (t + h) − r (t)
⇀′
r (t) = lim . (6)
h→0 h
If a vector-valued function has a derivative for all c in an open interval I , we say that ⇀
r (t) is differentiable on I .
2 9/5/2021 https://math.libretexts.org/@go/page/21002
Once again we might view this definition as intimidating, but recall that we can evaluate limits component-wise. The
following theorem verifies that this means we can compute derivatives component-wise as well, making the task not too
difficult.
2. Let ⇀
r (t) = ⟨ f (t), g(t), h(t) ⟩ . Then
⇀′ ′ ′ ′
r (t) = ⟨ f (t), g (t), h (t) ⟩. (9)
⇀′
2. Compute r (1) and sketch this vector with its initial point at the origin and at ⇀
r (1) .
Solution
1. Theorem 91 allows us to compute derivatives component-wise, so
⇀′
r (t) = ⟨2t, 1⟩. (10)
⇀′
⇀
and r (t) are graphed together in Figure 11.9(a). Note how plotting the two of these together, in this way, is not
r (t)
very illuminating. When dealing with real-valued functions, plotting f (x) with f (x) gave us useful information as
′
we were able to compare f and f at the same x-values. When dealing with vector-valued functions, it is hard to tell
′
⇀′
which points on the graph of r correspond to which points on the graph of r . ⇀
⇀′
2. We easily compute r (1) = ⟨2, 1⟩, which is drawn in Figure 2a with its initial point at the origin, as well as at
r (1) = ⟨1, 1⟩. These are sketched in Figure 2b.
⇀
3 9/5/2021 https://math.libretexts.org/@go/page/21002
Solution
⇀′ ⇀′ ⇀′
We compute r as . At t = π/2 , we have r (π/2) = ⟨−1, 0, 1⟩. Figure
r (t) = ⟨− sin t, cos t, 1⟩ 3 shows a graph of
⇀′
r (t) , with r (π/2) plotted with its initial point at the origin and at r (π/2).
⇀ ⇀
In Examples 3 and 4, sketching a particular derivative with its initial point at the origin did not seem to reveal anything
significant. However, when we sketched the vector with its initial point on the corresponding point on the graph, we did see
something significant: the vector appeared to be tangent to the graph. We have not yet defined what "tangent'' means in terms
of curves in space; in fact, we use the derivative to define this term.
⇀′
2. The tangent line} to the graph of r (t) at t = c is the line through r (c) with direction parallel to
⇀ ⇀
r (c) . An equation
of the tangent line is
⇀
⇀ ⇀′
ℓ (t) = r (c) + t r (c). (11)
⇀′ ⇀′ ⇀′
The direction comes from r (−1) . We compute, component-wise, r (t) = ⟨1, 2t, 3 t ⟩
2
. Thus r (−1) = ⟨1, −2, 3⟩ .
The vector equation of the line is ℓ(t) = ⟨−1, 1, −1⟩ + t⟨1, −2, 3⟩ . This line and ⇀
r (t) are sketched, from two
perspectives, in Figure 4a and 4b.
4 9/5/2021 https://math.libretexts.org/@go/page/21002
Find the equations of the lines tangent to ⇀
r (t) = ⟨t , t ⟩
3 2
at t = −1 and t = 0 .
Solution
⇀′
We find that 2
r (t) = ⟨3 t , 2t⟩ . At t = −1 , we have
⇀ ⇀′
r (−1) = ⟨−1, 1⟩ and r (−1) = ⟨3, −2⟩,
Figure 5: Graphing ⇀
r (t) and its tangent line in Example 6.
⇀
At t = 0 , we have r (0) = ⟨0, 0⟩ = 0 ! This implies that the tangent line "has no direction.'' We cannot apply Definition
⇀′
⇀′ ⇀
We were unable to compute the equation of the tangent line to r (t) = ⟨t , t ⟩ at t = 0 because r (0) = 0 . The graph in
⇀ 3 2
Figure 11.12 shows that there is a cusp at this point. This leads us to another definition of smooth, previously defined by
Definition 46 in Section 9.2.
Having established derivatives of vector-valued functions, we now explore the relationships between the derivative and other
vector operations. The following theorem states how the derivative interacts with vector addition and the various vector
products.
dt
⇀ ⇀
( r (t) ± s (t)) = r (t) ± s
⇀ ′
(t)
⇀′
2. d
dt
⇀
(c r (t)) = c r (t)
⇀′
3. d
dt
⇀ ′ ⇀
(f (t) r (t)) = f (t) r (t) + f (t) r (t) Product Rule
⇀′
4. d
dt
⇀ ⇀ ⇀
( r (t) ⋅ s (t)) = r (t) ⋅ s (t) + r (t) ⋅ s
⇀ ⇀ ′
(t) Product Rule
5. d
dt
⇀ ⇀ ⇀′ ⇀
( r (t) × s (t)) = r (t) × s (t) + r (t) × s
⇀ ⇀ ′
(t) Product Rule
⇀′
6. d
dt
⇀
( r (f (t))) = r (f (t))f (t)
′
Chain Rule
5 9/5/2021 https://math.libretexts.org/@go/page/21002
Let ⇀
r (t) = ⟨t, t
2
− 1⟩ and let u (t) be the unit vector that points in the direction of
⇀ ⇀
r (t) .
1. Graph r (t) and u (t) on the same axes, on [−2, 2].
⇀ ⇀
2. Find u (t) and sketch u (−2), u (−1) and u (0). Sketch each with initial point the corresponding point on the
⇀ ′ ⇀ ′ ⇀ ′ ⇀ ′
graph of u . ⇀
Solution
1. To form the unit vector that points in the direction of ⇀
r , we need to divide ⇀
r (t) by its magnitude.
−−−−−−−−−−−
⇀ 2 2 2 ⇀
1 2
∥ r (t)∥ = √ t + (t − 1) ⇒ u (t) = − − −−−− −−−−− ⟨t, t − 1⟩. (12)
2 2 2
√ t + (t − 1 )
⇀
and u (t) are graphed in Figure 11.13. Note how the graph of u (t) forms part of a circle; this must be the case,
r (t)
⇀ ⇀
⇀ ⇀
1 2 2 2 −1/2
u (t) = f (t) r (t), where f (t) = − − −−−− −−−−− = (t + (t − 1 ) ) . (13)
2 2 2
√ t + (t − 1 )
and then take the derivative. It is a matter of preference; this latter method requires two applications of the Quotient
Rule where our method uses the Product and Chain Rules.)
We find f ′
(t) using the Chain Rule:
1 −3/2
′ 2 2 2 2
f (t) =− (t + (t − 1) ) (2t + 2(t − 1)(2t))
2
2
2t(2 t − 1)
=−
− − −−−−−−−− − 3
2 2 2
2(√ t + (t − 1 ) )
We now find u ⇀ ′
(t) using part 3 of Theorem 92:
⇀ ′ ′ ⇀ ⇀ ′
u (t) = f (t) u (t) + f (t) u (t)
2
2t(2 t − 1) 1
2
=− ⟨t, t − 1⟩ + − − −−−− −−−−− ⟨1, 2t⟩.
− −−− −− −−− − − 3 2 2 2
2(√ t2 + (t2 − 1 )2 ) √ t + (t − 1 )
This is admittedly very "messy;'' such is usually the case when we deal with unit vectors. We can use this formula to
compute u (−2), u (−1) and u (0):
⇀ ⇀ ⇀
15 10
⇀
u (−2) = ⟨− ,− ⟩ ≈ ⟨−0.320, −0.213⟩
−− −−
13 √13 13 √13
⇀
u (−1) = ⟨0, −2⟩
⇀
u (0) = ⟨1, 0⟩
6 9/5/2021 https://math.libretexts.org/@go/page/21002
Figure 6: Graphing ⇀
r (t) and u (t)
⇀
in Example 7
Each of these is sketched in Figure 6. Note how the length of the vector gives an indication of how quickly the circle is
being traced at that point. When t = −2 , the circle is being drawn relatively slow; when t = −1 , the circle is being traced
much more quickly.
It is a basic geometric fact that a line tangent to a circle at a point P is perpendicular to the line passing through the center of
the circle and P . This is illustrated in Figure 11.14; each tangent vector is perpendicular to the line that passes through its
initial point and the center of the circle. Since the center of the circle is the origin, we can state this another way: u (t) is ⇀ ′
orthogonal to u (t) .
⇀
This is true of any vector-valued function that has a constant length, that is, that traces out part of a circle. It has important
implications later on, so we state it as a theorem (and leave its formal proof as an Exercise.)
⇀′
in I (equivalently, r (t) ⋅ r (t) = c for all t in I ). Then r (t) ⋅ r (t) = 0 for all t in I .
⇀ ⇀ 2 ⇀
Integration
Indefinite and definite integrals of vector-valued functions are also evaluated component-wise.
1. ∫ ⇀
r (t) dt = ⟨∫ f (t) dt, ∫ g(t) dt⟩
b ⇀ b b
2. ∫ a
r (t) dt = ⟨∫
a
f (t) dt, ∫
a
g(t) dt⟩
7 9/5/2021 https://math.libretexts.org/@go/page/21002
1 1
⇀ 2t
∫ r (t) dt = ∫ ⟨e , sin t⟩ dt
0 0
1 1
2t
= ⟨∫ e dt , ∫ sin t dt⟩
0 0
1 1 1
2t ∣ ∣
=⟨ e , − cos t ⟩
∣0 ∣0
2
1
2
=⟨ (e − 1) , − cos(1) + 1⟩
2
≈ ⟨3.19, 0.460⟩.
Solution
⇀′′ ⇀′
Knowing r (t) = ⟨2, cos t, 12t⟩ , we find r (t) by evaluating the indefinite integral.
⇀′′
∫ r (t)dt = ⟨∫ 2dt , ∫ cos tdt , ∫ 12tdt⟩
2
= ⟨2t + C1 , sin t + C2 , 6 t + C3 ⟩
2
= ⟨2t, sin t, 6 t ⟩ + ⟨C1 , C2 , C3 ⟩
⇀
2
= ⟨2t, sin t, 6 t ⟩ + C1 .
⇀
Note how each indefinite integral creates its own constant which we collect as one constant vector C1 . Knowing
⇀
⇀′
r (0) = ⟨5, 3, 0⟩ allows us to solve for C : 1
⇀
⇀′ 2
r (t) = ⟨2t, sin t, 6 t ⟩ + C1
⇀
⇀′
r (0) = ⟨0, 0, 0⟩ + C1
⇀
⟨5, 3, 0⟩ = C1 .
⇀′
So 2
r (t) = ⟨2t, sin t, 6 t ⟩ + ⟨5, 3, 0⟩ = ⟨2t + 5, sin t + 3, 6 t ⟩
2
. To find ⇀
r (t) , we integrate once more.
⇀′ 2
∫ r (t) dt = ⟨∫ 2t + 5 dt, ∫ sin t + 3 dt, ∫ 6 t dt⟩
⇀
2 3
= ⟨t + 5t, − cos t + 3t, 2 t ⟩ + C2 .
⇀
With ⇀
r (0) = ⟨−7, −1, 2⟩ , we solve for C : 2
⇀
⇀ 2 3
r (t) = ⟨t + 5t, − cos t + 3t, 2 t ⟩ + C2
⇀
⇀
r (0) = ⟨0, −1, 0⟩ + C2
⇀
⟨−7, −1, 2⟩ = ⟨0, −1, 0⟩ + C2
⇀
⟨−7, 0, 2⟩ = C2 .
So ⇀
r (t) = ⟨t
2 3
+ 5t, − cos t + 3t, 2 t ⟩ + ⟨−7, 0, 2⟩ = ⟨t
2
+ 5t − 7, − cos t + 3t, 2 t
3
+ 2⟩.
What does the integration of a vector-valued function mean? There are many applications, but none as direct as "the area under
the curve'' that we used in understanding the integral of a real-valued function.
A key understanding for us comes from considering the integral of a derivative:
8 9/5/2021 https://math.libretexts.org/@go/page/21002
b
b
⇀′ ⇀ ∣ ⇀ ⇀
∫ r (t)dt = r (t) = r (b) − r (a). (15)
∣
a
a
−−−−−−−−−−− ⇀′
as stated in Theorem 82 in Section 9.3. If r (t) = ⟨f (t), g(t)⟩ , note that √f (t) + g (t) = ∥ r (t)∥ . Therefore we can
⇀ ′ 2 ′ 2
express the arc length of the graph of a vector-valued function as an integral of the magnitude of its derivative.
Note that we are actually integrating a scalar-function here, not a vector-valued function.
The next section takes what we have established thus far and applies it to objects in motion. We will let ⇀
r (t) describe the path
⇀′ ⇀′′
of an object in the plane or in space and will discover the information provided by r (t) and r (t).
9 9/5/2021 https://math.libretexts.org/@go/page/21002
Vector-Valued Functions and Space Curves
Our study of vector-valued functions combines ideas from our earlier examination of single-variable calculus with our
description of vectors in three dimensions from the preceding chapter. In this section, we extend concepts from earlier chapters
and also examine new ideas concerning curves in three-dimensional space. These definitions and theorems support the
presentation of material in the rest of this chapter and also in the remaining chapters of the text.
where the component functions f , g , and h , are real-valued functions of the parameter t .
Vector-valued functions can also be written in the form
⇀ ⇀
r (t) = ⟨f (t), g(t)⟩ or r (t) = ⟨f (t), g(t), h(t)⟩. (2)
In both cases, the first form of the function defines a two-dimensional vector-valued function in the plane; the second form
describes a three-dimensional vector-valued function in space.
We often use t as a parameter because t can represent time.
The parameter t may lie between two real numbers: a ≤ t ≤ b , or its value may range over the entire set of real numbers.
Each of the component functions that make up a vector-valued function may have domain restrictions that enforce restrictions
on the value of t .
The domain of a vector-valued function r is the intersection of the domains of its component functions, i.e., it is the set of all
⇀
t
e (−∞, ∞)
The domain of r is the intersection of these domains, so it must contain all values of t that work in all three, but no value
⇀
2
) , and ⇀
r(
2π
3
). Do any of these functions have
domain restrictions?
1. ⇀ ^ ^
r (t) = 4 cos t i + 3 sin t j
2. ⇀ ^ ^ ^
r (t) = 3 tan t i + 4 sec t j + 5t k
Solution
1. To calculate each of the function values, substitute the appropriate value of t into the function:
⇀ ^ ^
r (0) = 4 cos(0) i + 3 sin(0) j
^ ^ ^
= 4i +0j = 4i
⇀
π π π
^ ^
r ( ) = 4 cos( ) i + 3 sin( )j
2 2 2
^ ^ ^
= 0i +3j = 3j
⇀
2π 2π 2π
^ ^
r ( ) = 4 cos( ) i + 3 sin( )j
3 3 3
√3 3 √3
1 ^ ^ ^ ^
= 4 (− ) i +3 ( ) j = −2 i + j
2 2 2
To determine whether this function has any domain restrictions, consider the component functions separately. The first
component function is f (t) = 4 cos t and the second component function is g(t) = 3 sin t . Neither of these functions
has a domain restriction, so the domain of r (t) = 4 cos t ^i + 3 sin t ^j is all real numbers.
⇀
2. To calculate each of the function values, substitute the appropriate value of t into the function:
⇀ ^ ^ ^
r (0) = 3 tan(0) i + 4 sec(0) j + 5(0)k
^ ^ ^
= 0 i + 4j + 0 k = 4 j
π π π π
⇀ ^ ^ ^
r ( ) = 3 tan( ) i + 4 sec( )j + 5 ( ) k, which does not exist
2 2 2 2
2π 2π 2π 2π
⇀ ^ ^ ^
r ( ) = 3 tan( ) i + 4 sec( )j + 5 ( )k
3 3 3 3
– ^ 10π
^ ^
= 3(−√3) i + 4(−2) j + k
3
– ^ 10π
^ ^
= (−3 √3) i − 8 j + k
3
To determine whether this function has any domain restrictions, consider the component functions separately. The first
component function is f (t) = 3 tan t , the second component function is g(t) = 4 sec t , and the third component
function is h(t) = 5t . The first two functions are not defined for odd multiples of , so the function is not defined for π
(2n + 1)π
D⇀ = {t | t ≠ },
r
2
Exercise 1
For the vector-valued function ⇀
r (t) = (t
2 ^ ^
− 3t) i + (4t + 1) j , evaluate ⇀
r (0), r (1)
⇀
, and ⇀
r (−4). Does this function have
any domain restrictions?
Hint
Substitute the appropriate values of t into the function.
Answer:
The domain of ⇀ 2
r (t) = (t
^ ^
− 3t) i + (4t + 1) j is all real numbers.
Example 1 illustrates an important concept. The domain of a vector-valued function consists of real numbers. The domain can
be all real numbers or a subset of the real numbers. The range of a vector-valued function consists of vectors. Each real
number in the domain of a vector-valued function is mapped to either a two- or a three-dimensional vector.
consists of the set of all points (f (t), g(t)) , and the path it traces is called a plane curve. The graph of a vector-valued
function of the form
⇀ ^ ^ ^
r (t) = f (t) i + g(t) j + h(t) k
consists of the set of all points (f (t), g(t), h(t)), and the path it traces is called a space curve. Any representation of a plane
curve or space curve using a vector-valued function is called a vector parameterization of the curve.
Each plane curve and space curve has an orientation, indicated by arrows drawn in on the curve, that shows the direction of
motion along the curve as the value of the parameter t increases.
Solution
1. As with any graph, we start with a table of values. We then graph each of the vectors in the second column of the table in
standard position and connect the terminal points of each vector to form a curve (Figure 1). This curve turns out to be an
ellipse centered at the origin.
Table 1 : Table of Values for , 0 ≤ t ≤ 2π
⇀ ^ ^
r (t) = 4 cos t i + 3 sin t j
⇀ ⇀
t r (t) t r (t)
0 ^ π ^
4i −4 i
π 5π
–^ 3√2 ^ –^ 3√2 ^
2 √2 i + j −2 √2 i − j
4 2 2
4
π 3π
^ ^
3j −3 j
2 2
3π –^ 3√2 7π –^ 3√2
^ ^
−2 √2 i + j 2 √2 i − j
2 2
4 4
2π ^
4i
3 −−
Table of Values for ⇀ 3 ^ 3 ^
,
r (t) = 4 cos( t ) i + 3 sin( t ) j 0 ≤ t ≤ √2π
⇀ ⇀
t r (t) t r (t)
^ 3 − ^
0 4i √π −4 i
−
− −−
−
π 5π
– 3√2 – 3√2
√
3 ^ ^ 3
√ ^ ^
2 √2 i + j −2 √2 i − j
4 2
4
2
−
− −−
−
π 3π
3 ^ 3 ^
√ 3j √ −3 j
2 2
−−
− −−
−
3π – 3√2 7π – 3√2
√
3 ^ ^ 3
√ ^ ^
−2 √2 i + j 2 √2 i − j
2 2
4 4
3 −−
^
√2π 4i
0 ^ π ^ ^
4i −4 i + πk
π – – 5π – –
^ ^ π ^ ^ ^ 5π ^
2 √2 i + 2 √2 j + k −2 √2 i − 2 √2 j + k
4 4
4 4
π 3π
^ π ^ ^ 3π ^
4j + k −4 j + k
2 2
2 2
3π – – 7π – –
^ ^ 3π ^ ^ ^ 7π ^
−2 √2 i + 2 √2 j + k 2 √2 i − 2 √2 j + k
4 4
4 4
2π ^ ^
4 j + 2πk
The values then repeat themselves, except for the fact that the coefficient of k
^
is always increasing ( 3). This curve is called
a helix. Notice that if the k component is eliminated, then the function becomes r (t) = 4 cos t^i + 4 sin t^j , which is a
^ ⇀
You may notice that the graphs in parts a. and b. are identical. This happens because the function describing curve b is a so-
called reparameterization of the function describing curve a. In fact, any curve has an infinite number of reparameterizations;
for example, we can replace t with 2t in any of the three previous curves without changing the shape of the curve. The interval
over which t is defined may change, but that is all. We return to this idea later in this chapter when we study arc-length
parameterization. As mentioned, the name of the shape of the curve of the graph in 3 is a helix. The curve resembles a spring,
with a circular cross-section looking down along the z -axis. It is possible for a helix to be elliptical in cross-section as well.
For example, the vector-valued function r (t) = 4 cos t ^i + 3 sin t ^j + t k
⇀ ^
describes an elliptical helix. The projection of this
helix into the xy-plane is an ellipse. Last, the arrows in the graph of this helix indicate the orientation of the curve as t
progresses from 0 to 4π.
Exercise 2
Create a graph of the vector-valued function ⇀ ^ 3 ^
r (t) = t i + t j .
Hint
Start by making a table of values, then graph the points indicated by the vectors for each value of t.
Answer
then agree with the graph of the vector-valued function, except that the vector-valued function's graph would be traced out by
vectors rather than just being a collection of points. Since we can parameterize a curve defined by a function y = f (x), it is
also possible to represent an arbitrary plane curve by a vector-valued function.
Remembering what was just said about the components of the vector-valued function corresponding to the parametic equations
of a parameterized curve, we see that here we have:
x =t
3
y =t
giving us y = f (t ) . This means the function y = f (x) could also be parameterized from left-to-right by the vector-valued
3
function: r (t) = t ^i + f (t ) ^j
⇀ 3 3
Again note that we could use any decreasing function of t for the x component and obtain a vector-valued function that traces
out the graph of y = f (x) from right-to-left. Using x = −t is just the simplest decreasing function we can choose.
Left-to-right: ⇀ ^ ^
r (t) = t i + cos t j
Right-to-left: ⇀ ^ ^
r (t) = −t i + cos(−t) j
Finding a Vector-Valued Function to Trace out the Graph of an Equation in x and y and Vice
Versa
What if we wish to find a vector-valued function to trace out the graph of a circle, an ellipse, or a hyperbola, given its implicit
equation?
Well, note that in Example 3, the vector-valued function ⇀ ^ ^
r (t) = 4 cos t i + 3 sin t j traced out the graph of the ellipse
2
2
y
x
16
+
9
=1 .
In this vector-valued function we see that:
x = 4 cos t and y = 3 sin t (3)
What we need now is a way to convert this to an implicit equation involving x and y . To accomplish this, remember the
Pythagorean identity,
2 2
cos t + sin t =1 (4)
.
Now all we need to do is solve the above equations for cos t and sin t and we can substitute into this identity to obtain an
equation in x and y .
So:
x y
cos t = and sin t = (5)
4 3
Simplifying this implicit equation gives us the implicit equation of the ellipse in Example 3 that we wrote above:
2 2
x y
+ =1 (7)
16 9
To go the other way and find a vector-valued function that traces out an ellipse requires us to simply take these steps in the
opposite direction!
16
+
9
=1
b. The circle: x 2
+y
2
=4
2
2 y
c. The hyperbola: x
25
−
16
=1
Solution
a. Let's just use the process shown above in reverse. First, let's rewrite the implicit equation so it shows a sum of quantities
squared equals one.
2 2
x y
( ) +( ) =1
4 3
We can now write a vector-valued function that traces out this ellipse: ⇀ ^ ^
r (t) = 4 cos t i + 3 sin t j
Note that we could also have written r (t) = 4 sin t ^i + 3 cos t ^j , since we could have chosen to switch the sin t and cos t
⇀
above. It will trace out the same ellipse, but with the opposite orientation.
b. Tracing out a circle is fairly straightforward, not really needing the process we showed above, although it still may be
helpful at first. Remember that all the vectors on the unit circle can be represented in the form: v = cos θ ^i + sin θ ^j . ⇀
Thus, a vector-valued function that will trace out this circle is: ⇀ ^ ^
r (t) = 2 cos t i + 2 sin t j .
Note again that another possibility is: ⇀ ^ ^
r (t) = 2 sin t i + 2 cos t j . It will trace out the same circle, but with the opposite
orientation.
To use the technique above, you start by dividing each term in the equation by the square of the radius, here 4, thus putting
the circle equation in "ellipse form". The rest of the steps follow the pattern shown in part a.
2 2
2 2
y y
c. To trace out a hyperbola of the form x
2
a
− 2
=1 or a
2
−
x
2
=1 , we need to locate a trigonometric identity showing
b b
the difference of two squares equals 1. If you don't already have such an identity memorized, we can obtain one from the
Pythagorean identity used above. That is,
2 2
cos t + sin t =1
2 2
cos t sin t 1
+ =
2 2 2
cos t cos t cos t
Rewriting the left side to show the quantities that are squared:
x 2 y 2
( ) −( ) =1
5 4
is
⇀ ^ ^
r (t) = 5 sec t i + 4 tan t j .
Solution
Our first task is to identify the three pieces in this piecewise path.
Note how we labeled these sequentially as r , r , and r . Now we need to identify
⇀
1
⇀
2
⇀
3
the function for each and write the corresponding vector-valued function with the
correct orientation (left-to-right or right-to-left).
Determining ⇀
r 1 : The equation of the linear function in this piece is y = x .
Since it is oriented from left-to-right between t = 1 and t = 4 , we can write:
⇀ ^ ^
r 1a (t) = t i +t j for 1 ≤t ≤4
Thus, we have ⇀
r 1a (t1 )
^ ^
= t1 i + t1 j for 1 ≤ t 1 ≤4 .
Figure 4 : A closed piecewise path
Subtracting 1 from each part of this range of parameter values, we have: 0 ≤ t 1 −1 ≤ 3 .
Now we let t = t 1 −1 . Solving for t , we obtain: t
1 1 = t +1 .
Replacing t with the expression t + 1 will effectively shift the range of parameter values one unit to the left.
1
Double-check that this vector-valued function will trace out this segment in the correct direction before going on to r . 2
Determining r : This piece has a label showing the function whose graph it traces along. If it were oriented from left-to-
⇀
2
But since we need it to be oriented from right-to-left, we need to replace t with −t in the function and we need to divide
through the range inequality by -1 to obtain the corresponding range. Thus we obtain:
−−−−−−−−
4 − (−t)
⇀ ^ ^
r 2b (t) = −t i + (2 √ + 4) j for − 4 ≤ t ≤ −1
3
−−−−−−−−
4 − (−t2 )
⇀ ^ ^
r 2b (t2 ) = −t2 i + (2 √ + 4) j for − 4 ≤ t2 ≤ −1
3
To force r2 to start with t =3 instead of t = −4 , we need to add 7 to each part of the inequality. This yields:
3 ≤ t2 + 7 ≤ 6 .
Let t = t 2 +7 . Then solving for −t (since this is what we need to replace in r ), we have: t
2 2b 2 = 7 −t .
Replacing −t with (7 − t) in
2
⇀
r 2b , we obtain:
−−−−−−−−−
4 − (7 − t)
⇀ ^ ^
r 2 (t) = (7 − t) i + (2 √ + 4) j for 3 ≤t ≤6
3
This can be combined with our earlier result for r1 to write a piecewise-defined vector-valued function that traces out the
first two pieces, starting at t = 0 :
^ ^
(t + 1) i + (t + 1) j , 0 ≤t ≤3
⇀
r (t) = { − −−
^ t−3 ^
(7 − t) i + (2 √ + 4) j , 3 <t ≤6
3
Note that one small modification was made to the second range so that when t = 3 , there is no confusion about which piece
to evaluate.
which cannot be represented with a function of the form, y = f (x). Note that it could be represented by a function of the
form x = f (y). Letting y = t , we can write x = f (t) and writing a parameterization in increasing y values (bottom-to-
top), we'd get: r (t) = f (t) ^i + t ^j .
⇀
The equation of this line is x =1 . Thus, if we wished to parameterize this segment with upward orientation (increasing
values of y ), we have:
⇀ ^ ^
r 3a (t) = 1 i +t j for 1 ≤t ≤6
But since we wish to use a downward orientation (decreasing values of y ), we need to use a decreasing function of t for y .
As before, the simplest case is to use y = −t . Then, in the general case, we'd trace a function x = f (y) in a downwards
orientation with r (t) = f (−t) ^i − t ^j .
⇀
⇀ ^ ^
r 3b (t) = 1 i − t j for − 6 ≤ t ≤ −1
Note that since x = 1, f (−t) = 1 , that is, it did not change the first component since it was constant and not a variable
function of the parameter t .
Also note that since we negated t , we also had to negate the range, dividing it through by −1.
As above, to facilitate the translation, we'll replace t with t , giving us: 3
⇀ ^ ^
r 3b (t) = 1 i − t3 j for − 6 ≤ t3 ≤ −1
Now, we wish this final piece to start at t = 6 where the second piece we formed above leaves off. We see that we need to
add 12 to the range of paramater t to accomplish this, giving us a new range of 6 ≤ t + 12 ≤ 11 . 3
Let t = t 3 + 12 . Then solving for −t (since this is what we need to replace in r ), we have: t
3 3b 3 = 12 − t .
Replacing −t with (12 − t) in
3
⇀
r 3b , we obtain:
⇀ ^ ^
r 3 (t) = 1 i + (12 − t) j for 6 ≤ t3 ≤ 11
Check that this still traces out this vertical segment from top-to-bottom.
We can now state the final answer as a single piecewise-defined vector-valued function that traces out this entire path,
starting when t = 0 .
⎧ ^ ^
⎪ (t + 1) i + (t + 1) j , 0 ≤t ≤3
⎪
⎪ − −−
⇀ ^ t−3 ^
r (t) = ⎨ (7 − t) i + (2 √ + 4) j , 3 <t ≤6
3
⎪
⎪
⎩
⎪
^ ^
1 i + (12 − t) j 6 < t3 ≤ 11
Be sure to verify that this single vector-valued function does indeed trace out the entire path!
provided
This is a rigorous definition of the limit of a vector-valued function. In practice, we use the following theorem:
Theorem: Limit of a vector-valued function
Let f , g , and h be functions of t . Then the limit of the vector-valued function ⇀ ^ ^
r (t) = f (t) i + g(t) j as t approaches a is
given by
⇀ ^ ^
lim r (t) = [ lim f (t)] i + [ lim g(t)] j , (11)
t→a t→a t→a
provided the limits lim f (t) , lim g(t) and lim h(t) exist.
t→a t→a t→a
In the following example, we show how to calculate the limit of a vector-valued function.
t→3
a. ⇀
r (t) = (t
2 ^ ^
− 3t + 4) i + (4t + 3) j
b. ⇀
r (t) =
2t−4
t+1
^
i + 2
t ^ ^
j + (4t − 3)k
t +1
Solution
a. Use Equation 11 and substitute the value t = 3 into the two component expressions:
⇀ 2 ^ ^
lim r (t) = lim [(t − 3t + 4) i + (4t + 3) j ]
t→3 t→3
2 ^ ^
= [lim(t − 3t + 4)] i + [lim(4t + 3)] j
t→3 t→3
^ ^
= 4 i + 15 j
b. Use Equation 12 and substitute the value t = 3 into the three component expressions:
⇀
2t − 4 t
^ ^ ^
lim r (t) = lim ( i + j + (4t − 3)k)
2
t→3 t→3 t +1 t +1
2t − 4 t
^ ^ ^
= [lim ( )] i + [lim ( )] j + [lim(4t − 3)] k
t→3 t +1 t→3 t2 + 1 t→3
1 ^ 3 ^ ^
= i + j + 9k
2 10
Exercise 3
−− −−−−−−− (t+1)π
Calculate lim r (t) for the function
⇀ ⇀ 2 ^ ^
r (t) = √t + 3t − 1 i − (4t − 3) j − sin
2
^
k
t→2
Hint
Use Equation 12 from the preceding theorem.
Answer
Now that we know how to calculate the limit of a vector-valued function, we can define continuity at a point for such a
function.
Definitions
Let f , g , and h be functions of t . Then, the vector-valued function ⇀ ^ ^
r (t) = f (t) i + g(t) j is continuous at point t = a if
the following three conditions hold:
1. r (a) exists
⇀
t→a
3. lim r (t) =
⇀ ⇀
r (a)
t→a
t→a
3. lim r (t) =
⇀ ⇀
r (a)
t→a
Summary
A vector-valued function is a function of the form r (t) = f (t)^i + g(t)^j or r (t) = f (t)^i + g(t)^j + h(t)k
⇀ ⇀ ^
, where the
component functions f , g , and h are real-valued functions of the parameter t .
The graph of a vector-valued function of the form r (t) = f (t)^i + g(t)^j is called a plane curve. The graph of a vector-
⇀
Key Equations
Vector-valued function
r (t) = f (t) i + g(t) j or ,or or
⇀ ^ ^ ⇀ ^ ^ ^ ⇀ ⇀
r (t) = f (t) i + g(t) j + h(t)k r (t) = ⟨f (t), g(t)⟩ r (t) = ⟨f (t), g(t), h(t)⟩
Glossary
component functions
the component functions of the vector-valued function r (t) = f (t)^i + g(t)^j are f (t) and g(t), and the component
⇀
helix
a three-dimensional curve in the shape of a spiral
plane curve
the set of ordered pairs (f (t), g(t)) together with their defining parametric equations x = f (t) and y = g(t)
reparameterization
space curve
the set of ordered triples (f (t), g(t), h(t)) together with their defining parametric equations x = f (t) , y = g(t) and
z = h(t)
vector parameterization
any representation of a plane or space curve using a vector-valued function
vector-valued function
⇀ ⇀
a function of the form r (t) = f (t)^i + g(t)^j or ^ ^ ^
r (t) = f (t) i + g(t) j + h(t)k ,where the component functions f , g , and
h are real-valued functions of the parameter t.
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Edited by Paul Seeburger (Monroe Community College)
Paul Seeburger created Example 1, Exercise 1, and the subsections titled: Finding a Vector-Valued Function to Trace out
the Graph of a Function y = f (x), Finding a Vector-Valued Function to Trace out the Graph of an Equation in x and y and
Vice Versa, and Parameterizing a Piecewise Path.
CONSTRAINED OPTIMIZATION
DIFFERENTIATION OF FUNCTIONS OF SEVERAL VARIABLES (EXERCISE)
These are homework exercises to accompany Chapter 13 of the textbook for MCC Calculus 3
PARTIAL DERIVATIVES
PARTIAL DERIVATIVES (EXERCISES)
These are homework exercises to accompany Chapter 13 of the textbook for MCC Calculus 3
1 9/15/2021
Constrained Optimization
In this section, we will consider some applications of optimization. Applications of optimization almost always involve some
kind of constraints or boundaries.
Anytime we have a closed region or have constraints in an optimization problem the process we'll use to solve it is called
constrained optimization. In this section we will explore how to use what we've already learned to solve constrained
optimization problems in two ways. In the next section we will learn a different approach called the Lagrange multiplier
method that can be used to solve many of the same (and some additional) constrained optimization problems.
We will first look at a way to rewrite a constrained optimization problem in terms of a function of two variables, allowing us to
find its critical points and determine optimal values of the function using the second partials test. We will then consider
another approach to determining absolute extrema of a function of two variables on a closed region, where we can write each
boundary as a function of x.
Our first task will be to come up with the objective function (what we are trying to optimize). Here this is the volume of
the box (see that we were asked for the "largest box"). Using the variables from the diagram, we have:
Objective Function : V = LW H (1)
Now we need to write the constraint using the same variables. The constraint here is the cost of the materials for the box.
Since the cost of the material in the bottom of the box is twice the cost of the materials in the rest of the box, we'll need to
account for this in the constraint. We have that the cost of the sides is $1 per square foot, and so the cost of the bottom of
the box must be $2 per square foot. Now we need to write an expression for the area of the bottom of the box and another
for the area of the sides and top of the box.
Area of bottom of box = LW Area of sides of box and the top = 2LH + 2W H + LW (2)
Now we can put the costs of the respective material together with these areas to write the cost constraint:
Cost Constraint : 2LW + (2LH + 2W H + LW ) = 36 → 3LW + 2LH + 2W H = 36 (3)
Note that there are also some additional implied constraints in this problem. That is, we know that L ≥ 0, W ≥ 0 , and
H ≥ 0.
This constraint can be used to reduce the number of variables in the objective function, V = LW H , from three to two. We
can choose to solve the constraint for any convenient variable, so let's solve it for H . Then,
1 9/5/2021 https://math.libretexts.org/@go/page/21029
3LW + 2LH + 2W H = 36
→ 2H (L + W ) = 36 − 3LW
36 − 3LW
→ H =
2(L + W )
Now that we have the volume expressed as a function of just two variables, we can find its critical points (feasible for this
situation) and then use the second partials test to confirm that we obtain a relative maximum volume at one of these points.
Finding Critical Points:
First we find the partial derivatives of V :
2 2 2
2(L + W )(36W − 6LW ) − 2(36LW − 3 L W )
VL (L, W ) = by the Quotient Rule
2
4(L + W )
2 2 2
(L + W )(36W − 6LW ) − (36LW − 3 L W )
= Canceling a common factor of 2
2
2(L + W )
2 2 2 3 2 2
36LW − 6 L W + 36 W − 6LW − 36LW + 3 L W )
= Simplifying the numerator
2
2(L + W )
2 3 2 2
36 W − 6LW − 3L W )
= Collecting like terms
2
2(L + W )
2 2
W (36 − 6LW − 3 L )
2
= Factoring out W
2
2(L + W )
Setting these partial derivatives both equal to zero, we note that the denominators cannot make either partial equal zero.
We can then write the nonlinear system:
2 2
W (36 − 6LW − 3 L ) = 0
2 2
L (36 − 6LW − 3 W ) =0
Note that if not for the fact that in this application, we know that the variables L and W are non-negative, we would find
that this function has critical points anywhere the denominator of these partials is equal to 0, i.e., when L = −W . That is,
all points on the line L = −W would be critical points of this function. But since this is not possible here, we can ignore it
and go on.
To solve the system above, we first note that both equations are factored and set equal to zero. Using the zero-product
property, we know the first equation tells us that either
2
W =0 or 36 − 6LW − 3 L =0 (6)
2 9/5/2021 https://math.libretexts.org/@go/page/21029
W =0 and L = 0 → Critical point: (0, 0). However, we see that this point also makes the denominator of the partials
zero, making it a critical point of the second kind. We also see that with these dimensions the other constraint could not be
true. We'd end up with a cost of $0, not $36.
W =0 and 36 − 6LW − 3W 2
=0 is impossible, since when we put zero in for W in the second equation, we obtain the
contradiction, 36 = 0 .
= 0 and L = 0 is also impossible, since when we put zero in for L in the first equation, we again obtain
2
36 − 6LW − 3 L
the contradiction, 36 = 0 .
Finally, considering the combination of the last two equations we have the system:
2
36 − 6LW − 3W =0
2
36 − 6LW − 3L =0
2
−36 + 6LW + 3L =0
Adding the two equations eliminates the first two terms on the left side of each equation, yielding
2 2
3L − 3W =0 → 3(L − W )(L + W ) = 0 (8)
So we have that
L =W or L = −W (9)
Since we know that none of the dimensions can be negative we can reject L = −W . This leaves us with the result that
L =W.
Substituting this into the first equation of our system above (we could have used either one), gives us
2 2
36 − 6 W − 3W =0
2
36 − 9W =0
2
9(4 − W ) =0
9(2 − W )(2 + W ) = 0
From this equation we see that either W =2 or W = −2 . Since the width cannot be negative, we reject W = −2 and
conclude that W = 2 ft.
Then, since L = W , we know that L = 2 ft also.
Using the formula we found for H above, we find that the corresponding height is
36 − 3(2)(2) 24
H = = = 3 ft (10)
2(2 + 2) 8)
3 9/5/2021 https://math.libretexts.org/@go/page/21029
2 3 2 2 3 2 2
2(L + W ) (−6 W − 6LW ) − 4(L + W )(36 W − 6LW − 3L W )
VLL (L, W ) =
4(L + W )4
3 2 2 3 2 2
4(L + W )[(L + W )(−3 W − 3LW ) − 36 W + 6LW + 3L W )]
=
4
4(L + W )
3 2 2 4 3 2 3 2 2
−3LW − 3L W − 3W − 3LW − 36 W + 6LW + 3L W )
=
3
(L + W )
4 2
−3 W − 36 W
=
3
(L + W )
Similarly, we find
4 2
−3 L − 36 L
VW W (L, W ) = (11)
3
(L + W )
2 2 2 3 2 2
4(L + W )[(L + W )(36W − 9LW − 3 L W ) − 36 W + 6LW + 3L W )]
=
4
4(L + W )
2 2 2 3 3 2 2 2 3 2 2
36LW + 36 W − 9L W − 9LW − 3L W − 3L W − 36 W + 6LW + 3L W )
=
3
(L + W )
3 2 2 3
36LW − 3LW − 9L W − 3L W
=
3
(L + W )
2
3 9 27
= (−3)(−3) − (− ) =9− = >0
2 4 4
4 9/5/2021 https://math.libretexts.org/@go/page/21029
We can find these values by evaluating the function at its critical points in the region and at the critical values and endpoints of
traces formed on the boundaries of the region. First, we need to find the critical points of the function that lie inside the
region and calculate the corresponding function values. Then, it is necessary to find the maximum and minimum values of the
function on the boundaries of the region. When we have all these values, the largest function value corresponds to the absolute
(global) maximum and the smallest function value corresponds to the absolute (global) minimum.
First, however, we need to be assured that such values exist. The following theorem does this.
The proof of this theorem is a direct consequence of the extreme value theorem and Fermat’s theorem. In particular, if either
extremum is not located on the boundary of S , then it is located at an interior point of S . But an interior point (x , y ) of S
0 0
that’s an absolute extremum is also a local extremum; hence, (x , y ) is a critical point of f by Fermat’s theorem. Therefore
0 0
the only possible values for the global extrema of f on S are the extreme values of f on the interior or boundary of S .
Now that we know any continuous function f defined on a closed, bounded region will have global extreme values on that
region, let's summarize how to find them.
Finding Extreme Values of a Function of Two Variables
Assume z = f (x, y) is a differentiable function of two variables defined on a closed, bounded region S . Then f will attain
the absolute maximum value and the absolute minimum value, which are, respectively, the largest and smallest values
found among the following:
1. The values of f at the critical points of f in S .
2. The values of f on the boundary of S .
SOLUTION
It can help to see a graph of f along with the region S . In Figure 1(a) the triangle defining S is shown in the xy-plane
(using dashed red lines). Above it is the surface of f . Here we are only concerned with the portion of f enclosed by the
"triangle'' on its surface. Note that the triangular region forming our constrained region S in the xy-plane has been
projected up onto the surface above it.
5 9/5/2021 https://math.libretexts.org/@go/page/21029
Figure 1 : Plotting the surface of f along with the restricted domain S .
We begin by finding the critical points of f . With f x (x, y) = 2x and fy (x, y) = −2y , we find only one critical point, at
(0, 0).
We now find the maximum and minimum values that f attains along the boundary of S , that is, along the edges of the
triangle. In Figure 1(b) we see the triangle sketched in the plane with the equations of the lines forming its edges labeled.
Start with the bottom edge, along the line y = −2 . If y is −2, then on the surface, we are considering points f (x, −2); that
is, our function reduces to f (x, −2) = x − (−2) + 5 = x + 1 = f (x) . We want to maximize/minimize
2 2 2
1
f (x) = x + 1 on the interval [−1, 2]. To do so, we evaluate f (x) at its critical points and at the endpoints.
2
1 1
′
f (x) = 0 ⇒ x = 0. (12)
1
Notice how evaluating f at a point is the same as evaluating f at its corresponding point.
1
We need to do this process twice more, for the other two edges of the triangle.
Along the left edge, along the line y = 3x + 1 , we substitute 3x + 1 in for y in f (x, y):
2 2 2
f (x, y) = f (x, 3x + 1) = x − (3x + 1 ) + 5 = −8 x − 6x + 4 = f2 (x). (13)
We want the maximum and minimum values of f on the interval2 [−1, 0], so we evaluate f2 at its critical points and the
endpoints of the interval. We find the critical points:
′ 3
f (x) = −16x − 6 = 0 ⇒ x =− . (14)
2 8
6 9/5/2021 https://math.libretexts.org/@go/page/21029
f2 (−1) = 2 ⇒ f (−1, −2) = 2
3 41 3
f2 (− ) = = 5.125 ⇒ f (− , −0.125) = 5.125
8 8 8
f2 (0) = 1 ⇒ f (0, 1) = 4.
2
x +1 .
2
3 2 3 5 2
f (x, y) = f (x, − x + 1) = x − (− x + 1) +5 = − x + 3x + 4 = f3 (x). (15)
2 2 4
We evaluate f at this critical point and at the endpoints of the interval [0, 2]:
3
f3 (0) = 4 ⇒ f (0, 1) = 4
One last point to test: the critical point of f , the point (0, 0). We find f (0, 0) = 5 .
Figure 2 : The surface of f along with important points along the boundary of S and the interior.
We have evaluated f at a total of 7 different places, all shown in Figure 2. We checked each vertex of the triangle twice, as
each showed up as the endpoint of an interval twice. Of all the z -values found, the maximum is 5.8, found at (1.2, −0.8);
the minimum is 1, found at (0, −2).
Notice that in this example we did not need to use the Second Partials Test to analyze the function's behavior at any critical
points within the closed, bounded region. All we needed to do was evaluate the function at these critical points and then to
find and evaluate the function at any critical points on the boundaries of this region. The largest output gives us the absolute
maximum value of the function on the region, and the smallest output gives us the absolute minimum value of the function on
the region.
Let's summarize the process we'll use for these problems.
Problem-Solving Strategy: Finding Absolute Maximum and Minimum Values on a Closed,
Bounded region
Let z = f (x, y) be a continuous function of two variables defined on a closed, bounded region D, and assume f is
differentiable on D. To find the absolute maximum and minimum values of f on D, do the following:
1. Determine the critical points of f in D.
2. Calculate f at each of these critical points.
3. Determine the maximum and minimum values of f on the boundary of its domain.
4. The maximum and minimum values of f will occur at one of the values obtained in steps 2 and 3.
7 9/5/2021 https://math.libretexts.org/@go/page/21029
This portion of the text is entitled "Constrained Optimization'' because we want to optimize a function (i.e., find its maximum
and/or minimum values) subject to a constraint -- limits on which input points are considered. In the previous example, we
constrained ourselves by considering a function only within the boundary of a triangle. This was largely arbitrary; the function
and the boundary were chosen just as an example, with no real "meaning'' behind the function or the chosen constraint.
However, solving constrained optimization problems is a very important topic in applied mathematics. The techniques
developed here are the basis for solving larger problems, where more than two variables are involved.
We illustrate the technique again with a classic problem.
2(w + h) = 4w . The volume of the box is V (w, ℓ) = whℓ = w ℓ . We wish to maximize this volume subject to the
2
constraint 4w + ℓ ≤ 130 , or ℓ ≤ 130 − 4w . (Common sense also indicates that ℓ > 0, w > 0 .)
We begin by finding the critical values of V . We find that V (w, ℓ) = 2wℓ and V
w ℓ (w, ℓ) = w
2
; these are simultaneously 0
only at (0, 0). This gives a volume of 0, so we can ignore this critical point.
We now consider the volume along the constraint ℓ = 130 − 4w. Along this line, we have:
2 2 3
V (w, ℓ) = V (w, 130 − 4w) = w (130 − 4w) = 130 w − 4w = V1 (w). (17)
The constraint restricts w to the interval [0, 32.5], as indicated in the figure. Thus we want to maximize V on [0, 32.5]. 1
Finding the critical values of V , we take the derivative and set it equal to 0:
1
′ 2 260
V (w) = 260w − 12 w =0 ⇒ w(260 − 12w) = 0 ⇒ w = 0 or w = ≈ 21.67. (18)
1 12
We found two critical values: when w = 0 and when w = 21.67. We again ignore the w = 0 solution. The maximum
volume, subject to the constraint, comes at w = h = 21.67 , ℓ = 130 − 4(21.6) = 43.33. This gives a maximum volume
of V (21.67, 43.33) ≈ 19, 408in . 3
Figure 3 : Graphing the volume of a box with girth 4w and length ℓ , subject to a size constraint.
The volume function V (w, ℓ) is shown in Figure 3 along with the constraint ℓ = 130 − 4w . As done previously, the
constraint is drawn dashed in the xy-plane and also projected up onto the surface of the function. The point where the
volume is maximized is indicated.
Finding the maximum and minimum values of f on the boundary of D can be challenging. If the boundary is a rectangle or set
of straight lines, then it is possible to parameterize the line segments and determine the maxima on each of these segments, as
8 9/5/2021 https://math.libretexts.org/@go/page/21029
seen in Example 1. The same approach can be used for other shapes such as circles and ellipses.
If the boundary of the region D is a more complicated curve defined by a function g(x, y) = c for some constant c , and the
first-order partial derivatives of g exist, then the method of Lagrange multipliers can prove useful for determining the extrema
of f on the boundary.
Before we get to the method of Lagrange Multipliers (in the next section), let's consider a few additional examples of doing
constrained optimization problems in this way.
Solution:
a. Using the problem-solving strategy, step 1 involves finding the critical points of f on its domain. Therefore, we first
calculate f (x, y) and f (x, y), then set them each equal to zero:
x y
fx (x, y) = 2x − 2y − 4
fy (x, y) = −2x + 8y − 2.
−2x + 8y − 2 = 0.
The solution to this system is x =3 and y =1 . Therefore (3, 1) is a critical point of f . Calculating f (3, 1) gives
f (3, 1) = 17.
The next step involves finding the extrema of f on the boundary of its domain. The boundary of its domain consists
of four line segments as shown in the following graph:
L1 is the line segment connecting (0, 0) and (4, 0), and it can be parameterized by the equations x(t) = t, y(t) = 0
for 0 ≤ t ≤ 4 . Define g(t) = f (x(t), y(t)) . This gives g(t) = t − 4t + 24 . Differentiating g
2
leads to
g'(t) = 2t − 4. Therefore, g has a critical value at t = 2 , which corresponds to the point (2, 0). Calculating f (2, 0)
a critical value at t = , which corresponds to the point (0, ) . Calculating f (0, ) gives the z -value 27.75.
5
4
5
4
5
L3 is the line segment connecting (0, 2) and (4, 2), and it can be parameterized by the equations x(t) = t, y(t) = 2
for 0 ≤ t ≤ 4. Again, define g(t) = f (x(t), y(t)). This gives g(t) = t − 8t + 36. The critical value corresponds
2
to the point (4, 2). So, calculating f (4, 2) gives the z -value 20.
9 9/5/2021 https://math.libretexts.org/@go/page/21029
L4 is the line segment connecting (0, 0) and (0, 2), and it can be parameterized by the equations x(t) = 0, y(t) = t
for 0 ≤ t ≤ 2. This time, g(t) = 4t − 2t + 24 and the critical value t =
2
correspond to the point (0, ).
1
4
1
We also need to find the values of f (x, y) at the corners of its domain. These corners are located at
(0, 0), (4, 0), (4, 2) and (0, 2):
2 2
f (0, 0) = (0 ) − 2(0)(0) + 4(0 ) − 4(0) − 2(0) + 24 = 24
2 2
f (4, 0) = (4 ) − 2(4)(0) + 4(0 ) − 4(4) − 2(0) + 24 = 24
2 2
f (4, 2) = (4 ) − 2(4)(2) + 4(2 ) − 4(4) − 2(2) + 24 = 20
2 2
f (0, 2) = (0 ) − 2(0)(2) + 4(2 ) − 4(0) − 2(2) + 24 = 36.
The absolute maximum value is 36, which occurs at (0, 2), and the global minimum value is 20, which occurs at both
(4, 2) and (2, 0) as shown in the following figure.
Figure 5: The function f (x, y) has two global minima and one global maximum over its domain.
b. Using the problem-solving strategy, step 1 involves finding the critical points of g on its domain. Therefore, we first
calculate g (x, y) and g (x, y), then set them each equal to zero:
x y
gx (x, y) = 2x + 4
gy (x, y) = 2y − 6.
2y − 6 = 0.
The solution to this system is x = −2 and y = 3 . Therefore, (−2, 3) is a critical point of g . Calculating g(−2, 3), we
get
2 2
g(−2, 3) = (−2 ) +3 + 4(−2) − 6(3) = 4 + 9 − 8 − 18 = −13.
The next step involves finding the extrema of g on the boundary of its domain. The boundary of its domain consists
of a circle of radius 4 centered at the origin as shown in the following graph.
10 9/5/2021 https://math.libretexts.org/@go/page/21029
Figure 6: Graph of the domain of the function g(x, y) = x 2
+y
2
+ 4x − 6y .
The boundary of the domain of g can be parameterized using the functions x(t) = 4 cos t, y(t) = 4 sin t for
0 ≤ t ≤ 2π . Define h(t) = g(x(t), y(t)) :
2 2
= (4 cos t) + (4 sin t) + 4(4 cos t) − 6(4 sin t)
2 2
= 16 cos t + 16 sin t + 16 cos t − 24 sin t
= 16 + 16 cos t − 24 sin t.
4
tan t = − .
3
3
tan t = − .
2
This equation has two solutions over the interval 0 ≤ t ≤ 2π . One is t = π − arctan(
3
2
) and the other is
t = 2π − arctan( ) . For the first angle,
3
−−
3 3
3 √13
sin t = sin(π − arctan( )) = sin(arctan( )) =
2 2
13
−−
3 3
2 √13
cos t = cos(π − arctan( )) = − cos(arctan( )) = − .
2 2
13
−− −−
144 64 32 √13 72 √13
= + − −
13 13 13 13
−−
208 − 104 √13
= ≈ −12.844.
13
11 9/5/2021 https://math.libretexts.org/@go/page/21029
For the second angle,
−−
3 3
3 √13
sin t = sin(2π − arctan( )) = − sin(arctan( )) = −
2 2
13
−−
2 √13
3 3
cos t = cos(2π − arctan( )) = cos(arctan( )) = .
2 2
13
−− −−
144 64 32 √13 72 √13
= + + +
13 13 13 13
−−
208 + 104 √13
= ≈ 44.844.
13
The absolute minimum of g is −13, which is attained at the point (−2, 3) , which is an interior point of D. The
8 √13 12 √13
absolute maximum of g is approximately equal to 44.844, which is attained at the boundary point ( 13
,−
13
) .
These are the absolute extrema of g on D as shown in the following figure.
2 2
f (x, y) = x + 4x + y − 6y
Figure 7: The function f (x, y) has a local minimum and a local maximum.
Exercise 1
Use the problem-solving strategy for finding absolute extrema of a function to find the absolute extrema of the function
12 9/5/2021 https://math.libretexts.org/@go/page/21029
2 2
f (x, y) = 4 x − 2xy + 6 y − 8x + 2y + 3
Hint
Calculate f (x, y) and f (x, y), and set them equal to zero. Then, calculate
x y f for each critical point and find the
extrema of f on the boundary of D.
Answer
The absolute minimum occurs at (1, 0) : f (1, 0) = −1.
The absolute maximum occurs at (0, 3) : f (0, 3) = 63.
where z is measured in thousands of dollars. The maximum number of golf balls that can be produced and sold is 50, 000,
and the maximum number of hours of advertising that can be purchased is 25. Find the values of x and y that maximize
profit, and find the maximum profit.
fx (x, y) = 48 − 2x − 2y
fy (x, y) = 96 − 2x − 18y.
96 − 2x − 18y = 0.
The solution to this system is x = 21 and y =3 . Therefore (21, 3) is a critical point of f . Calculating f (21, 3) gives
2 2
f (21, 3) = 48(21) + 96(3) − 21 − 2(21)(3) − 9(3 ) = 648.
13 9/5/2021 https://math.libretexts.org/@go/page/21029
Figure 9: Graph of the domain of the function f (x, y) = 48x + 96y − x 2 2
− 2xy − 9y .
L1 is the line segment connecting (0, 0) and (50, 0), and it can be parameterized by the equations x(t) = t, y(t) = 0 for
0 ≤ t ≤ 50. We then define g(t) = f (x(t), y(t)) :
g(t) = f (x(t), y(t))
= f (t, 0)
2 2
= 48t + 96(0) − y − 2(t)(0) − 9(0 )
2
= 48t − t .
Setting g'(t) = 0 yields the critical point t = 24, which corresponds to the point (24, 0) in the domain of f . Calculating
f (24, 0) gives 576.
L2 is the line segment connecting and (50, 25), and it can be parameterized by the equations x(t) = 50, y(t) = t for
0 ≤ t ≤ 25 . Once again, we define g(t) = f (x(t), y(t)) :
= f (50, t)
2 2
= 48(50) + 96t − 50 − 2(50)t − 9 t
2
= −9 t − 4t − 100.
This function has a critical point at t = − , which corresponds to the point (50, −29). This point is not in the domain of
2
f.
L3 is the line segment connecting (0, 25) and (50, 25), and it can be parameterized by the equations x(t) = t, y(t) = 25
= f (t, 25)
2 2
= 48t + 96(25) − t − 2t(25) − 9(25 )
2
= −t − 2t − 3225.
This function has a critical point at t = −1 , which corresponds to the point (−1, 25), which is not in the domain.
L4 is the line segment connecting (0, 0) to (0, 25), and it can be parameterized by the equations x(t) = 0, y(t) = t for
0 ≤ t ≤ 25 . We define g(t) = f (x(t), y(t)) :
= f (0, t)
2 2
= 48(0) + 96t − (0 ) − 2(0)t − 9 t
2
= 96t − t .
3
, which corresponds to the point (0,
16
3
) , which is on the boundary of the
domain. Calculating f (0, ) gives 256.
16
We also need to find the values of f (x, y) at the corners of its domain. These corners are located at (0, 0), (50, 0), (50, 25)
and (0, 25):
14 9/5/2021 https://math.libretexts.org/@go/page/21029
2 2
f (0, 0) = 48(0) + 96(0) − (0 ) − 2(0)(0) − 9(0 ) =0
2 2
f (50, 0) = 48(50) + 96(0) − (50 ) − 2(50)(0) − 9(0 ) = −100
2 2
f (50, 25) = 48(50) + 96(25) − (50 ) − 2(50)(25) − 9(25 ) = −5825
2 2
f (0, 25) = 48(0) + 96(25) − (0 ) − 2(0)(25) − 9(25 ) = −3225.
The maximum critical value is 648, which occurs at (21, 3). Therefore, a maximum profit of $648, 000 is realized when
21, 000 golf balls are sold and 3 hours of advertising are purchased per month as shown in the following figure.
Figure 10: The profit function f (x, y) has a maximum at (21, 3, 648).
It is hard to overemphasize the importance of optimization. In "the real world,'' we routinely seek to make something better.
By expressing the something as a mathematical function, "making something better'' means to "optimize some function.''
The techniques shown here are only the beginning of a very important field. But be aware that many functions that we will
⇀
want to optimize are incredibly complex, making the step to "find the gradient, set it equal to 0 , and find all points that make
this true'' highly nontrivial. Mastery of the principles on simpler problems here is key to being able to tackle these more
complicated problems.
Contributors
Edited, Mixed, and expanded by Paul Seeburger (Monroe Community College)
(Applications of Optimization - Approach 1 and Example 1)
Gregory Hartman (Virginia Military Institute). Contributions were made by Troy Siemers and Dimplekumar Chalishajar of
VMI and Brian Heinold of Mount Saint Mary's University. This content is copyrighted by a Creative Commons Attribution
- Noncommercial (BY-NC) License. http://www.apexcalculus.com/
(Examples 2 and 3 and some exposition at top and bottom of section.)
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
(Examples 4 and 5 and Exercise 1.)
15 9/5/2021 https://math.libretexts.org/@go/page/21029
Differentiation of Functions of Several Variables (Exercise)
13.1: Functions of Several Variables
For the following exercises, evaluate each function at the indicated values.
1) W (x, y) = 4x 2
+y .
2
Find W (2, −1), W (−3, 6).
Solution:17, 72
2) W (x, y) = 4x 2
+y
2
. Find W (2 + h, 3 + h).
3) The volume of a right circular cylinder is calculated by a function of two variables, V (x, y) = π x y, where x is the radius
2
of the right circular cylinder and y represents the height of the cylinder. Evaluate V (2, 5) and explain what this means.
Solution:20π. This is the volume when the radius is 2 and the height is 5.
4) An oxygen tank is constructed of a right cylinder of height y and radius x with two hemispheres of radius x mounted on the
top and bottom of the cylinder. Express the volume of the cylinder as a function of two variables, x and y , find V (10, 2), and
explain what this means.
For the following exercises, find the domain of the function.
5) V (x, y) = 4x 2
+y
2
7) f (x, y) = 4ln(y 2
− x)
Solution:x < y 2
−−−−−−−−−−−
8) g(x, y) = √16 − 4x 2
−y
2
9) z(x, y) = y 2
−x
2
Solution:z|0 ≤ z ≤ 4
12) V (x, y) = 4x 2
+y
2
13) z = y 2
−x
2
Solution:The set R
For the following exercises, find the level curves of each function at the indicated value of c to visualize the given function.
14) z(x, y) = y 2
−x , c = 1
2
15) z(x, y) = y 2
−x , c = 4
2
Solution:y 2
−x
2
= 4, a hyperbola
16) g(x, y) = x 2 2
+ y ; c = 4, c = 9
17) g(x, y) = 4 − x − y; c = 0, 4
Solution:4 = x + y, a line; x + y = 0, line through the origin
18) f (x, y) = xy; c = 1; c = −1
1 9/5/2021 https://math.libretexts.org/@go/page/21032
19) h(x, y) = 2x − y; c = 0, −2, 2
Solution:2x − y = 0, 2x − y = −2, 2x − y = 2; three lines
20) f (x, y) = x 2
− y; c = 1, 2
x
21) g(x, y) = ; c = −1, 0, 2
x +y
x x x
Solution: = −1, = 0, =2
x +y x +y x +y
22) g(x, y) = x 3
− y; c = −1, 0, 2
1
23) g(x, y) = e xy
;c = ,3
2
1
Solution:e xy
= ,e
xy
=3
2
24) f (x, y) = x 2
; c = 4, 9
y
27) g(x, y) = ln( ); c = −2, 0, 2
x2
Solution:e −2
x
2
= y, y = x , y = e x
2 2 2
−−−−−−
28) z = f (x, y) = √x 2
+y
2
,c =3
y +2
29) f (x, y) = 2
,c = any constant
x
For the following exercises, find the vertical traces of the functions at the indicated values of x and y , and plot the traces.
30) z = 4 − x − y; x = 2
31) f (x, y) = 3x + y 3
,x =1
Solution:z = 3 + y 3
, a curve in the zy-plane with rulings parallel to the x − axis
−−−−−−
32) z = cos√x 2
+y
2
x =1
2 2
x y
Solution: + ≤1
25 4
2 9/5/2021 https://math.libretexts.org/@go/page/21032
34) z = ln(x − y 2
)
1
35) f (x, y, z) = −−−−−−−−−−−−−−− −
2 2 2
√36 − 4 x − 9 y − z
2 2 2
x y z
Solution: + + <1
9 4 36
−−−−−−−−−−−−−−
36) f (x, y, z) = √49 − x 2
−y
2
−z
2
−−−−−−−−−−−−−−
37) f (x, y, z) = √16 − x 3 2
−y
2
−z
2
Solution:
40) z = x 2
+y
2
Solution:
Sketch the following by finding the level curves. Verify the graph using technology.
−−−−−−−−−
42) f (x, y) = √4 − x 2
−y
2
−−−−−−
43) f (x, y) = 2 − √x 2
+y
2
Solution:
3 9/5/2021 https://math.libretexts.org/@go/page/21032
2 2
44) z = 1 + e −x −y
−−−−−−
45) z = cos√x 2
+y
2
Solution:
46) z = y 2
−x
2
Solution:x 2
+y
2
+z
2
=9 , a sphere of radius 3
50) w(x, y, z) = x 2
+y
2 2
− z , c = −4
51) w(x, y, z) = x 2
+y
2 2
−z , c = 4
Solution:x 2
+y
2
−z
2
= 4, a hyperboloid of one sheet
52) w(x, y, z) = 9x 2
− 4y
2 2
+ 36 z , c = 0
For the following exercises, find an equation of the level curve of f that contains the point P .
53) f (x, y) = 1 − 4x 2 2
− y , P (0, 1)
Solution:4x 2
+y
2
= 1,
54) g(x, y) = y 2
arctanx, P (1, 2)
55) g(x, y) = e xy
(x
2 2
+ y ), P (1, 0)
Solution:1 = e xy
(x
2
+y )
2
4 9/5/2021 https://math.libretexts.org/@go/page/21032
56) The strength E of an electric field at point (x, y, z) resulting from an infinitely long charged wire lying along the y − axis
−−−−−−
is given by E(x, y, z) = k/√x 2
+y
2
, where k is a positive constant. For simplicity, let k = 1 and find the equations of the
level surfaces for E = 10 and E = 100.
57) A thin plate made of iron is located in the xy − plane. The temperature T in degrees Celsius at a point P (x, y) is
inversely proportional to the square of its distance from the origin. Express T as a function of x and y .
k
Solution:T (x, y) = 2 2
x +y
58) Refer to the preceding problem. Using the temperature function found there, determine the proportionality constant if the
temperature at point P (1, 2) is 50°C . Use this constant to determine the temperature at point Q(3, 4).
59) Refer to the preceding problem. Find the level curves for T = 40°C and T = 100°C , and describe what the level curves
represent.
k k −−− −
−
Solution:x 2
+y
2
= ,x
2
+y
2
= . The level curves represent circles of radii √10k/20 and √k/10
40 100
2
5x y
2) lim
(x,y)→(1,2) x2 + y 2
Solution:2.0
2
5x y
3) Show that the limit lim
2 2
exists and is the same along the paths: y − axis and x − axis , and along y = x .
(x,y)→(0,0) x +y
For the following exercises, evaluate the limits at the indicated values of x and y . If the limit does not exist, state this and
explain why the limit does not exist.
2 2
4x + 10 y +4
4) lim
2 2
(x,y)→(0,0) 4x − 10 y +6
2
Solution:
3
−−
−
1
5) lim √
(x,y)→(11,13) xy
2
y sinx
6) lim
(x,y)→(0,1) x
Solution:1
8 7
x +y
7) lim sin( )
(x,y)→(0,0) x − y + 10
ytanx
8) lim
(x,y)→(π/4,1) y +1
1
Solution:
2
secx + 2
9) lim
(x,y)→(0,π/4) 3x − tany
1 5
10) lim ( − )
(x,y)→(2,5) x y
5 9/5/2021 https://math.libretexts.org/@go/page/21032
1
Solution:−
2
2 2
12) lim e
−x −y
(x,y)→(4,4)
Solution:e −32
−−−−−−−−−
13) lim √9 − x
2
−y
2
(x,y)→(0,0)
14) lim (x y
2 3
−x y
3 2
+ 3x + 2y)
(x,y)→(1,2)
Solution:11.0
x +y
15) lim xsin( )
(x,y)→(π,π) 4
xy + 1
16) lim
2 2
(x,y)→(0,0) x +y +1
Solution:1.0
2 2
x +y
17) lim −−−−−−−− −
(x,y)→(0,0) √x2 + y 2 + 1 − 1
(x,y)→(0,0)
Solution:The limit does not exist because when x and y both approach zero, the function approaches ln0, which is undefined
(approaches negative infinity).
For the following exercises, complete the statement.
19) A point (x 0, y0 ) in a plane region R is an interior point of R if _________________.
20) A point (x 0, y0 ) in a plane region R is called a boundary point of R if ___________.
Solution:every open disk centered at (x 0, y0 ) contains points inside R and outside R
For the following exercises, use algebraic techniques to evaluate the limit.
x −y −1
21) lim
−−−−−
(x,y)→(2,1) √x − y − 1
4 4
x − 4y
22) lim
2 2
(x,y)→(0,0) x + 2y
Solution:0.0
3 3
x −y
23) lim
(x,y)→(0,0) x −y
2
x − xy
24) lim −
(x,y)→(0,0) √x − √y
Solution:0.00
For the following exercises, evaluate the limits of the functions of three variables.
2 2
xz −y z
25) lim (x,y,z)→(1,2,3)
xyz − 1
2 2 2
x −y −z
26) lim
2 2 2
(x,y,z)→(0,0,0) x +y −z
6 9/5/2021 https://math.libretexts.org/@go/page/21032
For the following exercises, evaluate the limit of the function by determining the value the function approaches along the
indicated paths. If the limit does not exist, explain why not.
3
xy + y
27) lim
2 2
(x,y)→(0,0) x +y
Solution:The limit does not exist. The function approaches two different values along different paths.
2
x y
29) lim
4 2
(x,y)→(0,0) x +y
2
x y
30) Evaluate lim
4 2
using the results of previous problem.
(x,y)→(0,0) x +y
Solution:The limit does not exist because the function approaches two different values along the paths.
Discuss the continuity of the following functions. Find the largest region in the xy − plane in which the following functions
are continuous.
31) f (x, y) = sin(xy)
32) f (x, y) = ln(x + y)
Solution:The function f is continuous in the region y > −x.
33) f (x, y) = e 3xy
1
34) f (x, y) =
xy
Solution:The function f is continuous at all points in the xy − plane except at (0, 0).
For the following exercises, determine the region in which the function is continuous. Explain your answer.
2
x y
35) f (x, y) =
x2 + y 2
2
x y
if (x, y) ≠ (0, 0)
36) f (x, y) ={ x +y 2
2
0 if (x, y) = (0, 0)
(Hint: Show that the function approaches different values along two different paths.)
Solution:The function is continuous at (0, 0) since the limit of the function at (0, 0) is 0, the same value of f (0, 0).
2 2
sin(x +y )
37) f (x, y) = 2 2
x +y
2 2
x −y
38) Determine whether g(x, y) = 2 2
is continuous at (0, 0).
x +y
Solution:The function is discontinuous at (0, 0). The limit at (0, 0) fails to exist and g(0, 0) does not exist.
7 9/5/2021 https://math.libretexts.org/@go/page/21032
39) Create a plot using graphing software to determine where the limit does not exist. Determine the region of the coordinate
1
plane in which f (x, y) = is continuous.
x2 − y
2
xy
40) Determine the region of the xy − plane in which the composite function g(x, y) = arctan( ) is continuous. Use
x +y
1
44) Show that lim
2 2
does not exist at (0, 0) by plotting the graph of the function.
(x,y)→(0,0) x +y
2
−xy
45) [T] Evaluate lim
2 4
by plotting the function using a CAS. Determine analytically the limit along the path
(x,y)→(0,0) x +y
2
x =y .
46) [T]
−−−−−−−−−
a. Use a CAS to draw a contour map of z = √9 − x 2
−y
2
.
8 9/5/2021 https://math.libretexts.org/@go/page/21032
a.
47) True or False: If we evaluate lim f (x) along several paths and each time the limit is 1, we can conclude that
(x,y)→(0,0)
lim f (x) = 1.
(x,y)→(0,0)
−−−−−−
2 2
sin√x + y
48) Use polar coordinates to find lim
−−−−− −
. You can also find the limit using L’Hôpital’s rule.
(x,y)→(0,0) √x2 + y 2
Solution:1.0
49) Use polar coordinates to find lim cos(x
2 2
+ y ).
(x,y)→(0,0)
50) Discuss the continuity of f (g(x, y)) where f (t) = 1/t and g(x, y) = 2x − 5y.
Solution:f (g(x, y)) is continuous at all points (x, y) that are not on the line 2x − 5y = 0.
f (x + h, y) − f (x, y)
51) Given f (x, y) = x 2
− 4y, find lim .
h→0 h
f (1 + h, y) − f (1, y)
52) Given f (x, y) = x 2
− 4y, find lim .
h→0 h
Solution:2.0
∂x
∂z
2) for z = x 2
− 3xy + y
2
∂y
∂z
Solution: = −3x + 2y
∂y
For the following exercises, calculate the sign of the partial derivative using the graph of the surface.
9 9/5/2021 https://math.libretexts.org/@go/page/21032
3) f x (1, 1)
4) f x (−1, 1)
6) f x (0, 0)
∂z
8) for z = sin(3x)cos(3y)
∂y
∂z
Solution: = −3sin(3x)sin(3y)
∂y
∂z ∂z
9) and for z = x 8 3
e y
∂x ∂y
∂z ∂z
10) and for z = ln(x 6
+y )
4
∂x ∂y
5 3
∂z 6x ∂z 4y
Solution: =
6 4
; =
6 4
∂x x +y ∂y x +y
∂z ∂z
12) Let z = e xy
. Find and .
∂x ∂y
∂z ∂z
Solution: = ye
xy
; = xe
xy
∂x ∂y
x ∂z ∂z
13) Let z = ln( ) . Find and .
y ∂x ∂y
∂z ∂z
14) Let z = tan(2x − y). Find and .
∂x ∂y
∂z ∂z
Solution: = 2sec (2x − y),
2
= −sec (2x − y)
2
∂x ∂y
∂z ∂z
15) Let z = sinh(2x + 3y). Find and .
∂x ∂y
y
16) Let f (x, y) = arctan( ). Evaluate f x (2, −2) and f
y (2, −2) .
x
1
Solution:f x (2, −2) = = fy (2, −2)
4
10 9/5/2021 https://math.libretexts.org/@go/page/21032
xy
17) Let f (x, y) = . Find f x (2, −2) and f y (2, −2).
x −y
∂z
Solution: = −cos(1)
∂x
2
∂ f
19) Given f (x, y, z) = x 3
yz ,
2
find and f z (1, 1, 1).
∂x∂y
π π π
20) Given f (x, y, z) = 2sin(x + y), find f x (0, , −4), fy (0, , −4), and f
z (0, , −4).
2 2 2
Solution:f x = 0, fy = 0, fz = 0
21) The area of a parallelogram with adjacent side lengths that are a and b , and in which the angle between these two sides is
θ , is given by the function A(a, b, θ) = basin(θ). Find the rate of change of the area of the parallelogram with respect to the
following:
a. Side a
b. Side b
c. Angleθ
22) Express the volume of a right circular cylinder as a function of two variables:
a. its radius r and its height h .
b. Show that the rate of change of the volume of the cylinder with respect to its radius is the product of its circumference
multiplied by its height.
c. Show that the rate of change of the volume of the cylinder with respect to its height is equal to the area of the circular
base.
∂V ∂V
Solution:a. V (r, h) = π r 2
h b. = 2πrh c. = πr
2
∂r ∂h
∂w
23) Calculate for w = zsin(x y 2
+ 2z).
∂z
2 2
∂ z ∂ z
Solution: 2
= 2,
2
=4
∂x ∂y
2 2
∂ z ∂ z
27) Given z = e x
tany, find and .
∂x∂y ∂y∂x
11 9/5/2021 https://math.libretexts.org/@go/page/21032
2 2
1 ∂ z ∂ z
30) Show that z = (e
y
−e
−y
)sinx is a solution of the differential equation 2
+
2
= 0.
2 ∂x ∂y
Solution:
2
d z 1 y −y
=− (e −e )sinx
2
dx 2
2
d z 1 y −y
= (e −e )sinx
dy 2 2
2 2
d z d z
+ =0
2 2
dx dy
2 2
4x y
31) Find f xx (x, y) for f (x, y) = + .
y 2x
Solution:f xyz
2
= 6 y x − 18y z
2
∂f ∂f
35) Given f (x, y) = 2x 2
+ 2xy + y
2
+ 2x − 3, find all points at which =0 and =0 simultaneously.
∂x ∂y
2 2
∂ z ∂ z
Solution: 2
+
2
x
= e sin(y) − e siny = 0
x
∂x ∂y
2 2
∂ z ∂ z
39) Show that f (x, y) = ln(x 2
+y )
2
solves Laplace’s equation 2
+
2
= 0.
∂x ∂y
x ∂z x
40) Show that z = e −t
cos( ) satisfies the heat equation = −e
−t
cos( ).
c ∂t c
2
∂ z x
Solution:c 2
2
=e
−t
cos( )
∂x c
f (x + Δx) − f (x, y)
41) Find lim for f (x, y) = −7x − 2xy + 7y.
Δx→0 Δx
∂f
Solution: = −2x + 7
∂y
Δf f (x + Δx, y) − f (x, y)
43) Find lim = lim for f (x, y) = x 2
y
2
+ xy + y.
Δx→0 Δx Δx→0 Δx
Δf f (x + Δx, y) − f (x, y)
44) Find lim = lim for f (x, y) = sin(xy).
Δx→0 Δx Δx→0 Δx
∂f
Solution: = ycosxy
∂x
12 9/5/2021 https://math.libretexts.org/@go/page/21032
nRT
45) The function P (T , V ) = gives the pressure at a point in a gas as a function of temperature T and volume V . The
V
∂P ∂P
letters n and R are constants. Find and , and explain what these quantities represent.
∂V ∂T
2 2
∂f ∂ f ∂ f
46) The equation for heat flow in the xy − plane is =
2
+
2
. Show that f (x, y, t) = e −2t
sinxsiny is a solution.
∂t ∂x ∂y
47) The basic wave equation is f tt = fxx . Verify that f (x, t) = sin(x + t) and f (x, t) = sin(x − t) are solutions.
48) The law of cosines can be thought of as a function of three variables. Let x, y, and θ be two sides of any triangle where the
angle θ is the included angle between the two sides. Then, F (x, y, θ) = x + y − 2xycosθ gives the square of the third side2 2
∂F ∂F π
of the triangle. Find and when x = 2, y = 3, and θ = .
∂θ ∂x 6
∂F ∂F –
Solution: = 6, = 4 − 3 √3
∂θ ∂x
49) Suppose the sides of a rectangle are changing with respect to time. The first side is changing at a rate of 2in./sec whereas
the second side is changing at the rate of 4 in/sec. How fast is the diagonal of the rectangle changing when the first side
measures 16 in. and the second side measures 20 in.? (Round answer to three decimal places.)
50) A Cobb-Douglas production function is f (x, y) = 200x 0.7
y
0.3
, where x and y represent the amount of labor and capital
δf δf
available. Let x = 500 and y = 1000. Find and at these values, which represent the marginal productivity of labor and
δx δy
capital, respectively.
δf δf
Solution: at (500, 1000) = 172.36, at (500, 1000) = 36.93
δx δy
51) The apparent temperature index is a measure of how the temperature feels, and it is based on two variables: h , which is
relative humidity, and t , which is the air temperature.
∂A ∂A
A = 0.885t − 22.4h + 1.20th − 0.544. Find and when t = 20°F and h = 0.90.
∂t ∂h
−−−
√145
Solution:( )(12i − k)
145
x
2) ln( ) =0 when x = y = 1
y −z
For the following exercises, as a useful review for techniques used in this section, find a normal vector and a tangent vector at
point P .
3) x2
+ xy + y
2
= 3, P (−1, −1)
5) x y 2
− 2x
2
+ y + 5x = 6, P (4, 2)
2 2
7) ze x −y
− 3 = 0, P (2, 2, 3)
Solution:−1.094i − 0.18238j
13 9/5/2021 https://math.libretexts.org/@go/page/21032
For the following exercises, find the equation for the tangent plane to the surface at the indicated point. (Hint: Solve for z in
terms of x and y .)
8) −8x − 3y − 7z = −19, P (1, −1, 2)
9) z = −9x 2 2
− 3 y , P (2, 1, −39)
Solution:−36x − 6y − z = −39
10) x2
+ 10xyz + y
2
+ 8z
2
= 0, P (−1, −1, −1)
11) z = ln(10x 2
+ 2y
2
+ 1), P (0, 0, 0)
Solution:z = 0
2 2
12) z = e 7 x +4 y
, P (0, 0, 1)
3
15) x3
+y
3
= 3xyz, P (1, 2, )
2
Solution:4x − 5y + 4z = 0
1
16) z = axy, P (1, , 1)
a
19) z = x 2
− 2xy + y , P (1, 2, 1)
2
Solution:−2(x − 1) + 2(y − 2) − (z − 1) = 0
For the following exercises, find parametric equations for the normal line to the surface at the indicated point. (Recall that to
find the equation of a line in space, you need a point on the line, P (x , y , z ), and a vector n = ⟨a, b, c⟩ that is parallel to
0 0 0 0
the line. Then the equation of the line is x − x = at, y − y = bt, z − z = ct. )
0 0 0
23) z = ln(3x 2
+ 7y
2
+ 1), P (0, 0, 0)
Solution:x = 0, y = 0, z = t
2 2
24) z = e 4 x +6 y
, P (0, 0, 1)
25) z = x 2
− 2xy + y
2
at point P (1, 2, 1)
Solution:x − 1 = 2t; y − 2 = −2t; z − 1 = t
For the following exercises, use the figure shown here.
14 9/5/2021 https://math.libretexts.org/@go/page/21032
26) The length of line segment AC is equal to what mathematical expression?
27) The length of line segment BC is equal to what mathematical expression?
Solution:The differential of the function z(x, y) = dz = f x dx + fy dy
28) Using the figure, explain what the length of line segment AB represents.
For the following exercises, complete each task.
29) Show that f (x, y) = e xy
x is differentiable at point (1, 0).
Solution:Using the definition of differentiability, we have e xy
x ≈ x + y.
33) Let z = f (x, y) = x e . Compute Δz from P (1, 2) to Q(1.05, 2.1)and then find the approximate change in z from point
y
P to point Q. Recall Δz = f (x + Δx, y + Δy) − f (x, y) , and dz and Δz are approximately equal.
−−−−−−−−−
36) Use the differential dz to approximate the change in z = √4 − x
2
−y
2
as (x, y) moves from point (1, 1) to point
(1.01, 0.97). Compare this approximation with the actual change in the function.
37) Let z = f (x, y) = x + 3xy − y . Find the exact change in the function and the approximate change in the function as x
2 2
15 9/5/2021 https://math.libretexts.org/@go/page/21032
2
v
38) The centripetal acceleration of a particle moving in a circle is given by a(r, v) = , where v is the velocity and r is the
r
radius of the circle. Approximate the maximum percent error in measuring the acceleration resulting from errors of 3 in v and
2 in r . (Recall that the percentage error is the ratio of the amount of error over the original amount. So, in this case, the
da
percentage error in a is given by .)
a
39) The radius r and height h of a right circular cylinder are measured with possible errors of 4 and 5, respectively.
Approximate the maximum possible percentage error in measuring the volume (Recall that the percentage error is the ratio of
dV
the amount of error over the original amount. So, in this case, the percentage error in V is given by .)
V
Solution:13 or 0.13
40) The base radius and height of a right circular cone are measured as 10 in. and 25 in., respectively, with a possible error in
measurement of as much as 0.1 in. each. Use differentials to estimate the maximum error in the calculated volume of the cone.
41) The electrical resistance R produced by wiring resistors R1 and R2 in parallel can be calculated from the formula
1 1 1
= + . If R and R are measured to be 7Ω and 6Ω, respectively, and if these measurements are accurate to within
1 2
R R1 R2
0.05Ω , estimate the maximum possible error in computing R . (The symbol Ω represents an ohm, the unit of electrical
resistance.)
Solution:0.025
42) The area of an ellipse with axes of length 2a and 2b is given by the formula A = πab . Approximate the percent change in
the area when a increases by 2 and b increases by 1.5
−−
L
43) The period T of a simple pendulum with small oscillations is calculated from the formula T = 2π √ , where L is the
g
length of the pendulum and g is the acceleration resulting from gravity. Suppose that L and g have errors of, at most, 0.5 and
0.1, respectively. Use differentials to approximate the maximum percentage error in the calculated value of T .
Solution:0.3
2
V
44) Electrical power P is given by P = , where V is the voltage and R is the resistance. Approximate the maximum
R
percentage error in calculating power if 120V is applied to a 2000 − Ω resistor and the possible percent errors in measuring V
and R are 3 and 4, respectively.
For the following exercises, find the linear approximation of each function at the indicated point.
45) f (x, y) = x √y, P (1, 4)
1
Solution:2x + y −1
4
46) f (x, y) = e x
cosy; P (0, 0)
−−−−−−−−−−
49) f (x, y, z) = √x 2
+y
2
+z
2
, P (3, 2, 6)
3 2 6
Solution: x+ y+ z
7 7 7
50) [T] Find the equation of the tangent plane to the surface f (x, y) = x 2
+y
2
at point (1, 2, 5), and graph the surface and the
tangent plane at the point.
16 9/5/2021 https://math.libretexts.org/@go/page/21032
51) [T] Find the equation for the tangent plane to the surface at the indicated point, and graph the surface and the tangent
plane: z = ln(10x + 2y + 1), P (0, 0, 0).
2 2
Solution:z = 0
–
π √2
52) [T] Find the equation of the tangent plane to the surface z = f (x, y) = sin(x + y )
2
at point ( , 0, , and graph the
)
4 2
surface and the tangent plane.
dw xysinz
Solution: = ycosz + xcosz(2t) − −−−− −
dt √1 − t2
∂w ∂w
2) Let w(t, v) = e tv
where t = r + s and v = rs . Find and .
∂r ∂s
∂w ∂w
3) If w = 5x 2 2
+ 2 y , x = −3s + t, and y = s − 4t, find and .
∂s ∂t
∂w ∂w
Solution: = −30x + 4y, = 10x − 16y
∂s ∂t
∂w
4) If w = x y 2
, x = 5cos(2t), and y = 5sin(2t), find .
∂t
5) If f (x, y) = xy, x = rcosθ, and y = rsinθ , find ∂f∂r and express the answer in terms of r and θ .
∂f
Solution: = rsin(2θ)
∂r
∂f
6) Suppose f (x, y) = x + y, u = e x
siny, x = t
2
and y = πt , where x = rcosθ and y = rsinθ . Find .
∂θ
df
For the following exercises, find using the chain rule and direct substitution.
dt
7) f (x, y) = x 2 2
+ y , x = t, y = t
2
df
Solution: = 2t + 4 t
3
dt
−−−−−−
8) f (x, y) = √x 2
+y
2 2
,y =t ,x =t
17 9/5/2021 https://math.libretexts.org/@go/page/21032
df
Solution: =1
dt
12) f (x, y) = x 4
, x = t, y = t
dw
13) Let w(x, y, z) = x
2
+y
2 2
+ z , x = cost, y = sint, and z =e
t
. Express w as a function of t and find directly.
dt
dw
Then, find using the chain rule.
dt
dw
Solution: = 2e
2t
in both cases
dt
dz
14) Let z = x 2
y, where x = t and y = t . Find 2 3
.
dt
du π
15) Let u = e x
siny, where x = t and y = πt . Find 2
when x = ln2 and y = .
dt 4
– – du
Solution:2√2t + √2π =
dt
dy
For the following exercises, find using partial derivatives.
dx
2 2
dy 3x +y
Solution: =−
dx 2xy
dy y −x
Solution: =
3
dx −x + 2y
20) x e y
+ ye
x
− 2x y = 0
2
21) x 2/3
+y
2/3
=a
2/3
−
−
dy y
Solution: = −√
3
dx x
xy
dy ye
Solution: =−
xy y
dx xe + e (1 + y)
24) x 2
y
3
+ cosy = 0
dz
25) Find using the chain rule where z = 3x 2 3
y ,x =t ,
4
and y = t . 2
dt
dz
Solution: = 42 t
13
dt
1 dz
26) Let z = 3cosx − sin(xy), x = , and y = 3t. Find .
t dt
dz
27) Let z = e 1−xy
,x =t
1/3
, and y = t . Find 3
.
dt
dz 10 10/3
Solution: =− t
7/3
×e
1−t
dt 3
dz 1
28) Find by the chain rule where z = cosh 2
(xy), x = t, and y = e . t
dt 2
18 9/5/2021 https://math.libretexts.org/@go/page/21032
x ∂z ∂z
29) Let z = , x = 2cosu, and y = 3sinv. Find and .
y ∂u ∂v
∂z −2sinu3 ∂z −2cosucosv3
Solution: = and =
2
∂u sinv ∂v si n v
1 ∂z ∂z
, where x = √−−
2
30) Let z = e x y
uv and y = . Find and .
v ∂u ∂v
∂z ∂z π
31) If z = xy e x/y
, x = rcosθ, and y = rsinθ , find and when r = 2 and θ = .
∂r ∂θ 6
∂z – √3 ∂z –
Solution: = √3e , = (2 − 4 √3)e
√3
∂r ∂θ
∂w 2 r+s
32) Find if w = 4x + y 2 3
+z , x = e
rs
, y = ln( ), and z = rst . 2
∂s t
∂w
33) If w = sin(xyz), x = 1 − 3t, y = e 1−t
, and z = 4t , find .
∂t
∂w
Solution: = cos(xyz) × yz × (−3) − cos(xyz)xze
1−t
+ cos(xyz)xy × 4
∂t
For the following exercises, use this information: A function f (x, y) is said to be homogeneous of degree n if
∂f ∂f
n
f (tx, ty) = t f (x, y) . For all homogeneous functions of degree n , the following equation is true: x +y = nf (x, y) .
∂x ∂y
∂f ∂f
Show that the given function is homogeneous and verify that x +y = nf (x, y) .
∂x ∂y
34) f (x, y) = 3x 2
+y
2
−−−−−−
35) f (x, y) = √x 2
+y
2
−−−−−−−−− ∂f 1 1
Solution:f (tx, ty) = √t 2 2
x +t y
2 2 1
= t f (x, y), =x (x
2
+y )
2 −1/2
× 2x + y (x
2
+y )
2 −1/2
× 2y = 1f (x, y)
∂y 2 2
36) f (x, y) = x 2
y − 2y
3
38) The pressure P of a gas is related to the volume and temperature by the formula P V = kT , where temperature is
dP dV
expressed in kelvins. Express the pressure of the gas as a function of both V and T . Find when k = 1, =2 cm3/min,
dt dt
dT
= 12 K/min, V = 20cm
3
, and T = 20°F .
dt
39) The radius of a right circular cone is increasing at 3 cm/min whereas the height of the cone is decreasing at 2 cm/min. Find
the rate of change of the volume of the cone when the radius is 13 cm and the height is 18 cm.
dV 1066π
Solution: = c m /min
3
dt 3
1
40) The volume of a frustum of a cone is given by the formula V = πz(x
2
+y
2
+ xy), where x is the radius of the smaller
3
circle, y is the radius of the larger circle, and z is the height of the frustum (see figure). Find the rate of change of the volume
of this frustum when x = 10in. , y = 12in. , and z = 18in.
19 9/5/2021 https://math.libretexts.org/@go/page/21032
41) A closed box is in the shape of a rectangular solid with dimensions x, y, and z . (Dimensions are in inches.) Suppose each
dimension is changing at the rate of 0.5 in./min. Find the rate of change of the total surface area of the box when
x = 2in. , y = 3in. , and z = 1in.
dA
Solution: = 12in.
2
/min
dt
42) The total resistance in a circuit that has three individual resistances represented by x, y, and z is given by the formula
xyz
R(x, y, z) = . Suppose at a given time the x resistance is 100Ω, the y resistance is 200Ω, and the z resistance
yz + xz + xy
is 300Ω. Also, suppose the x resistance is changing at a rate of 2Ω/min, the y resistance is changing at the rate of 1Ω/min,
and the z resistance has no change. Find the rate of change of the total resistance in this circuit at this time.
43) The temperature T at a point (x, y) is T (x, y) and is measured using the Celsius scale. A fly crawls so that its position
−−−− 1
after t seconds is given by x = √1 + t and y =2+ t , where x and y are measured in centimeters. The temperature
3
function satisfies T x (2, 3) = 4 and T y (2, 3) = 3 . How fast is the temperature increasing on the fly’s path after 3 sec?
Solution:2°C /sec
44) The x and y components of a fluid moving in two dimensions are given by the following functions: u(x, y) = 2y and
−−−−−−−−−−−−−−
∂s ∂s
v(x, y) = −2x; x ≥ 0; y ≥ 0. The speed of the fluid at the point (x, y) is s(x, y) = √u(x, y ) 2
+ v(x, y )
2
. Find and
∂x ∂y
Solution:
∂u ∂u ∂x ∂w ∂x ∂t ∂u ∂y ∂w ∂y ∂t ∂u ∂z ∂w ∂z ∂t
= ( + )+ ( + )+ ( + )
∂r ∂x ∂w ∂r ∂t ∂r ∂y ∂w ∂r ∂t ∂r ∂z ∂w ∂r ∂t ∂r
π π π
2) f (x, y) = y 2
cos(2x) at point P ( , 2) in the direction of u = (cos )i + (sin )j
3 4 4
–
Solution:−3√3
π
3) Find the directional derivative of f (x, y) = y 2
sin(2x) at point P ( , 2) in the direction of u = 5i + 12j.
4
For the following exercises, find the directional derivative of the function at point P in the direction of v.
–
1 √3
4) f (x, y) = xy, P (0, −2), v = i+ j
2 2
Solution:−1
π
5) h(x, y) = e x
siny, P (1, ), v = −i
2
20 9/5/2021 https://math.libretexts.org/@go/page/21032
2
Solution: –
√6
– –
√2 √2
7) f (x, y) = xy, P (1, 1), u = ⟨ , ⟩
2 2
–
√3 1
8) f (x, y) = x 2 2
−y , u = ⟨ , ⟩, P (1, 0)
2 2
–
Solution:√3
3 4 π
9) f (x, y) = 3x + 4y + 7, u = ⟨ , ⟩, P (0, )
5 5 2
π
10) f (x, y) = e x
cosy, u = ⟨0, 1⟩, P = (0, )
2
Solution:−1.0
11) f (x, y) = y 10
, u = ⟨0, −1⟩, P = (1, −1)
3 4
12) f (x, y) = ln(x 2 2
+ y ), u = ⟨ , ⟩, P (1, 2)
5 5
22
Solution:
25
13) f (x, y) = x 2
y, P (−5, 5), v = 3i − 4j
14) f (x, y) = y 2
+ xz, P (1, 2, 2), v = ⟨2, −1, 2⟩
2
Solution:
3
For the following exercises, find the directional derivative of the function in the direction of the unit vector
u = cosθi + sinθj.
π
15) f (x, y) = x 2
+ 2y , θ =
2
y π
16) f (x, y) = ,θ =−
x + 2y 4
–
−√2(x + y)
Solution: 2
2(x + 2y)
π
17) f (x, y) = cos(3x + y), θ =
4
π
18) w(x, y) = y e x
,θ =
3
x –
e (y + √3)
Solution:
2
π
19) f (x, y) = xarctan(y), θ =
2
π
20) f (x, y) = ln(x + 2y), θ =
3
–
1 + 2 √3
Solution:
2(x + 2y)
21 9/5/2021 https://math.libretexts.org/@go/page/21032
23) Find the gradient of f (x, y, z)) at P and in the direction of
2 2 2
−3 4 12
u : f (x, y, z) = ln(x + 2y + 3 z ), P (2, 1, 4), u = i− j− k.
13 13 13
1 2 2
24) f (x, y, z) = 4x 5 2 3
y z , P (2, −1, 1), u = i+ j− k
3 3 3
Solution:−320
For the following exercises, find the directional derivative of the function at point P in the direction of Q.
25) f (x, y) = x 2 2
+ 3 y , P (1, 1), Q(4, 5)
y
26) f (x, y, z) = , P (2, 1, −1), Q(−1, 2, 0)
x +z
3
Solution: −−
√11
For the following exercises, find the derivative of the function at P in the direction of u.
27) f (x, y) = −7x + 2y, P (2, −4), u = 4i − 3j
28) f (x, y) = ln(5x + 4y), P (3, 9), u = 6i + 8j
31
Solution:
255
29) [T] Use technology to sketch the level curve of f (x, y) = 4x − 2y + 3 that passes through P (1, 2) and draw the gradient
vector at P .
30) [T] Use technology to sketch the level curve of f (x, y) = x
2
+ 4y
2
that passes through P (−2, 0) and draw the gradient
vector at P.
Solution:
For the following exercises, find the gradient vector at the indicated point.
31) f (x, y) = x y 2 2
− y x , P (−1, 1)
32) f (x, y) = x e y
− ln(x), P (−3, 0)
4
Solution: i − 3j
3
– – –
Solution: √2i + √2j + √2k
22 9/5/2021 https://math.libretexts.org/@go/page/21032
36) f (x, y) = e xy
at point (6, 7) in the direction the function increases most rapidly
Solution:1.6(10 19
)
y
37) f (x, y) = arctan( ) at point (−9, 9) in the direction the function increases most rapidly
x
38) f (x, y, z) = ln(xy + yz + zx) at point (−9, −18, −27) in the direction the function increases most rapidly
–
5 √2
Solution:
99
x y z
39) f (x, y, z) = + + at point (5, −5, 5) in the direction the function increases most rapidly
y z x
For the following exercises, find the maximum rate of change of f at the given point and the direction in which it occurs.
40) f (x, y) = x e −y
, (1, 0)
–
Solution: √5, ⟨1, 2⟩
−−−−−−
41) f (x, y) = √x 2
+ 2y , (4, 10)
π π
42) f (x, y) = cos(3x + 2y), ( ,− )
6 8
−−
−
13
Solution:√ , ⟨−3, −2⟩
2
a. Find the rate of change of the temperature at point (1, 2, 2) in the direction toward point (2, 1, 3).
b. Show that, at any point in the sphere, the direction of greatest increase in temperature is given by a vector that points
toward the origin.
48) The electrical potential (voltage) in a certain region of space is given by the function V (x, y, z) = 5x 2
− 3xy + xyz.
a. Find the rate of change of the voltage at point (3, 4, 5) in the direction of the vector ⟨1, 1, −1⟩.
b. In which direction does the voltage change most rapidly at point (3, 4, 5)?
c. What is the maximum rate of change of the voltage at point (3, 4, 5)?
32 −−−
Solution:a. –
, b. ⟨38, 6, 12⟩, c. 2 √406
√3
π
a. Find the electric intensity vector at ( , 0).
4
23 9/5/2021 https://math.libretexts.org/@go/page/21032
b. Show that, at each point in the plane, the electric potential decreases most rapidly in the direction of the vector E.
50) In two dimensions, the motion of an ideal fluid is governed by a velocity potential φ . The velocity components of the fluid
u in the x-direction and v in the y-direction, are given by ⟨u, v⟩ = ∇φ . Find the velocity components associated with the
velocity potential φ(x, y) = sinπxsin2πy.
Solution:⟨u, v⟩ = ⟨πcos(πx)sin(2πy), 2πsin(πx)cos(2πy)⟩
2) f (x, y) = (3x − 2) 2
+ (y − 4 )
2
2
Solution:( , 4)
3
3) f (x, y) = x 4
+y
4
− 16xy
4) f (x, y) = 15x 3
− 3xy + 15 y
3
1 1
Solution:(0, 0)( , )
15 15
For the following exercises, find the critical points of the function by using algebraic techniques (completing the square) or by
examining the form of the equation. Verify your results using the partial derivatives test.
−−−−−−−−−
5) f (x, y) = √x 2
+y
2
+1
6) f (x, y) = −x 2
− 5y
2
+ 8x − 10y − 13
−−−−−−
8) f (x, y) = √x 2
+y
2
+1
10) f (x, y) = x 2
y
2
Solution:The second derivative test fails. Since x y > 0 for all x and y different from zero, and x
2 2 2
y
2
=0 when either x or y
equals zero (or both), then the absolute minimum occurs at (0, 0).
11) f (x, y) = x 2
− 6x + y
2
+ 4y − 8
16) f (x, y) = 9 − x 4
y
4
24 9/5/2021 https://math.libretexts.org/@go/page/21032
20) f (x, y) = 7x 2
y + 9x y
2
21) f (x, y) = 3x 2
− 2xy + y
2
− 8y
23) f (x, y) = y2 + xy + 3y + 2x + 3
Solution:(1, −2) is a saddle point.
24) f (x, y) = x 2
+ xy + y
2
− 3x
25) f (x, y) = x 2
+ 2y
2
−x y
2
2 2
29) f (x, y) = x 2
+ 10xy + y
2
33) f (x, y) = x 2
+ x − 3xy + y
3
−5
1 1
Solution:( , ) is a saddle point and (1, 1) is the relative minimum.
4 2
2 2
For the following exercises, determine the extreme values and the saddle points. Use a CAS to graph the function.
35) [T] f (x, y) = y e x
−e
y
25 9/5/2021 https://math.libretexts.org/@go/page/21032
π π 3π 3π π 3π
Solution:There is a saddle point at (π, π), local maxima at ( , ) and ( , , and local minima at
) ( , ) and
2 2 2 2 2 2
3π π
( , .
)
2 2
Find the absolute extrema of the given function on the indicated closed and bounded set R .
38) f (x, y) = xy − x − 3y; R is the triangular region with vertices (0, 0), (0, 4), and (5, 0).
39) Find the absolute maximum and minimum values of f (x, y) = x
2
+y
2
− 2y + 1 on the region
2 2
R = (x, y) ∣ x +y ≤ 4.
Solution:(0, 1, 0) is the absolute minimum and (0, −2, 9) is the absolute maximum.
40) f (x, y) = x 3
− 3xy − y
3
on R = (x, y) : −2 ≤ x ≤ 2, −2 ≤ y ≤ 2
−2y
41) f (x, y) = on R = (x, y) : x 2
+y
2
≤4
x2 + y 2 + 1
Solution:There is an absolute minimum at (0, 1, −1) and an absolute maximum at (0, −1, 1).
42) Find three positive numbers the sum of which is 27, such that the sum of their squares is as small as possible.
43) Find the points on the surface x 2
− yz = 5 that are closest to the origin.
– –
Solution: (√5, 0, 0), (−√5, 0, 0)
44) Find the maximum volume of a rectangular box with three faces in the coordinate planes and a vertex in the first octant on
the line x + y + z = 1 .
45) The sum of the length and the girth (perimeter of a cross-section) of a package carried by a delivery service cannot exceed
108 in. Find the dimensions of the rectangular package of largest volume that can be sent.
Solution:18 by 36 by 18 in.
46) A cardboard box without a lid is to be made with a volume of 4 ft3. Find the dimensions of the box that requires the least
amount of cardboard.
47) Find the point on the surface f (x, y) = x 2
+y
2
+ 10 nearest the plane x + 2y − z = 0. Identify the point on the plane.
47 47 235
Solution:( , , )
24 12 24
48) Find the point in the plane 2x − y + 2z = 16 that is closest to the origin.
49) A company manufactures two types of athletic shoes: jogging shoes and cross-trainers. The total revenue from x units of
jogging shoes and y units of cross-trainers is given by R(x, y) = −5x − 8y − 2xy + 42x + 102y, where x and y are in 2 2
thousands of units. Find the values of x and y to maximize the total revenue.
Solution:x = 3 and y = 6
50) A shipping company handles rectangular boxes provided the sum of the length, width, and height of the box does not
exceed 96in. Find the dimensions of the box that meets this condition and has the largest volume.
26 9/5/2021 https://math.libretexts.org/@go/page/21032
51) Find the maximum volume of a cylindrical soda can such that the sum of its height and circumference is 120 cm.
64, 000
Solution:V = ≈ 20, 372c m
3
27 9/5/2021 https://math.libretexts.org/@go/page/21032
Directional Derivatives and the Gradient
In Partial Derivatives, we introduced the partial derivative. A function z = f (x, y) has two partial derivatives: ∂z/∂x and ∂z/∂y . These
derivatives correspond to each of the independent variables and can be interpreted as instantaneous rates of change (that is, as slopes of a
tangent line). For example, ∂z/∂x represents the slope of a tangent line passing through a given point on the surface defined by
z = f (x, y), assuming the tangent line is parallel to the x -axis. Similarly, ∂z/∂y represents the slope of the tangent line parallel to the y -
axis. Now we consider the possibility of a tangent line parallel to neither axis.
Directional Derivatives
We start with the graph of a surface defined by the equation z = f (x, y) . Given a point (a, b) in the domain of f , we choose a direction
to travel from that point. We measure the direction using an angle θ , which is measured counterclockwise in the xy-plane, starting at zero
from the positive x-axis (Figure 1). The distance we travel is h and the direction we travel is given by the unit vector
u = (cos θ) i + (sin θ) j . Therefore, the z -coordinate of the second point on the graph is given by z = f (a + h cos θ, b + h sin θ).
⇀ ^ ^
Figure 1: Finding the directional derivative at a point on the graph of z = f (x, y) . The slope of the blue arrow on the graph indicates the
value of the directional derivative at that point.
We can calculate the slope of the secant line by dividing the difference in z-values by the length of the line segment connecting the two
points in the domain. The length of the line segment is h . Therefore, the slope of the secant line is
f (a + h cos θ, b + h sin θ) − f (a, b)
msec = (1)
h
To find the slope of the tangent line in the same direction, we take the limit as h approaches zero.
Definition: Directional Derivatives
Suppose z = f (x, y) is a function of two variables with a domain of D . Let (a, b) ∈ D and define ⇀ ^ ^
u = (cos θ) i + (sin θ) j . Then
the directional derivative of f in the direction of u is given by
⇀
Equation 2 provides a formal definition of the directional derivative that can be used in many cases to calculate a directional derivative.
Note that since the point (a, b) is chosen randomly from the domain D of the function f , we can use this definition to find the directional
derivative as a function of x and y .
That is,
f (x + h cos θ, y + h sin θ) − f (x, y)
D⇀ f (x, y) = lim (3)
u
h→0 h
Using f (x, y) = x 2
− xy + 3 y ,
2
we first calculate f (x + h cos θ, y + h sin θ) :
2 2
f (x + h cos θ, y + h sin θ) = (x + h cos θ) − (x + h cos θ)(y + h sin θ) + 3(y + h sin θ)
2 2 2 2 2 2 2
=x + 2xh cos θ + h cos θ − xy − xh sin θ − yh cos θ − h sin θ cos θ + 3 y + 6yh sin θ + 3 h sin θ
2 2
3 9h 4xh 3yh 12h 4 16
2 2 2
=x + 2xh( )+ − xy − − − + 3y + 6yh( ) + 3h ( )
5 25 5 5 25 5 25
2
2 2
2xh 9h 21yh
=x − xy + 3 y + + + .
5 5 5
2x 9h 21y
= lim + +
h→0 5 5 5
2x + 21y
= .
5
To calculate D ⇀ f (−1,
u
2), we substitute x = −1 and y = 2 into this answer (Figure 2):
2(−1) + 21(2) −2 + 42
D⇀ f (−1, 2) = = = 8.
u
5 5
An easier approach to calculating directional derivatives that involves partial derivatives is outlined in the following theorem.
Directional Derivative of a Function of Two Variables
Proof
Applying the definition of a directional derivative stated above in Equation 2, the directional derivative of f in the direction of
u = (cos θ) i + (sin θ) j at a point (x , y ) in the domain of f can be written
⇀ ^ ^
0 0
If t = 0, then x = x and y = y 0 0, so
g'(0) = fx (x0 , y0 ) cos θ + fy (x0 , y0 ) sin θ (7)
Therefore, D ⇀ f (x0 ,
u
y0 ) = fx (x0 , y0 ) cos θ + fy (x0 , y0 ) sin θ .
Since the point (x , y ) is an arbitrary point from the domain of f , this result holds for all points in the domain of
0 0 f for which the
partials f and f exist.
x y
Therefore,
D⇀ f (x, y) = fx (x, y) cos θ + fy (x, y) sin θ. (9)
u
fx (x, y) = 2x − y
fy (x, y) = −x + 6y,
3 4
= (2x − y) + (−x + 6y)
5 5
6x 3y 4x 24y
= − − +
5 5 5 5
2x + 21y
= .
5
To calculate D ⇀ f (−1,
u
2), let x = −1 and y = 2 :
2(−1) + 21(2) −2 + 42
D⇀ f (−1, 2) = = = 8. (10)
u
5 5
Hint
Calculate the partial derivatives and determine the value of θ .
Answer
3 2 2
–
(6xy − 4 y − 4)(1) (3 x − 12x y + 6y)√3
D⇀ f (x, y) = +
u
2 2
– –
72 − 256 − 4 (27 − 576 + 24)√3 525 √3
D⇀ f (3, 4) = + = −94 −
u
2 2 2
If the vector that is given for the direction of the derivative is not a unit vector, then it is only necessary to divide by the norm of the
vector. For example, if we wished to find the directional derivative of the function in Example 2 in the direction of the vector ⟨−5, 12⟩,
we would first divide by its magnitude to get u . This gives us u = ⟨− , ⟩ .
⇀ ⇀ 5
13
12
13
Then
D⇀ f (x, y) = fx (x, y) cos θ + fy (x, y) sin θ
u
5 12
=− (2x − y) + (−x + 6y)
13 13
22 17
=− x+ y
13 13
Gradient
The right-hand side of Equation 4 is equal to fx (x, y) cos θ + fy (x, y) sin θ, which can be written as the dot product of two vectors.
⇀
Define the first vector as ∇f (x, y) = f (x, y) ^i + f (x, y) ^j and the second vector as
x y
⇀ ^ ^
u = (cos θ) i + (sin θ) j . Then the right-hand
side of the equation can be written as the dot product of these two vectors:
⇀
⇀
D⇀ f (x, y) = ∇f (x, y) ⋅ u . (11)
u
⇀
The first vector in Equation 11 has a special name: the gradient of the function f . The symbol ∇ is called nabla and the vector ∇f is
read “del f .”
Definition: The Gradient
⇀
Let z = f (x, y) be a function of x and y such that f and f exist. The vector ∇f (x, y) is called the gradient of f and is defined as
x y
⇀
^ ^
∇f (x, y) = fx (x, y) i + fy (x, y) j . (12)
⇀
The vector ∇f (x, y) is also written as “grad f .”
^ ^
= (2x − y) i + (−x + 6y) j .
^ ^
= (3 cos 3x cos 3y) i − (3 sin 3x sin 3y) j .
Exercise 2
2 2
⇀ x − 3y
Find the gradient ∇f (x, y) of f (x, y) = .
2x + y
Hint
Calculate the partial derivatives, then use Equation 12.
Answer
2 2 2 2
⇀ 2x + 2xy + 6 y x + 12xy + 3 y
^ ^
∇f (x, y) = i − j
2 2
(2x + y) (2x + y)
The gradient has some important properties. We have already seen one formula that uses the gradient: the formula for the directional
⇀ ⇀ ⇀
derivative. Recall from The Dot Product that if the angle between two vectors ⇀
a and b is φ , then ⇀ ⇀
a ⋅ b = ∥ a ∥∥ b ∥ cos φ. Therefore, if
⇀
the angle between ∇f (x , y ) and u = (cosθ) ^i + (sinθ) ^j is φ , we have
0 0
⇀
⇀ ⇀ ⇀
⇀ ⇀
D⇀ f (x0 , y0 ) = ∇f (x0 , y0 ) ⋅ u = ∥ ∇f (x0 , y0 )∥∥ u ∥ cos φ = ∥ ∇f (x0 , y0 )∥ cos φ. (13)
u
The ∥ u ∥ disappears because u is a unit vector. Therefore, the directional derivative is equal to the magnitude of the gradient evaluated at
⇀ ⇀
⇀
If φ = 0, then cos φ = 1 and ∇f (x 0, y0 ) and u both point in the same direction.
⇀
⇀
If φ = π , then cos φ = −1 and ∇f (x 0, y0 ) and u point in opposite directions.
⇀
for any vector u . These three cases are outlined in the following theorem.
⇀
⇀ ⇀ ⇀
ii. If ∇f (x 0, y0 ) ≠ 0 , then D ⇀ f (x0 ,
u
y0 ) is maximized when u points in the same direction as ∇f (x
⇀
0, y0 ) . The maximum value of
⇀
u
is ∥∇f (x , y )∥.
D⇀ f (x0 , y0 ) 0 0
⇀ ⇀ ⇀
iii. If ∇f (x , y ) ≠ 0 , then D f (x , y ) is minimized when u points in the opposite direction from ∇f (x
0 0 ⇀
u 0 0
⇀
0, y0 ) . The minimum
⇀
value of D f (x , y ) is −∥∇f (x , y )∥.
⇀
u 0 0 0 0
is, at any given point, the gradient points in the direction with the steepest uphill slope.
so
⇀
^ ^ ^ ^
∇f (x, y) = fx (x, y) i + fy (x, y) j = (6x − 4y) i + (−4x + 4y) j .
The gradient vector gives the direction of the maximum value of the directional derivative.
⇀ −−
The maximum value of the directional derivative at (−2, 3) is ∥∇f (−2, 3)∥ = 4√61 (see the Figure 4).
Exercise 3 :
Find the direction for which the directional derivative of g(x, y) = 4x − xy + 2y
2
at (−2, 3) is a maximum. What is the maximum
value?
Hint
Evaluate the gradient of g at point (−2, 3).
Answer
⇀
The gradient of g at (−2, 3) is ^ ^
∇g(−2, 3) = i + 14 j . This gives the direction of the maximum value of the directional
derivative at the point (−2, 3).
⇀ −−−
The maximum value of the directional derivative is ∥∇g(−2, 3)∥ = √197.
Figure 5 shows a portion of the graph of the function f (x, y) = 3 + sin x sin y . Given a point (a, b) in the domain of f , the maximum
⇀
value of the directional derivative at that point is given by ∥∇f (a, b)∥. This would equal the rate of greatest ascent if the surface
represented a topographical map. If we went in the opposite direction, it would be the rate of greatest descent.
Figure 5: A typical surface in R . Given a point on the surface, the directional derivative can be calculated using the gradient.
3
When using a topographical map, the steepest slope is always in the direction where the contour lines are closest together (Figure 6). This
is analogous to the contour map of a function, assuming the level curves are obtained for equally spaced values throughout the range of
that function.
Let’s suppose further that x = x(t ) and y = y(t ) for some value of t , and consider the level curve f (x, y) = k . Define
0 0 0 0
g(t) = f (x(t), y(t)) and calculate g'(t) on the level curve. By the chain Rule,
But g'(t) = 0 because g(t) = k for all t . Therefore, on the one hand,
Therefore,
⇀
∇f (x, y) ⋅ ⟨x'(t), y'(t)⟩ = 0. (18)
Thus, the dot product of these vectors is equal to zero, which implies they are orthogonal. However, the second vector is tangent to the
level curve, which implies the gradient must be normal to the level curve, which gives rise to the following theorem.
Gradient Is Normal to the Level Curve
Suppose the function z = f (x, y) has continuous first-order partial derivatives in an open disk centered at a point (x0 , y0 ) . If
⇀ ⇀ ⇀
∇f (x , y ) ≠ 0 , then ∇f (x , y ) is normal to the level curve of f at (x , y ) .
0 0 0 0 0 0
We can use this theorem to find tangent and normal vectors to level curves of a function.
⇀
curve corresponding to f (x, y) = 18 and draw in ∇f (−2, 1) and a tangent vector.
Solution:
⇀
First, we must calculate ∇f (x, y) :
⇀
^ ^
fx (x, y) = 4x − 3y + 2 and fy = −3x + 16y − 4 so ∇f (x, y) = (4x − 3y + 2) i + (−3x + 16y − 4) j . (19)
⇀
Next, we evaluate ∇f (x, y) at (−2, 1) :
⇀
^ ^ ^ ^
∇f (−2, 1) = (4(−2) − 3(1) + 2) i + (−3(−2) + 16(1) − 4) j = −9 i + 18 j . (20)
This vector is orthogonal to the curve at point (−2, 1). We can obtain a tangent vector by reversing the components and multiplying
either one by −1. Thus, for example, −18 ^i − 9 ^j is a tangent vector (see the following graph).
Exercise 4 :
For the function f (x, y) = x
2
− 2xy + 5 y
2
+ 3x − 2y + 3 , find the tangent to the level curve at point (1, 1). Draw the graph of the
⇀
level curve corresponding to f (x, y) = 8 and draw ∇f (1, 1) and a tangent vector.
Hint
Calculate the gradient at point (1, 1).
Answer
⇀
^ ^
∇f (x, y) = (2x − 2y + 3) i + (−2x + 10y − 2) j
⇀
^ ^
∇f (1, 1) = 3 i + 6 j
Tangent vector: 6 ^i − 3 ^j or −6 ^i + 3 ^j
The fact that the gradient of a surface always points in the direction of steepest increase/decrease is very useful, as illustrated in the
following example.
4
. What path does it take as it flows
)
downhill?
SOLUTION
Let r (t) = ⟨x(t), y(t)⟩ be the vector--valued function describing the path of the water in the xy-plane; we seek x(t) and y(t). We
⇀
know that water will always flow downhill in the steepest direction; therefore, at any point on its path, it will be moving in the
⇀ ⇀
direction of −∇f . (We ignore the physical effects of momentum on the water.) Thus r (t) will be parallel to ∇f , and there is some
⇀′
⇀ ′
constant c such that c∇f (t) = r ⃗ (t) = ⟨x (t), y
′ ′
(t)⟩ .
⇀ dy
We find ∇f (x, y) = ⟨−2x, −4y⟩ and write x (t) as ′ dx
dt
and y ′
(t) as dt
. Then
⇀
′ ′
c ∇f (t) = ⟨x (t), y (t)⟩
dx dy
⟨−2cx, −4cy⟩ = ⟨ , ⟩.
dt dt
1 dx 1 dy
c =− and c =− . (22)
2x dt 4y dt
To find an explicit relationship between x and y , we can integrate both sides with respect to t . Recall from our study of differentials
that dt = dx . Thus:
dx
dt
1 dy 1 dx
∫ dt = ∫ dt
4y dt 2x dt
1 1
∫ dy = ∫ dx
4y 2x
1 1
ln |y| = ln |x| + C1
4 2
ln |y| = 2 ln |x| + C1
2
ln |y| = ln | x | + C1
C1 2
y = ±e x
Then
2 C1
y = Cx , where C = ±e or C = 0. (24)
4
, we can now solve for C :
)
2
1 1
C (1 ) = ⇒ C = . (25)
4 4
Figure 8 : A graph of the surface along with the path in the xy-plane with the level curves.
4
in the xy-plane. The surface and the path of the water is graphed in Figure 8. In part (b) of
2
the figure, the level curves of the surface are plotted in the xy-plane, along with the curve y = . Notice how the path intersects the x
level curves at right angles. As the path follows the gradient downhill, this reinforces the fact that the gradient is orthogonal to level
curves.
and is defined as
⇀
^ ^ ^
∇f (x, y, z) = fx (x, y, z) i + fy (x, y, z) j + fz (x, y, z) k. (26)
⇀
∇f (x, y, z) can also be written as grad f (x, y, z).
Calculating the gradient of a function in three variables is very similar to calculating the gradient of a function in two variables. First, we
calculate the partial derivatives f , f , and f , and then we use Equation 26.
x y z
b. f (x, y, z) = e −2z
sin 2x cos 2y
Solution:
For both parts a. and b., we first calculate the partial derivatives f x, fy , and f , then use Equation 26.
z
^ ^ ^
= (10x − 2y + 3z) i + (−2x + 2y − 4z) j + (3x − 4y + 2z) k.
b. f x (x, y, z) = 2 e
−2z
,
cos 2x cos 2y fy (x, y, z) = −2 e
−2z
sin 2x sin 2y , and f z (x, y, z) = −2 e
−2z
, so
sin 2x cos 2y
⇀
^ ^ ^
∇f (x, y, z) = fx (x, y, z) i + fy (x, y, z) j + fz (x, y, z) k
−2z ^ ^ ^
= 2e (cos 2x cos 2y i − sin 2x sin 2y j − sin 2x cos 2y k).
Exercise 5 :
2 2 2
⇀ x − 3y +z
Find the gradient ∇f (x, y, z) of f (x, y, z) = and find its gradient vector at the point (−1, 2, 3).
2
Answer
⇀
^ ^ ^
∇f (x, y, z) = x i − 3y j + z k
⇀
^ ^ ^
∇f (−1, 2, 3) = − i − 6 j + 3 k
Figure 9 shows the gradient vectors at various points on a level surface of the function in Exercise 5. The points shown on the level
−
− −− −−
surface are: (−1, 2, 3), (3, −2, −1), (0, √ 2
3
,
, 0) (2, √
10
3
, 2) , and (2, √ 10
3
, −2) .
-4
-2 4
y
2
-4 -2
2
4 x
-2
(3,-2,-1)
-4
2 2 2
x − 3y +z
Figure 9 : A level surface of the function f (x, y, z) = for C = −1 along with various points on this level surface and
2
the corresponding gradient vectors. Note how these gradient vectors are normal to this level surface.
The directional derivative can also be generalized to functions of three variables. To determine a direction in three dimensions, a vector
with three components is needed. This vector is a unit vector, and the components of the unit vector are called directional cosines. Given
a three-dimensional unit vector u in standard form (i.e., the initial point is at the origin), this vector forms three different angles with the
⇀
positive x-, y -, and z -axes. Let’s call these angles α, β, and γ. Then the directional cosines are given by cos α, cos β, and cos γ. These
are the components of the unit vector u ; since u is a unit vector, it is true that cos α + cos β + cos γ = 1.
⇀ ⇀ 2 2 2
We can calculate the directional derivative of a function of three variables by using the gradient, leading to a formula that is analogous to
Equation 4.
Directional Derivative of a Function of Three Variables
Let f (x, y, z) be a differentiable function of three variables and let ⇀ ^ ^ ^
u = cos α i + cos β j + cos γ k be a unit vector. Then, the
directional derivative of f in the direction of u is given by
⇀
⇀
⇀
D⇀ f (x, y, z) = ∇f (x, y, z) ⋅ u = fx (x, y, z) cos α + fy (x, y, z) cos β + fz (x, y, z) cos γ. (28)
u
Solution:
First, we find the magnitude of v :
−−−−−−−−−−
⇀ 2 2
∥ v ∥ = √ (−1 ) + (2 ) = 3.
⇀ ^ ^ ^
v −i + 2 j + 2 k 1 2 2 1 2
Therefore, ⇀
= =−
^
i +
^
j +
^
k is a unit vector in the direction of ⇀
v , so cos α = − , cos β = , and
∥ v∥ 3 3 3 3 3 3
2
cos γ = . Next, we calculate the partial derivatives of f :
3
fx (x, y, z) = 10x − 2y + 3z
fy (x, y, z) = −2x + 2y − 4z
1 2 2
= (10x − 2y + 3z)(− ) + (−2x + 2y − 4z)( ) + (−4y + 2z + 3x)( )
3 3 3
10x 2y 3z 4x 4y 8z 8y 4z 6x
=− + − − + − − + +
3 3 3 3 3 3 3 3 3
8x 2y 7z
=− − − .
3 3 3
8 4 21
=− + −
3 3 3
25
=− .
3
Exercise 6 :
Calculate D ⇀ f (x,
v
y, z) and D ⇀ f (0,
v
−2, 5) in the direction of ⇀ ^ ^ ^
v = −3 i + 12 j − 4 k for the function
2 2 2
f (x, y, z) = 3 x + xy − 2 y + 4yz − z + 2xz.
Hint
First, divide ⇀
v by its magnitude, calculate the partial derivatives of f , then use Equation 28.
Answer
3 12 4
D⇀ f (x, y, z) = − (6x + y + 2z) + (x − 4y + 4z) − (2x + 4y − 2z)
v
13 13 13
384
D⇀ f (0, −2, 5) =
v
13
Summary
A directional derivative represents a rate of change of a function in any given direction.
The gradient can be used in a formula to calculate the directional derivative.
The gradient indicates the direction of greatest change of a function of more than one variable.
or
D⇀ f (x, y) = fx (x, y) cos θ + fy (x, y) sin θ
u
or
⇀
D⇀ f (x, y) = ∇f (x, y) ⋅ u
u
⇀
, where u is a unit vector in the xy-plane
⇀
Glossary
directional derivative
the derivative of a function in the direction of a given unit vector
gradient
⇀
the gradient of the function f (x, y) is defined to be ∇f (x, y) = (∂f /∂x) ^i + (∂f /∂y) ^j , which can be generalized to a function of
any number of independent variables
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Example 6 is adapted from Apex Calculus by Gregory Hartman (Virginia Military Institute)
Edited and expanded by Paul Seeburger (Monroe Community College)
2
y
2
at point P (3, 4) in the direction of u = (cos ⇀ π
4
^ π ^
) i + (sin ) j
4
Answer:
–
a. D ⇀ f (3,
u
4) = −8 √2
1) b. f (x, y) = y 2
cos(2x) at point P ( π
3
, 2) in the direction of u = (cos
⇀ π
4
^ π ^
) i + (sin ) j
4
Answer:
– –
b. D ⇀f(
u
π
3
, 2) = −2 √6 − √2
4
, 2) in the direction of u = 5 ^i + 12 ^j .
⇀
In exercises 3 - 13, find the directional derivative of the function in the direction of v as a function of x and y . ⇀
Remember that you first need to find a unit vector in the direction of the direction vector. Then find the value of the
directional derivative at point P .
√3
3) f (x, y) = xy, P (−2, 0),
⇀
v =
1
2
^
i +
2
^
j
Answer:
1 √3
D⇀ f (x, y) = y+ x
v 2 2
–
D⇀ f (−2, 0) = −√3
v
4) h(x, y) = e x
sin y, P (1,
π
2
),
⇀ ^
v =− i
5) f (x, y) = x 2
y, P (−5, 5),
⇀ ^ ^
v = 3 i −4 j
Answer:
6 4 2
D⇀ f (x, y) = xy − x
v 5 5
D⇀ f (−5, 5) = −50
v
√2 √2
6) f (x, y) = xy, P (1, 1),
⇀
u =⟨
2
,
2
⟩
√3
7) f (x, y) = x 2
−y ,
2
P (1, 0),
⇀
u =⟨
2
,
1
2
⟩
Answer:
–
D⇀ f (x, y) = x √3 − y
u
–
D⇀ f (1, 0) = √3
u
8) f (x, y) = 3x + 4y + 7, P (0,
π
2
),
⇀
u =⟨
3
5
,
4
5
⟩
9) f (x, y) = e x
cos y, P = (0,
π
2
),
⇀
u = ⟨0, 5⟩
Answer:
x
D⇀ f (x, y) = −e sin y
u
π
D⇀ f (0, ) = −1
u 2
10) f (x, y) = y 10
,
⇀
u = ⟨0, −3⟩, P = (1, −1)
1 9/5/2021 https://math.libretexts.org/@go/page/21024
Answer:
√29 4x − 10y
D⇀ f (x, y) = ( )
u 29 2 2
x +y
16 √29
D⇀ f (1, 2) = −
u 145
Answer:
√6
D⇀ h(x, y, z) = (2yz + xz − xy)
v 6
2 √6
D⇀ h(2, 1, 1) = =
v √6 3
13) f (x, y, z) = y 2
+ xz, P (1, 2, 2),
⇀
v = ⟨2, −1, 2⟩
Answer:
2
D⇀ f (x, y, z) = (z − y + x)
v 3
2
D⇀ f (1, 2, 2) =
v 3
In exercises 14 - 19, find the directional derivative of the function in the direction of the unit vector
⇀ ^ ^
u = cos θ i + sin θ j .
14) f (x, y) = x 2
+ 2y ,
2
θ =
π
y
15) f (x, y) = , θ =−
π
4
x + 2y
Answer:
–
−√2(x + y)
D⇀ f (x, y) =
u
2(x + 2y)2
17) w(x, y) = y e x
, θ =
π
Answer:
x
–
e (y + √3)
D⇀ f (x, y) =
u
2
Answer:
–
1 + 2 √3
D⇀ f (x, y) =
u
2(x + 2y)
⇀
In exercises 20 - 23, find the gradient ∇f .
20) Find the gradient of f (x, y) = 3x 2
+y
3
− 3x + y . Then find it's value at the point P (2, 3).
2 2
14 − x −y
21) Find the gradient of f (x, y) = . Then, find the gradient at point P (1, 2).
3
Answer:
2 9/5/2021 https://math.libretexts.org/@go/page/21024
⇀
2 ^ 2 ^
∇f (x, y) = − x i − y j
3 3
⇀
2 ^ 4 ^
∇f (1, 2) = − i − j
3 3
Answer:
⇀
∇f (x, y, z) = ⟨y + z, x + z, y + x⟩
⇀
∇f (1, 2, 3) = ⟨5, 4, 3⟩
In exercises 24 - 25, find the directional derivative of the function at point P in the direction of Q.
24) f (x, y) = x 2
+ 3y ,
2
P (1, 1), Q(4, 5)
y
25) f (x, y, z) = , P (2, 1, −1), Q(−1, 2, 0)
x +z
Answer:
3
D −−⇀ f (x, y) =
PQ √11
26) Find the directional derivative of f (x, y, z)) at P and in the direction of
⇀
u : f (x, y, z) = ln(x
2
+ 2y
2 2
+ 3 z ), P (2, 1, 4),
⇀
u =
−3
13
^
i −
4
13
^
j −
12
13
^
k .
In exercises 27 - 29, find the directional derivative of the function at P in the direction of ⇀
u .
27) f (x, y) = ln(5x + 4y), P (3, 9),
⇀ ^ ^
u = 6 i +8 j
Answer:
31
D⇀ f (3, 9) =
u 255
29) f (x, y, z) = 4x 5 2
y z ,
3
P (2, −1, 1),
⇀
u =
1
3
^
i +
2
3
^
j −
2
3
^
k
Answer:
D⇀ f (2, −1, 1) = −320
u
30) [T] Use technology to sketch the level curve of f (x, y) = 4x − 2y + 3 that passes through P (1, 2) and draw the gradient
vector at P .
31) [T] Use technology to sketch the level curve of f (x, y) = x
2
+ 4y
2
that passes through P (−2, 0) and draw the gradient
vector at P .
Answer:
3 9/5/2021 https://math.libretexts.org/@go/page/21024
In exercises 32 - 35, find the gradient vector at the indicated point.
32) f (x, y) = x y 2
− yx ,
2
P (−1, 1)
33) f (x, y) = x e y
− ln(x), P (−3, 0)
Answer:
⇀
4 ^ ^
∇f (−3, 0) = i −3 j
3
−− −−−−
35) 2 2
f (x, y, z) = x √y + z , P (−2, −1, −1)
Answer:
⇀ –^ –^ – ^
∇f (−2, −1, −1) = √2 i + √2 j + √2 k
Answer:
19
1.6(10 )
y
38) f (x, y) = arctan( ) at point (−9, 9) in the direction the function increases most rapidly.
x
39) f (x, y, z) = ln(xy + yz + zx) at point (−9, −18, −27) in the direction the function increases most rapidly.
Answer:
5 √2
99
x y z
40) f (x, y, z) = + + at point (5, −5, 5) in the direction the function increases most rapidly.
y z x
In exercises 41 - 43, find the maximum rate of change of f at the given point and the direction in which it occurs.
41) f (x, y) = x e −y
, (−2, 0)
4 9/5/2021 https://math.libretexts.org/@go/page/21024
Answer:
–
max{ D⇀ f (−2, 0)} = √5, ⟨1, 2⟩
u
Solution:
⇀ ⇀ –
∇f (x, y) = e
−y ^
i − xe
−y ^
j. So max{D ⇀ f (−2,
u
0)} = ∥ ∇f (−2, 0)∥ = √5.
⇀
The direction in which it occurs will just be the direction of the gradient vector: ∇f (−2, 0) = ⟨1, 2⟩.
−−−−− −
42) f (x, y) = √x 2
+ 2y , (4, 10)
6
,−
π
8
)
Answer:
−−
π π 13 √26
max{ D⇀ f ( ,− )} =√ = , ⟨−3, −2⟩
u 6 8 2 2
Answer:
a. tangent plane equation: x + y + z = 3 ,
b. normal line equations: x − 1 = y − 1 = z − 1
Answer:
a. tangent plane equation: x + y − z = 1 ,
b. normal line equations: x − 1 = y = −z
a. Find the rate of change of the temperature at point (1, 2, 2) in the direction toward point (2, 1, 3).
b. Show that, at any point in the sphere, the direction of greatest increase in temperature is given by a vector that points
toward the origin.
49) The electrical potential (voltage) in a certain region of space is given by the function V (x, y, z) = 5x 2
− 3xy + xyz.
a. Find the rate of change of the voltage at point (3, 4, 5) in the direction of the vector ⟨1, 1, −1⟩.
b. In which direction does the voltage change most rapidly at point (3, 4, 5)?
c. What is the maximum rate of change of the voltage at point (3, 4, 5)?
Answer:
a. 32
,
√3
b. ⟨38, 6, 12⟩,
−−−
c. 2√406
5 9/5/2021 https://math.libretexts.org/@go/page/21024
50) If the electric potential at a point (x, y) in the -plane is
xy V (x, y) = e
−2x
, then the electric intensity vector at
cos(2y)
⇀
(x, y) is E = −∇V (x, y).
4
, 0).
b. Show that, at each point in the plane, the electric potential decreases most rapidly in the direction of the vector E.
51) In two dimensions, the motion of an ideal fluid is governed by a velocity potential φ . The velocity components of the fluid
⇀
u in the x-direction and v in the y -direction, are given by ⟨u, v⟩ = ∇φ . Find the velocity components associated with the
velocity potential φ(x, y) = sin πx sin 2πy.
Answer:
⟨u, v⟩ = ⟨π cos(πx) sin(2πy), 2π sin(πx) cos(2πy)⟩
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) created problems 20 and 22 and added a solution to problem 41.
6 9/5/2021 https://math.libretexts.org/@go/page/21024
Exercises for Lagrange Multipliers
In exercises 1-15, use the method of Lagrange multipliers to find the maximum and minimum values of the function
subject to the given constraint.
2 2
x y
1) Objective function: f (x, y) = 4xy Constraint: + =1
9 16
Answer:
3 √2 –
Subject to the given constraint, the function f has a relative minimum of −24 at both (− 2
, 2 √2) and
3 √2 – 3 √2 – 3 √2 –
(
2
, −2 √2) and a relative maximum of 24 at both ( 2
, 2 √2) and (− 2
, −2 √2)
Answer:
Subject to the given constraint, f has a relative minimum of −1 at (−1, 1) and a relative maximum of 7 at (1, −1).
Answer:
f has a relative minimum of 2 at both (−1, −1) and (1, 1), subject to the given constraint.
Answer:
Subject to the given constraint, f has a relative minimum of f (1, 2) = 5 at the point (1, 2).
Answer:
– √2
Subject to the given constraint, the function f has a relative minimum of −√2 at (− 2
, 0) ,
√7 √7
a relative minimum of 25
27
at both points ( 1
3
,−
3
) and ( 1
3
,
3
,
)
– √2
a relative maximum of √2 at ( 2
, and a relative maximum of 1 at both points (0, 1) and (0, −1).
, 0)
Solution:
Let g(x, y) = 2x 2
+y
2
be the constraint function. Then:
⇀ ⇀
∇f (x, y) = 12 x
2 ^ ^
i + 2y j and ∇g(x, y) = 4x ^i + 2y ^j
we have:
2 ^ ^ ^ ^
12 x i + 2y j = 4xλ i + 2yλ j
1 9/5/2021 https://math.libretexts.org/@go/page/21031
giving us the system of equations:
2 2 2
12 x = 4xλ, 2y = 2yλ, and the constraint 2x +y =1
Rewriting the first two equations as zero-products (by moving to one-side and factoring), we get:
4x(3x − λ) = 0 and 2y(1 − λ) = 0
x =0 or λ = 3x y =0 or λ =1
Now we consider the combinations of these solutions to the above two equations and plug each of these into the
constraint equation to solve for the corresponding Lagrange points.
The combination x = 0 and y = 0 produces a contradiction when placed in the constraint equation, since this point
is not on the ellipse.
Taking the combination x = 0 and λ = 1 , we put 0 in for x in the constraint and solve for y, obtaining: y = ±1 .
This gives us two Lagrange points: (0, 1) and (0, −1).
√2
Taking the combination λ = 3x and y = 0 , we put 0 in for y in the constraint and solve for x , obtaining: x = ± 2
.
√2 √2
This gives us two Lagrange points: (− 2
, 0) and ( 2
, 0) .
Taking the combination λ = 3x and λ = 1 , we substitute 1 into the first equation for λ , giving us 1 = 3x so x = 1
3
.
√7
Plugging this value in for x in the constraint equation and solving for y, we obtain y = ± 3
which gives us the two
√7 √7
Lagrange points: ( 1
3
,−
3
) and ( 1
3
,
3
).
1 √7 25 1 √7 25
f ( ,− ) = f ( , ) =
3 3 27 3 3 27
Comparing these values with where the corresponding Lagrange points lie on the constraint curve, we conclude the
results stated in the answer above.
Answer:
−− 2 √11 6 √11 2 √11
Subject to the given constraint,f has a relative minimum of −2√11 at the point (− 11
, −
11
,
11
) and a
−− 2 √11 6 √11 2 √11
relative maximum of 2√11 at the point ( 11
,
11
, −
11
).
1 1 1
12) Objective function: f (x, y, z) = x + y + z Constraint: + + =1
x y z
Answer:
2 9/5/2021 https://math.libretexts.org/@go/page/21031
2 √3
Subject to the given constraint, f has a relative minimum of − 3
at
– √6 – √6 – √6 – √6 2 √3
(√2, 1, −
3
) , (√2, −1,
3
) , (−√2, 1,
3
), and (−√2, −1, −
3
) and a relative maximum of 3
at
– √6 – √6 – √6 – √6
(√2, 1,
3
) , (√2, −1, −
3
) , (−√2, −1,
3
), and (−√2, 1, −
3
) .
Answer:
– – 3 – 3 –
Subject to the given constraint, f has a relative minimum of 6√2 at the points (√4, 3 3
√4, √4) ,
– – – – – – – – –
(√4, −√4, −√4) , (−√4, √4, −√4) , and (−√4, −√4, √4) .
3 3 3 3 3 3 3 3 3
In exercises 16-21, use the method of Lagrange multipliers to find the requested extremum of the given function subject
to the given constraint.
−−−−−−−− −
16) Maximize f (x, y) = √6 − x 2
−y
2
subject to the constraint, x + y − 2 = 0 .
17) Maximize f (x, y) = x 2
−y
2
subject to the constraints, g(x, y) = y − x 2
= 0, x > 0, y >0 .
Answer:
√2 √2
Subject to the given constraints, f has a relative maximum of f ( 2
,
1
2
) =
1
4
at the point ( 2
,
1
2
) . If x > 0
were not a constraint, there would have been two other Lagrange points with relative extrema of f subject to the
√2
other two constraints. These would have been (0, 0) and (− 2
,
1
2
).
√2
To verify that f really has a relative maximum at the point ( 2
,
1
2
), we would need to check the value of f on
either side of this point on the constraint curve, y − x 2
= 0.
√2
If x = 0.5 which is less than 2
, y would be y = (0.5) 2
= 0.25.
√2
If x = 1 which is greater than 2
, y would be y = (1) 2
= 1.
√2
Then we compare the value of f at the Lagrange point, ( 2
,
1
2
) , with the values of f at these other points on the
constraint.
We have f (0.5, 0.25) = (0.5) 2
− (0.25 )
2
= 0.25 − 0.0625 = 0.1875 <
1
4
and f (1, 1) = (1 )
2
− (1 )
2
=0 <
1
4
.
√2
Therefore, we can conclude that f indeed has a relative maximum of 1
4
at the point ( 2
,
1
2
).
Answer:
Subject to the given constraint, f has a relative minimum of f ( 1
3
,
1
3
,
1
3
) =
1
3
at the point ( 1
3
,
1
3
,
1
3
) .
2 2
x y
20) Minimize f (x, y) = xy on the ellipse 2
+
2
=1 .
a b
Answer:
3 9/5/2021 https://math.libretexts.org/@go/page/21031
– – 3 √2 5 √2
Subject to the given constraint, f has a relative maximum of 19√2 at the point (√2, 2
,
2
) .
– – 3 √2 5 √2
Note that, subject to this constraint, f also has a relative minimum of −19√2 at the point (−√2, −
2
, −
2
) .
To see a 3D visualization of this problem, see: CalcPlot3D for Problem 21.
In exercises 22-23, use the method of Lagrange multipliers with two constraints.
22) Optimize f (x, y, z) = yz + xy subject to the constraints: xy = 1, y
2
+z
2
=1 .
Answer:
maximum: 3
2
, minimum: 1
Answer:
minimum: f (2, 3, 4) = 29
Use the method of Lagrange multipliers to solve the following applied problems.
24) A large container in the shape of a rectangular solid must have a volume of 480 m3. The bottom of the container costs
$5/m2 to construct whereas the top and sides cost $3/m2 to construct. Use Lagrange multipliers to find the dimensions of the
container of this size that has the minimum cost.
25) A rectangular box without a top (a topless box) is to be made from 12 ft2 of cardboard. Find the maximum volume of such
a box.
Answer:
The maximum volume is 4 ft3. The dimensions are 1 × 2 × 2 ft.
26) Find the minimum distance from the parabola y = x to point (0, 3).
2
27) Find the point on the line y = 2x + 3 that is closest to point (4, 2).
Answer:
(25, 195)
29) Find the minimum distance from point (0, 1) to the parabola x 2
= 4y.
Answer:
1.0 unit
30) Find the minimum and maximum distances between the ellipse x 2
+ xy + 2 y
2
=1 and the origin.
31) Find the minimum distance from the plane x + y + z = 1 to point (2, 1, 1).
Answer:
–
√3 units
32) Find the point on the plane 4x + 3y + z = 2 that is closest to the point (1, −1, 1).
33) Find the point on the surface x 2
− 2xy + y
2
−x +y = 0 closest to the point (1, 2, −3).
Answer:
1
(1, , −3)
2
4 9/5/2021 https://math.libretexts.org/@go/page/21031
34) A pentagon is formed by placing an isosceles triangle on a rectangle, as shown in the diagram. If the perimeter of the
pentagon is 10 in., find the lengths of the sides of the pentagon that will maximize the area of the pentagon.
35) [T] By investing x units of labor and y units of capital, a watch manufacturer can produce P (x, y) = 50x y watches.0.4 0.6
Find the maximum number of watches that can be produced on a budget of $20,000 if labor costs $100/unit and capital costs
$200/unit. Use a grapher like CalcPlot3D to sketch a contour plot of the function.
Answer:
Roughly 3365 watches at the critical point (80, 60).
36) A rectangular solid is contained within a tetrahedron with vertices at (1, 0, 0), (0, 1, 0), (0, 0, 1), and the origin. The base
of the box has dimensions x and y , and the height of the box is z . If the sum of x, y , and z is 1, find the dimensions that
maximizes the volume of the rectangular solid.
37) Find the maximum value of f (x, y) = sin x sin y, where x and y denote the acute angles of a right triangle. Draw the
surface plot and contour plot of the function using a CAS.
Answer:
Subject to this constraint, f has a relative maximum of 1
2
when x = π
4
and y = π
4
.
Surface plot and contour plot forf :
5 9/5/2021 https://math.libretexts.org/@go/page/21031
38) Show that, of all the triangles inscribed in a circle of radius R (see diagram), the equilateral triangle has the largest
perimeter.
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) reordered these problems, adding problems 3 and 10 and answers for
problems 15 and 17. He also added a full worked-out solution for problem 9 and a link to CalcPlot3D in problems 15, 21
and 35. He also created new images for Problem 37 and expanded the answers for many problems.
6 9/5/2021 https://math.libretexts.org/@go/page/21031
Exercises for Limits and Continuity
1) Use the limit laws for functions of two variables to evaluate each limit below, given that lim f (x, y) = 5 and
(x,y)→(a,b)
lim g(x, y) = 2 .
(x,y)→(a,b)
7f (x, y)
c. lim [ ]
(x,y)→(a,b) g(x, y)
2f (x, y) − 4g(x, y)
d. lim [ ]
(x,y)→(a,b) f (x, y) − g(x, y)
Answer:
a. lim [f (x, y) + g(x, y)] = lim f (x, y) + lim g(x, y) = 5 + 2 = 7
(x,y)→(a,b) (x,y)→(a,b) (x,y)→(a,b)
b. lim [f (x, y)g(x, y)] = ( lim f (x, y)) ( lim g(x, y)) = 5(2) = 10
(x,y)→(a,b) (x,y)→(a,b) (x,y)→(a,b)
2
5x y
3) lim
2 2
(x,y)→(1,2) x +y
Answer:
2
5x y
lim =2
2 2
(x,y)→(1,2) x +y
2
5x y
4) Show that the limit lim
2 2
exists and is the same along the paths: y -axis and x-axis, and along y = x .
(x,y)→(0,0) x +y
In exercises 5 - 19, evaluate the limits at the indicated values of x and y . If the limit does not exist, state this and
explain why the limit does not exist.
2 2
4x + 10 y +4
5) lim
(x,y)→(0,0) 4 x2 − 10 y 2 + 6
Answer:
2 2
4x + 10 y +4 2
lim =
2 2
(x,y)→(0,0) 4x − 10 y +6 3
−−
−
1
6) lim √
(x,y)→(11,13) xy
1 9/5/2021 https://math.libretexts.org/@go/page/21016
2
y sin x
7) lim
(x,y)→(0,1) x
Answer:
2
y sin x
lim =1
(x,y)→(0,1) x
8 7
x +y
8) lim sin( )
(x,y)→(0,0) x − y + 10
y tan x
9) lim
(x,y)→(π/4,1) y +1
Answer:
y tan x 1
lim =
(x,y)→(π/4,1) y +1 2
sec x + 2
10) lim
(x,y)→(0,π/4) 3x − tan y
1 5
11) lim ( − )
(x,y)→(2,5) x y
Answer:
1 5 1
lim ( − ) =−
(x,y)→(2,5) x y 2
12) lim x ln y
(x,y)→(4,4)
2 2
13) lim e
−x −y
(x,y)→(4,4)
Answer:
2 2
−x −y −32
lim e =e
(x,y)→(4,4)
−−−−−−−−−
14) lim √9 − x
2
−y
2
(x,y)→(0,0)
15) lim (x y
2 3
−x y
3 2
+ 3x + 2y)
(x,y)→(1,2)
Answer:
2 3 3 2
lim (x y −x y + 3x + 2y) = 11
(x,y)→(1,2)
x +y
16) lim x sin( )
(x,y)→(π,π) 4
xy + 1
17) lim
2 2
(x,y)→(0,0) x +y +1
Answer:
xy + 1
lim =1
2 2
(x,y)→(0,0) x +y +1
2 2
x +y
18) lim −−−−−−−−−
(x,y)→(0,0) 2 2
√x + y + 1 − 1
2 9/5/2021 https://math.libretexts.org/@go/page/21016
19) lim ln(x
2
+y )
2
(x,y)→(0,0)
Answer:
The limit does not exist because when x and y both approach zero, the function approaches ln 0, which is undefined
(approaches negative infinity).
Answer:
Every open disk centered at (x 0, y0 ) contains points inside R and outside R.
4 4
x − 4y
23) lim
(x,y)→(0,0) x2 + 2 y 2
Answer:
4 4
x − 4y
lim =0
2 2
(x,y)→(0,0) x + 2y
3 3
x −y
24) lim
(x,y)→(0,0) x −y
2
x − xy
25) lim
−
(x,y)→(0,0) √x − √y
Answer:
2
x − xy
lim =0
−
(x,y)→(0,0) √x − √y
2 2 2
x −y −z
27) lim
2 2 2
(x,y,z)→(0,0,0) x +y −z
Answer:
The limit does not exist.
In exercises 28 - 31, evaluate the limit of the function by determining the value the function approaches along the
indicated paths. If the limit does not exist, explain why not.
3 9/5/2021 https://math.libretexts.org/@go/page/21016
3
xy + y
28) lim
2 2
(x,y)→(0,0) x +y
Answer:
The limit does not exist. The function approaches two different values along different paths.
2
x y
30) lim
4 2
(x,y)→(0,0) x +y
2
x y
31) Evaluate lim using the results of previous problem.
(x,y)→(0,0) x4 + y 2
Answer:
The limit does not exist because the function approaches two different values along the paths.
In exercises 32 - 35, discuss the continuity of each function. Find the largest region in the xy -plane in which each
function is continuous.
32) f (x, y) = sin(xy)
33) f (x, y) = ln(x + y)
Answer:
The function f is continuous in the region y > −x.
1
35) f (x, y) =
xy
Answer:
The function f is continuous at all points in the xy-plane except at points on the x - and y-axes.
In exercises 36 - 38, determine the region in which the function is continuous. Explain your answer.
2
x y
36) f (x, y) = 2 2
x +y
2
⎧ x y
⎪
if (x, y) ≠ (0, 0)
37) f (x, y) =⎨ 2
x +y
2
⎩
⎪
0 if (x, y) = (0, 0)
Hint:
Show that the function approaches different values along two different paths.
4 9/5/2021 https://math.libretexts.org/@go/page/21016
Answer:
The function is continuous at (0, 0) since the limit of the function at (0, 0) is 0, the same value of f (0, 0).
2 2
sin(x +y )
38) f (x, y) = 2 2
x +y
2 2
x −y
39) Determine whether g(x, y) = 2 2
is continuous at (0, 0).
x +y
Answer:
The function is discontinuous at (0, 0). The limit at (0, 0) fails to exist and g(0, 0) does not exist.
40) Create a plot using graphing software to determine where the limit does not exist. Determine the region of the coordinate
1
plane in which f (x, y) = 2
is continuous.
x −y
2
xy
41) Determine the region of the xy-plane in which the composite function g(x, y) = arctan(
x+y
) is continuous. Use
technology to support your conclusion.
Answer:
2
xy
2
xy
Since the function arctan x is continuous over (−∞, ∞), g(x, y) = arctan( x+y
) is continuous where z =
x +y
is continuous. The inner function z is continuous on all points of the xy-plane except where y = −x. Thus,
2
xy
g(x, y) = arctan(
x+y
) is continuous on all points of the coordinate plane except at points at which y = −x.
Answer:
All points P (x, y, z) in space
1
44) At what points in space is g(x, y, z) = 2 2
continuous?
x +z −1
1
45) Show that lim
2 2
does not exist at (0, 0) by plotting the graph of the function.
(x,y)→(0,0) x +y
Answer:
The graph increases without bound as x and y both approach zero.
5 9/5/2021 https://math.libretexts.org/@go/page/21016
2
−xy
46) [T] Evaluate lim
2 4
by plotting the function using a CAS. Determine analytically the limit along the path
(x,y)→(0,0) x +y
2
x =y .
47) [T]
−−−−−−−− −
a. Use a CAS to draw a contour map of z = √9 − x 2
−y
2
.
b. What is the name of the geometric shape of the level curves?
c. Give the general equation of the level curves.
d. What is the maximum value of z ?
e. What is the domain of the function?
f. What is the range of the function?
Answer:
a.
d. z = 3
e. {(x, y) ∈ R ∣ x + y ≤ 9}
2 2 2
f. {z|0 ≤ z ≤ 3}
48) True or False: If we evaluate lim f (x) along several paths and each time the limit is 1, we can conclude that
(x,y)→(0,0)
lim f (x) = 1.
(x,y)→(0,0)
−−−−−−
2 2
sin √x + y
49) Use polar coordinates to find lim −−−−− − . You can also find the limit using L’Hôpital’s rule.
(x,y)→(0,0) √x2 + y 2
Answer:
−−−−−−
2 2
sin √x + y
lim =1
−−−−−−
(x,y)→(0,0) 2 2
√x + y
51) Discuss the continuity of f (g(x, y)) where f (t) = 1/t and g(x, y) = 2x − 5y.
Answer:
f (g(x, y)) is continuous at all points (x, y) that are not on the line 2x − 5y = 0.
6 9/5/2021 https://math.libretexts.org/@go/page/21016
f (x + h, y) − f (x, y)
52) Given f (x, y) = x 2
− 4y, find lim .
h→0 h
f (1 + h, y) − f (1, y)
53) Given f (x, y) = x 2
− 4y, find lim .
h→0 h
Answer:
f (1 + h, y) − f (1, y)
lim =2
h→0 h
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) created problem 1.
7 9/5/2021 https://math.libretexts.org/@go/page/21016
Functions of Multiple Variables
Our first step is to explain what a function of more than one variable is, starting with functions of two independent variables.
This step includes identifying the domain and range of such functions and learning how to graph them. We also examine ways
to relate the graphs of functions in three dimensions to graphs of more familiar planar functions.
number z . The set D is called the domain of the function. The range of f is the set of all real numbers z that has at least
one ordered pair (x, y) ∈ D such that f (x, y) = z as shown in Figure 1.
Figure 1: The domain of a function of two variables consists of ordered pairs (x, y).
Determining the domain of a function of two variables involves taking into account any domain restrictions that may exist.
Let’s take a look.
Solution
a. This is an example of a linear function in two variables. There are no values or combinations of x and y that cause
f (x, y) to be undefined, so the domain of f is IR . Written in set-builder notation, this could be written as,
2
To determine the range, first pick a value for z. We need to find a solution to the equation f (x, y) = z, or
3x − 5y + 2 = z. One such solution can be obtained by first setting y = 0 , which yields the equation 3x + 2 = z . The
z−2 z−2
solution to this equation is x = , which gives the ordered pair ( , 0) as a solution to the equation f (x, y) = z
3 3
for any value of z . Therefore, the range of the function is all real numbers, or (−∞, ∞).
b. For the function g(x, y) to have a real value, the quantity under the square root must be nonnegative:
2 2
9 −x −y ≥ 0.
Therefore, the domain of g(x, y) is {(x, y) ∈ R ∣ x + y ≤ 9} . The graph of this set of points can be described as a disk
2 2 2
of radius 3 centered at the origin. The domain includes the boundary circle as shown in the following graph.
−−−−−−−−−
2 2
g(x0 , y0 ) = √ 9 − x − y
0 0
−−−−−−−−−−−
2 2
= √ 9 − (x + y )
0 0
−−−−
= √9 − 9
= 0.
If x
2
0
+y
0
2
=0 (in other words, x 0 = y0 = 0) , then
−−−−−−−−−
2 2
g(x0 , y0 ) = √ 9 − x −y
0 0
−−−−−−−−−−−
2 2
= √ 9 − (x +y )
0 0
−−− −
= √ 9 − 0 = 3.
This is the maximum value of the function. Given any value c between 0 and 3, we can find an entire set of points inside
the domain of g such that g(x, y) = c :
−−−−−−−−−
2 2
√9 −x −y =c
2 2 2
9 −x −y =c
2 2 2
x +y = 9 −c .
−−−−−
Since 9 − c > 0 , this describes a circle of radius √9 − c centered at the origin. Any point on this circle satisfies the
2 2
equation g(x, y) = c . Therefore, the range of this function can be written in interval notation as [0, 3].
Exercise 1
−−−−−−−−−−− −
Find the domain and range of the function f (x, y) = √36 − 9x 2
− 9y
2
.
Hint
Determine the set of ordered pairs that do not make the radicand negative.
Solution
b. f (x, y) = x + y
2 2
Solution
−−−−−−−−−
a. In Example 2, we determined that the domain of g(x, y) = √9 − x − y is {(x, y) ∈ R ∣ x + y ≤ 9} and the
2 2 2 2 2
range is {z ∈ R ∣ 0 ≤ z ≤ 3} . When x + y = 9 we have g(x, y) = 0 . Therefore any point on the circle of radius 3
2 2 2
centered at the origin in the xy-plane maps to z = 0 in R . If x + y = 8 , then g(x, y) = 1, so any point on the circle of
3 2 2
–
radius 2√2 centered at the origin in the xy-plane maps to z = 1 in R . As x + y gets closer to zero, the value of z
3 2 2
approaches 3. When x + y = 0 , then g(x, y) = 3 . This is the origin in the xy-plane If x + y is equal to any other
2 2 2 2
value between 0 and 9, then g(x, y) equals some other constant between 0 and 3. The surface described by this function is
a hemisphere centered at the origin with radius 3 as shown in the following graph.
obtain circles of increasing radius. The minimum value of f (x, y) = x + y is zero (attained when x = y = 0. . When
2 2
x = 0 , the function becomes z = y , and when y = 0 , then the function becomes z = x . These are cross-sections of the
2 2
graph, and are parabolas. Recall from Introduction to Vectors in Space that the name of the graph of f (x, y) = x + y is a
2 2
where x is the number of nuts sold per month (measured in thousands) and y represents the number of bolts sold per month
(measured in thousands). Profit is measured in thousands of dollars. Sketch a graph of this function.
Solution
This function is a polynomial function in two variables. The domain of f consists of (x, y) coordinate pairs that yield a
nonnegative profit:
2 2
16 − (x − 3 ) − (y − 2 ) ≥0
2 2
(x − 3 ) + (y − 2 ) ≤ 16.
This is a disk of radius 4 centered at (3, 2). A further restriction is that both x and y must be nonnegative. When x = 3 and
y = 2, f (x, y) = 16. Note that it is possible for either value to be a noninteger; for example, it is possible to sell 2.5
thousand nuts in a month. The domain, therefore, contains thousands of points, so we can consider all points within the
disk. For any z < 16 , we can solve the equation f (x, y) = 16 :
2 2
16 − (x − 3 ) − (y − 2 ) =z
2 2
(x − 3 ) + (y − 2 ) = 16 − z.
−−−−−
Since z < 16, we know that 16 − z > 0, so the previous equation describes a circle with radius √16 − z centered at the
point (3, 2). Therefore. the range of f (x, y) is {z ∈ R|z ≤ 16}. The graph of f (x, y) is also a paraboloid, and this
paraboloid points downward as shown.
Figure 5: The graph of the given function of two variables is also a paraboloid.
Level Curves
If hikers walk along rugged trails, they might use a topographical map that shows how steeply the trails change. A
topographical map contains curved lines called contour lines. Each contour line corresponds to the points on the map that have
equal elevation (Figure 6). A level curve of a function of two variables f (x, y) is completely analogous to a contour line on a
topographical map.
closed interval [0, 3]. First, we choose any number in this closed interval—say, c = 2 . The level curve corresponding to c = 2
is described by the equation
−−−−−−−−−
2 2
√9 −x −y = 2. (1)
Now, multiply both sides of the equation by −1 and add 9to each side:
2 2
x +y = 5. (3)
–
This equation describes a circle centered at the origin with radius √5. Using values of c between 0 and 3 yields other circles
also centered at the origin. If c = 3 , then the circle has radius 0, so it consists solely of the origin. Figure 7 is a graph of the
level curves of this function corresponding to c = 0, 1, 2, and 3. Note that in the previous derivation it may be possible that we
introduced extra solutions by squaring both sides. This is not the case here because the range of the square root function is
nonnegative.
Now, we rearrange the terms, putting the x terms together and the y terms together, and add 8 to each side:
2 2
4x − 8x + y + 4y = 8.
Next, we group the pairs of terms containing the same variable in parentheses, and factor 4 from the first pair:
2 2
4(x − 2x) + (y + 4y) = 8.
Then we complete the square in each pair of parentheses and add the correct value to the right-hand side:
2 2
4(x − 2x + 1) + (y + 4y + 4) = 8 + 4(1) + 4.
Next, we factor the left-hand side and simplify the right-hand side:
2 2
4(x − 1 ) + (y + 2 ) = 16.
This equation describes an ellipse centered at (1, −2). The graph of this ellipse appears in the following graph.
We then square both sides and multiply both sides of the equation by −1:
2 2 2
4x +y − 8x + 4y − 8 = −c .
Now, we rearrange the terms, putting the x terms together and the y terms together, and add 8 to each side:
2 2 2
4x − 8x + y + 4y = 8 − c .
Next, we group the pairs of terms containing the same variable in parentheses, and factor 4 from the first pair:
2 2 2
4(x − 2x) + (y + 4y) = 8 − c .
Then we complete the square in each pair of parentheses and add the correct value to the right-hand side:
2 2 2
4(x − 2x + 1) + (y + 4y + 4) = 8 − c + 4(1) + 4.
Next, we factor the left-hand side and simplify the right-hand side:
2 2 2
4(x − 1 ) + (y + 2 ) = 16 − c .
2 2
4(x − 1) (y + 2)
+ =1
2 2
16 − c 16 − c
Figure 9 shows a contour map for f (x, y) using the values c = 0, 1, 2, and 3. When c = 4, the level curve is the point
(−1, 2) .
Exercise 4
Find and graph the level curve of the function g(x, y) = x 2
+y
2
− 6x + 2y corresponding to c = 15.
Hint
First, set g(x, y) = 15 and then complete the square.
Solution
The equation of the level curve can be written as (x − 3) 2
+ (y + 1 )
2
= 25, which is a circle with radius 5 centered at
(3, −1).
Another useful tool for understanding the graph of a function of two variables is called a vertical trace. Level curves are
always graphed in the xy-plane, but as their name implies, vertical traces are graphed in the xz− or yz− planes.
Definition: vertical traces
Consider a function z = f (x, y) with domain D ⊆ IR . A vertical trace of the function can be either the set of points that
2
solves the equation f (a, y) = z for a given constant x = a or f (x, b) = z for a given constant y = b.
Solution
π
First set x = − in the equation z = sin x cos y :
4
–
π √2 cos y
z = sin(− ) cos y = − ≈ −0.7071 cos y.
4 2
π
This describes a cosine graph in the plane x = − . The other values of z appear in the following table.
4
Vertical Traces Parallel to the xz − P lane for the Function f (x, y) = sin x cos y
c Vertical Trace for x = c
–
π √2 cosy
−
z = −
4
2
0 z = 0
–
π √2 cosy
z =
4
2
In a similar fashion, we can substitute the y -values in the equation f (x, y) to obtain the traces in the yz -plane, as listed in
the following table.
Vertical Traces Parallel to the yz-plane for the Function f (x, y) = sin x cos y
d Vertical Trace for y = d
–
π
√2 sin x
z =
4 2
0 z = sin x
–
π
√2 sin x
−
z =
4 2
The three traces in the xz -plane are cosine functions; the three traces in the yz -plane are sine functions. These curves
π π π π
appear in the intersections of the surface with the planes x = − , x = 0, x = and y = − , y = 0, y = as
4 4 4 4
shown in the following figure.
Figure 10: Vertical traces of the function f (x, y) are cosine curves in the xz -planes (a) and sine curves in the yz-planes (b).
Exercise 5
Hint
Set y = 3 in the equation z = −x 2
−y
2
+ 2x + 4y − 1 and complete the square.
Solution
z = 3 − (x − 1)
2
. This function describes a parabola opening downward in the plane y = 3 .
Functions of two variables can produce some striking-looking surfaces. Figure 11 shows two examples.
Figure 11: Examples of surfaces representing functions of two variables: (a) a combination of a power function and a sine
function and (b) a combination of trigonometric, exponential, and logarithmic functions.
and
2 2
g(x, y, t) = (x − 4xy + y ) sin t − (3x + 5y) cos t. (6)
In the first function, (x, y, z) represents a point in space, and the function f maps each point in space to a fourth quantity, such
as temperature or wind speed. In the second function, (x, y) can represent a point in the plane, and t can represent time. The
function might map a point in the plane to a third quantity (for example, pressure) at a given time t . The method for finding
the domain of a function of more than two variables is analogous to the method for functions of one or two variables.
Solution:
Moving the variables to the other side and reversing the inequality gives the domain as
3 2 2 2
domain(f ) = {(x, y, z) ∈ R ∣ x +y +z < 9},
which describes a ball of radius 3 centered at the origin. (Note: The surface of the ball is not included in this
domain.)
−−−−−
√2t − 4
b. For the function g(x, y, t) = 2 2
to be defined (and be a real value), two conditions must hold:
x −y
Exercise 6
−−−−−−−−−
Find the domain of the function h(x, y, t) = (3t − 6)√y − 4x 2
+4 .
Hint
Check for values that make radicands negative or denominators equal to zero.
Solution
3 2
domain(h) = {(x, y, t) ∈ R ∣ y ≥ 4x − 4}
Functions of two variables have level curves, which are shown as curves in the xy − plane. However, when the function has
three variables, the curves become surfaces, so we can define level surfaces for functions of three variables.
Definition: level surface of a function of three variables
Given a function f (x, y, z) and a number c in the range of f , a level surface of a function of three variables is defined to be
the set of points satisfying the equation f (x, y, z) = c.
Exercise 5
Find the equation of the level surface of the function
2 2 2
g(x, y, z) = x +y +z − 2x + 4y − 6z
Hint
Set g(x, y, z) = c and complete the square.
Solution
((x−1)^2+(y+2)^2+(z−3)^2=16\) describes a sphere of radius 4 centered at the point (1, −2, 3).
Summary
The graph of a function of two variables is a surface in R and can be studied using level curves and vertical traces.
3
Glossary
contour map
a plot of the various level curves of a given function f (x, y)
surface
the graph of a function of two variables, z = f (x, y)
vertical trace
the set of ordered triples (c, y, z) that solves the equation f (c, y) = z for a given constant x = c or the set of ordered
triples (x, d, z) that solves the equation f (x, d) = z for a given constant y = d
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Answer:
W (2, −1) = 17, W (−3, 6) = 72
2) W (x, y) = 4x 2
+y
2
. Find W (2 + h, 3 + h).
3) The volume of a right circular cylinder is calculated by a function of two variables, V (x, y) = π x y, where x is the radius
2
of the right circular cylinder and y represents the height of the cylinder. Evaluate V (2, 5) and explain what this means.
Answer:
V (2, 5) = 20π units
3
This is the volume when the radius is 2 and the height is 5.
4) An oxygen tank is constructed of a right cylinder of height y and radius x with two hemispheres of radius x mounted on the
top and bottom of the cylinder. Express the volume of the cylinder as a function of two variables, x and y , find V (10, 2), and
explain what this means.
For exercises 5 - 10, find the domain and range of the given function. State the domain in set-builder notation and the
range in interval notation.
5) V (x, y) = 4x 2
+y
2
Answer:
Domain: {(x, y) | x ∈ IR, y ∈ IR} That is, all points in the xy-plane
Range: [0, ∞)
−−−−−−−−−
6) f (x, y) = √x 2 2
+y −4
Answer:
Domain: {(x, y) | x 2
+y
2
≥ 4}
Range: [0, ∞)
7) f (x, y) = 4 ln(y 2
− x)
Answer:
Domain: {(x, y) | x < y 2
}
Range: (−∞, ∞)
−−−−−−−−−− −
8) g(x, y) = √16 − 4x 2
− y2
Answer:
2 2
x y
Domain: {(x, y) | + ≤ 1}
4 16
Range: [0, 4]
9) z = arccos(y − x)
Answer:
Domain: {(x, y) | x − 1 ≤ y ≤ x + 1} That is, all points between the graphs of y = x − 1 and y = x + 1 .
Range: [0, π]
1 9/5/2021 https://math.libretexts.org/@go/page/21014
y +2
10) f (x, y) =
x2
Answer:
Domain: {(x, y) | x ≠ 0}
Range: (−∞, ∞)
Answer:
{z | 0 ≤ z ≤ 4} or in interval notation: [0, 4]
12) V (x, y) = 4x 2
+y
2
13) z = y 2
−x
2
Answer:
The set IR
In exercises 14 - 29, find the level curves of each function at the indicated values of c to visualize the given function.
Sketch a contour plot for those exercises where you are asked for more than 3 values of c.
14) z(x, y) = y 2
−x ,
2
c =1
15) z(x, y) = y 2
−x ,
2
c =4
Answer:
y
2
−x
2
= 4, a hyperbola
16) g(x, y) = x 2
+y ;
2
c = 0, 1, 2, 3, 4, 9
17) g(x, y) = 4 − x − y; c = 0, 1, 2, 3, 4
Answer:
Level curves are lines with y = −x + (4 − c) .
For each value of c these are:
c = 0 : y = −x + 4 ,
c = 1 : y = −x + 3 ,
c = 2 : y = −x + 2 ,
c = 3 : y = −x + 1 ,
c = 4 : y = −x .
2 9/5/2021 https://math.libretexts.org/@go/page/21014
The contour plot consists of a series of parallel lines.
Answer:
2x − y = 0, 2x − y = −2, 2x − y = 2; three lines
20) f (x, y) = x 2
− y; c = 1, 2
x
21) g(x, y) = ; c = −1, 0, 1, 2
x +y
Answer:
1 −c x
Level curves are lines with the form y = x ( ) . At c = 0 , we solve it directly from the equation =0
c x +y
to get x = 0 .
For each value of c these are:
c = −1 : y = −2x ,
c = 0 : x = 0, with y ≠ 0 ,
c = 1 : y = 0, with x ≠ 0 ,
c =2 : y =− x .
1
22) g(x, y) = x 3
− y; c = −1, 0, 2
23) g(x, y) = e xy
; c =
1
2
,3
Answer:
3 9/5/2021 https://math.libretexts.org/@go/page/21014
ln c
The level curves have the form, y = .
x
For each value of c these are:
1
ln ln 2
c =
1
2
: y =
2
that can be rewritten as, y = −
x x
ln 3
c =3 : y = .
x
24) f (x, y) = x 2
; c = 4, 9
Answer:
c
Level curves have the form: y = +1 .
x
−2 2
Here y = + 1, y = 1, y = +1 or xy − x = −2, xy − x = 0, xy − x = 2
x x
y
27) g(x, y) = ln( 2
); c = −2, 0, 2
x
Answer:
The level curves have the form, y = e c
x
2
.
For each value of c these are:
x ,
−2 2
c = −2 : y = e
c =0 : y =x ,
2
c =2 : y =e x .
2 2
−−−−−−
28) z = f (x, y) = √x 2 2
+y , c =3
y +2
29) f (x, y) = 2
, c = any constant
x
Answer:
The level curves are parabolas of the form y = cx 2
− 2, with x ≠ 0 .
In exercises 30-32, find the vertical traces of the functions at the indicated values of x and y , and plot the traces.
30) z = 4 − x − y, x =2
31) f (x, y) = 3x + y 3
, x =1
4 9/5/2021 https://math.libretexts.org/@go/page/21014
Answer:
z = 3 +y ,
3
a curve in the zy-plane with rulings parallel to the x -axis
−−−−− −
32) z = cos √x 2
+ y2 , x =1
Answer:
2 2
x y
Domain: {(x, y) | + ≤ 1}
25 4
Range: [0, 10]
34) z = ln(x − y 2
)
1
35) f (x, y, z) = −−−−−−−−−−−−−−− −
√36 − 4 x2 − 9 y 2 − z 2
Answer:
2 2 2
x y z
Domain: {(x, y, z) | + + < 1}
9 4 36
Range: [ 1
6
, ∞)
−−−−−−−−−−−−−−
36) f (x, y, z) = √49 − x 2 2
−y −z
2
−−−−−−−−−−−−−−
37) f (x, y, z) = √16 − x
3
2 2
−y −z
2
Answer:
Domain: All points in xyz-space
−−
Range: ( − ∞, √16 ] 3
−−−−−−
38) f (x, y) = cos √x 2
+y
2
Answer:
5 9/5/2021 https://math.libretexts.org/@go/page/21014
40) z = x2
+y
2
Answer:
In exercises 42 - 46, sketch the function by finding its level curves. Verify the graph using technology, such as
CalcPlot3D.
−−−−−−−− −
42) f (x, y) = √4 − x 2
−y
2
−−−−−−
43) f (x, y) = 2 − √x 2
+y
2
Answer:
44) z = 1 + e
2 2
−x −y
−−−−−−
45) z = cos √x 2
+y
2
6 9/5/2021 https://math.libretexts.org/@go/page/21014
Answer:
46) z = y 2
−x
2
Answer:
The contour lines are concentric circles centered at the point, (1, 1).
You can see this by completing the square after setting this function equal to c.
That is, we write x − 2x + 1 + y − 2y + 1 = c + 2 which can be rewritten as, (x − 1)
2 2 2 2
+ (y − 1 ) = c +2 .
−−−−
This gives us circles centered at the point, (1, 1), each with a radius of √c + 2 .
In exercises, 48 - 52, find the level surface for the given value of c for each function of three variables and describe it.
48) w(x, y, z) = x − 2y + z, c =4
49) w(x, y, z) = x 2
+y
2
+z ,
2
c =9
Answer:
x
2
+y
2
+z
2
=9 , a sphere of radius 3
50) w(x, y, z) = x 2
+y
2
−z ,
2
c = −4
51) w(x, y, z) = x 2
+y
2
−z ,
2
c =4
Answer:
x
2
+y
2
−z
2
= 4, a hyperboloid of one sheet
52) w(x, y, z) = 9x 2
− 4y
2
+ 36 z ,
2
c =0
In exercises 53 - 55, find an equation of the level curve of f that contains the point P .
53) f (x, y) = 1 − 4x 2
−y ,
2
P (0, 1)
Answer:
2 2
4x +y = 1,
54) g(x, y) = y 2
arctan x, P (1, 2)
55) g(x, y) = e xy
(x
2
+ y ),
2
P (1, 0)
7 9/5/2021 https://math.libretexts.org/@go/page/21014
Answer:
xy 2 2
1 =e (x +y )
56) The strength E of an electric field at point (x, y, z) resulting from an infinitely long charged wire lying along the y -axis is
−−− −− −
given by E(x, y, z) = k/√x + y , where k is a positive constant. For simplicity, let k = 1 and find the equations of the
2 2
Answer:
k
T (x, y) =
2 2
x +y
58) Refer to the preceding problem. Using the temperature function found there, determine the proportionality constant if the
temperature at point P (1, 2) is 50°C . Use this constant to determine the temperature at point Q(3, 4).
59) Refer to the preceding problem. Find the level curves for T = 40°C and T = 100°C , and describe what the level curves
represent.
Answer:
k k −−− −
−
x
2
+y
2
= , x
2
+y
2
= . The level curves represent circles of radii √10k/20 and √k/10
40 100
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) added the contour plots to answers for problems 17, 21 and 29.
8 9/5/2021 https://math.libretexts.org/@go/page/21014
Introduction to Functions of Multiple Variables
In Introduction to Applications of Derivatives, we studied how to determine the maximum and minimum of a function of one
variable over a closed interval. This function might represent the temperature over a given time interval, the position of a car
as a function of time, or the altitude of a jet plane as it travels from New York to San Francisco. In each of these examples, the
function has one independent variable.
Figure 1: Americans use (and lose) millions of golf balls a year, which keeps golf ball manufacturers in business. In this
chapter, we study a profit model and learn methods for calculating optimal production levels for a typical golf ball
manufacturing company. (credit: modification of work by oatsy40, Flickr)
Suppose, however, that we have a quantity that depends on more than one variable. For example, temperature can depend on
location and the time of day, or a company’s profit model might depend on the number of units sold and the amount of money
spent on advertising. In this chapter, we look at a company that produces golf balls. We develop a profit model and, under
various restrictions, we find that the optimal level of production and advertising dollars spent determines the maximum
possible profit. Depending on the nature of the restrictions, both the method of solution and the solution itself changes.
When dealing with a function of more than one independent variable, several questions naturally arise. For example, how do
we calculate limits of functions of more than one variable? The definition of derivative we used before involved a limit. Does
the new definition of derivative involve limits as well? Do the rules of differentiation apply in this context? Can we find
relative extrema of functions using derivatives? All these questions are answered in this chapter.
1 9/5/2021 https://math.libretexts.org/@go/page/21012
Lagrange Multipliers
Solving optimization problems for functions of two or more variables can be similar to solving such problems in single-
variable calculus. However, techniques for dealing with multiple variables allow us to solve more varied optimization
problems for which we need to deal with additional conditions or constraints. In this section, we examine one of the more
common and useful methods for solving optimization problems with constraints.
Lagrange Multipliers
In the previous section, an applied situation was explored involving maximizing a profit function, subject to certain
constraints. In that example, the constraints involved a maximum number of golf balls that could be produced and sold in 1
month (x), and a maximum number of advertising hours that could be purchased per month (y). Suppose these were combined
into a single budgetary constraint, such as 20x + 4y ≤ 216, that took into account both the cost of producing the golf balls and
the number of advertising hours purchased per month. The goal is still to maximize profit, but now there is a different type of
constraint on the values of x and y . This constraint and the corresponding profit function
2 2
f (x, y) = 48x + 96y − x − 2xy − 9 y
is an example of an optimization problem, and the function f (x, y) is called the objective function. A graph of various level
curves of the function f (x, y) follows.
In Figure 1, the value c represents different profit levels (i.e., values of the function f ). As the value of c increases, the curve
shifts to the right. Since our goal is to maximize profit, we want to choose a curve as far to the right as possible. If there were
no restrictions on the number of golf balls the company could produce or the number of units of advertising available, then we
could produce as many golf balls as we want, and advertise as much as we want, and there would be not be a maximum profit
for the company. Unfortunately, we have a budgetary constraint that is modeled by the inequality 20x + 4y ≤ 216. To see
how this constraint interacts with the profit function, Figure P ageI ndex2 shows the graph of the line 20x + 4y = 216
superimposed on the previous graph.
Proof
Assume that a constrained extremum occurs at the point (x0 , y0 ). Furthermore, we assume that the equation g(x, y) = k
where s is an arc length parameter with reference point (x 0, y0 ) at s = 0 . Therefore, the quantity z = f (x(s), y(s)) has a
dz
relative maximum or relative minimum at s = 0 , and this implies that =0 at that point. From the chain rule,
ds
dz ∂f ∂x ∂f ∂y
= ⋅ + ⋅
ds ∂x ∂s ∂y ∂s
∂f ∂f ∂x ∂y
^ ^ ^ ^
=( i + j) ⋅ ( i + j)
∂x ∂y ∂s ∂s
= 0,
where the derivatives are all evaluated at s = 0 . However, the first factor in the dot product is the gradient of f , and the
second factor is the unit tangent vector T⃗ (0) to the constraint curve. Since the point (x , y ) corresponds to s = 0 , it
0 0
To apply Theorem 1 to an optimization problem similar to that for the golf ball manufacturer, we need a problem-solving
strategy.
Problem-Solving Strategy: Steps for Using Lagrange Multipliers
1. Determine the objective function f (x, y) and the constraint function g(x, y). Does the optimization problem involve
maximizing or minimizing the objective function?
2. Set up a system of equations using the following template:
⇀ ⇀
∇f (x, y) = λ ∇g(x, y) (2)
.
g(x, y) = k (3)
3. Solve for x and y to determine the Lagrange points, i.e., points that satisfy the Lagrange multiplier equation.
4. If the objective function is continuous on the constraint and the constraint is a closed curve (like a circle or an ellipse),
then the largest of the values of f at the solutions found in step 3 maximizes f , subject to the constraint; the smallest of
those values minimizes f , subject to the constraint.
But in other cases, we need to evaluate the objective functions f at points from the constraint on either side of each
Lagrange point to determine whether we have obtained a relative maximum or a relative minimum.
Note that it is possible that our objective function will not have a relative maximum or a relative minimum at a given Lagrange
point. This can occur in a couple situations, but most often when the Lagrange point is also a critical point of the objective
function giving us a saddle point. Most of the time we will still get a relative extremum at a saddle point subject to a
constraint, but sometimes we will not. See Figure 3 for an example of this case.
1
1
1
-2
0.8 -1 0.8
x 2
0.6
1
0.4
0.6
-10.4 -2
0.2 0.2
0 1 0
-0.2 -1 -0.2
-0.4 -0.4
2 -0.6
-0.6
-0.8
-1
-2 y -0.8
-1
Figure 3 : Graph of f (x, y) = x − y along with the constraint (x − 1) + y = 1 . Note that there is no relative extremum
2 3 2 2
at (0, 0), although this point will satisfy the Lagrange Multiplier equation with λ = 0 .
constraint equation when only a constant is on the right-hand side. So here g(x, y) = x + 2y . The problem asks us to solve
for the minimum value of f , subject to the constraint (Figure 4).
⇀
^ ^
∇g (x, y) = i + 2 j .
⇀ ⇀
The equation ∇f (x, y) = λ∇g (x, y) becomes
^ ^ ^ ^
(2x − 2) i + (8y + 8) j = λ ( i + 2 j ) , (5)
8y + 8 = 2λ. (8)
The equation g (x, y) = k becomes x + 2y = 7 . Therefore, the system of equations that needs to be solved is
2x − 2 = λ (9)
8y + 8 = 2λ (10)
x + 2y = 7. (11)
3. This is a linear system of three equations in three variables. We start by solving the second equation for λ and
substituting it into the first equation. This gives λ = 4y + 4 , so substituting this into the first equation gives
2x − 2 = 4y + 4.
Solving this equation for x gives x = 2y + 3 . We then substitute this into the third equation:
(2y + 3) + 2y = 7
4y = 4
y = 1.
To ensure this corresponds to a minimum value on the constraint function, let’s try some other points on the constraint from
either side of the point (5, 1), such as the intercepts of g(x, y) = 0 , Which are (7, 0) and (0, 3.5).
Exercise 1
Use the method of Lagrange multipliers to find the maximum value of
2 2
f (x, y) = 9 x + 36xy − 4 y − 18x − 8y
Hint
Use the problem-solving strategy for the method of Lagrange multipliers.
Answer
Subject to the given constraint, f has a maximum value of 976 at the point (8, 2).
Let’s now return to the problem posed at the beginning of the section.
where z is measured in thousands of dollars. The budgetary constraint function relating the cost of the production of
thousands golf balls and advertising units is given by 20x + 4y = 216. Find the values of x and y that maximize profit,
and find the maximum profit.
Solution:
Again, we follow the problem-solving strategy:
1. The objective function is f (x, y) = 48x + 96y − x − 2xy − 9y . To determine the constraint function, we divide
2 2
both sides by 4, which gives 5x + y = 54. The constraint function is equal to the left-hand side, so g(x, y) = 5x + y.
The problem asks us to solve for the maximum value of f , subject to this constraint.
2. So, we calculate the gradients of both f and g :
⇀
^ ^
∇f (x, y) = (48 − 2x − 2y) i + (96 − 2x − 18y) j
⇀
^ ^
∇g(x, y) = 5 i + j .
⇀ ⇀
The equation ∇f (x, y) = λ∇g(x, y) becomes
^ ^ ^
(48 − 2x − 2y)^
i + (96 − 2x − 18y) j = λ(5 i + j ),
96 − 2x − 18y = λ.
The equation g(x, y) = k becomes 5x + y = 54 . Therefore, the system of equations that needs to be solved is
96 − 2x − 18y = λ
5x + y = 54.
3. We use the left-hand side of the second equation to replace λ in the first equation:
48 − 2x − 2y = 5(96 − 2x − 18y)
8x = 432 − 88y
x = 54 − 11y.
5(54 − 11y) + y = 54
270 − 55y + y = 54
216 = 54y
y = 4.
Therefore the maximum profit that can be attained, subject to budgetary constraints, is $540, 000with a production
level of 10, 000 golf balls and 4 hours of advertising bought per month. Let’s check to make sure this truly is a
maximum. The endpoints of the line that defines the constraint are (10.8, 0) and (0, 54) Let’s evaluate f at both of these
points:
2 2
f (10.8, 0) = 48(10.8) + 96(0) − 10.8 − 2(10.8)(0) − 9(0 )
= 401.76
2 2
f (0, 54) = 48(0) + 96(54) − 0 − 2(0)(54) − 9(54 )
= −21, 060.
The second value represents a loss, since no golf balls are produced. Neither of these values exceed 540, so it seems that
our extremum is a maximum value of f , subject to the given constraint.
x represents the total number of labor hours in 1 year and y represents the total capital input for the company. Suppose 1
unit of labor costs $40 and 1 unit of capital costs $50. Use the method of Lagrange multipliers to find the maximum value
of f (x, y) = 2.5x y
0.45
subject to a budgetary constraint of $500, 000per year.
0.55
Hint
Use the problem-solving strategy for the method of Lagrange multipliers.
Answer:
Subject to the given constraint, a maximum production level of 13890 occurs with 5625 labor hours and $5500 of total
capital input.
capital input, and z represents the cost of advertising. The method is the same as for the method with a function of two
variables; the equations to be solved are
⇀ ⇀
∇f (x, y, z) = λ ∇g(x, y, z)
g(x, y, z) = k.
expression on the left-hand side of the constraint equation: x + y + z = 1 which gives the constraint function as
g(x, y, z) = x + y + z.
⇀ ⇀
2. Next, we calculate ∇f (x, y, z) and ∇g(x, y, z) :
⇀
∇f (x, y, z) = ⟨2x, 2y, 2z⟩
⇀
∇g(x, y, z) = ⟨1, 1, 1⟩.
x +y +z = 1
2y = λ
2z = λ
x + y + z = 1.
3. Since each of the first three equations has λ on the right-hand side, we know that 2x = 2y = 2z and all three variables
are equal to each other. Substituting y = x and z = x into the last equation yields 3x = 1, so x = and y = and z = 1
3
1
3
1
3
,
1
3
,
1
3
:
)
2 2 2
1 1 1 1 1 1 3 1
f ( , , ) =( ) +( ) +( ) = = (13)
3 3 3 3 3 3 9 3
Therefore, a possible extremum of the function is . To verify it is a minimum, choose other points that satisfy the
1
constraint from either side of the point we obtained above and calculate f at those points. For example,
2 2 2
f (1, 0, 0) = 1 +0 +0 =1
2 2 2
f (0, −2, 3) = 0 + +(−2 ) +3 = 13.
3
, leading us to believe the extremum is a minimum, subject to the given constraint.
Exercise 3 :
Use the method of Lagrange multipliers to find the minimum value of the function
f (x, y, z) = x + y + z
Hint
Use the problem-solving strategy for the method of Lagrange multipliers with an objective function of three variables.
Answer
Evaluating f at both points we obtained, gives us,
– – – – – –
√3 √3 √3 √3 √3 √3 –
f ( , , ) = + + = √3
3 3 3 3 3 3
– – – – – –
√3 √3 √3 √3 √3 √3 –
f (− ,− ,− ) =− − − = −√3
3 3 3 3 3 3
–
Since the constraint is continuous, we compare these values and conclude that f has a relative minimum of −√3 at the
– – –
√3 √3 √3
point (− ,− ,− ) , subject to the given constraint.
3 3 3
w = f (x, y, z) (14)
There are two Lagrange multipliers, λ and λ , and the system of equations becomes
1 2
⇀ ⇀ ⇀
∇f (x0 , y0 , z0 ) = λ1 ∇g(x0 , y0 , z0 ) + λ2 ∇h(x0 , y0 , z0 )
g(x0 , y0 , z0 ) = 0
h(x0 , y0 , z0 ) = 0
both sides of the first constraint, which gives x + y − z = 0 , so g(x, y, z) = x + y − z . The second constraint
2 2 2 2 2 2
function is h(x, y, z) = x + y − z + 1.
2. We then calculate the gradients of f , g, and h :
⇀
^ ^ ^
∇f (x, y, z) = 2x i + 2y j + 2zk
⇀
^ ^ ^
∇g(x, y, z) = 2x i + 2y j − 2zk
⇀
^ ^ ^
∇h(x, y, z) = i + j − k.
⇀ ⇀ ⇀
The equation ∇f (x, y, z) = λ 1 ∇g(x, y, z) + λ2 ∇h(x, y, z) becomes
^ ^ ^ ^ ^ ^ ^ ^ ^
2x i + 2y j + 2zk = λ1 (2x i + 2y j − 2zk) + λ2 ( i + j − k), (16)
2y = 2 λ1 y + λ2
2z = −2 λ1 z − λ2 .
2y = 2 λ1 y + λ2
2z = −2 λ1 z − λ2
2 2 2
z =x +y
x +y −z+1 = 0.
3. The first three equations contain the variable λ . Solving the third equation for λ and replacing into the first and
2 2
2x = 2 λ1 x − 2 λ1 z − 2z
2y = 2 λ1 y − 2 λ1 z − 2z
2 2 2
z =x +y
x +y −z+1 = 0.
x +z
Next, we solve the first and second equation for λ . The first equation gives λ
1 1 = , the second equation gives
x −z
y +z
λ1 = . We set the right-hand side of each equation equal to each other and cross-multiply:
y −z
x +z y +z
=
x −z y −z
(x + z)(y − z) = (x − z)(y + z)
2 2
xy − xz + yz − z = xy + xz − yz − z
2yz − 2xz = 0
2z(y − x) = 0.
Therefore, either z = 0 or y = x . If z = 0 , then the first constraint becomes 0 = x + y . The only real solution to this
2 2
equation is x = 0 and y = 0 , which gives the ordered triple (0, 0, 0). This point does not satisfy the second constraint,
so it is not a solution. Next, we consider y = x , which reduces the number of equations to three:
y =x
2 2 2
z =x +y
x +y −z+1 = 0.
We substitute the first equation into the second and third equations:
2 2 2
z =x +x
= x + x − z + 1 = 0.
Then, we solve the second equation for z , which gives z = 2x + 1 . We then substitute this into the first equation,
2 2 2
(2 x + 1) = 2x
2 2
4x + 4x + 1 = 2x
2
2x + 4x + 1 = 0,
– –
√2 √2 –
4. We substitute (−1 + , −1 + , −1 + √2) into f (x, y, z) = x 2
+y
2
+z
2
, which gives
2 2
– – – 2 – 2
√2 √2 – √2 √2 – 2
f (−1 + , −1 + , −1 + √2) = (−1 + ) + (−1 + ) + (−1 + √2)
2 2 2 2
– 1 – 1 –
= (1 − √2 + ) + (1 − √2 + ) + (1 − 2 √2 + 2)
2 2
–
= 6 − 4 √2.
– –
√2 √2 –
Then, we substitute (−1 − , −1 + , −1 + √2) into f (x, y, z) = x 2
+y
2
+z
2
, which gives
2 2
– – – 2 – 2
√2 √2 – √2 √2 – 2
f (−1 − , −1 + , −1 + √2) = (−1 − ) + (−1 − ) + (−1 − √2)
2 2 2 2
– 1 – 1 –
= (1 + √2 + ) + (1 + √2 + ) + (1 + 2 √2 + 2)
2 2
–
= 6 + 4 √2.
– –
6 + 4 √2 is the maximum value and 6 − 4√2 is the minimum value of f (x, y, z), subject to the given constraints.
Exercise 4
Use the method of Lagrange multipliers to find the minimum value of the function
2 2 2
f (x, y, z) = x +y +z (21)
Hint
Use the problem-solving strategy for the method of Lagrange multipliers with two constraints.
Answer
f (2, 1, 2) = 9 is a relative minimum of f , subject to the given constraints
Key Equations
Method of Lagrange multipliers, one constraint
⇀ ⇀
∇f (x, y) = λ ∇g(x, y)
g(x, y) = k
g(x0 , y0 , z0 ) = 0
h(x0 , y0 , z0 ) = 0
Glossary
constraint
an inequality or equation involving one or more variables that is used in an optimization problem; the constraint enforces a
limit on the possible solutions for the problem
Lagrange multiplier
the constant (or constants) used in the method of Lagrange multipliers; in the case of one constant, it is represented by the
variable λ
objective function
the function that is to be maximized or minimized in an optimization problem
optimization problem
calculation of a maximum or minimum value of a function of several variables, often using Lagrange multipliers
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
We have now examined functions of more than one variable and seen how to graph them. In this section, we see how to take
the limit of a function of more than one variable, and what it means for a function of more than one variable to be continuous
at a point in its domain. It turns out these concepts have aspects that just don’t occur with functions of one variable.
if for every ε > 0, there exists a δ > 0 , such that if 0 < |x − a| < δ for all x in the domain of f , then
|f (x) − L| < ε. (2)
Before we can adapt this definition to define a limit of a function of two variables, we first need to see how to extend the idea
of an open interval in one variable to an open interval in two variables.
Definition: δ Disks
Consider a point (a, b) ∈ R 2
. A δ disk centered at point (a, b) is defined to be an open disk of radius δ centered at point
(a, b) —that is,
2 2 2 2
{(x, y) ∈ R ∣ (x − a) + (y − b ) <δ } (3)
as shown in Figure 1.
The idea of a δ disk appears in the definition of the limit of a function of two variables. If δ is small, then all the points (x, y)
in the δ disk are close to (a, b). This is completely analogous to x being close to a in the definition of a limit of a function of
one variable. In one dimension, we express this restriction as
a − δ < x < a + δ. (4)
1 9/5/2021 https://math.libretexts.org/@go/page/21015
Let f be a function of two variables, x and y . The limit of f (x, y) as (x, y) approaches (a, b) is L, written
lim f (x, y) = L (5)
(x,y)→(a,b)
if for each ε > 0 there exists a small enough δ > 0 such that for all points (x, y) in a δ disk around (a, b), except possibly
for (a, b) itself, the value of f (x, y) is no more than ε away from L (Figure 2).
Using symbols, we write the following: For any ε > 0 , there exists a number δ > 0 such that
|f (x, y) − L| < ε (6)
whenever
−−−−−−−−−−−−−−−
2 2
0 < √ (x − a) + (y − b ) < δ. (7)
Figure 2: The limit of a function involving two variables requires that f (x, y) be within ε of L whenever (x, y) is within δ of
(a, b) . The smaller the value of ε , the smaller the value of δ .
Proving that a limit exists using the definition of a limit of a function of two variables can be challenging. Instead, we use the
following theorem, which gives us shortcuts to finding limits. The formulas in this theorem are an extension of the formulas in
the limit laws theorem in The Limit Laws.
and
lim g(x, y) = M , (9)
(x,y)→(a,b)
2 9/5/2021 https://math.libretexts.org/@go/page/21015
Identity Laws:
lim x =a (11)
(x,y)→(a,b)
lim y =b (12)
(x,y)→(a,b)
Sum Law:
lim (f (x, y) + g(x, y)) = L + M (13)
(x,y)→(a,b)
Difference Law:
lim (f (x, y) − g(x, y)) = L − M (14)
(x,y)→(a,b)
Product Law:
lim (f (x, y)g(x, y)) = LM (16)
(x,y)→(a,b)
Quotient Law:
f (x, y) L
lim = for M ≠ 0 (17)
(x,y)→(a,b) g(x, y) M
Power Law:
n n
lim (f (x, y)) =L (18)
(x,y)→(a,b)
for all L if n is odd and positive, and for L ≥ 0 if n is even and positive.
The proofs of these properties are similar to those for the limits of functions of one variable. We can apply these laws to
finding limits of various functions.
2x + 3y
b. lim
(x,y)→(2,−1) 4x − 3y
Solution
a. First use the sum and difference laws to separate the terms:
3 9/5/2021 https://math.libretexts.org/@go/page/21015
2 2
lim (x − 2xy + 3 y − 4x + 3y − 6)
(x,y)→(2,−1)
2 2
=( lim x ) −( lim 2xy) + ( lim 3y ) − ( lim 4x)
(x,y)→(2,−1) (x,y)→(2,−1) (x,y)→(2,−1) (x,y)→(2,−1)
Next, use the constant multiple law on the second, third, fourth, and fifth limits:
2 2
=( lim x ) − 2( lim xy) + 3( lim y ) − 4( lim x)
(x,y)→(2,−1) (x,y)→(2,−1) (x,y)→(2,−1) (x,y)→(2,−1)
Now, use the power law on the first and third limits, and the product law on the second limit:
2 2
Last, use the identity laws on the first six limits and the constant law on the last limit:
2 2 2 2
lim (x − 2xy + 3 y − 4x + 3y − 6) = (2 ) − 2(2)(−1) + 3(−1 ) − 4(2) + 3(−1) − 6
(x,y)→(2,−1)
= −6.
b. Before applying the quotient law, we need to verify that the limit of the denominator is nonzero. Using the difference
law, constant multiple law, and identity law,
lim (4x − 3y) = lim 4x − lim 3y
(x,y)→(2,−1) (x,y)→(2,−1) (x,y)→(2,−1)
= 4( lim x) − 3( lim y)
(x,y)→(2,−1) (x,y)→(2,−1)
Since the limit of the denominator is nonzero, the quotient law applies. We now calculate the limit of the numerator
using the difference law, constant multiple law, and identity law:
lim (2x + 3y) = lim 2x + lim 3y
(x,y)→(2,−1) (x,y)→(2,−1) (x,y)→(2,−1)
= 2( lim x) + 3( lim y)
(x,y)→(2,−1) (x,y)→(2,−1)
= 2(2) + 3(−1) = 1.
lim =
(x,y)→(2,−1) 4x − 3y lim (4x − 3y)
(x,y)→(2,−1)
1
= .
11
Exercise 1 :
Evaluate the following limit:
4 9/5/2021 https://math.libretexts.org/@go/page/21015
−−−−−−−−−
2
x −y
3
lim √ .
2
(x,y)→(5,−2) y +x −1
Hint
Use the limit laws.
Answer
−−−−−−−−−
2
x −y 3
3
lim √ =
2 2
(x,y)→(5,−2) y +x −1
Since we are taking the limit of a function of two variables, the point (a, b) is in R , and it is possible to approach this point
2
from an infinite number of directions. Sometimes when calculating a limit, the answer varies depending on the path taken
toward (a, b). If this is the case, then the limit fails to exist. In other words, the limit must be unique, regardless of path taken.
Solution
2xy
a. The domain of the function f (x, y) =
2 2
consists of all points in the xy-plane except for the point (0, 0)
3x +y
(Figure 3). To show that the limit does not exist as (x, y) approaches (0, 0), we note that it is impossible to satisfy the
definition of a limit of a function of two variables because of the fact that the function takes different values along
different lines passing through point (0, 0). First, consider the line y = 0 in the xy-plane. Substituting y = 0 into f (x, y)
gives
2x(0)
f (x, 0) = =0
2 2
3x +0
for any value of x. Therefore the value of f remains constant for any point on the x-axis, and as y approaches zero, the
function remains fixed at zero.
Next, consider the line y = x . Substituting y = x into f (x, y) gives
2
2x(x) 2x 1
f (x, x) = = = .
2
3 x2 + x2 4x2
This is true for any point on the line y = x . If we let x approach zero while staying on this line, the value of the function
remains fixed at , regardless of how small x is.
1
Choose a value for ε that is less than 1/2—say, 1/4. Then, no matter how small a δ disk we draw around (0, 0), the
values of f (x, y) for points inside that δ disk will include both 0 and . Therefore, the definition of limit at a point is
1
5 9/5/2021 https://math.libretexts.org/@go/page/21015
z
2xy
f (x, y) =
2 2
3x + y
2
z = 0.5
1 z=0
-2 -2
-1 -1
1 1
x 2 -1 2
y
-2
2xy
Figure 3: Graph of the function f (x, y) = . Along the line y = 0 , the function is equal to zero; along the line
2 2
3x +y
2
.
b. In a similar fashion to a., we can approach the origin along any straight line passing through the origin. If we try the x-
axis (i.e., y = 0 ), then the function remains fixed at zero. The same is true for the y -axis. Suppose we approach the origin
along a straight line of slope k . The equation of this line is y = kx . Then the limit becomes
2 2
4xy 4x(kx)
lim = lim
2 4 2 4
(x,y)→(0,0) x + 3y (x,y)→(0,0) x + 3(kx )
2 3
4k x
= lim
2
(x,y)→(0,0) x + 3 k4 x4
2
4k x
= lim
(x,y)→(0,0) 1 + 3k4 x2
2
lim (4 k x)
(x,y)→(0,0)
=
4 2
lim (1 + 3 k x )
(x,y)→(0,0)
= 0.
regardless of the value of k . It would seem that the limit is equal to zero. What if we chose a curve passing through the
origin instead? For example, we can consider the parabola given by the equation x = y . Substituting y in place of x in 2 2
f (x, y) gives
6 9/5/2021 https://math.libretexts.org/@go/page/21015
2 2 2
4xy 4(y )y
lim = lim
(x,y)→(0,0) x2 + 3 y 4 (x,y)→(0,0) (y 2 )2 + 3 y 4
4
4y
= lim
4 4
(x,y)→(0,0) y + 3y
= lim 1
(x,y)→(0,0)
= 1.
By the same logic in part a, it is impossible to find a δ disk around the origin that satisfies the definition of the limit for
any value of ε < 1. Therefore,
2
4xy
lim
2 4
(x,y)→(0,0) x + 3y
Exercise 2 :
Show that
(x − 2)(y − 1)
lim
2 2
(x,y)→(2,1) (x − 2 ) + (y − 1 )
Hint
Pick a line with slope k passing through point (2, 1).
Answer
(x − 2)(y − 1) k
If y = k(x − 2) + 1, then lim(x,y)→(2,1)
2 2
=
2
. Since the answer depends on k, the limit
(x − 2 ) + (y − 1 ) 1 +k
fails to exist.
1. A point P is called an interior point of S if there is a δ disk centered around P contained completely in S .
0 0
2. A point P is called a boundary point of S if every δ disk centered around P contains points both inside and outside
0 0
S.
7 9/5/2021 https://math.libretexts.org/@go/page/21015
Figure 4: In the set S shown, (−1, 1) is an interior point and (2, 3) is a boundary point.
An example of an open set is a δ disk. If we include the boundary of the disk, then it becomes a closed set. A set that contains
some, but not all, of its boundary points is neither open nor closed. For example if we include half the boundary of a δ disk but
not the other half, then the set is neither open nor closed.
1. An open set S is a connected set if it cannot be represented as the union of two or more disjoint, nonempty open
subsets.
2. A set S is a region if it is open, connected, and nonempty.
The definition of a limit of a function of two variables requires the δ disk to be contained inside the domain of the function.
However, if we wish to find the limit of a function at a boundary point of the domain, the δ disk is not contained inside the
domain. By definition, some of the points of the δ disk are inside the domain and some are outside. Therefore, we need only
consider points that are inside both the δ disk and the domain of the function. This leads to the definition of the limit of a
function at a boundary point.
Definition
Let f be a function of two variables, x and y , and suppose (a, b) is on the boundary of the domain of f . Then, the limit of
f (x, y) as (x, y) approaches (a, b) is L, written
if for any ε > 0, there exists a number δ > 0 such that for any point (x, y) inside the domain of f and within a suitably
small distance positive δ of (a, b), the value of f (x, y) is no more than ε away from L (Figure 2). Using symbols, we can
write: For any ε > 0 , there exists a number δ > 0 such that
−−−−−−−−−−−−−−−
2 2
|f (x, y) − L| < ε whenever 0 < √ (x − a) + (y − b ) < δ. (21)
8 9/5/2021 https://math.libretexts.org/@go/page/21015
Example 3 : Limit of a Function at a Boundary Point
Prove
−−−−−−−−−−
2 2
lim √ 25 − x −y = 0.
(x,y)→(4,3)
Solution
−−−−−−−−−−
The domain of the function f (x, y) = √25 − x − y is {(x, y) ∈ R
2 2 2
∣ x
2
+y
2
≤ 25} , which is a circle of radius 5
−−−−−−−−− −
Figure 5: Domain of the function f (x, y) = √25 − x 2
−y
2
.
We can use the limit laws, which apply to limits at the boundary of domains as well as interior points:
−−−−−−−−−− −−−−−−−−−−−−−−−−−−
2 2 2 2
lim √ 25 − x −y = lim (25 − x −y )
√
(x,y)→(4,3) (x,y)→(4,3)
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2
= lim 25 − lim x − lim y
√
(x,y)→(4,3) (x,y)→(4,3) (x,y)→(4,3)
− −−−− −−−−−
2 2
= √ 25 − 4 − 3
=0
−−−−−−−−− −
Figure 6: Graph of the function f (x, y) = √25 − x 2
−y
2
.
9 9/5/2021 https://math.libretexts.org/@go/page/21015
Exercise 3
Evaluate the following limit:
−−−−−−−−−−
2 2
lim √ 29 − x −y .
(x,y)→(5,−2)
Hint
−−−−−−−−− −
Determine the domain of f (x, y) = √29 − x 2
−y
2
.
Answer
−−−−−−−−−−
2 2
lim √ 29 − x −y
(x,y)→(5,−2)
These three conditions are necessary for continuity of a function of two variables as well.
10 9/5/2021 https://math.libretexts.org/@go/page/21015
3x + 2y
lim f (x, y) = lim
(x,y)→(a,b) (x,y)→(5,−3) x +y +1
=
lim (x + y + 1)
(x,y)→(5,−3)
15 − 6
=
5 −3 +1
= 3.
3. lim f (x, y) = f (a, b). This is true because we have just shown that both sides of this equation equal three.
(x,y)→(a,b)
Exercise 4
Show that the function
−−−−−−−−−−−
2 2
f (x, y) = √ 26 − 2 x −y
Hint
Use the three-part definition of continuity.
Answer
−−−−−−−−−−−−−− −
1. The domain of f contains the ordered pair (2, −3) because f (a, b) = f (2, −3) = √16 − 2(2) 2
− (−3 )
2
=3
2. lim f (x, y) = 3
(x,y)→(a,b)
Continuity of a function of any number of variables can also be defined in terms of delta and epsilon. A function of two
variables is continuous at a point (x , y ) in its domain if for every ε > 0 there exists a δ > 0 such that, whenever
0 0
−−−−−−−−−−−−−−−− −
< δ it is true, |f (x, y) − f (a, b)| < ε. This definition can be combined with the formal definition
2 2
√(x − x ) + (y − y )
0 0
(that is, the epsilon–delta definition) of continuity of a function of one variable to prove the following theorems:
(x , y ) ∈ D and define z = g(x , y ) . Let f be a function that maps R to R such that z is in the domain of f . Last,
0 0 0 0 0 0
11 9/5/2021 https://math.libretexts.org/@go/page/21015
Figure 7: The composition of two continuous functions is continuous.
Let’s now use the previous theorems to show continuity of functions in the following examples.
continuous functions theorem, f (x, y) = 4x y is continuous at every point (x, y) in the xy-plane. Since
3 2
f (x, y) = 4x y is continuous at every point (x, y) in the xy-plane and g(x) = cos x is continuous at every real number
3 2
x, the continuity of the composition of functions tells us that g(x, y) = cos(4 x y ) is continuous at every point (x, y) in
3 2
the xy-plane.
Exercise 5
Show that the functions f (x, y) = 2x 2
y
3
+3 and g(x, y) = (2x 2
y
3 4
+ 3) are continuous everywhere.
Hint
Use the continuity of the sum, product, and composition of two functions.
Answer
The polynomials g(x) = 2x and h(y) = y are continuous at every real number; therefore, by the product of
2 3
continuous functions theorem, f (x, y) = 2x y is continuous at every point (x, y) in the xy-plane. Furthermore, any
2 3
constant function is continuous everywhere, so g(x, y) = 3 is continuous at every point (x, y) in the xy-plane.
Therefore, f (x, y) = 2x y + 3 is continuous at every point (x, y) in the xy-plane. Last, h(x) = x is continuous at
2 3 4
every real number x , so by the continuity of composite functions theorem g(x, y) = (2x y + 3) is continuous at 2 3 4
indicate air pressure at a location (x, y, z) at time t . How can we take a limit at a point in R ? What does it mean to be 3
Definition: δ -balls
Let (x , y , z ) be a point in R . Then, a δ -ball in three dimensions consists of all points in R lying at a distance of less
0 0 0
3 3
12 9/5/2021 https://math.libretexts.org/@go/page/21015
−−−−−−−−−−−−−−−−−−−−−−−−−−
3 2 2 2
{(x, y, z) ∈ R ∣ √ (x − x0 ) + (y − y0 ) + (z − z0 ) < δ}. (22)
To define a δ -ball in higher dimensions, add additional terms under the radical to correspond to each additional
dimension. For example, given a point P = (w , x , y , z ) in R , a δ ball around P can be described by
0 0 0 0
4
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
4 2 2 2 2
{(w, x, y, z) ∈ R ∣ √ (w − w0 ) + (x − x0 ) + (y − y0 ) + (z − z0 ) < δ}. (23)
To show that a limit of a function of three variables exists at a point (x , y , z ) , it suffices to show that for any point in a δ
0 0 0
ball centered at (x , y , z ) , the value of the function at that point is arbitrarily close to a fixed value (the limit value). All the
0 0 0
limit laws for functions of two variables hold for functions of more than two variables as well.
Solution
Before we can apply the quotient law, we need to verify that the limit of the denominator is nonzero. Using the difference
law, the identity law, and the constant law,
lim (2x + 5y − z) = 2( lim x) + 5( lim y) − ( lim z)
(x,y,z)→(4,1,−3) (x,y,z)→(4,1,−3) (x,y,z)→(4,1,−3) (x,y,z)→(4,1,−3)
= 16.
Since this is nonzero, we next find the limit of the numerator. Using the product law, power law, difference law, constant
multiple law, and identity law,
2 2
lim (x y − 3z) = ( lim x) ( lim y) − 3 lim z
(x,y,z)→(4,1,−3) (x,y,z)→(4,1,−3) (x,y,z)→(4,1,−3) (x,y,z)→(4,1,−3)
2
= (4 )(1) − 3(−3)
= 16 + 9
= 25
Exercise 6
Find
−−−−−−−−−−−−−−−
2 2 2
lim √ 13 − x − 2y +z
(x,y,z)→(4,−1,3)
Hint
Use the limit laws and the continuity of the composition of functions.
Answer
−−−−−−−−−−−−−−−
2 2 2
lim √ 13 − x − 2y +z =2
(x,y,z)→(4,−1,3)
13 9/5/2021 https://math.libretexts.org/@go/page/21015
Key Concepts
To study limits and continuity for functions of two variables, we use a δ disk centered around a given point.
A function of several variables has a limit if for any point in a δ ball centered at a point P , the value of the function at that
point is arbitrarily close to a fixed value (the limit value).
The limit laws established for a function of one variable have natural extensions to functions of more than one variable.
A function of two variables is continuous at a point if the limit exists at that point, the function exists at that point, and the
limit and function are equal at that point.
Glossary
boundary point
a point P of R is a boundary point if every δ disk centered around P contains points both inside and outside R
0 0
closed set
a set S that contains all its boundary points
connected set
an open set S that cannot be represented as the union of two or more disjoint, nonempty open subsets
δ disk
an open disk of radius δ centered at point (a, b)
δ ball
all points in R lying at a distance of less than δ from (x
3
0, y0 , z0 )
interior point
a point P of R is a boundary point if there is a δ disk centered around P contained completely in R
0 0
open set
a set S that contains none of its boundary points
region
an open, connected, nonempty subset of R 2
14 9/5/2021 https://math.libretexts.org/@go/page/21015
Optimization of Functions of Several Variables
One of the most useful applications for derivatives of a function of one variable is the determination of maximum and/or
minimum values. This application is also important for functions of two or more variables, but as we have seen in earlier
sections of this chapter, the introduction of more independent variables leads to more possible outcomes for the calculations.
The main ideas of finding critical points and using derivative tests are still valid, but new wrinkles appear when assessing the
results.
Critical Points
For functions of a single variable, we defined critical points as the values of the function when the derivative equals zero or
does not exist. For functions of two or more variables, the concept is essentially the same, except for the fact that we are now
working with partial derivatives.
Definition: Critical Points
Let z = f (x, y) be a function of two variables that is differentiable on an open set containing the point (x , y ). The point 0 0
(x , y ) is called a critical point of a function of two variables f if one of the two following conditions holds:
0 0
1. f (x , y ) = f
x 0 0 y (x0 , y0 ) = 0
b. g(x, y) = x + 2xy − 4y + 4x − 6y + 4
2 2
Solution:
a. First, we calculate f x (x, y) and fy (x, y) :
1
2 2 −1/2
fx (x, y) = (−18x + 36)(4 y − 9x + 24y + 36x + 36 )
2
−9x + 18
=
−−−−−−−−−−−−−−−−−−−−− −
√ 4 y 2 − 9 x2 + 24y + 36x + 36
1
2 2 −1/2
fy (x, y) = (8y + 24)(4 y − 9x + 24y + 36x + 36 )
2
.
4y + 12
= −−−−−−−−−−−−−−−−−−−−− −
2 2
√ 4 y − 9 x + 24y + 36x + 36
4y + 12
= 0.
−−−−−−−−−−−−−−−−−−−−− −
2 2
√ 4 y − 9 x + 24y + 36x + 36
Then, multiply both sides of each equation by its denominator (to clear the denominators):
−9x + 18 = 0
4y + 12 = 0.
Therefore, any points on the hyperbola are not only critical points, they are also on the boundary of the domain. To
put the hyperbola in standard form, we use the method of completing the square:
2 2
4y − 9x + 24y + 36x + 36 =0
2 2
4y − 9x + 24y + 36x = −36
2 2
4y + 24y − 9 x + 36x = −36
2 2
4(y + 6y) − 9(x − 4x) = −36
2 2
4(y + 6y + 9) − 9(x − 4x + 4) = −36 − 36 + 36
2 2
4(y + 3 ) − 9(x − 2 ) = −36.
b. First, we calculate g
x (x, y) and g
y (x, y):
gx (x, y) = 2x + 2y + 4
gy (x, y) = 2x − 8y − 6.
Next, we set each of these expressions equal to zero, which gives a system of equations in x and y :
2x + 2y + 4 = 0
2x − 8y − 6 = 0.
Subtracting the second equation from the first gives 10y + 10 = 0 , so y = −1 . Substituting this into the first
equation gives 2x + 2(−1) + 4 = 0 , so x = −1 .
Therefore (−1, −1) is a critical point of g . There are no points in R that make either partial derivative not exist.
2
Exercise 1 :
Find the critical point of the function f (x, y) = x 3
+ 2xy − 2x − 4y.
Hint
Calculate f x (x, y) and f y (x, , then set them equal to zero.
y)
Answer
The only critical point of f is (2, −5).
for all points (x, y) within some disk centered at (x , y ). The number f (x , y ) is called a local maximum value. If the
0 0 0 0
preceding inequality holds for every point (x, y) in the domain of f , then f has a global maximum (also called an
absolute maximum) at (x , y ). 0 0
for all points (x, y) within some disk centered at (x , y ). The number f (x , y ) is called a local minimum value. If the
0 0 0 0
preceding inequality holds for every point (x, y) in the domain of f , then f has a global minimum (also called an absolute
minimum) at (x , y ). 0 0
If f (x0, y0 ) is either a local maximum or local minimum value, then it is called a local extremum (Figure 2).
In Calculus 1, we showed that extrema of functions of one variable occur at critical points. The same is true for functions of
more than one variable, as stated in the following theorem.
Fermat’s Theorem for Functions of Two Variables
Let z = f (x, y) be a function of two variables that is defined and continuous on an open set containing the point (x 0, y0 ) .
Suppose f and f each exists at (x , y ). If f has a local extremum at (x , y ), then (x , y ) is a critical point of f .
x y 0 0 0 0 0 0
Consider the function f (x) = x . This function has a critical point at x = 0 , since f (0) = 3(0) = 0 . However, f does not
3 ′ 2
have an extreme value at x = 0 . Therefore, the existence of a critical value at x = x does not guarantee a local extremum at
0
x = x . The same is true for a function of two or more variables. One way this can happen is at a saddle point. An example of
0
z
1
-1
-1
x 1
1 y
-1
zero at this point, but it is neither a maximum nor a minimum for the function. Furthermore the vertical trace corresponding to
y = 0 is z = x (a parabola opening upward), but the vertical trace corresponding to x = 0 is z = −y (a parabola opening
2 2
downward). Therefore, it is both a global maximum for one trace and a global minimum for another.
Definition: Saddle Point
Given the function z = f (x, y), the point (x , y , f (x
0 0 0, y0 )) is a saddle point if both fx (x0 , y0 ) = 0 and f y (x0 , y0 ) = 0 ,
but f does not have a local extremum at (x , y ).
0 0
minimum at its vertex. See the plot on the left side of Figure 4.
2. The negative of a sum of two squared terms, like z = − (x + y ) , producing a paraboloid that opens down and has a
2 2
relative (absolute) maximum at its vertex. See the plot on the right side of Figure 4.
z
1
-1
-1
1 y
x1
-1
Figure 4 : z = x 2
+y
2
has an absolute minimum of 0 at (0, 0), while z = −(x 2
+y )
2
has an absolute maximum of 0 at
(0, 0),
b. f (x, y) = 12 − 3x − 6x − y + 12y
2 2
c. f (x, y) = x + 8x − 2y + 16y
2 2
d. f (x, y) = x + 6xy + y
2 2
Solution
a. To determine the critical points of this function, we start by setting the partials of f equal to 0.
Set fx (x, y) = 2x − 6 = 0 ⟹ x =3
and fy (x, y) = 2y + 10 = 0 ⟹ y = −5
We obtain a single critical point with coordinates . Next we need to determine the behavior of the function
(3, −5) f at
this point.
Completing the square, we get:
2 2
=x − 6x + 9 + y + 10y + 25 + 20 − 9 − 25
2 2
= (x − 3 ) + (y + 5 ) − 14
Notice that this function is really just a translated version of z = x + y , so it is a paraboloid that opens up with its
2 2
vertex (minimum point) at the critical point (3, −5). We can argue that it has an absolute minimum value of −14 at the
point (3, −5), since we are adding squared terms to −14 and thus cannot get a value less than −14 for any values of x
and y , while we do obtain this minimum value of −14 at the vertex point (3, −5).
b. Setting the partials of f equal to 0, we obtain:
We obtain a single critical point with coordinates (−1, 6) . Next we need to determine the behavior of the function f at
this point.
To complete the square here, we first need to factor out the factors of the squared terms. Doing this and reordering the
terms some gives us:
2 2
f (x, y) = 12 − 3 x − 6x − y + 12y
2 2
= −3 (x + 2x ) − 1 (y − 12y ) + 12
2 2
= −3 (x + 2x + 1) − 1 (y − 12y + 36) + 12 + 3 + 36
2 2
= 51 − 3(x + 1 ) − (y − 6 )
Notice that this function is an elliptic paraboloid that opens down with its vertex (maximum point) at the critical point
(−1, 6). We can argue that it has an absolute maximum value of 51 at the point (−1, 6), since we are subtracting squared
terms from 51 and thus cannot get a value more than 51 for any values of x and y , while we do obtain this minimum
value of 51 at the vertex point (−1, 6).
c. Setting the partials of f equal to 0, we obtain:
Set fx (x, y) = 2x + 8 = 0 ⟹ x = −4
This gives us a critical point with coordinates (−4, 4) . To determine if f has a local extremum or saddle point at this
point, we complete the square.
Factoring out −2 from the y -squared term gives us:
2 2
f (x, y) = x + 8x − 2 y + 16y
2 2
=x + 8x + 16 − 2 (y − 8y + 16) − 16 + 32
2 2
= (x + 4 ) − 2(y − 4 ) + 16
Since one squared term is positive and one is negative, we see that this function has the form of z = x 2
−y
2
and so it has
a saddle point at its critical point. That is, f has a saddle point at (−4, 4, 16).
d. Setting the partials of f equal to 0, we get:
Set fx (x, y) = 2x + 6y = 0
−16x = 0
x =0
Since y = −3x , we have y = −3(0) = 0 , so the critical point of f is (0, 0). To determine the behavior of f at this critical
point, we complete the square.
2 2 2 2
= (x + 6xy + 9 y ) + y − 9y
2 2
= (x + 3y ) − 8y
As this produces a difference of squares with one positive squared term and the other a negative squared term, we see that
f takes a form similar to z = x − y and will have a saddle point at (0, 0, 0).
2 2
Now let's consider the quadratic approximation to a function z = f (x, y) centered at a critical point (x 0, y0 ) of this function.
fxx (x0 , y0 )
2
Q(x, y) = f (x0 , y0 ) + fx (x0 , y0 )(x − x0 ) + fy (x0 , y0 )(y − y0 ) + (x − x0 ) (3)
2
fyy (x0 , y0 )
2
+ fxy (x0 , y0 )(x − x0 )(y − y0 ) + (y − y0 )
2
But, since the point (x0, y0 ) , in this case, is a critical point of f , we know that f x (x0 , y0 ) = 0 and f y (x0 , y0 ) = 0 .
This allows us to simplify Q(x, y) to just:
fxx (x0 , y0 ) fyy (x0 , y0 )
2 2
Q(x, y) = f (x0 , y0 ) + (x − x0 ) + fxy (x0 , y0 )(x − x0 )(y − y0 ) + (y − y0 ) (4)
2 2
Now we need to complete the square on this quadratic polynomial in two variables to learn how we can classify the behavior
of this function at this critical point. Remember that the original function will share the same behavior (max, min, saddle
point) as this 2nd-degree Taylor polynomial at this critical point.
To make this process easier, let's make some substitutions. Let's choose to let u = x − x and v = y − y , 0 0
and let
fxx (x0 , y0 )
a = ,
2
b = fxy (x0 , y0 ),
fyy (x0 , y0 )
c = and
2
d = f (x0 , y0 )
2
b c 2
= a [u + uv + v ]+d (6)
a a
2
b b c 2
b
= a [( u + uv + ( v) ) + v −( v) ] + d (7)
a 2a a 2a
Rewriting the perfect square trinomial as the square of a binomial and combining the v terms yields: 2
2 2
b 4ac b 2
= a [ (u + v) +( − ) v ] +d
2 2
2a 4a 4a
2 2
b 4ac − b 2
= a [ (u + v) +( ) v ] +d
2
2a 4a
Note that the shape of this function's graph depends on the sign of the coefficient of v . And the sign of this coefficient is 2
determined only by its numerator, as the denominator is always positive (being a perfect square). This expression, 4ac − b , is 2
called the discriminant, as it helps us discriminate (tell the difference between) which behavior the function has at this critical
point.
If D = 4ac − b 2
>0 , then the two squared terms inside the brackets are both positive, and
fxx ( x0 , y0 )
if a = 2
> 0 , the function f opens upwards with a local minimum at the critical point (x 0, y0 ) . Note it would
be similar to the form, z = x + y . 2 2
f ( x0 , y )
if a = xx
< 0 , the function f opens downwards with a local maximum at the critical point (x
2
0
0, y0 ) . Note it
would be similar to the form, z = − (x + y ) . 2 2
If D = 4ac − b 2
<0 , then either
the two squared terms inside the brackets have opposite signs (meaning f is concave up along a line parallel to the
x-axis and concave down along a line parallel to the y -axis, or vice-versa) or
the b term, representing the square of the mixed partial f (x , y ), is larger than the positive product of the two
2
xy 0 0
2nd-partials f (x , y ) and f (x , y ). This means that even if the surface is concave up in both x- and y -
xx 0 0 yy 0 0
directions, or concave down in both x- and y -directions, a large mixed partial can offset these and cause the surface
to have a saddle point at the point (x , y ). 0 0
2
But if D = 4ac − b = 0 , the quadratic polynomial reduces to Q(x, y) = a(u +
2
2a
b
v) +d , whose graph is a parabolic
cylinder, so the behavior of the function is not clear at the critical point (x , y ). 0 0
Now remembering the values of the constants a , b , and c from above, we see that:
fxx (x0 , y0 ) fyy (x0 , y0 ) 2
D(x0 , y0 ) = 4 − (fxy (x0 , y0 ))
2 2
2
= fxx (x0 , y0 )fyy (x0 , y0 ) − (fxy (x0 , y0 ))
This formula is called the Second Partials Test, and it can be used to classify the behavior of any function at its critical points,
as long as its second partials exist there and as long as the value of this discriminate is not zero.
2
D = fxx (x0 , y0 )fyy (x0 , y0 ) − (fxy (x0 , y0 )) . (8)
ii. If D > 0 and f (x , y ) < 0 , then f is concave down at this critical point, so f has a local maximum at (x , y ).
xx 0 0 0 0
Figure 4: The second partials test can often determine whether a function of two variables has a local minima (a), a local
maxima (b), or a saddle point (c).
To apply the second partials test, it is necessary that we first find the critical points of the function. There are several steps
involved in the entire procedure, which are outlined in a problem-solving strategy.
Problem-Solving Strategy: Using the second partials Test for Functions of Two Variables
Let z = f (x, y) be a function of two variables for which the first- and second-order partial derivatives are continuous on
some disk containing the point (x , y ). To apply the second partials test to find local extrema, use the following steps:
0 0
1. Determine the critical points (x , y ) of the function f where f (x , y ) = f (x , y ) = 0. If you find any critical
0 0 x 0 0 y 0 0
points where at least one of the partial derivatives does not exist, you will need to find and justify extrema in another
way, as you can't use the second partials test.
2
2. Calculate the discriminant D = f (x , y )f (x , y ) − (f (x , y )) for each critical point of f .
xx 0 0 yy 0 0 xy 0 0
3. Apply the four cases of the test to determine whether each critical point is a local maximum, local minimum, or saddle
point, or whether the test is inconclusive. If the test is inconclusive, you will need to analyze and classify the behavior
at the critical point another way.
1
b. g(x, y) = x
3
+y
2
+ 2xy − 6x − 3y + 4
3
Solution:
a. Step 1 of the problem-solving strategy requires us to find the critical points of f . To do this, we first calculate fx (x, y)
fx (x, y) = 8x + 8
18y − 36 = 0.
The solution to this system is x = −1 and y = 2 . Therefore (−1, 2) is the only critical point of f .
Step 2 of the problem-solving strategy involves calculating D. To do this, we first calculate the second partial
derivatives of f :
fxx (x, y) = 8
fxy (x, y) = 0
2
Therefore, D(−1, 2) = f xx (−1, 2)fyy (−1, 2) − (fxy (−1, 2)) = (8)(18) − (0 )
2
= 144 > 0.
Step 3 tells us to apply the four cases of the test to classify the function's behavior at this critical point.
Since D > 0 and f (−1, 2) = 8 > 0, f is concave up, so f has a local minimum of f (−1, 2) = −16 at (−1, 2), as
xx
shown in the following figure. (Note that this corresponds to case 1 of the second partials test.)
2 2
z = 4x + 9y + 8x − 36y + 24
z
4
2
-4
x 4 2
-2
-2 -4
2
-2 y4 Relative minimum at (-1, 2, -1
Figure 5 : The function f (x, y) has a local minimum at (−1, 2, −16). Note the scale on the y -axis in this plot is in
thousands.
b. For step 1, we first calculate g
x (x, y) and g
y (x, y) , then set each of them equal to zero:
2
gx (x, y) = x + 2y − 6
gy (x, y) = 2y + 2x − 3.
2y + 2x − 3 = 0.
(x − 3)(x + 1) = 0.
3 − 2x
Therefore, x = −1 or x =3 . Substituting these values into the equation y = yields the critical points
2
(−1,
5
2
) and (3, − 3
2
).
Step 2 involves calculating the second partial derivatives of g :
gxx (x, y) = 2x
gxy (x, y) = 2
gyy (x, y) = 2.
3 2
D (3, − ) = (2(3))(2) − (2 ) = 12 − 4 = 8.
2
In step 3, we use the second partials test to classify the behavior of the function at each of its critical points.
At point (−1, ), we see that D (−1, ) = −8 < 0 (case 3 of the test), which means that f has a saddle point at the
5
2
5
2
5
2
41
12
2
That is, since D (3, − ) = 8 > 0 and 3
(3, − ) = 2(3) = 6 > 0 , we know that g is concave up at this critical point, so g has a local minimum of −
3 29
gxx
2 4
Figure 6: The function g(x, y) has a local minimum and a saddle point.
Note: Sometimes it can be helpful to find a general formula for D . For example, here we could have used the
following formula:
2
D(x0 , y0 ) = gxx (x0 , y0 )gyy (x0 , y0 ) − (gxy (x0 , y0 ))
2
= (2 x0 )(2) − 2
= 4 x0 − 4.
3
D (3, − ) = 4(3) − 4 = 12 − 4 = 8.
2
Note that the final values of the discriminant at each critical point are the same.
Exercise 2
Use the second partials to find the local extrema of the function
3 2
f (x, y) = x + 2xy − 6x − 4 y .
Hint
Follow the problem-solving strategy for applying the second partials test.
Answer
(
4
3
,
1
3
) is a saddle point, (− 3
2
,−
3
8
) is a local maximum.
Key Concepts
A critical point of the function f (x, y) is any point (x , y ) where either f (x , y ) = f (x , y ) = 0 , or at least one of
0 0 x 0 0 y 0 0
at that point.
To find extrema of functions of two variables, first find the critical points, then calculate the discriminant and apply the
second partials test.
Key Equations
Discriminant
2
D = fxx (x0 , y0 )fyy (x0 , y0 ) − (fxy (x0 , y0 ))
Glossary
critical point of a function of two variables
the point (x 0, y0 ) is called a critical point of f (x, y) if one of the two following conditions holds:
1. fx (x0 , y0 ) = fy (x0 , y0 ) = 0
discriminant
the discriminant of the function f (x, y) is given by the formula D = f xx (x0 , y0 )fyy (x0 , y0 ) − (fxy (x0 , y0 ))
2
saddle point
given the function z = f (x, y), the point (x , y , f (x 0 0 0, y0 )) is a saddle point if both f x (x0 , y0 ) = 0 and f
y (x0 , y0 ) = 0 ,
but f does not have a local extremum at (x , y ) 0 0
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) edited and adapted this section extensively.
Paul also wrote the entire subsection titled Classifying Critical Points.
Answer:
(0, 0)
2) f (x, y) = 1 − (x − 2) 2
+ (y + 3 )
2
3) f (x, y) = (3x − 2) 2
+ (y − 4 )
2
Answer:
2
( , 4)
3
4) f (x, y) = x 4
+y
4
− 16xy
Answer:
(0, 0), (−2, −2), (2, 2)
5) f (x, y) = 15x 3
− 3xy + 15 y
3
Answer:
1 1
(0, 0), ( , )
15 15
Answer:
Crit. pts.: (0, 0)
Extrema: f has a relative maximum of 0 at (0, 0).
To justify this, consider the fact that the square root function cannot give a negative value, so this function cannot
possibly return a positive value. Since it's value is 0 at the critical point (0, 0), we know it must be the function's
absolute maximum value.
7) f (x, y) = −x 2
− 5y
2
+ 8x − 10y − 13
Answer:
Crit. pts.: (4, −1)
Extrema: f has a relative maximum of 8 at (4, −1).
To justify this, we complete the square on this function, being careful to factor out the coefficient of the squared
terms before completing the square.
1 9/5/2021 https://math.libretexts.org/@go/page/21028
2 2
f (x, y) = −x − 5y + 8x − 10y − 13
2 2
= −(x − 8x ) − 5(y + 2y ) − 13
2 2
= −(x − 8x + 16) − 5(y + 2y + 1) − 13 + 16 + 5
2 2
= −(x − 4 ) − 5(y + 1 ) +8
Note that this quadratic polynomial function takes the form z = −(x + y ) , so we can see that it will have a 2 2
relative (and, in fact, absolute) maximum at its vertex (the critical point (4, −1)). We can also argue that since we
are subtracting squared terms from 8, we cannot possibly obtain a function value larger than 8, and since we do get a
value of 8 at the critical point (4, −1), we know it will be the absolute maximum value of this function.
8) f (x, y) = x 2
+y
2
+ 2x − 6y + 6
−−−−−−
9) 2
f (x, y) = √x + y
2
+1
Answer:
Crit. Pts.: (0, 0)
Extrema: f has a relative minimum of 1 at (0, 0).
To justify this, consider the fact that the square root function cannot give a negative value, so this function cannot
possibly return a value less than 1. Since it's value is 1 at the critical point (0, 0), we know 1 must be the function's
absolute minimum value.
In exercises 10 - 34, identify any critical points and use the Second Patials Test to determine the behavior of the
function at each critical point, whether there is a maximum, minimum, saddle point, or none of these. If the Second
Partials Test fails, determine the function's behavior at the point using another method and justify your answer clearly.
10) f (x, y) = −x 3
+ 4xy − 2 y
2
+1
11) f (x, y) = x 2
y
2
Answer:
Crit. pts.: All points on the lines x = 0 and y = 0 are critical points of this function.
Exrema: The Second Partials Test fails.
Since x y > 0 for all x and y different from zero, and x y = 0 when either x or y equals zero (or both), then the
2 2 2 2
absolute minimum of 0 occurs at all points on the x - or y-axes, that is, for all points on the lines x = 0 and y = 0 .
12) f (x, y) = x 2
− 6x + y
2
+ 4y − 8
Answer:
Crit. pts.: (−2, − 3
2
)
2
, −6) .
Answer:
Crit. pts.: (0, 0)
Exrema: f has a saddle point at (0, 0, 0).
16) f (x, y) = x 3
+y
3
− 300x − 75y − 3
17) f (x, y) = 9 − x 4
y
4
2 9/5/2021 https://math.libretexts.org/@go/page/21028
Answer:
Crit. pts.: All points on the lines x = 0 and y = 0 are critical points of this function.
Extrema: The Second Partials Test fails.
Since the term −x y < 0 for all x and y different from zero, and −x y = 0 when either x or y equals zero (or
4 4 4 4
both), then this function cannot attain a value greater than 9 anywhere, but is 9 at the critical points. Thus f has an
absolute maximum of 9 at all points on the x - or y-axes, that is, for all points on the lines x = 0 and y = 0 .
18) f (x, y) = x 2
+ 10xy + y
2
Answer:
Crit. pts.: (0, 0)
Extrema: f has a saddle point at (0, 0, 0).
19) f (x, y) = x 4
+y
2
+ 2xy + 3
Answer:
√2 √2 √2 √2
Crit. pts.: (0, 0), (−
2
,
2
), (
2
,−
2
)
20) f (x, y) = 7x 2
y + 9x y
2
21) f (x, y) = 3x 2
− 2xy + y
2
− 8y
Answer:
Crit. pts.: (2, 6)
Extrema: f has a relative minimum of −24 located at (2, 6).
22) f (x, y) = 3x 2
+ 2xy + y
2
23) f (x, y) = y 2
+ xy + 3y + 2x + 3
Answer:
Crit. pts.: (1, −2)
Extrema: f has a saddle point at (1, −2, 1).
24) f (x, y) = x 2
+ xy + y
2
− 3x
25) f (x, y) = x 2
+ 2y
2
−x y
2
Answer:
Crit. pts.: (0, 0), (−2, 1), (2, 1)
Extrema: f has a relative minimum of 0 at (0, 0) and saddle points at (2, 1, 2) and (−2, 1, 2).
26) f (x, y) = x 2
+y −e
y
27) f (x, y) = e
2 2
−( x +y +2x)
Answer:
Crit. pts.: (−1, 0)
Extrema: f has a relative maximum of e located at (−1, 0).
See this problem illustrated in CalcPlot3D.
28) f (x, y) = x 2
+ xy + y
2
−x −y +1
3 9/5/2021 https://math.libretexts.org/@go/page/21028
29) f (x, y) = x 2
y(9 − x + y)
Answer:
Crit. pts.: ( 9
2
,−
9
4
), (9, 0) , and all points on the line x = 0
2
,−
9
4
) .
At the critical points on the line x = 0 , f has neither relative extrema nor saddle points, but they do represent a sort
of trough on the surface.
30) f (x, y) = −x 2
− 5y
2
+ 10x − 30y − 62
Answer:
Crit. pts.: (40, 40)
Extrema: f has a relative maximum of 4800located at (40, 40).
32) f (x, y) = 2x 2
+ 2xy + y
2
+ 2x − 3
33) f (x, y) = x 2
+ x − 3xy + y
3
−5
Answer:
Crit. pts.: ( 1
4
,
1
2
) and (1, 1)
Extrema: f has a saddle point at ( 1
4
,
1
2
,−
79
16
) and a relative minimum of −5 at (1, 1).
In exercises 35 - 37, determine the extreme values and the saddle points. Use a CAS to graph the function.
35) [T] f (x, y) = y e x
−e
y
Answer:
A saddle point is located at (0, 0, −1).
4 9/5/2021 https://math.libretexts.org/@go/page/21028
z
2
-2 2
y
-1 1
-1
-2
1
2 x
-1
-2
Answer:
There is a saddle point at (π, π), local maxima at ( π
2
,
π
2
) and ( 3π
2
,
3π
2
) , and local minima at ( π
2
,
3π
2
) and ( 3π
2
,
π
2
.
)
5 9/5/2021 https://math.libretexts.org/@go/page/21028
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) created problems 19 and 29, and added dynamic figures for problems 27 and
35.
6 9/5/2021 https://math.libretexts.org/@go/page/21028
Partial Derivatives
Learning Objectives
Calculate the partial derivatives of a function of two variables.
Calculate the partial derivatives of a function of more than two variables.
Determine the higher-order derivatives of a function of two variables.
Explain the meaning of a partial differential equation and give an example.
Now that we have examined limits and continuity of functions of two variables, we can proceed to study derivatives. Finding
derivatives of functions of two variables is the key concept in this chapter, with as many applications in mathematics, science, and
engineering as differentiation of single-variable functions. However, we have already seen that limits and continuity of multivariable
functions have new issues and require new terminology and ideas to deal with them. This carries over into differentiation as well.
∂f f (x, y + k) − f (x, y)
= fy (x, y) = lim . (2)
∂y k→0 k
This definition shows two differences already. First, the notation changes, in the sense that we still use a version of Leibniz notation, but
the d in the original notation is replaced with the symbol ∂ . (This rounded “d” is usually called “partial,” so ∂f /∂x is spoken as the
“partial of f with respect to x.”) This is the first hint that we are dealing with partial derivatives. Second, we now have two different
derivatives we can take, since there are two different independent variables. Depending on which variable we choose, we can come up
with different partial derivatives altogether, and often do.
Solution
First, calculate f (x + h, y).
2 2
f (x + h, y) = (x + h ) − 3(x + h)y + 2 y − 4(x + h) + 5y − 12
2 2 2
=x + 2xh + h − 3xy − 3hy + 2 y − 4x − 4h + 5y − 12.
1 9/5/2021 https://math.libretexts.org/@go/page/21017
∂f f (x + h, y) − f (x, y)
= lim
∂x h→0 h
2 2 2 2 2
(x + 2xh + h − 3xy − 3hy + 2 y − 4x − 4h + 5y − 12) − (x − 3xy + 2 y − 4x + 5y − 12)
= lim
h→0 h
2 2 2 2 2
x + 2xh + h − 3xy − 3hy + 2 y − 4x − 4h + 5y − 12 − x + 3xy − 2 y + 4x − 5y + 12
= lim
h→0 h
2
2xh + h − 3hy − 4h
= lim
h→0 h
h(2x + h − 3y − 4)
= lim
h→0 h
= lim(2x + h − 3y − 4)
h→0
= 2x − 3y − 4.
∂f
To calculate , first calculate f (x, y + h) :
∂y
2 2
f (x + h, y) =x − 3x(y + h) + 2(y + h ) − 4x + 5(y + h) − 12
2 2 2
=x − 3xy − 3xh + 2 y + 4yh + 2 h − 4x + 5y + 5h − 12.
∂f f (x, y + h) − f (x, y)
= lim
∂y h→0 h
2 2 2 2 2
(x − 3xy − 3xh + 2 y + 4yh + 2 h − 4x + 5y + 5h − 12) − (x − 3xy + 2 y − 4x + 5y − 12)
= lim
h→0 h
2 2 2 2 2
x − 3xy − 3xh + 2 y + 4yh + 2 h − 4x + 5y + 5h − 12 − x + 3xy − 2 y + 4x − 5y + 12
= lim
h→0 h
2
−3xh + 4yh + 2 h + 5h
= lim
h→0 h
h(−3x + 4y + 2h + 5)
= lim
h→0 h
= lim(−3x + 4y + 2h + 5)
h→0
= −3x + 4y + 5
Exercise 1
Use the definition of the partial derivative as a limit to calculate ∂f /∂x and ∂f /∂y for the function
2 2
f (x, y) = 4 x + 2xy − y + 3x − 2y + 5.
Hint
Use Equations 1 and 2 from the definition of partial derivatives.
Answer
∂f
= 8x + 2y + 3
∂x
∂f
= 2x − 2y − 2
∂y
The idea to keep in mind when calculating partial derivatives is to treat all independent variables, other than the variable with respect to
which we are differentiating, as constants. Then proceed to differentiate as with a function of a single variable. To see why this is true,
first fix y and define g(x) = f (x, y) as a function of x. Then
2 9/5/2021 https://math.libretexts.org/@go/page/21017
g(x + h) − g(x)
g'(x) = lim
h→0 h
f (x + h, y) − f (x, y)
= lim
h→0 h
∂f
= .
∂x
The same is true for calculating the partial derivative of f with respect to y . This time, fix x and define h(y) = f (x, y) as a function of
y . Then
h(x + k) − h(x)
h'(x) = lim
k→0 k
f (x, y + k) − f (x, y)
= lim
k→0 k
∂f
= .
∂y
b. g(x, y) = sin(x y − 2x + 4)
2
Solution:
a. To calculate ∂f /∂x, treat the variable y as a constant. Then differentiate f (x, y) with respect to x using the sum, difference, and
power rules:
∂f ∂ 2 2
= [x − 3xy + 2 y − 4x + 5y − 12]
∂x ∂x
∂ 2
∂ ∂ 2
∂ ∂ ∂
= [x ] − [3xy] + [2 y ] − [4x] + [5y] − [12]
∂x ∂x ∂x ∂x ∂x ∂x
= 2x − 3y + 0 − 4 + 0 − 0
= 2x − 3y − 4.
The derivatives of the third, fifth, and sixth terms are all zero because they do not contain the variable x, so they are treated as
constant terms. The derivative of the second term is equal to the coefficient of x, which is −3y. Calculating ∂f /∂y:
∂f ∂
2 2
= [x − 3xy + 2 y − 4x + 5y − 12]
∂y ∂y
∂ 2
∂ ∂ 2
∂ ∂ ∂
= [x ] − [3xy] + [2 y ] − [4x] + [5y] − [12]
∂y ∂y ∂y ∂y ∂y ∂y
= −3x + 4y − 0 + 5 − 0
= −3x + 4y + 5.
2
∂ 2
= cos(x y − 2x + 4) [ x y − 2x + 4]
∂x
2
= (2xy − 2) cos(x y − 2x + 4).
3 9/5/2021 https://math.libretexts.org/@go/page/21017
To calculate ∂g/∂y, treat the variable x as a constant. Then differentiate g(x, y) with respect to y using the chain rule and power
rule:
∂g ∂
2
= [sin(x y − 2x + 4)]
∂y ∂y
2
∂ 2
= cos(x y − 2x + 4) [ x y − 2x + 4]
∂y
2 2
=x cos(x y − 2x + 4).
Exercise 2
Calculate ∂f /∂x and ∂f /∂y for the function
3 2 2 4
f (x, y) = tan(x − 3x y + 2y )
Hint
Use Equations 1 and 1 from the definition of partial derivatives.
Answer
∂f
2 2 2 3 2 2 4
= (3 x − 6x y ) sec (x − 3x y + 2y )
∂x
∂f
2 3 2 3 2 2 4
= (−6 x y + 8 y ) sec (x − 3x y + 2y )
∂y
How can we interpret these partial derivatives? Recall that the graph of a function of two variables is a surface in R . If we remove the 3
limit from the definition of the partial derivative with respect to x, the difference quotient remains:
f (x + h, y) − f (x, y)
. (3)
h
This resembles the difference quotient for the derivative of a function of one variable, except for the presence of the y variable. Figure 1
illustrates a surface described by an arbitrary function z = f (x, y).
Figure 1: Secant line passing through the points (x, y, f (x, y)) and (x + h, y, f (x + h, y)).
In Figure 1, the value of h is positive. If we graph f (x, y) and f (x + h, y) for an arbitrary point (x, y), then the slope of the secant line
passing through these two points is given by
f (x + h, y) − f (x, y)
. (4)
h
This line is parallel to the x-axis. Therefore, the slope of the secant line represents an average rate of change of the function f as we
travel parallel to the x-axis. As h approaches zero, the slope of the secant line approaches the slope of the tangent line.
4 9/5/2021 https://math.libretexts.org/@go/page/21017
If we choose to change y instead of x by the same incremental value h , then the secant line is parallel to the y -axis and so is the tangent
line. Therefore, ∂f /∂x represents the slope of the tangent line passing through the point (x, y, f (x, y))parallel to the x-axis and ∂f /∂y
represents the slope of the tangent line passing through the point (x, y, f (x, y))parallel to the y -axis. If we wish to find the slope of a
tangent line passing through the same point in any other direction, then we need what are called directional derivatives.
We now return to the idea of contour maps, which we introduced in Functions of Several Variables. We can use a contour map to
estimate partial derivatives of a function g(x, y).
Solution
Figure 2 represents a contour map for the function g(x, y).
−−−−−−−− −
Figure 2: Contour map for the function g(x, y) = √9 − x 2
−y
2
, using c = 0, 1, 2, and 3(c = 3 corresponds to the origin).
The inner circle on the contour map corresponds to c = 2 and the next circle out corresponds to c = 1 . The first circle is given by
−−−−−−−− − −−−−−−−− −
the equation 2 = √9 − x − y ; the second circle is given by the equation 1 = √9 − x − y . The first equation simplifies to
2 2 2 2
–
x + y = 5 and the second equation simplifies to x + y = 8. The x-intercept of the first circle is (√5, 0) and the x-intercept of
2 2 2 2
– –
the second circle is (2√2, 0). We can estimate the value of ∂g/∂x evaluated at the point (√5, 0) using the slope formula:
– –
∂g ∣ g(√5, 0) − g(2 √2, 0)
∣ ≈
– –
∂x ∣ (x,y)=( √5,0) √5 − 2 √2
2 −1
= –
–
√5 − 2 √2
1
= ≈ −1.688.
– –
√5 − 2 √2
–
To calculate the exact value of ∂g/∂x evaluated at the point (√5, 0) , we start by finding ∂g/∂x using the chain rule. First, we
rewrite the function as
−−−−−−−−−
2 2 2 2 1/2
g(x, y) = √ 9 − x −y = (9 − x −y )
x
=− −−−−−−−−−.
2 2
√9 −x −y
–
Next, we evaluate this expression using x = √5 and y = 0 :
5 9/5/2021 https://math.libretexts.org/@go/page/21017
–
∂g ∣ √5
∣ =− − −−−−−−−−−−− −
∂x ∣(x,y)=( √5,0) –
√ 9 − (√5)2 − (0 )2
–
√5
=−
–
√4
–
√5
=− ≈ −1.118.
2
– –
The estimate for the partial derivative corresponds to the slope of the secant line passing through the points (√5, 0, g(√5, 0)) and
– –
(2 √2, 0, g(2 √2, 0)). It represents an approximation to the slope of the tangent line to the surface through the point
– –
(√5, 0, g(√5, 0)), which is parallel to the x-axis.
Exercise 3
–
Use a contour map to estimate ∂f /∂y at point (0, √2) for the function
2 2
f (x, y) = x −y .
Hint
–
Create a contour map for f using values of c from −3 to 3. Which of these curves passes through point (0, √2)?
Answer
Using the curves corresponding to c = −2 and c = −3, we obtain
– –
∂f ∣ f (0, √3) − f (0, √2)
∣ ≈
– –
∂y ∣(x,y)=(0, √2) √3 − √2
– –
−3 − (−2) √3 + √2
= ⋅
– – – –
√3 − √2 √3 + √2
– –
= −√3 − √2 ≈ −3.146.
∂f f (x, y + k, z) − f (x, y, z)
= fy (x, y, z) = lim (6)
∂y k→0 k.
∂f f (x, y, z + m) − f (x, y, z)
= fz (x, y, z) = lim . (7)
∂z m→0 m
6 9/5/2021 https://math.libretexts.org/@go/page/21017
We can calculate a partial derivative of a function of three variables using the same idea we used for a function of two variables. For
example, if we have a function f of x, y, and z , and we wish to calculate ∂f /∂x, then we treat the other two independent variables as if
they are constants, then differentiate with respect to x.
Then, find ∂f /∂y and ∂f /∂z by setting the other two variables constant and differentiating accordingly.
Solution:
We first calculate ∂f /∂x using Equation 5, then we calculate the other two partial derivatives by holding the remaining variables
constant. To use the equation to find ∂f /∂x, we first need to calculate f (x + h, y, z) :
2 2 2
f (x + h, y, z) = (x + h ) − 3(x + h)y + 2 y − 4(x + h)z + 5y z − 12(x + h) + 4y − 3z
2 2 2 2
=x + 2xh + h − 3xy − 3xh + 2 y − 4xz − 4hz + 5y z − 12x − 12h + 4y − 3z
⎢ − 12x + 4y − 3z ⎥
lim ⎢ ⎥
h→0 ⎢ h ⎥
⎣ ⎦
2
2xh + h − 3hy − 4hz − 12h
= lim [ ]
h→0 h
h(2x + h − 3y − 4z − 12)
= lim [ ]
h→0 h
= lim(2x + h − 3y − 4z − 12)
h→0
= 2x − 3y − 4z − 12.
Then we find ∂f /∂y by holding x and z constant. Therefore, any term that does not include the variable y is constant, and its
derivative is zero. We can apply the sum, difference, and power rules for functions of one variable:
∂ 2 2 2
[x − 3xy + 2 y − 4xz + 5y z − 12x + 4y − 3z]
∂y
∂ 2
∂ ∂ 2
∂ ∂ 2
∂ ∂ ∂
= [x ] − [3xy] + [2 y ] − [4xz] + [5y z ] − [12x] + [4y] − [3z]
∂y ∂y ∂y ∂y ∂y ∂y ∂y ∂z
2
= 0 − 3x + 4y − 0 + 5 z −0 +4 −0
2
= −3x + 4y + 5 z + 4.
To calculate ∂f /∂z, we hold x and y constant and apply the sum, difference, and power rules for functions of one variable:
∂
2 2 2
[x − 3xy + 2 y − 4xz + 5y z − 12x + 4y − 3z]
∂z
∂ ∂ ∂ ∂ ∂ ∂ ∂ ∂
2 2 2
= [x ] − [3xy] + [2 y ] − [4xz] + [5y z ] − [12x] + [4y] − [3z]
∂z ∂z ∂z ∂z ∂z ∂z ∂z ∂z
= 0 − 0 + 0 − 4x + 10yz − 0 + 0 − 3
= −4x + 10yz − 3
Exercise 4
Use the limit definition of partial derivatives to calculate ∂f /∂x for the function
7 9/5/2021 https://math.libretexts.org/@go/page/21017
2 2 2 2
f (x, y, z) = 2 x − 4x y + 2y + 5x z − 6x + 3z − 8.
Then find ∂f /∂y and ∂f /∂z by setting the other two variables constant and differentiating accordingly.
Hint
Use the strategy in the preceding example.
Answer
∂f ∂f ∂f
2 2
= 4x − 8xy + 5 z − 6, = −4 x + 4y, = 10xz + 3
∂x ∂y ∂z
Solution
In each case, treat all variables as constants except the one whose partial derivative you are calculating.
a.
2 2
∂f ∂ x y − 4xz + y
= [ ]
∂x ∂x x − 3yz
∂ ∂
2 2 2 2
(x y − 4xz + y )(x − 3yz) − (x y − 4xz + y ) (x − 3yz)
∂x ∂x
=
2
(x − 3yz)
2 2
(2xy − 4z)(x − 3yz) − (x y − 4xz + y )(1)
=
2
(x − 3yz)
2 2 2 2 2
2 x y − 6x y z − 4xz + 12y z − x y + 4xz − y
=
2
(x − 3yz)
2 2 2 2
x y − 6x y z − 4xz + 12y z + 4xz − y
=
2
(x − 3yz)
2 2
∂f ∂ x y − 4xz + y
= [ ]
∂y ∂y x − 3yz
∂ ∂
2 2 2 2
(x y − 4xz + y )(x − 3yz) − (x y − 4xz + y ) (x − 3yz)
∂y ∂y
=
(x − 3yz)2
2 2 2
(x + 2y)(x − 3yz) − (x y − 4xz + y )(−3z)
=
(x − 3yz)2
3 2 2 2 2 2
x − 3 x yz + 2xy − 6 y z + 3 x yz − 12x z + 3y z
=
2
(x − 3yz)
3 2 2
x + 2xy − 3 y z − 12x z
=
2
(x − 3yz)
8 9/5/2021 https://math.libretexts.org/@go/page/21017
2 2
∂f ∂ x y − 4xz + y
= [ ]
∂z ∂z x − 3yz
∂ ∂
2 2 2 2
(x y − 4xz + y )(x − 3yz) − (x y − 4xz + y ) (x − 3yz)
∂z ∂z
=
2
(x − 3yz)
2 2
(−4x)(x − 3yz) − (x y − 4xz + y )(−3y)
=
2
(x − 3yz)
2 2 2 3
−4 x + 12xyz + 3 x y − 12xyz + 3 y
=
2
(x − 3yz)
2 2 2 3
−4 x + 3x y + 3y
=
2
(x − 3yz)
b.
∂f ∂
2 2
= [sin(x y − z) + cos(x − yz)]
∂x ∂x
∂ ∂
2 2 2 2
= (cos(x y − z)) (x y − z) − (sin(x − yz)) (x − yz)
∂x ∂x
2 2
= 2xy cos(x y − z) − 2x sin(x − yz)
∂f ∂ 2 2
= [sin(x y − z) + cos(x − yz)]
∂y ∂y
∂ ∂
2 2 2 2
= (cos(x y − z)) (x y − z) − (sin(x − yz)) (x − yz)
∂y ∂y
2 2 2
=x cos(x y − z) + z sin(x − yz)
∂f ∂
2 2
= [sin(x y − z) + cos(x − yz)]
∂z ∂z
∂ ∂
2 2 2 2
= (cos(x y − z)) (x y − z) − (sin(x − yz)) (x − yz)
∂z ∂z
2 2
= − cos(x y − z) + y sin(x − yz)
Exercise 5
Calculate ∂f /∂x, ∂f /∂y, and ∂f /∂z for the function
2 3 2
f (x, y, z) = sec(x y) − tan(x y z ).
Hint
Use the strategy in the preceding example.
Answer
∂f
2 2 2 2 2 3 2
= 2xy sec(x y) tan(x y) − 3 x y z sec (x y z )
∂x
∂f
2 2 2 3 2 2 3 2
=x sec(x y) tan(x y) − x z sec (x y z )
∂y
∂f
3 2 3 2
= −2 x yz sec (x y z )
∂z
9 9/5/2021 https://math.libretexts.org/@go/page/21017
3 2 3
f (x, y) = 2 x − 4x y + 5y − 6xy + 5x − 4y + 12. (8)
and
∂f
2
= −8xy + 15 y − 6x − 4. (10)
∂y
Each of these partial derivatives is a function of two variables, so we can calculate partial derivatives of these functions. Just as with
derivatives of single-variable functions, we can call these second-order derivatives, third-order derivatives, and so on. In general, they
are referred to as higher-order partial derivatives. There are four second-order partial derivatives for any function (provided they all
exist):
2
∂ f ∂ ∂f
= [ ]
2
∂x ∂x ∂x
2
∂ f ∂ ∂f
= [ ]
∂y∂x ∂y ∂x
2
∂ f ∂ ∂f
= [ ]
∂x∂y ∂x ∂y
2
∂ f ∂ ∂f
= [ ].
2
∂y ∂y ∂y
An alternative notation for each is f , f , f , and f , respectively. Higher-order partial derivatives calculated with respect to
xx xy yx yy
different variables, such as f and f , are commonly called mixed partial derivatives.
xy yx
Solution:
2 2
∂ f ∂ f
To calculate 2
and , we first calculate ∂f /∂x:
∂x ∂y∂x
∂f
−3y
=e + 2 cos(2x − 5y). (12)
∂x
2
∂ f
To calculate 2
, differentiate ∂f /∂x (Equation 12) with respect to x:
∂x
2
∂ f ∂ ∂f
= [ ]
2
∂x ∂x ∂x
∂ −3y
= [e + 2 cos(2x − 5y)]
∂x
= −4 sin(2x − 5y).
2
∂ f
To calculate , differentiate ∂f /∂x (Equation 12) with respect to y :
∂y∂x
2
∂ f ∂ ∂f
= [ ]
∂y ∂x ∂y ∂x
∂ −3y
= [e + 2 cos(2x − 5y)]
∂y
−3y
= −3 e + 10 sin(2x − 5y).
10 9/5/2021 https://math.libretexts.org/@go/page/21017
2 2
∂ f ∂ f
To calculate and 2
, first calculate ∂f /∂y:
∂x∂y ∂y
∂f
−3y
= −3x e − 5 cos(2x − 5y). (13)
∂y
2
∂ f
To calculate , differentiate ∂f /∂y (Equation 13) with respect to x:
∂x∂y
2
∂ f ∂ ∂f
= [ ]
∂x∂y ∂x ∂y
∂ −3y
= [−3x e − 5 cos(2x − 5y)]
∂x
−3y
= −3 e + 10 sin(2x − 5y).
2
∂ f
To calculate 2
, differentiate ∂f /∂y (Equation 13) with respect to y :
∂y
2
∂ f ∂ ∂f
= [ ]
2
∂y ∂y ∂y
∂
−3y
= [−3x e − 5 cos(2x − 5y)]
∂y
−3y
= 9x e − 25 sin(2x − 5y).
Exercise 6
Calculate all four second partial derivatives for the function
Hint
Follow the same steps as in the previous example.
Answer
2
∂ f
= −9 sin(3x − 2y) − cos(x + 4y)
2
∂x
2
∂ f
= 6 sin(3x − 2y) − 4 cos(x + 4y)
∂y∂x
2
∂ f
= 6 sin(3x − 2y) − 4 cos(x + 4y)
∂x∂y
2
∂ f
= −4 sin(3x − 2y) − 16 cos(x + 4y)
∂y 2
2 2
∂ f ∂ f
At this point we should notice that, in both Example 6 and the checkpoint, it was true that = . Under certain conditions,
∂y∂x ∂x∂y
Clairaut’s theorem guarantees that as long as mixed second-order derivatives are continuous, the order in which we choose to
differentiate the functions (i.e., which variable goes first, then second, and so on) does not matter. It can be extended to higher-
order derivatives as well. The proof of Clairaut’s theorem can be found in most advanced calculus books.
11 9/5/2021 https://math.libretexts.org/@go/page/21017
Two other second-order partial derivatives can be calculated for any function f (x, y). The partial derivative fxx is equal to the
partial derivative of f with respect to x, and f is equal to the partial derivative of f with respect to y .
x yy y
2
utt = c (uxx + uyy ) (15)
wave equation in two dimensions
In the heat and wave equations, the unknown function u has three independent variables: t , x, and y with c is an arbitrary constant. The
independent variables x and y are considered to be spatial variables, and the variable t represents time. In Laplace’s equation, the
unknown function u has two independent variables x and y .
Solution
First, we calculate u
tt , uxx , and u
yy :
∂ ∂u
utt (x, y, t) = [ ]
∂t ∂t
∂
= [5 sin(3πx) sin(4πy)(−10π sin(10πt))]
∂t
∂
= [−50π sin(3πx) sin(4πy) sin(10πt)]
∂t
2
= −500 π sin(3πx) sin(4πy) cos(10πt)
∂ ∂u
uxx (x, y, t) = [ ]
∂x ∂x
∂
= [15π cos(3πx) sin(4πy) cos(10πt)]
∂x
2
= −45 π sin(3πx) sin(4πy) cos(10πt)
∂ ∂u
uyy (x, y, t) = [ ]
∂y ∂y
∂
= [5 sin(3πx)(4π cos(4πy)) cos(10πt)]
∂y
∂
= [20π sin(3πx) cos(4πy) cos(10πt)]
∂y
2
= −80 π sin(3πx) sin(4πy) cos(10πt).
Next, we substitute each of these into the right-hand side of Equation 18 and simplify:
12 9/5/2021 https://math.libretexts.org/@go/page/21017
2 2
4(uxx + uyy ) = 4(−45 π sin(3πx) sin(4πy) cos(10πt) + −80 π sin(3πx) sin(4πy) cos(10πt))
2
= 4(−125 π sin(3πx) sin(4πy) cos(10πt))
2
= −500 π sin(3πx) sin(4πy) cos(10πt)
= utt .
ut = 9(uxx + uyy ).
Hint
Calculate the partial derivatives and substitute into the right-hand side.
Answer
TBA
Since the solution to the two-dimensional heat equation is a function of three variables, it is not easy to create a visual representation of
the solution. We can graph the solution for fixed values of t, which amounts to snapshots of the heat distributions at fixed times. These
snapshots show how the heat is distributed over a two-dimensional surface as time progresses. The graph of the preceding solution at
time t = 0 appears in Figure 3. As time progresses, the extremes level out, approaching zero as t approaches infinity.
Figure 3
If we consider the heat equation in one dimension, then it is possible to graph the solution over time. The heat equation in one
dimension becomes
2
ut = c uxx ,
where c represents the thermal diffusivity of the material in question. A solution of this differential equation can be written in the form
2
2 2 2
−π m c t
um (x, t) = e sin(mπx)
where m is any positive integer. A graph of this solution using m = 1 appears in Figure 4, where the initial temperature distribution
over a wire of length 1 is given by u(x, 0) = sin πx. Notice that as time progresses, the wire cools off. This is seen because, from left to
right, the highest temperature (which occurs in the middle of the wire) decreases and changes color from red to blue.
13 9/5/2021 https://math.libretexts.org/@go/page/21017
Figure 4: Graph of a solution of the heat equation in one dimension over time.
Figure 5: (a) William Thomson (Lord Kelvin), 1824-1907, was a British physicist and electrical engineer; (b) Kelvin used the heat
diffusion equation to estimate the age of Earth (credit: modification of work by NASA).
At that time, eminent physicist William Thomson (Lord Kelvin) used an important partial differential equation, known as the heat
diffusion equation, to estimate the age of Earth by determining how long it would take Earth to cool from molten rock to what we
had at that time. His conclusion was a range of 20 to 400 million years, but most likely about 50 million years. For many decades,
the proclamations of this irrefutable icon of science did not sit well with geologists or with Darwin.
Read Kelvin’s paper on estimating the age of the Earth.
Kelvin made reasonable assumptions based on what was known in his time, but he also made several assumptions that turned out
to be wrong. One incorrect assumption was that Earth is solid and that the cooling was therefore via conduction only, hence
justifying the use of the diffusion equation. But the most serious error was a forgivable one—omission of the fact that Earth
contains radioactive elements that continually supply heat beneath Earth’s mantle. The discovery of radioactivity came near the end
of Kelvin’s life and he acknowledged that his calculation would have to be modified.
Kelvin used the simple one-dimensional model applied only to Earth’s outer shell, and derived the age from graphs and the roughly
known temperature gradient near Earth’s surface. Let’s take a look at a more appropriate version of the diffusion equation in radial
coordinates, which has the form
14 9/5/2021 https://math.libretexts.org/@go/page/21017
2
∂T ∂ T 2 ∂T
=K[ + ] (19)
2
∂t ∂ r r ∂r
.
Here, T (r, t) is temperature as a function of r (measured from the center of Earth) and time t. K is the heat conductivity—for
molten rock, in this case. The standard method of solving such a partial differential equation is by separation of variables, where
we express the solution as the product of functions containing each variable separately. In this case, we would write the
temperature as
T (r, t) = R(r)f (t). (20)
1. Substitute this form into Equation 19 and, noting that f (t) is constant with respect to distance (r) and R(r) is constant with
respect to time (t), show that
2
1 ∂f K ∂ R 2 ∂R
= [ + ]. (21)
2
f ∂t R ∂r r ∂r
2. This equation represents the separation of variables we want. The left-hand side is only a function of t and the right-hand side is
only a function of r, and they must be equal for all values of r and t . Therefore, they both must be equal to a constant. Let’s call
that constant −λ . (The convenience of this choice is seen on substitution.) So, we have
2
2
1 ∂f 2
K ∂ R 2 ∂R 2
= −λ and [ + ] = −λ . (22)
f ∂t R ∂r2 r ∂r
3. Now, we can verify through direct substitution for each equation that the solutions are f (t) = Ae and
2
−λ t
sin αr cos αr −
−
, where . Note that f (t) = Ae is also a valid solution, so we could have
2
+λn t
R(r) = B ( ) +C ( ) α = λ/ √K
r r
chosen +λ for our constant. Can you see why it would not be valid for this case as time increases?
2
time t . (Kelvin took the value to be 300K ≈ 80°F . We can add this 300K constant to our solution later.) For this to be
true, the sine argument must be zero at r = R . Note that α has an infinite series of values that satisfies this condition. Each
E
value of α represents a valid solution (each with its own value for A ). The total or general solution is the sum of all these
solutions.
c. At t = 0, we assume that all of Earth was at an initial hot temperature T (Kelvin took this to be about 7000K.) The 0
application of this boundary condition involves the more advanced application of Fourier coefficients. As noted in part b.
each value of α represents a valid solution, and the general solution is a sum of all these solutions. This results in a series
n
solution:
n−1
T0 RE (−1) 2 sin(αn r)
−λn t
T (r, t) = ( )∑ e
π n r
n
where αn = nπ/ RE .
n−1
−1
Note how the values of α come from the boundary condition applied in part b. The term
n is the constant A for each term
n
n
π
in the series, determined from applying the Fourier method. Letting β = , examine the first few terms of this solution shown
RE
here and note how λ in the exponential causes the higher terms to decrease quickly as time progresses:
2
T (r, t) (23)
T0 RE 2 1 2 1 2 1 2 1 2
−K β t −4K β t −9K β t −16K β t −25K β t
= (e (sin βr) − e (sin 2βr) + e (sin 3βr) − e (sin 4βr) + e (sin 5βr). .
πr 2 3 4 5
.).
15 9/5/2021 https://math.libretexts.org/@go/page/21017
Near time t = 0, many terms of the solution are needed for accuracy. Inserting values for the conductivity K and β = π/R for E
time approaching merely thousands of years, only the first few terms make a significant contribution. Kelvin only needed to look at
the solution near Earth’s surface (Figure 6) and, after a long time, determine what time best yielded the estimated temperature
gradient known during his era (1°F increase per 50f t). He simply chose a range of times with a gradient close to this value. In
Figure 6, the solutions are plotted and scaled, with the 300 − K surface temperature added. Note that the center of Earth would be
relatively cool. At the time, it was thought Earth must be solid.
Figure 6: Temperature versus radial distance from the center of Earth. (a) Kelvin’s results, plotted to scale. (b) A close-up of the
results at a depth of 4.0 miles below Earth’s surface.
Epilog
On May 20, 1904, physicist Ernest Rutherford spoke at the Royal Institution to announce a revised calculation that included the
contribution of radioactivity as a source of Earth’s heat. In Rutherford’s own words:
“I came into the room, which was half-dark, and presently spotted Lord Kelvin in the audience, and realized that I was in for
trouble at the last part of my speech dealing with the age of the Earth, where my views conflicted with his. To my relief,
Kelvin fell fast asleep, but as I came to the important point, I saw the old bird sit up, open an eye and cock a baleful glance at
me.
Then a sudden inspiration came, and I said Lord Kelvin had limited the age of the Earth, provided no new source [of heat]
was discovered. That prophetic utterance referred to what we are now considering tonight, radium! Behold! The old boy
beamed upon me.”
Rutherford calculated an age for Earth of about 500 million years. Today’s accepted value of Earth’s age is about 4.6 billion years.
Key Concepts
A partial derivative is a derivative involving a function of more than one independent variable.
To calculate a partial derivative with respect to a given variable, treat all the other variables as constants and use the usual
differentiation rules.
Higher-order partial derivatives can be calculated in the same way as higher-order derivatives.
Key Equations
Partial derivative of f with respect to x
∂f f (x + h, y) − f (x, y)
= lim
∂x h→0 h
16 9/5/2021 https://math.libretexts.org/@go/page/21017
Glossary
higher-order partial derivatives
second-order or higher partial derivatives, regardless of whether they are mixed partial derivatives
partial derivative
a derivative of a function of more than one independent variable in which all the variables but one are held constant
17 9/5/2021 https://math.libretexts.org/@go/page/21017
Partial Derivatives (Exercises)
In the following exercise, calculate the partial derivative using the limit definitions only.
∂z
1) for z = x 2
− 3xy + y
2
∂y
Answer:
∂z
= −3x + 2y
∂y
For exercises 2 - 5, calculate the sign of the partial derivative using the graph of the surface.
2) f x (1, 1)
3) f x (−1, 1)
Answer:
The sign is negative.
4) f y (1, 1)
5) f x (0, 0)
Answer:
The partial derivative is zero at the origin.
∂z
7) for z = sin(3x) cos(3y)
∂y
Answer:
∂z
= −3 sin(3x) sin(3y)
∂y
∂z ∂z
8) and for z = x 8 3
e y
∂x ∂y
∂z ∂z
9) and for z = ln(x 6 4
+y )
∂x ∂y
Answer:
1 9/5/2021 https://math.libretexts.org/@go/page/21018
∂z 6x
5 ∂z 4y
3
= ; =
6 4 6 4
x +y x +y
∂x ∂y
∂z ∂z
11) Let z = e xy
. Find and .
∂x ∂y
Answer:
∂z ∂z
xy xy
= ye ; = xe
∂x ∂y
∂z ∂z
12) Let z = ln( x
y
) . Find and .
∂x ∂y
∂z ∂z
13) Let z = tan(2x − y). Find and .
∂x ∂y
Answer:
∂z ∂z
2 2
= 2 sec (2x − y), = − sec (2x − y)
∂x ∂y
∂z ∂z
14) Let z = sinh(2x + 3y). Find and .
∂x ∂y
y
15) Let f (x, y) = arctan( x
). Evaluate f x (2, −2) and f y (2, −2) .
Answer:
1
fx (2, −2) = = fy (2, −2)
4
xy
16) Let f (x, y) = . Find f x (2, −2) and f y (2, −2).
x −y
∂z
17) Find at (0, 1) for z = e −x
cos(y) .
∂x
Answer:
∂z
= − cos(1)
∂x
2
∂ f
18) Given f (x, y, z) = x 3
yz ,
2
find and f z (1, 1, 1).
∂x∂y
2
,
, −4) fy (0,
π
2
, −4) , and f z (0,
π
2
.
, −4)
Answer:
fx (x, y, z) = 0, fy (x, y, z) = 0, fz (x, y, z) = 0
20) The area of a parallelogram with adjacent side lengths that are a and b , and in which the angle between these two sides is
θ , is given by the function A(a, b, θ) = ba sin(θ). Find the rate of change of the area of the parallelogram with respect to the
following:
a. Side a
b. Side b
c. Angle θ
21) Express the volume of a right circular cylinder as a function of two variables:
2 9/5/2021 https://math.libretexts.org/@go/page/21018
a. its radius r and its height h .
b. Show that the rate of change of the volume of the cylinder with respect to its radius is the product of its circumference
multiplied by its height.
c. Show that the rate of change of the volume of the cylinder with respect to its height is equal to the area of the circular
base.
Answer:
2
a. V (r, h) = π r h
∂V
b. = 2πrh
∂r
∂V
2
c. = πr
∂h
∂w
22) Calculate for w = z sin(x y 2
+ 2z).
∂z
Answer:
1
fxy (x, y) = 2
(x−y)
Answer:
2 2
∂ z ∂ z
= 2, =4
2 2
∂x ∂y
2 2
∂ z ∂ z
26) Given z = e x
tan y , find and .
∂x∂y ∂y∂x
27) Given f (x, y, z) = xyz, find f xyy (x, y, z), fyxy (x, y, z), and f yyx (x, y, z) .
Answer:
fxyy (x, y, z) = fyxy (x, y, z) = fyyx (x, y, z) = 0
2
(e
y
−e
−y
) sin x is a solution of the differential equation 2
+
2
= 0.
∂x ∂y
Answer:
2
d z 1 y −y
=− (e −e ) sin x
2
dx2
2
d z
1 y −y
= (e −e ) sin x
2 2
dy
2 2
d z d z
+ =0
dx2 dy 2
2
2 y
30) Find f xx (x, y) for f (x, y) = 4x
y
+
2x
.
3 9/5/2021 https://math.libretexts.org/@go/page/21018
31) Let f (x, y, z) = x 2 3
y z − 3x y z
2 3 2
+ 5 x z − y z.
3
Find f xyz .
Answer:
2 2
fxyz (x, y, z) = 6 y x − 18y z
Answer:
1 1
( , ), (1, 1)
4 2
∂f ∂f
34) Given f (x, y) = 2x 2
+ 2xy + y
2
+ 2x − 3, find all points at which =0 and =0 simultaneously.
∂x ∂y
Answer:
– –
(0, 0), (0, 2), (√3, −1), (−√3, −1)
Answer:
2 2
∂ z ∂ z
x x
+ =e sin y − e sin y = 0
2 2
∂x ∂y
2 2
∂ z ∂ z
38) Show that f (x, y) = ln(x 2
+y )
2
solves Laplace’s equation 2
+
2
= 0.
∂x ∂y
∂z
39) Show that z = e −t
cos(
x
c
) satisfies the heat equation = −e
−t
cos(
x
c
).
∂t
Answer:
2
∂ z x
2 −t
c =e cos( )
2 c
∂x
f (x + Δx) − f (x, y)
40) Find lim for f (x, y) = −7x − 2xy + 7y.
Δx→0 Δx
Answer:
∂f
= −2x + 7
∂y
Δf f (x + Δx, y) − f (x, y)
42) Find lim = lim for f (x, y) = x 2
y
2
+ xy + y.
Δx→0 Δx Δx→0 Δx
Δf f (x + Δx, y) − f (x, y)
43) Find lim = lim for f (x, y) = sin(xy).
Δx→0 Δx Δx→0 Δx
Answer:
∂f
= y cos xy
∂x
4 9/5/2021 https://math.libretexts.org/@go/page/21018
nRT
44) The function P (T , V ) = gives the pressure at a point in a gas as a function of temperature T and volume V . The
V
∂P ∂P
letters n and R are constants. Find and , and explain what these quantities represent.
∂V ∂T
2 2
∂f ∂ f ∂ f
45) The equation for heat flow in the xy-plane is =
2
+
2
. Show that f (x, y, t) = e −2t
sin x sin y is a solution.
∂t ∂x ∂y
46) The basic wave equation is f tt = fxx . Verify that f (x, t) = sin(x + t) and f (x, t) = sin(x − t) are solutions.
47) The law of cosines can be thought of as a function of three variables. Let x, y, and θ be two sides of any triangle where the
angle θ is the included angle between the two sides. Then, F (x, y, θ) = x + y − 2xy cos θ gives the square of the third side
2 2
∂F ∂F
of the triangle. Find and when x = 2, y = 3, and θ = π
6
.
∂θ ∂x
Answer:
∂F ∂F –
= 6, = 4 − 3 √3
∂θ ∂x
48) Suppose the sides of a rectangle are changing with respect to time. The first side is changing at a rate of 2in./sec whereas
the second side is changing at the rate of 4 in/sec. How fast is the diagonal of the rectangle changing when the first side
measures 16 in. and the second side measures 20 in.? (Round answer to three decimal places.)
49) A Cobb-Douglas production function is f (x, y) = 200x 0.7
y
0.3
, where x and y represent the amount of labor and capital
∂f ∂f
available. Let x = 500 and y = 1000. Find and at these values, which represent the marginal productivity of labor
∂x ∂y
Answer:
∂f ∂f
at (500, 1000) = 172.36, at (500, 1000) = 36.93
∂x ∂y
50) The apparent temperature index is a measure of how the temperature feels, and it is based on two variables: h , which is
relative humidity, and t , which is the air temperature.
∂A ∂A
A = 0.885t − 22.4h + 1.20th − 0.544. Find and when t = 20°F and h = 0.90.
∂t ∂h
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
5 9/5/2021 https://math.libretexts.org/@go/page/21018
Tangent Planes, Linear Approximations, and the Total Differential
Learning Objectives
Determine the equation of a plane tangent to a given surface at a point.
Use the tangent plane to approximate a function of two variables at a point.
Explain when a function of two variables is differentiable.
Use the total differential to approximate the change in a function of two variables.
In this section, we consider the problem of finding the tangent plane to a surface, which is analogous to finding the equation of a
tangent line to a curve when the curve is defined by the graph of a function of one variable, y = f (x). The slope of the tangent
line at the point x = a is given by m = f '(a) ; what is the slope of a tangent plane? We learned about the equation of a plane in
Equations of Lines and Planes in Space; in this section, we see how it can be applied to the problem at hand.
Tangent Planes
Intuitively, it seems clear that, in a plane, only one line can be tangent to a curve at a point. However, in three-dimensional space,
many lines can be tangent to a given point. If these lines lie in the same plane, they determine the tangent plane at that point. A
more intuitive way to think of a tangent plane is to assume the surface is smooth at that point (no corners). Then, a tangent line to
the surface at that point in any direction does not have any abrupt changes in slope because the direction changes smoothly.
Therefore, in a small-enough neighborhood around the point, a tangent plane touches the surface at that point only.
tangent lines to all such curves C at P lie in the same plane, then this plane is called the tangent plane to S at P (Figure 1).
0 0
Figure 1: The tangent plane to a surface S at a point P contains all the tangent lines to curves in S that pass through P .
0 0
For a tangent plane to a surface to exist at a point on that surface, it is sufficient for the function that defines the surface to be
differentiable at that point. We define the term tangent plane here and then explore the idea intuitively.
1 9/5/2021 https://math.libretexts.org/@go/page/21019
Let S be a surface defined by a differentiable function z = f (x, y), and let P0 = (x0 , y0 ) be a point in the domain of f .
Then, the equation of the tangent plane to S at P is given by 0
To see why this formula is correct, let’s first find two tangent lines to the surface S . The equation of the tangent line to the curve
that is represented by the intersection of S with the vertical trace given by x = x is z = f (x , y ) + f (x , y )(y − y ) . 0 0 0 y 0 0 0
Similarly, the equation of the tangent line to the curve that is represented by the intersection of S with the vertical trace given by
y =y 0 is z = f (x , y ) + f (x , y )(x − x ) . A parallel vector to the first tangent line is a = ^j + f (x , y ) k
0 0 x 0 0 0
^
; a parallel ⇀
y 0 0
⇀
vector to the second tangent line is b = ^i + f ^
x (x0 , y0 ) k . We can take the cross product of these two vectors:
⇀
⇀ ^ ^ ^ ^
a ×b = ( j + fy (x0 , y0 ) k) × ( i + fx (x0 , y0 ) k)
∣^ ^ ^ ∣
i j k
∣ ∣
∣ ∣
= 0 1 fy (x0 , y0 )
∣ ∣
∣ ∣
∣1 0 fx (x0 , y0 ) ∣
^ ^ ^
= fx (x0 , y0 ) i + fy (x0 , y0 ) j − k.
This vector is perpendicular to both lines and is therefore perpendicular to the tangent plane. We can use this vector as a normal
vector to the tangent plane, along with the point P = (x , y , f (x , y )) in the equation for a plane:
0 0 0 0 0
⇀ ^ ^ ^
n ⋅ ((x − x0 ) i + (y − y0 ) j + (z − f (x0 , y0 )) k) =0
^ ^ ^ ^ ^ ^
(fx (x0 , y0 ) i + fy (x0 , y0 ) j − k) ⋅ ((x − x0 ) i + (y − y0 ) j + (z − f (x0 , y0 )) k) =0
2 2
f (2, −1) = 2(2 ) − 3(2)(−1) + 8(−1 ) + 2(2) − 4(−1) + 4 = 34
z = 34 + 13x − 26 − 26y − 26
2 9/5/2021 https://math.libretexts.org/@go/page/21019
Figure 2: Calculating the equation of a tangent plane to a given surface at a given point.
Exercise 1
Find the equation of the tangent plane to the surface defined by the function f (x, y) = x
3 2
−x y +y
2
− 2x + 3y − 2 at
point (−1, 3).
Hint
First, calculate fx (x, y) and f y (x, , then use Equation 1.
y)
Answer
z = 7x + 8y − 3
Solution
First, calculate f
x (x, y) and f y (x, , then use Equation 1 with x
y) 0 = π/3 and y 0 = π/4 :
fx (x, y) = 2 cos(2x) cos(3y)
– – –
π π π π √3 √2 √6
f ( , ) = sin(2 ( )) cos(3 ( )) = ( ) (− ) =−
3 4 3 4 2 2 4
– –
π π π π 1 √2 √2
fx ( , ) = 2 cos(2 ( )) cos(3 ( )) = 2 (− ) (− ) =
3 4 3 4 2 2 2
– – –
π π π π √3 √2 3 √6
fy ( , ) = −3 sin(2 ( )) sin(3 ( )) = −3 ( )( ) =− .
3 4 3 4 2 2 4
3 9/5/2021 https://math.libretexts.org/@go/page/21019
z = f (x0 , y0 ) + fx (x0 , y0 )(x − x0 ) + fy (x0 , y0 )(y − y0 )
– – –
√6 √2 π 3 √6 π
=− + (x − )− (y − )
4 2 3 4 4
– – – – –
√2 3 √6 √6 π √2 3π √6
= x− y− − +
2 4 4 6 16
A tangent plane to a surface does not always exist at every point on the surface. Consider the piecewise function
xy
⎧
⎪
− −−−− −, (x, y) ≠ (0, 0)
√ x2 + y 2
f (x, y) = ⎨ . (2)
⎩
⎪
0, (x, y) = (0, 0)
z
2
1 -2
-2 -1
-1
1
1
-1
2 y
2
x -2
Figure 3 : Graph of a function that does not have a tangent plane at the origin. Dynamic figure powered by CalcPlot3D.
If either x =0 or , then f (x, y) = 0, so the value of the function does not change on either the x- or y -axis. Therefore,
y =0
fx (x, 0) = fy (0, y) = 0, so as either x or y approach zero, these partial derivatives stay equal to zero. Substituting them into
Equation gives z = 0 as the equation of the tangent line. However, if we approach the origin from a different direction, we get a
different story. For example, suppose we approach the origin along the line y = x . If we put y = x into the original function, it
becomes
2
x(x) x |x|
f (x, x) = = = . (3)
− −−−− −−− −−− –
√ x2 + (x )2 √2x2 √2
4 9/5/2021 https://math.libretexts.org/@go/page/21019
– –
When x > 0, the slope of this curve is equal to √2/2; when x < 0 , the slope of this curve is equal to −(√2/2). This presents a
problem. In the definition of tangent plane, we presumed that all tangent lines through point P (in this case, the origin) lay in the
same plane. This is clearly not the case here. When we study differentiable functions, we will see that this function is not
differentiable at the origin.
Linear Approximations
Recall from Linear Approximations and Differentials that the formula for the linear approximation of a function f (x) at the point
x = a is given by
′
y ≈ f (a) + f (a)(x − a). (4)
The diagram for the linear approximation of a function of one variable appears in the following graph.
Notice that this equation also represents the tangent plane to the surface defined by z = f (x, y) at the point (x , y ). The idea
0 0
behind using a linear approximation is that, if there is a point (x , y ) at which the precise value of f (x, y) is known, then for
0 0
values of (x, y) reasonably close to (x , y ), the linear approximation (i.e., tangent plane) yields a value that is also reasonably
0 0
close to the exact value of f (x, y) (Figure). Furthermore the plane that is used to find the linear approximation is also the tangent
plane to the surface at the point (x , y ).
0 0
5 9/5/2021 https://math.libretexts.org/@go/page/21019
Figure 5: Using a tangent plane for linear approximation at a point.
−−−−−−−−−−−−−−
2 2 − −−−−−−− − −−
f (x0 , y0 ) = f (2, 3) = √ 41 − 4(2 ) − (3 ) = √ 41 − 16 − 9 = √16 = 4
4x 4(2)
fx (x, y) = − so fx (x0 , y0 ) = − = −2
− −−−−−−−−− − − −−−−− −− − −−−−−
2 2 2 2
√ 41 − 4 x − y √ 41 − 4(2 ) − (3 )
y 3 3
fy (x, y) = − so fy (x0 , y0 ) = − =− .
− −−−−−−−−− − − −−−−− −− − −−−−−
2 2 2 2 4
√ 41 − 4 x − y √ 41 − 4(2 ) − (3 )
3
= 4 − 2(x − 2) − (y − 3)
4
41 3
= − 2x − y.
4 4
6 9/5/2021 https://math.libretexts.org/@go/page/21019
Exercise 2
Given the function f (x, y) = e , approximate
5−2x+3y
f (4.1, 0.9) using point (4, 1) for (x0 , y0 ) . What is the approximate
value of f (4.1, 0.9)to four decimal places?
Hint
First calculate f (x 0, y0 ), fx (x0 , y0 ), and f y (x0 , y0 ) using x 0 =4 and y 0 =1 , then use Equation 5.
Answer
L(x, y) = 6 − 2x + 3y, so L(4.1, 0.9) = 6 − 2(4.1) + 3(0.9) = 0.5 f (4.1, 0.9) = e 5−2(4.1)+3(0.9)
=e
−0.5
≈ 0.6065.
Differentiability
When working with a function y = f (x) of one variable, the function is said to be differentiable at a point x = a if f '(a) exists.
Furthermore, if a function of one variable is differentiable at a point, the graph is “smooth” at that point (i.e., no corners exist) and
a tangent line is well-defined at that point.
The idea behind differentiability of a function of two variables is connected to the idea of smoothness at that point. In this case, a
surface is considered to be smooth at point P if a tangent plane to the surface exists at that point. If a function is differentiable at a
point, then a tangent plane to the surface exists at that point. Recall the formula (Equation 1) for a tangent plane at a point
(x , y ) is given by
0 0
For a tangent plane to exist at the point (x , y ), the partial derivatives must therefore exist at that point. However, this is not a
0 0
sufficient condition for smoothness, as was illustrated in Figure. In that case, the partial derivatives existed at the origin, but the
function also had a corner on the graph at the origin.
The last term in Equation 6 is to as the error term and it represents how closely the tangent plane comes to the surface in a small
neighborhood (δ disk) of point P . For the function f to be differentiable at P , the function must be smooth—that is, the graph of
f must be close to the tangent plane for points near P .
7 9/5/2021 https://math.libretexts.org/@go/page/21019
f (x, y) = f (2, −3) + fx (2, −3)(x − 2) + fy (2, −3)(y + 3) + E(x, y)
2
2x − 4y = 20 + 8(x − 2) − 4(y + 3) + E(x, y)
2
2x − 4y = 20 + 8x − 16 − 4y − 12 + E(x, y)
2
2x − 4y = 8x − 4y − 8 + E(x, y)
2
E(x, y) = 2 x − 8x + 8.
2
2(x − 4x + 4)
= lim
− −−−−−−−−−−−−− −
(x,y)→(2,−3) √ (x − 2 )2 + (y + 3 )2
2
2(x − 2)
= lim
− −−−−−−−−−−−−− −
(x,y)→(2,−3) √ (x − 2 )2 + (y + 3 )2
2 2
2((x − 2 ) + (y + 3 ) )
= lim − −−−−−−−−−−−−− −
(x,y)→(2,−3) √ (x − 2 )2 + (y + 3 )2
−−−−−−−−−−−−−−−
2 2
= lim 2 √ (x − 2 ) + (y + 3 )
(x,y)→(2,−3)
= 0.
Since E(x, y) ≥ 0 for any value of x or y , the original limit must be equal to zero. Therefore, f (x, y) = 2 x
2
− 4y is
differentiable at point (2, −3).
Exercise 3
Show that the function f (x, y) = 3x − 4y is differentiable at point (−1, 2).
2
Hint
First, calculate f (x , y ), f
0 0 x (x0 , y0 ), and fy (x0 , y0 ) using x0 = −1 and y0 = 2 , then use Equation 7 to find E(x, y) .
Last, calculate the limit.
Answer
2
f (−1, 2) = −19, fx (−1, 2) = 3, fy (−1, 2) = −16, E(x, y) = −4(y − 2 ) .
2
E(x, y) −4(y − 2)
lim = lim
− −−−−−−−−−−−−−−− − − −−−−−−−−−−−−− −
(x,y)→( x0 , y0 ) √ (x − x0 )2 + (y − y0 )2 (x,y)→(−1,2) √ (x + 1 )2 + (y − 2 )2
2 2
−4((x + 1 ) + (y − 2 ) )
≤ lim − −−−−−−−−−−−−− −
(x,y)→(−1,2) 2 2
√ (x + 1 ) + (y − 2 )
−−−−−−−−−−−−−−−
2 2
= lim −4 √ (x + 1 ) + (y − 2 )
(x,y)→(2,−3)
= 0.
8 9/5/2021 https://math.libretexts.org/@go/page/21019
is not differentiable at the origin (Figure 3). We can see this by calculating the partial derivatives. This function appeared earlier
in the section, where we showed that f (0, 0) = f (0, 0) = 0 . Substituting this information into Equations 6 and 7 using x = 0
x y 0
and y = 0 , we get
0
xy
E(x, y) = −−−−−−.
2 2
√x + y
Calculating
E(x, y)
lim (8)
− −−−−−−−−−−−−−−− −
(x,y)→( x0 , y0 ) √ (x − x0 )2 + (y − y0 )2
gives
xy
−−−−−−
2 2
E(x, y) √x + y
lim − −−−−−−−−−−−−−−− − = lim −−−−−−
(x,y)→( x0 , y0 ) 2 2 (x,y)→(0,0) 2 2
√ (x − x0 ) + (y − y0 ) √x + y
xy
= lim .
2 2
(x,y)→(0,0) x +y
Depending on the path taken toward the origin, this limit takes different values. Therefore, the limit does not exist and the
function f is not differentiable at the origin as shown in the following figure.
Note shows that if a function is differentiable at a point, then it is continuous there. However, if a function is continuous at a point,
then it is not necessarily differentiable at that point. For example, the function discussed above (Equation 2)
9 9/5/2021 https://math.libretexts.org/@go/page/21019
xy
⎧
⎪
− −−−−−, (x, y) ≠ (0, 0)
2 2
f (x, y) = ⎨ √ x +y
⎩
⎪
0, (x, y) = (0, 0)
is continuous at the origin, but it is not differentiable at the origin. This observation is also similar to the situation in single-
variable calculus.
We can further explores the connection between continuity and differentiability at a point. This next theorem says that if the
function and its partial derivatives are continuous at a point, the function is differentiable.
Recall that earlier we showed that the function in Equation 2 was not differentiable at the origin. Let’s calculate the partial
derivatives f and f :
x y
3
∂f y
= (9)
2 2 3/2
∂x (x +y )
and
3
∂f x
= . (10)
2 2 3/2
∂y (x +y )
The contrapositive of the preceding theorem states that if a function is not differentiable, then at least one of the hypotheses must
be false. Let’s explore the condition that f (0, 0) must be continuous. For this to be true, it must be true that
x
therefor
3
y
lim fx (x, y) = lim . (12)
(x,y)→(0,0) (x,y)→(0,0) 2 2 3/2
(x +y )
Let x = ky . Then
3 3
y y
lim = lim
(x,y)→(0,0) 2 2 3/2 y→0 2 2 3/2
(x +y ) ((ky ) +y )
3
y
= lim
y→0 2 2 2 3/2
(k y +y )
3
y
= lim
y→0 3 2 3/2
|y | (k + 1)
1 |y|
= lim .
2 3/2
(k + 1) y→0 y
Differentials
In Linear Approximations and Differentials we first studied the concept of differentials. The differential of y , written dy , is
defined as f '(x)dx. The differential is used to approximate Δy = f (x + Δx) − f (x) , where Δx = dx . Extending this idea to
the linear approximation of a function of two variables at the point (x , y ) yields the formula for the total differential for a
0 0
10 9/5/2021 https://math.libretexts.org/@go/page/21019
Definition: Total Differential
Let z = f (x, y) be a function of two variables with (x , y ) in the domain of f , and let Δx and Δy be chosen so that
0 0
(x0 + Δx, y0 + Δy) is also in the domain of f . If f is differentiable at the point (x , y ), then the differentials dx and dy
0 0
are defined as
dx = Δx (13)
and
dy = Δy. (14)
Notice that the symbol is not used to denote the total differential; rather,
∂ d appears in front of z . Now, let’s define
Δz = f (x + Δx, y + Δy) − f (x, y). We use dz to approximate Δz , so
Therefore, the differential is used to approximate the change in the function z = f (x , y ) at the point (x , y ) for given values
0 0 0 0
of Δx and Δy. Since Δz = f (x + Δx, y + Δy) − f (x, y) , this can be used further to approximate f (x + Δx, y + Δy) :
f (x + Δx, y + Δy) = f (x, y) + Δz ≈ f (x, y) + f x(x0 , y0 )Δx + fy (x0 , y0 )Δy. (17)
One such application of this idea is to determine error propagation. For example, if we are manufacturing a gadget and are off by
a certain amount in measuring a given quantity, the differential can be used to estimate the error in the total volume of the gadget.
Solution
First, we must calculate f (x 0, y0 ), fx (x0 , y0 ), and f
y (x0 , y0 ) using x 0 =2 and y 0 = −3 :
11 9/5/2021 https://math.libretexts.org/@go/page/21019
2 2
f (x0 , y0 ) = f (2, −3) = 3(2 ) − 2(2)(−3) + (−3 ) = 12 + 12 + 9 = 33
fx (x, y) = 6x − 2y
fy (x, y) = −2x + 2y
= 6(2) − 2(−3) = 12 + 6 = 18
= −2(2) + 2(−3)
= −4 − 6 = −10.
This is the approximation to Δz = f (x 0 + Δx, y0 + Δy) − f (x0 , y0 ). The exact value of Δz is given by
= 2.3425.
Exercise 4
Find the differential dz of the function f (x, y) = 4y + x y − 2xy and use it to approximate
2 2
Δz at point (1, −1). Use
Δx = 0.03 and Δy = −0.02. What is the exact value of Δz ?
Hint
First, calculate fx (x0 , y0 ) and f y (x0 , y0 ) using x 0 =1 and y 0 = −1 , then use Equation 15.
Answer
dz = 0.18
f (x, y) = f (x0 , y0 , z0 ) + fx (x0 , y0 , z0 )(x − x0 ) + fy (x0 , y0 , z0 )(y − y0 ) + fz (x0 , y0 , z0 )(z − z0 ) + E(x, y, z), (18)
If a function of three variables is differentiable at a point (x 0, y0 , z0 ) , then it is continuous there. Furthermore, continuity of first
partial derivatives at that point guarantees differentiability.
12 9/5/2021 https://math.libretexts.org/@go/page/21019
Key Concepts
The analog of a tangent line to a curve is a tangent plane to a surface for functions of two variables.
Tangent planes can be used to approximate values of functions near known values.
A function is differentiable at a point if it is ”smooth” at that point (i.e., no corners or discontinuities exist at that point).
The total differential can be used to approximate the change in a function z = f (x , y ) at the point (x , y ) for given values
0 0 0 0
of Δx and Δy.
Key Equations
Tangent plane
z = f (x0 , y0 ) + fx (x0 , y0 )(x − x0 ) + fy (x0 , y0 )(y − y0 )
Linear approximation
L(x, y) = f (x0 , y0 ) + fx (x0 , y0 )(x − x0 ) + fy (x0 , y0 )(y − y0 )
Total differential
dz = fx (x0 , y0 )dx + fy (x0 , y0 )dy .
Differentiability (two variables)
f (x, y) = f (x0 , y0 ) + fx (x0 , y0 )(x − x0 ) + fy (x0 , y0 )(y − y0 ) + E(x, y),
Glossary
differentiable
a function f (x, y) is differentiable at (x0 , y0 ) if f (x, y) can be expressed in the form
f (x, y) = f (x0 , y0 ) + fx (x0 , y0 )(x − x0 ) + fy (x0 , y0 )(y − y0 ) + E(x, y),
E(x, y)
where the error term E(x, y) satisfies lim (x,y)→( x0 , y0 ) −−−−−−−−−−−−−−−− −
=0
2 2
√(x − x0 ) + (y − y0 )
linear approximation
given a function f (x, y) and a tangent plane to the function at a point (x 0, y0 ) , we can approximate f (x, y) for points near
(x , y ) using the tangent plane formula
0 0
tangent plane
given a function f (x, y) that is differentiable at a point (x , y ), the equation of the tangent plane to the surface z = f (x, y) is
0 0
total differential
the total differential of the function f (x, y) at (x 0, y0 ) is given by the formula dz = f x (x0 , y0 )dx + f y(x0 , y0 )dy
13 9/5/2021 https://math.libretexts.org/@go/page/21019
Tangent Planes, Linear Approximations, and the Total Differential (Exercises)
In exercises 1 - 2, find a unit normal vector to the surface at the indicated point.
1) f (x, y) = x 3
, (2, −1, 8)
Answer:
√145
^ ^
( )(12 i − k)
145
x
2) ln( ) =0 when x = y = 1
y −z
Answer:
Normal vector: ^i + ^j , tangent vector: ^i − ^j
–
4) (x 2
+y )
2 2
= 9(x
2
− y ),
2
P (√2, 1)
5) x y 2
− 2x
2
+ y + 5x = 6, P (4, 2)
Answer:
Normal vector: 7^i − 17^j , tangent vector: 17^i + 7^j
6) 2x 3
−x y
2 2
= 3x − y − 7, P (1, −2)
7) ze
2 2
x −y
− 3 = 0, P (2, 2, 3)
Answer:
Normal vector: −12^i + 12^j − k ^
or 12^i − 12^j + k^
,
Tangent vector: 0^i + 1^j + 12k
^
or 1^i + 0^j − 12k
^
In exercises 8 - 19, find the equation for the tangent plane to the surface at the indicated point. (Hint: If the given
function is not already solved for z, start by solving it for z in terms of x and y .)
8) −8x − 3y − 7z = −19, P (1, −1, 2)
9) z = −9x 2
− 3y ,
2
P (2, 1, −39)
Answer:
−36x − 6y − z = −39
10) x 2
+ 10xyz + y
2
+ 8z
2
= 0, P (−1, −1, −1)
11) z = ln(10x 2
+ 2y
2
+ 1), P (0, 0, 0)
Answer:
z =0
12) z = e
2 2
7 x +4 y
, P (0, 0, 1)
Answer:
1 9/5/2021 https://math.libretexts.org/@go/page/21020
5x + 4y + 3z − 22 = 0
14) x2
+ 4y
2
=z ,
2
P (3, 2, 5)
15) x3
+y
3
= 3xyz, P (1, 2,
3
2
)
Answer:
4x − 5y + 4z = 0
a
, 1)
Answer:
2x + 2y − z = 0
−−−−−−
18) h(x, y) = ln √x 2 2
+y , P (3, 4)
19) z = x 2
− 2xy + y ,
2
P (1, 2, 1)
Answer:
−2(x − 1) + 2(y − 2) − (z − 1) = 0
In exercises 20 - 25, find parametric equations for the normal line to the surface at the indicated point. (Recall that to
find the equation of a line in space, you need a point on the line, P (x , y , z ) , and a vector v = ⟨a, b, c⟩ that is
0 0 0 0
⇀
parallel to the line. Then the equations of the line are: x = x + at, y = y + bt, z = z + ct. )
0 0 0
21) z = 5x 2
− 2y ,
2
P (2, 1, 18)
Answer:
x = 20t + 2, y = −4t + 1, z = −t + 18
22) x2
− 8xyz + y
2
+ 6z
2
= 0, P (1, 1, 1)
23) z = ln(3x 2
+ 7y
2
+ 1), P (0, 0, 0)
Answer:
x = 0, y = 0, z = t
24) z = e
2 2
4 x +6 y
, P (0, 0, 1)
25) z = x 2
− 2xy + y
2
at point P (1, 2, 1)
Answer:
x − 1 = 2t; y − 2 = −2t; z − 1 = t
2 9/5/2021 https://math.libretexts.org/@go/page/21020
26) The length of line segment AC is equal to what mathematical expression?
27) The length of line segment BC is equal to what mathematical expression?
Answer:
The differential of the function z(x, y) = dz = f x dx + fy dy
28) Using the figure, explain what the length of line segment AB represents.
Answer:
Using the definition of differentiability, we have e xy
x ≈ x +y .
Answer:
Δz = 2xΔx + 3Δy + (Δx ) . (Δx )
2 2
→ 0 for small Δx and z satisfies the definition of differentiability.
b. z = e xy
c. z = y cos x + sin y
d. P = t + 3t + tu
2 3
e. w = e cos(x) + z
y 2
Answers:
a. dz = 3 x
2
dx + 3 y
2
dy
b. dz = y e
xy
dx + x e
xy
dy
d. dP = (2t + 3 + u ) dt + 3tu
3 2
du
e. dw = −e
y
sin(x) dx + e
y
cos(x) dy + 2z dz
3 9/5/2021 https://math.libretexts.org/@go/page/21020
xy
32) a. Find the total differential dz of the function z = and then
y +x
b. State its value where x changes from 10 to 10.5 and y changes from 15 to 13.
Answer:
2 2
y x
a. dz = 2
dx +
2
dy
(x + y) (x + y)
b. dx = 0.5 and dy = −2 so
2 2
15 10
= dx + dy
2 2
25 25
225 100
= (0.5) + (−2)
625 625
9 1 4
= ( )+ (−2)
25 2 25
18 32
= −
100 100
33) Let z = f (x, y) = x e . State its total differential. Then compute Δz from P (1, 2) to Q(1.05, 2.1) and then find the
y
approximate change in z , dz , from point P to point Q. Recall Δz = f (x + Δx, y + Δy) − f (x, y) , and dz and Δz should be
approximately equal, if dx and dy are both reasonably small.
Answer:
Total Differential: dz = e dx + x e dy y y
Answer:
2
dV = 2πrh dr + π r dh
35) See the preceding problem. Use differentials to estimate the amount of aluminum in an enclosed aluminum can with
diameter 8.0cm and height 12cm if the aluminum is 0.04 cm thick.
Answer:
3
16 cm
−−−−−−−−−
36) Use the differential dz to approximate the change in z = √4 − x − y as 2 2
(x, y) moves from point (1, 1) to point
(1.01, 0.97).Compare this approximation with the actual change in the function.
37) Let z = f (x, y) = x + 3xy − y . Find the exact change in the function and the approximate change in the function as x
2 2
Answer:
Δz = exact change = 0.6449, approximate change is dz = 0.65. The two values are close.
2
38) The centripetal acceleration of a particle moving in a circle is given by a(r, v) = , where v is the velocity and r is the
v
radius of the circle. Approximate the maximum percent error in measuring the acceleration resulting from errors of 3% in v
and 2% in r. (Recall that the percentage error is the ratio of the amount of error over the original amount. So, in this case, the
percentage error in a is given by .) da
4 9/5/2021 https://math.libretexts.org/@go/page/21020
39) The radius r and height h of a right circular cylinder are measured with possible errors of 4% and 5%, respectively.
Approximate the maximum possible percentage error in measuring the volume (Recall that the percentage error is the ratio of
the amount of error over the original amount. So, in this case, the percentage error in V is given by .)
dV
Answer:
13% or 0.13
40) The base radius and height of a right circular cone are measured as 10 in. and 25 in., respectively, with a possible error in
measurement of as much as 0.1 in. each. Use differentials to estimate the maximum error in the calculated volume of the cone.
41) The electrical resistance R produced by wiring resistors R and R in parallel can be calculated from the formula
1 2
R
=
1
R1
+ . If R and R are measured to be 7Ω and 6Ω, respectively, and if these measurements are accurate to within
1
R2
1 2
0.05Ω, estimate the maximum possible error in computing R . (The symbol Ω represents an ohm, the unit of electrical
resistance.)
Answer:
0.025
42) The area of an ellipse with axes of length 2a and 2b is given by the formula A = πab . Approximate the percent change in
the area when a increases by 2% and b increases by 1.5%.
−
−
43) The period T of a simple pendulum with small oscillations is calculated from the formula T = 2π √
L
g
, where L is the
length of the pendulum and g is the acceleration resulting from gravity. Suppose that L and g have errors of, at most, 0.5%
and 0.1%, respectively. Use differentials to approximate the maximum percentage error in the calculated value of T .
Answer:
0.3%
44) Electrical power P is given by P = , where V is the voltage and R is the resistance. Approximate the maximum
V
percentage error in calculating power if 120V is applied to a 2000 − Ω resistor and the possible percent errors in measuring V
and R are 3% and 4%, respectively.
For exercises 45 - 49, find the linear approximation of each function at the indicated point.
45) f (x, y) = x √y, P (1, 4)
Answer:
1
L(x, y) = 2x + y −1
4
46) f (x, y) = e x
cos y; P (0, 0)
Answer:
1 1 1
L(x, y) = x +y + π−
2 4 2
−−−−−−−−−− −
48) f (x, y) = √20 − x 2
− 7y
2
, P (2, 1)
−−−−−−−−− −
49) 2 2
f (x, y, z) = √x + y + z
2
, P (3, 2, 6)
Answer:
3 2 6
L(x, y, z) = x+ y+ z
7 7 7
5 9/5/2021 https://math.libretexts.org/@go/page/21020
50) [T] Find the equation of the tangent plane to the surface f (x, y) = x2
+y
2
at point (1, 2, 5), and graph the surface and the
tangent plane at the point.
51) [T] Find the equation for the tangent plane to the surface at the indicated point, and graph the surface and the tangent
plane: z = ln(10x + 2y + 1), P (0, 0, 0).
2 2
Answer:
z =0
√2
52) [T] Find the equation of the tangent plane to the surface z = f (x, y) = sin(x + y )
2
at point (
π
4
, 0,
2
, and graph the
)
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Paul Seeburger (Monroe Community College) created all but part e of exercise 31.
6 9/5/2021 https://math.libretexts.org/@go/page/21020
Taylor Polynomials if Functions of Two Variables (Exercises)
13.7: Taylor Polynomials of Functions of Two Variables
In the exercises 1 - 8, find the linear approximation L(x, y) and the quadratic approximation Q(x, y) of each
function at the indicated point. These are the 1 - and 2 -degree Taylor Polynomials of these functions at these points.
st nd
Use a 3D grapher like CalcPlot3D to verify that each linear approximation is tangent to the given surface at the given
point and that each quadratic approximation is not only tangent to the surface at the given point, but also shares the
same concavity as the surface at this point.
1) f (x, y) = x √y, P (1, 4)
Answer:
1
L(x, y) = 2x + y −1
4
1 1 1 2
Q(x, y) = −1 + 2x + y+ (x − 1)(y − 4) − (y − 4 )
4 4 64
2) f (x, y) = e x
cos y; P (0, 0)
Answer:
1 1 1
L(x, y) = π− + x +y
4 2 2
2
1 3 x 2
Q(x, y) = π− + x + 2y − − xy − y
4 4 4
−−−−−−−−−− −
4) f (x, y) = √20 − x 2
− 7y
2
, P (2, 1)
5) f (x, y) = x 2
y +y ,
2
P (1, 3)
Answer:
L(x, y) = 12 + 6(x − 1) + 7(y − 3) = −15 + 6x + 7y
2 2
Q(x, y) = −15 + 6x + 7y + 3(x − 1 ) + 2(x − 1)(y − 3) + (y − 3 )
7) f (x, y) = ln(x 2
+y
2
+ 1), P (0, 0)
Answer:
L(x, y) = 0
2 2
Q(x, y) = x +y
−−−−−
8) f (x, y) = √2x − y , P (1, −2)
9) Verify that the formula for higher-degree Taylor polynomials works for the first-degree Taylor polynomial
L(x, y) = P (x, y). For convenience, the formula is given below.
1
( i+j)
d f
n n−i
i j
(a, b)
∂x ∂y
i j
Pn (x, y) = ∑ ∑ (x − a) (y − b )
i!j!
i=0 j=0
10) Determine the new terms that would be added to P (x, y) (which you found in Exercise 13.7.1) to form P (x, y) and
3 4
determine the fourth-degree Taylor polynomial for one of the functions we've considered and graph it together with the surface
plot of the corresponding function in a 3D grapher like CalcPlot3D to verify that it continues to fit the surface better.
Now we will see how to improve this approximation of f (x, y) using a quadratic function: the 2 -degree Taylor polynomial for f at (x, y). nd
Now a function of one variable f (x) can be approximated for x near c using its 1 -degree Taylor Polynomial (i.e., using the equation of its tangent line at the
st
point (c, f (c)). This 1 -degree Taylor Polynomial is also called the linear approximation of f (x) for x near c .
st
That is:
′
f (x) ≈ f (c) + f (c)(x − c) (2)
Note
Remember that the first-derivative of this 1 -degree Taylor polynomial at x = c is equal to the first derivative of f at x = c . That is:
st
Since P 1 (x)
′
= f (c) + f (c)(x − c) ,
′ ′
P (c) = f (c)
1
A better approximation of f (x) for x near c is the quadratic approximation (i.e., the 2 -degree Taylor polynomial of f at x = c ): nd
′′
f (c)
′ 2
f (x) ≈ f (c) + f (c)(x − c) + (x − c ) (3)
2
Note
Remember that both the first and second derivatives of the 2 -degree Taylor polynomial of f at x = c are the same as those for f at x = c . That is:
nd
′′
f (c)
Since P 2 (x)
′
= f (c) + f (c)(x − c) +
2
(x − c )
2
,
′ ′ ′′ ′′
P (c) = f (c) and P (c) = f (c)
2 2
L(x, y) is also called the linear (or tangent plane) approximation of f for (x, y) near the point (a, b).
Note that this is really just the equation of the function f 's tangent plane.
Also note that the first partial derivatives of this polynomial function are f and f ! x y
We can obtain an even better approximation of f for (x, y) near the point (a, b) by using the quadratic approximation of f for (x, y) near the point (a, b). This
is just another name for the 2 -degree Taylor polynomial of f .
nd
(a, b) is:
fxx (a, b)
2
f (x, y) ≈ Q(x, y) = f (a, b) + fx (a, b)(x − a) + fy (a, b)(y − b) + (x − a) + fxy (a, b)(x − a)(y − b) (5)
2
fyy (a, b)
2
+ (y − b )
2
If we have already determined L(x, y), we can simplify this formula as:
Note: Since both mixed partials are equal, they combine to form the middle term. Originally there were four terms for the second partials, all divided by 2.
Observe that the power on the factor (x − a) corresponds to the number of times the partial is taken with respect to x and the power on the factor y − b
corresponds to the number of times the partial is take with respect to y . For example, in the term with f (a, b), you have the factor (x − a) , since the partial is
xx
2
taken with respect to x twice, and in the term with f (a, b), you have the factors (x − a) and (y − b) (both raised to the first power), since the partial is taken
xy
Solution
a. To determine the first-degree Taylor polynomial linear approximation, L(x, y), we first compute the partial derivatives of f .
Then evaluating these partials and the function itself at the point (0, 0) we have:
f (0, 0) = sin 2(0) + cos 0 = 1
fy (0, 0) = − sin 0 = 0
Now,
L(x, y) = f (0, 0) + fx (0, 0)(x − 0) + fy (0, 0)(y − 0)
= 1 + 2x
See the plot of this function and its linear approximation (the 1 -degree Taylor polynomial) in Figure 1.
st
z
2
x 2 -2
1 -1
-1
1 -2
y 2
-1
-2
Figure 1 : Graph of f (x, y) = sin 2x + cos y and its 1 -degree Taylor polynomial, L(x, y) = 1 + 2x
st
To determine the second-degree Taylor polynomial (quadratic) approximation, Q(x, y), we need the second partials of f :
fxy (x, y) = 0
fxy (0, 0) = 0
Then,
fxx (0, 0) fyy (0, 0)
2 2
Q(x, y) = L(x, y) + (x − 0 ) + fxy (0, 0)(x − 0)(y − 0) + (y − 0 )
2 2
0 2
−1 2
= 1 + 2x + x + (0)xy + y
2 2
2
y
= 1 + 2x −
2
See the plot of the function f along with its quadratic approximation (the 2 -degree Taylor polynomial) in Figure 2.
nd
z
2
1
x
2 -2
1 -1
-1
1
-2
y 2
-1
-2
2
y
Figure 2 : Graph of f (x, y) = sin 2x + cos y and its 2 -degree Taylor polynomial, Q(x, y) = 1 + 2x −
nd
b. To determine the first-degree Taylor polynomial linear approximation, L(x, y), we first compute the partial derivatives of f (x, y) = x e y
+1 .
y y
fx (x, y) = e and fy (x, y) = x e
Then evaluating these partials and the function itself at the point (1, 0) we have:
0
f (1, 0) = (1)e +1 = 2
0
fx (1, 0) = e =1
0
fy (1, 0) = (1)e =1
Now,
L(x, y) = f (1, 0) + fx (1, 0)(x − 1) + fy (1, 0)(y − 0)
= 2 + 1(x − 1) + 1y
= 1 +x +y
See the plot of this function and its linear approximation (the 1 -degree Taylor polynomial) in Figure 3.
st
1 x
2
y 1
2
1
-1
-2
-1
-1
-2
-2
To determine the second-degree Taylor polynomial (quadratic) approximation, Q(x, y), we need the second partials of f :
fxx (x, y) = 0
y
fxy (x, y) = e
y
fyy (x, y) = xe
fxx (1, 0) = 0
0
fxy (1, 0) = e =1
0
fyy (1, 0) = (1)e =1
Then,
fxx (1, 0) fyy (1, 0)
2 2
Q(x, y) = L(x, y) + (x − 1 ) + fxy (1, 0)(x − 1)(y − 0) + (y − 0 )
2 2
0 2
1 2
= 1 +x +y + (x − 1 ) + (1)(x − 1)y + y
2 2
2
y
= 1 + x + y + xy − y +
2
2
y
= 1 + x + xy +
2
See the plot of the function f along with its quadratic approximation (the 2 -degree Taylor polynomial) in Figure 4.
nd
x 1
2
1 -2
-1
y 2
1
-1
-1 -2
-2
2
y
Figure 4 : Graph of f (x, y) = x e y
+1 and its 2 -degree Taylor polynomial, L(x, y) = 1 + x + xy +
nd
first, second and third partials to all match those of f (x, y) at the point (a, b). For P 0(x, y) we would need all its partials up to the tenth partials to all match
1
For a function of two variables f (x, y) whose partials all exist to the n th
partials at the point (a, b), the n -degree Taylor polynomial of f for (x, y) near the
th
Let's verify this formula for the second-degree Taylor polynomial. (We'll leave it to you to verify it for the first-degree Taylor polynomial.)
For n = 2 , we have:
( i+j)
d f
2 2−i (a, b)
∂xi ∂y j
i j
P2 (x, y) = ∑ ∑ (x − a) (y − b ) (8)
i!j!
i=0 j=0
Since i will start at 0 and continue to increase up to 2, while the value of j will start at 0 and increase to 2 −i for each value of i, we would see the following
values for i and j :
i = 0, j=0
i = 0, j=1
i = 0, j=2
i = 1, j=0
i = 1, j=1
i = 2, j=0
functions in Example 1 above. Verify your result using a 3D function grapher like CalcPlot3D.
Answer
As you just found, the only new combinations of i and j would be:
i = 0, j=3
i = 1, j=2
i = 2, j=1
i = 3, j=0
Note that these pairs include all the possible combinations of i and j that can add to 3. That is, these pairs correspond to all the possible third-degree terms
we could have for a function of two variables x and y, remembering that i represents the degree of x and j represents the degree of y in each term. If the
point (a, b) were (0, 0), the variable factors of these terms would be y , xy , x y, and x , respectively.
3 2 2 3
Simplifying,
fyyy (a, b) fxyy (a, b) fxxy (a, b) fxxx (a, b)
3 2 2 3
P3 (x, y) = P2 (x, y) + (y − b ) + (x − a)(y − b ) + (x − a) (y − b) + (x − a) (10)
6 2 2 6
Contributors
Paul Seeburger (Monroe Community College)
In single-variable calculus, we found that one of the most useful differentiation rules is the chain rule, which allows us to find
the derivative of the composition of two functions. The same thing is true for multivariable calculus, but this time we have to
deal with more than one form of the chain rule. In this section, we study extensions of the chain rule and learn how to take
derivatives of compositions of functions of more than one variable.
In this equation, both f (x) and g(x) are functions of one variable. Now suppose that f is a function of two variables and g is a
function of one variable. Or perhaps they are both functions of two variables, or even more. How would we calculate the
derivative in these cases? The following theorem gives us the answer for the case of one independent variable.
dz ∂z dx ∂z dy
= ⋅ + ⋅ , (2)
dt ∂x dt ∂y dt
where the ordinary derivatives are evaluated at t and the partial derivatives are evaluated at (x, y).
Proof
The proof of this theorem uses the definition of differentiability of a function of two variables. Suppose that f is
differentiable at the point P (x , y ), where x = g(t ) and y = h(t ) for a fixed value of t . We wish to prove that
0 0 0 0 0 0 0
z = f (x(t), y(t)) is differentiable at t = t and that Equation 2 holds at that point as well.
0
where
E(x, y)
lim = 0.
− −−−−−−−−−−−−−−− −
(x,y)→( x0 , y0 ) √ (x − x0 )2 + (y − y0 )2
z(t) − z(t0 )t − t0 = f x(x0 , y0 )(x(t) − x(t0 )t − t0 ) + fy (x0 , y0 )(y(t) − y(t0 )t − t0 ) + E(x(t), y(t))t − t0 .
1 9/5/2021 https://math.libretexts.org/@go/page/21021
z(t) − z(t0 ) x(t) − x(t0 )
lim = fx (x0 , y0 ) lim ( )
t→t0 t − t0 t→t0 t − t0
y(t) − y(t0 )
+fy (x0 , y0 ) lim ( )
t→t0 t − t0
E(x(t), y(t))
+ lim .
t→t0 t − t0
− −−−−−−−−−−−−−−− −
E(x, y) √ (x − x0 )2 + (y − y0 )2
= lim ( ) lim ( ).
− −−−−−−−−−−−−−−− −
t→t0 2 2 t→t0 t − t0
√ (x − x0 ) + (y − y0 )
As t approaches t 0, (x(t), y(t)) approaches (x(t 0 ), y(t0 )), so we can rewrite the last product as
− −−−−−−−−−−−−−−− −
2 2
(E(x, y) √ (x − x0 ) + (y − y0 )
lim − −−−−−−−−−−−−−−− − lim ( ).
(x,y)→( x0 , y0 ) 2 2 (x,y)→( x0 , y0 ) t − t0
√ (x − x0 ) + (y − y0 )
Since the first limit is equal to zero, we need only show that the second limit is finite:
− −−−−−−−−−−−−−−− − −−−−−−−−−−−−−−−−−
√ (x − x0 )2 + (y − y0 )2 (x − x0 )
2
+ (y − y0 )
2
lim = lim √
2
(x,y)→( x0 , y0 ) t −t +0 (x,y)→( x0 , y0 ) (t − t0 )
−−−−−−−−−−−−−−−−−−−−
2 2
x − x0 y − y0
= lim √( ) +( )
(x,y)→( x0 , y )
0
t − t0 t − t0
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
2 2
x − x0 y − y0
= √[ lim ( )] +[ lim ( )] .
(x,y)→( x0 , y0 ) t − t0 (x,y)→( x0 , y0 ) t − t0
Since x(t) and y(t) are both differentiable functions of t , both limits inside the last radical exist. Therefore, this value is
finite. This proves the chain rule at t = t ; the rest of the theorem follows from the assumption that all functions are
0
∂f dx
Closer examination of Equation 2 reveals an interesting pattern. The first term in the equation is ⋅ and the second term
∂x dt
∂f dy
is ⋅ . Recall that when multiplying fractions, cancelation can be used. If we treat these derivatives as fractions, then
∂y dt
each product “simplifies” to something resembling ∂f /dt. The variables x and y that disappear in this simplification are often
called intermediate variables: they are independent variables for the function f , but are dependent variables for the variable
t . Two terms appear on the right-hand side of the formula, and f is a function of two variables. This pattern works with
functions of more than two variables as well, as we see later in this section.
2 9/5/2021 https://math.libretexts.org/@go/page/21021
−−−−−−
b. z = f (x, y) = √x 2
−y
2
, x = x(t) = e
2t
, y = y(t) = e
−t
Solution
a. To use the chain rule, we need four quantities—∂z/∂x, ∂z/∂y, dx/dt, and dy/dt:
∂z
= 8x
∂x
dx
= cos t
dt
∂z
= 6y
∂y
dy
= − sin t
dt
This answer has three variables in it. To reduce it to one variable, use the fact that x(t) = sin t and y(t) = cos t. We
obtain
dz
= 8x cos t − 6y sin t = 8(sin t) cos t − 6(cos t) sin t = 2 sin t cos t.
dt
This derivative can also be calculated by first substituting x(t) and y(t) into f (x, y), then differentiating with respect to
t:
2 2 2 2
z = f (x, y) = f (x(t), y(t)) = 4(x(t)) + 3(y(t)) = 4 sin t + 3 cos t.
Then
dz
= 2(4 sin t)(cos t) + 2(3 cos t)(− sin t) = 8 sin t cos t − 6 sin t cos t = 2 sin t cos t,
dt
which is the same solution. However, it may not always be this easy to differentiate in this form.
b. To use the chain rule, we again need four quantities—∂z/∂x, ∂z/dy, dx/dt, and dy/dt :
∂z x
= −−−−−−
∂x 2 2
√x − y
dx
2t
= 2e
dt
∂z −y
=
−−−−− −
∂y √x2 − y 2
dx −t
= −e .
dt
x 2t
−y −t
=( −−− −−− ) (2 e ) + ( −−−−−− ) (−e )
2 2 2 2
√x − y √x − y
2t −t
2x e − ye
= − −−−− − .
√ x2 − y 2
3 9/5/2021 https://math.libretexts.org/@go/page/21021
2 −t
dz 2x e t + y e
= − −−−− −
dt √ x2 − y 2
2t 2t −t −t
2(e )e + (e )e
= − −− −−−−−
√ e4t − e−2t
4t −2t
2e +e
= −− − −−−−−.
√e 4t −2t
−e
−−
To eliminate negative exponents, we multiply the top by e and the bottom by √e :
2t 4t
4t −2t 2t
dz 2e +e e
= −− − −−−−− ⋅ −−
dt √e 4t
−e −2t √ e4t
6t
2e +1
= − −− −−−−
√ e8t − e2t
6t
2e +1
= − −−−−−−− −
2t 6t
√ e (e − 1)
6t
2e +1
= − − − −−−.
t√ 6t
e e −1
Again, this derivative can also be calculated by first substituting x(t) and y(t) into f (x, y), then differentiating with
respect to t :
z = f (x, y)
= f (x(t), y(t))
−−−−−−−−−−−−−
2 2
= √ (x(t)) − (y(t))
−−− −−−−−
√ 4t −2t
= e −e
4t −2t 1/2
= (e −e ) .
Then
dz 1
4t −2t −1/2 4t −2t
= (e −e ) (4 e + 2e )
dt 2
4t −2t
2e +e
= −− − −−−−−.
4t −2t
√e −e
Exercise 1
Calculate dz/dt given the following functions. Express the final answer in terms of t .
2 2
z = f (x, y) = x − 3xy + 2 y
Hint
Calculate ∂z/∂x, ∂z/dy, dx/dt,and dy/dt, then use Equation 2.
Answer
dz ∂f dx ∂f dy
= +
dt ∂x dt ∂y dt
4 9/5/2021 https://math.libretexts.org/@go/page/21021
= (2x − 3y)(6 cos 2t) + (−3x + 4y)(−8 sin 2t)
2 2
= −92 sin 2t cos 2t − 72(cos 2t − sin 2t)
It is often useful to create a visual representation of Equation for the chain rule. This is called a tree diagram for the chain rule
for functions of one variable and it provides a way to remember the formula (Figure 1). This diagram can be expanded for
functions of more than one variable, as we shall see very shortly.
dz ∂z dx ∂z dy
Figure 1: Tree diagram for the case = ⋅ + ⋅ .
dt ∂x dt ∂y dt
In this diagram, the leftmost corner corresponds to z = f (x, y) . Since f has two independent variables, there are two lines
coming from this corner. The upper branch corresponds to the variable x and the lower branch corresponds to the variable y .
Since each of these variables is then dependent on one variable t , one branch then comes from x and one branch comes from
y . Last, each of the branches on the far right has a label that represents the path traveled to reach that branch. The top branch is
reached by following the x branch, then the t branch; therefore, it is labeled (∂z/∂x) × (dx/dt). The bottom branch is
similar: first the y branch, then the t branch. This branch is labeled (∂z/∂y) × (dy/dt) . To get the formula for dz/dt, add all
the terms that appear on the rightmost side of the diagram. This gives us Equation.
In Note, z = f (x, y) is a function of x and y , and both x = g(u, v) and y = h(u, v) are functions of the independent variables
u and v .
and
∂z ∂z ∂x ∂z ∂y
= + . (4)
∂v ∂x ∂v ∂y ∂v
We can draw a tree diagram for each of these formulas as well as follows.
5 9/5/2021 https://math.libretexts.org/@go/page/21021
∂z ∂z ∂x ∂z ∂y ∂z ∂z ∂x ∂z ∂y
Figure 2: Tree diagram for = ⋅ + ⋅ and = ⋅ + ⋅ .
∂u ∂x ∂u ∂y ∂u ∂v ∂x ∂v ∂y ∂v
To derive the formula for ∂z/∂u, start from the left side of the diagram, then follow only the branches that end with u and add
the terms that appear at the end of those branches. For the formula for ∂z/∂v , follow only the branches that end with v and
add the terms that appear at the end of those branches.
There is an important difference between these two chain rule theorems. In Note, the left-hand side of the formula for the
derivative is not a partial derivative, but in Note it is. The reason is that, in Note, z is ultimately a function of t alone, whereas
in Note, z is a function of both u and v .
Solution
To implement the chain rule for two variables, we need six partial derivatives—∂z/∂x, ∂z/∂y, ∂x/∂u, ∂x/∂v, ∂y/∂u,
and ∂y/∂v:
∂z ∂z
= 6x − 2y = −2x + 2y
∂x ∂y
∂x ∂x
=3 =2
∂u ∂v
∂y ∂y
=4 = −1.
∂u ∂v
= 10x + 2y.
= 38u + 18v.
6 9/5/2021 https://math.libretexts.org/@go/page/21021
∂z ∂z ∂x ∂z ∂y
= +
∂v ∂x ∂v ∂y ∂v
= 14x − 6y.
= 18u + 34v
Exercise 2
Calculate ∂z/∂u and ∂z/∂v given the following functions:
2x − y
2u 2u
z = f (x, y) = , x(u, v) = e cos 3v, y(u, v) = e sin 3v.
x + 3y
Hint
Calculate ∂z/∂x, ∂z/∂y, ∂x/∂u, ∂x/∂v, ∂y/∂u, and ∂y/∂v, then use Equation 3 and Equation ??? .
Answer
∂z ∂z −21
= 0, =
2
∂u ∂v (3 sin 3v + cos 3v)
for any j ∈ 1, 2, … , n.
In the next example we calculate the derivative of a function of three independent variables in which each of the three
variables is dependent on two other variables.
u
x = x(u, v) = e sin v
u
y = y(u, v) = e cos v
u
z = z(u, v) = e .
Solution
7 9/5/2021 https://math.libretexts.org/@go/page/21021
The formulas for ∂w/∂u and ∂w/∂v are
∂w ∂w ∂x ∂w ∂y ∂w ∂z
= ⋅ + ⋅ + ⋅
∂u ∂x ∂u ∂y ∂u ∂z ∂u
∂w ∂w ∂x ∂w ∂y ∂w ∂z
= ⋅ + ⋅ + ⋅ .
∂v ∂x ∂v ∂y ∂v ∂z ∂v
Therefore, there are nine different partial derivatives that need to be calculated and substituted. We need to calculate each
of them:
∂w ∂w ∂w
= 6x − 2y = −2x = 8z
∂x ∂y ∂z
∂x u
∂y u
∂z u
=e sin v =e cos v =e
∂u ∂u ∂u
∂y ∂z
u u
df rac∂x∂v = e cos v = −e sin v = 0.
∂v ∂v
Now, we substitute each of them into the first formula to calculate ∂w/∂u:
∂w ∂w ∂x ∂w ∂y ∂w ∂z
= ⋅ + ⋅ + ⋅
∂u ∂x ∂u ∂y ∂u ∂z ∂u
u u u
= (6x − 2y)e sin v − 2x e cos v + 8ze ,
∂w u u u
= (6x − 2y)e sin v − 2x e cos v + 8ze
∂u
u u u u 2u
= (6 e sin v − 2eu cos v)e sin v − 2(e sin v)e cos v + 8 e
2u 2 2u 2u
= 6e sin v − 4e sin v cos v + 8 e
2u 2
= 2e (3 sin v − 2 sin v cos v + 4).
u u
= (6x − 2y)e cos v − 2x(−e sin v) + 8z(0),
∂w u u
= (6x − 2y)e cos v − 2x(−e sin v)
∂v
u u u u u
= (6 e sin v − 2 e cos v)e cos v + 2(e sin v)(e sin v)
2u 2 2u 2u 2
= 2e sin v + 6e sin v cos v − 2 e cos v
2u 2 2
= 2e (sin v + sin v cos v − cos v).
Exercise 3
Calculate ∂w/∂u and ∂w/∂v given the following functions:
8 9/5/2021 https://math.libretexts.org/@go/page/21021
x + 2y − 4z
w = f (x, y, z) =
2x − y + 3z
2u
x = x(u, v) = e cos 3v
2u
y = y(u, v) = e sin 3v
2u
z = z(u, v) = e .
Hint
Calculate nine partial derivatives, then use the same formulas from Example 3.
Answer
∂w
=0
∂u
∂w 15 − 33 sin 3v + 6 cos 3v
=
2
∂v (3 + 2 cos 3v − sin 3v)
and write out the formulas for the three partial derivatives of w.
Solution
Starting from the left, the function f has three independent variables: x, y, and z . Therefore, three branches must be
emanating from the first node. Each of these three branches also has three branches, for each of the variables t, u, and v .
Figure 3: Tree diagram for a function of three variables, each of which is a function of three independent variables.
The three formulas are
9 9/5/2021 https://math.libretexts.org/@go/page/21021
∂w ∂w ∂x ∂w ∂y ∂w ∂z
= + +
∂t ∂x ∂t ∂y ∂t ∂z ∂t
∂w ∂w ∂x ∂w ∂y ∂w ∂z
= + +
∂u ∂x ∂u ∂y ∂u ∂z ∂u
∂w ∂w ∂x ∂w ∂y ∂w ∂z
= + + .
∂v ∂x ∂v ∂y ∂v ∂z ∂v
Exercise 4
Create a tree diagram for the case when
and write out the formulas for the three partial derivatives of w.
Hint
Determine the number of branches that emanate from each node in the tree.
Answer
∂w ∂w ∂x ∂w ∂y
= +
∂t ∂x ∂t ∂y ∂t
∂w ∂w ∂x ∂w ∂y
= +
∂u ∂x ∂u ∂y ∂u
∂w ∂w ∂x ∂w ∂y
= +
∂v ∂x ∂v ∂y ∂v
Implicit Differentiation
Recall from implicit differentiation provides a method for finding dy/dx when y is defined implicitly as a function of x. The
method involves differentiating both sides of the equation defining the function with respect to x, then solving for dy/dx.
Partial derivatives provide an alternative to this method.
Consider the ellipse defined by the equation x 2
+ 3y
2
+ 4y − 4 = 0 as follows.
10 9/5/2021 https://math.libretexts.org/@go/page/21021
Figure 4: Graph of the ellipse defined by x 2
+ 3y
2
+ 4y − 4 = 0 .
This equation implicitly defines y as a function of x. As such, we can find the derivative dy/dx using the method of implicit
differentiation:
d d
2 2
(x + 3y + 4y − 4) = (0)
dx dx
dy dy
2x + 6y +4 =0
dx dx
dy
(6y + 4) = −2x
dx
dy x
=−
dx 3y + 2
We can also define a function z = f (x, y) by using the left-hand side of the equation defining the ellipse. Then
f (x, y) = x + 3 y + 4y − 4. The ellipse x + 3 y + 4y − 4 = 0 can then be described by the equation f (x, y) = 0. Using
2 2 2 2
this function and the following theorem gives us an alternative approach to calculating dy/dx.
provided f y (x, y) ≠ 0.
as long as f z (x, y, z) ≠ 0.
Equation 6 is a direct consequence of Equation 3. In particular, if we assume that y is defined implicitly as a function of x via
the equation f (x, y) = 0, we can apply the chain rule to find dy/dx :
d d
f (x, y) = (0)
dx dx
∂f dx ∂f dy
⋅ + ⋅ =0
∂x dx ∂y dx
∂f ∂f dy
+ ⋅ = 0.
∂x ∂y dx
Solving this equation for dy/dx gives Equation 6. Equation 6 can be derived in a similar fashion.
11 9/5/2021 https://math.libretexts.org/@go/page/21021
Let’s now return to the problem that we started before the previous theorem. Using Note and the function
f (x, y) = x + 3 y + 4y − 4, we obtain
2 2
∂f
= 2x
∂x
∂f
= 6y + 4.
∂y
which is the same result obtained by the earlier use of implicit differentiation.
Solution
a. Set 2
f (x, y) = 3 x − 2xy + y
2
+ 4x − 6y − 11 = 0, then calculate fx and fy : fx = 6x − 2y + 4
fy = −2x + 2y − 6.
To find the equation of the tangent line, we use the point-slope form (Figure 5):
y − y0 = m(x − x0 )
7
y −1 = (x − 2)
4
7 7
y = x− +1
4 2
7 5
y = x− .
4 2
12 9/5/2021 https://math.libretexts.org/@go/page/21021
Figure 5: Graph of the rotated ellipse defined by 3x 2
− 2xy + y
2
+ 4x − 6y − 11 = 0 .
b. We have f (x, y, z) = x2
e
y x
− yze . Therefore,
∂f
y x
= 2x e − yze
∂x
∂f 2 y x
=x e − ze
∂y
∂f x
= −y e
∂z
Using Equation 7,
∂z ∂f /∂x ∂z ∂f /∂y
=− =−
∂x ∂f /∂y ∂y ∂f /∂z
y x 2 y x
2x e − yze x e − ze
=− and = −
x x
−ye −ye
y x 2 y x
2x e − yze x e − ze
= =
x x
ye ye
Exercise 5
Find dy/dx if y is defined implicitly as a function of x by the equation x 2
+ xy − y
2
+ 7x − 3y − 26 = 0 . What is the
equation of the tangent line to the graph of this curve at point (3, −2)?
Hint
Calculate ∂f /dx and ∂f /dy, then use Equation 6.
Solution
dy 2x + y + 7 ∣ 2(3) + (−2) + 7 11
= ∣ = =−
dx 2y − x + 3 ∣ (3,−2) 2(−2) − (3) + 3 4
11 25
Equation of the tangent line: y = − x+
4 4
Key Concepts
The chain rule for functions of more than one variable involves the partial derivatives with respect to all the independent
variables.
13 9/5/2021 https://math.libretexts.org/@go/page/21021
Tree diagrams are useful for deriving formulas for the chain rule for functions of more than one variable, where each
independent variable also depends on other variables.
Key Equations
Chain rule, one independent variable
dz ∂z dx ∂z dy
= ⋅ + ⋅
dt ∂x dt ∂y dt
Glossary
generalized chain rule
the chain rule extended to functions of more than one independent variable, in which each independent variable may
depend on one or more other variables
intermediate variable
given a composition of functions (e.g., f (x(t), y(t))), the intermediate variables are the variables that are independent in
the outer function but dependent on other variables as well; in the function f (x(t), y(t)), the variables x and y are
examples of intermediate variables
tree diagram
illustrates and derives formulas for the generalized chain rule, in which each independent variable is accounted for
14 9/5/2021 https://math.libretexts.org/@go/page/21021
The Chain Rule for Functions of Multiple Variables (Exercises)
In exercises 1 - 6, use the information provided to solve the problem.
dw
1) Let w(x, y, z) = xy cos z, where x = t, y = t 2
, and z = arcsin t. Find .
dt
Answer:
dw xy sin z
= y cos z + x cos z(2t) −
−−−− −
dt √1 − t2
∂w ∂w
2) Let w(t, v) = e tv
where t = r + s and v = rs . Find and .
∂r ∂s
∂w ∂w
3) If w = 5x 2 2
+ 2y , x = −3u + v, and y = u − 4v, find and .
∂u ∂v
Answer:
∂w
= −30x + 4y = −30(−3u + v) + 4(u − 4v) = 90u − 30v + 4u − 16v = 94u − 46v ,
∂u
∂w
= 10x − 16y = 10(−3u + v) − 16(u − 4v) = −30u + 10v − 16u + 64v = −46u + 74v
∂v
∂w
4) If w = x y 2
, x = 5 cos(2t), and y = 5 sin(2t) , find .
∂t
∂f
5) If f (x, y) = xy, x = r cos θ, and y = r sin θ , find and express the answer in terms of r and θ .
∂r
Answer:
∂f
= r sin(2θ)
∂r
∂f
6) Suppose f (x, y) = x + y, u = e x
sin y, x =t
2
and y = πt , where x = r cos θ and y = r sin θ . Find .
∂θ
dz
In exercises 7 - 12, find in two ways, first using the chain rule and then by direct substitution.
dt
7) z = x 2
+y ,
2
x = t, y = t
2
Answer:
dz
3
= 2t + 4 t
dt
−−−−−−
8) z = √x 2 2
+y ,
2
y =t ,x =t
9) z = xy, x = 1 − √t, y = 1 + √t
Answer:
dz
= −1
dt
10) z = x
y
,
t
x = e , y = 2e
t
Answer:
dz
=1
dt
1 9/5/2021 https://math.libretexts.org/@go/page/21022
12) z = x 4
, x = t, y = t
dw
13) Let w(x, y, z) = x
2
+y
2
+z ,
2
x = cost, y = sint, and z =e
t
. Express w as a function of t and find directly.
dt
dw
Then, find using the chain rule.
dt
Answer:
dw
= 2e
2t
in both cases
dt
dz
14) Let z = x 2
y, where x = t and y = t . Find 2 3
.
dt
du
15) Let u = e x
sin y, where x = − ln 2t and y = πt . Find when x = ln 2 and y = . π
4
dt
Answer:
du –
= √2(π − 4)
dt
dy
In exercises 16 - 33, find using partial derivatives.
dx
Answer:
2 2
dy 3x +y
=−
dx 2xy
Answer:
dy y −x
=
3
dx −x + 2y
20) x e y
+ ye
x 2
− 2x y = 0
21) x 2/3
+y
2/3
=a
2/3
Answer:
dy −
−
y
3
= −√
x
dx
Answer:
xy
dy ye
=−
xy y
dx xe + e (1 + y)
24) x 2
y
3
+ cos y = 0
2 9/5/2021 https://math.libretexts.org/@go/page/21022
dz
25) Find using the chain rule where z = 3x 2 3
y , x =t ,
4
and y = t . 2
dt
Answer:
dz
13
= 42 t
dt
dz
26) Let z = 3 cos x − sin(xy), x = 1
t
, and y = 3t. Find .
dt
dz
27) Let z = e 1−xy
, x =t
1/3
, and y = t . Find 3
.
dt
Answer:
dz 10
10/3
7/3 1−t
=− t ×e
3
dt
dz
28) Find by the chain rule where z = cosh 2
(xy), x =
1
2
t, and y = e . t
dt
x ∂z ∂z
29) Let z = , x = 2 cos u, and y = 3 sin v. Find and .
y ∂u ∂v
Answer:
∂z −2 sin u ∂z −2 cos u cos v
= and =
2
∂u 3 sin v ∂v 3 sin v
∂z ∂z
30) Let z = e , where x = √−−
uv and y = . Find and .
2
x y 1
v
∂u ∂v
∂z ∂z
31) If z = xy e x/y
, x = r cos θ, and y = r sin θ , find and when r = 2 and θ = . π
6
∂r ∂θ
Answer:
∂z – √3 ∂z – √3
= √3e , = (2 − 4 √3)e
∂r ∂θ
∂w 2
r+s
32) Find if w = 4x + y 2 3
+z , x =e
rs
, y = ln(
t
), and z = rst . 2
∂s
∂w
33) If w = sin(xyz), x = 1 − 3t, y =e
1−t
, and z = 4t , find .
∂t
Answer:
∂w
1−t
= −3yz cos(xyz) − xze cos(xyz) + 4xy cos(xyz)
∂t
In exercises 34 - 36, use this information: A function f (x, y) is said to be homogeneous of degree n if
f (tx, ty) = t f (x, y). For all homogeneous functions of degree n, the following equation is true:
n
∂f ∂f ∂f ∂f
x +y = nf (x, y) . Show that the given function is homogeneous and verify that x +y = nf (x, y) .
∂x ∂y ∂x ∂y
34) f (x, y) = 3x 2
+y
2
−−−−− −
35) f (x, y) = √x 2
+ y2
Answer:
−− −− −−− −− ∂f 1 1
2 2 2 2 1 2 2 −1/2 2 2 −1/2
f (tx, ty) = √t x + t y = t f (x, y), =x (x +y ) × 2x + y (x +y ) × 2y = 1f (x, y)
2 2
∂y
3 9/5/2021 https://math.libretexts.org/@go/page/21022
36) f (x, y) = x 2
y − 2y
3
37) The volume of a right circular cylinder is given by V (x, y) = π x y, where x is the radius of the cylinder and y is the
2
cylinder height. Suppose x and y are functions of t given by x = t and y = t so that x and y are both increasing with time.
1
2
1
How fast is the volume increasing when x = 2 and y = 5 ? Assume time is measured in seconds.
Answer:
34π 3
\ddfracdV dt = units /s
3
38) The pressure P of a gas is related to the volume and temperature by the formula P V = kT , where temperature is
dP dV
expressed in kelvins. Express the pressure of the gas as a function of both V and T . Find when k = 1, =2 cm3/min,
dt dt
dT
= 12 K/min, V = 20cm
3
, and T = 20°F .
dt
39) The radius of a right circular cone is increasing at 3 cm/min whereas the height of the cone is decreasing at 2 cm/min. Find
the rate of change of the volume of the cone when the radius is 13 cm and the height is 18 cm.
Answer:
dV 1066π 3
= cm /min
3
dt
40) The volume of a frustum of a cone is given by the formula V = πz(x + y + xy), where x is the radius of the smaller
1
3
2 2
circle, y is the radius of the larger circle, and z is the height of the frustum (see figure). Find the rate of change of the volume
of this frustum when x = 10 in., y = 12 in., and z = 18 in.
41) A closed box is in the shape of a rectangular solid with dimensions x, y, and z . (Dimensions are in inches.) Suppose each
dimension is changing at the rate of 0.5 in./min. Find the rate of change of the total surface area of the box when x = 2 in.,
y = 3 in., and z = 1 in.
Answer:
dA
2
= 12 in. /min
dt
42) The total resistance in a circuit that has three individual resistances represented by x, y, and z is given by the formula
xyz
R(x, y, z) = . Suppose at a given time the x resistance is 100 Ω, the y resistance is 200 Ω, and the z resistance
yz + xz + xy
is 300 Ω. Also, suppose the x resistance is changing at a rate of 2 Ω/min, the y resistance is changing at the rate of 1 Ω/min,
and the z resistance has no change. Find the rate of change of the total resistance in this circuit at this time.
43) The temperature T at a point (x, y) is T (x, y) and is measured using the Celsius scale. A fly crawls so that its position
−− −−
after t seconds is given by x = √1 + t and y = 2 + t , where x and y are measured in centimeters. The temperature
1
function satisfies T (2, 3) = 4 and T (2, 3) = 3 . How fast is the temperature increasing on the fly’s path after 3 sec?
x y
Answer:
2 °C/sec
4 9/5/2021 https://math.libretexts.org/@go/page/21022
44) The x and y components of a fluid moving in two dimensions are given by the following functions: u(x, y) = 2y and
−−−−−−−−−−−−− − ∂s
v(x, y) = −2x with x ≥ 0 and y ≥ 0 . The speed of the fluid at the point (x, y) is 2
s(x, y) = √u(x, y ) + v(x, y )
2
. Find
∂x
∂s
and using the chain rule.
∂y
45) Let u = u(x, y, z), where x = x(w, t), y = y(w, t), z = z(w, t), w = w(r, s) , and t = t(r, s). Use a tree diagram and
∂u
the chain rule to find an expression for .
∂r
Answer:
∂u ∂u ∂x ∂w ∂x ∂t ∂u ∂y ∂w ∂y ∂t ∂u ∂z ∂w ∂z ∂t
= ( + )+ ( + )+ ( + )
∂r ∂x ∂w ∂r ∂t ∂r ∂y ∂w ∂r ∂t ∂r ∂z ∂w ∂r ∂t ∂r
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
5 9/5/2021 https://math.libretexts.org/@go/page/21022
CHAPTER OVERVIEW
15: MULTIPLE INTEGRATION
1 9/15/2021
Calculating Centers of Mass and Moments of Inertia
Learning Objectives
Use double integrals to locate the center of mass of a two-dimensional object.
Use double integrals to find the moment of inertia of a two-dimensional object.
Use triple integrals to locate the center of mass of a three-dimensional object.
We have already discussed a few applications of multiple integrals, such as finding areas, volumes, and the average value of a
function over a bounded region. In this section we develop computational techniques for finding the center of mass and
moments of inertia of several types of physical objects, using double integrals for a lamina (flat plate) and triple integrals for a
three-dimensional object with variable density. The density is usually considered to be a constant number when the lamina or
the object is homogeneous; that is, the object has uniform density.
Figure 1: A lamina is perfectly balanced on a spindle if the lamina’s center of mass sits on the spindle.
To find the coordinates of the center of mass P (x̄, ȳ ) of a lamina, we need to find the moment M of the lamina about the x-
x
axis and the moment M about the y -axis. We also need to find the mass m of the lamina. Then
y
My
x̄ = (1)
m
and
Mx
ȳ = . (2)
m
Refer to Moments and Centers of Mass for the definitions and the methods of single integration to find the center of mass of a
one-dimensional object (for example, a thin rod). We are going to use a similar idea here except that the object is a two-
dimensional lamina and we use a double integral.
My Mx
If we allow a constant density function, then x̄ = and ȳ = give the centroid of the lamina.
m m
Suppose that the lamina occupies a region R in the xy-plane and let ρ(x, y) be its density (in units of mass per unit area) at
any point (x, y). Hence,
Δm
ρ(x, y) = lim (3)
ΔA→0 ΔA
where Δm and ΔA are the mass and area of a small rectangle containing the point (x, y) and the limit is taken as the
dimensions of the rectangle go to 0 (see the following figure).
1 9/5/2021 https://math.libretexts.org/@go/page/21047
Figure 2: The density of a lamina at a point is the limit of its mass per area in a small rectangle about the point as the area goes
to zero.
Just as before, we divide the region R into tiny rectangles R with area ΔA and choose (x , y ) as sample points. Then the
ij
∗
ij
∗
ij
mass m of each R is equal to ρ(x , y )ΔA (Figure 2). Let k and l be the number of subintervals in x and y respectively.
ij ij
∗
ij
∗
ij
Also, note that the shape might not always be rectangular but the limit works anyway, as seen in previous sections.
Figure 3: Subdividing the lamina into tiny rectangles R each containing a sample point (x
ij
∗
ij
,y
ij
∗
) .
∗ ∗
m = lim ∑ ∑ mij = lim ∑ ∑ ρ(x ,y )ΔA = ∬ ρ(x, y)dA. (4)
ij ij
k,l→∞ k,l→∞
R
i=1 j=1 i=1 j=1
Let’s see an example now of finding the total mass of a triangular lamina.
mass.
Solution
A sketch of the region R is always helpful, as shown in the following figure.
2 9/5/2021 https://math.libretexts.org/@go/page/21047
Figure 4: A lamina in the xy-plane with density ρ(x, y) = xy .
Using the expression developed for mass, we see that
x=3 y=3−x x=3 y=3 x=3
2
y ∣ 1 2
m =∬ dm = ∬ ρ(x, y)dA = ∫ ∫ xy dy dx = ∫ [x ∣ ] dx = ∫ x(3 − x ) dx (5)
R R x=0 y=0 x=0
2 ∣ x=0
2
y=0
x=3
2 4
9x x ∣ 27
3
= [ −x + ]∣ = .
4 8 ∣ 8
x=0
27
The computation is straightforward, giving the answer m = kg .
8
Exercise 1
Consider the same region R as in the previous example, and use the density function ρ(x, y) = √−
xy . Find the total mass.
−
Answer
9π
kg
8
Now that we have established the expression for mass, we have the tools we need for calculating moments and centers of
mass. The moment M about the x-axis for R is the limit of the sums of moments of the regions R about the x-axis. Hence
z ij
k l k l
∗ ∗ ∗ ∗
Mx = lim ∑ ∑(y )mij = lim ∑ ∑(y )ρ(x ,y ) ΔA = ∬ yρ(x, y) dA (6)
ij ij ij ij
k,l→∞ k,l→∞
R
i=1 j=1 i=1 j=1
Similarly, the moment My about the y -axis for R is the limit of the sums of moments of the regions Rij about the y -axis.
Hence
k l k l
∗ ∗ ∗ ∗
My = lim ∑ ∑(x )mij = lim ∑ ∑(x )ρ(x ,y ) ΔA = ∬ xρ(x, y) dA (7)
ij ij ij ij
k,l→∞ k,l→∞
R
i=1 j=1 i=1 j=1
Solution
Use double integrals for each moment and compute their values:
x=3 y=3−x
2
81
Mx = ∬ yρ(x, y) dA = ∫ ∫ xy dy dx = , (8)
R x=0 y=0
20
3 9/5/2021 https://math.libretexts.org/@go/page/21047
x=3 y=3−x
81
2
My = ∬ xρ(x, y) dA = ∫ ∫ x y dy dx = , (9)
R x=0 y=0 20
Exercise 2
Consider the same lamina R as above and use the density function ρ(x, y) = √−
xy . Find the moments M and M .
−
x y
Answer
81π 81π
Mx = and My =
64 64
Finally we are ready to restate the expressions for the center of mass in terms of integrals. We denote the x-coordinate of the
center of mass by x̄ and the y-coordinate by ȳ . Specifically,
My ∬ xρ(x, y) dA
R
x̄ = = (10)
m ∬ ρ(x, y) dA
R
and
Mx ∬ yρ(x, y) dA
R
ȳ = = (11)
m ∬ ρ(x, y) dA
R
My ∬ xρ(x, y) dA 81/20 6
R
x̄ = = = = , (12)
m ∬ ρ(x, y) dA 27/8 5
R
Mx ∬ yρ(x, y) dA 81/20 6
R
ȳ = = = = . (13)
m ∬ ρ(x, y) dA 27/8 5
R
6 6
Therefore, the center of mass is the point ( , ).
5 5
Analysis
If we choose the density ρ(x, y) instead to be uniform throughout the region (i.e., constant), such as the value 1 (any constant
will do), then we can compute the centroid,
My ∬ x dA 9/2
R
xc = = = = 1, (14)
m ∬ dA 9/2
R
Mx ∬ y dA 9/2
R
yc = = = = 1. (15)
m ∬ dA 9/2
R
6 6
Notice that the center of mass ( , ) is not exactly the same as the centroid (1, 1) of the triangular region. This is due to the
5 5
variable density of R If the density is constant, then we just use ρ(x, y) = c (constant). This value cancels out from the
formulas, so for a constant density, the center of mass coincides with the centroid of the lamina.
4 9/5/2021 https://math.libretexts.org/@go/page/21047
Exercise 3
Again use the same region R as above and use the density function ρ(x, y) = √−
xy . Find the center of mass.
−
Answer
My 81π/64 9 Mx 81π 0
x̄ = = = and ȳ = = = .
m 9π/8 8 m 9π/8 8
Once again, based on the comments at the end of Example 3, we have expressions for the centroid of a region on the plane:
My ∬ x dA Mx ∬ y dA
R R
xc = = and yc = = . (16)
m ∬ dA m ∬ dA
R R
We should use these formulas and verify the centroid of the triangular region referred to in the last three examples.
and x = 2 :
2
2
y=x x=2 2 y=x
y ∣
m =∬ dm = ∬ ρ(x, y) dA = ∫ x =2∫ (x + y)dy dx = ∫ [ xy + ∣ ] dx (17)
R R x=0 y=0 x=0
2 ∣
y=0
x=2 x=2
4 4 5
x x x ∣ 36
3
=∫ [x + ] dx = [ + ]∣ = . (18)
x=0
2 4 10 ∣ 5
x=0
2
x=2 y=x
80
Mx = ∬ yρ(x, y) dA = ∫ ∫ y(x + y) dy dx = , (19)
R x=0 y=0
7
5 9/5/2021 https://math.libretexts.org/@go/page/21047
2
x=2 y=x
176
My = ∬ xρ(x, y) dA = ∫ ∫ x(x + y) dy dx = . (20)
R x=0 y=0
15
My ∬ xρ(x, y) dA 176/15 44
R
x̄ = = = = , (21)
m ∬ ρ(x, y) dA 36/5 27
R
44 100
Hence the center of mass is (x̄, ȳ ) = ( , ) .
27 63
Exercise 4
Calculate the mass, moments, and the center of mass of the region between the curves y = x and y = x with the density 2
Answer
My 1/20 3 Mx 1/24 1
x̄ = = = and ȳ = = =
m 1/12 5 m 1/12 2
Solution
To compute the centroid, we assume that the density function is constant and hence it cancels out:
My ∬ x dA Mx ∬ y dA
R R
xc = = and yc = = , (23)
m ∬ dA m ∬ dA
R R
x
x=3 y=e x=3 x
My ∬ x dA ∫ ∫ x dy dx ∫ x e dx 3 2
R x=1 y=0 x=1 2e 2e
xc = = = x
= = = , (24)
x=3 y=e x=3
m ∬ dA x e3 − e e2 − 1
R ∫ ∫ dy dx ∫ e dx
x=1 y=0 x=1
6 9/5/2021 https://math.libretexts.org/@go/page/21047
2x
x x=3 e 1
x=3 y=e 2 4
∫ ∫ y dy dx ∫ dx e (e − 1)
Mx ∬ y dA x=1 y=0
x=1 1
R 2 4 2
yc = = = = = = e(e + 1). (25)
x=3 y=ex x=3 2
m ∬ dA x e(e − 1) 4
R ∫ ∫ dy dx ∫ e dx
x=1 y=0 x=1
Exercise 5
−
Calculate the centroid of the region between the curves y =x and y = √x with uniform density in the interval
0 ≤ x ≤ 1.
Answer
My 1/15 2 Mx 1/12 1
xc = = = and y c = = =
m 1/6 5 m 1/6 2
Moments of Inertia
For a clear understanding of how to calculate moments of inertia using double integrals, we need to go back to the general
definition in Section 6.6. The moment of inertia of a particle of mass m about an axis is mr where r is the distance of the 2
particle from the axis. We can see from Figure P ageI ndex3 that the moment of inertia of the subrectangle R about the x- ij
axis is (y ) ρ(x , y )ΔA. Similarly, the moment of inertia of the subrectangle R about the y -axis is (x ) ρ(x , y )ΔA.
∗
ij
2 ∗
ij
∗
ij ij
∗
ij
2 ∗
ij
∗
ij
The moment of inertia is related to the rotation of the mass; specifically, it measures the tendency of the mass to resist a
change in rotational motion about an axis.
The moment of inertia I about the x-axis for the region
x R is the limit of the sum of moments of inertia of the regions Rij
∗ 2 ∗ 2 ∗ ∗ 2
Ix = lim ∑ ∑(y ) mij = lim ∑ ∑(y ) ρ(x ,y ) ΔA = ∬ y ρ(x, y) dA. (27)
ij ij ij ij
k,l→∞ k,l→∞
i=1 j=1 i=1 j=1 R
Similarly, the moment of inertia Iy about the y -axis for R is the limit of the sum of moments of inertia of the regions Rij
∗ 2 ∗ 2 ∗ ∗ 2
Iy = lim ∑ ∑(x ) mij = lim ∑ ∑(x ) ρ(x ,y ) ΔA = ∬ x ρ(x, y) dA. (28)
ij ij ij ij
k,l→∞ k,l→∞
i=1 j=1 i=1 j=1 R
Sometimes, we need to find the moment of inertia of an object about the origin, which is known as the polar moment of
inertia. We denote this by I and obtain it by adding the moments of inertia I and I . Hence
0 x y
2 2
I0 = Ix + Iy = ∬ (x + y )ρ(x, y) dA. (29)
R
All these expressions can be written in polar coordinates by substituting x = r cos θ, y = r sin θ , and dA = r dr dθ . For
example, I = ∬ r ρ(r cos θ, r sin θ) dA .
0 R
2
7 9/5/2021 https://math.libretexts.org/@go/page/21047
x=2 y=x
8
2 3
Ix = ∬ y ρ(x, y) dA = ∫ ∫ xy dy dx = , (30)
R x=0 y=0 3
x=2 y=x
2 3
16
Iy = ∬ x ρ(x, y) dA = ∫ ∫ x y dy dx = , (31)
R x=0 y=0 3
2 x
2 2 2 2
I0 = ∬ (x + y )ρ(x, y) dA = ∫ ∫ (x + y )xy dy dx = Ix + Iy = 8 (32)
R 0 0
Exercise 6
Again use the same region R as above and the density function ρ(x, y) = √−
xy . Find the moments of inertia.
−
Answer
x=2 y=x
64
2 −−
Ix = ∫ ∫ y √xy dy dx = (33)
x=0 y=0
35
and
x=2 y=x
64
2 −−
Iy = ∫ ∫ x √xy dy dx = . (34)
x=0 y=0
35
Also,
x=2 y=x
128
2 2 −−
I0 = ∫ ∫ (x + y )√xy dy dx = (35)
x=0 y=0
21
As mentioned earlier, the moment of inertia of a particle of mass m about an axis is mr where r is the distance of the particle 2
respectively. In each case, the radius of gyration tells us how far (perpendicular distance) from the axis of rotation the entire
mass of an object might be concentrated. The moments of an object are useful for finding information on the balance and
torque of the object about an axis, but radii of gyration are used to describe the distribution of mass around its centroidal axis.
There are many applications in engineering and physics. Sometimes it is necessary to find the radius of gyration, as in the next
example.
8 9/5/2021 https://math.libretexts.org/@go/page/21047
Exercise 7
Use the same region R from Example 7 and the density function ρ(x, y) = √−
xy . Find the radii of gyration with respect
−
Hint
Follow the steps shown in the previous example.
Answer
−− −− −−
6 √35 6 √15 4 √42
Rx = , Ry = , and R
0 = .
35 15 7
Definition
If we have a solid object Q with a density function ρ(x, y, z) at any point (x, y, z) in space, then its mass is
m =∭ ρ(x, y, z) dV . (40)
Q
Its moments about the xy-plane the xz-plane and the yz-plane are
Also, if the solid object is homogeneous (with constant density), then the center of mass becomes the centroid of the
solid. Finally, the moments of inertia about the yz-plane, xz-plane, and the xy-plane are
2 2
Ix = ∭ (y + z ) ρ(x, y, z) dV , (43)
Q
2 2
Iy = ∭ (x + z ) ρ(x, y, z) dV , (44)
Q
2 2
Iz = ∭ (x + y ) ρ(x, y, z) dV . (45)
Q
9 9/5/2021 https://math.libretexts.org/@go/page/21047
x=6 y=1/2(6−x) z=1/3(6−x−2y)
108
2
m =∭ ρ(x, y, z) dV = ∫ ∫ ∫ x yz dz dy dx = (46)
Q x=0 y=0 z=0
35
Exercise 8
Consider the same region Q (Figure 7), and use the density function ρ(x, y, z) = x y z. Find the mass. 2
Hint
Follow the steps in the previous example.
Answer
54
= 1.543
35
1 1
x=6 y= (6−x) z= (6−x−2y)
2 3
2 2
81
Mxz = ∭ yρ(x, y, z) dV = ∫ ∫ ∫ x y z dz dy dx = ≈ 2.314, (48)
Q x=0 y=0 z=0
35
1 1
x=6 y= (6−x) z= (6−x−2y)
2 3
3
243
Myz = ∭ xρ(x, y, z) dV = ∫ ∫ ∫ x yz dz dy dx = ≈ 6.943. (49)
Q x=0 y=0 z=0
35
Mxz 81/35 81
ȳ = = = = 0.75, (52)
m 108/35 108
10 9/5/2021 https://math.libretexts.org/@go/page/21047
Mxy 54/35 54
z̄ = = = = 0.5 (53)
m 108/35 108
The center of mass for the tetrahedron Q is the point (2.25, 0.75, 0.5).
Exercise 9
Consider the same region Q (Figure 7) and use the density function ρ(x, y, z) = x y z. Find the center of mass. 2
Hint
27 243 81
Check that M xy = , Mxz = , and M yz = . Then use m from a previous checkpoint question.
35 140 35
Answer
3 9 1
( , , )
2 8 2
2 2
Ix = ∭ (y + z )ρ(x, y, z) dV , (54)
Q
2 2
Iy = ∭ (x + z )ρ(x, y, z) dV , (55)
Q
and
2 2 2
Iz = ∭ (x + y )ρ(x, y, z) dV with ρ(x, y, z) = x yz. (56)
Q
2 2 2
Ix = ∭ (y + z )x ρ(x, y, z) dV
Q
1 1
x=6 y= (6−x) z= (6−x−2y)
2 3
2 2 2
117
=∫ ∫ ∫ (y + z )x yz dz dy dx = ≈ 3.343,
x=0 y=0 z=0
35
2 2 2
Iy = ∭ (x + z )x ρ(x, y, z) dV
Q
1 1
x=6 y= (6−x) z= (6−x−2y)
2 3
2 2 2
684
=∫ ∫ ∫ (x + z )x yz dz dy dx = ≈ 19.543,
x=0 y=0 z=0
35
11 9/5/2021 https://math.libretexts.org/@go/page/21047
2 2 2
Iz = ∭ (x + y )x ρ(x, y, z) dV
Q
1 1
x=6 y= (6−x) z= (6−x−2y)
2 3 729
2 2 2
=∫ ∫ ∫ (x + y )x yz dz dy dx = ≈ 20.829.
x=0 y=0 z=0
35
Thus, the moments of inertia of the tetrahedron Q about the yz -plane, the xz -plane, and the xy -plane are
, and 729/35, respectively.
117/35, 684/35
Exercise 10
Consider the same region Q (Figure 7), and use the density function ρ(x, y, z) = x y z. Find the moments of inertia about 2
Answer
The moments of inertia of the tetrahedron Q about the yz-plane, the xz-plane, and the xy-plane are 99/35, 36/7 and
243/35, respectively.
Key Concepts
Finding the mass, center of mass, moments, and moments of inertia in double integrals:
For a lamina R with a density function ρ(x, y) at any point (x, y) in the plane, the mass is
My Mx
The center of mass is given by x̄ = , ȳ = .
m m
The center of mass becomes the centroid of the plane when the density is constant.
The moments of inertia about the x-axis, y -axis, and the origin are
2 2 2 2
Ix = ∬ y ρ(x, y) dA, Iy = ∬ x ρ(x, y) dA, and I0 = Ix + Iy = ∬ (x + y )ρ(x, y) dA. (59)
R R R
Finding the mass, center of mass, moments, and moments of inertia in triple integrals:
For a solid object Q with a density function ρ(x, y, z) at any point (x, y, z) in space, the mass is
m =∭ ρ(x, y, z) dV . (60)
Q
The moments about the xy-plane, the xz-plane, and the yz-plane are
2 2 2 2 2 2
Ix = ∭ (y + z ) ρ(x, y, z) dV , Iy = ∭ (x + z ) ρ(x, y, z) dV , Iz = ∭ (x + y ) ρ(x, y, z) dV . (62)
Q Q Q
12 9/5/2021 https://math.libretexts.org/@go/page/21047
Key Equations
Mass of a lamina
k l k l
∗ ∗
m = lim ∑ ∑ mij = lim ∑ ∑ ρ(x ,y ) ΔA = ∬ ρ(x, y) dA (63)
ij ij
k,l→∞ k,l→∞
i=1 j=1 i=1 j=1 R
∗ ∗ ∗ ∗
Mx = lim ∑ ∑(y )mij = lim ∑ ∑(y )ρ(x ,y ) ΔA = ∬ yρ(x, y) dA (64)
ij ij ij ij
k,l→∞ k,l→∞
i=1 j=1 i=1 j=1 R
∗ ∗ ∗ ∗
My = lim ∑ ∑(x )mij = lim ∑ ∑(x )ρ(x ,y ) ΔA = ∬ xρ(x, y) dA (65)
ij ij ij ij
k,l→∞ k,l→∞
R
i=1 j=1 i=1 j=1
My ∬ xρ(x, y) dA Mx ∬ yρ(x, y) dA
R R
x̄ = = and ȳ = = (66)
m ∬ ρ(x, y) dA m ∬ ρ(x, y) dA
R R
Glossary
radius of gyration
the distance from an object’s center of mass to its axis of rotation
13 9/5/2021 https://math.libretexts.org/@go/page/21047
Change of Variables in Multiple Integrals (Jacobians)
Learning Objectives
Determine the image of a region under a given transformation of variables.
Compute the Jacobian of a given transformation.
Evaluate a double integral using a change of variables.
Evaluate a triple integral using a change of variables.
Recall from Substitution Rule the method of integration by substitution. When evaluating an integral such as
3
2 5
∫ x(x − 4 ) dx, (1)
2
we substitute u = g(x) = x
2
. Then du = 2x dx or
−4 x dx =
1
2
du and the limits change to u = g(2) = 2
2
−4 = 0 and
u = g(3) = 9 − 4 = 5 . Thus the integral becomes
5
1 5
∫ u du (2)
0
2
and this integral is much simpler to evaluate. In other words, when solving integration problems, we make appropriate
substitutions to obtain an integral that becomes much simpler than the original integral.
We also used this idea when we transformed double integrals in rectangular coordinates to polar coordinates and transformed
triple integrals in rectangular coordinates to cylindrical or spherical coordinates to make the computations simpler. More
generally,
b d
′
∫ f (x)dx = ∫ f (g(u))g (u)du, (3)
a c
Where x = g(u), ′
dx = g (u)du , and u = c and u = d satisfy c = g(a) and d = g(b) .
A similar result occurs in double integrals when we substitute
x = f (r, θ) = r cos θ
, and
y = g(r, θ) = r sin θ
dA = dx dy = r dr dθ .
Then we get
where the domain R is replaced by the domain S in polar coordinates. Generally, the function that we use to change the
variables to make the integration simpler is called a transformation or mapping.
Planar Transformations
A planar transformation T is a function that transforms a region G in one plane into a region R in another plane by a change of
variables. Both G and R are subsets of R . For example, Figure 1 shows a region G in the uv-plane transformed into a region
2
R in the xy-plane by the change of variables x = g(u, v) and y = h(u, v) , or sometimes we write x = x(u, v) and y = y(u, v) .
We shall typically assume that each of these functions has continuous first partial derivatives, which means g , g , h , and h u v u v
exist and are also continuous. The need for this requirement will become clear soon.
1 9/5/2021 https://math.libretexts.org/@go/page/21048
Figure 1: The transformation of a region G in the uv -plane into a region R in the xy-plane.
To show that T s a one-to-one transformation, we assume T (u , v ) = T (u , v ) and show that as a consequence we obtain
1 1 2 2
(u1 , v1 ) = (u2 , v2 ) . If the transformation T is one-to-one in the domain G, then the inverse T exists with the domain R such
−1
that T −1
∘T and T ∘ T −1
are identity functions.
Figure shows the mapping T (u, v) = (x, y) where x and y are related to u and v by the equations x = g(u, v) and
2
y = h(u, v) . The region G is the domain of T and the region R is the range of T , also known as the image of G under the
transformation T .
Solution
Since r varies from 0 to 1 in the rθ-plane, we have a circular disc of radius 0 to 1 in the xy-plane. Because θ varies from 0
to π/2 in the rθ-plane, we end up getting a quarter circle of radius 1 in the first quadrant of the xy-plane (Figure 2). Hence
R is a quarter circle bounded by x + y = 1 in the first quadrant.
2 2
Figure 2: A rectangle in the rθ -plane is mapped into a quarter circle in the xy-plane.
In order to show that T is a one-to-one transformation, assume T (r1 , θ1 ) = T (r2 , θ2 ) and show as a consequence that
(r , θ ) = (r , θ ) . In this case, we have
1 1 2 2
2 9/5/2021 https://math.libretexts.org/@go/page/21048
Dividing, we obtain
r1 cos θ1 r2 cos θ2
= (9)
r1 sin θ1 r2 sin θ2
cos θ1 cos θ2
= (10)
sin θ1 sin θ2
θ1 = θ2 (12)
since the tangent function is one-one function in the interval 0 ≤ θ ≤ π/2 . Also, since 0 ≤ r ≤ 1 , we have
r = r , θ = θ . Therefore, (r , θ ) = (r , θ ) and T is a one-to-one transformation from G to R .
1 2 1 2 1 1 2 2
y
To find T
−1
(x, y) solve for r, θ in terms of x, y. We already know that r
2
=x
2
+y
2
and tan θ =
x
. Thus
−−− −−− y
T
−1
(x, y) = (r, θ) is defined as r = √x + y and tan ( ).
2 2 −1
x
Figure 3: A triangular region in the uv -plane is transformed into an image in the xy-plane.
For the side A : u = 0, 0 ≤ v ≤ 1 transforms to x = −v , y = 0 so this is the side A that joins (−1, 0) and (0, 0).
2 ′
For the side B : u = v, 0 ≤ u ≤ 1 transforms to x = 0, y = u so this is the side B that joins (0, 0) and (0, 1).
2 ′
makes the upper half of the parabolic arc joining (−1, 0) and (0, 1).
All the points in the entire region of the triangle in the uv-plane are mapped inside the parabolic region in the xy-plane.
Exercise 1
Let a transformation T be defined as T (u, v) = (x, y) where x = u + v, y = 3v . Find the image of the rectangle
G = {(u, v) : 0 ≤ u ≤ 1, 0 ≤ v ≤ 2} from the uv -plane after the transformation into a region R in the xy-plane. Show
that T is a one-to-one transformation and find T −1
(x, y).
Hint
Follow the steps of Example 1B.
Answer
3 9/5/2021 https://math.libretexts.org/@go/page/21048
3x−y y
T
−1
(x, y) = (u, v) where u = 3
and v = 3
Jacobians
Recall that we mentioned near the beginning of this section that each of the component functions must have continuous first
partial derivatives, which means that g , g , h and h exist and are also continuous. A transformation that has this property is
u v u v
called a C −1
transformation (here C denotes continuous). Let T (u, v) = (g(u, v), h(u, v)) , where x = g(u, v) and
y = h(u, v) be a one-to-one C transformation. We want to see how it transforms a small rectangular region S, Δu units by
1
Figure 4: A small rectangle S in the uv -plane is transformed into a region R in the xy-plane.
Since x = g(u, v) and y = h(u, v) , we have the position vector r(u, v) = g(u, v)i + h(u, v)j of the image of the point (u, v).
Suppose that (u , v )is the coordinate of the point at the lower left corner that mapped to (x , y ) = T (u , v ) The line v = v
0 0 0 0 0 0 0
maps to the image curve with vector function r(u, v ), and the tangent vector at (x , y ) to the image curve is
0 0 0
∂x ∂y
ru = gu (u0 , v0 )i + hv (u0 , v0 )j = i+ j. (13)
∂u ∂u
Similarly, the line u = u maps to the image curve with vector function r(u
0 0, v) , and the tangent vector at (x 0, y0 ) to the image
curve is
∂x ∂y
rv = gv (u0 , v0 )i + hu (u0 , v0 )j = i+ j. (14)
∂v ∂v
Similarly,
r(u0 , v0 + Δv) − r(u0 , v0 )
rv = lim so r(u0 , v0 + Δv) − r(u0 , v0 ) ≈ Δvrv . (16)
Δv→0 Δv
This allows us to estimate the area ΔA of the image R by finding the area of the parallelogram formed by the sides Δvr and v
Δur . By using the cross product of these two vectors by adding the kth component as 0 , the area ΔA of the image R (refer to
u
The Cross Product) is approximately |Δu r × Δvr | = |r × r |ΔuΔv . In determinant form, the cross product is
u v u v
∣ i j k∣ ∣ ∂x ∂y ∣
∣ ∂y
∣ ∣ ∣ ∂x ∂y ∂x ∂y
∂x ∂u ∂u
ru × rv = ∣ 0∣ =∣ ∣k = ( − )k (17)
∂u ∂u
∂x ∂y ∂u ∂v ∂v ∂u
∣ ∂y
∣ ∣ ∣
∂x
0∣ ∣ ∂v
∣ ∂v ∂v ∂v ∣
Definition: Jacobian
4 9/5/2021 https://math.libretexts.org/@go/page/21048
The Jacobian of the C
1
transformation T (u, v) = (g(u, v), h(u, v)) is denoted by J(u, v) and is defined by the 2 ×2
determinant
∣ ∂x ∂y ∣
∣ ∂(x, y) ∣ ∣ ∣ ∂x ∂y ∂x ∂y
∂u ∂u
J(u, v) = ∣ ∣ =∣ ∣ =( − ). (18)
∣ ∂(u, v) ∣ ∣ ∂x ∂y ∣ ∂u ∂v ∂v ∂u
∣ ∂v ∂v ∣
∣ ∂v ∂v ∣ ∣ ∂u ∂v ∣
∂(x,y)
Hence the notation J(u, v) =
∂(u,v)
suggests that we can write the Jacobian determinant with partials of x in the first row and
partials of y in the second row.
∂(x, y) ∣ ∣ ∣ cos θ
∂r ∂θ −r sin θ ∣ 2 2 2 2
J(r, θ) = =∣ ∣ =∣ ∣ = r cos θ + r sin θ = r(cos θ + sin θ) = r.
∂(r, θ) ∣ ∂y ∂y ∣ ∣ sin θ r cos θ ∣
∣ ∣
∂r ∂θ
∂(x, y) ∣ ∣
∣ 2u
∂u ∂v −2v ∣ 2 2
J(u, v) = =∣ ∣ =∣ ∣ = 2u + 2v .
∂(u, v) ∣ ∂y ∂y ∣ ∣ v u ∣
∣ ∂u ∂v ∣
Exercise 2
Find the Jacobian of the transformation given in the previous checkpoint: T (u, v) = (u + v, 2v) .
Hint
5 9/5/2021 https://math.libretexts.org/@go/page/21048
Follow the steps in the previous two examples.
Answer
∣ ∂x ∂x ∣
∂(x, y) ∣ ∣ ∣1
∂u ∂v 1∣
J(u, v) = =∣ ∣ =∣ ∣ =2
∂(u, v) ∂y ∂y ∣0 2∣
∣ ∣
∣ ∂u ∂v ∣
Referring to Figure 5, observe that we divided the region S in the uv-plane into small subrectangles Sij and we let the
subrectangles R in the xy-plane be the images of S under the transformation T (u, v) = (x, y) .
ij ij
Figure 5: The subrectangles S in the uv -plane transform into subrectangles R in the xy-plane.
ij ij
∬ = f (x, y)dA = lim ∑ ∑ f (xij , yij )ΔA = lim ∑ ∑ f (g(uij , vij ), h(uij , vij ))|J(uij , vij )|ΔuΔv. (23)
m,n→∞ m,n→∞
R
i=1 j=1 i=1 j=1
Notice this is exactly the double Riemann sum for the integral
∣ ∂(x, y) ∣
∬ f (g(u, v), h(u, v)) ∣ ∣ du dv. (24)
S ∣ ∂(u, v) ∣
the interior of the region S in the uv-plane it maps S into the region R in the xy-plane. If f is continuous on R , then
∣ ∂(x, y) ∣
∬ f (x, y)dA = ∬ f (g(u, v), h(u, v)) ∣ ∣ du dv. (25)
R S ∣ ∂(u, v) ∣
With this theorem for double integrals, we can change the variables from (x, y) to (u, v) in a double integral simply by replacing
6 9/5/2021 https://math.libretexts.org/@go/page/21048
∣ ∂(x, y) ∣
dA = dx dy = ∣ ∣ du dv (26)
∣ ∂(u, v) ∣
when we use the substitutions x = g(u, v) and y = h(u, v) and then change the limits of integration accordingly. This change of
variables often makes any computations much simpler.
Use the change of variables x = r cos θ and y = r sin θ , and find the resulting integral.
Solution
−−−−− −
First we need to find the region of integration. This region is bounded below by y =0 and above by y = √2x − x
2
(Figure 6).
y + (x − 1 ) = 1 . In polar coordinates, the circle is r = 2 cos θ so the region of integration in polar coordinates is
2 2
The Jacobian is J(r, θ) = r , as shown in Example 2A. Since r ≥ 0 , we have |J(r, θ)| = r .
−−−−−−
The integrand √x 2
+y
2
changes to r in polar coordinates, so the double iterated integral is
2 √2x−x2 −−−−−− π/2 2 cos θ π/2 2 cos θ
2 2 2
∫ ∫ √x +y dy dx = ∫ ∫ r|j(r, θ)|dr dθ = ∫ ∫ r dr dθ. (28)
0 0 0 0 0 0
Exercise 3
1 √1−x2
Considering the integral ∫ 0
∫
0
2
(x
2
+ y )dy dx, use the change of variables x = r cos θ and y = r sin θ and find the
resulting integral.
Hint
Follow the steps in the previous example.
Answer
π/2 1
3
∫ ∫ r dr dθ (29)
0 0
Notice in the next example that the region over which we are to integrate may suggest a suitable transformation for the
integration. This is a common and important situation.
7 9/5/2021 https://math.libretexts.org/@go/page/21048
Example 4 : Changing Variables
Consider the integral
where R is the parallelogram joining the points (1, 2), (3, 4), (4, 3) , and (6, 5) (Figure 7). Make appropriate changes of
variables, and write the resulting integral.
3
(x + 5) , and y = 1
3
(x + 9) .
Notice that if we were to make u = x −y and v = x − 3y , then the limits on the integral would be −1 ≤ u ≤ 1 and
−9 ≤ v ≤ −5 .
To solve for x and , we multiply the first equation by 3 and subtract the second equation,
y
3u−v
3u − v = (3x − 3y) − (x − 3y) = 2x . Then we have x = . Moreover, if we simply subtract the second equation
2
8 9/5/2021 https://math.libretexts.org/@go/page/21048
∣ ∂x ∂x ∣
∣ ∂u ∂v ∣
2
. Also, the original integrand becomes
1 1 1
x −y = [3u − v − u + v] = [3u − u] = [2u] = u.
2 2 2
Exercise 4
Make appropriate changes of variables in the integral
4
∬ dy dx,
2
R (x − y)
where R is the trapezoid bounded by the lines x − y = 2, x − y = 4, x = 0 , and y = 0 . Write the resulting integral.
Hint
Follow the steps in the previous example.
Answer
x =
1
2
(v + u) and y = 1
2
(v − u)
and
4 u
1 4
∫ ∫ ( )⋅ dv du.
2
2 −u 2 u
In the next example, we find a substitution that makes the integrand much simpler to compute.
9 9/5/2021 https://math.libretexts.org/@go/page/21048
where R is the region bounded by the lines x + y = 1 and x + y = 3 and the curves x 2
−y
2
= −1 and x
2
−y
2
=1 (see
the first region in Figure 9).
Solution
As before, first find the region R and picture the transformation so it becomes easier to obtain the limits of integration after
the transformations are made (Figure 9).
Figure 9: Transforming the region R into the region S to simplify the computation of an integral.
Given u = x −y and v = x + y , we have x = and y = and hence the transformation to use is
u+v
2
v−u
x
2
−y
2
=1 and x 2
− y = −1 become uv = 1 and uv = −1 , respectively.
2
Thus we can describe the region S (see the second region Figure 9) as
−1 1
S = {(u, v)|1 ≤ v ≤ 3, ≤u ≤ }.
v v
∣ ∂u ∂v ∣
Exercise 5
−−−−
Using the substitutions x =v and y = √u + v , evaluate the integral ∬ y sin(y
2
− x) dA, where R is the region
R
−
bounded by the lines y = √x, x =2 and y = 0 .
Hint
Sketch a picture and find the limits of integration.
Answer
1
(sin 2 − 2)
2
10 9/5/2021 https://math.libretexts.org/@go/page/21048
Change of Variables for Triple Integrals
Changing variables in triple integrals works in exactly the same way. Cylindrical and spherical coordinate substitutions are
special cases of this method, which we demonstrate here.
Suppose that Gis a region in uvw-space and is mapped to D in xyz-space (Figure ) by a one-to-one
10 C
1
transformation
T (u, v, w) = (x, y, z) where x = g(u, v, w), y = h(u, v, w) , and z = k(u, v, w) .
F (x, y, z) = F (g(u, v, w), h(u, v, w), k(u, v, w)) = H (u, v, w). (33)
∣ ∂w ∂w ∂w ∣
∂(x,y,z)
The Jacobian can also be simply denoted as ∂(u,v,w)
.
With the transformations and the Jacobian for three variables, we are ready to establish the theorem that describes change of
variables for triple integrals.
with a nonzero Jacobian, that maps the region G in the uvw-space into the region D in the xyz-space. As in the two-
dimensional case, if F is continuous on D, then
11 9/5/2021 https://math.libretexts.org/@go/page/21048
∣ ∂(x, y, z) ∣
∭ F (x, y, z)dV = ∭ f (g(u, v, w) h(u, v, w), k(u, v, w)) ∣ ∣ du dv dw (36)
R G ∣ ∂(u, v, w) ∣
Let us now see how changes in triple integrals for cylindrical and spherical coordinates are affected by this theorem. We expect
to obtain the same formulas as in Triple Integrals in Cylindrical and Spherical Coordinates.
Example 6A: Obtaining Formulas in Triple Integrals for Cylindrical and Spherical Coordinates
Derive the formula in triple integrals for
a. cylindrical and
b. spherical coordinates.
Solution
A.
For cylindrical coordinates, the transformation is T (r, θ, z) = (x, y, z) from the Cartesian rθz -space to the Cartesian xyz-
space (Figure 11). Here x = r cos θ, y = r sin θ and z = z . The Jacobian for the transformation is
∂x ∂x ∂x
∣ ∣
∂r ∂θ ∂z
∣ ∣
∂(x, y, z)
∣ ∂y ∂y ∂y ∣
J(r, θ, z) = = (38)
∣ ∂r ∂θ ∂z ∣
∂(r, θ, z)
∣ ∂z ∂z ∂z ∣
∣ ∣
∂r ∂θ ∂z
∣ cos θ −r sin θ 0∣
∣ ∣ 2 2
sin θ r cos θ 0 = r cos θ + r sin θ = r. (39)
∣ ∣
∣ 0 0 1∣
Figure 11: The transformation from rectangular coordinates to cylindrical coordinates can be treated as a change of
variables from region G in rθz -space to region D in xyz-space.
B.
For spherical coordinates, the transformation is T (ρ, θ, φ) from the Cartesian ρθφ-space to the Cartesian xyz-space (Figure
12). Here x = ρ sin φ cos θ, y = ρ sin φ sin θ , and z = ρ cos φ . The Jacobian for the transformation is
12 9/5/2021 https://math.libretexts.org/@go/page/21048
∂x ∂x ∂x
∣ ∣
∂ρ ∂θ ∂φ ∣ sin φ cos θ
∣ ∣ −ρ sin φ sin θ ρ cos φ cos θ ∣
∂(x, y, z) ∣ ∂y ∂y ∂y ∣ ∣ ∣
J(ρ, θ, φ) = = = sin φ sin θ ρ sin φ cos θ ρ cos φ sin θ . (41)
∣ ∂ρ ∂θ ∂φ ∣ ∣ ∣
∂(ρ, θ, φ)
∣ ∂z ∂z ∂z ∣ ∣ cos φ 0 −ρ sin φ ∣
∣ ∂ρ ∂θ ∂φ ∣
2 2 2 2
= cos φ(−ρ sin φ cos φ sin θ−ρ sin φ cos φ cos θ)
2 2 2 2
− ρ sin φ(ρ sin φ cos θ + ρ sin φ sin θ)
2 2 2 2 2 2 2 2
= −ρ sin φ cos φ(sin θ + cos θ) − ρ sin φ sin φ(sin θ + cos θ)
2 2 2 2
= −ρ sin φ cos φ −ρ sin φ sin φ
2 2 2
= −ρ sin φ(cos φ + sin φ) = −ρ sin φ.
Figure 12: The transformation from rectangular coordinates to spherical coordinates can be treated as a change of variables
from region G in ρθφ-space to region D in xyz-space.
Then the triple integral becomes
2
∭ f (x, y, z)dV = ∭ f (ρ sin φ cos θ, ρ sin φ sin θ, ρ cos φ)ρ sin φ dρ dφ dθ. (42)
D G
13 9/5/2021 https://math.libretexts.org/@go/page/21048
As before, some kind of sketch of the region G in xyz-space over which we have to perform the integration can help
identify the region D in uvw-space (Figure 13). Clearly G in xyz-space is bounded by the planes
x = y/2, x = (y/2) + 1, y = 0, y = 4, z = 0 , and z = 4 . We also know that we have to use u = (2x − y)/2, v = y/2 ,
and w = z/3 for the transformations. We need to solve for x, y and z . Here we find that x = u + v, y = 2v , and z = 3w .
x = y/2 u + v = 2v/2 = v u = 0
x = y/2 u + v = (2v/2) + 1 = v + 1 u = 1
y = 0 2v = 0 v = 0
y = 4 2v = 4 v = 2
z = 0 3w = 0 w = 0
z = 3 3w = 3 w = 1
∣ ∂u ∂v ∂w ∣
We are now ready to put everything together and complete the problem.
14 9/5/2021 https://math.libretexts.org/@go/page/21048
3 4 (y/2)+1 1 2 1
z
∫ ∫ ∫ (x + ) dx dy dz =∫ ∫ ∫ (u + v + w)|J(u, v, w)|du dv dw
0 0 y/2
3 0 0 0
1 2 1
=∫ ∫ ∫ (u + v + w)|6|du dv dw
0 0 0
1 2 1
=6∫ ∫ ∫ (u + v + w) du dv dw
0 0 0
1 2 2 1
u
=6∫ ∫ [ + vu + wu] dv dw
0 0
2
0
1 2
1
=6∫ ∫ ( + v + u) dv dw
0 0 2
1 2 2
1 v
=6∫ [ v+ + wv] dw
0
2 2
0
1
1
2
=6∫ (3 + 2w) dw = 6[3w + w ] = 24.
0 0
Exercise 6
Let D be the region in xyz-space defined by 1 ≤ x ≤ 2, 0 ≤ xy ≤ 2 , and 0 ≤ z ≤ 1 .
Evaluate ∭ D
2
(x y + 3xyz) dx dy dz by using the transformation u = x, v = xy , and w = 3z .
Hint
Make a table for each surface of the regions and decide on the limits, as shown in the example.
Answer
3 2 2
v vw
∫ ∫ ∫ ( + ) du dv dw = 2 + ln 8 (45)
0 0 1
3 3u
Key Concepts
A transformation T is a function that transforms a region G in one plane (space) into a region R . in another plane (space) by
a change of variables.
A transformation T : G → R defined as T (u, v) = (x, y) (or T (u, v, w) = (x, y, z)) is said to be a one-to-one
transformation if no two points map to the same image point.
If f is continuous on R , then
∣ ∂(x, y) ∣
∬ f (x, y)dA = ∬ f (g(u, v), h(u, v)) ∣ ∣ du dv. (46)
R S
∣ ∂(u, v) ∣
If F is continuous on R , then
∣ ∂(x, y, z) ∣
∭ F (x, y, z) dV =∭ F (g(u, v, w), h(u, v, w), k(u, v, w) ∣ ∣ du dv dw.
R G ∣ ∂(u, v, w) ∣
n y n
[T] Lamé ovals (or superellipses) are plane curves of equations ( x
a
) +(
b
) =1 , where a, b, and n are positive real numbers.
a. Use a CAS to graph the regions R bounded by Lamé ovals for a = 1, b = 2, n = 4 and n = 6 respectively.
b. Find the transformations that map the region R bounded by the Lamé oval x 4
+y
4
=1 also called a squircle and graphed in
the following figure, into the unit disk.
15 9/5/2021 https://math.libretexts.org/@go/page/21048
c. Use a CAS to find an approximation of the area A(R) of the region R bounded by x
4
+y
4
=1 . Round your answer to two
decimal places.
[T] Lamé ovals have been consistently used by designers and architects. For instance, Gerald Robinson, a Canadian architect,
has designed a parking garage in a shopping center in Peterborough, Ontario, in the shape of a superellipse of the equation
n y n
) + ( ) = 1 with and n = e . Use a CAS to find an approximation of the area of the parking garage in the case
x a 9
( =
a b b 7
[Hide Solution]
A(R) ≃ 83, 999.2
Fubini’s theorem can be extended to three dimensions, as long as f is continuous in all variables.
[Hide solution]
True.
The integral
2π 1 1
∫ ∫ ∫ dz dr dθ (48)
0 0 0
3 2 2
∬ (5 x y − y ) dA, R = {(x, y)|0 ≤ x ≤ 2, 1 ≤ y ≤ 4} (49)
R
y
∬ dA, D = {(x, y)|0 ≤ x ≤ 1, −x ≤ y ≤ x} (50)
2
D 3x +1
[Hide Solution]
0
16 9/5/2021 https://math.libretexts.org/@go/page/21048
2 2
∬ sin(x + y )dA (51)
D
[Hide Solution]
1
1 z x−z
∫ ∫ ∫ 6dy dx dz (53)
−1 0 0
∭ 3y dV , (54)
R
−−−− −
where R = {(x, y, z)|0 ≤ x ≤ 1, 2
0 ≤ y ≤ x, 0 ≤ z ≤ √9 − y }
[Hide Solution]
1.475
2 2π 1
∫ ∫ ∫ r dz dθ dr (55)
0 0 r
2π π/2 3
2
∫ ∫ ∫ ρ sin(φ)dρ dφ, dθ (56)
0 0 1
[Hide Solution]
52
π
3
1 √1−x2 √1−x −y
2 2
∫ ∫ ∫ dz dy sx (57)
0 −√1−x2 −√1−x2 −y 2
16
The volume of the intersection between two spheres of radius 1, the top whose center is (0, 0, 0.25) and the bottom, which is
centered at (0, 0, 0).
For the following problems, find the center of mass of the region.
ρ(x, y) = xy on the circle with radius 1 in the first quadrant only.
[Hide Solution]
8 8
( , )
15 15
−
ρ(x, y) = (y + 1)√x in the region bounded by y = e x
, y =0 , and x = 1 .
ρ(x, y, z) = z on the inverted cone with radius 2 and height 2.
17 9/5/2021 https://math.libretexts.org/@go/page/21048
8
(0, 0, )
5
−−− −−−−−
The volume an ice cream cone that is given by the solid above z = √(x 2
+ y2 ) and below z 2
+x
2
+y
2
=z .
The following problems examine Mount Holly in the state of Michigan. Mount Holly is a landfill that was converted into a
ski resort. The shape of Mount Holly can be approximated by a right circular cone of height 1100 ft and radius 6000 ft.
If the compacted trash used to build Mount Holly on average has a density 400 lb/f t , find the amount of work required to
3
The following problems consider the temperature and density of Earth’s layers.
[T] The temperature of Earth’s layers is exhibited in the table below. Use your calculator to fit a polynomial of degree 3 to
the temperature along the radius of the Earth. Then find the average temperature of Earth. (Hint: begin at 0 in the inner core
and increase outward toward the surface)
Rocky Crust 0 to 40 0
Source: http://www.enchantedlearning.com/sub...h/Inside.shtml
[Hide Solution]
y = −1.238 × 10
−7 3
x + 0.001196 x
2
− 3.666x + 7208 ; average temperature approximately 2800 o
C
[T] The density of Earth’s layers is displayed in the table below. Using your calculator or a computer program, find the best-
fit quadratic equation to the density. Using this equation, find the total mass of Earth.
Source: http://hyperphysics.phy-astr.gsu.edu...rthstruct.html
The following problems concern the Theorem of Pappus (see Moments and Centers of Mass for a refresher), a method for
calculating volume using centroids. Assuming a region R , when you revolve around the x-axis the volume is given by
V = 2πAȳ , and when you revolve around the y -axis the volume is given by V = 2πAx̄ , where A is the area of R .
x y
Find the volume when you revolve the region around the x-axis.
[Hide Solution]
18 9/5/2021 https://math.libretexts.org/@go/page/21048
π
Find the volume when you revolve the region around the y -axis.
Glossary
Jacobian
the Jacobian J(u, v) in two variables is a 2 × 2 determinant:
∂x ∂y
∣ ∣
∣ ∂u ∂u ∣
J(u, v) = ;
∣ ∂x ∂y ∣
∣ ∂v ∂v
∣
one-to-one transformation
a transformation T : G → R defined as T (u, v) = (x, y) is said to be one-to-one if no two points map to the same image
point
planar transformation
a function T that transforms a region G in one plane into a region R in another plane by a change of variables
transformation
a function that transforms a region GG in one plane into a region RR in another plane by a change of variables
19 9/5/2021 https://math.libretexts.org/@go/page/21048
Double Integrals Over General Regions
Learning Objectives
Recognize when a function of two variables is integrable over a general region.
Evaluate a double integral by computing an iterated integral over a region bounded by two vertical lines and two functions of x, or two horizontal lines and two
functions of y .
Simplify the calculation of an iterated integral by changing the order of integration.
Use double integrals to calculate the volume of a region between two surfaces or the area of a plane region.
Solve problems involving double improper integrals.
Previously, we studied the concept of double integrals and examined the tools needed to compute them. We learned techniques and properties to integrate functions of
two variables over rectangular regions. We also discussed several applications, such as finding the volume bounded above by a function over a rectangular region, finding
area by integration, and calculating the average value of a function of two variables.
In this section we consider double integrals of functions defined over a general bounded region D on the plane. Most of the previous results hold in this situation as well,
but some techniques need to be extended to cover this more general case.
Figure 1: For a region D that is a subset of R , we can define a function g(x, y) to equal f (x, y) at every point in D and 0 at every point of R not in D .
Suppose z = f (x, y) is defined on a general planar bounded region D as in Figure 1. In order to develop double integrals of f over D we extend the definition of the
function to include all points on the rectangular region R and then use the concepts and tools from the preceding section. But how do we extend the definition of f to
include all the points on R ? We do this by defining a new function g(x, y) on R as follows:
Note that we might have some technical difficulties if the boundary of D is complicated. So we assume the boundary to be a piecewise smooth and continuous simple
closed curve. Also, since all the results developed in the section on Double Integrals over Rectangular Regions used an integrable function f (x, y) we must be careful
about g(x, y) and verify that g(x, y) is an integrable function over the rectangular region R . This happens as long as the region D is bounded by simple closed curves.
For now we will concentrate on the descriptions of the regions rather than the function and extend our theory appropriately for integration.
We consider two types of planar bounded regions.
A region D in the xy-plane is of Type II if it lies between two horizontal lines and the graphs of two continuous functions h 1 (y) and h 2 (y) . That is (Figure 3),
Figure 2. A Type I region lies between two vertical lines and the graphs of two functions of x .
1 9/5/2021 https://math.libretexts.org/@go/page/21038
Figure 3: A Type II region lies between two horizontal lines and the graphs of two functions of y .
However, when describing a region as Type II, we need to identify the function that lies on the left of the region and the function that lies on the right of the region.
Here, the region D is bounded on the left by x = y and on the right by x = √y in the interval for y in [0, 1]. Hence, as Type II, D is described as the set
2 3
{(x, y) | 0 ≤ y ≤ 1, y ≤ x ≤ √y} .
2 3
Exercise 1
Consider the region in the first quadrant between the functions y = 2x and y = x . Describe the region first as Type I and then as Type II..
2
Hint
Graph the functions, and draw vertical and horizontal lines.
Answer
Type I and Type II are expressed as {(x, y) | 0 ≤ x ≤ 2, x 2
≤ y ≤ 2x} and {(x, y)| 0 ≤ y ≤ 4, 1
2
y ≤ x ≤ √y} , respectively.
D R
The right-hand side of this equation is what we have seen before, so this theorem is reasonable because R is a rectangle and ∬ g(x, y)dA has been discussed in the
R
preceding section. Also, the equality works because the values of g(x, y) are 0 for any point (x, y) that lies outside D and hence these points do not add anything to the
integral. However, it is important that the rectangle R contains the region D.
As a matter of fact, if the region D is bounded by smooth curves on a plane and we are able to describe it as Type I or Type II or a mix of both, then we can use the
following theorem and not have to find a rectangle R containing the region.
Similarly, for a function f (x, y) that is continuous on a region D of Type II, we have
2 9/5/2021 https://math.libretexts.org/@go/page/21038
d h2 (y)
The integral in each of these expressions is an iterated integral, similar to those we have seen before. Notice that, in the inner integral in the first expression, we integrate
f (x, y) with x being held constant and the limits of integration being g (x) and g (x). In the inner integral in the second expression, we integrate f (x, y) with y being
1 2
held constant and the limits of integration are h (x) and h (x). 1 2
Solution
First construct the region as a Type I region (Figure 5). Here D = {(x, y) | 0 ≤ x ≤ 2, 1
2
x ≤ y ≤ 1} . Then we have
x=2 y=1
2 xy 2 xy
∬ x e dA = ∫ ∫ x e dy dx.
x=0 y=1/2x
D
2
x to y = 1 between the lines x = 0 and x = 2 .
Therefore, we have
x=2 y=1 x=2 y=1
2 xy 2 xy
∫ ∫ x e dy dx = ∫ [∫ x e dy] dx Iterated integral for a Type I region.
1 1
x=0 y= x x=0 y= x
2 2
x=2 xy y=1
e ∣
2
=∫ [x ]∣ dx Integrate with respect to y
x=0
x ∣
y=1/2x
x=2
2
x x /2
=∫ [x e − xe ] dx Integrate with respect to x
x=0
1 2 x=2
x x x ∣
= [x e −e −e 2 ] = 2.
∣
x=0
In Example 2, we could have looked at the region in another way, such as D = {(x, y) | 0 ≤ y ≤ 1, 0 ≤ x ≤ 2y} (Figure 6).
Figure 6.
This is a Type II region and the integral would then look like
y=1 x=2y
2 xy 2 xy
∬ x e dA = ∫ ∫ x e dx dy. (7)
y=0 x=0
D
However, if we integrate first with respect to x this integral is lengthy to compute because we have to use integration by parts twice.
2 2
∬ (3 x + y ) dA
where D = {(x, y) | − 2 ≤ y ≤ 3, y
2
− 3 ≤ x ≤ y + 3} .
Solution
Notice that D can be seen as either a Type I or a Type II region, as shown in Figure 7. However, in this case describing D as Type I is more complicated than
describing it as Type II. Therefore, we use D as a Type II region for the integration.
3 9/5/2021 https://math.libretexts.org/@go/page/21038
Figure 7: The region D in this example can be either (a) Type I or (b) Type II.
Choosing this order of integration, we have
y=3 x=y+3
2 2 2 2
∬ (3 x + y ) dA = ∫ ∫ (3 x + y ) dx dy
2
y=−2 x=y −3
D
y=3
y+3
3 2
=∫ (x + x y )∣
∣ 2
dy Iterated integral, Type II region
y −3
y=−2
y=3
3 2 2 2
=∫ ((y + 3 ) + (y + 3)y − (y − 3)y ) dy
y=−2
3
2 3 4 6
=∫ (54 + 27y − 12 y + 2y + 8y − y ) dy Integrate with respect to x.
−2
3
2 4 5 7
27y y 8y y
3
= [54y + − 4y + + − ]
2 2 5 7
−2
2375
= .
7
Exercise 2
Sketch the region D and evaluate the iterated integral
∬ xy dy dx (8)
where D is the region bounded by the curves y = cos x and y = sin x in the interval [−3π/4, π/4].
Hint
Express D as a Type I region, and integrate with respect to y first.
Answer
π
Recall from Double Integrals over Rectangular Regions the properties of double integrals. As we have seen from the examples here, all these properties are also valid for
a function defined on a non-rectangular bounded region on a plane. In particular, property 3 states:
If R = S ∪ T and S ∩ T =0 except at their boundaries, then
Similarly, we have the following property of double integrals over a non-rectangular bounded region on a plane.
D D1 D2
This theorem is particularly useful for non-rectangular regions because it allows us to split a region into a union of regions of Type I and Type II. Then we can compute
the double integral on each piece in a convenient way, as in the next example.
4 9/5/2021 https://math.libretexts.org/@go/page/21038
Figure 8: This region can be decomposed into a union of three regions of Type I or Type II.
Solution
The region D is not easy to decompose into any one type; it is actually a combination of different types. So we can write it as a union of three regions D , D , and 1 2
D 3 where, D = {(x, y) | − 2 ≤ x ≤ 0, 0 ≤ y ≤ (x + 2 ) } ,
1
2
D = {(x, y) | 0 ≤ y ≤ 4, 0 ≤ x ≤ (y − y )} ,
2 and 1
16
3
D = {(x, y) | − 4 ≤ y ≤ 0, − 2 ≤ x ≤ (y −
3 y )} . These regions are illustrated more clearly in Figure 9.
1
16
3
Figure 9: Breaking the region into three subregions makes it easier to set up the integration.
Here D is Type I and D and D are both of Type II. Hence,
1 2 3
D D1 D2 D3
2 3 3
x=0 y=(x+2) y=4 x=y−(1/16)y y=0 x=y−(1/16)y
x=0 y=4
1 2 2
1 6
7 4 2
=∫ [ (2 + x ) (20 + 24x + 5 x )] dx + ∫ [ y − y + 6 y ] dy +
x=−2
2 y=0
256 16
y=0
1 6
7 4 2
∫ [ y − y + 6y + 10y − 4] dy
y=−4
256 16
Now we could redo this example using a union of two Type II regions (see the Checkpoint).
Exercise 3
Consider the region bounded by the curves y = ln x and y = e in the interval [1, 2]. Decompose the region into smaller regions of Type II.
x
Hint
Sketch the region, and split it into three regions to set it up.
Answer
y 2
{(x, y) | 0 ≤ y ≤ 1, 1 ≤ x ≤ e } ∪ {(x, y) | 1 ≤ y ≤ e, 1 ≤ x ≤ 2} ∪ {(x, y) | e ≤ y ≤ e , ln y ≤ x ≤ 2}
Exercise 4
Redo Example 4 using a union of two Type II regions.
Hint
1 1
3 13
{(x, y) | 0 ≤ y ≤ 4, 2 + √y ≤ x ≤ (y − y )} ∪ {(x, y) | − 4 ≤ y ≤ 0, − 2 ≤ x ≤ (y − y )}
16 16
Answer
Same as in the example shown.
5 9/5/2021 https://math.libretexts.org/@go/page/21038
Example 5 : Changing the Order of Integration
Reverse the order of integration in the iterated integral
2
x=√2 y=2−x
2
x
∫ ∫ xe dy dx.
x=0 y=0
−−−−
order, we have the region bounded on the left by x = 0 and on the right by x = √2 − y where y is in the interval [0, 2]. We solved y = 2 − x in terms of x to 2
−−− −
obtain x = √2 − y .
Hence
2
√2 2−x 2 √2−y
2 2
x x
∫ ∫ xe dy dx = ∫ ∫ xe dx dy Reverse the order of integration then use substitution.
0 0 0 0
2 √2−y 2
1 2
x ∣ 1 2−y
=∫ [ e ∣ ] dy = ∫ (e − 1) dy
2 ∣0 2
0 0
2
1 ∣ 1
2−y 2
=− (e + y)∣ = (e − 3).
2 ∣ 2
0
where z = f (x, y) = x − 2y over a triangular region R that has sides on x = 0, y = 0 , and the line x +y = 1 . Sketch the region, and then evaluate the iterated
integral by
a. integrating first with respect to y and then
b. integrating first with respect to x.
Solution
A sketch of the region appears in Figure 11.
2 2
3 2
2 3
1
∫ [x(1 − x) − (1 − x ) ] dx = ∫ [−1 + 3x − 2 x ]dx = [−x + x − x ] =− .
x=0 x=0
2 3 6
x=0
b. The other way to do this problem is by first integrating x from x = 0 to x = 1 − y horizontally and then integrating y from y = 0 to y = 1 :
6 9/5/2021 https://math.libretexts.org/@go/page/21038
y=3 x=y+3
2 2 2 2
∬ (3 x + y ) dA = ∫ ∫ (3 x + y ) dx dy
y=−2 x=y 2 −3
D
y=3
3 2 y+3
=∫ (x + x y )∣
∣ 2
dy Iterated integral, Type II region
y −3
y=−2
y=3
3 2 2 2
=∫ ((y + 3 ) + (y + 3)y − (y − 3)y ) dy
y=−2
3
2 3 4 6
=∫ (54 + 27y − 12 y + 2y + 8y − y ) dy Integrate with respect to x.
−2
2 4 5 7 3
27y y 8y y
3
= [54y + − 4y + + − ]
2 2 5 7
−2
2375
= .
7
Exercise 5
Evaluate the iterated integral ∬ (x
2
+ y ) dA
2
over the region D in the first quadrant between the functions y = 2x and y =x
2
. Evaluate the iterated integral by
D
integrating first with respect to y and then integrating first with resect to x.
Hint
Sketch the region and follow Example 6.
Answer
216
35
Figure 12: A tetrahedron consisting of the three coordinate planes and the plane z = 6 − 2x − 3y , with the base bound by x = 0, y = 0 , and 2x + 3y = 6 .
First, consider D as a Type I region, and hence D = {(x, y) | 0 ≤ x ≤ 3, 0 ≤ y ≤ 2 − 2
3
x} .
Therefore, the volume is
x=3 y=2−(2x/3) x=3 y=2−(2x/3)
3 ∣
2
V =∫ ∫ (6 − 2x − 3y) dy dx = ∫ [ (6y − 2xy − y )∣ ] dx
x=0 y=0 x=0
2 ∣
y=0
x=3
2
2
=∫ [ (x − 3 ) ] dx = 6.
x=0 3
2
y} . In this calculation, the volume is
y=2 x=3−(3y/2) y=2
x=3−(3y/2)
2
V =∫ ∫ (6 − 2x − 3y) dx dy = ∫ [ (6x − x − 3xy)∣
∣ ] dy
x=0
y=0 x=0 y=0
y=2
9
2
=∫ [ (y − 2 ) ] dy = 6.
y=0
4
7 9/5/2021 https://math.libretexts.org/@go/page/21038
Exercise 6
Find the volume of the solid bounded above by f (x, y) = 10 − 2x + y over the region enclosed by the curves y = 0 and y = e where x is in the interval [0, 1].
x
Hint
Sketch the region, and describe it as Type I.
Answer
2
e
4
+ 10e −
49
4
cubic units
Finding the area of a rectangular region is easy, but finding the area of a non-rectangular region is not so easy. As we have seen, we can use double integrals to find a
rectangular area. As a matter of fact, this comes in very handy for finding the area of a general non-rectangular region, as stated in the next definition.
∬ 1 dA. (12)
We have already seen how to find areas in terms of single integration. Here we are seeing another way of finding areas by using double integrals, which can be very
useful, as we will see in the later sections of this chapter.
Solution
x=2 y=2x y=4 x=√y
We just have to integrate the constant function f (x, y) = 1 over the region. Thus, the area A of the bounded region is ∫ x=0
∫
y=x
2
dy dx or ∫
y=0
∫
x=y/2
dx dy :
A =∬ 1 dx dy
x=2 y=2x
=∫ ∫ 1 dy dx
2
x=0 y=x
x=2
y=2x
=∫ [y| 2
] dx
y=x
x=0
x=2
2
=∫ (2x − x ) dx
x=0
2
3
x ∣ 4
2
= x − ∣ = .
3 ∣ 3
0
Exercise 7
Find the area of a region bounded above by the curve y = x and below by y = 0 over the interval [0, 3].
3
Hint
Sketch the region.
Answer
81
4
square units
We can also use a double integral to find the average value of a function over a general region. The definition is a direct extension of the earlier formula.
Definition
If f (x, y) is integrable over a plane-bounded region D with positive area A(D), then the average value of the function is
8 9/5/2021 https://math.libretexts.org/@go/page/21038
1
fave = ∬ f (x, y) dA. (13)
A(D)
D
Then the average value of the given function over this region is
y=1 x=√y y=1 x=√y
1 1 1 7 ∣
2 2 2
fave = ∬ f (x, y) dA = ∫ ∫ 7x y dx dy = ∫ [ x y ∣ ] dy
A(D) A(D) 1/6 2 ∣
y=0 x=y y=0 x=y
D
y=1 y=1 1
4 5
7 7 42 y y ∣ 42 21
2 2 3 4
=6∫ [ y (y − y )] dy = 6 ∫ [ (y − y )] dy = ( − )∣ = = .
y=0 2 y=0 2 2 4 5 ∣ 40 20
0
Exercise 8
Find the average value of the function f (x, y) = xy over the triangle with vertices (0, 0), (1, 0) and (1, 3).
Hint
Express the line joining (0, 0) and (1, 3) as a function y = g(x) .
Answer
3
i.
∬ xy dA where D = {(x, y)|| x − y| ≥ 2}; (15)
ii. 1
2 2
∬ dA where D = {(x, y)| x + 3y ≤ 1}. (16)
2 2
1 −x − 2y
D
In this section we would like to deal with improper integrals of functions over rectangles or simple regions such that f has only finitely many discontinuities. Not all such
improper integrals can be evaluated; however, a form of Fubini’s theorem does apply for some types of improper integrals.
9 9/5/2021 https://math.libretexts.org/@go/page/21038
It is very important to note that we required that the function be nonnegative on D for the theorem to work. We consider only the case where the function has finitely
many discontinuities inside D.
y
over the region D = {(x, y) : 0 ≤ x ≤ 1, x ≤ y ≤ √x }.
Notice that the function is nonnegative and continuous at all points on D except (0, 0). Use Fubini’s theorem to evaluate the improper integral.
Solution
First we plot the region D (Figure 15); then we express it in another way.
Figure 15: The function f is continuous at all points of the region D except (0, 0).
The other way to express the same region D is
2
D = {(x, y) : 0 ≤ y ≤ 1, y ≤ x ≤ y}.
Thus we can use Fubini’s theorem for improper integrals and evaluate the integral as
y=1 x=y y
e
∫ ∫ dx dy.
y=0 x=y 2 y
Therefore, we have
y=1 x=y y y=1 y x=y y=1 y 1
e e ∣ e
2 y y
∫ ∫ dx dy = ∫ x∣ dy = ∫ (y − y ) dy = ∫ (e − y e ) dy = e − 2. (18)
y=0 x=y 2 y y=0 y ∣ 2
y=0 y 0
x=y
As mentioned before, we also have an improper integral if the region of integration is unbounded. Suppose now that the function f is continuous in an unbounded
rectangle R .
The following example shows how this theorem can be used in certain cases of improper integrals.
Example 11
Evaluate the integral ∬ xy e where R is the first quadrant of the plane.
2 2
−x −y
dA
R
Solution
The region R is the first quadrant of the plane, which is unbounded. So
x=b y=d
2 2 2 2
−x −y −x −y
∬ xy e dA = lim ∫ (∫ xy e dy) dx
(b,d)→(∞,∞) x=0 y=0
R
x=b
2 2
−x −y
= lim ∫ xy e dy
(b,d)→(∞,∞)
y=0
1 −b
2
−d
2 1
= lim (1 − e ) (1 − e ) =
(b,d)→(∞,∞) 4 4
Thus,
2 2
−x −y
∬ xy e dA
4
.
10 9/5/2021 https://math.libretexts.org/@go/page/21038
Exercise 9
y
∬ − −−−−−−− − dA (20)
√ 1 − x2 − y 2
D
where D = {(x, y) : x ≥ 0, y ≥ 0, x
2
+y
2
≤ 1} .
Hint
−−−− −
Notice that the integral is nonnegative and discontinuous on x
2
+y
2
=1 . Express the region D as 2
D = {(x, y) : 0 ≤ x ≤ 1, 0 ≤ y ≤ √1 − x } and
integrate using the method of substitution.
Answer
π
In some situations in probability theory, we can gain insight into a problem when we are able to use double integrals over general regions. Before we go over an example
with a double integral, we need to set a few definitions and become familiar with some important properties.
Since the probabilities can never be negative and must lie between 0 and 1 the joint density function satisfies the following inequality and equation:
f (t) = { 1
−t/m
e if t ≥ 0.
m
if X and Y are random variables for ‘waiting for a table’ and ‘completing the meal,’ then the probability density functions are, respectively,
Clearly, the events are independent and hence the joint density function is the product of the individual functions
We want to find the probability that the combined time X +Y is less than 90 minutes. In terms of geometry, it means that the region D is in the first quadrant
bounded by the line x + y = 90 (Figure 16).
11 9/5/2021 https://math.libretexts.org/@go/page/21038
Figure 16: The region of integration for a joint probability density function.
Hence, the probability that (X, Y ) is in the region D is
1
−x/15 −y/40
P (X + Y ≤ 90) = P ((X, Y ) ∈ D) = ∬ f (x, y) dA = ∬ e e dA. (25)
600
D D
x=90 y=90−x
1
−(x/15+y/40)
= ∫ ∫ e dx dy = 0.8328 (28)
600 x=0 y=0
Thus, there is an 83.2% chance that a customer spends less than an hour and a half at the restaurant.
Another important application in probability that can involve improper double integrals is the calculation of expected values. First we define this concept and then show
an example of a calculation.
S S
x=a y=b
1 −x/15 −y/40
= lim ∫ ∫ xe e dx dy (31)
600 (a,b)→(∞,∞)
x=0 y=0
x=a y=b
1 −x/15 −y/40
= ( lim ∫ xe dx) ( lim ∫ e dy) (32)
600 a→∞
x=0
b→∞
y=0
x=a y=b
1 ∣ ∣
−x/15 −y/40
( ( lim (−15 e (x + 15))) ) ( ( lim (−40 e ))∣ ) (33)
600 a→∞ ∣ x=0 b→∞ ∣
y=0
1
−a/15 −b/40
= ( lim (−15 e (x + 15) + 225)) ( lim (−40 e + 40)) (34)
600 a→∞ b→∞
1
= (225)(40) = 15. (35)
600
A similar calculation shows that E(Y ) = 40 . This means that the expected values of the two random events are the average waiting time and the average dining
time, respectively.
Exercise 10
The joint density function for two random variables X and Y is given by
1 2 2
(x + y ), if ≤ x ≤ 15, 0 ≤ y ≤ 10
600
f (x, y) = {
0, otherwise
12 9/5/2021 https://math.libretexts.org/@go/page/21038
Find the probability that X is at most 10 and Y is at least 5.
Hint
Compute the probability
10 y=10
1 2 2
P (X ≤ 10, Y ≥ 5) = ∫ ∫ (x + y )dy dx.
x=−∞ y=5
6000
Answer
55
≈ 0.7638
72
Key Concepts
A general bounded region D on the plane is a region that can be enclosed inside a rectangular region. We can use this idea to define a double integral over a general
bounded region.
To evaluate an iterated integral of a function over a general nonrectangular region, we sketch the region and express it as a Type I or as a Type II region or as a union
of several Type I or Type II regions that overlap only on their boundaries.
We can use double integrals to find volumes, areas, and average values of a function over general regions, similarly to calculations over rectangular regions.
We can use Fubini’s theorem for improper integrals to evaluate some types of improper integrals.
Key Equations
Iterated integral over a Type I region
b g2 (x)
Glossary
improper double integral
a double integral over an unbounded region or of an unbounded function
Type I
a region D in the xy- plane is Type I if it lies between two vertical lines and the graphs of two continuous functions g 1 (x) and g2 (x)
Type II
a region D in the xy-plane is Type II if it lies between two horizontal lines and the graphs of two continuous functions h 1 (y) and h2 (h)
13 9/5/2021 https://math.libretexts.org/@go/page/21038
Double Integrals Over Rectangular Regions
Learning Objectives
Recognize when a function of two variables is integrable over a rectangular region.
Recognize and use some of the properties of double integrals.
Evaluate a double integral over a rectangular region by writing it as an iterated integral.
Use a double integral to calculate the area of a region, volume under a surface, or average value of a function over a plane region.
In this section we investigate double integrals and show how we can use them to find the volume of a solid over a rectangular region in the xy-
plane. Many of the properties of double integrals are similar to those we have already discussed for single integrals.
Here denotes the Cartesian product of the two closed intervals [a, b] and [c, d]. It consists of rectangular pairs (x, y) such that
[a, b] × [c, d]
a ≤x ≤b and c ≤ y ≤ d . The graph of f represents a surface above the xy-plane with equation z = f (x, y) where z is the height of the surface
at the point (x, y). Let S be the solid that lies above R and under the graph of f (Figure 1). The base of the solid is the rectangle R in the xy-
plane. We want to find the volume V of the solid S .
Figure 1: The graph of f (x, y) over the rectangle R in the xy-plane is a curved surface.
We divide the region R into small rectangles R , each with area ΔA and with sides Δx and Δy (Figure 2). We do this by dividing the interval
ij
b−a d−c
[a, b] into m subintervals and dividing the interval [c, d] into n subintervals. Hence Δx = , Δy = , and ΔA = ΔxΔy .
m n
Figure 2: Rectangle R is divided into small rectangles R each with area ΔA.
ij
The volume of a thin rectangular box above R is f (x , y ) ΔA, where (x , y ) is an arbitrary sample point in each R
ij
∗
ij
∗
ij
∗
ij
∗
ij ij as shown in the
following figure, f (x , y ) is the height of the corresponding thin rectangular box, and ΔA is the area of each rectangle R .
∗
ij
∗
ij ij
1 9/5/2021 https://math.libretexts.org/@go/page/21036
Figure 3: A thin rectangular box above R with height f (xij
∗
ij
, y
ij
∗
.
)
Using the same idea for all the subrectangles, we obtain an approximate volume of the solid S as
m n
∗ ∗
V ≈ ∑ ∑ f (x , y )ΔA.
ij ij
i=1 j=1
This sum is known as a double Riemann sum and can be used to approximate the value of the volume of the solid. Here the double sum means
that for each subrectangle we evaluate the function at the chosen point, multiply by the area of each rectangle, and then add all the results.
As we have seen in the single-variable case, we obtain a better approximation to the actual volume if m and n become larger.
m n
∗ ∗
V = lim ∑ ∑ f (x , y )ΔA
ij ij
m,n→∞
i=1 j=1
or
m n
∗ ∗
V = lim ∑ ∑ f (x , y )ΔA.
ij ij
Δx, Δy→0
i=1 j=1
Note that the sum approaches a limit in either case and the limit is the volume of the solid with the base R . Now we are ready to define the
double integral.
Definition
The double integral of the function f (x, y) over the rectangular region R in the xy-plane is defined as
m n
∗ ∗
∬ f (x, y)dA = lim ∑ ∑ f (x , y )ΔA. (1)
ij ij
m,n→∞
R i=1 j=1
If f (x, y) ≥ 0, then the volume V of the solid S , which lies above R in the xy-plane and under the graph of f , is the double integral of the
function f (x, y) over the rectangle R . If the function is ever negative, then the double integral can be considered a “signed” volume in a manner
similar to the way we defined net signed area in The Definite Integral.
2 9/5/2021 https://math.libretexts.org/@go/page/21036
Figure 4: The function z = f (x, y) graphed over the rectangular region R = [0, 2] × [0, 2] .
Solution
a. As we can see, the function z = f (x, y) = 3x − y is above the plane. To find the signed volume of S , we need to divide the region R
2
into small rectangles R , each with area ΔA and with sides Δx and Δy, and choose (x , y ) as sample points in each R . Hence, a
ij
∗
ij
∗
ij ij
2 ∗ 2 ∗
V =∬ (3 x − y)dA = lim ∑ ∑[3(x ) −y ]ΔA.
ij ij
m,n→∞
R
i=1 j=1
b. Approximating the signed volume using a Riemann sum with m = n = 2 we have ΔA = ΔxΔy = 1 × 1 = 1 . Also, the sample points
are (1, 1), (2, 1), (1, 2), and (2, 2) as shown in the following figure.
∗ ∗
V ≈ ∑ ∑ f (x ,y )ΔA
ij ij
i=1 j=1
∗ ∗ ∗ ∗
= ∑(f (x ,y ) + f (x ,y ))ΔA
i1 i1 i2 i2
i=1
∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗
= f (x ,y )ΔA + f (x ,y )ΔA + f (x ,y )ΔA + f (x ,y )ΔA
11 11 21 21 12 12 22 22
= 2 + 11 + 1 + 10 = 24.
c. Approximating the signed volume using a Riemann sum with m = n = 2 we haveΔA = ΔxΔy = 1 × 1 = 1 . In this case the sample
points are (1/2, 1/2), (3/2, 1/2), (1/2, 3/2), and (3/2, 3/2).
Hence,
3 9/5/2021 https://math.libretexts.org/@go/page/21036
2 2
∗ ∗
V ≈ ∑ ∑ f (x ,y )ΔA
ij ij
i=1 j=1
∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗
= f (x ,y )ΔA + f (x ,y )ΔA + f (x ,y )ΔA + f (x ,y )ΔA
11 11 21 21 12 12 22 22
3 1 27 1 3 3 27 3
=( − ) (1) + ( − ) (1) + ( − ) (1) + ( − ) (1)
4 4 4 2 4 2 4 2
2 25 3 21 45
= + + (− )+ = = 11.
4 4 4 4 4
Analysis
Notice that the approximate answers differ due to the choices of the sample points. In either case, we are introducing some error because we
are using only a few sample points. Thus, we need to investigate how we can achieve an accurate answer.
Exercise 1
Use the same functionz = f (x, y) = 3x 2
−y over the rectangular region R = [0, 2] × [0, 2] .
Divide R into the same four squares with m = n = 2 , and choose the sample points as the upper left corner point of each square (0,1),
(1,1), (0,2), and (1,2) (Figure 5) to approximate the signed volume of the solid S that lies above R and “under” the graph of f .
Hint
Follow the steps of the previous example.
Answer
2 2
∗ ∗
V ≈ ∑ ∑ f (x ,y ) ΔA = 0
ij ij
i=1 j=1
Note that we developed the concept of double integral using a rectangular region R . This concept can be extended to any general region.
However, when a region is not rectangular, the subrectangles may not all fit perfectly into R , particularly if the base area is curved. We examine
this situation in more detail in the next section, where we study regions that are not always rectangular and subrectangles may not fit perfectly in
the region R . Also, the heights may not be exact if the surface z = f (x, y) is curved. However, the errors on the sides and the height where the
pieces may not fit perfectly within the solid S approach 0 as m and n approach infinity. Also, the double integral of the function z = f (x, y)
exists provided that the function f is not too discontinuous. If the function is bounded and continuous over R except on a finite number of
smooth curves, then the double integral exists and we say that ff is integrable over R .
Since ΔA = ΔxΔy = ΔyΔx , we can express dA as dx dy or dy dx. This means that, when we are using rectangular coordinates, the double
integral over a region R denoted by
∬ f (x, y) dA
R
can be written as
∬ f (x, y) dx dy
R
or
∬ f (x, y) dy dx.
R
Now let’s list some of the properties that can be helpful to compute double integrals.
4 9/5/2021 https://math.libretexts.org/@go/page/21036
Assume that the functions f (x, y) and g(x, y) are integrable over the rectangular region R ; S and T are subregions of R ; and assume that
m and M are real numbers.
vi. In the case where f (x, y) can be factored as a product of a function g(x) of x only and a function h(y) of y only, then over the region
R = {(x, y) | a ≤ x ≤ b, c ≤ y ≤ d} , the double integral can be written as
b d
These properties are used in the evaluation of double integrals, as we will see later. We will become skilled in using these properties once we
become familiar with the computational tools of double integrals. So let’s get to that now.
Iterated Integrals
So far, we have seen how to set up a double integral and how to obtain an approximate value for it. We can also imagine that evaluating double
integrals by using the definition can be a very lengthy process if we choose larger values for m and n .Therefore, we need a practical and
convenient technique for computing double integrals. In other words, we need to learn how to compute double integrals without employing the
definition that uses limits and double sums.
The basic idea is that the evaluation becomes easier if we can break a double integral into single integrals by integrating first with respect to one
variable and then with respect to the other. The key tool we need is called an iterated integral.
or
d b d b
b d
The notation ∫
a
[∫
c
f (x, y) dy] dx means that we integrate f (x, y) with respect to y while holding x constant. Similarly, the notation
d b
∫
c
[∫
a
f (x, y) dx] dy means that we integrate f (x, y) with respect to x while holding y constant. The fact that double integrals can be split into
iterated integrals is expressed in Fubini’s theorem. Think of this theorem as an essential tool for evaluating double integrals.
5 9/5/2021 https://math.libretexts.org/@go/page/21036
b d d b
More generally, Fubini’s theorem is true if f is bounded on R and f is discontinuous only on a finite number of continuous curves. In other
words, f has to be integrable over R .
Figure 6: (a) Integrating first with respect to y and then with respect to x to find the area A(x) and then the volume V ; (b) integrating first with
respect to x and then with respect to y to find the area A(y) and then the volume V .
Use Fubini’s theorem to compute the double integral ∬ f (x, y) dA where f (x, y) = x and R = [0, 2] × [0, 1] .
R
Solution
Fubini’s theorem offers an easier way to evaluate the double integral by the use of an iterated integral. Note how the boundary values of the
region R become the upper and lower limits of integration.
∬ f (x, y) dA = ∬ f (x, y) dx dy
R R
y=1 x=2
=∫ ∫ x dx dy
y=0 x=0
y=1 2 x=2
x ∣
=∫ [ ∣ ] dy
y=0 2 ∣x=0
y=1 y=1
∣
=∫ 2 dy = 2y ∣ =2
∣
y=0 y=0
The double integration in this example is simple enough to use Fubini’s theorem directly, allowing us to convert a double integral into an iterated
integral. Consequently, we are now ready to convert all double integrals to iterated integrals and demonstrate how the properties listed earlier can
help us evaluate double integrals when the function f (x, y) is more complex. Note that the order of integration can be changed (see Example 7).
2
∬ (xy − 3x y ) dA, where R = {(x, y) | 0 ≤ x ≤ 2, 1 ≤ y ≤ 2}.
R
Solution
This function has two pieces: one piece is xy and the other is 3xy . Also, the second piece has a constant 3. Notice how we use properties i
2
6 9/5/2021 https://math.libretexts.org/@go/page/21036
2 2
∬ (xy − 3x y ) dA = ∬ xy dA + ∬ (−3x y ) dA Property i: Integral of a sum is the sum of the integrals.
R R R
y=2 y=2
2
=∫ 2y dy − ∫ 6 y dy Property ii: Placing the constant before the integral.
y=1 y=1
2 2
2
=2∫ y dy − 6 ∫ y dy Integrate with respect to y.
1 1
2 2 3 2
y ∣ y ∣
=2 ∣ −6 ∣
2 ∣1 3 ∣1
2 2
2∣ 3∣
=y ∣ − 2y ∣
∣ ∣
1 1
Solution
For a lower bound, integrate the constant function 2 over the region R . For an upper bound, integrate the constant function 13 over the
region R .
2 3 2 3 2 2
∣ ∣
∫ ∫ 2 dx dy =∫ [2x ∣ ] dy = ∫ 2(2)dy = 4y ∣ = 4(2 − 1) = 4
∣ ∣
1 1 1 1 1 1
2 3 2 3 2 2
∣ ∣
∫ ∫ 13dx dy =∫ [13x ∣ ] dy = ∫ 13(2) dy = 26y ∣ = 26(2 − 1) = 26.
∣ ∣
1 1 1 1 1 1
Hence, we obtain 4 ≤ ∬ (x
2 2
+ y ) dA ≤ 26.
R
2
, 0 ≤ y ≤ 1} .
R
Solution
This is a great example for property vi because the function f (x, y) is clearly the product of two single-variable functions e
y
and .
cos x
Thus we can split the integral into two parts and then integrate each one as a single-variable integration problem.
1 π/2
y y
∬ e cos x dA = ∫ ∫ e cos x dx dy
R 0 0
1 π/2
y
= (∫ e dy) ( ∫ cos x dx)
0 0
1 π/2
y∣ ∣
= (e ∣ )(sin x ∣ )
∣ ∣
0 0
= e − 1.
Exercise 2
a. Use the properties of the double integral and Fubini’s theorem to evaluate the integral
7 9/5/2021 https://math.libretexts.org/@go/page/21036
1 3
∫ ∫ (3 − x + 4y) dy dx.
0 −1
1
b. Show that 0 ≤ ∬ sin πx cos πy dA ≤ where R = (0, 1
4
)(
1
4
,
1
2
) .
R
32
Hint
Use properties i. and ii. and evaluate the iterated integral, and then use property v.
Answer
a. 26
b. Answers may vary.
As we mentioned before, when we are using rectangular coordinates, the double integral over a region R denoted by ∬ f (x, y) dA can be R
written as ∬ f (x, y) dx dy or ∬ f (x, y) dy dx. The next example shows that the results are the same regardless of which order of integration
R R
we choose.
x=2 x=2
9 9 ∣
2 3
=∫ (9 x − ) dx = 3 x − x∣ = 15.
2 2 ∣
x=0 x=0
y=3 x=2
2
=∫ (∫ (3 x − y) dx) dy
y=0 x=0
y=3 x=2
3 ∣
=∫ [x − xy ∣ ] dy
∣x=0
y=0
y=3 y=3
2∣
=∫ (8 − 2y) dy = 8y − y ∣ = 15.
∣y=0
y=0
Analysis
With either order of integration, the double integral gives us an answer of 15. We might wish to interpret this answer as a volume in cubic
units of the solid S below the function f (x, y) = 3x − y over the region R = [0, 2] × [0, 3] . However, remember that the interpretation of
2
a double integral as a (non-signed) volume works only when the integrand f is a nonnegative function over the base region R .
Exercise 3
Evaluate
y=2 x=5
2 2
∫ ∫ (2 − 3 x + y ) dx dy.
y=−3 x=3
8 9/5/2021 https://math.libretexts.org/@go/page/21036
Hint
Use Fubini’s theorem.
Answer
1340
−
3
In the next example we see that it can actually be beneficial to switch the order of integration to make the computation easier. We will come back
to this idea several times in this chapter.
Consider the double integral ∬ x sin(xy) dA over the region R = {(x, y) | 0 ≤ x ≤ π, 1 ≤ y ≤ 2} (Figure 7).
R
Figure 7: The function z = f (x, y) = x sin(xy) over the rectangular region R = [0, π] × [1, 2].
a. We can express ∬ x sin(xy) dA in the following two ways: first by integrating with respect to y and then with respect to x; second by
R
∬ x sin(xy) dA = ∫ ∫ x sin(xy) dy dx
R x=0 y=1
=∫ ∫ x sin(xy) dx dy
y=1 x=0
However, integrating with respect to x first and then integrating with respect to y requires integration by parts for the inner integral,
with u = x and dv = sin(xy)dx
cos(xy)
Then du = dx and v = − y
, so
y=2 x=π y=2 x=π
x cos(xy) ∣x=π 1
∬ x sin(xy) dA = ∫ ∫ x sin(xy) dx dy = ∫ [− ∣ + ∫ cos(xy) dx] dy.
y ∣ y
R y=1 x=0 y=1 x=0 x=0
Since the evaluation is getting complicated, we will only do the computation that is easier to do, which is clearly the first method.
9 9/5/2021 https://math.libretexts.org/@go/page/21036
c. Evaluate the double integral using the easier way.
x=π y=2
∬ x sin(xy) dA = ∫ ∫ x sin(xy) dy dx
R x=0 y=1
x=π
=∫ (− cos 2x + cos x) dx
x=0
x=π
1 ∣
= (− sin 2x + sin x) ∣ = 0.
2 ∣x=0
Exercise 4
Hint
Integrate with respect to y first.
Answer
4−ln 5
ln 5
This definition makes sense because using f (x, y) = 1 and evaluating the integral make it a product of length and width. Let’s check this
formula with an example and see how this works.
We have already seen how double integrals can be used to find the volume of a solid bounded above by a function f (x, y) ≥ 0 over a region R
provided f (x, y) ≥ 0 for all (x, y) in R . Here is another example to illustrate this concept.
need the volume of the solid bounded by the elliptic paraboloid 2x + y + z = 27 , the planes x = 3 and y = 3 , and the three coordinate
2 2
planes.
10 9/5/2021 https://math.libretexts.org/@go/page/21036
Figure 8: (a) The surface z = 27 − 2x − y above the square region
2 2
R1 = [−3, 3] × [−3, 3] . (b) The solid S lies under the surface
2
z = 27 − 2x − y
2
above the square region R1 = [0, 3] × [0, 3] .
Now let’s look at the graph of the surface in Figure 8(b). We determine the volume V by evaluating the double integral over R : 2
2 2
V =∬ z dA = ∬ (27 − 2 x − y ) dA
R R
y=3 x=3
2 2
=∫ ∫ (27 − 2 x − y ) dx dy Convert to literal integral.
y=0 x=0
y=3 x=3
2 ∣
3 2
=∫ [27x − x − y x] ∣ dy Integrate with respect to x.
3 ∣
y=0 x=0
y=3 y=3
2 3∣
=∫ (63 − 3 y )dy = 63y − y ∣ = 162.
∣
y=0 y=0
Exercise 5
Find the volume of the solid bounded above by the graph of f (x, y) = xy sin(x y)
2
and below by the xy -plane on the rectangular region
R = [0, 1] × [0, π] .
Hint
Graph the function, set up the integral, and use an iterated integral.
Answer
π
Recall that we defined the average value of a function of one variable on an interval [a, b] as
b
1
fave = ∫ f (x) dx. (6)
b −a a
Similarly, we can define the average value of a function of two variables over a region R . The main difference is that we divide by an area
instead of the width of an interval.
In the next example we find the average value of a function over a rectangular region. This is a good example of obtaining useful information for
an integration by making individual measurements over a grid, instead of trying to find an algebraic expression for a function.
11 9/5/2021 https://math.libretexts.org/@go/page/21036
The weather map in Figure 9 shows an unusually moist storm system associated with the remnants of Hurricane Karl, which dumped 4–8
inches (100–200 mm) of rain in some parts of the Midwest on September 22–23, 2010. The area of rainfall measured 300 miles east to west
and 250 miles north to south. Estimate the average rainfall over the entire area in those two days.
Figure 9: Effects of Hurricane Karl, which dumped 4–8 inches (100–200 mm) of rain in some parts of southwest Wisconsin, southern
Minnesota, and southeast South Dakota over a span of 300 miles east to west and 250 miles north to south.
Solution
Place the origin at the southwest corner of the map so that all the values can be considered as being in the first quadrant and hence all are
positive. Now divide the entire map into six rectangles (m = 2 and n = 3) , as shown in Figure 9. Assume f (x, y) denotes the storm
rainfall in inches at a point approximately x miles to the east of the origin and y miles to the north of the origin. Let R represent the entire
area of 250 × 300 = 75000 square miles. Then the area of each subrectangle is
1
ΔA = (75000) = 12500.
6
Figure 10: Storm rainfall with rectangular axes and showing the midpoints of each subrectangle.
According to our definition, the average storm rainfall in the entire area during those two days was
12 9/5/2021 https://math.libretexts.org/@go/page/21036
1 1
fave = ∬ = f (x, y) dx dy = ∬ f (x, y) dx dy
Area R R
75000 R
3 2
1
∗ ∗
≈ ∑ ∑ f (x ,y )ΔA
ij ij
75000
i=1 j=1
1
∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗
= [f (x ,y )ΔA + f (x ,y )ΔA + f (x ,y )ΔA + f (x ,y )ΔA + f (x ,y )ΔA + f (x ,y )ΔA]
11 11 12 12 13 13 21 21 22 22 23 23
75000
1
≈ [0.08 + 0.08 + 0.01 + 1.70 + 1.74 + 3.00]ΔA
75000
1
= [0.08 + 0.08 + 0.01 + 1.70 + 1.74 + 3.00]12500
75000
1
= [0.08 + 0.08 + 0.01 + 1.70 + 1.74 + 3.00]
6
≈ 1.10 in.
During September 22–23, 2010 this area had an average storm rainfall of approximately 1.10 inches.
Exercise 6
A contour map is shown for a function f (x, y) on the rectangle R = [−3, 6] × [−1, 4] .
a. Use the midpoint rule with m = 3 and n = 2 to estimate the value of ∬ f (x, y) dA.
R
Hint
Divide the region into six rectangles, and use the contour lines to estimate the values for f (x, y).
Answer
Answers to both parts a. and b. may vary.
Key Concepts
We can use a double Riemann sum to approximate the volume of a solid bounded above by a function of two variables over a rectangular
region. By taking the limit, this becomes a double integral representing the volume of the solid.
Properties of double integral are useful to simplify computation and find bounds on their values.
We can use Fubini’s theorem to write and evaluate a double integral as an iterated integral.
Double integrals are used to calculate the area of a region, the volume under a surface, and the average value of a function of two variables
over a rectangular region.
Key Equations
m n
b d b d
or
d b d b
13 9/5/2021 https://math.libretexts.org/@go/page/21036
1
fave = ∬ f (x, y) dx dy
Area of R R
Glossary
double integral
of the function f (x, y) over the region R in the xy-plane is defined as the limit of a double Riemann sum,
m n
∗ ∗
∬ f (x, y) dA = lim ∑ ∑ f (x ,y ) ΔA.
ij ij
m,n→∞
R
i=1 j=1
∗ ∗
∑ ∑ f (x ,y ) ΔA,
ij ij
i=1 j=1
Fubini’s theorem
if f (x, y) is a function of two variables that is continuous over a rectangular region R = {(x, y) ∈ R 2
| a ≤ x ≤ b, c ≤ y ≤ d} , then the
double integral of f over the region equals an iterated integral,
b d d b
iterated integral
for a function f (x, y) over the region R is
b d b d
d b d b
14 9/5/2021 https://math.libretexts.org/@go/page/21036
Double Integrals Part 1 (Exercises)
In exercises 1 and 2, use the midpoint rule with m = 4 and n = 2 to estimate the volume of the solid bounded by the
surface z = f (x, y) , the vertical planes x = 1 , x = 2 , y = 1 , and y = 2 , and the horizontal plane x = 0 .
1) f (x, y) = 4x + 2y + 8xy
Answer:
27
y
2) f (x, y) = 16x 2
+
2
In exercises 3 and 4, estimate the volume of the solid under the surface z = f (x, y) and above the rectangular region
R by using a Riemann sum with m = n = 2 and the sample points to be the lower left corners of the subrectangles of
the partition.
3) f (x, y) = sin x − cos y , R = [0, π] × [0, π]
Answer:
0
2
]
x 9 9.5 10 10.5 11
Answer:
21.3
6) The values of the function f on the rectangle R = [0, 2] × [7, 9] are given in the following table. Estimate the double
integral ∬ f (x, y) dA by using a Riemann sum with m = n = 2 . Select the sample points to be the upper right corners of
R
the subsquares of R.
y0 = 7 y1 = 8 y2 = 9
7) The depth of a children’s 4-ft by 4-ft swimming pool, measured at 1-ft intervals, is given in the following table.
a. Estimate the volume of water in the swimming pool by using a Riemann sum with m = n = 2 . Select the sample points
using the midpoint rule on R = [0, 4] × [0, 4] .
b. Find the average depth of the swimming pool.
1 9/5/2021 https://math.libretexts.org/@go/page/21037
y
x 0 1 2 3 4
0 1 1.5 2 2.5 3
1 1 1.5 2 2.5 3
3 1 1 1.5 2 2.5
4 1 1 1 1.5 2
Answer:
a. 28 ft 3
b. 1.75 ft.
8) The depth of a 3-ft by 3-ft hole in the ground, measured at 1-ft intervals, is given in the following table.
a. Estimate the volume of the hole by using a Riemann sum with m = n = 3 and the sample points to be the upper left
corners of the subsquares of R .
b. Find the average depth of the hole.
x 0 1 2 3
0 6 6.5 6.4 6
3 6 6.5 5 5.6
9) The level curves f (x, y) = k of the function f are given in the following graph, where k is a constant.
a. Apply the midpoint rule with m = n = 2 to estimate the double integral ∬ R
f (x, y) dA , where R = [0.2, 1] × [0, 0.8].
b. Estimate the average value of the function f on R .
Answer:
2 9/5/2021 https://math.libretexts.org/@go/page/21037
a. 0.112
b. f ≃ 0.175; here f (0.4, 0.2) ≃ 0.1, f (0.2, 0.6) ≃ −0.2, f (0.8, 0.2) ≃ 0.6, and f (0.8, 0.6) ≃ 0.2
ave
10) The level curves f (x, y) = k of the function f are given in the following graph, where k is a constant.
a. Apply the midpoint rule with m = n = 2 to estimate the double integral ∬ R
f (x, y) dA , where
R = [0.1, 0.5] × [0.1, 0.5].
−−−−−
11) The solid lying under the surface z = √4 − y and above the rectangular regionR = [0, 2] × [0, 2] is illustrated in the
2
−−−−−
following graph. Evaluate the double integral ∬ f (x, y), where f (x, y) = √4 − y by finding the volume of the
R
2
corresponding solid.
Answer:
2π
12) The solid lying under the plane z = y + 4 and above the rectangular region R = [0, 2] × [0, 4] is illustrated in the
following graph. Evaluate the double integral ∬ f (x, y) dA, where f (x, y) = y + 4 , by finding the volume of the
R
corresponding solid.
3 9/5/2021 https://math.libretexts.org/@go/page/21037
In the exercises 13 - 20, calculate the integrals by reversing the order of integration.
1 2
Answer:
40
2 1
14) ∫ (∫ (x + 2 e
y
+ 3) dx) dy
0 0
27 2
15) ∫ (∫
3 −
(√x + √
3
y) dy) dx
1 1
Answer:
81 3 –
+ 39 √2
2
16 8
16) ∫ (∫
4 −
(√x + 2 √
3
y) dy) dx
1 1
ln 3 1
17) ∫ (∫ e
x+y
dy) dx
ln 2 0
Answer:
e−1
2 1
18) ∫ (∫ 3
x+y
dy) dx
0 0
6 9
√y
19) ∫ (∫ dy) dx
1 2
y2
Answer:
10 √2
15 −
9
9 2 −
√x
20) ∫ (∫
2
dy) dx
1 4 y
In exercises 21 - 34, evaluate the iterated integrals by choosing the order of integration.
π π/2
4 9/5/2021 https://math.libretexts.org/@go/page/21037
Answer:
0
π/8 π/3
e e
1 1
23) ∫ ∫ [ sin(ln x) + cos(ln y)] dx dy
1 1
x y
Answer:
(e − 1)(1 + sin 1 − cos 1)
e e
sin(ln x) cos(ln y)
24) ∫ ∫ dx dy
1 1
xy
2 2
ln y x
25) ∫ ∫ ( + ) dy dx
1 1
x 2y + 1
Answer:
3 5 2
ln( ) + 2b ln 2 − ln 2
4 3
e 2
26) ∫ ∫ x
2
ln(x) dy dx
1 1
√3 2
1
27) ∫ ∫ y arctan( ) dy dx
1 1
x
Answer:
1 –
[(2 √3 − 3)π + 6 ln 2]
8
1 1/2
1 2
29) ∫ ∫ xe
x+4y
dy dx
0 0
Answer:
1 4 4
e (e − 1)
4
2 1
30) ∫ ∫ xe
x−y
dy dx
1 0
e e
ln y ln x
31) ∫ ∫ ( +
−
) dy dx
1 1 √y √x
Answer:
4(e − 1)(2 − √e)
e e
x ln y y ln x
32) ∫ ∫ ( + − ) dy dx
1 1 √y √x
1 2
x
33) ∫ ∫ (
2
) dy dx
0 1
x + y2
Answer:
π 5 1
− + ln( )− ln 2 + arctan 2
4 4 2
5 9/5/2021 https://math.libretexts.org/@go/page/21037
1 2
y
34) ∫ ∫
2
dy dx
0 1 x +y
In exercises 35 - 38, find the average value of the function over the given rectangles.
35)f (x, y) = −x + 2y , R = [0, 1] × [0, 1]
Answer:
1
36) f (x, y) = x 4
+ 2y
3
, R = [1, 2] × [2, 3]
37) f (x, y) = sinh x + sinh y , R = [0, 1] × [0, 2]
Answer:
1
2
(2 cosh 1 + cosh 2 − 3) .
for anyy ∈ [c, d]. Show that the following inequality is true:
b d
In exercises 40 - 43, use property v. of double integrals and the answer from the preceding exercise to show that the
following inequalities are true.
40) , where R = [0, 1] × [0, 1]
2 2
1 −x −y
2
≤∬ e dA ≤ 1
e R
2 2
41) π
144
≤∬
R
sin x cos y dA ≤
π
48
, where R = [ π
6
,
π
3
] ×[
π
6
,
π
3
]
42) 0 ≤ ∬ R
e
−y
cos x dA ≤
π
2
, where R = [0, π
2
] × [0,
π
2
]
43) 0 ≤ ∬ R
(ln x)(ln y) dA ≤ (e − 1 )
2
, where R = [1, e] × [1, e]
44) Let f and g be two continuous functions such that 0 ≤ m 1 ≤ f (x) ≤ M1 for any x ∈ [a, b] and 0 ≤ m2 ≤ g(y) ≤ M2
for any y ∈ [c, d]. Show that the following inequality is true:
b d
In exercises 45 - 48, use property v. of double integrals and the answer from the preceding exercise to show that the
following inequalities are true.
45) , where R = [0, 1] × [0, 1]
2 2
2 −x −y
≤∬ (e +e ) dA ≤ 2
e R
2 2
π √3
46) π
36
∬
R
(sin x + cos y) dA ≤
36
, where R = [ π
6
,
π
3
] ×[
π
6
,
π
3
]
47) π
2
e
−π/2
≤∬
R
(cos x + e
−y
) dA ≤ π , where R = [0, π
2
] × [0,
π
2
]
48) 1
e
≤∬
R
(e
−y
− ln x) dA ≤ 2 , where R = [0, 1] × [0, 1]
In exercises 49 - 50, the function f is given in terms of double integrals.
a. Determine the explicit form of the function f .
b. Find the volume of the solid under the surface z = f (x, y) and above the region R .
c. Find the average value of the function f on R .
d. Use a computer algebra system (CAS) to plot z = f (x, y) and z = f in the same system of coordinates. ave
y x
49) [T] f (x, y) = ∫ 0
∫
0
(xs + yt)ds dt , where (x, y) ∈ R = [0, 1] × [0, 1]
Answer:
6 9/5/2021 https://math.libretexts.org/@go/page/21037
a. f (x, y) = 1
2
xy(x
2
+y )
2
;
1 1
b. V =∫
0
∫
0
f (x, y) dx dy =
1
8
;
c. f ave =
1
8
;
d.
x y
50) [T] f (x, y) = ∫ 0
∫
0
[cos(s) + cos(t)] dt ds , where (x, y) ∈ R = [0, 3] × [0, 3]
51) Show that if f and g are continuous on [a, b] and [c, d], respectively, then
b d b
b d d d b
b d b d
1 1
52) Show that ∫ ∫ yf (x) + xg(y) dy dx = (d
2 2
− c ) (∫ f (x) dx) +
2
(b
2
− a ) (∫ g(y) dy) .
a c
2 a
2 c
53) [T] Consider the function f (x, y) = e , where (x, y) ∈ R = [−1, 1] × [−1, 1] .
2 2
−x −y
2 2
a. Use the midpoint rule with m = n = 2, 4, . . . , 10 to estimate the double integral I = ∬ e dA . Round your
R
−x −y
c. Use a CAS to graph in the same coordinate system the solid whose volume is given by ∬ e dA and the plane
R
−x −y
z =f . ave
Answer:
a. For m = n = 2 , I = 4e −0.5
≈ 2.43
b. f = e
ave ≃ 0.61 ;
−0.5
c.
7 9/5/2021 https://math.libretexts.org/@go/page/21037
54) [T] Consider the function f (x, y) = sin(x 2
) cos(y )
2
, where (x, y ∈ R = [−1, 1] × [−1, 1] .
a. Use the midpoint rule with m = n = 2, 4, . . . , 10 to estimate the double integral I = ∬ sin(x ) cos(y ) dA . Round R
2 2
plane z = f . ave
a. Find the volume of the solids S under the surfaces z = f (x, y) and above the region R .
n n
b. Determine the limit of the volumes of the solids S as n increases without bound. n
55) f (x, y) = x n
+y
n
+ xy, (x, y) ∈ R = [0, 1] × [0, 1]
Answer:
a. n+1
2
+
1
b. 1
56) f (x, y) = 1
x
n
+
1
y
n
, (x, y) ∈ R = [1, 2] × [1, 2]
57) Show that the average value of a function f on a rectangular region R = [a, b] × [c, d] is
fave ≈
1
mn
∑
m
i=1
∑
n
j=1
f (x
∗
ij
,y
ij
∗
) ,where (x , y ) are the sample points of the partition of R , where 1 ≤ i ≤ m and
∗
ij
∗
ij
1 ≤j≤n .
58) Use the midpoint rule with m = n to show that the average value of a function f on a rectangular region
R = [a, b] × [c, d] is approximated by
n
1 1 1
fave ≈ ∑ f ( (xi=1 + xi ), (yj=1 + yj )) . (3)
n2 2 2
i,j=1
59) An isotherm map is a chart connecting points having the same temperature at a given time for a given period of time. Use
the preceding exercise and apply the midpoint rule with m = n = 2 to find the average temperature over the region given in
the following figure.
8 9/5/2021 https://math.libretexts.org/@go/page/21037
Answer:
56.5 F; here f (x , y ) = 71, f (x , y ) = 72, f (x , y ) = 40, f (x , y ) = 43 , where x and y are the
∘ ∗
1
∗
1
∗
2
∗
1
∗
2
∗
1
∗
2
∗
2
∗
i j
∗
midpoints of the subintervals of the partitions of [a, b] and [c, d], respectively.
9 9/5/2021 https://math.libretexts.org/@go/page/21037
Double Integrals Part 2 (Exercises)
1) The region D bounded by y = x 3 3
, y = x + 1, x = 0, and x = 1 as given in the following figure.
a. Classify this region as vertically simple (Type I) or horizontally simple (Type II).
Type:
Type I but not Type II
Answer:
27
20
2
as given in the following figure.
a. Classify this region as vertically simple (Type I) or horizontally simple (Type II).
Type:
Type I but not Type II
Answer:
1 9/5/2021 https://math.libretexts.org/@go/page/21039
π 2
units
2
c. Find the average value of the function f (x, y) = cos x on the region D.
−−−−−
3) The region D bounded by x = y 2
−1 and x = √1 − y as given in the following figure.
2
a. Classify this region as vertically simple (Type I) or horizontally simple (Type II).
Type:
Type II but not Type I
b. Find the volume of the solid under the graph of the function f (x, y) = xy + 1 and above the region D.
Answer:
1 3
(8 + 3π) units
6
2 9/5/2021 https://math.libretexts.org/@go/page/21039
a. Classify this region as vertically simple (Type I) or horizontally simple (Type II).
Type:
Type II but not Type I
b. Find the volume of the solid under the graph of the function f (x, y) = x + y and above the region in the figure from the
previous exercise.
Answer:
1000 3
units
3
2
as given in the following figure.
Classify this region as vertically simple (Type I) or horizontally simple (Type II).
Type:
Type I and Type II
3 9/5/2021 https://math.libretexts.org/@go/page/21039
Classify this region as vertically simple (Type I) or horizontally simple (Type II).
Type:
Type I and Type II
Answer:
The region D is not of Type I: it does not lie between two vertical lines and the graphs of two continuous functions
g (x) and g (x) . The region is not of Type II: it does not lie between two horizontal lines and the graphs of two
1 2
8) Let D be the region bounded by the curves of equations y = x, y = −x and y = 2 − x . Explain why D is neither of Type
2
I nor II.
In exercises 9 - 14, evaluate the double integral ∬ f (x, y) dA over the region D.
D
9) f (x, y) = 1 and
π
D = {(x, y)| 0 ≤ x ≤ , sin x ≤ y ≤ 1 + sin x}
2
Answer:
π
Answer:
0
12) f (x, y) = sin y and D is the triangular region with vertices (0, 0), (0, 3), and (3, 0)
13) f (x, y) = −x + 1 and D is the triangular region with vertices (0, 0), (0, 2), and (2, 2)
Answer:
2
4 9/5/2021 https://math.libretexts.org/@go/page/21039
1 2 √x+1
Answer:
41
20
3 3x
16) ∫ ∫
2
(x + y ) dy dx
0 2x
2 −u
Answer:
−63
2
e 2
18) ∫ ∫ (v + ln u) dv du
e ln u
1 √1−4y 2
19) ∫ ∫ 4 dx dy
2
0 −√1−4y
Answer:
π
1 √1−y 2
20) ∫ ∫
3
(2x + 4 y ) dx dy
2
0 −√1−y
a. Show that ∬ x dA = ∫ ∫ x dy dx + ∫ ∫ x dy dx by dividing the region D into two regions of Type I.
D 0 1−x2 1 0
a. Show that ∬ y
2
dA = ∫ ∫
2
y dy dx + ∫ ∫
2
y dy dx by dividing the region D into two regions of Type I,
D −1 −x 0 x
1 √y 2 √y
a. Show that ∬ x dA = ∫ ∫ x dx dy + ∫ ∫ x dx dy by dividing the region D into two regions of Type II,
D 0 −y 1 y−2
where D = {(x, y) | y ≥ x 2
, y ≥ −x, y ≤ x + 2} .
Answer:
a. Answers may vary;
b. 12
8
5 9/5/2021 https://math.libretexts.org/@go/page/21039
25) The region D bounded by y = cos x, y = 4 cos x , and x = ± π
3
is shown in the following figure. Find the area A(D) of
the region D.
Answer:
8π
Answer:
3 2
(e − ) units
2
28) Find the average value of the function f (x, y) = sin y on the triangular region with vertices (0, 0), (0, 3), and (3, 0).
29) Find the average value of the function f (x, y) = −x + 1 on the triangular region with vertices (0, 0), (0, 2), and (2, 2).
Answer:
2
In exercises 30 - 33, change the order of integration and evaluate the integral.
π/2 x+1
30) ∫ ∫ sin x dy dx
−1 0
1 1−x
31) ∫ ∫ x dy dx
0 x−1
Answer:
1 1−x 0 y+1 1 1−y
1
∫ ∫ x dy dx = ∫ ∫ x dx dy + ∫ ∫ x dx dy =
0 x−1 −1 0 0 0
3
0 √y+1
32) ∫ ∫
2
y dx dy
−1 −√y+1
6 9/5/2021 https://math.libretexts.org/@go/page/21039
2
1/2 √y +1
33) ∫ ∫ y dx dy
−1/2 −√y 2 +1
Answer:
2
1/2 √y +1 2 √x2 −1
∫ ∫ y dx dy = ∫ ∫ y dy dx = 0
2 2
−1/2 −√y +1 1 −√x −1
34) The region D is shown in the following figure. Evaluate the double integral ∬ (x
2
+ y) dA by using the easier order of
D
integration.
35) The region D is shown in the following figure. Evaluate the double integral ∬ (x
2 2
− y ) dA by using the easier order of
D
integration.
Answer:
4
1 1−y
2 2 2 2
464
∬ (x − y )dA = ∫ ∫ (x − y )dx dy =
D −1 y
4
−1
4095
37) Find the volume of the solid under the plane z = 3x + y and above the region determined by y = x and y = x . 7
Answer:
4 3
units
5
38) Find the volume of the solid under the plane z = 3x + y and above the region bounded by x = tan y, x = −tan y , and
x = 1.
Answer:
5π 3
units
32
7 9/5/2021 https://math.libretexts.org/@go/page/21039
40) Let g be a positive, increasing, and differentiable function on the interval [a, b]. Show that the volume of the solid under
the surface z = g (x) and above the region bounded by y = 0, y = g(x), x = a , and x = b is given by (g (b) − g (a)) .
′ 1
2
2 2
41) Let g be a positive, increasing, and differentiable function on the interval [a, b] and let k be a positive real number. Show
that the volume of the solid under the surface z = g (x) and above the region bounded by y = g(x), y = g(x) + k, x = a ,
′
Answer:
3
1 units
44) Find the volume of the solid bounded by the planes x + y = 1, x − y = 1, x = 0, z = 0 , and z = 10 .
45) Find the volume of the solid bounded by the planes x + y = 1, x − y = 1, x − y = −1, z = 1 , and z = 0
Answer:
3
2 units
46) Let S and S be the solids situated in the first octant under the planes
1 2 x +y +z = 1 and x + y + 2z = 1 respectively,
and let S be the solid situated between S , S , x = 0 , and y = 0 .
1 2
c. Find the volume of the solid S by subtracting the volumes of the solids S and S .1 2
47) Let S and S be the solids situated in the first octant under the planes 2x + 2y + z = 2 and x + y + z = 1 respectively,
1 2
c. Find the volume of the solid S by subtracting the volumes of the solids S and S .1 2
Answer:
a. 1
3
units
3
b. 1
6
units
3
c. 1
6
units
3
x
2
+y
2
+z
2
, respectively. If the volume of the solid S is
=4 2 determine the volume of the solid S situated between S
4π
3
1
c. Find the volume of the solid S situated between S and S by subtracting the volumes of the solids S and S .
1 2 1 2
Answer:
a. units
4
3
3
b. 2π units 3
6π−4
c. units
3
3
8 9/5/2021 https://math.libretexts.org/@go/page/21039
50) [T] The following figure shows the region D bounded by the curves y = sin x, x = 0 , and y = x . Use a graphing 4
calculator or CAS to find the x-coordinates of the intersection points of the curves and to determine the area of the region D.
Round your answers to six decimal places.
51) [T] The region D bounded by the curves y = cos x, x = 0 , and y = x is shown in the following figure. Use a graphing
3
calculator or CAS to find the x-coordinates of the intersection points of the curves and to determine the area of the region D.
Round your answers to six decimal places.
Answer:
0 and 0.865474; A(D) = 0.621135 units 3
52) Suppose that (X, Y ) is the outcome of an experiment that must occur in a particular region S in the xy-plane. In this
context, the region S is called the sample space of the experiment and X and Y are random variables. If D is a region
included in S , then the probability of (X, Y ) being in D is defined as P [(X, Y ) ∈ D] = ∬ p(x, y)dx dy , where p(x, y) is
D
the joint probability density of the experiment. Here, p(x, y) is a nonnegative function for which ∬ p(x, y)dx dy = 1. S
Assume that a point (X, Y ) is chosen arbitrarily in the square [0, 3] × [0, 3] with the probability density
1
p(x, y) = (x, y) ∈ [0, 3] × [0, 3],
9
p(x, y) = 0 otherwise
Find the probability that the point (X, Y ) is inside the unit square and interpret the result.
53) Consider X and Y two random variables of probability densities p (x) and p (x), respectively. The random variables X
1 2
and Y are said to be independent if their joint density function is given by p x, y) = p (x)p (y). At a drive-thru restaurant,
( 1 2
customers spend, on average, 3 minutes placing their orders and an additional 5 minutes paying for and picking up their meals.
Assume that placing the order and paying for/picking up the meal are two independent events X and Y . If the waiting times
are modeled by the exponential probability densities
1 −x/3
p1 (x) = e x ≥ 0,
3
p1 (x) = 0 otherwise
1
−y/5
p2 (y) = e y ≥ 0
5
9 9/5/2021 https://math.libretexts.org/@go/page/21039
p2 (y) = 0 otherwise
respectively, the probability that a customer will spend less than 6 minutes in the drive-thru line is given by
P [X + Y ≤ 6] = ∬ p(x, y)dx dy , where D = (x, y)|x ≥ 0, y ≥ 0, x + y ≤ 6 . Find P [X + Y ≤ 6] and interpret the
D
result.
Answer:
P [X + Y ≤ 6] = 1 +
3
2
−
5
6/5
≈ 0.45 ; there is a 45% chance that a customer will spend 6 minutes in the drive-
2e e
thru line.
54) [T] The Reuleaux triangle consists of an equilateral triangle and three regions, each of them bounded by a side of the
triangle and an arc of a circle of radius s centered at the opposite vertex of the triangle. Show that the area of the Reuleaux
2 –
triangle in the following figure of side length s is s
2
(π − √3) .
55) [T] Show that the area of the lunes of Alhazen, the two blue lunes in the following figure, is the same as the area of the
right triangle ABC . The outer boundaries of the lunes are semicircles of diameters AB and AC respectively, and the inner
boundaries are formed by the circumcircle of the triangle ABC .
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
10 9/5/2021 https://math.libretexts.org/@go/page/21039
Double Integrals in Polar Coordinates
Learning Objectives
Recognize the format of a double integral over a polar rectangular region.
Evaluate a double integral in polar coordinates by using an iterated integral.
Recognize the format of a double integral over a general polar region.
Use double integrals in polar coordinates to calculate areas and volumes.
Double integrals are sometimes much easier to evaluate if we change rectangular coordinates to polar coordinates. However,
before we describe how to make this change, we need to establish the concept of a double integral in a polar rectangular
region.
Figure 1: (a) A polar rectangle R (b) divided into subrectangles R (c) Close-up of a subrectangle.
ij
In this section, we are looking to integrate over polar rectangles. Consider a function f (r, θ) over a polar rectangle R . We
divide the interval [a, b] into m subintervals [r , r ] of length Δr = (b − a)/m and divide the interval [α, β] into n
i−1 i
subintervals [θ , θ ] of width Δθ = (β − α)/n . This means that the circles r = r and rays θ = θ for 1 ≤ i ≤ m and
i−1 i i i
1 ≤ j ≤ n divide the polar rectangle R into smaller polar subrectangles R (Figure 1b). ij
As before, we need to find the area ΔA of the polar subrectangle R and the “polar” volume of the thin box above R . Recall
ij ij
that, in a circle of radius r the length s of an arc subtended by a central angle of θ radians is s = rθ . Notice that the polar
rectangle R looks a lot like a trapezoid with parallel sides r Δθ and r Δθ and with a width Δr. Hence the area of the
ij i−1 i
polar subrectangle R is ij
1
ΔA = Δr(ri−1 Δθ + ri Δθ).
2
we have ΔA = r ∗
ij
ΔrΔθ .
Therefore, the polar volume of the thin box above R (Figure 2) is
ij
1 9/5/2021 https://math.libretexts.org/@go/page/21041
∗ ∗ ∗ ∗ ∗
f (r ,θ )ΔA = f (r ,θ )r ΔrΔθ.
ij ij ij ij ij
Figure 2: Finding the volume of the thin box above polar rectangle R . ij
Using the same idea for all the subrectangles and summing the volumes of the rectangular boxes, we obtain a double Riemann
sum as
m n
∗ ∗ ∗
∑ ∑ f (r ,θ )r ΔrΔθ.
ij ij ij
i=1 j=1
As we have seen before, we obtain a better approximation to the polar volume of the solid above the region R when we let m
and n become larger. Hence, we define the polar volume as the limit of the double Riemann sum,
m n
∗ ∗ ∗
V = lim ∑ ∑ f (r ,θ )r ΔrΔθ.
ij ij ij
m,n→∞
i=1 j=1
∗ ∗
∬ f (r, θ)dA = lim ∑ ∑ f (r ,θ )ΔA (1)
ij ij
m,n→∞
R
i=1 j=1
m n
∗ ∗ ∗
= lim ∑ ∑ f (r ,θ )r ΔrΔθ. (2)
ij ij ij
m,n→∞
i=1 j=1
Again, just as in section on Double Integrals over Rectangular Regions, the double integral over a polar rectangular region can
be expressed as an iterated integral in polar coordinates. Hence,
θ=β r=b
Notice that the expression for dA is replaced by r dr dθ when working in polar coordinates. Another way to look at the polar
double integral is to change the double integral in rectangular coordinates by substitution. When the function f is given in
terms of x and y using x = r cos θ, y = r sin θ , and dA = r dr dθ changes it to
Note that all the properties listed in section on Double Integrals over Rectangular Regions for the double integral in
rectangular coordinates hold true for the double integral in polar coordinates as well, so we can use them without hesitation.
2 9/5/2021 https://math.libretexts.org/@go/page/21041
Sketch the polar rectangular region
R = {(r, θ) | 1 ≤ r ≤ 3, 0 ≤ θ ≤ π}.
Solution
As we can see from Figure 3, r = 1 and r = 3 are circles of radius 1 and 3 and 0 ≤θ ≤π covers the entire top half of
the plane. Hence the region R looks like a semicircular band.
Solution
First we sketch a figure similar to Figure 3, but with outer radius r = 2 . From the figure we can see that we have
θ=π r=2
θ=π
r=2
3
=∫ cos θ [r ∣∣ ] dθ Integrate first with respect to r.
r=1
θ=0
θ=π
=∫ 7 cos θ dθ
θ=0
θ=π
∣
= 7 sin θ∣ = 0.
∣θ=0
Exercise 1
2
≤θ ≤
π
2
} , and evaluate ∬ .
x dA
R
Hint
Follow the steps in Example 1A.
Answer
14
3 9/5/2021 https://math.libretexts.org/@go/page/21041
2 2
∬ (1 − x − y ) dA
R
2π 1
3
=∫ ∫ (r − r ) dr dθ
0 0
2π 1
2 4
r r
=∫ [ − ] dθ
0 2 4
0
2π
1 π
=∫ dθ = .
0 4 2
∬ (x + y) dA
R
where R = {(x, y) | 1 ≤ x 2
+y
2
≤ 4, x ≤ 0}.
Solution
We can see that Ris an annular region that can be converted to polar coordinates and described as
R = {(r, θ) | 1 ≤ r ≤ 2,
π
≤θ ≤
2
} (see the following graph).
3π
r=2 3π/2
2
= (∫ r dr) ( ∫ (cos θ + sin θ) dθ)
r=1 π/2
3π/2
2
3 ∣
r
= [ ] [sin θ − cos θ] ∣
3
1 ∣
π/2
14
=− .
3
4 9/5/2021 https://math.libretexts.org/@go/page/21041
Exercise 2
Evaluate the integral
2 2
∬ (4 − x − y ) dA
R
Hint
Follow the steps in the previous example.
Answer
8π
2
∬ r sin θ r dr dθ
D
where D is the region bounded by the polar axis and the upper half of the cardioid r = 1 + cos θ .
Solution
We can describe the region D as {(r, θ) | 0 ≤ θ ≤ π, 0 ≤ r ≤ 1 + cos θ} as shown in Figure 6.
5 9/5/2021 https://math.libretexts.org/@go/page/21041
Figure 6: The region D is the top half of a cardioid.
Hence, we have
θ=π r=1+cos θ
2 2
∬ r sin θ r dr dθ = ∫ ∫ (r sin θ) r dr dθ
D θ=0 r=0
r=1+cos θ
θ=π
1 ∣
4
= ∫ [r ]∣ sin θ dθ
4 θ=0 ∣
r=0
θ=π
1
4
= ∫ (1 + cos θ) sin θ dθ
4 θ=0
π
5
1 (1 + cos θ) 8
=− [ ] = .
4 5 5
0
Exercise 3
Evaluate the integral
2 2
∬ r sin 2θ r dr dθ
D
−−−−−
where D = {(r, θ) | 0 ≤ θ ≤ π, 0 ≤ r ≤ 2 √cos 2θ} .
Hint
Graph the region and follow the steps in the previous example.
Answer
π
θ=β r=b
If the base of the solid can be described as D = {(r, θ)|α ≤ θ ≤ β, h1 (θ) ≤ r ≤ h2 (θ)} , then the double integral for the
volume becomes
θ=β r=h2 (θ)
6 9/5/2021 https://math.libretexts.org/@go/page/21041
We illustrate this idea with some examples.
Figure 7: Finding the volume of a solid under a paraboloid and above the unit circle.
Solution
By the method of double integration, we can see that the volume is the iterated integral of the form
2 2
∬ (1 − x − y ) dA
R
2
cubic units.
Figure 8: Finding the volume of a solid with a paraboloid cap and a circular base.
7 9/5/2021 https://math.libretexts.org/@go/page/21041
Solution
First change the disk (x − 1) + y = 1 to polar coordinates. Expanding the square term, we have
2 2
x − 2x + 1 + y = 1 . Then simplify to get x + y = 2x , which in polar coordinates becomes r = 2r cos θ and then
2 2 2 2 2
either r = 0 or r = 2 cos θ . Similarly, the equation of the paraboloid changes to z = 4 − r . Therefore we can describe 2
V =∬ f (r, θ) r dr dθ
D
θ=π 2 cos θ
2 4
r r ∣
=∫ [4 − ∣ ] dθ
θ=0 2 4 ∣
0
π
2 4
=∫ [8 cos θ − 4 cos θ] dθ
0
π
5 5 3
5 3
= [ θ+ sin θ cos θ − sin θ cos θ] = π units .
2 2 2
0
Notice in the next example that integration is not always easy with polar coordinates. Complexity of integration depends on
the function and also on the region over which we need to perform the integration. If the region has a more natural expression
in polar coordinates or if f has a simpler antiderivative in polar coordinates, then the change in polar coordinates is
appropriate; otherwise, use rectangular coordinates.
Solution
First examine the region over which we need to set up the double integral and the accompanying paraboloid.
Figure 9: Finding the volume of a solid under a paraboloid and above a given triangle.
The region D is {(x, y) | 0 ≤ x ≤ 1, x ≤ y ≤ 2 − x} . Converting the lines y = x, x = 0 , and x + y = 2 in the xy-
plane to functions of r and θ we have θ = π/4, θ = π/2 , and r = 2/(cos θ + sin θ) , respectively. Graphing the region
on the xy- plane, we see that it looks like D = {(r, θ) | π/4 ≤ θ ≤ π/2, 0 ≤ r ≤ 2/(cos θ + sin θ)} .
Now converting the equation of the surface gives z =x
2
+y
2
=r
2
. Therefore, the volume of the solid is given by the
double integral
8 9/5/2021 https://math.libretexts.org/@go/page/21041
V =∬ f (r, θ) r dr dθ
D
π/2 4
1 2
= ∫ ( ) dθ
4 π/4 cos θ + sin θ
π/2 4
16 1
= ∫ ( ) dθ
4 π/4
cos θ + sin θ
π/2 4
1
=4∫ ( ) dθ.
π/4
cos θ + sin θ
As you can see, this integral is very complicated. So, we can instead evaluate this double integral in rectangular
coordinates as
1 2−x
2 2
V =∫ ∫ (x + y ) dy dx.
0 x
Evaluating gives
1 2−x
2 2
V =∫ ∫ (x + y ) dy dx
0 x
1 2−x
3
y ∣
2
=∫ [x y + ]∣ dx
0
3 ∣
x
1 3
8 2
8x
=∫ − 4x + 4 x − dx
0 3 3
1
3 4
8x 4x 2x ∣
2
= [ − 2x + − ]∣
3 3 3 ∣
0
4 3
= units .
3
To answer the question of how the formulas for the volumes of different standard solids such as a sphere, a cone, or a cylinder
are found, we want to demonstrate an example and find the volume of an arbitrary cone.
9 9/5/2021 https://math.libretexts.org/@go/page/21041
Figure 10: Finding the volume of a solid inside the cone and above the xy-plane.
We find the equation of the circle by setting z = 0 :
−−−−−−
2 2
0 = 2 − √x +y
−−−−−−
2 2
2 = √x +y
2 2
x +y = 4.
This means the radius of the circle is 2 so for the integration we have 0 ≤ θ ≤ 2π and 0 ≤ r ≤ 2 . Substituting
−−− −−−
x = r cos θ and y = r sin θ in the equation z = 2 − √x + y we have z = 2 − r . Therefore, the volume of the cone
2 2
is
θ=2π r=2
4 8π
∫ ∫ (2 − r) r dr dθ = 2π = cubic units.
θ=0 r=0
3 3
Analysis
Note that if we were to find the volume of an arbitrary cone with radius α units and height h units, then the equation of the
−−− −−−
cone would be z = h − √x + y .
h
a
2 2
3
2
πa h .
Exercise 5
Use polar coordinates to find an iterated integral for finding the volume of the solid enclosed by the paraboloids
2
z = x +y and z = 16 − x − y .
2 2 2
Hint
Sketching the graphs can help.
Answer
2π 2 √2
2
V =∫ ∫ (16 − 2 r ) r dr dθ = 64π cubic units.
0 0
10 9/5/2021 https://math.libretexts.org/@go/page/21041
As with rectangular coordinates, we can also use polar coordinates to find areas of certain regions using a double integral. As
before, we need to understand the region whose area we want to compute. Sketching a graph and identifying the region can be
helpful to realize the limits of integration. Generally, the area formula in double integration will look like
β h2 (θ)
Figure 11: Finding the area of a polar rose with eight petals.
Using symmetry, we can see that we need to find the area of one petal and then multiply it by 8. Notice that the values of
θ for which the graph passes through the origin are the zeros of the function cos 4θ, and these are odd multiples of π/8.
Thus, one of the petals corresponds to the values of θ in the interval [−π/8, π/8]. Therefore, the area bounded by the
curve r = cos 4θ is
θ=π/8 r=cos 4θ
A =8∫ ∫ 1 r dr dθ
θ=−π/8 r=0
θ=π/8 cos 4θ
1 ∣
2
=8∫ [ r ∣ ] dθ
2 ∣
θ=−π/8 0
π/8
1
2
=8∫ cos 4θ dθ
−π/8
2
π/8
1 1 ∣
=8 [ θ+ sin 4θ cos 4θ∣ ]
4 16 ∣
−π/8
π π 2
=8[ ] = units .
16 2
11 9/5/2021 https://math.libretexts.org/@go/page/21041
Figure 12: Finding the area enclosed by both a circle and a cardioid.
We can from see the symmetry of the graph that we need to find the points of intersection. Setting the two equations equal
to each other gives
3 cos θ = 1 + cos θ.
One of the points of intersection is θ = π/3 . The area above the polar axis consists of two parts, with one part defined by
the cardioid from θ = 0 to θ = π/3 and the other part defined by the circle from θ = π/3 to θ = π/2 . By symmetry, the
total area is twice the area above the polar axis. Thus, we have
θ=π/3 r=1+cos θ θ=π/2 r=3 cos θ
A = 2 [∫ ∫ 1 r dr dθ + ∫ ∫ 1 r dr dθ] .
θ=0 r=0 θ=π/3 r=0
Exercise 6
Find the area enclosed inside the cardioid r = 3 − 3 sin θ and outside the cardioid r = 1 + sin θ .
Hint
Sketch the graph, and solve for the points of intersection.
Answer
π/6 3−3 sin θ
– 2
A =2∫ ∫ r dr dθ = (8π + 9 √3) units
−π/2 1+sin θ
12 9/5/2021 https://math.libretexts.org/@go/page/21041
2 2
−10( x +y )
∬ e dx dy.
2
R
Solution
This is an improper integral because we are integrating over an unbounded region R
2
. In polar coordinates, the entire
plane R can be seen as 0 ≤ θ ≤ 2π, 0 ≤ r ≤ ∞ .
2
Using the changes of variables from rectangular coordinates to polar coordinates, we have
θ=2π r=∞ θ=2π r=a
2 2 2 2
−10( x +y ) −10r −10r
∬ e dx dy = ∫ ∫ e r dr dθ = ∫ ( lim ∫ e r dr) dθ
2 a→∞
R θ=0 r=0 θ=0 r=0
θ=2π r=a
2
−10r
= (∫ ) dθ ( lim ∫ e r dr)
a→∞
θ=0 r=0
r=a
2
−10r
= 2π ( lim ∫ e r dr)
a→∞
r=0
1 −10r
2 a
= 2π lim (− ) (e ∣ )
∣
a→∞ 20 0
1 −10a
2
= 2π (− ) lim (e − 1)
20 a→∞
π
= .
10
Exercise 7
Evaluate the integral
2 2
−4( x +y )
∬ e dx dy.
2
R
Hint
Convert to the polar coordinate system.
Answer
π
Key Concepts
To apply a double integral to a situation with circular symmetry, it is often convenient to use a double integral in polar
coordinates. We can apply these double integrals over a polar rectangular region or a general polar region, using an iterated
integral similar to those used with rectangular double integrals.
The area dA in polar coordinates becomes r dr dθ.
Use x = r cos θ, y = r sin θ , and dA = r dr dθ to convert an integral in rectangular coordinates to an integral in polar
coordinates.
y
Use r = x + y and θ = tan ( ) to convert an integral in polar coordinates to an integral in rectangular coordinates,
2 2 2 −1
if needed.
To find the volume in polar coordinates bounded above by a surface z = f (r, θ) over a region on the xy-plane, use a
double integral in polar coordinates.
Key Equations
Double integral over a polar rectangular region R
m n m n
∗ ∗ ∗ ∗ ∗
∬ f (r, θ)dA = lim ∑ ∑ f (r ,θ )ΔA = lim ∑ ∑ f (r ,θ )r ΔrΔθ
ij ij ij ij ij
m,n→∞ m,n→∞
R
i=1 j=1 i=1 j=1
13 9/5/2021 https://math.libretexts.org/@go/page/21041
Double integral over a general polar region
θ=β r2 (θ)
∬ f (r, θ) r dr dθ = ∫ ∫ f (r, θ) r dr dθ
D θ=α r=h1 (θ)
Glossary
polar rectangle
the region enclosed between the circles r = a and r = b and the angles θ = α and θ = β ; it is described as
R = {(r, θ) | a ≤ r ≤ b, α ≤ θ ≤ β}
14 9/5/2021 https://math.libretexts.org/@go/page/21041
Double Integrals in Polar Coordinates (Exercises)
Terms and Concepts
1. When evaluating ∫ ∫ f (x, y) dA using polar coordinates, f (x, y) is replaced with _______ and dA is replaced with
R
_______.
Answer:
f (x, y) is replaced with f (r cos θ, r sin θ) and dA is replaced with r dr dθ .
2. Why would one be interested in evaluating a double integral with polar coordinates?
Answer:
π
R = {(r, θ) | 0 ≤ r ≤ 2, 0 ≤ θ ≤ }
2
Answer:
π
R = {(r, θ) | 4 ≤ r ≤ 5, ≤ θ ≤ π}
2
−−−−−
6) R is the region bounded by the y -axis and x = √1 − y . 2
−−−− −
7) R is the region bounded by the x-axis and y = √2 − x
2
.
Answer:
–
R = {(r, θ) | 0 ≤ r ≤ √2, 0 ≤ θ ≤ π}
8) R = {(x, y) | x 2
+y
2
≤ 4x}
9) R = {(x, y) | x 2
+y
2
≤ 4y}
Answer:
R = {(r, θ) | 0 ≤ r ≤ 4 sin θ, 0 ≤ θ ≤ π}
In exercises 10 - 15, the graph of the polar rectangular region D is given. Express D in polar coordinates.
10)
1 9/5/2021 https://math.libretexts.org/@go/page/21042
11)
Answer:
π π
D = {(r, θ) | 3 ≤ r ≤ 5, ≤θ ≤ }
4 2
12)
13)
Answer:
3π 5π
D = {(r, θ) | 3 ≤ r ≤ 5, ≤θ ≤ }
4 4
14) In the following graph, the region D is situated below y = x and is bounded by x = 1, x = 5 , and y = 0 .
2 9/5/2021 https://math.libretexts.org/@go/page/21042
15) In the following graph, the region D is bounded by y = x and y = x . 2
Answer:
π
D = {(r, θ) | 0 ≤ r ≤ tan θ sec θ, 0 ≤ θ ≤ }
4
16) f (x, y) = x2
+y
2
, R = {(r, θ) | 3 ≤ r ≤ 5, 0 ≤ θ ≤ 2π}
17) f (x, y) = x + y , R = {(r, θ) | 3 ≤ r ≤ 5, 0 ≤ θ ≤ 2π}
Answer:
0
18) f (x, y) = x2
+ xy, R = {(r, θ) | 1 ≤ r ≤ 2, π ≤ θ ≤ 2π}
19) f (x, y) = x4 4
+ y , R = {(r, θ) | 1 ≤ r ≤ 2,
3π
2
≤ θ ≤ 2π}
Answer:
63π
16
3 9/5/2021 https://math.libretexts.org/@go/page/21042
−−−−−−
20) f (x, y) = √x 3
2
+y
2
, where R = {(r, θ) | 0 ≤ r ≤ 1, π
2
≤ θ ≤ π} .
21) f (x, y) = x 4
+ 2x y
2 2
+y
4
, where R = {(r, θ) | 3 ≤ r ≤ 4, π
3
≤θ ≤
2π
3
} .
Answer:
3367π
18
y
22) f (x, y) = sin(arctan x
, where R = {(r, θ) | 1 ≤ r ≤ 2,
)
π
6
≤θ ≤
π
3
}
y
23) f (x, y) = arctan( x
, where R = {(r, θ) | 2 ≤ r ≤ 3,
)
π
4
≤θ ≤
π
3
}
Answer:
2
35π
576
2 2 y π π
24) ∬ e
x +y
[1 + 2 arctan( )] dA, R = {(r, θ) | 1 ≤ r ≤ 2, ≤θ }
R
x 6 3
2 2 y π π
25) ∬ (e
x +y
+x
4
+ 2x y
2 2 4
+ y ) arctan( ) dA, R = {(r, θ) | 1 ≤ r ≤ 2, ≤θ ≤ }
R x 4 3
Answer:
7 2 4
π (21 − e + e )
576
26) ∫ ∫ (x
2 2
+ y ) dy dx = ∫ ∫ r
3
dr dθ
1 0 0 sec θ
Answer:
5 –
ln(3 + 2 √2)
4
Answer:
1 –
(2 − √2)
6
In exercises 30 - 37, draw the region of integration, R , labeling all limits of integration, convert the integrals to polar
coordinates and evaluate them.
3 √9−y 2
30) ∫ ∫ dx dy
0 0
2
2 √4−y
31) ∫ ∫ dx dy
0 −√4−y 2
Answer:
4 9/5/2021 https://math.libretexts.org/@go/page/21042
π 2
5
32π
∫ ∫ r dr dθ =
0 0
3
1 √1−x2
32) ∫ ∫ (x + y) dy dx
0 0
4 √16−x2
33) ∫ ∫ sin(x
2 2
+ y ) dy dx
2
0 −√16−x
Answer:
π/2 4
2 2
∫ ∫ r sin(r ) dr dθ = π sin 8
−π/2 0
5 √25−x2
−−−−−−
34) ∫ ∫ √x
2
+y
2
dy dx
0 −√25−x2
4 0
35) ∫ ∫ (2y − x) dx dy
2
−4 −√16−y
Answer:
3π
4
2 128
∫ ∫ (2r sin θ − r cos θ) r dr dθ =
π
0 3
2
2
2 √8−y
36) ∫ ∫ (x + y) dx dy
0 y
37) ∫ ∫ (x + 5) dy dx + ∫ ∫ (x + 5) dy dx + ∫ ∫ (x + 5) dy dx
−2 0 −1 √1−x2 1 0
Answer:
π 2
15π
∫ ∫ (r cos θ + 5) r dr dθ =
0 1
2
38) Evaluate the integral ∬ r dA where D is the region bounded by the polar axis and the upper half of the cardioid
D
r = 1 + cos θ .
39) Find the area of the region D bounded by the polar axis and the upper half of the cardioid r = 1 + cos θ .
Answer:
3π
40) Evaluate the integral ∬ r dA, where D is the region bounded by the part of the four-leaved rose r = sin 2θ situated in
D
5 9/5/2021 https://math.libretexts.org/@go/page/21042
41) Find the total area of the region enclosed by the four-leaved rose r = sin 2θ (see the figure in the previous exercise).
Answer:
π
−−−−− –
42) Find the area of the region D which is the region bounded by y = √4 − x , x = √3 , x = 2 , and y = 0 .
2
43) Find the area of the region D, which is the region inside the disk x 2
+y
2
≤4 and to the right of the line x = 1 .
Answer:
1 –
(4π − 3 √3)
3
4
(see the following graph).
π
−−−−−−
45) Determine the average value of the function f (x, y) = √x 2
+y
2
over the region D bounded by the polar curve
r = 3 sin 2θ , where 0 ≤ θ ≤ (see the following graph).
π
6 9/5/2021 https://math.libretexts.org/@go/page/21042
Answer:
16
3π
46) Find the volume of the solid situated in the first octant and bounded by the paraboloid z = 1 − 4x 2
− 4y
2
and the planes
x = 0, y = 0 , and z = 0 .
Answer:
π
18
48)
1. Find the volume of the solid S bounded by the cylinder x + y = 1 and the planes z = 0 and z = 1 .
1
2 2
2. Find the volume of the solid S outside the double cone z = x + y inside the cylinder x + y = 1 , and above the
2
2 2 2 2 2
plane z = 0 .
3. Find the volume of the solid inside the cone z = x + y and below the plane z = 1 by subtracting the volumes of the
2 2 2
solids S and S .
1 2
49)
1. Find the volume of the solid S inside the unit sphere x + y + z = 1 and above the plane z = 0 .
1
2 2 2
2. Find the volume of the solid S inside the double cone (z − 1) = x + y and above the plane z = 0 .
2
2 2 2
3. Find the volume of the solid outside the double cone (z − 1) = x + y and inside the sphere x + y + z
2 2 2 2 2 2
=1 .
Answer:
a. 2π
3
; b. π
2
; c. π
In Exercises 50-51, special double integrals are presented that are especially well suited for evaluation in polar
coordinates.
50) The surface of a right circular cone with height h and base radius a can be described by the equation
−−−−−−
2
y
, where the tip of the cone lies at (0, 0, h) and the circular base lies in the xy-plane, centered at the
2
x
f (x, y) = h − h √ +
a2 a2
origin.
Confirm that the volume of a right circular cone with height h and base radius a is V =
1
3
2
πa h by evaluating
∫ ∫ f (x, y) dA in polar coordinates.
R
7 9/5/2021 https://math.libretexts.org/@go/page/21042
2 2
51) Consider ∫ ∫ e
−( x +y )
dA.
R
(a) Why is this integral difficult to evaluate in rectangular coordinates, regardless of the region R ?
(b) Let R be the region bounded by the circle of radius a centered at the origin. Evaluate the double integral using polar
coordinates.
(c) Take the limit of your answer from (b), as a → ∞ . What does this imply about the volume under the surface of e
2 2
−( x +y )
52) If the sphere has radius 4 and the cylinder has radius 2 find the volume of the spherical ring.
53) A cylindrical hole of diameter 6 cm is bored through a sphere of radius 5 cm such that the axis of the cylinder passes
through the center of the sphere. Find the volume of the resulting spherical ring.
Answer:
256π 3
cm
3
54) Find the volume of the solid that lies under the double cone z 2
= 4x
2
+ 4y
2
, inside the cylinder x 2
+y
2
=x , and above
the plane z = 0 .
55) Find the volume of the solid that lies under the paraboloid z =x
2
+y
2
, inside the cylinder x
2
+y
2
=1 and above the
plane z = 0 .
Answer:
3π
32
56) Find the volume of the solid that lies under the plane x + y + z = 10 and above the disk x 2
+y
2
= 4x .
57) Find the volume of the solid that lies under the plane 2x + y + 2z = 8 and above the unit disk x 2
+y
2
=1 .
Answer:
4π
58) A radial function f is a function whose value at each point depends only on the distance between that point and the origin
−−− −−−
of the system of coordinates; that is, f (x, y) = g(r) , where r = √x + y . Show that if f is a continuous radial function,
2 2
then
′
∬ f (x, y)dA = (θ2 − θ1 )[G(R2 ) − G(R1 )], where G (r) = rg(r) (1)
D
59) Use the information from the preceding exercise to calculate the integral ∬ (x
2 2 3
+ y ) dA, where D is the unit disk.
D
Answer:
8 9/5/2021 https://math.libretexts.org/@go/page/21042
π
′
F (r)
60) Let f (x, y) = be a continuous radial function defined on the annular region
r
D = (r, θ)| R1 ≤ r ≤ R2 , 0 ≤ θ2π ,
− −−−−−
where r = √x + y , 0 < R < R , and F is a differentiable function.
2 2
1 2
√x2 +y 2
e
61) Apply the preceding exercise to calculate the integral ∬
−−−−−−
dx dy where D is the annular region between the
2 2
D √x + y
Answer:
1
πe(e − 1)
2
62) Let f be a continuous function that can be expressed in polar coordinates as a function of θ only; that is, f (x, y) = h(θ) ,
where (x, y) ∈ D = (r, θ)|R ≤ r ≤ R , θ ≤ θ ≤ θ , with 0 ≤ R < R and 0 ≤ θ < θ ≤ 2π .
1 2 1 2 1 2 1 2
1
Show that ∬ f (x, y) dA =
2
(R
2
2
− R )[H (θ2 ) − H (θ1 )]
1
, where H is an antiderivative of h .
D
2
2
y
63) Apply the preceding exercise to calculate the integral ∬ 2
dA, where D = {(r, θ) | 1 ≤ r ≤ 2, π
6
≤θ ≤
π
3
}.
D x
Answer:
– π
√3 −
4
64) Let f be a continuous function that can be expressed in polar coordinates as a function of θ only; that is
f (x, y) = g(r)h(θ) , where (x, y) ∈ {(r, θ) | R ≤ r ≤ R , θ ≤ θ ≤ θ } with 0 ≤ R < R and 0 ≤ θ
1 2 1 2 1 2 1 < θ2 ≤ 2π . Show
that
4
≤θ ≤
π
3
} .
D x
Answer:
3
133π
864
66) A spherical cap is the region of a sphere that lies above or below a given plane.
a. Show that the volume of the spherical cap in the figure below is 1
6
πh(3 a
2 2
+h ) .
9 9/5/2021 https://math.libretexts.org/@go/page/21042
b. A spherical segment is the solid defined by intersecting a sphere with two parallel planes. If the distance between the planes
is h show that the volume of the spherical segment in the figure below is πh(3a + 3b + h ) . 1
6
2 2 2
67) In statistics, the joint density for two independent, normally distributed events with a mean μ =0 and a standard
2 2
x +y
−
distribution σ is defined by p(x, y) = 1
2πσ
e 2
. Consider (X, Y ), the Cartesian coordinates of a ball in the resting position
2σ
2
after it was released from a position on the z-axis toward the xy-plane. Assume that the coordinates of the ball are
independently normally distributed with a mean μ = 0 and a standard deviation of σ (in feet). The probability that the ball will
stop no more than a feet from the origin is given by
2 2 2
P [X +Y ≤a ] =∬ p(x, y)dy dx, (3)
D
2 2
10 9/5/2021 https://math.libretexts.org/@go/page/21042
∞ ∞
2 2 2 2
−x +y /2 −x +y /2
∫ ∫ e dy dx = lim ∬ e dA. (6)
a→∞
−∞ −∞ Da
∞ ∞
2 2
∞
2
−−
69) Show that ∫ e
−x /2
dx = √2π by using the relation
−∞
∞ ∞ ∞ ∞
2 2 2 2
−x +y /2 −x /2 −y /2
∫ ∫ e dy dx = ( ∫ e dx) ( ∫ e dy) . (7)
−∞ −∞ −∞ −∞
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Problems 1, 2, 34 - 37 and 50 - 51 are from Apex Calculus, Chapter 13.3
Edited by Paul Seeburger (Monroe Community College)
11 9/5/2021 https://math.libretexts.org/@go/page/21042
Double Integration with Polar Coordinates
We have used iterated integrals to evaluate double integrals, which give the signed volume under a surface, z = f (x, y) , over a
region R of the xy-plane. The integrand is simply f (x, y), and the bounds of the integrals are determined by the region R .
Some regions R are easy to describe using rectangular coordinates -- that is, with equations of the form y = f (x), x = a , etc.
However, some regions are easier to handle if we represent their boundaries with polar equations of the form r = f (θ) , θ = α ,
etc.
The basic form of the double integral is ∬ f (x, y) dA . We interpret this integral as follows: over the region R , sum up lots
R
of products of heights (given by f (x , y )) and areas (given by ΔA ). That is, dA represents "a little bit of area.'' In
i i i
rectangular coordinates, we can describe a small rectangle as having area dx dy or dy dx -- the area of a rectangle is simply
length×width -- a small change in x times a small change in y . Thus we replace dA in the double integral with dx dy or
dy dx.
FIGURE 1
Now consider representing a region R with polar coordinates. Consider Figure 1(a). Let R be the region in the first quadrant
bounded by the curve. We can approximate this region using the natural shape of polar coordinates: portions of sectors of
circles. In the figure, one such region is shaded, shown again in part (b) of the figure.
As the area of a sector of a circle with radius r, subtended by an angle θ , is A = r θ , we can find the area of the shaded
1
2
2
region. The whole sector has area r Δθ, whereas the smaller, unshaded sector has area r Δθ. The area of the shaded
1
2
2
2
1
2
2
1
Note that (r2 + r1 )/2 is just the average of the two radii.
To approximate the region R , we use many such subregions; doing so shrinks the difference r − r between radii to 0 and 2 1
shrinks the change in angle Δθ also to 0. We represent these infinitesimal changes in radius and angle as dr and dθ ,
respectively. Finally, as dr is small, r ≈ r , and so (r + r )/2 ≈ r . Thus, when dr and dθ are small,
2 1 2 1 1
Taking a limit, where the number of subregions goes to infinity and both r 2 − r1 and Δθ go to 0, we get
So to evaluate ∬ , replace
f (x, y) dA dA with r dr dθ . Convert the function z = f (x, y) to a function with polar
R
coordinates with the substitutions x = r cos θ , y = r sin θ . Finally, find bounds g 1 (θ) ≤ r ≤ g2 (θ) and α ≤θ ≤β that
describe R . This is the key principle of this section, so we restate it here as a Key Idea.
key idea: Evaluating Double Integrals with Polar Coordinates
Let R be a plane region bounded by the polar equations α ≤ θ ≤ β and g 1 (θ) ≤ r ≤ g2 (θ) . Then
β g2 (θ)
SOLUTION
The bounds of the integral are determined solely by the region R over which we are integrating. In this case, it is a circle
with equation x + y = 1 . We need to find polar bounds for this region. It may help to review Section ??? ; bounds for
2 2
Finally, we replace dA in the double integral with r dr dθ. This gives the final iterated integral, which we evaluate:
2π 1
2π 1
2
=∫ ∫ (4r − r (cos θ − 2 sin θ))dr dθ
0 0
2π 1
1 ∣
2 3
=∫ (2 r − r (cos θ − 2 sin θ)) ∣ dθ
0 3 ∣
0
2π
1
=∫ (2 − ( cos θ − 2 sin θ)) dθ
0
3
2π
1 ∣
= (2θ − ( sin θ + 2 cos θ)) ∣
3 ∣ 0
= 4π ≈ 12.566.
FIGURE 2
and (x − 2) + y = 4 .
2 2
SOLUTION
At first glance, this seems like a very hard volume to compute as the region R (shown in Figure ??? (a)) has a hole in it,
cutting out a strange portion of the surface, as shown in part (b) of the figure. However, by describing R in terms of polar
equations, the volume is not very difficult to compute.
FIGURE 3
It is straightforward to show that the circle (x − 1) + y = 1 has polar equation r = 2 cos θ , and that the circle
2 2
2
(x − 2 ) + y = 4
2
has polar equation r = 4 cos θ . Each of these circles is traced out on the interval 0 ≤ θ ≤ π . The
bounds on r are 2 cos θ ≤ r ≤ 4 cos θ.
Replacing x with r cos θ in the integrand, along with replacing y with r sin θ , prepares us to evaluate the double integral
∬ f (x, y) dA :
R
π 4 cos θ
3 2
=∫ ∫ (−r + 4r cos θ)dr dθ
0 2 cos θ
π 4 cos θ
1 4 ∣
4 3
=∫ (− r + r cos θ) ∣ dθ
0 4 3 ∣
2 cos θ
π
1 4
4 4
=∫ ([− (256 cos θ) + (64 cos θ)] −
0
4 3
1 4
4 4
[− (16 cos θ) + (8 cos θ)]) dθ
4 3
π
44
4
=∫ cos θ dθ.
0
3
To integrate cos4
θ , rewrite it as cos
2
θ cos
2
θ and employ the power-reducing formula twice:
4 2 2
cos θ = cos θ cos θ
1 1
= (1 + cos(2θ)) (1 + cos(2θ))
2 2
1
2
= (1 + 2 cos(2θ) + cos (2θ))
4
1 1
= (1 + 2 cos(2θ) + (1 + cos(4θ)))
4 2
3 1 1
= + cos(2θ) + cos(4θ).
8 2 8
11
= π ≈ 17.279.
2
While this example was not trivial, the double integral would have been much harder to evaluate had we used rectangular
coordinates.
1 1 1
⇒ = . (6)
2 2 2 2 2 2 2
x +y +1 r cos θ+r sin θ+1 r +1
π/2
1
2
=∫ ln(a + 1)dθ
0
2
π/2
1 ∣
2
= ( ln(a + 1)θ) ∣
2 ∣
0
π
2
= ln(a + 1).
4
Figure ??? shows that f shrinks to near 0 very quickly. Regardless, as a grows, so does the volume, without bound.
Note: Previous work has shown that there is finite area under 1
x2 +1
over the entire x-axis. However, Example ??? shows
that there is infinite volume under 1
x2 +y 2 +1
over the entire xy-plane.
SOLUTION
The sphere of radius a , centered at the origin, has equation x + y + z = a ; solving for z , we have 2 2 2 2
− −−−−−−−− −
2
z = √a − x − y
2 2
. This gives the upper half of a sphere. We wish to find the volume under this top half, then double it
to find the total volume.
The region we need to integrate over is the circle of radius a , centered at the origin. Polar bounds for this equation are
0 ≤ r ≤ a , 0 ≤ θ ≤ 2π .
2π a
− −−−−−
2 2
=2∫ ∫ r√ a − r dr dθ.
0 0
2π 0
2 ∣
3/2
=∫ (− u )∣ dθ
0 3 ∣ 2
a
2π
2
3
=∫ ( a ) dθ
0 3
2π
2 ∣
3
=( a θ) ∣
3 ∣
0
4
3
= πa .
3
Generally, the formula for the volume of a sphere with radius r is given as 4/3πr ; we have justified this formula with our
3
calculation.
FIGURE 5
SOLUTION
From the outset, we should recognize that knowing how to set up this problem is probably more important than knowing
how to compute the integrals. The iterated integral to come is not "hard'' to evaluate, though it is long, requiring lots of
algebra. Once the proper iterated integral is determined, one can use readily--available technology to help compute the final
answer.
The region R that we are integrating over is bound by 0 ≤ r ≤ cos(3θ) , for 0 ≤ θ ≤ π (note that this rose curve is traced
out on the interval [0, π], not [0, 2π]). This gives us our bounds of integration. The integrand is z = 1 − x + 0.1y ;
converting to polar, we have that the volume V is:
π cos(3θ)
This integral takes time to compute by hand; it is rather long and cumbersome. The powers of cosine need to be reduced,
and products like cos(3θ) cos θ need to be turned to sums using the Product To Sum formulas in the back cover of this text.
2
2
cos (3θ) as 1
4
(1 + cos(6θ)) . We can also rewrite 1
3
3
cos (3θ) cos θ as:
1 3
1 2
1 1 + cos(6θ)
cos (3θ) cos θ = cos (3θ) cos(3θ) cos θ = ( cos(4θ) + cos(2θ)). (10)
3 3 3 2
This last expression still needs simplification, but eventually all terms can be reduced to the form a cos(mθ) or a sin(mθ)
for various values of a and m.
We forgo the algebra and recommend the reader employ technology, such as WolframAlpha, to compute the numeric
answer. Such technology gives:
π cos(3θ)
π
3
∫ ∫ (1 − r cos θ + 0.1r sin θ)rdrdθ = ≈ 0.785 u . (11)
0 0
4
Since the units were not specified, we leave the result as almost 0.8 cubic units (meters, feet, etc.) Should the artist want to
scale the piece uniformly, so that each rose petal had a length other than 1, she should keep in mind that scaling by a factor
of k scales the volume by a factor of k . 3
We have used iterated integrals to find areas of plane regions and volumes under surfaces. Just as a single integral can be used
to compute much more than "area under the curve,'' iterated integrals can be used to compute much more than we have thus far
seen. The next two sections show two, among many, applications of iterated integrals.
1 9/5/2021 https://math.libretexts.org/@go/page/21050
Iterated Integrals and Area
In the previous chapter we found that we could differentiate functions of several variables with respect to one variable, while
treating all the other variables as constants or coefficients. We can integrate functions of several variables in a similar way. For
instance, if we are told that f (x, y) = 2xy, we can treat y as staying constant and integrate to obtain f (x, y):
x
f (x, y) = ∫ fx (x, y) dx
=∫ 2xy dx
2
= x y + C.
Make a careful note about the constant of integration, C . This "constant'' is something with a derivative of 0 with respect to x,
so it could be any expression that contains only constants and functions of y . For instance, if
f (x, y) = x y + sin y + y + 17 , then f (x, y) = 2xy. To signify that C is actually a function of y , we write:
2 3
x
2
f (x, y) = ∫ fx (x, y) dx = x y + C (y). (1)
Solution
We find the indefinite integral as before, then apply the Fundamental Theorem of Calculus to evaluate the definite
integral:
2y
2y
2 ∣
∫ 2xy dx = x y
∣
1
1
2 2
= (2y ) y − (1 ) y
3
= 4y − y.
and
g2 (x)
g2 (x)
∣
∫ fy (x, y) dy = f (x, y) = f (x, g2 (x)) − f (x, g1 (x)). (3)
∣g (x)
g (x) 1
1
Note that when integrating with respect to x, the bounds are functions of y (of the form x = h (y) and x = h (y) ) and the 1 2
final result is also a function of y . When integrating with respect to y , the bounds are functions of x (of the form y = g (x) 1
and y = g (x) ) and the final result is a function of x. Another example will help us understand this.
2
Evaluate ∫ 3
(5 x y
−3
+ 6 y ) dy
2
.
1
Solution
5 3 −2 3
5 3
= (− x x + 2 x ) − (− x + 2)
2 2
9 5
3
= x − x − 2.
2 2
Note how the bounds of the integral are from y = 1 to y = x and that the final answer is a function of x.
In the previous example, we integrated a function with respect to y and ended up with a function of x. We can integrate this as
well. This process is known as iterated integration, or multiple integration.
Evaluate ∫ (∫
3
(5 x y
−3 2
+ 6 y ) dy) dx.
1 1
Solution
We follow a standard "order of operations'' and perform the operations inside parentheses first (which is the integral
evaluated in Example 2.)
2 x 2 3 −2 3 x
5x y 6y ∣
3 −3 2
∫ (∫ (5 x y + 6 y ) dy) dx =∫ ([ + ] ∣ ) dx
1 1 1
−2 3 ∣
1
2
9 5
3
=∫ ( x − x − 2) dx
1
2 2
2
9 5 ∣
4 2
=( x − x − 2x) ∣
8 4 ∣
1
89
= .
8
Note how the bounds of x were x = 1 to x = 2 and the final result was a number.
The previous example showed how we could perform something called an iterated integral; we do not yet know why we would
be interested in doing so nor what the result, such as the number 89/8, means. Before we investigate these questions, we offer
some definitions.
b g2 (x) b g2 (x)
With ∫ ∫ ,
f (x, y) dx dy x varies from h1 (y) to h2 (y) , whereas y varies from c to d . That is, the bounds of x are
c h1 (y)
curves, the curves x = h (y) and x = h (y) , whereas the bounds of y are constants, y = c and y = d . It is useful to
1 2
remember that when setting up and evaluating such iterated integrals, we integrate "from curve to curve, then from point to
point.''
We now begin to investigate why we are interested in iterated integrals and what they mean.
In short: a certain iterated integral can be viewed as giving the area of a plane region.
A region R could also be defined by c ≤ y ≤ d and h (y) ≤ x ≤ h 1 2 (y) , as shown in Figure 2. Using a process similar to that
above, we have
$$\text{the area of }R = \int_c^d\int_{h_1(y)}^{h_2(y)} \,dx \,dy.\]
1. Let R be a plane region bounded by a ≤ x ≤ b and g 1 (x) ≤ y ≤ g2 (x) , where g and g are continuous functions on
1 2
b g2 (x)
A =∫ ∫ dy dx. (7)
a g1 (x)
2. Let R be a plane region bounded by c ≤ y ≤ d and h 1 (y) ≤ x ≤ h2 (y) , where h and h are continuous functions on
1 2
d h2 (y)
A =∫ ∫ dx dy. (8)
c h1 (y)
A =∫ ∫ dx dy
1 y
y+5
5
∣ 2
=∫ (x ) dy
∣
y
1
5
1 5
=∫ (− y+ ) dy
1
2 2
1 5 5
2 ∣
= (− y + y)
∣
4 2 1
= 4.
We can also find the area by integrating with respect to y first. In this situation, though, we have two functions that act as
the lower bound for the region R , y = 1 and y = 2x − 5 . This requires us to use two iterated integrals. Note how the x-
bounds are different for each integral:
3 x 5 x
A =∫ ∫ 1 dy dx + ∫ ∫ 1 dy dx
1 1 3 2x−5
3 5
x x
∣ ∣
=∫ (y) dx + ∫ (y) dx
∣ ∣
1 2x−5
1 3
3 5
=∫ (x − 1) dx + ∫ ( − x + 5) dx
1 3
=2 + 2
= 4.
Using dx dy :
4 √y 4
2 1 4 4
3/2 2 ∣
∫ ∫ 1 dx dy = ∫ (√y − y/2) dy = ( y − y ) = . (10)
∣
0 y/2 0
3 4 0 3
∫ ∫ 1 dy dx = ∫ ∫ 1 dx dy. (11)
a c c a
When the inner integral's bounds are not constants, it is generally very useful to sketch the bounds to determine what the
region we are integrating over looks like. From the sketch we can then rewrite the integral with the other order of integration.
Examples will help us develop this skill.
Solution
We need to use the bounds of integration to determine the region we are integrating over.
The bounds tell us that y is bounded by 0 and x/3; x is bounded by 0 and 6. We plot these four curves: y = 0 , y = x/3,
x = 0 and x = 6 to find the region described by the bounds. Figure 6 shows these curves, indicating that R is a triangle.
x = 3y and the upper bound is x = 6 . The bounds on y are 0 to 2. Thus we can rewrite the integral as ∫ ∫ 1 dx dy.
0 3y
Solution
We sketch the region described by the bounds to help us change the integration order. x is bounded below and above (i.e.,
to the left and right) by x = y /4 and x = (y + 4)/2 respectively, and y is bounded between 0 and 4. Graphing the
2
This section has introduced a new concept, the iterated integral. We developed one application for iterated integration: area
between curves. However, this is not new, for we already know how to find areas bounded by curves.
In the next section we apply iterated integration to solve problems we currently do not know how to handle. The "real" goal of
this section was not to learn a new way of computing area. Rather, our goal was to learn how to define a region in the plane
using the bounds of an iterated integral. That skill is very important in the following sections.
Answer:
The constant of integration will be C (y) since y is considered a constant in the integration and thus, the original
function f could have terms that are functions of y that were lost when taking the partial derivative with respect to
the variable x .
Answer:
iterated integration or multiple integration
b g2 (x)
3. When evaluating an iterated integral of the form ∫ ∫ dy dx , we integrate from _______ to ________, then from
a g (x)
1
_________ to __________.
Answer:
We integrate from bottom to top, then from left to right. Here, from y = g (x) to y = g 1 2 (x) , then from x = a to
x = b.
More generally, we integrate from curve to curve and then from point to point.
b g2 (x)
4. One understanding of an iterated integral is that ∫ ∫ dy dx gives the _______ of a plane region.
a g (x)
1
Answer:
area
Problems
In Exercises 5-10, evaluate the integral and subsequent iterated integral.
5
5. (a) ∫ (6 x
2
+ 4xy − 3 y ) dy
2
2
2 5
(b) ∫ ∫ (6 x
2
+ 4xy − 3 y ) dy dx
2
−3 2
Answer:
5 5
∣
(a) ∫ (6 x
2 2
+ 4xy − 3 y ) dy =
2
(6 x y + 2x y
2 3
−y )∣ = 30 x
2
+ 50x − 125 − (12 x
2
+ 8x − 8)
∣2
2
2
= 18 x + 42x − 117
2 5 2 2
∣
(b) ∫ ∫
2
(6 x
2
+ 4xy − 3 y ) dy dx = ∫ (18 x
2
+ 42x − 117) dx = (6 x
3
+ 21 x
2
− 117x) ∣
∣
−3 2 −3 −3
1 9/5/2021 https://math.libretexts.org/@go/page/21035
x
7. (a) ∫ 2
(x y − y + 2) dy
1
2 x
(b) ∫ ∫
2
(x y − y + 2) dy dx
0 1
Answer:
x x
2 2 2
x y y ∣ 4 2 2
(a) ∫ 2
(x y − y + 2) dy = (
2
−
2
+ 2y) ∣ =
x
2
−
x
2
+ 2x − (
x
2
−
1
2
+ 2)
∣
1 1
4
x 2 3
= −x + 2x −
2 2
2 x 2 4 2
x 3 5 3
∣
(b) ∫ ∫
2
(x y − y + 2) dy dx = ∫ ( −x
2
+ 2x − ) dx = (
x
10
−
x
3
+x
2
−
3
2
x) ∣
2 2 ∣0
0 1 0
32 8 96 80 30
23
= − +4 −3 −0 = − + =
10 3 30 30 30
15
2
y
8. (a) ∫ (x − y) dx
y
2
1 y
(b) ∫ ∫ (x − y) dx dy
−1 y
Answer:
y y
∣
(a) ∫ (cos x sin y) dx = (sin x sin y) ∣ = sin
2
y
∣0
0
1
π y π π π
1 − cos 2y y− sin 2y
2 ∣
(b) ∫ ∫ (cos x sin y) dx dy = ∫ sin
2
y dy = ∫ dy = ∣
2 2 ∣
0 0 0 0 0
π
π
= −0 =
2
2
x
1
10. (a) ∫ (
2
) dy
0 1 +x
2 x
1
(b) ∫ ∫ (
2
) dy dx
1 0 1 +x
In Exercises 11-16, a graph of a planar region R is given. Give the iterated integrals, with both orders of integration
dy dx and dx dy, that give the area of R . Evaluate one of the iterated integrals to find the area.
11.
Answer:
4 1 1 4
Area = ∫ ∫ 1 dy dx = ∫ ∫ 1 dx dy
1 −2 −2 1
1 4 1 4 1 1
∣ ∣ 2
∫ ∫ 1 dx dy = ∫ x∣ dy = ∫ 3 dy = 3y ∣ = 3(3) = 9 units
∣ ∣
−2 1 −2 1 −2 −2
2 9/5/2021 https://math.libretexts.org/@go/page/21035
12.
13.
Answer:
4 7−x 3 y+1 5 7−y
Area = ∫ ∫ 1 dy dx = ∫ ∫ 1 dx dy + ∫ ∫ 1 dx dy
2 x−1 1 2 3 2
4 7−x 4 7−x 4 4
∣ 2 ∣
∫ ∫ 1 dy dx = ∫ y∣ dx = ∫ (8 − 2x) dx = (8x − x )∣ = 32 − 16 − 16 + 4
∣ ∣
2 x−1 2 x−1 2 2
2
= 4 units
14.
15.
Answer:
4
1 √x 1 √y
Area = ∫ ∫ 1 dy dx = ∫ ∫ 1 dx dy
4 2
0 x 0 y
1 √x 1 √x 1 1
5
∣ − 4 2 3/2 x ∣ 2 1
∫ ∫ dy dx = ∫ y∣ dx = ∫ (√x − x ) dx = ( x − )∣ = −
∣x4 3 5 ∣0 3 5
4
0 x 0 0
10 3
7 2
= − = units
15 15
15
3 9/5/2021 https://math.libretexts.org/@go/page/21035
16.
In Exercises 17-22, iterated integrals are given that compute the area of a region R in the xy-plane. Sketch the region
R, and give the iterated integral(s) that give the area of R with the opposite order of integration.
2
2 4−x
17. ∫ ∫ dy dx
−2 0
Answer:
2
2 4−x 4 √4−y
∫ ∫ dy dx = ∫ ∫ dx dy
−2 0 0 −√4−y
2
1 5−5x
18. ∫ ∫ dy dx
0 5−5x
2 2 √4−y 2
19. ∫ ∫ dx dy
−2 0
Answer:
1
2
2 2 √4−y 4 √16−x2
2
∫ ∫ dx dy = ∫ ∫ dy dx
1
−2 0 0 − √16−x2
2
3 √9−x2
20. ∫ ∫ dy dx
2
−3 −√9−x
4 9/5/2021 https://math.libretexts.org/@go/page/21035
1 √y 4 √y
21. ∫ ∫ dx dy + ∫ ∫ dx dy
0 −√y 1 y−2
Answer:
1 √y 4 √y 2 x+2
∫ ∫ dx dy + ∫ ∫ dx dy = ∫ ∫ dy dx
2
0 −√y 1 y−2 −1 x
1 (1−x)/2
22. ∫ ∫ dy dx
−1 (x−1)/2
5 9/5/2021 https://math.libretexts.org/@go/page/21035
Multiple Integration (Exercises)
13.1: Iterated Integrals and Area
Terms and Concepts
1. When integrating fx (x, y) with respect to x, the constant of integration C is really which: C (x) or C (y) ? What does this
mean?
2. Integrating an integral is called _________ __________.
3. When evaluating an iterated integral, we integrate from _______ to ________, then from _________ to __________.
b g2 (x)
4. One understanding of an iterated integral is that ∫ ∫ dy dx gives the _______ of a plane region.
a g (x)
1
Problems
In Exercises 5-10, evaluate the integral and subsequent iterated integral.
5.
5
(a) ∫ (6 x
2
+ 4xy − 3 y ) dy
2
2
2 5
(b) ∫ ∫ (6 x
2 2
+ 4xy − 3 y ) dy dx
−3 2
6.
π
7.
x
(a) ∫ 2
(x y − y + 2) dy
1
2 x
(b) ∫ ∫
2
(x y − y + 2) dy dx
0 1
8.
2
y
(a) ∫ (x − y) dx
y
2
1 y
(b) ∫ ∫ (x − y) dx dy
−1 y
9.
y
10.
x
1
(a) ∫ (
2
) dy
0 1 +x
2 x
1
(b) ∫ ∫ (
2
) dy dx
1 0 1 +x
In Exercises 11-16, a graph of a planar region R is given. Give the iterated integrals, with both orders of integration
dy dx and dx dy, that give the area of R . Evaluate one of the iterated integrals to find the area.
1 9/5/2021 https://math.libretexts.org/@go/page/21049
11.
12.
13.
14.
15.
16.
In Exercises 17-22, iterated integrals are given that compute the area of a region R in the xy-plane. Sketch the region
R, and give the iterated integral(s) that give the area of R with the opposite order of integration.
2 9/5/2021 https://math.libretexts.org/@go/page/21049
2
2 4−x
17. ∫ ∫ dy dx
−2 0
2
1 5−5x
18. ∫ ∫ dy dx
0 5−5x
2
2 2 √4−y
19. ∫ ∫ dx dy
−2 0
3 √9−x2
20. ∫ ∫ dy dx
2
−3 −√9−x
1 √y 4 √y
21. ∫ ∫ dx dy + ∫ ∫ dx dy
0 −√y 1 y−2
1 (1−x)/2
22. ∫ ∫ dy dx
−1 (x−1)/2
g1 (y)
f (x, y) dx dy ."
Problems
In Exercises 5-10,
(a) Evaluate the given iterated integral, and
(b) rewrite the integral using the other order of integration.
2 1
5. ∫ 1
∫
−1
(
x
y
+ 3) dx dy
π/2 π
6. ∫ −π/2
∫
0
(sin x cos y \,dy\,dx\)
4 −x/2+2
7. ∫ 0
∫
0
(3 x
2
− y + 2) dy dx
3 3
8. ∫ 1
∫
y
2
(x y − x y ) dx dy
2
2 √1−y
9. ∫ 0
1∫
−√1−y
(x + y + 2) dx dy
9 √3
10. ∫ 0
∫
y/3
(x y ) dx dy
2
In Exercises 11-18:
(a) Sketch the region R given by the problem.
(b) Set up the iterated integrals, in both orders, that evaluate the given double integral for the described region R.
(c) Evaluate one of the iterated integrals to find the signed volume under the surface z = f (x, y) over the region R.
11. ∫ ∫ R
2
x y dA , where R is bounded by y = √−
x and y = x .
2
12. ∫ ∫ R
2
x y dA , where R is bounded by y = √−
x and y = x .
3 3
13. ∫ ∫ R
x
2
−y
2
dA , where R is the rectangle with corners (−1, −1), (1, −1), (1, 1) and (−1, 1).
14. ∫ ∫ R
ye
x
dA , where R is bounded by x = 0, 2
x = y and y = 1 .
3 9/5/2021 https://math.libretexts.org/@go/page/21049
15. ∫ ∫ R
(6 − 3x − 2y) dA , where R is bounded by x = 0, y = 0 and 3x + 2y = 6 .
16. ∫ ∫ R
e
y
dA , where R is bounded by y = ln x and y = 1
e−1
(x − 1) .
17. ∫ ∫ R
3
(x y − x) dA , where R is the half of the circle x 2
+y
2
=9 in the first and second quadrants.
18. ∫ ∫ R
(4 − sy) dA , where R is bounded by y = 0, y = x/e and y = ln x .
In Exercises 19-22, state why it is difficult/impossible to integrate the iterated integral in the given order of integration.
Change the order of integration and evaluate the new iterated integral.
4 2 2
19. ∫ 0
∫
y/2
e
x
dx dy
√π/2 √π/2
20. ∫ 0
∫
x
cos(y ) dy dx
2
1 1 2y
21. ∫ 0
∫
y x +y
2 2
dx dy
2
1 2 x tan y
22. ∫ −1
∫
1 1+ln y
dy dx
In Exercises 23-26, find the average value of f over the region R. Notice how these functions and regions are related to
the iterated integrals given in Exercises 5-8.
23. f (x, y) = x
y
+3 ; R is the rectangle with opposite corners (−1, 1) and (1, 2).
24. f (x, y) = sin x cos y; R is bounded by x = 0, x = π, y = −π/2 and y = π/2 .
25. f (x, y) = 3x 2
−y +2 ; R is bounded by the lines y = 0, y = 2 − x/2 and x = 0 .
26. f (x, y) = x 2
y − xy
2
; R is bounded by y = x, y = 1 and x = 3 .
Problems
In Exercises 3-10, a function f (x, y) is given and a region R of the x-y plane is described. Set up and evaluate
∫ ∫ f (x, y) dA .
R
4 0
12. ∫ −4
∫
−√16−y 2
(2y − x)dx dy
4 9/5/2021 https://math.libretexts.org/@go/page/21049
2
2 √8−y
13. ∫ 0
∫
y
(x + y) dx dy
In Exercises 15-16, special double integrals are presented that are especially well suited for evaluation in polar
coordinates.
15. Consider ∫ ∫ e
2 2
−( x +y )
dA.
R
(a) Why is this integral difficult to evaluate in rectangular coordinates, regardless of the region R?
(b) Let R be the region bounded by the circle of radius a centered at the origin. Evaluate the double integral using polar
coordinates.
(c) Take the limit of your answer from (b), as a → ∞ . What does this imply about the volume under the surface of e
2 2
−( x +y )
a
2
+
a
2
, where the tip of the cone lies at (0, 0, h) and the circular base lies in the x-y plane, centered at the
origin.
Confirm that the volume of a right circular cone with height h and base radius a is V =
1
3
πa h
2
by evaluating ∫ ∫ R
f (x, y) dA
in polar coordinates.
Problems
In Exercises 7-10, point masses are given along a line or in the plane. Find the center of mass ¯¯
x̄ or ¯¯ ¯
(x̄ ¯
, ȳ ) , as
appropriate. (All masses are in grams and distances are in cm.)
7. m 1 = 4 at x = 1; m2 = 3 at x = 3; m3 = 5 at x = 10
In Exercises 11-18, find the mass/weight of the lamina described by the region R in the plane and its density function
δ(x, y).
11. R is the rectangle with corners (1, −3), (1, 2), (7, 2) and (7, −3); δ(x, y) = 5gm/cm 2
12. R is the rectangle with corners (1, −3), (1, 2), (7, 2) and (7, −3); δ(x, y) = (x + y )gm/cm 2 2
13. R is the triangle with corners (−1, 0), (1, 0), and (0, 1); δ(x, y) = 2lb/in 2
14. R is the triangle with corners (0, 0), (1, 0), and (0, 1); δ(x, y) = (x 2
+y
2
+ 1) lb/in 2
15. R is the circle centered at the origin with radius 2; δ(x, y) = (x + y + 4) kg/m 2
−−−−−−
16. R is the circle sector bounded by x 2
+y
2
= 25 in the first quadrant; δ(x, y) = (√x 2
+y
2
+ 1) kg/m 2
5 9/5/2021 https://math.libretexts.org/@go/page/21049
−−−−−−
18. R is the annulus in the first and second quadrants bounded by x 2
+y
2
= 9 and x
+
y
2 2
= 36; δ(x, y) = √x + y
2
lb/ft2
In Exercises 19-26, find the center of mass of the lamina described by the region R in the plane and its density function
δ(x, y).
20. R is the rectangle with corners (1, −3), (1, 2), (7, 2) and (7, −3); δ(x, y) = (x + y )gm/cm 2 2
21. R is the triangle with corners (−1, 0), (1, 0), and (0, 1); δ(x, y) = 2lb/in 2
22. R is the triangle with corners (0, 0), (1, 0), and (0, 1); δ(x, y) = (x 2
+y
2
+ 1) lb/in 2
23. R is the circle centered at the origin with radius 2; δ(x, y) = (x + y + 4) kg/m 2
−−−−− −
24. R is the circle sector bounded by x 2
+y
2
= 25 in the first quadrant; δ(x, y) = (√x 2
+ y 2 + 1) kg/m 2
−−−−−−
26. R is the annulus in the first and second quadrants bounded by x 2
+y
2
= 9 and x
+
y
2 2
= 36; δ(x, y) = √x + y
2
lb/ft2
The moment of inertia i is a measure of the tendency of lamina to resist rotating about an axis or continue to rotate
about an axis. i is the moment of inertia about the x-axis, i is the moment of inertia about the x-axis, and i is the
x x o
In Exercises 27-30, a lamina corresponding to a planar region R is given with a mass of 16 units. For each, compute i , x
i and i .
y o
27. R is the 4 x 4 square with corners (−2, −2) and (2, 2) with density δ(x, y) = 1.
28. R is the 8 x 2 rectangle with corners (−4, −1) and (4, 1) with density δ(x, y) = 1.
29. R is the 4 x 2 rectangle with corners (−2, −1) and (2, 1) with density δ(x, y) = 2.
30. R is the circle with radius 2 centered at the origin with density δ(x, y) = 4/π.
over R ?
Problems
In Exercises 7-10, set up the iterated integral that computes the surfaces area of the given surface over the region R.
6 9/5/2021 https://math.libretexts.org/@go/page/21049
7. f (x, y) = sin x cos y; R is the rectangle with bounds 0 ≤ x ≤ 2π , 0 ≤ y ≤ 2π .
8. f (x, y) = x +y
2
1
2
+1
; R is the circle x 2
+y
2
=9 .
9. f (x, y) = x 2
−y ;
2
R is the rectangle with opposite corners (−1, −1) and 1, 1).
10. f (x, y) = 2
1
; R is the rectangle bounded by −5 ≤ x ≤ 5 and 0 ≤ y ≤ 1 .
ex +1
In Exercises 11-19, find the area of the given surface over the region R.
11. f (x, y) = 3x − 7y + 2; R is the rectangle with opposite corners (−1, 0) and (1, 3).
12. f (x, y) = 2x + 2y + 2; R is the triangle with corners (0, 0), (1, 0) and (0, 1).
13. f (x, y) = x 2
+y
2
+ 10; R is the circle x 2
+y
2
= 16 .
14. f (x, y) = −2x + 4y 2
+ 7 over R , the triangle bounded by y = −x, y = x, 0 ≤ y ≤ 1 .
15. f (x, y) = x 2
+y over R, the triangle bounded by y = 2x, y = 0 and x = 2 .
16. f (x, y) = 2
3
x
3/2
over R, the rectangle with opposite corners (0, 0) and (1, 1).
−−−−−−
17. f (x, y) = 10 − 2√x + y over R, the circle x
2 2 2
+y
2
= 25 . (This is the cone with height 10 and base radius 5; be sure to
compare your result with the known formula.)
−−−−−−−−− −
18. Find the surface area of the sphere with radius 5 by doubling the surface area of 2
f (x, y) = √25 − x − y
2
over R, the
circle x + y = 25 . (Be sure to compare your result with the known formula.)
2 2
7 9/5/2021 https://math.libretexts.org/@go/page/21049
19. Find the surface area of the ellipse formed by restricting the plane f (x, y) = cx + dy + h to the region R, the circle
x + y = 1 , where c, d and h are some constants. Your answer should be given in terms of c and d; why does the value of h
2 2
not matter?
Problems
In Exercises 5-8, two surfaces f (x, y) and f (x, y) and a region R in the x,y plane are given. Set up and evaluate the
1 2
double integral that finds the volume between these surfaces over R.
5. f (x, y) = 8 − x − y , f (x, y) = 2x + y;
x
2 2
2
R is the circle x + y = 1 .
2 2
In Exercises 9-16, a domain D is described by its bounding surfaces, along with a graph. Set up the triple integrals that
give the volume of D in all 6 orders of integration, and find the volume of D by evaluating the indicated triple integral.
9. D is bounded by the coordinate planes and z = 2 − 2x/3 − 2y .
Evaluate the triple integral with order dz dy dz.
8 9/5/2021 https://math.libretexts.org/@go/page/21049
12. D is bounded by the planes \(z=0,y=9, x=0\text{ and by \)z=\sqrt{y^2-9x^2}\).
Do not evaluate any triple integral.
Do not evaluate any triple integral. Which order is easier to evaluate: dz dy dx or dy dz dx? Explain why.
9 9/5/2021 https://math.libretexts.org/@go/page/21049
In Exercises 17-20, evaluate the triple integral.
π/2 π π
17. ∫
−π/2
∫
0
∫
0
(cos x sin y sin z)dz dy dx
1 x x+y
18. ∫
0
∫
0
∫
0
(x + y + z)dz dy dx
π 1 z
19. ∫
0
∫
0
∫
0
(sin(yz))dx dy dz
2 3 2
π x y
20. ∫
π
∫
x
∫
−y 2
(cos x sin y sin z)dz dy dx
In Exercises 21-24, find the center of mass of the solid represented by the indicated space region D with density
function δ(x, y, z).
21. D is bounded by the coordinate planes and z = 2 − 2x/3 − 2y ; δ(x, y, z) = 10 g/cm . 3
10 9/5/2021 https://math.libretexts.org/@go/page/21049
Triple Integrals
Learning Objectives
Recognize when a function of three variables is integrable over a rectangular box.
Evaluate a triple integral by expressing it as an iterated integral.
Recognize when a function of three variables is integrable over a closed and bounded region.
Simplify a calculation by changing the order of integration of a triple integral.
Calculate the average value of a function of three variables.
Previously, we discussed the double integral of a function f (x, y) of two variables over a rectangular region in the plane. In this section we define the triple
integral of a function f (x, y, z) of three variables over a rectangular solid box in space, R . Later in this section we extend the definition to more general
3
regions in R .3
B = {(x, y, z) | a ≤ x ≤ b, c ≤ y ≤ d, e ≤ z ≤ f }. (1)
We follow a similar procedure to what we did in previously. We divide the interval [a, b] into l subintervals [x i−1 , xi ] of equal length Δx with
xi − xi−1
Δx = , (2)
l
divide the interval [c, d] into m subintervals [y i−1 , yi ] of equal length Δy with
yj − yj−1
Δy = , (3)
m
and divide the interval [e, f ] into n subintervals [z i−1 , zi ] of equal length Δz with
zk − zk−1
Δz = (4)
n
as shown in Figure 1.
Figure 1: A rectangular box in R divided into subboxes by planes parallel to the coordinate planes.
3
∗ ∗ ∗
∑ ∑ ∑ f (x ,y ,z ) ΔxΔyΔz. (6)
ijk ijk ijk
We define the triple integral in terms of the limit of a triple Riemann sum, as we did for the double integral in terms of a double Riemann sum.
1 9/5/2021 https://math.libretexts.org/@go/page/21043
Definition: The triple integral
The triple integral of a function f (x, y, z) over a rectangular box B is defined as
l m n
∗ ∗ ∗
lim ∑ ∑ ∑ f (x ,y ,z ) ΔxΔyΔz = ∭ f (x, y, z) dV (7)
ijk ijk ijk
l,m,n→∞
i=1 j=1 B
k=1
When the triple integral exists on B the function f (x, y, z) is said to be integrable on B . Also, the triple integral exists if f (x, y, z) is continuous on B .
Therefore, we will use continuous functions for our examples. However, continuity is sufficient but not necessary; in other words, f is bounded on B and
continuous except possibly on the boundary of B . The sample point (x , y , z ) can be any point in the rectangular sub-box B and all the properties
∗
ijk ijk
∗ ∗
ijk ijk
of a double integral apply to a triple integral. Just as the double integral has many practical applications, the triple integral also has many applications, which
we discuss in later sections.
Now that we have developed the concept of the triple integral, we need to know how to compute it. Just as in the case of the double integral, we can have an
iterated triple integral, and consequently, a version of Fubini’s theorem for triple integrals exists.
This integral is also equal to any of the other five possible orderings for the iterated triple integral.
For a, b, c, d, e and f real numbers, the iterated triple integral can be expressed in six different orderings:
f d b f d b
d f b
b f d
f b d
d b d
b d f
For a rectangular box, the order of integration does not make any significant difference in the level of difficulty in computation. We compute triple integrals
using Fubini’s Theorem rather than using the Riemann sum definition. We follow the order of integration in the same way as we did for double integrals
(that is, from inside to outside).
Solution
The order of integration is specified in the problem, so integrate with respect to x first, then y, and then z .
2 9/5/2021 https://math.libretexts.org/@go/page/21043
z=1 y=4 x=5
2
∫ ∫ ∫ (x + y z ) dx dy dz
z=0 y=2 x=−1
z=1 y=4
2
=∫ ∫ [12 + 6y z ] dy dzEvaluate.
z=0 y=2
z=1 2 y=4
y ∣
2
=∫ [ 12y + 6 z ∣ ] dzIntegrate with respect to y.
z=0
2 ∣y=2
z=1
2
=∫ [24 + 36 z ] dzEvaluate.
z=0
z=1
3
z
= [24z + 36 ] Integrate with respect to z.
3
z=0
= 36.Evaluate.
2
∭ x yz dV (15)
B
5 1 3
2 2
∭ x yz dV = ∫ ∫ ∫ [ x yz] dy dx dz
1 −2 0
B
5 1 3 3
y ∣
2
=∫ ∫ [x z∣ ] dx dz
1 −2
3 ∣
0
5 1
y
2
=∫ ∫ x z dx dz
1 −2 2
5 1 5
3
9 x ∣ 27
=∫ [ z∣ ] dz = ∫ z dz
1 2 3 ∣−2 1 2
5
2
27 z ∣
= ∣ = 162.
2 2 ∣
1
Now try to integrate in a different order just to see that we get the same answer. Choose to integrate with respect to x first, then z , then y
3 9/5/2021 https://math.libretexts.org/@go/page/21043
3 5 1
2 2
∬∬ x yz dV = ∫ ∫ ∫ [ x yz] dx dz dy
0 1 −2
B
3 5 3 1
x ∣
=∫ ∫ [ yz∣ ] dz dy
0 1
3 ∣
−2
3 5
=∫ ∫ 3yz dz dy
0 1
3 2 5
z ∣
=∫ [3y ∣ ] dy
0
2 ∣
1
=∫ 36y dy
0
2 3
y ∣
= 36 ∣ = 18(9 − 0) = 162.
2 ∣
0
Exercise 1
Evaluate the triple integral
∬ z sin x cos y dV
B
3π
where B = {(x, y, z) | 0 ≤ x ≤ π, ≤ y ≤ 2π, 1 ≤ z ≤ 3} .
2
Hint
Follow the steps in the previous example.
Answer
∬ z sin x cos y dV = 8
B
we will consider are of three types. First, let D be the bounded region that is a projection of E onto the xy-plane. Suppose the region E in R has the form 3
Figure 3: We can describe region E as the space between u 1 (x, y) and u 2 (x, y) above the projection D of E onto the xy-plane.
u2 (x,y)
Similarly, we can consider a general bounded region D in the xy-plane and two functions y = u 1 (x, z) and y = u
2 (x, z) such that u1 (x, z) ≤ u2 (x, z) for
all 9x, z) in D. Then we can describe the solid region E in R as 3
4 9/5/2021 https://math.libretexts.org/@go/page/21043
E = {(x, y, z) | (x, z) ∈ D, u1 (x, z) ≤ z ≤ u2 (x, z)} (19)
where D is the projection of E onto the xy-plane and the triple integral is
u2 (x,z)
Finally, if D is a general bounded region in the xy-plane and we have two functions x = u1 (y, z) and x = u 2 (y, z) such that u1 (y, z) ≤ u2 (y, z) for all
(y, z) in D, then the solid region E in R can be described as
3
where D is the projection of E onto the xy-plane and the triple integral is
u2 (y,z)
Note that the region D in any of the planes may be of Type I or Type II as described in previously. If D in the xy-plane is of Type I (Figure 4), then
5 9/5/2021 https://math.libretexts.org/@go/page/21043
Evaluate the triple integral of the function f (x, y, z) = 5x − 3y over the solid tetrahedron bounded by the planes x = 0, y = 0, z = 0 , and
x +y +z = 1 .
Solution
Figure 6 shows the solid tetrahedron E and its projection D on the xy-plane.
E = {(x, y, z) | 0 ≤ x ≤ 1, 0 ≤ y ≤ 1 − x, 0 ≤ z ≤ 1 − x − y}.
z=1−x−y
To simplify the calculation, first evaluate the integral ∫ (5x − 3y) dz . We have
z=0
z=1−x−y z=1−x−y
∣
∫ (5x − 3y) dz = (5x − 3y)z∣ = (5x − 3y)(1 − x − y).
∣
z=0 z=0
obtaining
y=1−x
1 2
∫ (5x − 3y)(1 − x − y) dy = (x − 1 ) (6x − 1).
y=0
2
Finally evaluate
x=1
1 2
1
∫ (x − 1 ) (6x − 1) dx = .
x=0
2 12
∬ 1 dA (27)
D
∭ 1 dV (28)
E
to find the volume of a general solid bounded region E . The next example illustrates the method.
6 9/5/2021 https://math.libretexts.org/@go/page/21043
Figure 7: Finding the volume of a pyramid with a square base.
Solution
In this pyramid the value of z changes from 0 to 1 and at each height z the cross section of the pyramid for any value of z is the square
∭ 1 dV
E
where
E = {(x, y, z) | 0 ≤ z ≤ 1, −1 + z ≤ y ≤ 1 − z, −1 + z ≤ x ≤ 1 − z}.
Thus, we have
z=1 y=1−z x=1−z
∭ 1 dV = ∫ ∫ ∫ 1 dx dy dz
E z=0 y=−1+z x=−1+z
z=1 y=1−z
=∫ ∫ (2 − 2z) dy dz
z=0 y=−1+z
z=1
2
4
=∫ (2 − 2z) dz = .
z=0
3
4
Hence, the volume of the pyramid is cubic units.
3
Exercise 3
Consider the solid sphere E = {(x, y, z) | x 2
+y
2
+z
2
= 9} . Write the triple integral
∭ f (x, y, z) dV
E
for an arbitrary function f as an iterated integral. Then evaluate this triple integral with f (x, y, z) = 1 . Notice that this gives the volume of a sphere
using a triple integral.
Hint
Follow the steps in the previous example. Use symmetry.
Answer
2 2 2
x=3 y=√9−z z=√9−x −y
∭ 1 dV = 8 ∫ ∫ ∫ 1 dz dy dx
2 2 2
E x=−3 y=−√9−z z=−√9−x −y
7 9/5/2021 https://math.libretexts.org/@go/page/21043
Consider the iterated integral
2
x=1 y=x z=y
The order of integration here is first with respect to z, then y, and then x. Express this integral by changing the order of integration to be first with
respect to x, then z , and then y . Verify that the value of the integral is the same if we let f (x, y, z) = xyz.
Solution
The best way to do this is to sketch the region E and its projections onto each of the three coordinate planes. Thus, let
2
E = {(x, y, z) | 0 ≤ x ≤ 1, 0 ≤ y ≤ x , 0 ≤ z ≤ y}.
and
2 2
x=1 y=x z=x
∫ ∫ ∫ f (x, y, z) dz dy dx = ∭ f (x, y, z) dV .
x=0 y=0 z=0 E
∫ ∫ ∫ f (x, y, z) dx dz dy.
y=c z=v1 (y) x=u1 (y,z)
Knowing the region E we can draw the following projections (Figure 8):
on the xy-plane is D 1
2
= {(x, y) | 0 ≤ x ≤ 1, 0 ≤ y ≤ x } = {(x, y) | 0 ≤ y ≤ 1, √y ≤ x ≤ 1},
Now assume that f (x, y, z) = xyz in each of the integrals. Then we have
2 2
x=1 y=x z=y
∫ ∫ ∫ xyz dz dy dx
x=0 y=0 z=0
2 2
x=1 y=x
2 z=y x=1 y=x
2
x=1 y=x x=1
2 5 6 13
z ∣ y y ∣ x
=∫ ∫ [xy ∣ ] dy dx = ∫ ∫ (x ) dy dx = ∫ [x ∣ ] dx = ∫ dx
x=0 y=0
2 ∣ x=0 y=0
2 x=0
12 ∣ x=0
12
z=0 y=0
x=1
14
x ∣ 1
= ∣ = ,
168 ∣ 168
x=0
2
y=1 z=y x=1
∫ ∫ ∫ xyz dx dz dy
y=0 z=0 x=√y
2
2
1 2 z=y
y=1 z=y 2 y=1 z=y 2 y=1 2 2 2
x ∣ yz y z yz y z ∣
=∫ ∫ [yz ∣ ] dz dy = ∫ ∫ ( − ) dz dy = ∫ [ − ∣ ] dy =
y=0 z=0
2 ∣ y=0 z=0
2 2 y=0
4 4 ∣
√y z=0
y=1 5 6 6 7 y=1
y y y y ∣ 1
∫ ( − ) dy = ( − )∣ = .
y=0
4 4 24 28 ∣ y=0 168
Exercise 4
Write five different iterated integrals equal to the given integral
8 9/5/2021 https://math.libretexts.org/@go/page/21043
z=4 y=4−z x=√y
∫ ∫ ∫ f (x, y, z) dx dy dz.
z=0 y=0 x=0
Hint
Follow the steps in the previous example, using the region E as {(x, y, z) | 0 ≤ z ≤ 4, 0 ≤ y ≤ 4 − z, 0 ≤ x ≤ √y} , and describe and sketch the
projections onto each of the three planes, five different times.
Answer
z=4 x=√4−z y=4−z y=4 z=4−y x=√y y=4 x=√y Z=4−y
2
x=2 y=4 z=4−y x=2 z=4−x y=4−z
This expression is difficult to compute, so consider the projection of E onto the xz-plane. This is a circular disc x 2
+z
2
≤4 . So we obtain
2 2
x=2 y=4 z=√y−x x=2 z=√4−x y=4
− −−−− − − −−−− − − −−−− −
∭ √ x2 + z 2 dV = ∫ ∫ ∫ √ x2 + z 2 dz dy dx = ∫ ∫ ∫ √ x2 + z 2 dy dz dx.
2 2 2 2 2
E x=−2 y=x z=−√y−x x=−2 z=−√4−x y=x +z
Here the order of integration changes from being first with respect to z then y and then x to being first with respect to y then to z and then to x. It will
soon be clear how this change can be beneficial for computation. We have
9 9/5/2021 https://math.libretexts.org/@go/page/21043
2 2
x=2 z=√4−x y=4 x=2 z=√4−x
− −−−− − − −−−−−
∫ ∫ ∫ √ x2 + z 2 dy dz dx = ∫ ∫ (4 − x
2 2 2 2
− z )√ x + z dz dx.
2 2 2 2
x=−2 z=√4−x y=x +z x=−2 z=−√4−x
Now use the polar substitution x = r cos θ, z = r sin θ , and dz dx = r dr dθ in the xz-plane. This is essentially the same thing as when we used
polar coordinates in the xy-plane, except we are replacing y by z . Consequently the limits of integration change and we have, by using r = x + z , 2 2 2
x=2 z=√4−x
2
θ=2π r=2 2π 3 5 2
− −−−−− 4r r ∣
2 2 2 2 2
∫ ∫ (4 − x − z )√ x + z dz dx = ∫ ∫ (4 − r )rr dr dθ = ∫ [ − ∣ ] dθ =
x=−2 z=−√4−x
2
θ=0 r=0 0
3 5 ∣
0
2π
64 128π
∫ dθ =
0
15 15
V (E) = ∭ 1 dV . (32)
E
E = {(x, y, z) | 0 ≤ x ≤ 1, 0 ≤ y ≤ 1 − x, 0 ≤ z ≤ 1 − x − y}.
Exercise 6
Find the average value of the function f (x, y, z) = xyz over the cube with sides of length 4 units in the first octant with one vertex at the origin and
edges parallel to the coordinate axes.
Hint
Follow the steps in the previous example.
Answer
fave = 8
10 9/5/2021 https://math.libretexts.org/@go/page/21043
Key Concepts
To compute a triple integral we use Fubini’s theorem, which states that if f (x, y, z) is continuous on a rectangular box B = [a, b] × [c, d] × [e, f ] , then
f d b
∭ f (x, y, z) dV = ∫ ∫ ∫ f (x, y, z) dx dy dz
B e c a
and is also equal to any of the other five possible orderings for the iterated triple integral.
To compute the volume of a general solid bounded region E we use the triple integral
V (E) = ∭ 1 dV .
E
Interchanging the order of the iterated integrals does not change the answer. As a matter of fact, interchanging the order of integration can help simplify
the computation.
To compute the average value of a function over a general three-dimensional region, we use
1
fave = ∭ f (x, y, z) dV .
V (E) E
Key Equations
Triple integral
l m n
∗ ∗ ∗
lim ∑ ∑ ∑ f (x ,y ,z ) ΔxΔyΔz = ∭ f (x, y, z) dV
ijk ijk ijk
l,m,n→∞
i=1 j=1 B
k=1
Glossary
triple integral
the triple integral of a continuous function f (x, y, z) over a rectangular solid box B is the limit of a Riemann sum for a function of three variables, if this
limit exists
11 9/5/2021 https://math.libretexts.org/@go/page/21043
Triple Integrals (Exercises)
Terms and Concepts
1. The strategy for establishing bounds for triple integrals is "from ________ to ________, then from ________ to ________
and then from ________ to ________."
Answer:
We integrate from surface to surface, then from curve to curve and then from point to point.
Answer:
Answer:
To compute total mass or average density of a solid object, given a density function or to compute the average
temperature in a solid region or object.
Answer:
It's mass is δV .
Answer:
2 2
1 1 8−x −y
88
V=∫ ∫ ∫ dz dy dx = units
3
−1 −1 2x+y
3
6. f (x, y) = x + y , f (x, y) = −x − y ;
1
2 2
2
2 2
R is the triangle with corners (0, 0), (π, 0) and (π, π).
Answer:
π x cos x sin y+2
V=∫ ∫ ∫ dz dy dx = (π
2
− π) units
3
≈ 6.72801 units
3
0 0 sin x cos y
8. f (x, y) = 2x
1
2
+ 2y
2
+ 3, f2 (x, y) = 6 − x
2
−y ;
2
R is the circle x .
2 2
+y =1
In Exercises 9-16, a domain D is described by its bounding surfaces, along with a graph. Set up the triple integral that
gives the volume of D in the indicated order(s) of integration, and evaluate the triple integral to find this volume.
1 9/5/2021 https://math.libretexts.org/@go/page/21044
9. D is bounded by the coordinate planes and z = 2 − 2
3
x − 2y .
Evaluate the triple integral with order dz dy dx .
Answer:
x 2
3 1− 2− x−2y
3 3
V=∫ ∫ ∫ dz dy dx = 1 unit
3
0 0 0
Evaluate the triple integral with orders dy dz dx and dz dy dx to verify that you obtain the same volume either way.
Answer:
2 2 −z
4
V=∫ ∫ ∫ dy dz dx = unit
3
0 0 −√2z 3
2 0 −y
4
V=∫ ∫ ∫
y
2
dz dy dx = unit
3
0 −2
3
2
−− −−−−−
12. D is bounded by the planes z = 0, y = 9, x = 0 and by z = √y 2
− 9x
2
.
Do not evaluate any triple integral. Just set this one up.
2 9/5/2021 https://math.libretexts.org/@go/page/21044
13. D is bounded by the planes x = 2, y = 1, z = 0 and z = 2x + 4y − 4 .
Evaluate the triple integral with orders dz dy dx and dx dy dz to verify that you obtain the same volume either way.
Answer:
2 1 2x+4y−4
4
V=∫ ∫ ∫ dz dy dx = units
3
0 1−
x
0
3
2
4 1 2
4
V=∫ ∫ ∫ dx dy dz = units
3
0
z
(z−4y+4)/2
3
4
Do not evaluate any triple integral. Which order would be easier to evaluate: dz dy dx or dy dz dx ? Explain why.
Answer:
2
1 1−x √1−y
V=∫ ∫ ∫ dz dy dx
0 0 0
2 2
1 x 1−x 1 1 1−z
V=∫ ∫ ∫ dy dz dx + ∫ ∫ ∫ dy dz dx
0 0 0 0 x 0
The first one is easier since it only requires evaluation of a single integral, although both can be evaluated fairly
easily.
3 9/5/2021 https://math.libretexts.org/@go/page/21044
Evaluating General Triple Integrals
In exercises 17 - 20, evaluate the triple integrals over the rectangular solid box B.
17. ∭ (2x + 3 y
2 3
+ 4 z ) dV , where B = {(x, y, z) | 0 ≤ x ≤ 1, 0 ≤ y ≤ 2, 0 ≤ z ≤ 3}
B
Answer:
192
Answer:
0
Answer:
8
1 x x+y
22. ∫ ∫ ∫ (x + y + z) dz dy dx
0 0 0
π 1 z
23. ∫ ∫ ∫ (sin(yz)) dx dy dz
0 0 0
Answer:
π
2 3 2
π x y
Answer:
9
4 9/5/2021 https://math.libretexts.org/@go/page/21044
26. Find the average value of the function f (x, y, z) = xyz over the solid E = [0, 1] × [0, 1] × [0, 1] situated in the first
octant.
midpoint rule for double integrals. The region B is divided into subboxes of equal sizes and the integral is approximated by
the triple Riemann sum
l m n
¯i , y
∑ ∑ ∑ f (x ¯j , z
¯k )ΔV ,
2
∭ x dV
B
over the solid B = {(x, y, z) | 0 ≤ x ≤ 1, 0 ≤ y ≤ 1, 0 ≤ z ≤ 1} by using a partition of eight cubes of equal size. Round
your answer to three decimal places.
Answer:
5
∭ f (x, y, z) dV ≈ ≈ 0.313
16
B
over the solid B = {(x, y, z)|0 ≤ x ≤ 1, 0 ≤ y ≤ 1, 0 ≤ z ≤ 1} by using a partition of eight cubes of equal size. Round
your answer to three decimal places.
b. Use a CAS to improve the above integral approximation in the case of a partition of n
3
cubes of equal size, where
n = 3, 4, . . . , 10.
Applications
29. Suppose that the temperature in degrees Celsius at a point (x, y, z) of a solid E bounded by the coordinate planes and the
plane x + y + z = 5 is given by:
T (x, y, z) = xz + 5z + 10
Answer:
17.5
∘
C
30. Suppose that the temperature in degrees Fahrenheit at a point (x, y, z) of a solid E bounded by the coordinate planes and
the plane x + y + z = 5 is given by:
T (x, y, z) = x + y + xy
the paraboloids x = 5 − y − z and x = y + z − 5 is equal to the distance from an arbitrary point of E to the origin. Set
2 2 2 2
up the integral that gives the total charge inside the solid E .
5 9/5/2021 https://math.libretexts.org/@go/page/21044
Answer:
2 2 2
√5 √5−y 5−y −z −−−−−−−−−−
Total Charge inside the Solid E = ∫ ∫ ∫ √x
2
+y
2
+z
2
dx dz dy
2 2 2
−√5 −√5−y y +z −5
3 –
a √3
32. Show that the volume of a regular right hexagonal pyramid of edge length a is by using triple integrals.
2
Contributors
Problems 17 - 20 and 25 - 32 are from Section 15.4, OpenStax Calculus 3 by
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Problems 1 - 16 and 21 - 24 are from Apex Calculus, Section 13.6.
Edited by Paul Seeburger (Monroe Community College)
6 9/5/2021 https://math.libretexts.org/@go/page/21044
Triple Integrals (Exercises 2)
Terms and Concepts
1. The strategy for establishing bounds for triple integrals is "from ________ to ________, then from ________ to ________
and then from ________ to ________."
Answer:
We integrate from surface to surface, then from curve to curve and then from point to point.
Answer:
∫ ∫ ∫
Q
dV = Volume of the solid region Q
Answer:
To compute total mass or average density of a solid object, given a density function or to compute the average
temperature in a solid region or object.
Answer:
It's mass is δV .
triple integral that represents the volume between these surfaces over R.
5. f (x, y) = 8 − x − y , f (x, y) = 2x + y;
1
2 2
2
6. f (x, y) = x + y , f (x, y) = −x − y ;
1
2 2
2
2 2
R is the triangle with corners (0, 0), (π, 0) and (π, π).
8. f (x, y) = 2x
1
2
+ 2y
2
+ 3, f2 (x, y) = 6 − x
2 2
−y ;
R is the circle x .
2 2
+y =1
In Exercises 9-16, a domain D is described by its bounding surfaces, along with a graph. Set up the triple integral that
gives the volume of D in the indicated order of integration, and evaluate the triple integral to find this volume.
9. D is bounded by the coordinate planes and z = 2 − 2
3
x − 2y .
Evaluate the triple integral with order dz dy dx .
1 9/5/2021 https://math.libretexts.org/@go/page/21045
10. D is bounded by the planes y = 0, y = 2, x = 1, z = 0 and z = (2 − x)/2 .
Evaluate the triple integral with order dx dy dz.
−− −−−−−
12. D is bounded by the planes z = 0, y = 9, x = 0 and by z = √y 2
− 9x
2
.
Do not evaluate any triple integral. Just set this one up.
2 9/5/2021 https://math.libretexts.org/@go/page/21045
15. D is bounded by the coordinate planes and y = 1 − x and y = 1 − z . 2 2
Do not evaluate any triple integral. Which order would be easier to evaluate: dz dy dx or dy dz dx ? Explain why.
1 x x+y
18. ∫ ∫ ∫ (x + y + z) dz dy dx
0 0 0
π 1 z
19. ∫ ∫ ∫ (sin(yz)) dx dy dz
0 0 0
2 3 2
π x y
In the following exercises, evaluate the triple integrals over the rectangular solid box B .
2 3
∭ (2x + 3 y + 4 z ) dV , (1)
B
3 9/5/2021 https://math.libretexts.org/@go/page/21045
2
∭ (z sin x + y ) dV , (4)
B
[Hide Solution]
1 2 3
2
35
∫ ∫ ∫ (x + ln y + z) dx dy dz = + 2 ln2 (6)
0 1 2
6
1 1 3
x
∫ ∫ ∫ (ze + 2y) dx dy dz (7)
0 −1 0
2 3 4
1
2
∫ ∫ ∫ (x z + ) dx dy dz (8)
−1 1 0
y
[Hide solution]
2 3 4
2
1
∫ ∫ ∫ (x z + ) dx dy dz = 64 + 12 ln 3 (9)
−1 1 0
y
2 −1 1
x +y
∫ ∫ ∫ dx dy dz (10)
1 −2 0
z
Let F , G, and H be continuous functions on [a, b], [c, d], and [e, f ], respectively, where a, b, c, d, e , and f are real numbers
such that a < b, c < d , and e < f . Show that
b d f b d f
Let F , G, and H be differential functions on [a, b], [c, d], and [e, f ], respectively, where a, b, c, d, e , and f are real numbers
such that a < b, c < d , and e < f . Show that
b d f
′ ′ ′
∫ ∫ ∫ F (x) G (y) H (z) dz dy dx = [F (b) − F (a)] [G(d) − G(c)] H (f ) − H (e)]. (12)
a c e
In the following exercises, evaluate the triple integrals over the bounded region
E = {(x, y, z)|a ≤ x ≤ b, h1 (x) ≤ y ≤ h2 (x), e ≤ z ≤ f }.
12
2
, − cos x ≤ ycos x, − 1 ≤ z ≤ 1}
4 9/5/2021 https://math.libretexts.org/@go/page/21045
[Hide Solution]
2
In the following exercises, evaluate the triple integrals over the indicated bounded region E .
∭ (x + 2yz) dV , (17)
E
120
3 3 3
∭ (x +y + z ) dV , (18)
E
∭ y dV , (19)
E
−−−−− −−−− −
where E = {(x, y, z)| − 1 ≤ x ≤ 1, − √1 − x 2 2 2 2
≤ y ≤ √1 − x , 0 ≤ z ≤ 1 − x − y }
[Hide Solution]
0
∭ x dV , (20)
E
−−−−− −−−− −
where E = {(x, y, z)| − 2 ≤ x ≤ 2, − 4√1 − x 2 2 2 2
≤ y ≤ √4 − x , 0 ≤ z ≤ 4 − x − y }
In the following exercises, evaluate the triple integrals over the bounded region E of the form
E = {(x, y, z)| g1 (y) ≤ x ≤ g2 (y), c ≤ y ≤ d, e ≤ z ≤ f } .
2
∭ x dV , (21)
E
[Hide Solution]
64
−
105
∭ (x − yz) dV , (23)
E
[Hide Solution]
11
26
∭ z dV , (24)
E
5 9/5/2021 https://math.libretexts.org/@go/page/21045
where E = {(x, y, z)|2 − 2y ≤ x ≤ 2 + √y, 0 ≤ y ≤ 1x, 2 ≤ z ≤ 3}
In the following exercises, evaluate the triple integrals over the bounded region
E = {(x, y, z)| g1 (y) ≤ x ≤ g2 (y), c ≤ y ≤ d, u1 (x, y) ≤ z ≤ u2 (x, y)}
∭ z dV , (25)
E
[Hide Solution]
113
450
∭ (x − z) dV , (27)
E
−−−−−
where E = {(x, y, z)| − √1 − y 2
≤ x ≤ y, 0 ≤ y ≤
1
2
x, 0 ≤ z ≤ 1 − x
2 2
−y }
[Hide Solution]
1 –
(6 √3 − 41)
160
∭ (x + y) dV , (28)
E
−−−−−
where E = {(x, y, z)|0 ≤ x ≤ √1 − y 2
, 0 ≤ y ≤ 1x, 0 ≤ z ≤ 1 − x}
In the following exercises, evaluate the triple integrals over the bounded region
E = {(x, y, z)|(x, y) ∈ D, u1 (x, y)x ≤ z ≤ u2 (x, y)} , where D is the projection of E onto the xy-plane
2
[Hide Solution]
3π
–
where D = {(x, y)|x 2
−y
2
≥ 1, x ≤ √5}
10−x−y
2 2
4 x +4 y
6 9/5/2021 https://math.libretexts.org/@go/page/21045
∭ z dV (33)
E
[Hide Solution]
2
5 3 √9−y
∫ ∫ ∫ z dz dy dx = 90 (34)
0 −3 0
∭ xyz dV (35)
E
∫ ∫ ∫ dz dy dx. (36)
−2 x 0
Use a computer algebra system (CAS) to graph E and find its volume. Round your answer to two decimal places.
[Hide Solution]
V = 5.33
7 9/5/2021 https://math.libretexts.org/@go/page/21045
[T] The volume of a solid E is given by the integral
2 2
0 0 1+√x +y
∫ ∫ ∫ dz dy dx. (37)
3
−1 −x 0
Use a CAS to graph E and find its volume V . Round your answer to two decimal places.
In the following exercises, use two circular permutations of the variables x, y, and z to write new integrals whose values
equal the value of the original integral. A circular permutation of x, y, and z is the arrangement of the numbers in one of the
following orders: y, z, and x or z, x, and y .
1 3 4
2 2
∫ ∫ ∫ (x z + 1)dx dy dz (38)
0 1 2
[Hide Solution]
1 3 4
2 2
∫ ∫ ∫ (y z + 1)dz dx dy; (39)
0 1 2
1 3 4
2 2
∫ ∫ ∫ (x z + 1)dx dy dz (40)
0 1 2
3 1 −x+1
4 4
1 y 1−x −y
∫ ∫ ∫ ln xdz dx dy (42)
0 −y 0
1 1 √y
∫ ∫ ∫ (x + yz)dx dy dz (43)
−1 0 −y 6
Set up the integral that gives the volume of the solid E bounded by y 2
=x
2
+z
2
and y = a , where a > 0 .
2
[Hide Solution]
2
a √a2 −z 2 a
V =∫ ∫ ∫ dy dx dz (44)
2 2
−a −√a −z √x2 +z 2
Set up the integral that gives the volume of the solid E bounded by x = y 2
+z
2
and x = a , where a > 0 .
2
Find the average value of the function f (x, y, z) = x + y + z over the parallelepiped determined by
x + 0, x = 1, y = 0, y = 3, z = 0 , and z = 5 .
8 9/5/2021 https://math.libretexts.org/@go/page/21045
[Hide Solution]
9
Find the average value of the function f (x, y, z) = xyz over the solid E = [0, 1] × [0, 1] × [0, 1] situated in the first octant.
Find the volume of the solid E that lies under the plane x + y + z = 9 and whose projection onto the xy-plane is bounded by
y, y = 0 , and x = .
−1 π
x = si n
2
Consider the pyramid with the base in the xy-plane of [−2, 2] × [−2, 2] and the vertex at the point (0, 0, 8).
a. Show that the equations of the planes of the lateral faces of the pyramid are 4y + z = 8, 4y − z = −8, 4x + z = 8 , and
−4x + z = 8 .
Consider the pyramid with the base in the xy-plane of [−3, 3] × [−3, 3] and the vertex at the point (0, 0, 9).
a. Show that the equations of the planes of the side faces of the pyramid are 3y + z = 9, 3y + z = 9, y = 0 and x = 0 .
b. Find the volume of the pyramid.
The solid E bounded by the sphere of equation x 2
+y
2
+z
2
=r
2
with r > 0 and located in the first octant is represented in
the following figure.
a. Write the triple integral that gives the volume of E by integrating first with respect to z , then with y , and then with x.
b. Rewrite the integral in part a. as an equivalent integral in five other orders.
[Hide Solution]
4 √r2 −x2 √r2 −x2 −y 2 2 √r2 −x2 √r2 −x2 −y 2
9 9/5/2021 https://math.libretexts.org/@go/page/21045
a. Write the triple integral that gives the volume of E by integrating first with respect to z then with y and then with x.
b. Rewrite the integral in part a. as an equivalent integral in five other orders.
Find the volume of the prism with vertices (0, 0, 0), (2, 0, 0), (2, 3, 0), (0, 3, 0), (0, 0, 1), and (2, 0, 1).
[Hide Solution]
3
Find the volume of the prism with vertices (0, 0, 0), (4, 0, 0), (4, 6, 0), (0, 6, 0), (0, 0, 1), and (4, 0, 1).
The solid E bounded by z = 10 − 2x − y and situated in the first octant is given in the following figure. Find the volume of
the solid.
[Hide Solution]
250
10 9/5/2021 https://math.libretexts.org/@go/page/21045
The midpoint rule for the triple integral
over the rectangular solid box B is a generalization of the midpoint rule for double integrals. The region B is divided into
subboxes of equal sizes and the integral is approximated by the triple Riemann sum
l m n
∑ ∑ ∑ f (x
¯i , y
¯j , z
¯k )ΔV , (49)
2
∭ x dV (50)
B
over the solid B = {(x, y, z)|0 ≤ x ≤ 1, 0 ≤ y ≤ 1, 0 ≤ z ≤ 1} by using a partition of eight cubes of equal size. Round
your answer to three decimal places.
[Hide Solution]
5
≈ 0.313
16
[T]
a. Apply the midpoint rule to approximate
2
−x
∭ e dV (51)
B
over the solid B = {(x, y, z)|0 ≤ x ≤ 1, 0 ≤ y ≤ 1, 0 ≤ z ≤ 1} by using a partition of eight cubes of equal size. Round
your answer to three decimal places.
b. Use a CAS to improve the above integral approximation in the case of a partition of n
3
cubes of equal size, where
n = 3, 4, . . . , 10.
Suppose that the temperature in degrees Celsius at a point (x, y, z) of a solid E bounded by the coordinate planes and
x + y + z = 5 is T (x, y, z) = xz + 5z + 10 . Find the average temperature over the solid.
[Hide Solution]
35
Suppose that the temperature in degrees Fahrenheit at a point (x, y, z) of a solid E bounded by the coordinate planes and
x + y + z = 5 is T (x, y, z) = x + y + xy . Find the average temperature over the solid.
11 9/5/2021 https://math.libretexts.org/@go/page/21045
2
Show that the volume of a right square pyramid of height h and side length a is v = ha
3
by using triple integrals.
3
3a √3
Show that the volume of a regular right hexagonal prism of edge length a is 2
by using triple integrals.
3
a √3
Show that the volume of a regular right hexagonal pyramid of edge length a is 2
by using triple integrals.
If the charge density at an arbitrary point (x, y, z) of a solid E is given by the function , then the total charge
ρ(x, y, z)
Assume that the charge density of the solid E enclosed by the paraboloids x = 5 − y − z and x = y + z − 5 is equal
2 2 2 2
to the distance from an arbitrary point of E to the origin. Set up the integral that gives the total charge inside the solid E .
Contributors
OpenStax Calculus 3
Apex Calculus
Edited by Paul Seeburger (Monroe Community College)
12 9/5/2021 https://math.libretexts.org/@go/page/21045
Triple Integrals in Cylindrical and Spherical Coordinates
Learning Objectives
Evaluate a triple integral by changing to cylindrical coordinates.
Evaluate a triple integral by changing to spherical coordinates.
Earlier in this chapter we showed how to convert a double integral in rectangular coordinates into a double integral in polar
coordinates in order to deal more conveniently with problems involving circular symmetry. A similar situation occurs with
triple integrals, but here we need to distinguish between cylindrical symmetry and spherical symmetry. In this section we
convert triple integrals in rectangular coordinates into a triple integral in either cylindrical or spherical coordinates.
Also recall the chapter prelude, which showed the opera house l’Hemisphèric in Valencia, Spain. It has four sections with one
of the sections being a theater in a five-story-high sphere (ball) under an oval roof as long as a football field. Inside is an
IMAX screen that changes the sphere into a planetarium with a sky full of 9000 twinkling stars. Using triple integrals in
spherical coordinates, we can find the volumes of different geometric shapes like these.
y
in polar coordinates and vice versa, where x = r cos θ , y = r sin θ, r = x + y and tan θ = ( ) are the relationships
2 2 2
x
(r, θ, z) and vice versa. We can use these same conversion relationships, adding z as the vertical distance to the point from the
(xy-plane as shown in 1 .
Figure 1: Cylindrical coordinates are similar to polar coordinates with a vertical z coordinate added.
To convert from rectangular to cylindrical coordinates, we use the conversion
x = r cos θ
y = r sin θ
z =z
z =z
1 9/5/2021 https://math.libretexts.org/@go/page/21046
In the two-dimensional plane with a rectangular coordinate system, when we say x = k (constant) we mean an unbounded
vertical line parallel to the y -axis and when y = l (constant) we mean an unbounded horizontal line parallel to the x-axis. With
the polar coordinate system, when we say r = c (constant), we mean a circle of radius c units and when θ = α (constant) we
mean an infinite ray making an angle α with the positive x-axis.
Similarly, in three-dimensional space with rectangular coordinates (x, y, z) the equations x = k, y = l and z = m where k, l
and m are constants, represent unbounded planes parallel to the yz-plane, xz-plane and xy-plane, respectively. With
cylindrical coordinates (r, θ, z) , by r = c, θ = α , and z = m , where c, α, and m are constants, we mean an unbounded
vertical cylinder with the z-axis as its radial axis; a plane making a constant angle α with the xy-plane; and an unbounded
horizontal plane parallel to the xy-plane, respectively. This means that the circular cylinder x + y = c in rectangular 2 2 2
coordinates can be represented simply as r = c in cylindrical coordinates. (Refer to Cylindrical and Spherical Coordinates for
more review.)
Rectangular x
2
+y
2
= c
2
z
2
= c (x
2 2
+y )
2
x
2
+y
2
+z
2
= c
2
z = c(x
2
+y )
2
Cylindrical r = c z = cr
2
r +z
2
= c
2
z = cr
2
As before, we start with the simplest bounded region B in R to describe in cylindrical coordinates, in the form of a
3
cylindrical box, B = {(r, θ, z)|a ≤ r ≤ b, α ≤ θ ≤ β, c ≤ z ≤ d} (Figure 2). Suppose we divide each interval into l, m,
β⋅α
and n subdivisions such that Δr = b⋅a
l
, Δθ =
m
, and Δz =
d⋅c
n
. Then we can state the following definition for a triple
integral in cylindrical coordinates.
If the function is continuous on B and if (r , θ , z ) is any sample point in the cylindrical subbox
f (r, θ, z)
∗
ijk
∗
ijk
∗
ijk
B ijk = |ri−1 , r | × |θ
i , θ | × |z
j−1 j , k | (Figure 2 ), then we can define the triple integral in cylindrical coordinates as
k−1 i
the limit of a triple Riemann sum, provided the following limit exists:
2 9/5/2021 https://math.libretexts.org/@go/page/21046
l m n
∗ ∗ ∗
lim ∑ ∑ ∑ f (r ,θ ,z )ΔrΔθΔz. (2)
ijk ijk ijk
l,m,n→∞
i=1 j=1 k=1
Note that if g(x, y, z) is the function in rectangular coordinates and the box B is expressed in rectangular coordinates, then the
triple integral
and we have
∭ g(x, y, z)dV = ∭ g(r cos θ, r sin θ, z)r dr dθ dz = ∭ f (r, θ z)r dr dθ dz. (5)
B B B
As mentioned in the preceding section, all the properties of a double integral work well in triple integrals, whether in
rectangular coordinates or cylindrical coordinates. They also hold for iterated integrals. To reiterate, in cylindrical coordinates,
Fubini’s theorem takes the following form:
The iterated integral may be replaced equivalently by any one of the other five iterated integrals obtained by integrating with
respect to the three variables in other orders.
Cylindrical coordinate systems work well for solids that are symmetric around an axis, such as cylinders and cones. Let us
look at some examples before we define the triple integral in cylindrical coordinates on general cylindrical regions.
Solution
As stated in Fubini’s theorem, we can write the triple integral as the iterated integral
θ=π/2 r=2 z=4
The evaluation of the iterated integral is straightforward. Each variable in the integral is independent of the others, so we
can integrate each variable separately and multiply the results together. This makes the computation much easier:
3 9/5/2021 https://math.libretexts.org/@go/page/21046
θ=π/2 r=2 z=4 π/2 2 4
2
∫ ∫ ∫ (zr sin θ)r dz dr dθ = ( ∫ sin θ dθ) ( ∫ r dr) ( ∫ z dz) (9)
θ=0 r=0 z=0 0 0 0
2 4
3 2
π/2 r ∣ z ∣ 64
= ( − cos θ| )( ∣ )( ∣ ) = .
0
3 ∣ 2 ∣ 3
0 0
Exercise 1 :
Evaluate the triple integral
θ=π r=1 z=4
Hint
Follow the same steps as in the previous example.
Answer
8
If the cylindrical region over which we have to integrate is a general solid, we look at the projections onto the coordinate
planes. Hence the triple integral of a continuous function f (r, θ, z) over a general solid region
E = {(r, θ, z)|(r, θ) ∈ D, u (r, θ) ≤ z ≤ u (r, θ)}
1 in R where D is the projection of E onto the rθ-plane, is
2
3
u2 (r,θ)
Similar formulas exist for projections onto the other coordinate planes. We can use polar coordinates in those planes if
necessary.
4 9/5/2021 https://math.libretexts.org/@go/page/21046
Figure 3: Setting up a triple integral in cylindrical coordinates over a cylindrical region.
Solution
First, identify that the equation for the sphere is r + z = 16 . We can see that the limits for z are from 0 to
2 2
−−− −− −
z = √16 − r . Then the limits for r are from 0 to r = 2 sin θ . Finally, the limits for θ are from 0 to π. Hence the region
2
− −−− − −
is E = {(r, θ, z)|0 ≤ θ ≤ π, 0 ≤ r ≤ 2 sin θ, 0 ≤ z ≤ √16 − r }. Therefore, the triple integral is
2
Exercise 2 :
Consider the region inside the right circular cylinder with equation r = 2 sin θ bounded below by the rθ -plane and
bounded above by z = 4 − y . Set up a triple integral with a function f (r, θ, z) in cylindrical coordinates.
Hint
Analyze the region, and draw a sketch.
Answer
θ=π r=2 sin θ z=4−r sin θ
15.5.4). Set up a triple integral in cylindrical coordinates to find the volume of the region, using the following orders of
integration:
a. dz dr dθ
b. dr dz dθ
5 9/5/2021 https://math.libretexts.org/@go/page/21046
Figure 4: Setting up a triple integral in cylindrical coordinates over a conical region.
Solution
−−−−−−
a. The cone is of radius 1 where it meets the paraboloid. Since z = 2 − x − y = 2 − r and z = √x + y = r
2 2 2 2 2 2
have r = 1 . Therefore z = 1 . So the intersection of these two surfaces is a circle of radius 1 in the plane z = 1 . The cone
is the lower bound for z and the paraboloid is the upper bound. The projection of the region onto the xy-plane is the circle
of radius 1 centered at the origin.
Thus, we can describe the region as E = {(r, θ, z)|0 ≤ θ ≤ 2π, 0 ≤ r ≤ 1, r ≤ z ≤ 2 − r }
2
.
Hence the integral for the volume is
2
θ=2π r=1 z=2−r
V =∫ ∫ ∫ r dz dr dθ. (15)
θ=0 r=0 z=r
b. We can also write the cone surface as r = z and the paraboloid as r = 2 − z . The lower bound for r is zero, but the
2
upper bound is sometimes the cone and the other times it is the paraboloid. The plane z = 1 divides the region into two
regions. Then the region can be described as
− −−−
E = {(r, θ, z)|0 ≤ θ ≤ 2π, 0 ≤ z ≤ 1, 0 ≤ r ≤ z} ∪ {(r, θ, z)|0 ≤ θ ≤ 2π, 1 ≤ z ≤ 2, 0 ≤ r ≤ √ 2 − z }. (16)
V =∫ ∫ ∫ r dr dz dθ + ∫ ∫ ∫ r dr dz dθ. (17)
θ=0 z=0 r=0 θ=0 z=1 r=0
Exercise 3 :
Redo the previous example with the order of integration dθ dz dr .
Hint
Note that θ is independent of r and z .
Answer
E = {(r, θ, z)|0 ≤ θ ≤ 2π, 0 ≤ z ≤ 1, 0 ≤ r ≤ 2 − z }
2
and
2
r=1 z=2−r θ=2π
V =∫ ∫ ∫ r dθ dz dr. (18)
r=0 z=0 θ=0
6 9/5/2021 https://math.libretexts.org/@go/page/21046
Let E be the region bounded below by the rθ-plane, above by the sphere x + y + z = 4 , and on the sides by the 2 2 2
cylinder x + y = 1 (Figure 15.5.5). Set up a triple integral in cylindrical coordinates to find the volume of the region
2 2
using the following orders of integration, and in each case find the volume and check that the answers are the same:
a. dz dr dθ
b. dr dz dθ .
V (E) = ∫ ∫ ∫ r dz dr dθ (22)
θ=0 r=0 z=0
2π
8 – 8 –
=∫ ( − √3) dθ = 2π ( − √3) cubic units. (24)
0
3 3
–
have 1 + z = 4 , that is, z = 3 . Thus we have two regions, since the sphere and the cylinder intersect at (1, √3) in the
2 2
rz -plane
− −−−− –
2
E1 = {(r, θ, z)|0 ≤ r ≤ √ 4 − r , √3 ≤ z ≤ 2, 0 ≤ θ ≤ 2π} (25)
and
–
E2 = {(r, θ, z)|0 ≤ r ≤ 1, 0 ≤ z ≤ √3, 0 ≤ θ ≤ 2π}. (26)
7 9/5/2021 https://math.libretexts.org/@go/page/21046
2
θ=2π z=2 r=√4−r θ=2π z=√3 r=1
V (E) = ∫ ∫ ∫ r dr dz dθ + ∫ ∫ ∫ r dr dz dθ (27)
θ=0 z=√3 r=0 θ=0 z=0 r=0
– 16 – 8 –
= √3π + ( − 3 √3) π = 2π ( − √3) cubic units. (28)
3 3
Exercise 4
Redo the previous example with the order of integration dθ dz dr .
Hint
A figure can be helpful. Note that θ is independent of r and z .
Answer
−−−− −
2
E2 = {(r, θ, z)|0 ≤ θ ≤ 2π, 0 ≤ r ≤ 1, r ≤ z ≤ √4 − r } and
2
r=1 z=√4−r θ=2π
V =∫ ∫ ∫ r dθ dz dr. (29)
r=0 z=r θ=0
polar angle θ from the positive x-axis (same as in the cylindrical coordinate system), and the angle φ from the positive z -axis
and the line OP (Figure 6). Note that ρ > 0 and 0 ≤ φ ≤ π . (Refer to Cylindrical and Spherical Coordinates for a review.)
Spherical coordinates are useful for triple integrals over regions that are symmetric with respect to the origin.
Figure 6: The spherical coordinate system locates points with two angles and a distance from the origin.
Recall the relationships that connect rectangular coordinates with spherical coordinates.
From spherical coordinates to rectangular coordinates:
x = ρ sin φ cos θ, y = ρ sin φ sin θ, and z = ρ cos φ. (30)
y z
2 2 2 2
ρ =x +y + z , tan θ = , φ = arccos( −−−−−−−−− − ). (31)
x √ x + y2 + z2
2
θ =θ These equations are used to convert from spherical coordinates to cylindrical coordinates.
z = ρ cos φ
8 9/5/2021 https://math.libretexts.org/@go/page/21046
and
−− −−−−
2 2
ρ = √r + z
θ =θ These equations are used to convert from cylindrical coordinates to spherical coordinates.
z
φ = arccos( )
√r2 +z 2
7 shows a few solid regions that are convenient to express in spherical coordinates.
Figure 7: Spherical coordinates are especially convenient for working with solids bounded by these types of surfaces. (The
letter c indicates a constant.)
the following theorem for triple integrals in spherical coordinates with (ρ , θ , φ ) being any sample point in the spherical
∗
ijk
∗
ijk
∗
ijk
subbox B . For the volume element of the subbox ΔV in spherical coordinates, we have ΔV = (Δρ) (ρΔφ) (ρ sin φ Δθ) ,
ijk
∗ ∗ ∗ ∗ 2
lim ∑ ∑ ∑ f (ρ ,θ ,φ )(ρ ) sin φΔρΔθΔφ (32)
ijk ijk ijk ijk
l,m,n→∞
i=1 j=1 k=1
9 9/5/2021 https://math.libretexts.org/@go/page/21046
As with the other multiple integrals we have examined, all the properties work similarly for a triple integral in the spherical
coordinate system, and so do the iterated integrals. Fubini’s theorem takes the following form.
This iterated integral may be replaced by other iterated integrals by integrating with respect to the three variables in other
orders.
As stated before, spherical coordinate systems work well for solids that are symmetric around a point, such as spheres and
cones. Let us look at some examples before we consider triple integrals in spherical coordinates on general spherical regions.
Solution
As before, in this case the variables in the iterated integral are actually independent of each other and hence we can
integrate each piece and multiply:
2π π/2 1 2π π/2 1
2 2
1 2π
∫ ∫ ∫ ρ sin φ dρ dφ dθ = ∫ dθ ∫ sin φ dφ ∫ ρ dρ = (2π) (1) ( ) = (35)
0 0 0 0 0 0
3 3
The concept of triple integration in spherical coordinates can be extended to integration over a general solid, using the
projections onto the coordinate planes. Note that dV and dA mean the increments in volume and area, respectively. The
variables V and A are used as the variables for integration to express the integrals.
The triple integral of a continuous function f (ρ, θ, φ) over a general solid region
E = {(ρ, θ, φ)|(ρ, θ) ∈ D, u1 (ρ, θ) ≤ φ ≤ u2 (ρ, θ)} (36)
u2 (ρ,θ)
Similar formulas occur for projections onto the other coordinate planes.
10 9/5/2021 https://math.libretexts.org/@go/page/21046
Figure 9: A region bounded below by a cone and above by a hemisphere.
Solution
Using the conversion formulas from rectangular coordinates to spherical coordinates, we have:
−−−−−−− − –
For the cone: z = √3(x 2 2
+y ) or ρ cos φ = √3ρ sin φ or tan φ = 1
or φ = π
6
.
√3
−−−−−−−− −
For the sphere: z = √4 − x 2
−y
2
or z 2 2
+x +y
2
=4 or ρ 2
=4 or ρ = 2 .
Thus, the triple integral for the volume is
θ=2π φ+π/6 ρ=2
2
V (E) = ∫ ∫ ∫ ρ sin φ dρ dφ dθ. (39)
θ=0 φ=0 ρ=0
Exercise 5
Set up a triple integral for the volume of the solid region bounded above by the sphere ρ = 2 and bounded below by the
cone φ = π/3.
Hint
Follow the steps of the previous example.
Answer
θ=2π φ=π/3 ρ=2
2
V (E) = ∫ ∫ ∫ ρ sin φ dρ dφ dθ (40)
θ=0 φ=0 ρ=0
15.5.10). Set up a triple integral in spherical coordinates and find the volume of the region using the following orders of
integration:
a. dρ dϕ dθ
b. dφ dρ dθ
11 9/5/2021 https://math.libretexts.org/@go/page/21046
Figure 10:. A region bounded below by a cone and above by a sphere.
Solution
a. Use the conversion formulas to write the equations of the sphere and cone in spherical coordinates.
For the sphere:
2 2 2
x +y +z =z (41)
2
ρ = ρ cos φ (42)
ρ = cos φ. (43)
−−−−−−−−−−−−
2 2 2
ρ cos φ = √ ρ sin φ cos ϕ (45)
−−−−−−−−−−−−−−−−−−−−
2 2 2 2
ρ cos φ = √ ρ sin φ (cos ϕ + sin ϕ) (46)
φ = π/4. (49)
Hence the integral for the volume of the solid region E becomes
θ=2π φ=π/4 ρ=cos φ
2
V (E) = ∫ ∫ ∫ ρ sin φ dρ dφ dθ. (50)
θ=0 φ=0 ρ=0
b. Consider the φρ-plane. Note that the ranges for φ and ρ (from part a.) are
– –
0 ≤ ρ√2/2and √2 ≤ ρ1 (51)
–
The curve ρ = cos φ meets the line φ = π/4 at the point (π/4, √2/2). Thus, to change the order of integration, we need
to use two pieces:
–
0 ≤ ρ ≤ √2/2, 0 ≤ φ ≤ π/4 (53)
and
– −1
√2/2 ≤ ρ ≤ 1, 0 ≤ φ ≤ cos ρ. (54)
Hence the integral for the volume of the solid region E becomes
−1
θ=2π ρ=√2/2 φ=π/4 θ=2π ρ=1 φ=cos ρ
2 2
V (E) = ∫ ∫ ∫ ρ sin φ dφ dρ dθ + ∫ ∫ ∫ ρ sin φ dφ dρ dθ (55)
θ=0 ρ=0 φ=0 θ=0 ρ=√2/2 φ=0
8
.
12 9/5/2021 https://math.libretexts.org/@go/page/21046
Before we end this section, we present a couple of examples that can illustrate the conversion from rectangular coordinates to
cylindrical coordinates and from rectangular coordinates to spherical coordinates.
Solution
The ranges of the variables are
−1 ≤ y ≤ y (57)
−−−−−
2
0 ≤ x ≤ √1 − y (58)
−−−−−−
2 2 2 2
x +y ≤ z ≤ √x +y . (59)
The first two inequalities describe the right half of a circle of radius 1. Therefore, the ranges for θ and r are
π π
− ≤θ ≤ and 0 ≤ r ≤ 1. (60)
2 2
Solution
The ranges of the variables are
0 ≤y ≤3 (63)
−−−−−
2
0 ≤ x ≤ √9 − y (64)
−−−−−− −−−−−−−−−−
2 2 2 2
√x +y ≤ z ≤ √ 18 − x −y . (65)
The first two ranges of variables describe a quarter disk in the first quadrant of the xy -plane. Hence the range for θ is
0 ≤θ ≤
π
2
.
−−−−−− −−−−−−−−− −
The lower bound z = √x + y is the upper half of a cone and the upper bound
2 2 2
z = √18 − x − y
2
is the upper half
−− –
of a sphere. Therefore, we have 0 ≤ ρ ≤ √18 , which is 0 ≤ ρ ≤ 3√2 .
For the ranges of φ we need to find where the cone and the sphere intersect, so solve the equation
13 9/5/2021 https://math.libretexts.org/@go/page/21046
2 2
r +z = 18 (66)
−−−−−−
2 2 2 2
(√ x +y ) +z = 18 (67)
2 2
z +z = 18 (68)
2
2z = 18 (69)
2
z =9 (70)
z = 3. (71)
This gives
–
3 √2 cos φ = 3 (72)
1
cos φ = (73)
–
√2
π
φ = . (74)
4
Exercise 6 :
Use rectangular, cylindrical, and spherical coordinates to set up triple integrals for finding the volume of the region inside
the sphere x + y + z = 4 but outside the cylinder x + y = 1 .
2 2 2 2 2
Answer: Rectangular
x=2 y=√4−x2 z=√4−x2 −y 2 x=1 y=√1−x2 z=√4−x2 −y 2
∫ ∫ ∫ dz dy dx − ∫ ∫ ∫ dz dy dx. (76)
2 2 2 2 2 2
x=−2 y=−√4−x z=−√4−x −y x=−1 y=−√1−x z=−√4−x −y
Answer: Cylindrical
2
θ=2π r=2 z=√4−r
∫ ∫ ∫ r dz dr dθ. (77)
2
θ=0 r=1 z=−√4−r
Answer: Spherical
φ=5π/6 θ=2π ρ=2
2
∫ ∫ ∫ ρ sin φ dρ dθ dφ. (78)
φ=π/6 θ=0 ρ=csc φ
Now that we are familiar with the spherical coordinate system, let’s find the volume of some known geometric figures, such as
spheres and ellipsoids.
14 9/5/2021 https://math.libretexts.org/@go/page/21046
Figure 11: (credit: modification of work by Javier Yaya Tur, Wikimedia Commons)
Solution
We calculate the volume of the ball in the first octant, where x ≤ 0, y ≤ 0 , and z ≤ 0 , using spherical coordinates, and
then multiply the result by 8 for symmetry. Since we consider the region D as the first octant in the integral, the ranges of
the variables are
π π
0 ≤φ ≤ , 0 ≤ ρ ≤ r, 0 ≤ θ ≤ . (79)
2 2
Therefore,
θ=π/2 ρ=π φ=π/2
2
V =∭ dx dy dz = 8 ∫ ∫ ∫ ρ sin θ dφ dρ dφ (80)
D θ=0 ρ=0 φ=0
3
π r
=8 ( ) ( ) (1) (82)
2 3
4 3
= πr . (83)
3
This exactly matches with what we knew. So for a sphere with a radius of approximately 50 ft, the volume is
π(50 ) ≈ 523, 600 f t .
4 3 3
c
2
=1 .
b
Solution
We again use symmetry and evaluate the volume of the ellipsoid using spherical coordinates. As before, we use the first
octant x ≤ 0, y ≤ 0 , and z ≤ 0 and then multiply the result by 8.
In this case the ranges of the variables are
π π
0 ≤φ ≤ 0 ≤ ρ ≤ 1, and 0 ≤ θ ≤ . (84)
2 2
15 9/5/2021 https://math.libretexts.org/@go/page/21046
V =∭ dx dy dz (86)
D
(88)
π 1
= 8abc ( )( ) (1) (90)
2 3
4
= πabc. (91)
3
Example 12: Finding the Volume of the Space Inside an Ellipsoid and Outside a Sphere
2
2 2
y
Find the volume of the space inside the ellipsoid x
2
+
2
+
z
2
=1 and outside the sphere x 2
+y
2
+z
2
= 50
2
.
75 80 90
Solution
This problem is directly related to the l’Hemisphèric structure. The volume of space inside the ellipsoid and outside the
sphere might be useful to find the expense of heating or cooling that space. We can use the preceding two examples for
the volume of the sphere and ellipsoid and then substract.
First we find the volume of the ellipsoid using a = 75 ft, b = 80 ft, and c = 90 ft in the result from Example. Hence the
volume of the ellipsoid is
4
3
Vellipsoid = π(75)(80)(90) ≈ 2, 262, 000 f t . (92)
3
2
2 2
y
Therefore, the volume of the space inside the ellipsoid x
2
+
2
+
z
2
=1 and outside the sphere x 2
+y
2
+z
2
= 50
2
75 80 90
is approximately
3
VH emispheric = Vellipsoid − Vsphere = 1, 738, 400 f t . (94)
Figure 12: Balloons lift off at the 2001 Albuquerque International Balloon Fiesta. (credit: David Herrera, Flickr)
As the name implies, hot air balloons use hot air to generate lift. (Hot air is less dense than cooler air, so the balloon floats
as long as the hot air stays hot.) The heat is generated by a propane burner suspended below the opening of the basket.
Once the balloon takes off, the pilot controls the altitude of the balloon, either by using the burner to heat the air and
ascend or by using a vent near the top of the balloon to release heated air and descend. The pilot has very little control
16 9/5/2021 https://math.libretexts.org/@go/page/21046
over where the balloon goes, however—balloons are at the mercy of the winds. The uncertainty over where we will end
up is one of the reasons balloonists are attracted to the sport.
In this project we use triple integrals to learn more about hot air balloons. We model the balloon in two pieces. The top of
the balloon is modeled by a half sphere of radius 28
feet. The bottom of the balloon is modeled by a frustum of a cone (think of an ice cream cone with the pointy end cut off).
The radius of the large end of the frustum is 28 feet and the radius of the small end of the frustum is 28 feet. A graph of
our balloon model and a cross-sectional diagram showing the dimensions are shown in the following figure.
Figure 13: (a) Use a half sphere to model the top part of the balloon and a frustum of a cone to model the bottom part of
the balloon. (b) A cross section of the balloon showing its dimensions.
We first want to find the volume of the balloon. If we look at the top part and the bottom part of the balloon separately, we
see that they are geometric solids with known volume formulas. However, it is still worthwhile to set up and evaluate the
integrals we would need to find the volume. If we calculate the volume using integration, we can use the known volume
formulas to check our answers. This will help ensure that we have the integrals set up correctly for the later, more
complicated stages of the project.
1. Find the volume of the balloon in two ways.
a. Use triple integrals to calculate the volume. Consider each part of the balloon separately. (Consider using spherical
coordinates for the top part and cylindrical coordinates for the bottom part.)
b. Verify the answer using the formulas for the volume of a sphere, V =
4
3
3
πr , and for the volume of a cone,
πr h .
1 2
V =
3
In reality, calculating the temperature at a point inside the balloon is a tremendously complicated endeavor. In fact, an
entire branch of physics (thermodynamics) is devoted to studying heat and temperature. For the purposes of this project,
however, we are going to make some simplifying assumptions about how temperature varies from point to point within
the balloon. Assume that just prior to liftoff, the temperature (in degrees Fahrenheit) of the air inside the balloon varies
according to the function
z−r
T0 (r, θ, z) = + 210. (95)
10
2. What is the average temperature of the air in the balloon just prior to liftoff? (Again, look at each part of the balloon
separately, and do not forget to convert the function into spherical coordinates when looking at the top part of the
balloon.)
Now the pilot activates the burner for 10 seconds. This action affects the temperature in a 12-foot-wide column 20 feet
high, directly above the burner. A cross section of the balloon depicting this column in shown in the following figure
17 9/5/2021 https://math.libretexts.org/@go/page/21046
Figure 14: Activating the burner heats the air in a 20-foot-high, 12-foot-wide column directly above the burner.
Assume that after the pilot activates the burner for 10 seconds, the temperature of the air in the column described above
increases according to the formula
H (r, θ, z) = −2z − 48. (96)
3. Find the average temperature of the air in the balloon after the pilot has activated the burner for 10 seconds.
Key Concepts
To evaluate a triple integral in cylindrical coordinates, use the iterated integral
θ=β r=g2 (θ) u2 (r,θ)
Key Equations
Triple integral in cylindrical coordinates
Glossary
triple integral in cylindrical coordinates
the limit of a triple Riemann sum, provided the following limit exists:
18 9/5/2021 https://math.libretexts.org/@go/page/21046
l m n
∗ ∗ ∗ ∗
li ml,m,n→∞ ∑ ∑ ∑ f (r ,θ ,s )r ΔrΔθΔz
ijk ijk ijk ijk
∗ ∗ ∗ ∗ 2
li ml,m,n→∞ ∑ ∑ ∑ f (ρ ,θ ,φ )(ρ ) sin φΔρΔθΔφ
ijk ijk ijk ijk
19 9/5/2021 https://math.libretexts.org/@go/page/21046
CHAPTER OVERVIEW
16: VECTOR FIELDS, LINE INTEGRALS, AND VECTOR THEOREMS
GREEN'S THEOREM
Green’s theorem is an extension of the Fundamental Theorem of Calculus to two dimensions. It has two forms: a circulation form and
a flux form, both of which require region D in the double integral to be simply connected. However, we will extend Green’s theorem
to regions that are not simply connected. Green’s theorem relates a line integral around a simply closed plane curve C and a double
integral over the region enclosed by C.
LINE INTEGRALS
Line integrals have many applications to engineering and physics. They also allow us to make several useful generalizations of the
Fundamental Theorem of Calculus. And, they are closely connected to the properties of vector fields, as we shall see.Line integrals
have many applications to engineering and physics. They also allow us to make several useful generalizations of the Fundamental
Theorem of Calculus. And, they are closely connected to the properties of vector fields, as we shall see.
STOKES' THEOREM
In this section, we study Stokes’ theorem, a higher-dimensional generalization of Green’s theorem. This theorem, like the
Fundamental Theorem for Line Integrals and Green’s theorem, is a generalization of the Fundamental Theorem of Calculus to higher
dimensions. Stokes’ theorem relates a vector surface integral over surface S in space to a line integral around the boundary of S.
SURFACE INTEGRALS
If we wish to integrate over a surface (a two-dimensional object) rather than a path (a one-dimensional object) in space, then we need
a new kind of integral. We can extend the concept of a line integral to a surface integral to allow us to perform this integration.
Surface integrals are important for the same reasons that line integrals are important. They have many applications to physics and
engineering, and they allow us to expand the Fundamental Theorem of Calculus to higher dimensions.
1 9/15/2021
VECTOR FIELDS
Vector fields are an important tool for describing many physical concepts, such as gravitation and electromagnetism, which affect the
behavior of objects over a large region of a plane or of space. They are also useful for dealing with large-scale behavior such as
atmospheric storms or deep-sea ocean currents. In this section, we examine the basic definitions and graphs of vector fields so we can
study them in more detail in the rest of this chapter.
2 9/15/2021
Conservative Vector Fields
Learning Objectives
Describe simple and closed curves; define connected and simply connected regions.
Explain how to find a potential function for a conservative vector field.
Use the Fundamental Theorem for Line Integrals to evaluate a line integral in a vector field.
Explain how to test a vector field to determine whether it is conservative.
In this section, we continue the study of conservative vector fields. We examine the Fundamental Theorem for Line Integrals,
which is a useful generalization of the Fundamental Theorem of Calculus to line integrals of conservative vector fields. We
also discover show how to test whether a given vector field is conservative, and determine how to build a potential function for
a vector field known to be conservative.
Figure 1. Types of curves that are simple or not simple and closed or not closed.
curve exactly once and r (a) = r (b) . Curve C is a simple curve if C does not cross itself. That is, C is simple if there
⇀ ⇀
exists a parameterization r (t) , a ≤ t ≤ b of C such that r is one-to-one over (a, b). It is possible for r (a) = r (b) ,
⇀ ⇀ ⇀ ⇀
Solution
Note that ⇀
r (0) = ⟨1, 0⟩ = r (2π)
⇀
; therefore, the curve is closed. The curve is not simple, however. To see this, note that
⇀
r (
π
2
⇀
) = ⟨0, 0⟩ = r (
3π
2
) , and therefore the curve crosses itself at the origin (Figure 2).
1 9/5/2021 https://math.libretexts.org/@go/page/21057
Figure 2. A curve that is closed but not simple.
Exercise 1
Is the curve given by parameterization ⇀
r (t) = ⟨2 cos t, 3 sin t⟩ , 0 ≤ t ≤ 6π , a simple closed curve?
Hint
Sketch the curve.
Answer
Yes
Many of the theorems in this chapter relate an integral over a region to an integral over the boundary of the region, where the
region’s boundary is a simple closed curve or a union of simple closed curves. To develop these theorems, we need two
geometric definitions for regions: that of a connected region and that of a simply connected region. A connected region is one
in which there is a path in the region that connects any two points that lie within that region. A simply connected region is a
connected region that does not have any holes in it. These two notions, along with the notion of a simple closed curve, allow
us to state several generalizations of the Fundamental Theorem of Calculus later in the chapter. These two definitions are valid
for regions in any number of dimensions, but we are only concerned with regions in two or three dimensions.
entirely inside D. A region D is a simply connected region if D is connected for any simple closed curve C that lies inside
D, and curve C can be shrunk continuously to a point while staying entirely inside D. In two dimensions, a region is
simply connected if it is connected and has no holes.
All simply connected regions are connected, but not all connected regions are simply connected (Figure 3).
2 9/5/2021 https://math.libretexts.org/@go/page/21057
Figure 3: Not all connected regions are simply connected. (a) Simply connected regions have no holes. (b) Connected regions
that are not simply connected may have holes but you can still find a path in the region between any two points. (c) A region
that is not connected has some points that cannot be connected by a path in the region.
Exercise 2
Is the region in the below image connected? Is the region simply connected?
Hint
Consider the definitions.
Answer
The region in the figure is connected. The region in the figure is not simply connected.
If we think of the gradient as a derivative, then the same theorem holds for vector line integrals. We show how this works
using a motivational example.
3 9/5/2021 https://math.libretexts.org/@go/page/21057
Solution
⇀
We use the method from the previous section to calculate ∫ F ⋅ d r . Curve C can be parameterized by
C
⇀ ⇀
r (t) = ⟨2t, 2t⟩ ,
⇀
0 ≤ t ≤ 1 . Then, F( r (t)) = ⟨4t, 8t⟩ and r '(t) = ⟨2, 2⟩ , which implies that
⇀ ⇀
1
⇀
⇀
∫ F⋅ dr =∫ ⟨4t, 8t⟩ ⋅ ⟨2, 2⟩dt
C 0
1 1
2 1
= [12 t ] = 12.
0
⇀ ⇀
Figure 4: The value of line integral ∫ C
F ⋅ dr
⇀
depends only on the value of the potential function of F at the endpoints of
the curve.
⇀ ⇀
Notice that F = ∇f , where f (x, y) = x + 2y . If we think of the gradient as a derivative, then f is an “antiderivative”
2 2
⇀
of F. In the case of single-variable integrals, the integral of derivative g'(x) is g(b) − g(a) , where a is the start point of
the interval of integration and b is the endpoint. If vector line integrals work like single-variable integrals, then we would
⇀
expect integral F to be f (P ) − f (P ) , where
1 0 P1 is the endpoint of the curve of integration and P0 is the start point.
Notice that this is the case for this example:
⇀ ⇀
⇀ ⇀
∫ F⋅ dr = ∫ ∇f ⋅ d r = 12
C C
and
In other words, the integral of a “derivative” can be calculated by evaluating an “antiderivative” at the endpoints of the
curve and subtracting, just as for single-variable integrals.
The following theorem says that, under certain conditions, what happened in the previous example holds for any gradient field.
The same theorem holds for vector line integrals, which we call the Fundamental Theorem for Line Integrals.
with first-order partial derivatives that exist and are continuous on C. Then,
⇀
⇀ ⇀ ⇀
∫ ∇f ⋅ d r = f ( r (b)) − f ( r (a)). (2)
C
4 9/5/2021 https://math.libretexts.org/@go/page/21057
Proof
First,
b
⇀ ⇀
⇀ ⇀ ⇀
∫ ∇f ⋅ d r = ∫ ∇f ( r (t)) ⋅ r '(t) dt.
C a
b
d ⇀
=∫ (f ( r (t))dt
a dt
⇀ t=b
= [f ( r (t))]
t=a
⇀ ⇀
= f ( r (b)) − f ( r (a)).
⇀ ⇀ ⇀
We know that if F is a conservative vector field, there is a potential function f such that ∇f =F . Therefore
⇀ ⇀
⇀ ⇀ ⇀ ⇀
∫ F⋅ dr = ∫ ∇f ⋅ d r = f ( r (b)) − f ( r (a)). (3)
C C
⇀ ⇀
In other words, just as with the Fundamental Theorem of Calculus, computing the line integral ∫
C
⇀
F⋅ dr , where F is
conservative, is a two-step process:
⇀
1. Find a potential function (“antiderivative”) f for F and
2. Compute the value of f at the endpoints of C and calculate their difference f ( r (b)) − f ( r (a)) . ⇀ ⇀
Keep in mind, however, there is one major difference between the Fundamental Theorem of Calculus and the Fundamental
Theorem for Line Integrals:
A function of one variable that is continuous must have an antiderivative. However, a vector field, even if it is continuous, does
not need to have a potential function.
5 9/5/2021 https://math.libretexts.org/@go/page/21057
e
⇀ ⇀
⇀ ⇀
∫ F ⋅ dr = ∫ F( r (t)) ⋅ r '(t) dt
C 1
e 4
t
2 2 2
=∫ ⟨2 t ln t, + t , 2 t ⟩ ⋅ ⟨2t, 1, 1⟩ dt
1
t
e
3 3 2
=∫ (4 t ln t + t + 3 t ) dt
1
e e
3 3 2
=∫ 4t ln t dt + ∫ (t + 3 t ) dt
1 1
e e
4
3
t 3
=∫ 4t ln t dt + [ +t ]
1
4 1
e 4
e 1
3 3
=∫ 4t ln t dt + +e − −1
1
4 4
e 4
3
e 3
5
=∫ 4t ln t dt + +e −
1
4 4
Integral ∫ 3
t ln t dt requires integration by parts. Let u = ln t and dv = t . Then u = ln t , dv = t 3 3
and
4
1 t
du = dt, v= .
t 4
Therefore,
e
e 4 e
3
t 1 3
∫ t ln t dt = [ ln t] − ∫ t dt
1
4 1 4 1
4 4
e 1 e 1
= − ( − ).
4 4 4 4
Thus,
e 4
⇀
⇀ 3
e 3
5
∫ F⋅ dr =4∫ t ln t dt + +e −
C 1
4 4
4 4 4
e 1 e 1 e 5
3
=4( − ( − )) + +e −
4 4 4 4 4 4
4 4
e 1 e 5
4 3
=e − + + +e −
4 4 4 4
4 3
=e +e − 1.
⇀
2. Given that f (x, y, z) = x ln y + y z is a potential function for
2 2
F , let’s use the Fundamental Theorem for Line
Integrals to calculate the integral. Note that
⇀ ⇀
⇀ ⇀
∫ F⋅ dr =∫ ∇f ⋅ d r
C C
⇀ ⇀
= f ( r (e)) − f ( r (1))
2
= f (e , e, e) − f (1, 1, 1)
4 3
=e +e − 1.
This calculation is much more straightforward than the calculation we did in (a). As long as we have a potential function,
calculating a line integral using the Fundamental Theorem for Line Integrals is much easier than calculating without the
theorem.
6 9/5/2021 https://math.libretexts.org/@go/page/21057
Example 3 illustrates a nice feature of the Fundamental Theorem of Line Integrals: it allows us to calculate more easily many
vector line integrals. As long as we have a potential function, calculating the line integral is only a matter of evaluating the
potential function at the endpoints and subtracting.
Exercise 3
Given that f (x, y) = (x − 1)
2
y + (y + 1)
2
x is a potential function for
⇀ ⇀
+ 2yx + 2x⟩ , calculate integral ∫ F ⋅ d r , where C is the lower half of the
2 2 ⇀
F(x, y) = ⟨2xy − 2y + (y + 1) , (x − 1)
C
Hint
The Fundamental Theorem for Line Intervals says this integral depends only on the value of f at the endpoints of C .
Answer
2
⇀
The Fundamental Theorem for Line Integrals has two important consequences. The first consequence is that if F is
⇀ ⇀
conservative and C is a closed curve, then the circulation of F along C is zero—that is, ∫ F ⋅ d r = 0 . To see why this is
C
⇀
⇀
true, let f be a potential function for F. Since C is a closed curve, the terminal point r (b) of C is the same as the initial
⇀ ⇀
r (a)
of C —that is, r (a) = r (b) . Therefore, by the Fundamental Theorem for Line Integrals,
⇀ ⇀
⇀ ⇀
⇀ ⇀
∮ F⋅ dr =∮ ∇f ⋅ d r (4)
C C
⇀ ⇀
= f ( r (b)) − f ( r (a)) (5)
⇀ ⇀
= f ( r (b)) − f ( r (b)) (6)
= 0. (7)
⇀
Recall that the reason a conservative vector field F is called “conservative” is because such vector fields model forces in
⇀
which energy is conserved. We have shown gravity to be an example of such a force. If we think of vector field F in integral
⇀ ⇀
F ⋅ d r as a gravitational field, then the equation ∮ F ⋅ d r = 0 follows. If a particle travels along a path that starts and
⇀ ⇀
∮
C C
ends at the same place, then the work done by gravity on the particle is zero.
The second important consequence of the Fundamental Theorem for Line Integrals (Equation 2) is that line integrals of
conservative vector fields are independent of path—meaning, they depend only on the endpoints of the given curve, and do not
depend on the path between the endpoints.
7 9/5/2021 https://math.libretexts.org/@go/page/21057
⇀
Let F be a vector field with domain D; it is independent of path (or path independent) if
⇀ ⇀
⇀ ⇀
∫ F⋅ dr = ∫ F⋅ dr (8)
C1 C2
for any paths C and C in Dwith the same initial and terminal points.
1 2
Proof
⇀
Let D denote the domain of F and let C and C be two paths in D with the same initial and terminal points (Figure 5).
1 2
⇀ ⇀
Call the initial point P and the terminal point P . Since F is conservative, there is a potential function f for F. By the
1 2
⇀ ⇀ ⇀
Therefore, ∫C1
⇀
F⋅ dr = ∫
C2
⇀
F⋅ dr and F is independent of path.
□
To visualize what independence of path means, imagine three hikers climbing from base camp to the top of a mountain. Hiker
1 takes a steep route directly from camp to the top. Hiker 2 takes a winding route that is not steep from camp to the top. Hiker
3 starts by taking the steep route but halfway to the top decides it is too difficult for him. Therefore he returns to camp and
takes the non-steep path to the top. All three hikers are traveling along paths in a gravitational field. Since gravity is a force in
which energy is conserved, the gravitational field is conservative. By independence of path, the total amount of work done by
gravity on each of the hikers is the same because they all started in the same place and ended in the same place. The work done
by the hikers includes other factors such as friction and muscle movement, so the total amount of energy each one expended is
not the same, but the net energy expended against gravity is the same for all three hikers.
8 9/5/2021 https://math.libretexts.org/@go/page/21057
⇀ ⇀ ⇀
If F is a continuous vector field that is independent of path and the domain D of F is open and connected, then F is
conservative.
Proof
⇀
We prove the theorem for vector fields in R
2
. The proof for vector fields in 3
R is similar. To show that F = ⟨P , Q⟩ is
⇀
conservative, we must find a potential function f for F. To that end, let X be a fixed point in D. For any point (x, y) in
⇀
D, let C be a path from X to (x, y). Define f (x, y) by f (x, y) = ∫ F ⋅ d r . (Note that this definition of f makes sense
⇀
C
⇀ ⇀
only because F is independent of path. If F was not independent of path, then it might be possible to find another path C '
⇀ ⇀
from X to (x, y) such that ∫ F ⋅ d r
C
⇀
≠∫
C
F⋅ dr
⇀
, and in such a case f (x, y) would not be a function.) We want to show
⇀ ⇀
that f has the property ∇f = F .
Since domain D is open, it is possible to find a disk centered at (x, y) such that the disk is contained entirely inside D.
Let (a, y) with a < x be a point in that disk. Let C be a path from X to (x, y) that consists of two pieces: C and C . 1 2
The first piece, C , is any path from C to (a, y) that stays inside D; C is the horizontal line segment from (a, y) to
1 2
⇀ ⇀
⇀ ⇀
f (x, y) = ∫ F⋅ dr +∫ F⋅ dr.
C1 C2
If we parameterize C by
2
⇀
r (t) = ⟨t, y⟩ , a ≤ t ≤ x , then
∂ ⇀
⇀
fx (x, y) = ∫ F⋅ dr
∂x C2
x
∂ ⇀
⇀ ⇀
= ∫ F( r (t)) ⋅ r '(t) dt
∂x a
x
∂ ⇀ d
⇀
= ∫ F( r (t)) ⋅ (⟨t, y⟩) dt
∂x a
dt
x
∂ ⇀
⇀
= ∫ F( r (t)) ⋅ ⟨1, 0⟩ dt
∂x a
x
∂
= ∫ P (t, y) dt.
∂x a
9 9/5/2021 https://math.libretexts.org/@go/page/21057
Figure 6. Here, C is any path from C to (a, y) that stays inside D , and C is the horizontal line segment from (a, y) to
1 2
(x, y).
A similar argument using a vertical line segment rather than a horizontal line segment shows that f y (x, y) = Q(x, y).
⇀ ⇀ ⇀
Therefore ∇f =F and F is conservative.
□
⇀
We have spent a lot of time discussing and proving the theorems above, but we can summarize them simply: a vector field F
on an open and connected domain is conservative if and only if it is independent of path. This is important to know because
conservative vector fields are extremely important in applications, and these theorems give us a different way of viewing what
it means to be conservative using path independence.
C2
⇀
1
⇀ ⇀
⇀ ⇀ ⇀
∫ F⋅ dr =∫ F( r 1 (t)) ⋅ r 1 '(t) dt
C1 0
1 1
3 3
=∫ ⟨t , t + 5⟩ ⋅ ⟨1, 1⟩ dt = ∫ (t + t + 5) dt
0 0
4 2 1
t t 23
= [ + + 5t] =
4 2 0 4
and
1
⇀ ⇀
⇀ ⇀ ⇀
∫ F⋅ dr =∫ F( r 2 (t)) ⋅ r 2 '(t) dt
C2 0
1 1
4 2 4 3
=∫ ⟨t , t + 5⟩ ⋅ ⟨1, 2t⟩ dt = ∫ (t + 2t + 10t) dt
0 0
1
5 4
t t 2
57
= [ + + 5t ] = .
5 2 0 10
10 9/5/2021 https://math.libretexts.org/@go/page/21057
⇀ ⇀ ⇀
Since ∫
C1
⇀
F⋅ dr ≠ ∫
C2
F⋅ dr
⇀
, the value of a line integral of F depends on the path between two given points.
⇀ ⇀
Therefore, F is not independent of path, and F is not conservative.
Exercise 4
⇀
Show that F(x, y) = ⟨xy, x y ⟩
2 2
is not path independent by considering the line segment from (0, 0) to (0, 2) and the
2
x
piece of the graph of y = that goes from (0, 0) to (0, 2).
2
Hint
Calculate the corresponding line integrals.
Answer
If C and C represent the two curves, then
1 2
⇀ ⇀
⇀ ⇀
∫ F⋅ dr ≠ ∫ F⋅ dr.
C1 C2
11 9/5/2021 https://math.libretexts.org/@go/page/21057
Notice that since we are integrating a two-variable function with respect to x, we must add a constant of integration that is
a constant with respect to x, but may still be a function of y . The equation f (x, y) = x y + h(y) can be confirmed by 2 3
⇀
Since f is a potential function for F,
2 2
fy (x, y) = 3 x y + cos(y),
and therefore
2 2 2 2
3x y + g'(y) = 3 x y + cos(y).
This implies that h'(y) = cos y , so h(y) = sin y + C . Therefore, any function of the form f (x, y) = x y 2 3
+ sin(y) + C
is a potential function. Taking, in particular, C = 0 gives the potential function f (x, y) = x y + sin(y) . 2 3
⇀ ⇀
To verify that f is a potential function, note that ∇f (x, y) = ⟨2x y 3 2
, 3x y
2
+ cos y⟩ = F .
Exercise 5
⇀
Find a potential function for F(x, y) = ⟨e x
y
3
+ y, 3 e y
x 2
+ x⟩ .
Hint
Follow the steps in Example 5.
Answer
x 3
f (x, y) = e y + xy
The logic of the previous example extends to finding the potential function for any conservative vector field in R . Thus, we 2
1. Integrate P with respect to x. This results in a function of the form g(x, y) + h(y) , where h(y) is unknown.
2. Take the partial derivative of g(x, y) + h(y) with respect to y , which results in the function gy(x, y) + h'(y) .
3. Use the equation gy(x, y) + h'(y) = Q(x, y) to find h'(y).
4. Integrate h'(y) to find h(y).
⇀
5. Any function of the form f (x, y) = g(x, y) + h(y) + C , where C is a constant, is a potential function for F.
We can adapt this strategy to find potential functions for vector fields in R , as shown in the next example. 3
⇀
Find a potential function for F (x, y, z) = ⟨2xy, x 2 3
+ 2y z , 3 y z
2 2
+ 2z⟩ , thereby showing that F is conservative.
Solution
⇀ ⇀
Suppose that f is a potential function. Then, ∇f = F and therefore f (x, y, z) = 2xy. Integrating this equation withx
respect to x yields the equation f (x, y, z) = x y + g(y, z) for some function g . Notice that, in this case, the constant of
2
12 9/5/2021 https://math.libretexts.org/@go/page/21057
Therefore,
3
gy (y, z) = 2y z .
for some function h(z) of z alone. (Notice that, because we know that g is a function of only y and z , we do not need to
write g(y, z) = y z + h(x, z) .) Therefore,
2 3
2 2 2 3
f (x, y, z) = x y + g(y, z) = x y + y z + h(z).
⇀ ⇀
To verify that f is a potential function, note that ∇f (x, y, z) = ⟨2xy, x 2
+ 2y z , 3 y z
3 2 2
+ 2z⟩ = F(x, y, z) .
Exercise 6
⇀
Find a potential function for F(x, y, z) = ⟨12x 2
, cos y cos z, 1 − sin y sin z⟩ .
Hint
Following Example 6, begin by integrating with respect to x .
Answer
3
f (x, y, z) = 4 x + sin y cos z + z
We can apply the process of finding a potential function to a gravitational force. Recall that, if an object has unit mass and is
located at the origin, then the gravitational force in R that the object exerts on another object of unit mass at the point (x, y)
2
⇀ x y
F(x, y) = −G ⟨ , ⟩ ,
3/2 3/2
2 2 2 2
(x +y ) (x +y )
⇀
where G is the universal gravitational constant. In the next example, we build a potential function for F, thus confirming what
we already know: that gravity is conservative.
⇀ x y
Find a potential function f for F(x, y) = −G ⟨ 3/2
,
3/2
⟩ .
2 2 2 2
(x +y ) (x +y )
Solution
⇀ ⇀
Suppose that f is a potential function. Then, ∇f =F and therefore
−Gx
fx (x, y) = .
3/2
2
(x + y2 )
du
To integrate this function with respect to x, we can use u-substitution. If u = x 2
+y
2
, then = x dx , so
2
13 9/5/2021 https://math.libretexts.org/@go/page/21057
−Gx −G
∫ dx = ∫ du
2 2 3/2 3/2
(x +y ) 2u
G
= + h(y)
−
√u
G
= −−−−−− + h(y)
√x + y2
2
⇀
Since f is a potential function for F,
−Gy
fy (x, y) =
3/2
2 2
(x +y )
.
G −Gy
Since f (x, y) = −−−−−−
+ h(y) ,f
y (x, y) also equals + h'(y) .
2 2 3/2
√x + y 2 2
(x +y )
Therefore,
−Gy −Gy
+ h'(y) = ,
3/2 3/2
(x2 + y 2 ) (x2 + y 2 )
which implies that h'(y) = 0 . Thus, we can take h(y) to be any constant; in particular, we can let h(y) = 0 . The function
G
f (x, y) =
−−−−−−
2 2
√x + y
⇀
is a potential function for the gravitational field F. To confirm that f is a potential function, note that
⇀ 1 G 1 G
∇f (x, y) = ⟨− (2x), − (2y)⟩
2 3/2 2 3/2
(x2 + y 2 ) (x2 + y 2 )
−Gx −Gy
=⟨ , ⟩
3/2 3/2
2 2 2 2
(x +y ) (x +y )
⇀
= F(x, y).
Exercise 7
Find a potential function f for the three-dimensional gravitational force
⇀ −Gx −Gy −Gz
F(x, y, z) = ⟨ , , ⟩ .
3/2 3/2 3/2
2 2 2 2 2 2 2 2 2
(x +y +z ) (x +y +z ) (x +y +z )
Hint
Follow the Problem-Solving Strategy.
Answer
G
f (x, y, z) =
−−−−−−−−− −
√x2 + y 2 + z 2
14 9/5/2021 https://math.libretexts.org/@go/page/21057
Testing a Vector Field
Until now, we have worked with vector fields that we know are conservative, but if we are not told that a vector field is
⇀ ⇀
conservative, we need to be able to test whether it is conservative. Recall that, if F is conservative, then F has the cross-partial
⇀
property (see The Cross-Partial Property of Conservative Vector Fields). That is, if F = ⟨P , Q, R⟩ is conservative, then
⇀ ⇀ ⇀
P = Q , P = R , and Q = R . So, if F has the cross-partial property, then is F conservative? If the domain of F is open
y x z x z y
Although a proof of this theorem is beyond the scope of the text, we can discover its power with some examples. Later, we see
why it is necessary for the region to be simply connected.
Combining this theorem with the cross-partial property, we can determine whether a given vector field is conservative:
⇀
The version of this theorem in R is also true. If F(x, y) = ⟨P , Q⟩ is a vector field on an open, simply connected domain in
2
⇀
R , then F is conservative if and only if P = Q .
2
y x
⇀
Conservative Vector Fields to determine whether F is conservative. Let
2
P (x, y, z) = x y z
2
Q(x, y, z) = x yz
and
2
R(x, y, z) = z .
Since Q z (x, y, z) = x y
2
and R y (x, y, z) = 0 , the vector field is not conservative.
Solution
⇀ ⇀
Note that the domain of F is the part of R in which y > 0 . Thus, the domain of F is part of a plane above the x-axis,
2
and this domain is simply connected (there are no holes in this region and this region is connected). Therefore, we can use
⇀
The Cross-Partial Property of Conservative Vector Fields to determine whether F is conservative. Let
2
x
P (x, y) = x ln(y) and Q(x, y) = .
2y
15 9/5/2021 https://math.libretexts.org/@go/page/21057
x ⇀
Then P y (x, y) = = Qx (x, y) and thus F is conservative.
y
Exercise 8
⇀
Determine whether F(x, y) = ⟨sin x cos y, cos x sin y⟩ is conservative.
Hint
Use The Cross-Partial Property of Conservative Vector Fields from the previous section.
Answer
It is conservative.
When using The Cross-Partial Property of Conservative Vector Fields, it is important to remember that a theorem is a tool,
and like any tool, it can be applied only under the right conditions. In the case of The Cross-Partial Property of
Conservative Vector Fields, the theorem can be applied only if the domain of the vector field is simply connected.
To see what can go wrong when misapplying the theorem, consider the vector field from Example 4:
⇀ y −x
^ ^
F(x, y) = i + j. (9)
2 2 2 2
x +y x +y
and
2 2 2 2
∂ −x −(x + y ) + x(2x) x −y
( ) = = . (11)
2 2 2 2
∂x x +y (x2 + y 2 ) (x2 + y 2 )
⇀ ⇀ ⇀
Since F satisfies the cross-partial property, we might be tempted to conclude that F is conservative. However, F is not
conservative. To see this, let
⇀
r (t) = ⟨cos t, sin t⟩, 0 ≤t ≤π (12)
be a parameterization of the upper half of a unit circle oriented counterclockwise (denote this C ) and let 1
⇀
s (t) = ⟨cos t, − sin t⟩, 0 ≤t ≤π (13)
be a parameterization of the lower half of a unit circle oriented clockwise (denote this C2 ). Notice that C1 and C2 have the
same starting point and endpoint. Since sin t + cos t = 1 , 2 2
⇀
⇀ ⇀
F( r (t)) ⋅ r '(t) = ⟨sin(t), − cos(t)⟩ ⋅ ⟨− sin(t), cos(t)⟩ = −1 (14)
and
⇀
⇀ ⇀ 2 2
F( s (t)) ⋅ s '(t) = ⟨− sin t, − cos t⟩ ⋅ ⟨− sin t, − cos t⟩ = sin t + cos t = 1. (15)
Therefore,
π
⇀
⇀
∫ F⋅ dr = ∫ −1 dt = −π (16)
C1 0
and
π
⇀
⇀
∫ F⋅ dr = ∫ 1 dt = π. (17)
C2 0
16 9/5/2021 https://math.libretexts.org/@go/page/21057
⇀ ⇀ ⇀
Thus, C and C have the same starting point and endpoint, but ∫
1 2
C1
⇀
F⋅ dr ≠ ∫
C2
F⋅ dr
⇀
. Therefore, F is not independent of
⇀
path and F is not conservative.
⇀ ⇀
To summarize: F satisfies the cross-partial property and yet F is not conservative. What went wrong? Does this contradict
⇀
The Cross-Partial Property of Conservative Vector Fields? The issue is that the domain of F is all of R except for the 2
⇀
origin. In other words, the domain of F has a hole at the origin, and therefore the domain is not simply connected. Since the
⇀
domain is not simply connected, The Cross-Partial Property of Conservative Vector Fields does not apply to F.
We close this section by looking at an example of the usefulness of the Fundamental Theorem for Line Integrals. Now that we
can test whether a vector field is conservative, we can always decide whether the Fundamental Theorem for Line Integrals can
⇀
be used to calculate a vector line integral. If we are asked to calculate an integral of the form ∫ F ⋅ d r , then our first question C
⇀
⇀
should be: Is F conservative? If the answer is yes, then we should find a potential function and use the Fundamental Theorem
for Line Integrals to calculate the integral. If the answer is no, then the Fundamental Theorem for Line Integrals cannot help us
⇀
⇀′
and we have to use other methods, such as using the method from the previous section (using F( r (t)) and r (t) ). ⇀
⇀ ⇀
so that F(x, y, z) = ⟨P , Q, R⟩. Since the domain of F is simply connected, we can check the cross partials to determine
⇀
whether F is conservative. Note that
y
Py (x, y, z) = 2x e z = Qx (x, y, z)
y x
Pz (x, y, z) = 2x e +e = Rx (x, y, z)
2 y
Qz (x, y, z) = x e = Ry (x, y, z).
⇀
Therefore, F is conservative.
⇀ ⇀
To evaluate ∫ F ⋅ d r using the Fundamental Theorem for Line Integrals, we need to find a potential function f for F.
C
⇀
⇀ ⇀ ⇀
Let f be a potential function for F. Then, ∇f = F , and therefore f (x, y, z) = 2x e z + e z . Integrating this equationx
y x
with respect to x gives f (x, y, z) = x e z + e z + h(y, z) for some function h . Differentiating this equation with
2 y x
respect to y gives x e z + h (y, z) = Q(x, y, z) = x e z , which implies that h (y, z) = 0 . Therefore, h is a function
2 y
y
2 y
y
⇀
Therefore, h'(z) = 0 and we can take h(z) = 0 . A potential function for F is f (x, y, z) = x 2 y
e z+e z
x
.
Now that we have a potential function, we can use the Fundamental Theorem for Line Integrals to evaluate the integral.
By the theorem,
⇀ ⇀
⇀ ⇀
∫ F⋅ dr =∫ ∇f ⋅ d r
C C
= f (1, 1, 1) − f (0, 0, 0)
= 2e.
Analysis
17 9/5/2021 https://math.libretexts.org/@go/page/21057
⇀
Notice that if we hadn’t recognized that F is conservative, we would have had to parameterize C and use the method
from the previous section. Since curve C is unknown, using the Fundamental Theorem for Line Integrals is much simpler.
Exercise 9
⇀ ⇀
Calculate integral ∫ F ⋅ d r , where
C
⇀
F(x, y) = ⟨sin x sin y, 5 − cos x cos y⟩ and C is a semicircle with starting point
(0, π) and endpoint (0, −π).
Hint
Use the Fundamental Theorem for Line Integrals.
Answer
−10π
movement at any point in a plane that is not on the x-axis or the y -axis. Furthermore, the particle’s motion can be
⇀
modeled with a smooth parameterization. Show that F does positive work on the particle.
Solution
⇀ ⇀
We show that F does positive work on the particle by showing that F is conservative and then by using the Fundamental
Theorem for Line Integrals.
⇀ ⇀
To show that F is
conservative, suppose f (x, y) were a potential function for F. Then,
⇀ ⇀
∇f (x, y) = F(x, y) = ⟨2x y , 2 x y⟩ and therefore f (x, y) = 2x y and f (x, y) = 2x y . The equation
2 2
x
2
y
2
f x(x, y) = 2xy implies that f (x, y) = x y + h(y) . Deriving both sides with respect to y
2 2 2
yields
f (x, y) = 2 x y + h'(y) . Therefore, h'(y) = 0 and we can take h(y) = 0 .
2
y
⇀ ⇀ ⇀
If f (x, y) = x 2
y
2
, then note that ∇f (x, y) = ⟨2x y 2 2
, 2 x y⟩ = F , and therefore f is a potential function for F.
Let (a, b) be the point at which the particle stops is motion, and let C denote the curve that models the particle’s motion.
⇀ ⇀
The work done by F on the particle is ∫ C
F⋅ dr
⇀
. By the Fundamental Theorem for Line Integrals,
⇀
⇀ ⇀
∫ F⋅ dr =∫ ∇f ⋅ d r
C C
= f (a, b) − f (0, 0)
2 2
=a b .
⇀ ⇀
Since a ≠ 0 and b ≠ 0 , by assumption, a 2 2
b >0 . Therefore, ∫ C
⇀
F⋅ dr > 0 , and F does positive work on the particle.
Analysis
Notice that this problem would be much more difficult without using the Fundamental Theorem for Line Integrals. To
apply the tools we have learned, we would need to give a curve parameterization and use the method from the previous
section. Since the path of motion C can be as exotic as we wish (as long as it is smooth), it can be very difficult to
parameterize the motion of the particle.
Exercise 10
⇀
Let F(x, y) = ⟨4x y , 4x y ⟩, and suppose that a particle moves from point
3 4 4 3
(4, 4) to (1, 1) along any smooth curve. Is
⇀
the work done by F on the particle positive, negative, or zero?
Hint
18 9/5/2021 https://math.libretexts.org/@go/page/21057
Use the Fundamental Theorem for Line Integrals.
Answer
Negative
Key Concepts
The theorems in this section require curves that are closed, simple, or both, and regions that are connected or simply
connected.
The line integral of a conservative vector field can be calculated using the Fundamental Theorem for Line Integrals. This
theorem is a generalization of the Fundamental Theorem of Calculus in higher dimensions. Using this theorem usually
makes the calculation of the line integral easier.
Conservative fields are independent of path. The line integral of a conservative field depends only on the value of the
potential function at the endpoints of the domain curve.
⇀ ⇀ ⇀
Given vector field F, we can test whether F is conservative by using the cross-partial property. If F has the cross-partial
⇀ ⇀
property and the domain is simply connected, then F is conservative (and thus has a potential function). If F is
conservative, we can find a potential function by using the Problem-Solving Strategy.
The circulation of a conservative vector field on a simply connected domain over a closed curve is zero.
Key Equations
Fundamental Theorem for Line Integrals
⇀
⇀ ⇀ ⇀
∫ ∇f ⋅ d r = f ( r (b)) − f ( r (a))
C
Circulation of a conservative field over curve C that encloses a simply connected region
⇀
⇀
∮ ∇f ⋅ d r = 0
C
Glossary
closed curve
a curve that begins and ends at the same point
connected region
a region in which any two points can be connected by a path with a trace contained entirely inside the region
⇀
⇀ ⇀ ⇀
C : ∫ ∇f ⋅ d r = f ( r (b)) − f ( r (a))
C
independence of path
⇀ ⇀ ⇀ ⇀
⇀ ⇀
a vector field F has path independence if ∫ F⋅ dr = ∫ F⋅ dr for any curves C and C in the domain of F with the
1 2
C1 C2
simple curve
a curve that does not cross itself
19 9/5/2021 https://math.libretexts.org/@go/page/21057
Contributors and Attributions
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
20 9/5/2021 https://math.libretexts.org/@go/page/21057
Divergence and Curl
Learning Objectives
Determine divergence from the formula for a given vector field.
Determine curl from the formula for a given vector field.
Use the properties of curl and divergence to determine whether a vector field is conservative.
In this section, we examine two important operations on a vector field: divergence and curl. They are important to the field of
calculus for several reasons, including the use of curl and divergence to develop some higher-dimensional versions of the
Fundamental Theorem of Calculus. In addition, curl and divergence appear in mathematical descriptions of fluid mechanics,
electromagnetism, and elasticity theory, which are important concepts in physics and engineering. We can also apply curl and
divergence to other concepts we already explored. For example, under certain conditions, a vector field is conservative if and
only if its curl is zero.
In addition to defining curl and divergence, we look at some physical interpretations of them, and show their relationship to
conservative and source-free vector fields.
Divergence
Divergence is an operation on a vector field that tells us how the field behaves toward or away from a point. Locally, the
⇀
divergence of a vector field F in R or R at a particular point P is a measure of the “outflowing-ness” of the vector field at
2 3
⇀ ⇀
P . If F represents the velocity of a fluid, then the divergence of F at P measures the net rate of change with respect to time of
the amount of fluid flowing away from P (the tendency of the fluid to flow “out of” P). In particular, if the amount of fluid
flowing into P is the same as the amount flowing out, then the divergence at P is zero.
Definition: divergence in R 3
⇀ ⇀
If F = ⟨P , Q, R⟩ is a vector field in R and P
3
x, Qy , and R all exist, then the divergence of F is defined by
z
div F = Px + Qy + Rz (1)
∂P ∂Q ∂R
= + + . (2)
∂x ∂y ∂z
Note the divergence of a vector field is not a vector field, but a scalar function. In terms of the gradient operator
⇀ ∂ ∂ ∂
∇ =⟨ , , ⟩ (3)
∂x ∂y ∂z
Note this is merely helpful notation, because the dot product of a vector of operators and a vector of functions is not
meaningfully defined given our current definition of dot product.
⇀ ⇀
If F = ⟨P , Q⟩ is a vector field in R , and P and Q both exist, then the divergence of F is defined similarly as
2
x y
⇀
div F = Px + Qy
∂P ∂Q
= +
∂x ∂y
⇀ ⇀
= ∇ ⋅ F.
To illustrate this point, consider the two vector fields in Figure 1. At any particular point, the amount flowing in is the same as
the amount flowing out, so at every point the “outflowing-ness” of the field is zero. Therefore, we expect the divergence of
1 9/5/2021 https://math.libretexts.org/@go/page/21059
both fields to be zero, and this is indeed the case, as
∂ ∂
div(⟨1, 2⟩) = (1) + (2) = 0 (5)
∂x ∂y
and
∂ ∂
div(⟨−y, x⟩) = (−y) + (x) = 0. (6)
∂x ∂y
Figure 1: (a) Vector field ⟨1, 2⟩ has zero divergence. (b) Vector field ⟨−y, x⟩ also has zero divergence.
⇀
By contrast, consider radial vector field R(x, y) = ⟨−x, −y⟩ in Figure 2. At any given point, more fluid is flowing in than is
flowing out, and therefore the “outgoingness” of the field is negative. We expect the divergence of this field to be negative,
and this is indeed the case, as
⇀ ∂ ∂
div(R) = (−x) + (−y) = −2. (7)
∂x ∂y
2 9/5/2021 https://math.libretexts.org/@go/page/21059
Figure 2: This vector field has negative divergence.
To get a global sense of what divergence is telling us, suppose that a vector field in R represents the velocity of a fluid.
2
Imagine taking an elastic circle (a circle with a shape that can be changed by the vector field) and dropping it into a fluid. If
the circle maintains its exact area as it flows through the fluid, then the divergence is zero. This would occur for both vector
fields in Figure 1. On the other hand, if the circle’s shape is distorted so that its area shrinks or expands, then the divergence is
not zero. Imagine dropping such an elastic circle into the radial vector field in Figure 2 so that the center of the circle lands at
point (3, 3). The circle would flow toward the origin, and as it did so the front of the circle would travel more slowly than the
back, causing the circle to “scrunch” and lose area. This is how you can see a negative divergence.
⇀
Therefore, the divergence at (0, 2, −1) is e − 1 + 4 = 4 . If
0
F represents the velocity of a fluid, then more fluid is
flowing out than flowing in at point (0, 2, −1).
Exercise 1
⇀
Find div F for
⇀
2 2 2
F(x, y, z) = ⟨xy, 5 − z , x + y ⟩.
Hint
Follow Example 1.
Answer
⇀
div F = y
One application for divergence occurs in physics, when working with magnetic fields. A magnetic field is a vector field that
models the influence of electric currents and magnetic materials. Physicists use divergence in Gauss’s law for magnetism,
⇀ ⇀ ⇀
which states that if B is a magnetic field, then ∇ ⋅ B = 0 ; in other words, the divergence of a magnetic field is zero.
3 9/5/2021 https://math.libretexts.org/@go/page/21059
Example 2 : Determining Whether a Field Is Magnetic
⇀
Is it possible for F(x, y) = ⟨x 2 2
y, y − x y ⟩ to be a magnetic field?
Solution
⇀ ⇀
If F were magnetic, then its divergence would be zero. The divergence of F is
∂ ∂
2 2
(x y) + (y − x y ) = 2xy + 1 − 2xy = 1
∂x ∂y
⇀
and therefore F cannot model a magnetic field (Figure 3).
⇀
Figure 3: The divergence of vector field F(x, y) = ⟨x 2
y, y − xy ⟩
2
is one, so it cannot model a magnetic field.
Another application for divergence is detecting whether a field is source free. Recall that a source-free field is a vector field
that has a stream function; equivalently, a source-free field is a field with a flux that is zero along any closed curve. The next
two theorems say that, under certain conditions, source-free vector fields are precisely the vector fields with zero divergence.
Proof
⇀ ⇀
Since Fis source free, there is a function g(x, y) with gy = P and −gx = Q . Therefore, F = ⟨gy , −gx ⟩ and
⇀
div F = g −g
yx = 0 by Clairaut’s theorem.
xy
The converse of Divergence of a Source-Free Vector Field is true on simply connected regions, but the proof is too technical to
include here. Thus, we have the following theorem, which can test whether a vector field in R is source free. 2
4 9/5/2021 https://math.libretexts.org/@go/page/21059
⇀
Let F = ⟨P , Q⟩ be a continuous vector field with differentiable component functions with a domain that is simply
⇀ ⇀
connected. Then, div F = 0 if and only if F is source free.
⇀ ⇀
functions. Therefore, we can use the Divergence Test for Source-Free Vector Fields to analyze F. The divergence of F is
∂ 2
∂ 2
(x y) + (5 − x y ) = 2xy − 2xy = 0.
∂x ∂y
⇀
Therefore, F is source free by the Divergence Test for Source-Free Vector Fields.
Exercise 2
⇀ ⇀
Let F(x, y) = ⟨−ay, bx⟩ be a rotational field where a and b are positive constants. Is F source free?
Hint
Calculate the divergence.
Answer
Yes
⇀
where C is a simple closed curve and D is the region enclosed by C . Since P x + Qy = div F , Green’s theorem is sometimes
written as
⇀ ⇀ ⇀
∮ F ⋅ N ds = ∬ div F dA. (9)
C D
Therefore, Green’s theorem can be written in terms of divergence. If we think of divergence as a derivative of sorts, then
⇀ ⇀
Green’s theorem says the “derivative” of F on a region can be translated into a line integral of F along the boundary of the
region. This is analogous to the Fundamental Theorem of Calculus, in which the derivative of a function f on a line segment
[a, b] can be translated into a statement about f on the boundary of [a, b]. Using divergence, we can see that Green’s theorem
fluid. Since the divergence of v at point P measures the “outflowing-ness” of the fluid at P , div v(P ) > 0 implies that more
⇀
fluid is flowing out of P than flowing in. Similarly, div v(P ) < 0 implies the more fluid is flowing in to P than is flowing
out, and div v (P ) = 0 implies the same amount of fluid is flowing in as flowing out.
⇀
5 9/5/2021 https://math.libretexts.org/@go/page/21059
∂ ∂
⇀
div( v ) = (−xy) + (y) = −y + 1.
∂x ∂y
To find the divergence at (1, 4) substitute the point into the divergence: −4 + 1 = −3 . Since the divergence of ⇀
v at
(1, 4) is negative, more fluid is flowing in than flowing out (Figure 4 ).
Exercise 3
For vector field v (x, y) = ⟨−xy, y⟩,
⇀
y >0 , find all points P such that the amount of fluid flowing in to P equals the
amount of fluid flowing out of P .
Hint
Find where the divergence is zero.
Answer
All points on line y = 1 .
Curl
The second operation on a vector field that we examine is the curl, which measures the extent of rotation of the field about a
⇀ ⇀
point. Suppose that F represents the velocity field of a fluid. Then, the curl of F at point P is a vector that measures the
tendency of particles near P to rotate about the axis that points in the direction of this vector. The magnitude of the curl vector
at P measures how quickly the particles rotate around this axis. In other words, the curl at a point is a measure of the vector
field’s “spin” at that point. Visually, imagine placing a paddlewheel into a fluid at P , with the axis of the paddlewheel aligned
with the curl vector (Figure 5). The curl measures the tendency of the paddlewheel to rotate.
6 9/5/2021 https://math.libretexts.org/@go/page/21059
Figure 5: To visualize curl at a point, imagine placing a small paddlewheel into the vector field at a point.
Consider the vector fields in Figure 1. In part (a), the vector field is constant and there is no spin at any point. Therefore, we
expect the curl of the field to be zero, and this is indeed the case. Part (b) shows a rotational field, so the field has spin. In
particular, if you place a paddlewheel into a field at any point so that the axis of the wheel is perpendicular to a plane, the
wheel rotates counterclockwise. Therefore, we expect the curl of the field to be nonzero, and this is indeed the case (the curl is
^
2k ).
To see what curl is measuring globally, imagine dropping a leaf into the fluid. As the leaf moves along with the fluid flow, the
curl measures the tendency of the leaf to rotate. If the curl is zero, then the leaf doesn’t rotate as it moves through the fluid.
Definition: Curl
⇀ ⇀
If F = ⟨P , Q, R⟩ is a vector field in R , and P
3
x, Qy , and R all exist, then the curl of F is defined by
z
⇀
^ ^ ^
curl F = (Ry − Qz ) i + (Pz − Rx ) j + (Qx − Py ) k (10)
∂R ∂Q ∂P ∂R ∂Q ∂P
^ ^ ^
=( − ) i +( − ) j +( − ) k. (11)
∂y ∂z ∂z ∂x ∂x ∂y
Note that the curl of a vector field is a vector field, in contrast to divergence.
⇀ ⇀
The definition of curl can be difficult to remember. To help with remembering, we use the notation ∇×F to stand for a
“determinant” that gives the curl formula:
∣ ^ ^ ^ ∣
i j k
∣ ∣
∣ ∂ ∂ ∂ ∣
. (12)
∣ ∣
∂x ∂y ∂z
∣ ∣
∣ P Q R ∣
Thus, this matrix is a way to help remember the formula for curl. Keep in mind, though, that the word determinant is used very
loosely. A determinant is not really defined on a matrix with entries that are three vectors, three operators, and three functions.
⇀ ⇀
If F = ⟨P , Q⟩ is a vector field in R , then the curl of F, by definition, is
2
⇀ ∂Q ∂P
^ ^
curl F = (Qx − Py ) k = ( − ) k. (14)
∂x ∂y
7 9/5/2021 https://math.libretexts.org/@go/page/21059
Example 5 : Finding the Curl of a Three-Dimensional Vector Field
⇀
Find the curl of F(P , Q, R) = ⟨x 2
z, e
y
+ xz, xyz⟩ .
Solution
The curl is
⇀ ⇀
curl f = ∇ × F
∣ ^ ^ ^ ∣
i j k
∣ ∣
= ∣ ∂/∂x ∂/∂y ∂/∂z ∣
∣ ∣
∣ P Q R ∣
^ ^ ^
= (Ry − Qz ) i + (Pz − Rx ) j + (Qx − Py ) k
^ 2 ^ ^
= (xz − x) i + (x − yz) j + z k.
Exercise 4
⇀ π π
Find the curl of F = ⟨sin x cos z, sin y sin z, cos x cos y⟩ at point (0, , .
)
2 2
Hint
⇀ ⇀
Find the determinant of matrix ∇ × F .
Answer
^
−i
Therefore, this vector field does have spin. To see why, imagine placing a paddlewheel at any point in the first quadrant
(Figure 6). The larger magnitudes of the vectors at the top of the wheel cause the wheel to rotate. The wheel rotates in the
clockwise (negative) direction, causing the coefficient of the curl to be negative.
8 9/5/2021 https://math.libretexts.org/@go/page/21059
⇀
Figure 6: Vector field F(x, y) = ⟨y, 0⟩ consists of vectors that are all parallel.
⇀ ⇀
Note that if F = ⟨P , Q⟩ is a vector field in a plane, then curl F ⋅ k
^
= (Q x
^ ^
− Py ) k ⋅ k = Qx − Py . Therefore, the circulation
form of Green’s theorem is sometimes written as
⇀ ⇀
⇀ ^
∮ F⋅ dr = ∬ curl F ⋅ k dA, (16)
C D
where C is a simple closed curve and D is the region enclosed by C . Therefore, the circulation form of Green’s theorem can
⇀
be written in terms of the curl. If we think of curl as a derivative of sorts, then Green’s theorem says that the “derivative” of F
⇀
on a region can be translated into a line integral of F along the boundary of the region. This is analogous to the Fundamental
Theorem of Calculus, in which the derivative of a function f on line segment [a, b] can be translated into a statement about f
on the boundary of [a, b]. Using curl, we can see the circulation form of Green’s theorem is a higher-dimensional analog of the
Fundamental Theorem of Calculus.
We can now use what we have learned about curl to show that gravitational fields have no “spin.” Suppose there is an object at
the origin with mass m at the origin and an object with mass m . Recall that the gravitational force that object 1 exerts on
1 2
Then,
9 9/5/2021 https://math.libretexts.org/@go/page/21059
⇀
^ ^ ^
curl F = −Gm1 m2 [(Ry − Qz ) i + (Pz − Rx ) j + (Qx − Py )k]
−3yz −3yz
⎛ ^ ⎞
( −( )) i
⎜ (x2 + y 2 + z 2 )5/2 (x2 + y 2 + z 2 )5/2 ⎟
⎜ ⎟
⎜ ⎟
⎜ −3xz −3xz ⎟
⎜ +( ^ ⎟
= −Gm1 m2 −( )) j
⎜ 2 2 2 5/2 2 2 2 5/2 ⎟
⎜ (x + y +z ) (x +y +z ) ⎟
⎜ ⎟
⎜ ⎟
⎜ −3xy −3xy ⎟
^
+( −( )) k
⎝ 2 2 2 5/2 2 2 2 5/2 ⎠
(x +y +z ) (x +y +z )
⇀
= 0.
Since the curl of the gravitational field is zero, the field has no spin.
Exercise 7
y x
Field ⇀
v (x, y) = ⟨− , ⟩ models the flow of a fluid. Show that if you drop a leaf into this fluid, as the leaf
x2 + y 2 x2 + y 2
Hint
Calculate the curl.
Answer
⇀ ⇀
curl v = 0
next theorem says that the result is always zero. This result is useful because it gives us a way to show that some vector fields
are not the curl of any other field. To give this result a physical interpretation, recall that divergence of a velocity field v at ⇀
point P measures the tendency of the corresponding fluid to flow out of P . Since div(curl v ) = 0 , the net rate of flow in ⇀
⇀ ⇀
vector field curl v \) at any point is zero. Taking the curl of vector field F eliminates whatever divergence was present in F.
⇀
Proof
By the definitions of divergence and curl, and by Clairaut’s theorem,
⇀
^ ^ ^
div(curl F) = div[(Ry − Qz ) i + (Pz − Rx ) j + (Qx − Py ) k]
= 0.
10 9/5/2021 https://math.libretexts.org/@go/page/21059
⇀
Show that F(x, y, z) = e
x ^ ^ 2 ^
i + yz j + x z k is not the curl of another vector field. That is, show that there is no other
⇀ ⇀ ⇀
vector G with curl G = F .
Solution
⇀ ⇀
Notice that the domain of F is all of R and the second-order partials of F are all continuous. Therefore, we can apply the
3
⇀
previous theorem to F.
⇀ ⇀ ⇀ ⇀ ⇀
The divergence of F is e + z + 2xz . If F were the curl of vector field G , then
x
div F = div(curl G) = 0 . But, the
⇀ ⇀
divergence of F is not zero, and therefore F is not the curl of any other vector field.
Exercise 8
⇀
Is it possible for G(x, y, z) = ⟨sin x, cos y, sin(xyz)⟩ to be the curl of a vector field?
Hint
⇀
⇀ ⇀
With the next two theorems, we show that if F is a conservative vector field then its curl is zero, and if the domain of F is
simply connected then the converse is also true. This gives us another way to test whether a vector field is conservative.
Proof
⇀
Since conservative vector fields satisfy the cross-partials property, all the cross-partials of F are equal. Therefore,
⇀
^ ^ ^
curl F = (Ry − Qz ) i + (Pz − Rx ) j + (Qx − Py ) k
⇀
= 0.
Proof
⇀ ⇀ ⇀
Since curl F = 0 , we have that R = Q , P = R , and Q = P . Therefore, F satisfies the cross-partials property on
y z z x x y
⇀
a simply connected domain, and the Cross-Partial Property of Conservative Fields implies that F is conservative.
□
11 9/5/2021 https://math.libretexts.org/@go/page/21059
⇀
The same theorem is also true in a plane. Therefore, if F is a vector field in a plane or in space and the domain is simply
⇀ ⇀ ⇀
connected, then F is conservative if and only if curl F = 0 .
⇀
Figure 7: The curl of vector field F(x, y, z) = ⟨yz, xz, xy⟩ is zero.
⇀
The curl of F is
∂ ∂ ∂ ∂ ∂ ∂ ⇀
^ ^ ^ ^ ^ ^
( xy − xz) i + ( yz − xy) j + ( xz − yz) k = (x − x) i + (y − y) j + (z − z) k = 0 .
∂y ∂z ∂y ∂z ∂y ∂z
⇀
Thus, F is conservative.
We have seen that the curl of a gradient is zero. What is the divergence of a gradient? If f is a function of two variables, then
⇀ ⇀ ⇀ ⇀2
div(∇f ) = ∇ ⋅ (∇f ) = fxx + fyy . We abbreviate this “double dot product” as ∇ . This operator is called the Laplace
⇀2
operator, and in this notation Laplace’s equation becomes ∇ f =0 . Therefore, a harmonic function is a function that
becomes zero after taking the divergence of a gradient.
Similarly, if f is a function of three variables then
⇀ ⇀ ⇀
div(∇f ) = ∇ ⋅ (∇f ) = fxx + fyy + fzz . (19)
Using this notation we get Laplace’s equation for harmonic functions of three variables:
⇀2
∇ f = 0. (20)
Harmonic functions arise in many applications. For example, the potential function of an electrostatic field in a region of space
that has no static charge is harmonic.
Solution
12 9/5/2021 https://math.libretexts.org/@go/page/21059
If f were such a potential function, then f would be harmonic. Note that f xx =2 and fyy = 0 , and so fxx + fyy ≠ 0 .
Therefore, f is not harmonic and f cannot represent an electrostatic potential.
Exercise 10
Is it possible for function f (x, y) = x 2
−y
2
+x to be the potential function of an electrostatic field located in a region
of R free of static charge?
2
Hint
Determine whether the function is harmonic.
Answer
Yes.
Key Concepts
The divergence of a vector field is a scalar function. Divergence measures the “outflowing-ness” of a vector field. If v is ⇀
the velocity field of a fluid, then the divergence of v at a point is the outflow of the fluid less the inflow at the point.
⇀
The curl of a vector field is a vector field. The curl of a vector field at point P measures the tendency of particles at P to
rotate about the axis that points in the direction of the curl at P .
A vector field with a simply connected domain is conservative if and only if its curl is zero.
Key Equations
Curl
⇀ ⇀
^ ^ ^
∇ × F = (Ry − Qz ) i + (Pz − Rx ) j + (Qx − Py ) k
Divergence
⇀ ⇀
∇ ⋅ F = Px + Qy + Rz
Glossary
curl
⇀ ⇀ ⇀
the curl of vector field F = ⟨P , Q, R⟩ , denoted ∇ × F is the “determinant” of the matrix
∣ ^ ^ ^ ∣
i j k
∣ ∣
∣ ∂ ∂ ∂ ∣
.
∣ ∣
∂x ∂y ∂z
∣ ∣
∣ P Q R ∣
point to rotate about the axis that points in the direction of the curl at the point
divergence
⇀ ⇀ ⇀
the divergence of a vector field F = ⟨P , Q, R⟩ , denoted ∇ × F , is P x + Qy + Rz ; it measures the “outflowing-ness” of
a vector field
13 9/5/2021 https://math.libretexts.org/@go/page/21059
Contributors and Attributions
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Let F = 10xi + 8yj + 7zk . Compute the divergence and the curl.
A. div F =
B. curl F = i+ j+ k
WeBWorK © 2000-2021 | host: https://demo.webwork.rochester.edu | course: seeburger_course | format: sticky | theme: math4
A. div F =
B. curl F = i+ j+ k
C. div curl F =
Note: Your answers should be expressions of x, y and/or z; e.g. "3xy" or "z" or "5"
WeBWorK © 2000-2021 | host: https://demo.webwork.rochester.edu | course: seeburger_course | format: sticky | theme: math4
14 9/5/2021 https://math.libretexts.org/@go/page/21059
15 9/5/2021 https://math.libretexts.org/@go/page/21059
Green's Theorem
Learning Objectives
Apply the circulation form of Green’s theorem.
Apply the flux form of Green’s theorem.
Calculate circulation and flux on more general regions.
In this section, we examine Green’s theorem, which is an extension of the Fundamental Theorem of Calculus to two dimensions. Green’s
theorem has two forms: a circulation form and a flux form, both of which require region D in the double integral to be simply connected.
However, we will extend Green’s theorem to regions that are not simply connected.
Put simply, Green’s theorem relates a line integral around a simply closed plane curve C and a double integral over the region enclosed by
C . The theorem is useful because it allows us to translate difficult line integrals into more simple double integrals, or difficult double
As a geometric statement, this equation says that the integral over the region below the graph of F '(x) and above the line segment [a, b]
depends only on the value of F at the endpoints a and b of that segment. Since the numbers a and b are the boundary of the line segment
b
[a, b], the theorem says we can calculate integral ∫ F '(x) dx based on information about the boundary of line segment [a, b] (Figure 1 ).
a
The same idea is true of the Fundamental Theorem for Line Integrals:
⇀
⇀ ⇀ ⇀
∫ ∇f ⋅ d r = f ( r (b)) − f ( r (a)). (2)
C
When we have a potential function (an “antiderivative”), we can calculate the line integral based solely on information about the boundary
of curve C .
Figure 1: The Fundamental Theorem of Calculus says that the integral over line segment [a, b] depends only on the values of the
antiderivative at the endpoints of [a, b] .
Green’s theorem takes this idea and extends it to calculating double integrals. Green’s theorem says that we can calculate a double integral
over region D based solely on information about the boundary of D. Green’s theorem also says we can calculate a line integral over a
simple closed curve C based solely on information about the region that C encloses. In particular, Green’s theorem connects a double
integral over region D to a line integral around the boundary of D.
1 9/5/2021 https://math.libretexts.org/@go/page/21058
⇀
⇀
∮ F⋅ dr = ∮ P dx + Q dy (3)
C C
Figure 2: The circulation form of Green’s theorem relates a line integral over curve C to a double integral over region D .
⇀ ⇀
Notice that Green’s theorem can be used only for a two-dimensional vector field F . If F is a three-dimensional field, then Green’s
theorem does not apply. Since
⇀ ⇀
∫ P dx + Q dy = ∫ F ⋅ T ds (5)
C C
this version of Green’s theorem is sometimes referred to as the tangential form of Green’s theorem.
The proof of Green’s theorem is rather technical, and beyond the scope of this text. Here we examine a proof of the theorem in the special
⇀
case that D is a rectangle. For now, notice that we can quickly confirm that the theorem is true for the special case in which F = ⟨P , Q⟩ is
conservative. In this case,
∮ P dx + Q dy = 0 (6)
C
⇀
because the circulation is zero in conservative vector fields. F satisfies the cross-partial condition, so P y = Qx . Therefore,
∬ (Qx − Py ) dA = ∫ 0 dA = 0 = ∮ P dx + Q dy (7)
D D C
Proof
Let’s now prove that the circulation form of Green’s theorem is true when the region D is a rectangle. Let D be the rectangle
[a, b] × [c, d] oriented counterclockwise. Then, the boundary C of D consists of four piecewise smooth pieces C1 , C , C , and C
2 3 4
2 9/5/2021 https://math.libretexts.org/@go/page/21058
Figure 3: Rectangle D is oriented counterclockwise.
Then,
⇀ ⇀ ⇀ ⇀ ⇀
⇀ ⇀ ⇀ ⇀ ⇀
∫ F⋅ dr =∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr
C C1 C2 C3 C4
⇀ ⇀ ⇀ ⇀
⇀ ⇀ ⇀ ⇀
=∫ F⋅ dr +∫ F⋅ dr −∫ F⋅ dr −∫ F⋅ dr
C1 C2 −C3 −C4
b d b d
⇀ ⇀ ⇀ ⇀
⇀ ⇀′ ⇀ ⇀′ ⇀ ⇀′ ⇀ ⇀′
=∫ F( r 1 (t)) ⋅ r (t) dt + ∫ F( r 2 (t)) ⋅ r (t) dt − ∫ F( r 3 (t)) ⋅ r (t) dt − ∫ F( r 4 (t)) ⋅ r (t) dt
1 2 3 4
a c a c
b d b d
b d
b d
and
b
∂
Q(b, t) − Q(a, t) = ∫ Q(x, t) dx.
a ∂x
Therefore,
b d b d d b
∂ ∂
−∫ (P (t, d) − P (t, c)) dt + ∫ (Q(b, t) − Q(a, t)) dt = − ∫ ∫ P (t, y) dy dt + ∫ ∫ Q(x, t) dx dt.
a c a c
∂y c a
∂x
But,
b d d b b d d b
∂ ∂ ∂ ∂
−∫ ∫ P (t, y) dy dt + ∫ ∫ Q(x, t) dx dt = −∫ ∫ P (x, y) dy dx + ∫ ∫ Q(x, y) dx dy
a c
∂y c a
∂x a c
∂y c a
∂x
b d
=∫ ∫ (Qx − Py ) dy dx
a c
=∬ (Qx − Py ) dA.
D
⇀
Therefore, ∫ ⇀
F⋅ dr = ∬ (Qx − Py ) dA and we have proved Green’s theorem in the case of a rectangle.
C D
To prove Green’s theorem over a general region D, we can decompose D into many tiny rectangles and use the proof that the theorem
works over rectangles. The details are technical, however, and beyond the scope of this text.
3 9/5/2021 https://math.libretexts.org/@go/page/21058
Example 1 : Applying Green’s Theorem over a Rectangle
Calculate the line integral
2
∮ x ydx + (y − 3)dy,
C
where C is a rectangle with vertices (1, 1), (4, 1), (4, 5), and (1, 5) oriented counterclockwise.
Solution
⇀
Let F(x, y) = ⟨P (x, y), Q(x, y)⟩ = ⟨x 2
. Then, Q
y, y − 3⟩ x (x, y) = 0 and P y (x, y) = x
2
. Therefore, Q x − Py = −x
2
.
Let D be the rectangular region enclosed by C (Figure 4). By Green’s theorem,
2
∮ x ydx + (y − 3) dy =∬ (Qx − Py ) dA
C D
5 4
2 2
=∬ −x dA = ∫ ∫ −x dx dy
D 1 1
=∫ −21 dy = −84.
1
Figure 4: The line integral over the boundary of the rectangle can be transformed into a double integral over the rectangle.
Analysis
If we were to evaluate this line integral without using Green’s theorem, we would need to parameterize each side of the rectangle,
break the line integral into four separate line integrals, and use the methods from the section titled Line Integrals to evaluate each
integral. Furthermore, since the vector field here is not conservative, we cannot apply the Fundamental Theorem for Line Integrals.
Green’s theorem makes the calculation much simpler.
y
W =∮ (y + sin x) dx + (e − x) dy.
C
4 9/5/2021 https://math.libretexts.org/@go/page/21058
As with Example 1, this integral can be calculated using tools we have learned, but it is easier to use the double integral given by
Green’s theorem (Figure 5).
⇀
Let F(x, y) = ⟨P (x, y), Q(x, y)⟩ = ⟨y + sin x, e y
− x⟩ . Then, Qx = −1 and P y =1 . Therefore, Q
x − Py = −2 .
By Green’s theorem,
y
W =∮ (y + sin(x))dx + (e − x) dy
C
=∬ (Qx − Py ) dA
D
=∬ −2 dA
D
2
= −2(area(D)) = −2π(2 ) = −8π.
Figure 5: The line integral over the boundary circle can be transformed into a double integral over the disk enclosed by the circle.
Exercise 2
Use Green’s theorem to calculate line integral
2
∮ sin(x ) dx + (3x − y) dy.
C
where C is a right triangle with vertices (−1, 2), (4, 2), and (4, 5) oriented counterclockwise.
Hint
Transform the line integral into a double integral.
Answer
45
In the preceding two examples, the double integral in Green’s theorem was easier to calculate than the line integral, so we used the theorem
to calculate the line integral. In the next example, the double integral is more difficult to calculate than the line integral, so we use Green’s
theorem to translate a double integral into a line integral.
5 9/5/2021 https://math.libretexts.org/@go/page/21058
2 2
x y
Figure 6: Ellipse 2
+
2
= 1 is denoted by C .
a b
Solution
Let C denote the ellipse and let D be the region enclosed by C . Recall that ellipse C can be parameterized by
x = a cos t ,
y = b sin t ,
0 ≤ t ≤ 2π .
Calculating the area of D is equivalent to computing double integral ∬ dA . To calculate this integral without Green’s theorem, we
D
would need to divide D into two regions: the region above the x-axis and the region below. The area of the ellipse is
2 2
a √b −(bx/a) a 0
∫ ∫ dy dx + ∫ ∫ dy dx.
2 2
−a 0 −a −√b −(bx/a)
These two integrals are not straightforward to calculate (although when we know the value of the first integral, we know the value of
the second by symmetry). Instead of trying to calculate them, we use Green’s theorem to transform ∬ dA into a line integral around D
the boundary C .
Consider vector field
y x
F (x, y) = ⟨P , Q⟩ = ⟨− , ⟩.
2 2
1 1 ⇀
Then, Q x = and P
y =− , and therefore Q x − Py = 1 . Notice that F was chosen to have the property that Q x − Py = 1 . Since
2 2
⇀
this is the case, Green’s theorem transforms the line integral of F over C into the double integral of 1 over D.
By Green’s theorem,
∬ dA = ∬ (Qx − Py ) dA
D D
⇀
⇀
1
=∫ F⋅ dr = ∫ −y dx + x dy
C 2 C
2π
1
= ∫ −b sin t(−a sin t) + a(cos t)b cos t dt
2 0
2π
1 2 2
= ∫ ab cos t + ab sin t dt
2 0
2π
1
= ∫ ab dt = πab.
2 0
⇀ y x
In Example 3, we used vector field F(x, y) = ⟨P , Q⟩ = ⟨− , ⟩ to find the area of any ellipse. The logic of the previous example can
2 2
be extended to derive a formula for the area of any region D. Let D be any region with a boundary that is a simple closed curve C oriented
y x
counterclockwise. If F (x, y) = ⟨P , Q⟩ = ⟨− , ⟩ , then Q x − Py = 1 . Therefore, by the same logic as in Example 3,
2 2
1
area of D = ∬ dA = ∮ −ydx + xdy. (8)
D
2 C
It’s worth noting that if F = ⟨P , Q⟩ is any vector field with Q − P = 1 , then the logic of the previous paragraph works. So. Equation 8
x y
is not the only equation that uses a vector field’s mixed partials to get the area of a region.
6 9/5/2021 https://math.libretexts.org/@go/page/21058
Exercise 3
Find the area of the region enclosed by the curve with parameterization r(t) = ⟨sin t cos t, sin t⟩ , 0 ≤ t ≤ π .
Hint
Use Equation 8.
Answer
4
D. The flux form of Green’s theorem relates a double integral over region D to the flux across boundary C . The flux of a fluid across a
curve can be difficult to calculate using the flux line integral. This form of Green’s theorem allows us to translate a difficult flux integral
into a double integral that is often easier to calculate.
Figure 7: The flux form of Green’s theorem relates a double integral over region D to the flux across curve C .
⇀
Because this form of Green’s theorem contains unit normal vector N , it is sometimes referred to as the normal form of Green’s
theorem.
Proof
⇀ ⇀
Recall that ∮ F ⋅ N ds = ∮ −Q dx + P dy . Let M = −Q and N =P . By the circulation form of Green’s theorem,
C C
7 9/5/2021 https://math.libretexts.org/@go/page/21058
∮ −Q dx + P dy = ∮ M dx + N dy
C C
=∬ Nx − My dA
D
=∬ Px − (−Q) dA
y
D
=∬ Px + Qy dA.
D
⇀ ⇀
∫ F ⋅ N ds = ∬ 2 dA = 2 ∬ dA.
C D D
D D
8 9/5/2021 https://math.libretexts.org/@go/page/21058
Figure 9: Curve S is a triangle with vertices (0, 0), (1, 0), and (0, 3) oriented clockwise.
Solution
To calculate the flux without Green’s theorem, we would need to break the flux integral into three line integrals, one integral for each
side of the triangle. Using Green’s theorem to translate the flux line integral into a single double integral is much more simple.
Let D be the region enclosed by S . Note that Px = 2x and Q y =1 ; therefore, P x + Qy = 2x + 1 . Green’s theorem applies only to
⇀ ⇀ ⇀ ⇀
simple closed curves oriented counterclockwise, but we can still apply the theorem because ∮ F ⋅ N ds = − ∮ F ⋅ N ds and −S
C −S
= −∬ (Px + Qy ) dA
D
= −∬ (2x + 1) dA.
D
Notice that the top edge of the triangle is the line y = −3x + 3 . Therefore, in the iterated double integral, the y -values run from
y = 0 to y = −3x + 3 , and we have
1 −3x+3
−∬ (2x + 1) dA = − ∫ ∫ (2x + 1) dy dx
D 0 0
= −∫ (2x + 1)(−3x + 3) dx
0
1
2
= −∫ (−6 x + 3x + 3) dx
0
1
2
3
3x
= − [−2 x + + 3x]
2 0
5
=− .
2
Exercise 4
⇀
Calculate the flux of F(x, y) = ⟨x 3 3
,y ⟩ across a unit circle oriented counterclockwise.
Hint
Apply Green’s theorem and use polar coordinates.
Answer
9 9/5/2021 https://math.libretexts.org/@go/page/21058
3π
m/sec. Find the amount of water per second that flows across the rectangle with vertices (−1, −2), (1, −2) , (1, 3) ,and (−1, 3) ,
oriented counterclockwise (Figure 10).
Figure 10: Water flows across the rectangle with vertices (−1, −2) , (1, −2), (1, 3),and (−1, 3), oriented counterclockwise.
Solution
Let C represent the given rectangle and let D be the rectangular region enclosed by C . To find the amount of water flowing across C ,
we calculate flux ∫ v ⋅ d r . Let P (x, y) = 5x + y and Q(x, y) = x + 3y so that v = ⟨P , Q⟩ . Then, P = 5 and Q = 3 . By
C
⇀ ⇀ ⇀
x y
Green’s theorem,
⇀ ⇀
∫ v ⋅ dr =∬ (Px + Qy ) dA
C D
=∬ 8 dA
D
⇀ ⇀ ⇀
Recall that if vector field F is conservative, then F does no work around closed curves—that is, the circulation of F around a closed curve
⇀ ⇀ ⇀
is zero. In fact, if the domain of F is simply connected, then F is conservative if and only if the circulation of F around any closed curve is
⇀ ⇀
zero. If we replace “circulation of F” with “flux of F,” then we get a definition of a source-free vector field. The following statements are
⇀
all equivalent ways of defining a source-free field F = ⟨P , Q⟩ on a simply connected domain (note the similarities with properties of
conservative vector fields):
⇀ ⇀
1. The flux ∮ F ⋅ N ds across any closed curve C is zero.
C
⇀ ⇀ ⇀ ⇀ ⇀
2. If C and C are curves in the domain of F with the same starting points and endpoints, then ∫
1 2 F ⋅ N ds = ∫ F ⋅ N ds . In other
C1 C2
10 9/5/2021 https://math.libretexts.org/@go/page/21058
Example 6 : Finding a Stream Function
⇀ ⇀
Verify that rotation vector field F(x, y) = ⟨y, −x⟩ is source free, and find a stream function for F.
Solution
⇀ ⇀
Note that the domain of F is all of R , which is simply connected. Therefore, to show that F is source free, we can show any of items
2
1 through 4 from the previous list to be true. In this example, we show that item 4 is true. Let P (x, y) = y and Q(x, y) = −x. Then
⇀
Px + 0 = Qy , and therefore P x + Qy = 0 . Thus, F is source free.
⇀
To find a stream function for F, proceed in the same manner as finding a potential function for a conservative field. Let g be a stream
⇀
function for F. Then g = y , which implies that
y
2
y
g(x, y) = + h(x) .
2
(Figure 11).
⇀ ⇀
Figure 11: (a) In this image, we see the three-level curves of g and vector field F . Note that the F vectors on a given level curve are
⇀
tangent to the level curve. (b) In this image, we see the three-level curves of g and vector field ∇g. The gradient vectors are
⇀ ⇀
perpendicular to the corresponding level curve. Therefore, F(a, b) ⋅ ∇g(a, b) = 0 for any point in the domain of g .
Exercise 6
⇀
Find a stream function for vector field F(x, y) = ⟨x sin y, cos y⟩.
Hint
Follow the outline provided in the previous example.
Answer
g(x, y) = −x cos y
Vector fields that are both conservative and source free are important vector fields. One important feature of conservative and source-free
vector fields on a simply connected domain is that any potential function f of such a field satisfies Laplace’s equation f + f = 0 . xx yy
Laplace’s equation is foundational in the field of partial differential equations because it models such phenomena as gravitational and
magnetic potentials in space, and the velocity potential of an ideal fluid. A function that satisfies Laplace’s equation is called a harmonic
function. Therefore any potential function of a conservative and source-free vector field is harmonic.
To see that any potential function of a conservative and source-free vector field on a simply connected domain is harmonic, let f be such a
⇀ ⇀ ⇀ ⇀
potential function of vector field F = ⟨P , Q⟩ . Then, f = P and f = Q because ∇f = F . Therefore, f = P and f = Q . Since F
x x xx x yy y
11 9/5/2021 https://math.libretexts.org/@go/page/21058
is source free, fxx + fyy = Px + Qy = 0 , and we have that f is harmonic.
⇀
F, and verify that the potential function is harmonic.
Solution
⇀
Let P (x, y) = e sin y and Q(x, y) = e cos y. Notice that the domain of F is all of two-space, which is simply connected.
x x
⇀ ⇀ ⇀
Therefore, we can check the cross-partials of F to determine whether F is conservative. Note that P = e cos y = Q , so F is y
x
x
conservative. Since P = e sin y and Q = e sin y , P + Q = 0 and the field is source free.
x
x
y
x
x y
⇀ ⇀ ⇀
To find a potential function for F, let f be a potential function. Then, ∇f = F , so f (x, y) = e sin y . Integrating this equation with
x
x
respect to x gives f (x, y) = e sin y + h(y) . Since f (x, y) = e cos y , differentiating f with respect to y gives
x
y
x
e cos y = e cos y + h'(y) . Therefore, we can take h(y) = 0 , and f (x, y) = e sin y is a potential function for f .
x x x
∂
To verify that f is a harmonic function, note that f xx (x, y) = (e
x
sin y) = e
x
sin y and
∂x
∂
fyy (x, y) = (e
x
cos y) = −e
x
sin y . Therefore, f xx + fyy = 0 , and f satisfies Laplace’s equation.
∂x
Exercise 7
Is the function f (x, y) = e x+5y
harmonic?
Hint
Determine whether the function satisfies Laplace’s equation.
Answer
No
Figure 12: Green’s theorem, as stated, does not apply to a nonsimply connected region with three holes like this one.
Before discussing extensions of Green’s theorem, we need to go over some terminology regarding the boundary of a region. Let D be a
region and let C be a component of the boundary of D. We say that C is positively oriented if, as we walk along C in the direction of
orientation, region D is always on our left. Therefore, the counterclockwise orientation of the boundary of a disk is a positive orientation,
for example. Curve C is negatively oriented if, as we walk along C in the direction of orientation, region D is always on our right. The
clockwise orientation of the boundary of a disk is a negative orientation, for example.
Let D be a region with finitely many holes (so that D has finitely many boundary curves), and denote the boundary of D by ∂D (Figure
13). To extend Green’s theorem so it can handle D, we divide region D into two regions, D and D (with respective boundaries ∂D and 1 2 1
12 9/5/2021 https://math.libretexts.org/@go/page/21058
Figure 13: (a) Region D with an oriented boundary has three holes. (b) Region D split into two simply connected regions has no holes.
Assume the boundary of D is oriented as in the figure, with the inner holes given a negative orientation and the outer boundary given a
⇀
positive orientation. The boundary of each simply connected region D and D is positively oriented. If F is a vector field defined on D,
1 2
=∬ Qx − Py dA + ∬ Qx − Py dA (11)
D1 D2
traverses the boundary. Let D be the upper half of the annulus and D be the lower half. Neither of these regions has holes, so we have
1 2
first segment is P , then P , P , and P . Now we have traversed D and returned to P . Next, we start at P again and traverse D . Since
1 2 3 4 1 2
the first piece of the boundary is the same as P in D , but oriented in the opposite direction, the first piece of D is −P . Next, we have
4 1 2 4
Figure 14: Breaking the annulus into two separate regions gives us two simply connected regions. The line integrals over the common
boundaries cancel out.
Figure 14 shows a path that traverses the boundary of D. Notice that this path traverses the boundary of region D , returns to the starting 1
point, and then traverses the boundary of region D . Furthermore, as we walk along the path, the region is always on our left. Notice that
2
this traversal of the P paths covers the entire boundary of region D. If we had only traversed one portion of the boundary of D, then we
i
13 9/5/2021 https://math.libretexts.org/@go/page/21058
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
∮ F⋅ dr =∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr (13)
∂D P1 P2 P3 P4 −P4 P5 −P2 P6
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
=∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr (14)
P1 P2 P3 P4 P4 P5 −P2 P6
⇀ ⇀ ⇀ ⇀
⇀ ⇀ ⇀ ⇀
=∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr +∫ F⋅ dr (15)
P1 P3 P5 P6
⇀ ⇀
⇀ ⇀
=∮ F⋅ dr +∮ F⋅ dr (16)
∂D1 ∂D2
The same logic implies that the flux form of Green’s theorem can also be extended to a region with finitely many holes:
2 2
=∬ (x + y ) dA
D
2π 2 2π
15
3
=∫ ∫ r drdθ = ∫ dθ
0 1 0
4
15π
= .
2
14 9/5/2021 https://math.libretexts.org/@go/page/21058
⇀ ⇀
then F with this restricted domain is now defined on a simply connected domain. Since F satisfies the cross-partial property on its
⇀ ⇀
restricted domain, the field F is conservative on this simply connected region and hence the circulation ∮ C
⇀
F⋅ dr is zero.
a centered at the origin so that C is entirely inside the region enclosed by C (Figure 15). Give C a clockwise orientation.
1 1
Figure 15: Choose circle C centered at the origin that is contained entirely inside C .
1
Let D be the region between C and C , and C is orientated counterclockwise. By the extended version of Green’s theorem,
1
⇀ ⇀
⇀ ⇀
∫ F⋅ dr +∫ F⋅ dr =∬ Q x− Py dA
C C1 D
2 2 2 2
y −x y −x
=∬ − + dA
2 2
D (x2 + y 2 ) (x2 + y 2 )
= 0,
and therefore
⇀ ⇀
⇀ ⇀
∫ F⋅ dr = −∫ F⋅ dr.
C C1
⇀
Since C is a specific curve, we can evaluate ∫
1
C1
F⋅ dr
⇀
. Let
x = a cos t, y = a sin t, 0 ≤ t ≤ 2π
be a parameterization of C . Then,1
2π
⇀
⇀
∫ F⋅ dr =∫ F (r(t)) ⋅ r'(t)dt
C1 0
2π
sin(t) cos(t)
=∫ ⟨− ,− ⟩ ⋅ ⟨−a sin(t), −a cos(t)⟩dt
0 a a
2π
2 2
=∫ sin (t) + cos (t)dt
0
2π
=∫ dt = 2π.
0
Therefore, ∫ C
F ⋅ ds = −2π .
Exercise 8
⇀
Calculate integral ∮
∂D
F⋅ dr
⇀
, where D is the annulus given by the polar inequalities 2 ≤r ≤5 , 0 ≤ θ ≤ 2π , and
3
F (x, y) = ⟨x , 5x + e
y
sin y⟩ .
Hint
Use the extended version of Green’s theorem.
Answer
105π
15 9/5/2021 https://math.libretexts.org/@go/page/21058
MEASURING AREA FROM A BOUNDARY: THE PLANIMETER
Imagine you are a doctor who has just received a magnetic resonance image of your patient’s brain. The brain has a tumor (Figure
16). How large is the tumor? To be precise, what is the area of the red region? The red cross-section of the tumor has an irregular
shape, and therefore it is unlikely that you would be able to find a set of equations or inequalities for the region and then be able to
calculate its area by conventional means. You could approximate the area by chopping the region into tiny squares (a Riemann sum
approach), but this method always gives an answer with some error.
Figure 16: This magnetic resonance image of a patient’s brain shows a tumor, which is highlighted in red. (credit: modification of
work by Christaras A, Wikimedia Commons)
Instead of trying to measure the area of the region directly, we can use a device called a rolling planimeter to calculate the area of the
region exactly, simply by measuring its boundary. In this project you investigate how a planimeter works, and you use Green’s
theorem to show the device calculates area correctly.
A rolling planimeter is a device that measures the area of a planar region by tracing out the boundary of that region (Figure 17). To
measure the area of a region, we simply run the tracer of the planimeter around the boundary of the region. The planimeter measures
the number of turns through which the wheel rotates as we trace the boundary; the area of the shape is proportional to this number of
wheel turns. We can derive the precise proportionality equation using Green’s theorem. As the tracer moves around the boundary of
the region, the tracer arm rotates and the roller moves back and forth (but does not rotate).
Figure 17: (a) A rolling planimeter. The pivot allows the tracer arm to rotate. The roller itself does not rotate; it only moves back and
forth. (b) An interior view of a rolling planimeter. Notice that the wheel cannot turn if the planimeter is moving back and forth with
the tracer arm perpendicular to the roller.
Let C denote the boundary of region D, the area to be calculated. As the tracer traverses curve C , assume the roller moves along the
y-axis (since the roller does not rotate, one can assume it moves along a straight line). Use the coordinates (x, y) to represent points
on boundary C , and coordinates (0, Y ) to represent the position of the pivot. As the planimeter traces C , the pivot moves along the y-
axis while the tracer arm rotates on the pivot.
Watch a short animation of a planimeter in action.
Begin the analysis by considering the motion of the tracer as it moves from point (x, y) counterclockwise to point (x + dx, y + dy)
that is close to (x, y) (Figure 18). The pivot also moves, from point (0, Y ) to nearby point (0, Y + dY ) . How much does the wheel
turn as a result of this motion? To answer this question, break the motion into two parts. First, roll the pivot along the y-axis from
(0, Y ) to (0, Y + dY ) without rotating the tracer arm. The tracer arm then ends up at point (x, y + dY ) while maintaining a constant
angle ϕ with the x-axis. Second, rotate the tracer arm by an angle dθ without moving the roller. Now the tracer is at point
(x + dx, y + dy) . Let ll be the distance from the pivot to the wheel and let L be the distance from the pivot to the tracer (the length of
16 9/5/2021 https://math.libretexts.org/@go/page/21058
Figure 18: Mathematical analysis of the motion of the planimeter.
x
1. Explain why the total distance through which the wheel rolls the small motion just described is sin ϕdY + ldθ = dY + ldθ .
L
2. Show that ∮ dθ = 0 .
C
3. Use step 2 to show that the total rolling distance of the wheel as the tracer traverses curve C is
1
Total wheel roll = ∮
C
xdY .
L
Now that you have an equation for the total rolling distance of the wheel, connect this equation to Green’s theorem to calculate
area D enclosed by C .
4. Show that x + (y − Y ) = L .
2 2 2
5. Assume the orientation of the planimeter is as shown in Figure 18. Explain why Y ≤ y , and use this inequality to show there is a
−−−−− −
unique value of Y for each point (x, y): Y = y = √L − x . 2 2
x
6. Use step 5 to show that dY = dy +
2 2
dx.
L −x
x
7. Use Green’s theorem to show that ∮ 2 2
dx = 0 .
C L −x
It took a bit of work, but this equation says that the variable of integration Y in step 3 can be replaced with y.
9. Use Green’s theorem to show that the area of D is ∮ C
xdy . The logic is similar to the logic used to show that the area of
D = 12 ∮ −y dx + x dy .
C
10. Conclude that the area of D equals the length of the tracer arm multiplied by the total rolling distance of the wheel.
You now know how a planimeter works and you have used Green’s theorem to justify that it works. To calculate the area of a planar
region D, use a planimeter to trace the boundary of the region. The area of the region is the length of the tracer arm multiplied by the
distance the wheel rolled.
Key Concepts
Green’s theorem relates the integral over a connected region to an integral over the boundary of the region. Green’s theorem is a
version of the Fundamental Theorem of Calculus in one higher dimension.
⇀ ⇀
Green’s Theorem comes in two forms: a circulation form and a flux form. In the circulation form, the integrand is F ⋅ T . In the flux
⇀ ⇀
form, the integrand is F ⋅ N .
Green’s theorem can be used to transform a difficult line integral into an easier double integral, or to transform a difficult double
integral into an easier line integral.
A vector field is source free if it has a stream function. The flux of a source-free vector field across a closed curve is zero, just as the
circulation of a conservative vector field across a closed curve is zero.
17 9/5/2021 https://math.libretexts.org/@go/page/21058
Key Equations
Green’s theorem, circulation form
∮ P dx + Q dy = ∬ Qx − Py dA , where C is the boundary of D
C D
Glossary
Green’s theorem
relates the integral over a connected region to an integral over the boundary of the region
stream function
⇀
if F = ⟨P , Q⟩ is a source-free vector field, then stream function g is a function such that P = gy and Q = −g x
18 9/5/2021 https://math.libretexts.org/@go/page/21058
Introduction to Vector Field Chapter
Hurricanes are huge storms that can produce tremendous amounts of damage to life and property, especially when they reach
land. Predicting where and when they will strike and how strong the winds will be is of great importance for preparing for
protection or evacuation. Scientists rely on studies of rotational vector fields for their forecasts.
Figure 1: Hurricanes form from rotating winds driven by warm temperatures over the ocean. Meteorologists forecast the
motion of hurricanes by studying the rotating vector fields of their wind velocity. Shown is Cyclone Catarina in the South
Atlantic Ocean in 2004, as seen from the International Space Station. (credit: modification of work by NASA)
In this chapter, we learn to model new kinds of integrals over fields such as magnetic fields, gravitational fields, or velocity
fields. We also learn how to calculate the work done on a charged particle traveling through a magnetic field, the work done on
a particle with mass traveling through a gravitational field, and the volume per unit time of water flowing through a net
dropped in a river.
All these applications are based on the concept of a vector field, which we explore in this chapter. Vector fields have many
applications because they can be used to model real fields such as electromagnetic or gravitational fields. A deep
understanding of physics or engineering is impossible without an understanding of vector fields. Furthermore, vector fields
have mathematical properties that are worthy of study in their own right. In particular, vector fields can be used to develop
several higher-dimensional versions of the Fundamental Theorem of Calculus.
1 9/5/2021 https://math.libretexts.org/@go/page/21052
Line Integrals
Learning Objectives
Calculate a scalar line integral along a curve.
Calculate a vector line integral along an oriented curve in space.
Use a line integral to compute the work done in moving an object along a curve in a vector field.
Describe the flux and circulation of a vector field.
We are familiar with single-variable integrals of the form ∫ f (x) dx , where the domain of integration is an interval .
[a, b]
a
Such an interval can be thought of as a curve in the xy-plane, since the interval defines a line segment with endpoints (a, 0)
and (b, 0)—in other words, a line segment located on the x-axis. Suppose we want to integrate over any curve in the plane, not
just over a line segment on the x-axis. Such a task requires a new kind of integral, called a line integral.
Line integrals have many applications to engineering and physics. They also allow us to make several useful generalizations of
the Fundamental Theorem of Calculus. And, they are closely connected to the properties of vector fields, as we shall see.
because all the points in the curve are in the domain of f .) We multiply f (P ) by the arc length of the piece Δs, add the
product f (P )Δs over all the pieces, and then let the arc length of the pieces shrink to zero by taking a limit. The result is the
scalar line integral of the function over the curve.
For a formal description of a scalar line integral, let C be a smooth curve in space given by the parameterization
r (t) = ⟨x(t), y(t), z(t)⟩ , a ≤ t ≤ b . Let f (x, y, z) be a function with a domain that includes curve C . To define the line
⇀
integral of the function f over C , we begin as most definitions of an integral begin: we chop the curve into small pieces.
Partition the parameter interval [a, b] into n subintervals [t , t ] of equal width for 1 ≤ i ≤ n , where t = a and t = b
i−l i 0 n
(Figure 1). Let t be a value in the i interval [t , t ]. Denote the endpoints of r (t ), r (t ),…, r (t ) by P ,…, P . Points
∗
i
th
i−l i
⇀
0
⇀
1
⇀
n 0 n
Pi divide curve C into n pieces C , C ,…, C ,with lengths Δs , Δs ,…, Δs , respectively. Let P denote the endpoint of
1 2 n 1 2 n
∗
i
r (t ) for 1 ≤ i ≤ n . Now, we evaluate the function f at point P for 1 ≤ i ≤ n . Note that P is in piece C , and therefore
⇀ ∗ ∗ ∗
i i i 1
P
i
is in the domain of f . Multiply f (P ) by the length Δs of C , which gives the area of the “sheet” with base C , and
∗ ∗
i 1 1 1
height f (P ). This is analogous to using rectangles to approximate area in a single-variable integral. Now, we form the sum
∗
i
n
∑ f (P
∗
i
) Δsi .
i=1
1 9/5/2021 https://math.libretexts.org/@go/page/21055
Figure 1: Curve C has been divided into n pieces, and a point inside each piece has been chosen.
Note the similarity of this sum versus a Riemann sum; in fact, this definition is a generalization of a Riemann sum to arbitrary
b
curves in space. Just as with Riemann sums and integrals of form ∫ g(x) dx , we define an integral by letting the width of the
a
pieces of the curve shrink to zero by taking a limit. The result is the scalar line integral of f along C .
You may have noticed a difference between this definition of a scalar line integral and a single-variable integral. In this
definition, the arc lengths Δs , Δs ,…, Δs aren’t necessarily the same; in the definition of a single-variable integral, the
1 2 n
curve in the x-axis is partitioned into pieces of equal length. This difference does not have any effect in the limit. As we shrink
the arc lengths to zero, their values become close enough that any small difference becomes irrelevant.
∗
∫ f (x, y, z) ds = lim ∑ f (P ) Δsi (1)
i
n→∞
C
i=1
if this limit exists t and Δs are defined as in the previous paragraphs). If C is a planar curve, then C can be represented
∗
i i
by the parametric equations x = x(t) , y = y(t) , and a ≤ t ≤ b . If C is smooth and f (x, y) is a function of two variables,
then the scalar line integral of f along C is defined similarly as
n
∗
∫ f (x, y) ds = lim ∑ f (P ) Δsi , (2)
i
n→∞
C
i=1
If f is a continuous function on a smooth curve C , then ∫ f ds always exists. Since ∫ f ds is defined as a limit of Riemann
C C
b
sums, the continuity of f is enough to guarantee the existence of the limit, just as the integral ∫ g(x) dx exists if g is
a
defined by f (x, y), thereby creating a new curve C ' that lies in the graph of f (x, y) (Figure 2). Now we drop a “sheet” from
C' down to the xy -plane. The area of this sheet is ∫ f (x, y)ds . If f (x, y) ≤ 0 for some points in C , then the value of
C
∫ f (x, y) ds is the area above the xy-plane less the area below the xy-plane. (Note the similarity with integrals of the form
C
b
∫ g(x) dx .)
a
2 9/5/2021 https://math.libretexts.org/@go/page/21055
Figure 2: The area of the blue sheet is ∫ f (x, y) ds.
C
From this geometry, we can see that line integral ∫ f (x, y) ds does not depend on the parameterization ⇀
r (t) of C . As long as
C
the curve is traversed exactly once by the parameterization, the area of the sheet formed by the function and the curve is the
same. This same kind of geometric argument can be extended to show that the line integral of a three-variable function over a
curve in space does not depend on the parameterization of the curve.
Find the value of integral ∫ 2 ds , where C is the upper half of the unit circle.
C
Solution
The integrand is f (x, y) = 2 . Figure 3 shows the graph of f (x, y) = 2 , curve C, and the sheet formed by them. Notice
that this sheet has the same area as a rectangle with width π and length 2. Therefore, ∫ 2 ds = 2π units
2
.
C
Figure 3: The sheet that is formed by the upper half of the unit circle in a plane and the graph of f (x, y) = 2.
3 9/5/2021 https://math.libretexts.org/@go/page/21055
n
⇀ ∗
∫ f ds = lim ∑ f ( r (t )) Δsi
i
n→∞
C
i=1
= lim ∑ 2 Δsi
n→∞
i=1
= 2 lim ∑ Δsi
n→∞
i=1
= 2(length of C )
2
= 2π units .
Exercise 1
Hint
Find the shape formed by C and the graph of function f (x, y) = x + y .
Answer
–
√2
Note that in a scalar line integral, the integration is done with respect to arc length s , which can make a scalar line integral
difficult to calculate. To make the calculations easier, we can translate ∫ f ds to an integral with a variable of integration that
C
is t .
Let ⇀
for a ≤ t ≤ b be a parameterization of C . Since we are assuming that C is smooth,
r (t) = ⟨x(t), y(t), z(t)⟩
⇀
is continuous for all t in [a, b]. In particular, x'(t), y'(t), and z'(t) exist for all t in [a, b].
r '(t) = ⟨x'(t), y'(t), z'(t)⟩
ti
ti
⇀ ⇀ ∗
∫ ∥ r '(t)∥ dt ≈ ∥ r '(t )∥ Δti , (4)
i
ti−1
and we have
n n
⇀ ∗ ⇀ ∗ ⇀ ∗
∑ f ( r (t )) Δsi ≈ ∑ f ( r (t ))∥ r '(t )∥ Δti . (5)
i i i
i=1 i=1
See Figure 4.
4 9/5/2021 https://math.libretexts.org/@go/page/21055
Figure 4: If we zoom in on the curve enough by making Δti very small, then the corresponding piece of the curve is
approximately linear.
Note that
n b
⇀ ∗ ⇀ ∗ ⇀ ⇀
lim ∑ f ( r (t ))∥ r '(t )∥ Δti = ∫ f ( r (t))∥ r '(t)∥ dt. (6)
i i
n→∞
a
i=1
In other words, as the widths of intervals [t i−1 , ti ] shrink to zero, the sum ∑ f ( r (t ⇀ ∗
i
⇀ ∗
))∥ r '(t )∥ Δti
i
converges to the integral
i=1
∫
⇀ ⇀
. Therefore, we have the following theorem.
f ( r (t))∥ r '(t)∥ dt
a
Although we have labeled Equation 4 as an equation, it is more accurately considered an approximation because we can show
that the left-hand side of Equation 4 approaches the right-hand side as n → ∞ . In other words, letting the widths of the pieces
shrink to zero makes the right-hand sum arbitrarily close to the left-hand sum. Since
−−−−−−−−−−−−−−−−−−−−−−
⇀ 2 2 2
∥ r '(t)∥ = √ (x'(t)) + (y'(t)) + (z'(t)) , (8)
we obtain the following theorem, which we use to compute scalar line integrals.
b −−−−−−−−−−−−−−−−−−−−−−
⇀ 2 2 2
∫ f (x, y, z) ds = ∫ f ( r (t))√ (x'(t)) + (y'(t)) + (z'(t)) dt. (9)
C a
Similarly,
b −−−−−−−−−−−−−−
⇀ 2 2
∫ f (x, y) ds = ∫ f ( r (t))√ (x'(t)) + (y'(t)) dt (10)
C a
Note that a consequence of this theorem is the equation ds = ∥ r '(t)∥ dt . In other words, the change in arc length can be
⇀
5 9/5/2021 https://math.libretexts.org/@go/page/21055
Find the value of integral ∫ (x
2
+y
2
+ z) ds , where C is part of the helix parameterized by ⇀
r (t) = ⟨cos t, sin t, t⟩ ,
C
0 ≤ t ≤ 2π .
Solution
To compute a scalar line integral, we start by converting the variable of integration from arc length s to t . Then, we can
use Equation 1 to compute the integral with respect to t . Note that
⇀ 2 2
f ( r (t)) = cos t + sin t + t = 1 + t
and
−−−−−−−−−−−−−−−−−−−−−− −−−−−−−−−−−−−−−−−−−
2 2 2 2 2 –
√ (x'(t)) + (y'(t)) + (z'(t)) = √ (− sin(t)) + cos (t) + 1 = √2.
Therefore,
2π
2 2 –
∫ (x +y + z) ds = ∫ (1 + t)√2 dt.
C 0
Notice that Equation 1 translated the original difficult line integral into a manageable single-variable integral. Since
2π – 2 2π
– – √2t
∫ (1 + t)√2 dt = [√2t + ]
0
2
0
– – 2
= 2 √2π + 2 √2π ,
we have
2 2 – – 2
∫ (x +y + z) ds = 2 √2π + 2 √2π .
C
Exercise 2
π
Evaluate ∫ 2
(x +y
2
+ z)ds , where C is the curve with parameterization ⇀
r (t) = ⟨sin(3t), cos(3t)⟩ ,0≤t≤ .
C
4
Hint
Use the two-variable version of scalar line integral definition (Equation 2).
Answer
–
1 √2 3π
+ + (11)
3 6 4
r (t) = ⟨cos(2t), sin(2t), 2t⟩ , 0 ≤ t ≤ π . Notice that this function and curve are the same as in the previous example;
⇀
the only difference is that the curve has been reparameterized so that time runs twice as fast.
Solution
As with the previous example, we use Equation 1 to compute the integral with respect to t . Note that
⇀ 2 2
f ( r (t)) = cos (2t) + sin (2t) + 2t = 2t + 1 and
−−−−−−−−−−−−−−−−−−−−−− −−−−−−−−−−−−−−−
2 2 2
√ (x'(t)) + (y'(t)) + (z'(t)) = √ (− sin t + cos t + 4)
= 22
6 9/5/2021 https://math.libretexts.org/@go/page/21055
so we have
π
2 2 –
∫ (x +y + z)ds = 2 √2 ∫ (1 + 2t)dt
C 0
π
– 2
= 2 √2[t + t ]
0
– 2
= 2 √2(π + π ).
Notice that this agrees with the answer in the previous example. Changing the parameterization did not change the value
of the line integral. Scalar line integrals are independent of parameterization, as long as the curve is traversed exactly
once by the parameterization.
Exercise 3
Reparameterize C with parameterization s(t) = ⟨4t, 10t, −2t⟩ , 0 ≤ t ≤ 5 , recalculate line integral ∫ 2
(x + yz) ds , and
C
notice that the change of parameterization had no effect on the value of the integral.
Hint
Use Equation 1.
Answer
−−
1000 √30
Both line integrals equal − .
3
Now that we can evaluate line integrals, we can use them to calculate arc length. If f (x, y, z) = 1 , then
n
∗
∫ f (x, y, z) ds = lim ∑ f (t ) Δsi
i
n→∞
C i=1
= lim ∑ Δsi
n→∞
i=1
= lim length(C )
n→∞
= length(C ).
The length of the wire is given by ∫ 1 ds , where C is the curve with parameterization ⇀
r . Therefore,
C
7 9/5/2021 https://math.libretexts.org/@go/page/21055
The length of the wire = ∫ 1 ds
C
4π
⇀
=∫ || r '(t)|| dt
0
4π −−−−−−−−−−−−−−−−
2 2
=∫ √ (− sin t) + cos t + t dt
0
4π
− −−−
=∫ √ 1 + t dt
0
3 4π
∣
2 (1 + t) 2
∣
=
∣
3
∣
0
2
3/2
= ((1 + 4π ) − 1) .
3
Exercise 4
Find the length of a wire with parameterization ⇀
r (t) = ⟨3t + 1, 4 − 2t, 5 + 2t⟩ ,0 ≤t≤4.
Hint
Find the line integral of one over the corresponding curve.
Answer
−−
4 √17
8 9/5/2021 https://math.libretexts.org/@go/page/21055
Line Integrals (Exercises)
1. True or False? Line integral ∫ f (x, y) ds is equal to a definite integral if C is a smooth curve defined on [a, b] and
C
Answer:
True
Answer:
False
4. True or False? A piecewise smooth curve C consists of a finite number of smooth curves that are joined together end
to end.
1
Answer:
False
For the following exercises, use a computer algebra system (CAS) to evaluate the line integrals over the indicated path.
6. [T] ∫ (x + y) ds
C
7. [T] ∫ (x − y)ds
C
⇀ ^ ^
C : r (t) = 4t i + 3t j when 0 ≤ t ≤ 2
Answer:
∫ (x − y) ds = 10
C
8. [T] ∫ (x
2
+y
2 2
+ z ) ds
C
π
⇀ ^ ^ ^
C : r (t) = sin t i + cos t j + 8t k when 0 ≤ t ≤
2
9. [T] Evaluate ∫ xy
4
ds , where C is the right half of circle x 2
+y
2
= 16 and is traversed in the clockwise direction.
C
Answer:
8192
4
∫ xy ds =
C
5
Answer:
W =8 units of work
12. Find the work done by a person weighing 150 lb walking exactly one revolution up a circular, spiral staircase of
radius 3 ft if the person rises 10 ft.
⇀ 1 1 1
13. Find the work done by force field F(x, y, z) = − ^
x i −
^
y j +
^
k on a particle as it moves along the helix
2 2 4
⇀ ^ ^ ^
r (t) = cos t i + sin t j + t k from point (1, 0, 0) to point (−1, 0, 3π).
Answer:
W =
3π
4
units of work
⇀
14. Find the work done by vector field F(x, y) = y ^i + 2x ^j in moving an object along path C , which joins points
(1, 0) and (0, 1).
⇀
15. Find the work done by force F(x, y) = 2y ^i + 3x ^j + (x + y) k
^
in moving an object along curve
r (t) = cos(t) i + sin(t) j + 16 k , where 0 ≤ t ≤ 2π .
⇀ ^ ^ ^
Answer:
W =π units of work
16. Find the mass of a wire in the shape of a circle of radius 2 centered at (3, 4) with linear mass density ρ(x, y) = y . 2
(−2, −2) .
Answer:
⇀
⇀
∫ F⋅ dr = 4
C
18. Evaluate ∫ (x
2
+y
2 2
+z )
−1
ds , where γ is the helix x = cos t, y = sin t, z = t, with 0 ≤ t ≤ T .
γ
19. Evaluate ∫ yz dx + xz dy + xy dz over the line segment from (1, 1, 1) to (3, 2, 0).
C
Answer:
∫ yz dx + xz dy + xy dz = −1
C
20. Let C be the line segment from point (0, 1, 1) to point (2, 2, 3). Evaluate line integral ∫ y ds.
C
21. [T] Use a computer algebra system to evaluate the line integral ∫ y
2
dx + x dy , where C is the arc of the parabola
C
x = 4 −y
2
from (−5, −3) to (0, 2).
Answer:
245
2
∫ (y ) dx + (x) dy =
C
6
23. [T] Use a CAS to evaluate line integral ∫ xy dx + y dy over path C given by x = 2t, y = 10t , where 0 ≤ t ≤ 1 .
C
Answer:
190
∫ xy dx + y dy =
C
3
24. Evaluate line integral ∫ (2x − y) dx + (x + 3y) dy , where C lies along the x-axis from x = 0 to x = 5 .
C
y
26. [T] Use a CAS to evaluate ∫ ds , where C is defined by the parametric equations x = t, y = t , for
C 2 x2 − y 2
1 ≤ t ≤ 5.
Answer:
y –
∫ ds = √2 ln 5
2 2
C 2x −y
27. [T] Use a CAS to evaluate ∫ xy ds , where C is defined by the parametric equations x = t 2
, y = 4t , for 0 ≤ t ≤ 1.
C
⇀
In the following exercises, find the work done by force field F on an object moving along the indicated path.
⇀
28. F(x, y) = −x ^i − 2y ^j
C : y =x
3
from (0, 0) to (2, 8)
Answer:
W = −66 units of work
⇀
29. F(x, y) = 2x ^i + y ^j
<C : counterclockwise around the triangle with vertices (0, 0), (1, 0), and (1, 1)
⇀
30. F(x, y, z) = x ^i + y ^j − 5z k
^
⇀ ^ ^ ^
C : r (t) = 2 cos t i + 2 sin t j + t k, 0 ≤ t ≤ 2π
Answer:
W = −10π
2
units of work
⇀ ⇀
31. Let F be vector field F(x, y) = (y 2
+ 2x e
y ^ 2 y ^
+ 1) i + (2xy + x e + 2y) j . Compute the work of integral
⇀ π
∫ F⋅ dr
⇀
, where C is the path ⇀ ^ ^
r (t) = sin t i + cos t j , 0 ≤t ≤ .
C
2
⇀
32. Compute the work done by force F(x, y, z) = 2x ^i + 3y ^j − z k
^
along path ⇀ ^ 2 ^ 3 ^
r (t) = t i + t j + t k , where
0 ≤t ≤1.
Answer:
W =2 units of work
⇀ ⇀ 1 1
33. Evaluate ∫ F⋅ dr
⇀
, where F(x, y) = ^
i +
^
j and C is the segment of the unit circle going
C
x +y x +y
Answer:
a. W = 11 units of work;
b. W = 11 units of work;
c. Yes
⇀
35. Find the work done by vector field F(x, y, z) = x ^i + 3xy ^j − (x + z) k
^
on a particle moving along a line segment
that goes from (1, 4, 2) to (0, 5, 1).
⇀
36. How much work is required to move an object in vector field F(x, y) = y ^i + 3x ^j along the upper part of ellipse
2
x
+y
2
=1 from (2, 0) to (−2, 0)?
4
Answer:
W = 2π units of work
⇀
37. A vector field is given by F(x, y) = (2x + 3y) ^i + (3x + 2y) ^j . Evaluate the line integral of the field around a
circle of unit radius traversed in a clockwise fashion.
38. Evaluate the line integral of scalar function xy along parabolic path y = x connecting the origin to point (1, 1).
2
Answer:
–
25 √5 + 1
∫ f ds =
C
120
39. Find ∫ y
2 2
dx + (xy − x ) dy along C : y = 3x from (0, 0) to (1, 3).
C
40. Find ∫ y
2 2
dx + (xy − x ) dy along C : y
2
= 9x from (0, 0) to (1, 3).
C
Answer:
For the following exercises, use a CAS to evaluate the given line integrals.
⇀
41. [T] Evaluate F(x, y, z) = x 2 ^ ^ 2 ^
z i + 6y j + y z k , where C is represented by ⇀ ^ 2 ^ ^
r (t) = t i + t j + ln t k, 1 ≤ t ≤ 3 .
Answer:
y
∫ xe ds ≈ 7.157
γ
Answer:
2
∫ (y − xy) dx ≈ −1.379
γ
⇀ ⇀ ⇀
46. [T] Evaluate ∫ C F ⋅ d r , ∫ C F ⋅ d r , where F(x, y, z) = x
⇀ ⇀ 2 ^ ^ ^
y i + (x − z) j + xyz k and
⇀ ^ 2 ^ ^
C : r (t) = t i + t j + 2 k, 0 ≤ t ≤ 1 .
Answer:
⇀
∫
⇀
F ⋅ d r ≈ −1.133 units of work
C
⇀ ⇀
47. Evaluate ∫ F⋅ dr
⇀
, where F(x, y) = 2x sin y ^i + (x 2 2 ^
cos y − 3 y ) j and
C
Answer:
⇀
∫
⇀
F ⋅ d r ≈ 22.857 units of work
C
Answer:
1
flux = −
3
⇀
51. Let F = 5 ^i and let C be curve y = 0, with 0 ≤ x ≤ 4 . Find the flux across C .
⇀
52. Let F = 5 ^j and let C be curve y = 0, with 0 ≤ x ≤ 4 . Find the flux across C .
⇀
53. Let F = −y ^i + x ^j and let C ⇀ ^ ^
: r (t) = cos t i + sin t j for 0 ≤ t ≤ 2π . Calculate the flux across C .
⇀ ⇀
54. Let F = (x 2 3 ^ ^
+ y ) i + (2xy) j . Calculate flux F orientated counterclockwise across the curve C 2
: x +y
2
= 9.
Answer:
flux = 0
of cylinder x 2
+y
2
= 16 and plane z = 3 from (0, 4, 3) to (−4, 0, 3). C2 is a line segment from (−4, 0, 3) to (0, 1, 5).
56. A spring is made of a thin wire twisted into the shape of a circular helix x = 2 cos t, y = 2 sin t, z = t. Find the
mass of two turns of the spring if the wire has a constant mass density of ρ grams per cm.
Answer:
–
m = 4πρ√5 grams
57. A thin wire is bent into the shape of a semicircle of radius a . If the linear mass density at point P is directly
proportional to its distance from the line through the endpoints, find the mass of the wire.
⇀
58. An object moves in force field F(x, y, z) = y ^i + 2(x + 1)y ^j counterclockwise from point (2, 0) along elliptical
2
path x + 4y = 4 to (−2, 0), and back to point (2, 0) along the x-axis. How much work is done by the force field on
2 2
the object?
Answer:
W =0 units of work
⇀
59. Find the work done when an object moves in force field F(x, y, z) = 2x ^i − (x + z) ^j + (y − x) k
^
along the path
given by r (t) = t i + (t − t) j + 3 k, 0 ≤ t ≤ 1.
⇀ ^ 2 ^ ^ 2
⇀ ⇀ k ⇀
60. If an inverse force field F is given by F(x, y, z) =
3
r , where k is a constant, find the work done by F as its
∥r∥
point of application moves along the x-axis from A(1, 0, 0) to B(2, 0, 0).
Answer:
W =
k
2
units of work
⇀
61. David and Sandra plan to evaluate line integral ∫ F⋅ dr
⇀
along a path in the xy -plane from (0, 0) to (1, 1) . The
C
⇀
force field is F(x, y) = (x + 2y) ^i + (−x + y ) ^j . David chooses the path that runs along the x-axis from (0, 0) to
2
(1, 0) and then runs along the vertical line x = 1 from (1, 0) to the final point (1, 1). Sandra chooses the direct path
along the diagonal line y = x from (0, 0) to (1, 1). Whose line integral is larger and by how much?
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
In this section, we study Stokes’ theorem, a higher-dimensional generalization of Green’s theorem. This theorem, like the
Fundamental Theorem for Line Integrals and Green’s theorem, is a generalization of the Fundamental Theorem of Calculus to
higher dimensions. Stokes’ theorem relates a vector surface integral over surface S in space to a line integral around the
boundary of S . Therefore, just as the theorems before it, Stokes’ theorem can be used to reduce an integral over a geometric
object S to an integral over the boundary of S . In addition to allowing us to translate between line integrals and surface
integrals, Stokes’ theorem connects the concepts of curl and circulation. Furthermore, the theorem has applications in fluid
mechanics and electromagnetism. We use Stokes’ theorem to derive Faraday’s law, an important result involving electric
fields.
Stokes’ Theorem
⇀ ⇀
Stokes’ theorem says we can calculate the flux of curl F across surface S by knowing information only about the values of F
⇀
along the boundary of S . Conversely, we can calculate the line integral of vector field F along the boundary of surface S by
⇀
translating to a double integral of the curl of F over S .
⇀
Let S be an oriented smooth surface with unit normal vector N. Furthermore, suppose the boundary of S is a simple closed
curve C . The orientation of S induces the positive orientation of C if, as you walk in the positive direction around C with your
⇀
head pointing in the direction of N, the surface is always on your left. With this definition in place, we can state Stokes’
theorem.
Figure 1: Stokes’ theorem relates the flux integral over the surface to a line integral around the boundary of the surface.
Note that the orientation of the curve is positive.
However, this is the flux form of Green’s theorem, which shows us that Green’s theorem is a special case of Stokes’ theorem.
Green’s theorem can only handle surfaces in a plane, but Stokes’ theorem can handle surfaces in a plane or in space.
The complete proof of Stokes’ theorem is beyond the scope of this text. We look at an intuitive explanation for the truth of the
theorem and then see proof of the theorem in the special case that surface S is a portion of a graph of a function, and S , the
⇀
boundary of S , and F are all fairly tame.
Proof
First, we look at an informal proof of the theorem. This proof is not rigorous, but it is meant to give a general feeling for
why the theorem is true. Let S be a surface and let D be a small piece of the surface so that D does not share any points
with the boundary of S . We choose D to be small enough so that it can be approximated by an oriented square E . Let D
inherit its orientation from S , and give E the same orientation. This square has four sides; denote them E , E , E , and l r u
E for the left, right, up, and down sides, respectively. On the square, we can use the flux form of Green’s theorem:
d
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
⇀
∫ F⋅ dr = ∬ curl F ⋅ N d S = ∬ curl F ⋅ d S . (5)
El +Ed +Er +Eu E E
To approximate the flux over the entire surface, we add the values of the flux on the small squares approximating small
pieces of the surface (Figure 2).
Figure 2: Chop the surface into small pieces. The pieces should be small enough that they can be approximated by a
square.
By Green’s theorem, the flux across each approximating square is a line integral over its boundary. Let F be an
approximating square with an orientation inherited from S and with a right side E (so F is to the left of E ). Let F
l r
denote the right side of F ; then, E = −F . In other words, the right side of F is the same curve as the left side of E , just
l r
As we add up all the fluxes over all the squares approximating surface S , line integrals
and
⇀
⇀
∫ F⋅ dr (7)
Fr
cancel each other out. The same goes for the line integrals over the other three sides of E . These three line integrals cancel
out with the line integral of the lower side of the square above E , the line integral over the left side of the square to the
right of E , and the line integral over the upper side of the square below E (Figure 3). After all this cancelation occurs
over all the approximating squares, the only line integrals that survive are the line integrals over sides approximating the
boundary of S . Therefore, the sum of all the fluxes (which, by Green’s theorem, is the sum of all the line integrals around
the boundaries of approximating squares) can be approximated by a line integral over the boundary of S . In the limit, as
the areas of the approximating squares go to zero, this approximation gets arbitrarily close to the flux.
Figure 3: (a) The line integral along E cancels out the line integral along F because E = −F . (b) The line integral
l r l r
along any of the sides of E cancels out with the line integral along a side of an adjacent approximating square.
Let’s now look at a rigorous proof of the theorem in the special case that S is the graph of function z = f (x, y) , where x
and y vary over a bounded, simply connected region D of finite area (Figure 4). Furthermore, assume that f has
continuous second-order partial derivatives. Let C denote the boundary of S and let C denote the boundary of D. Then,
′
D is the “shadow” of S in the plane and C is the “shadow” of C . Suppose that S is oriented upward. The
′
⇀
counterclockwise orientation of C is positive, as is the counterclockwise orientation of C . Let F(x, y, z) = ⟨P , Q, R⟩ be
′
a vector field with component functions that have continuous partial derivatives.
⇀
We take the standard parameterization of S : x = x, y = y, z = g(x, y) . The tangent vectors are t x = ⟨1, 0, gx ⟩ and
⇀ ⇀ ⇀
ty= ⟨0, 1, g ⟩ , and therefore t
y × t
x = ⟨−g , −g , 1⟩ .
y x y
⇀ ⇀
∬ curl F ⋅ d S = ∬ [−(Ry − Qz )zx − (Pz − Rx )zy + (Qx − Py )] dA,
S D
keeping in mind that P , Q and R are all functions of x and y , we can evaluate line integral
b
⇀
⇀ ′ ′ ′
∫ F⋅ dr =∫ (P x (t) + Q y (t) + Rz (t)) dt
C a
b
∂z dx ∂z dy
′ ′
=∫ [P x (t) + Q y (t) + R ( + )] dt
a
∂x dt ∂y dt
b
∂z ∂z
′ ′
=∫ [(P + R ) x (t) + (Q + R ) y (t)] dt
a
∂x ∂y
∂z ∂z
=∫ (P + R ) dx + (Q + R ) dy
C
′
∂x ∂y
∂ ∂z ∂ ∂z
=∬ [ (Q + R )− (P + R )] dA
D
∂x ∂y ∂y ∂x
2 2
∂Q ∂Q ∂z ∂R ∂z ∂R ∂z ∂z ∂ z ∂P ∂P ∂z ∂R ∂z ∂z ∂ z
=∬ ( + + + +R ) −( + + +R )
D
∂x ∂z ∂x ∂x ∂y ∂z ∂x ∂y ∂x∂y ∂y ∂z ∂y ∂z ∂y ∂x ∂y∂x
By Clairaut’s theorem,
2 2
∂ z ∂ z
=
∂x∂y ∂y∂x
Therefore, four of the terms disappear from this double integral, and we are left with
which equals
⇀ ⇀
∬ curl F ⋅ d S .
S
We have shown that Stokes’ theorem is true in the case of a function with a domain that is a simply connected region of finite
⇀ ⇀
area. We can quickly confirm this theorem for another important case: when vector field F is a conservative field. If F is
⇀
conservative, the curl of F is zero, so
⇀ ⇀
∬ curl F ⋅ d S = 0. (8)
S
is also zero.
Figure 5.
2π
2
=∫ sin t dt
0
= π.
2 2
=∬ ⟨0, −1, 1⟩ ⋅ ⟨cos θ sin ϕ, sin θ sin ϕ, sin ϕ cos ϕ⟩ dA
D
π π
2
=∫ ∫ (sin ϕ cos ϕ − sin θ sin ϕ) dϕdθ
0 0
π
π
= ∫ sin θ dθ
2 0
= π.
Exercise 1
⇀
Verify that Stokes’ theorem is true for vector field F(x, y, z) = ⟨y, x, −z⟩ and surface S , where S is the upwardly
oriented portion of the graph of f (x, y) = x y over a triangle in the xy-plane with vertices (0, 0), (2, 0), and (0, 2).
2
Hint
Calculate the double integral and line integral separately.
⇀
where S is the surface, oriented outward, in Figure 6 and F = ⟨z, 2xy, x + y⟩ .
without using Stokes’ theorem, we would need the equation for scalar surface integrals. Use of this equation requires a
parameterization of S . Surface S is complicated enough that it would be extremely difficult to find a parameterization.
Therefore, the methods we have learned in previous sections are not useful for this problem. Instead, we use Stokes’
theorem, noting that the boundary C of the surface is merely a single circle with radius 1.
⇀
The curl of F is ⟨1, 1, 2y⟩. By Stokes’ theorem,
⇀ ⇀ ⇀
⇀
∬ curl F ⋅ d S = ∫ F⋅ dr,
S C
where C has parameterization ⟨cos t, sin t, 1⟩, 0 ≤ t ≤ 2π . By the equation for vector line integrals,
2π
2
=∫ (− sin t + 2 sin t cos t) dt
0
2π
3
2 cos t
= [cos t − ]
3
0
3 3
2 cos (2π) 2 cos (0)
= cos(2π) − − (cos(0) − )
3 3
= 0.
because Stokes’ theorem says the surface integral depends on the line integral around the boundary only.
In Example 2, we calculated a surface integral simply by using information about the boundary of the surface. In general, let
S and S be smooth surfaces with the same boundary C and the same orientation. By Stokes’ theorem,
1 2
⇀ ⇀ ⇀ ⇀ ⇀
⇀
∬ curl F ⋅ d S = ∫ F⋅ dr = ∬ curl F ⋅ d S . (11)
S1 C S2
Therefore, if
⇀ ⇀
∬ curl F ⋅ d S (12)
S1
is easy to calculate, Stokes’ theorem allows us to calculate the easier surface integral. In Example 2, we could have calculated
⇀ ⇀
∬ curl F ⋅ d S (14)
S
by calculating
⇀ ⇀
∬ curl F ⋅ d S , (15)
′
S
⇀′
where S is the disk enclosed by boundary curve C (a much more simple surface with which to work).
Equation 11 shows that flux integrals of curl vector fields are surface independent in the same way that line integrals of
⇀
gradient fields are path independent. Recall that if F is a two-dimensional conservative vector field defined on a simply
⇀ ⇀
connected domain, f is a potential function for F, and C is a curve in the domain of F, then
⇀
⇀
∫ F⋅ dr (16)
C
depends only on the endpoints of C . Therefore if C is any other curve with the same starting point and endpoint as C (that is,
′
In other words, the value of the integral depends on the boundary of the path only; it does not really depend on the path itself.
⇀
Analogously, suppose that S and S are surfaces with the same boundary and same orientation, and suppose that G is a three-
′
⇀ ⇀ ⇀
dimensional vector field that can be written as the curl of another vector field F (so that F is like a “potential field” of G ). By
Equation 11,
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
⇀
∬ G ⋅ dS = ∬ curl F ⋅ d S = ∫ F⋅ dr = ∬ curl F ⋅ d S = ∬ G ⋅ dS.
′ ′
S S C S S
⇀
Therefore, the flux integral of G does not depend on the surface, only on the boundary of the surface. Flux integrals of vector
fields that can be written as the curl of a vector field are surface independent in the same way that line integrals of vector fields
that can be written as the gradient of a scalar function are path independent.
Exercise 1
Use Stokes’ theorem to calculate surface integral
⇀ ⇀
∬ curl F ⋅ d S , (18)
S
⇀
where F = ⟨x, y, z⟩ and S is the surface as shown in the following figure.
Hint
Parameterize the boundary of S and translate to a line integral.
Answer
−π
⇀
where F = ⟨xy, x
2
+y
2 2
+ z , yz⟩ and C is the boundary of the parallelogram with vertices
(0, 0, 1), (0, 1, 0), (2, 0, −1) , and (2, 1, −2).
Solution
To calculate the line integral directly, we need to parameterize each side of the parallelogram separately, calculate four
separate line integrals, and add the result. This is not overly complicated, but it is time-consuming.
By contrast, let’s calculate the line integral using Stokes’ theorem. Let S denote the surface of the parallelogram. Note
that S is the portion of the graph of z = 1 − x − y for (x, y) varying over the rectangular region with vertices
(0, 0), (0, 1), (2, 0), and (2, 1) in the xy-plane. Therefore, a parameterization of S is
⇀
⟨x, y, 1 − x − y⟩, 0 ≤ x ≤ 2, 0 ≤ y ≤ 1 . The curl of F is ⟨−z, 0, x⟩,and Stokes’ theorem and the equation for scalar
surface integrals
2 1
⇀ ⇀ ⇀
=∫ ∫ curl F(x, y) ⋅ ( t x × t y ) dy dx
0 0
2 1
2 1
=∫ ∫ ⟨x + y − 1, 0, x⟩ ⋅ ⟨1, 1, 1⟩ dy dx
0 0
2 1
=∫ ∫ 2x + y − 1 dy dx
0 0
= 3.
Exercise 3
Use Stokes’ theorem to calculate line integral
⇀
⇀
∫ F⋅ dr,
C
⇀
where F = ⟨z, x, y⟩ and C is the boundary of a triangle with vertices (0, 0, 1), (3, 0, −2) , and (0, 1, 2).
Hint
This triangle lies in plane z = 1 − x + y .
Answer
3
Interpretation of Curl
In addition to translating between line integrals and flux integrals, Stokes’ theorem can be used to justify the physical
interpretation of curl that we have learned. Here we investigate the relationship between curl and circulation, and we use
Stokes’ theorem to state Faraday’s law—an important law in electricity and magnetism that relates the curl of an electric field
to the rate of change of a magnetic field.
⇀ ⇀
Recall that if C is a closed curve and F is a vector field defined on C , then the circulation of F around C is line integral
⇀
⇀
∫ F⋅ dr. (19)
C
⇀
If F represents the velocity field of a fluid in space, then the circulation measures the tendency of the fluid to move in the
direction of C .
⇀
Let F be a continuous vector field and let D be a small disk of radius r with center P (Figure 7). If D is small enough, then
τ 0 τ
⇀ ⇀
(curl F)(P ) ≈ (curl F)(P0 ) for all points P in D because the curl is continuous. Let
τ Cτ be the boundary circle of Dτ : By
Stokes’ theorem,
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
⇀
∫ F⋅ dr = ∬ curl F ⋅ N d S ≈ ∬ (curl F)(P0 ) ⋅ N(P0 ) d S . (20)
Cτ Dτ Dτ
⇀ ⇀
The quantity (curl F)(P 0) ⋅ N(P0 ) is constant, and therefore
⇀ ⇀ ⇀ ⇀ ⇀
2
∬ (curl F)(P0 ) ⋅ N(P0 ) d S = π r [(curl F)(P0 ) ⋅ N(P0 )].
Dτ
Thus
⇀ ⇀ ⇀
⇀ 2
∫ F ⋅ d r ≈ π r [(curl F)(P0 ) ⋅ N(P0 )],
Cτ
and the approximation gets arbitrarily close as the radius shrinks to zero. Therefore Stokes’ theorem implies that
⇀ ⇀ 1 ⇀
⇀
(curl F)(P0 ) ⋅ N(P0 ) = lim ∫ F⋅ dr.
2
r→0
+
πr Cτ
This equation relates the curl of a vector field to the circulation. Since the area of the disk is πr , this equation says we can 2
⇀
view the curl (in the limit) as the circulation per unit area. Recall that if F is the velocity field of a fluid, then circulation
⇀ ⇀ ⇀
⇀
∮ F⋅ dr = ∮ F ⋅ T ds (21)
Cτ Cτ
⇀ ⇀ ⇀
is a measure of the tendency of the fluid to move around C : The reason for this is that F ⋅ T is a component of F in the
τ
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
direction of T , and the closer the direction of F is to T , the larger the value of F ⋅ T (remember that if a and b are vectors ⇀
⇀ ⇀ ⇀ ⇀
and b is fixed, then the dot product a ⋅ b is maximal when a points in the same direction as b ). Therefore, if F is the velocity
⇀ ⇀
⇀ ⇀ ⇀
field of a fluid, then curl F ⋅ N is a measure of how the fluid rotates about axis N. The effect of the curl is largest about the
⇀ ⇀ ⇀
axis that points in the direction of N, because in this case curl F ⋅ N is as large as possible.
To see this effect in a more concrete fashion, imagine placing a tiny paddlewheel at point P (Figure 8). The paddlewheel 0
⇀
achieves its maximum speed when the axis of the wheel points in the direction of curl F. This justifies the interpretation of the
curl we have learned: curl is a measure of the rotation in the vector field about the axis that points in the direction of the normal
⇀
vector N, and Stokes’ theorem justifies this interpretation.
⇀
where P , Q, and R can all vary continuously over time. We can produce current along the wire by changing field B(t) (this is
⇀ ⇀ ⇀
a consequence of Ampere’s law). Flux ϕ(t) = ∬ B(t) ⋅ d S creates electric field E(t) that does work. The integral form
D(t)
⇀
In other words, the work done by E is the line integral around the boundary, which is also equal to the rate of change of the
flux with respect to time. The differential form of Faraday’s law states that
⇀
⇀ ∂B
curl E = − . (24)
∂t
Using Stokes’ theorem, we can show that the differential form of Faraday’s law is a consequence of the integral form. By
Stokes’ theorem, we can convert the line integral in the integral form into surface integral
∂ϕ ⇀
⇀
⇀ ⇀
− =∫ E(t) ⋅ d r = ∬ curl E(t) ⋅ d S . (25)
∂t C (t) D(t)
Since
⇀
ϕ(t) = ∬ B(t) ⋅ d S , (26)
D(t)
then as long as the integration of the surface does not vary with time we also have
⇀
∂ϕ ∂B ⇀
− =∬ − ⋅ dS. (27)
∂t D(t) ∂t
⇀ ∂B
To derive the differential form of Faraday’s law, we would like to conclude that curl E = − : In general, the equation
∂t
⇀
∂B ⇀ ⇀ ⇀
∬ − ⋅ dS = ∬ curl E ⋅ d S (29)
D(t)
∂t D(t)
⇀
⇀ ∂B
is not enough to conclude that curl E = − : The integral symbols do not simply “cancel out,” leaving equality of the
∂t
integrands. To see why the integral symbol does not just cancel out in general, consider the two single-variable integrals
1 1
∫ x dx and ∫ , where
f (x) dx
0 0
1, if 0 ≤ x ≤ 1/2
f (x) = { (30)
0, if 1/2 ≤ x ≤ 1.
1 1
1
Both of these integrals equal , so ∫ x dx = ∫ f (x) dx .
2 0 0
⇀
⇀ ∂B
we cannot simply conclude that curl E = − just because their integrals are equal. However, in our context, equation
∂t
⇀
∂B ⇀ ⇀ ⇀
∬ − ⋅ dS = ∬ curl E ⋅ d S (32)
D(t)
∂t D(t)
⇀ ⇀
is true for any region, however small (this is in contrast to the single-variable integrals just discussed). If F and G are three-
dimensional vector fields such that
⇀ ⇀ ⇀ ⇀
∬ F ⋅ dS = ∬ G ⋅ dS (33)
S S
⇀ ⇀
for any surface S , then it is possible to show that F = G by shrinking the area of S to zero by taking a limit (the smaller the
⇀ ⇀ ⇀
area of S , the closer the value of ∬ F ⋅ dS to the value of F at a point inside S ). Therefore, we can let area D(t) shrink to
S
zero by taking a limit and obtain the differential form of Faraday’s law:
⇀
⇀ ∂B
curl E = − . (34)
∂t
In the context of electric fields, the curl of the electric field can be interpreted as the negative of the rate of change of the
corresponding magnetic field with respect to time.
A consequence of Faraday’s law is that the curl of the electric field corresponding to a constant magnetic field is always zero.
Exercise 4
⇀ ⇀
Calculate the curl of electric field E if the corresponding magnetic field is B(t) = ⟨tx, ty, −2tz⟩, 0 ≤ t < ∞.
Hint
Use the differential form of Faraday’s law.
Notice that the curl of the electric field does not change over time, although the magnetic field does change over
time.
Answer
⇀
curl E = ⟨x, y, −2z⟩
Key Concepts
Stokes’ theorem relates a flux integral over a surface to a line integral around the boundary of the surface. Stokes’ theorem
is a higher dimensional version of Green’s theorem, and therefore is another version of the Fundamental Theorem of
Calculus in higher dimensions.
Stokes’ theorem can be used to transform a difficult surface integral into an easier line integral, or a difficult line integral
into an easier surface integral.
Through Stokes’ theorem, line integrals can be evaluated using the simplest surface with boundary C .
Faraday’s law relates the curl of an electric field to the rate of change of the corresponding magnetic field. Stokes’ theorem
can be used to derive Faraday’s law.
Key Equations
Stokes’ theorem
⇀ ⇀ ⇀
⇀
∫ F⋅ dr = ∬ curl F ⋅ d S
C S
Glossary
Stokes’ theorem
relates the flux integral over a surface S to a line integral around the boundary C of the surface S
surface independent
flux integrals of curl vector fields are surface independent if their evaluation does not depend on the surface but only on the
boundary of the surface
We have seen that a line integral is an integral over a path in a plane or in space. However, if we wish to integrate over a
surface (a two-dimensional object) rather than a path (a one-dimensional object) in space, then we need a new kind of integral
that can handle integration over objects in higher dimensions. We can extend the concept of a line integral to a surface integral
to allow us to perform this integration.
Surface integrals are important for the same reasons that line integrals are important. They have many applications to physics
and engineering, and they allow us to develop higher dimensional versions of the Fundamental Theorem of Calculus. In
particular, surface integrals allow us to generalize Green’s theorem to higher dimensions, and they appear in some important
theorems we discuss in later sections.
Parametric Surfaces
A surface integral is similar to a line integral, except the integration is done over a surface rather than a path. In this sense,
surface integrals expand on our study of line integrals. Just as with line integrals, there are two kinds of surface integrals: a
surface integral of a scalar-valued function and a surface integral of a vector field.
However, before we can integrate over a surface, we need to consider the surface itself. Recall that to calculate a scalar or
vector line integral over curve C , we first need to parameterize C . In a similar way, to calculate a surface integral over surface
S , we need to parameterize S . That is, we need a working concept of a parameterized surface (or a parametric surface), in the
Notice that this parameterization involves two parameters, u and v , because a surface is two-dimensional, and therefore two
variables are needed to trace out the surface. The parameters u and v vary over a region called the parameter domain, or
parameter space—the set of points in the uv-plane that can be substituted into r . Each choice of u and v in the parameter
⇀
domain gives a point on the surface, just as each choice of a parameter t gives a point on a parameterized curve. The entire
surface is created by making all possible choices of u and v over the parameter domain.
the parameter domain of the parameterization is the set of points in the uv-plane that can be substituted into ⇀
r .
Solution
1 9/5/2021 https://math.libretexts.org/@go/page/21060
To get an idea of the shape of the surface, we first plot some points. Since the parameter domain is all of R , we can 2
choose any value for u and v and plot the corresponding point. If u = v = 0 , then r (0, 0) = ⟨1, 0, 0⟩, so point (1, 0, 0) is
⇀
π
on S . Similarly, points ⇀
r (π, 2) = (−1, 0, 2) and ⇀
r ( , 4) = (0, 1, 4) are on S .
2
Although plotting points may give us an idea of the shape of the surface, we usually need quite a few points to see the
shape. Since it is time-consuming to plot dozens or hundreds of points, we use another strategy. To visualize S , we
visualize two families of curves that lie on S . In the first family of curves we hold u constant; in the second family of
curves we hold v constant. This allows us to build a “skeleton” of the surface, thereby getting an idea of its shape.
Suppose that u is a constant K . Then the curve traced out by the parameterization is ⟨cos K, sin K, v⟩ , which gives a
vertical line that goes through point (cos K, sin K, v⟩ in the xy-plane.
Suppose that v is a constant K . Then the curve traced out by the parameterization is ⟨cos u, sin u, K⟩, which gives a
circle in plane z = K with radius 1 and center (0, 0, K).
If u is held constant, then we get vertical lines; if v is held constant, then we get circles of radius 1 centered around the
vertical line that goes through the origin. Therefore the surface traced out by the parameterization is cylinder x + y = 1 2 2
(Figure 1).
π 3π
Figure 1: (a) Lines ⟨cos K, sin K, v⟩ for K = 0, , π , and . (b) Circles ⟨cos u, sin u, K⟩ for K = −2, −1, 1, and
2 2
2 (c) The lines and circles together. As u and v vary, they describe a cylinder.
Notice that if x = cos u and y = sin u , then x + y = 1 , so points from S do indeed lie on the cylinder. Conversely,
2 2
each point on the cylinder is contained in some circle ⟨cos u, sin u, k⟩ for some k , and therefore each point on the
cylinder is contained in the parameterized surface (Figure 2).
Figure 2: Cylinder x 2
+y
2
= r
2
has parameterization ⇀
r (u, v) = ⟨r cos u, r sin u, v⟩, 0 ≤ u ≤ 2π, −∞ < v < ∞ .
2 9/5/2021 https://math.libretexts.org/@go/page/21060
Analysis
Notice that if we change the parameter domain, we could get a different surface. For example, if we restricted the domain
to 0 ≤ u ≤ π, −∞ < v < 6 , then the surface would be a half-cylinder of height 6.
Exercise 1
Describe the surface with parameterization
⇀
r (u, v) = ⟨2 cos u, 2 sin u, v⟩, 0 ≤ u ≤ 2π, −∞ < v < ∞
Hint
Hold u and v constant, and see what kind of curves result.
Answer
Cylinder x 2
+y
2
=4
It follows from Example 1 that we can parameterize all cylinders of the form x + y = R . If S is a cylinder given by
2 2 2
equation x + y = R , then a parameterization of S is r (u, v) = ⟨R cos u, R sin u, v⟩, 0 ≤ u ≤ 2π, −∞ < v < ∞.
2 2 2 ⇀
We can also find different types of surfaces given their parameterization, or we can find a parameterization when we are given
a surface.
2 2 2 2
=u cos v + u si n v
2
=u
=z
3 9/5/2021 https://math.libretexts.org/@go/page/21060
Figure 3: (a) Circles arise from holding u constant; the vertical parabolas arise from holding v constant. (b) An elliptic
paraboloid results from all choices of u and v in the parameter domain.
Exercise 2
Describe the surface parameterized by ⇀
r (u, v) = ⟨u cos v, u sin v, u⟩, −∞ < u < ∞, 0 ≤ v < 2π .
Hint
Hold u constant and see what kind of curves result. Imagine what happens as u increases or decreases.
Answer
Cone x 2
+y
2
=z
2
u has coordinates (u cos v, u sin v, u) for angle v . Hence, a parameterization of the cone is
r (u, v) = ⟨u cos v, u sin v, u⟩ . Since we are not interested in the entire cone, only the portion on or above plane
⇀
4 9/5/2021 https://math.libretexts.org/@go/page/21060
Figure 4: Cone x 2
+y
2
= z
2
has parametrization ⇀
r (u, v) = ⟨u cos v, u sin v⟩, −∞ < u < ∞, 0 ≤ v ≤ 2π .
Exercise 3
Give a parameterization for the portion of cone x 2
+y
2
=z
2
lying in the first octant.
Hint
Consider the parameter domain for this surface.
Answer
⇀
π
r (u, v) = ⟨u cos v, u sin v, u⟩, 0 < u < ∞, 0 ≤ v <
2
We have discussed parameterizations of various surfaces, but two important types of surfaces need a separate discussion:
spheres and graphs of two-variable functions. To parameterize a sphere, it is easiest to use spherical coordinates. The sphere of
radius ρ centered at the origin is given by the parameterization
⇀
r (ϕ, θ) = ⟨ρ cos θ sin ϕ, ρ sin θ sin ϕ, ρ cos ϕ⟩, 0 ≤ θ ≤ 2π, 0 ≤ ϕ ≤ π.
The idea of this parameterization is that as ϕ sweeps downward from the positive z -axis, a circle of radius ρ sin ϕ is traced out
by letting θ run from 0 to 2π. To see this, let ϕ be fixed. Then
2 2 2 2
x +y = (ρ cos θ sin ϕ) + (ρ sin θ sin ϕ)
2 2 2 2
=ρ sin ϕ(cos θ + sin θ)
2 2
=ρ sin ϕ
2
= (ρ sin ϕ) .
5 9/5/2021 https://math.libretexts.org/@go/page/21060
Figure 5 : The sphere of radius ρ has parameterization
⇀
r (ϕ, θ) = ⟨ρ cos θ sin ϕ, ρ sin θ sin ϕ, ρ cos ϕ⟩, 0 ≤ θ ≤ 2π, 0 ≤ ϕ ≤ π.
Finally, to parameterize the graph of a two-variable function, we first let z = f (x, y) be a function of two variables. The
simplest parameterization of the graph of f is r (x, y) = ⟨x, y, f (x, y)⟩, where x and y vary over the domain of f (Figure 6).
⇀
For example, the graph of f (x, y) = x y can be parameterized by r (x, y) = ⟨x, y, x y⟩, where the parameters x and y vary
2 ⇀ 2
over the domain of f . If we only care about a piece of the graph of f - say, the piece of the graph over rectangle [1, 3] × [2, 5]
- then we can restrict the parameter domain to give this piece of the surface:
⇀ 2
r (x, y) = ⟨x, y, x y⟩, 1 ≤ x ≤ 3, 2 ≤ y ≤ 5. (3)
2 2
x +z
be parameterized by ⇀
r (x, y) = ⟨x, , z⟩ , 0 ≤ x < ∞, 0 ≤ z < ∞ . Notice that we do not need to vary over the
2
really is a curve, and not just a point. For example, consider curve parameterization r (t) = ⟨1, 2⟩, 0 ≤ t ≤ 5 . The image of
⇀
⇀
⇀′
this parameterization is simply point (1, 2), which is not a curve. Notice also that r (t) = 0 . The fact that the derivative is the
zero vector indicates we are not actually looking at a curve.
6 9/5/2021 https://math.libretexts.org/@go/page/21060
Analogously, we would like a notion of regularity (or smoothness) for surfaces so that a surface parameterization really does
trace out a surface. To motivate the definition of regularity of a surface parameterization, consider the parameterization
⇀
r (u, v) = ⟨0, cos v, 1⟩, 0 ≤ u ≤ 1, 0 ≤ v ≤ π. (4)
Although this parameterization appears to be the parameterization of a surface, notice that the image is actually a line (Figure
7 ). How could we avoid parameterizations such as this? Parameterizations that do not give an actual surface? Notice that
⇀
⇀′
= ⟨0, 0, 0⟩ and r = ⟨0, − sin v, 0⟩ , and the corresponding cross product is zero. The analog of the condition r (t) = 0
⇀ ⇀
ru v
is that r × r is not zero for point (u, v) in the parameter domain, which is a regular parameterization.
⇀
u
⇀
v
If parameterization r ⃗ is regular, then the image of r ⃗ is a two-dimensional object, as a surface should be. Throughout this
chapter, parameterizations r (u, v) = ⟨x(u, v), y(u, v), z(u, v)⟩ are assumed to be regular.
⇀
⇀
⇀′ ⇀′
Recall that curve parameterization r (t), a ≤ t ≤ b is smooth if r (t) is continuous and r (t) ≠ 0 for all t in [a, b].
⇀
Informally, a curve parameterization is smooth if the resulting curve has no sharp corners. The definition of a smooth surface
parameterization is similar. Informally, a surface parameterization is smooth if the resulting surface has no sharp corners.
A surface may also be piecewise smooth if it has smooth faces but also has locations where the directional derivatives do not
exist.
7 9/5/2021 https://math.libretexts.org/@go/page/21060
Figure 8: (a) This surface is smooth. (b) This surface is piecewise smooth.
Solution
The surface in Figure 8a can be parameterized by
⇀
r (u, v) = ⟨(2 + cos v) cos u, (2 + cos v) sin u, sin v⟩, 0 ≤ u < 2π, 0 ≤ v < 2π
and
⇀
r v = ⟨− sin v cos u, − sin v sin u, cos v⟩
^ ^ 2 2 ^
= [(2 + cos v) cos u cos v] i + [2 + cos v) sin u cos v] j + [(2 + cos v) sin v sin u + (2 + cos v) sin v cos u] k
^ ^ ^
= [(2 + cos v) cos u cos v] i + [(2 + cos v) sin u cos v] j + [(2 + cos v) sin v] k.
The k^
component of this vector is zero only if v = 0 or v = π . If v = 0 or v = π , then the only choices for u that make
the ^j component zero are u = 0 or u = π . But, these choices of u do not make the ^i component zero. Therefore,
⇀
r × r
u
⇀
is not zero for any choice of u and v in the parameter domain, and the parameterization is smooth. Notice that
v
Exercise 4
Is the surface parameterization ⇀
r (u, v) = ⟨u
2v
, v + 1, sin u⟩, 0 ≤ u ≤ 2, 0 ≤ v ≤ 3 smooth?
Hint
Investigate the cross product ⇀
ru × rv
⇀
.
Answer
Yes
8 9/5/2021 https://math.libretexts.org/@go/page/21060
Surface Area of a Parametric Surface
Our goal is to define a surface integral, and as a first step we have examined how to parameterize a surface. The second step is
to define the surface area of a parametric surface. The notation needed to develop this definition is used throughout the rest of
this chapter.
Let S be a surface with parameterization r (u, v) = ⟨x(u, v), y(u, v), z(u, v)⟩ over some parameter domain D. We assume
⇀
here and throughout that the surface parameterization r (u, v) = ⟨x(u, v), y(u, v), z(u, v)⟩ is continuously differentiable—
⇀
meaning, each component function has continuous partial derivatives. Assume for the sake of simplicity that D is a rectangle
(although the following material can be extended to handle nonrectangular parameter domains). Divide rectangle D into
subrectangles D with horizontal width Δu and vertical length Δv. Suppose that i ranges from 1 to m and j ranges from 1 to n
ij
so that D is subdivided into mn rectangles. This division of D into subrectangles gives a corresponding division of surface S
into pieces S . Choose point P in each piece S . Point P corresponds to point (u , v ) in the parameter domain.
ij ij ij ij i j
Note that we can form a grid with lines that are parallel to the u-axis and the v -axis in the uv-plane. These grid lines
correspond to a set of grid curves on surface S that is parameterized by r (u, v). Without loss of generality, we assume that P
⇀
ij
is located at the corner of two grid curves, as in Figure 9. If we think of r as a mapping from the uv-plane to R , the grid
⇀ 3
curves are the image of the grid lines under r . To be precise, consider the grid lines that go through point (u , v ). One line is
⇀
i j
given by x = u , y = v ; the other is given by x = u, y = v . In the first grid line, the horizontal component is held constant,
i j
yielding a vertical line through (u , v ). In the second grid line, the vertical component is held constant, yielding a horizontal
i j
line through (u , v ). The corresponding grid curves are r (u , v) and (u, v ) and these curves intersect at point P .
i j
⇀
i j ij
⇀ ⇀
t v (Pij ) = r v (ui , vj ) = ⟨xv (ui , vj ), yv (ui , vj ), zv (ui , vj )⟩. (5)
⇀
⇀
t u (Pij ) = r u (ui , vj ) = ⟨xu (ui , vj ), yu (ui , vj ), zu (ui , vj )⟩. (6)
⇀ ⇀ ⇀
If vector N = t (P ) × t (P ) exists and is not zero, then the tangent plane at P exists (Figure 10). If piece
u ij v ij ij Sij is small
enough, then the tangent plane at point P is a good approximation of piece S .
ij ij
⇀ ⇀
Figure 10: If the cross product of vectors tu and tv exists, then there is a tangent plane.
9 9/5/2021 https://math.libretexts.org/@go/page/21060
⇀ ⇀ ⇀
The tangent plane at P contains vectors t (P ) and t (P ) and therefore the parallelogram spanned by t (P ) and
ij u ij v ij u ij
⇀
t (P ) is in the tangent plane. Since the original rectangle in the uv-plane corresponding to S
v ij has width Δu and length Δv, ij
⇀ ⇀
the parallelogram that we use to approximate S is the parallelogram spanned by Δu t (P ) and Δv t (P ) . In other words,
ij u ij v ij
we scale the tangent vectors by the constants Δu and Δv to match the scale of the original division of rectangles in the
parameter domain. Therefore, the area of the parallelogram used to approximate the area of S is ij
⇀ ⇀ ⇀ ⇀
ΔSij ≈ ||(Δu t u (Pij )) × (Δv t v (Pij ))|| = || t u (Pij ) × t v (Pij )||Δu Δv. (7)
⇀ ⇀
Figure 11: The parallelogram spanned by tu and tv approximates the piece of surface S . ij
⇀ ∂x ∂y ∂z
where tu = ⟨ , , ⟩
∂u ∂u ∂u
and
⇀ ∂x ∂y ∂z
tv = ⟨ , , ⟩. (9)
∂u ∂u ∂u
the positive z-axis and ending at the cone, and let k = tan α . For a height value v with 0 ≤ v ≤ h , the radius of the circle
formed by intersecting the cone with plane z = v is kv . Therefore, a parameterization of this cone is
⇀
s (u, v) = ⟨kv cos u, kv sin u, v⟩, 0 ≤ u < 2π, 0 ≤ v ≤ h.
The idea behind this parameterization is that for a fixed v -value, the circle swept out by letting u vary is the circle at
height v and radius kv . As v increases, the parameterization sweeps out a “stack” of circles, resulting in the desired cone.
10 9/5/2021 https://math.libretexts.org/@go/page/21060
Figure 12: The right circular cone with radius r = kh and height h has parameterization
⇀
s (u, v) = ⟨kv cos u, kv sin u, v⟩, 0 ≤ u < 2π, 0 ≤ v ≤ h. (10)
With a parameterization in hand, we can calculate the surface area of the cone using Equation 8. The tangent vectors are
⇀ ⇀
tu = ⟨−kv sin u, kv cos u, 0⟩ and t = ⟨k cos u, k sin u, 1⟩ . Therefore,
v
∣ ^ ^ ^∣
i j k
⇀ ⇀ ∣ ∣
t u × t v = ∣ −kv sin u kv cos u 0 ∣
∣ ∣
∣ k cos u k sin u 1 ∣
2 2 2 2
= ⟨kv cos u, kv sin u, −k v sin u − k v cos u⟩
2
= ⟨kv cos u, kv sin u, −k v⟩.
−−−−−−−− −
√ 2 2 4 2
= k v +k v
− −−− −
2
= kv√ 1 + k .
h
−−−−−
2
= 2πk√ 1 + k ∫ v dv
0
h
2
−−−−− v
2
= 2πk√ 1 + k [ ]
2
0
− −−− −
2 2
= πkh √ 1 + k .
11 9/5/2021 https://math.libretexts.org/@go/page/21060
−−−−−−
2
− −−− − r r
2 2 2
πkh √ 1 + k =π h √1 +
2
h h
−−−−−−
2
r
= πrh √ 1 +
2
h
−−−−−−−−−−−−
2
2 2
r
= πr√ h +h ( )
h2
− −−−−−
2 2
= πr√ h + r .
−−−−−−
Therefore, the lateral surface area of the cone is πr√h 2
+r
2
.
Analysis
−−−−−−
The surface area of a right circular cone with radius r and height h is usually given as π r + πr√h + r . The reason for this 2 2 2
is that the circular base is included as part of the cone, and therefore the area of the base πr is added to the lateral surface area 2
− − −−− −
πr√h + r
2 2
that we found.
Exercise 5
Find the surface area of the surface with parameterization ⇀ 2
r (u, v) = ⟨u + v, u , 2v⟩, 0 ≤ u ≤ 3, 0 ≤ v ≤ 2 .
Hint
Use Equation 8.
Answer
\≈43.02
Solution
The sphere has parameterization
r cos θ sin ϕ, r sin θ sin ϕ, r cos ϕ⟩, 0 ≤ θ < 2π, 0 ≤ ϕ ≤ π.
and
⇀
t ϕ = ⟨r cos θ cos ϕ, r sin θ cos ϕ, −r sin ϕ⟩.
Therefore,
⇀ ⇀ 2 2 2 2 2 2 2 2
tϕ × tθ = ⟨r cos θ sin ϕ, r sin θ sin ϕ, r sin θ sin ϕ cos ϕ + r cos θ sin ϕ cos ϕ⟩
2 2 2 2 2
= ⟨r cos θ sin ϕ, r sin θ sin ϕ, r sin ϕ cos ϕ⟩.
Now,
12 9/5/2021 https://math.libretexts.org/@go/page/21060
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
⇀ ⇀
4 4 2 4 4 2 4 2 2
|| t ϕ × t θ || = √ r sin ϕ cos θ+r sin ϕ sin θ+r sin ϕ cos ϕ
−−−−−−−−−−−−−−−−−−−−
4 4 4 2 2
= √r sin ϕ+r sin ϕ cos ϕ
−−−−−
2 2
= r √sin ϕ
= r sin ϕ.
−−−−−
Notice that sin ϕ ≥ 0 on the parameter domain because 0 ≤ϕ <π , and this justifies equation √sin
2
ϕ = sin ϕ . The
surface area of the sphere is
2π π 2π
2 2 2
∫ ∫ r sin ϕ dϕ dθ = r ∫ 2 dθ = 4π r .
0 0 0
We have derived the familiar formula for the surface area of a sphere using surface integrals.
Exercise 6
Show that the surface area of cylinder x
2
+y
2 2
=r , 0 ≤z ≤h is 2πrh. Notice that this cylinder does not include the
top and bottom circles.
Hint
Use the standard parameterization of a cylinder and follow the previous example.
Answer
With the standard parameterization of a cylinder, Equation 8 shows that the surface area is 2πrh .
In addition to parameterizing surfaces given by equations or standard geometric shapes such as cones and spheres, we can also
parameterize surfaces of revolution. Therefore, we can calculate the surface area of a surface of revolution by using the same
techniques. Let y = f (x) ≥ 0 be a positive single-variable function on the domain a ≤ x ≤ b and let S be the surface
obtained by rotating f about the x-axis (Figure 13). Let θ be the angle of rotation. Then, S can be parameterized with
parameters x and θ by
⇀
r (x, θ) = ⟨x, f (x) cos θ, f (x) sin θ⟩, a ≤ x ≤ b, 0 ≤ x ≤ 2π. (11)
13 9/5/2021 https://math.libretexts.org/@go/page/21060
Figure 14: A surface integral can be used to calculate the surface area of this solid of revolution.
Solution
This surface has parameterization ⇀
r (x, θ) = ⟨x, x
2
cos θ, x
2
sin θ⟩, 0 ≤ x ≤ b, 0 ≤ x < 2π.
⇀ ⇀
The tangent vectors are t x = ⟨1, 2x cos θ, 2x sin θ⟩ and t θ = ⟨0, −x
2
sin θ, −x
2
cos θ⟩ .
Therefore,
⇀ ⇀
3 2 3 2 2 2
tx × tθ = ⟨2 x cos θ + 2x sin θ, −x cos θ, −x sin θ⟩
3 2 2
= ⟨2 x , −x cos θ, −x sin θ⟩
and
⇀ ⇀
− −−−−−−−−−−−−−−−−−− −
6 4 2 4 2
t x × t θ = √ 4 x + x cos θ + x sin θ
− −−−−−−
6 4
= √ 4x + x
− −−−−−
2 2
= x √ 4x + 1
b
1 −−−−−−
2 3 −1
= 2π [ (2 √ 4 x + 1 (8 x + x) sinh (2x))]
64
0
1 − − − −−−
2 3 −1
= 2π [ (2 √ 4 b + 1 (8 b + b) sinh (2b))] .
64
Exercise 7
Use Equation 8 to find the area of the surface of revolution obtained by rotating curve y = sin x, 0 ≤x ≤π about the x-
axis.
Hint
Use the parameterization of surfaces of revolution given before Example 7.
Answer
– −1
2π(√2 + sinh (1))
14 9/5/2021 https://math.libretexts.org/@go/page/21060
Surface Integral of a Scalar-Valued Function
Now that we can parameterize surfaces and we can calculate their surface areas, we are able to define surface integrals. First,
let’s look at the surface integral of a scalar-valued function. Informally, the surface integral of a scalar-valued function is an
analog of a scalar line integral in one higher dimension. The domain of integration of a scalar line integral is a parameterized
curve (a one-dimensional object); the domain of integration of a scalar surface integral is a parameterized surface (a two-
dimensional object). Therefore, the definition of a surface integral follows the definition of a line integral quite closely. For
scalar line integrals, we chopped the domain curve into tiny pieces, chose a point in each piece, computed the function at that
point, and took a limit of the corresponding Riemann sum. For scalar surface integrals, we chop the domain region (no longer
a curve) into tiny pieces and proceed in the same fashion.
Let S be a piecewise smooth surface with parameterization r (u, v) = ⟨x(u, v), y(u, v), z(u, v)⟩ with parameter domain D
⇀
and let f (x, y, z) be a function with a domain that contains S . For now, assume the parameter domain D is a rectangle, but we
can extend the basic logic of how we proceed to any parameter domain (the choice of a rectangle is simply to make the
notation more manageable). Divide rectangle D into subrectangles D with horizontal width Δu and vertical length Δv.
ij
Suppose that i ranges from 1 to m and j ranges from 1 to n so that D is subdivided into mn rectangles. This division of D
into subrectangles gives a corresponding division of S into pieces S . Choose point P in each piece S evaluate P at f ,
ij ij ij ij
m n
∑ ∑ f (Pij ) ΔSij .
i=1 j=1
To define a surface integral of a scalar-valued function, we let the areas of the pieces of S shrink to zero by taking a limit.
Again, notice the similarities between this definition and the definition of a scalar line integral. In the definition of a line
integral we chop a curve into pieces, evaluate a function at a point in each piece, and let the length of the pieces shrink to zero
by taking the limit of the corresponding Riemann sum. In the definition of a surface integral, we chop a surface into pieces,
evaluate a function at a point in each piece, and let the area of the pieces shrink to zero by taking the limit of the corresponding
Riemann sum. Thus, a surface integral is similar to a line integral but in one higher dimension.
The definition of a scalar line integral can be extended to parameter domains that are not rectangles by using the same logic
used earlier. The basic idea is to chop the parameter domain into small pieces, choose a sample point in each piece, and so on.
The exact shape of each piece in the sample domain becomes irrelevant as the areas of the pieces shrink to zero.
Scalar surface integrals are difficult to compute from the definition, just as scalar line integrals are. To develop a method that
makes surface integrals easier to compute, we approximate surface areas ΔS with small pieces of a tangent plane, just as we
ij
⇀ ⇀
did in the previous subsection. Recall the definition of vectors t and t : u v
⇀ ∂x ∂y ∂z ⇀ ∂x ∂y ∂z
tu = ⟨ , , ⟩ and t v = ⟨ , , ⟩.
∂u ∂u ∂u ∂u ∂u ∂u
Therefore,
m n
⇀ ⇀
∬ f (x, y, z) dS ≈ lim ∑ ∑ f (Pij )|| t u (Pij ) × t v (Pij )|| Δu Δv.
m,n→∞
S
i=1 j=1
15 9/5/2021 https://math.libretexts.org/@go/page/21060
m n
This approximation becomes arbitrarily close to lim ∑ ∑ f (Pij )ΔSij as we increase the number of pieces S by lettingij
m,n→∞
i=1 j=1
m and n go to infinity. Therefore, we have the following equation to calculate scalar surface integrals:
⇀ ⇀ ⇀
∬ f (x, y, z) dS = ∬ f ( r (u, v))|| t u × t v || dA. (13)
S D
Equation 13 allows us to calculate a surface integral by transforming it into a double integral. This equation for surface
integrals is analogous to Equation ??? for line integrals:
b
⇀ ⇀′
∬ f (x, y, z) ds = ∫ f ( r (t))|| r (t)|| dt.
C a
⇀ ⇀ ⇀′
In this case, vector tu × tv is perpendicular to the surface, whereas vector r (t) is tangent to the curve.
∬ 5 dS,
S
∣^ ^ ^∣
i j k
⇀ ⇀ ∣ ∣
tu × tv = ∣ 1 2u 0 ∣ = ⟨2u, −1, 0⟩
∣ ∣
∣ 0 0 1 ∣
and
⇀ ⇀ − −−−− −
2
|| t u × t v || = √ 1 + 4u . (14)
By Equation 13,
−−−−−−
2
∬ 5 dS = 5 ∬ u √ 1 + 4u dA
S D
2 u 2
− −−−− − −−−−−−
2 2
=5∫ ∫ √ 1 + 4u dv du = 5 ∫ u √ 1 + 4u du
0 0 0
2
2 3/2
(1 + 4u )
= 5[ ]
3
0
3/2
5(17 − 1)
= ≈ 115.15.
3
2
∬ (x + y ) dS, (15)
S
where S is cylinder x 2
+y
2
= 4, 0 ≤ z ≤ 3 (Figure 15).
16 9/5/2021 https://math.libretexts.org/@go/page/21060
Figure 15: Integrating function f (x, y, z) = x + y 2
over a cylinder.
Solution
To calculate the surface integral, we first need a parameterization of the cylinder. A parameterization is
⇀
r (u, v) = ⟨cos u, sin u, v⟩, 0 ≤ u ≤ 2π, 0 ≤ v ≤ 3.
⇀ ⇀
The tangent vectors are t u = ⟨sin u, cos u, 0⟩ and t v = ⟨0, 0, 1⟩ . Then,
∣ ^ ^ ^
i j k∣
⇀ ⇀ ∣ ∣
t u × t v = ∣ − sin u cos u 0 ∣ = ⟨cos u, sin u, 0⟩ (16)
∣ ∣
∣ 0 0 1 ∣
⇀ ⇀ −−−−−−−−−− −
and || t u
2
× t v || = √cos2 u + sin u = 1 . By Equation 13,
⇀ ⇀
⇀
∬ f (x, y, z)dS = ∬ f ( r (u, v))|| t u × t v || dA
S D
3 2π
2
=∫ ∫ (cos u + sin u) du dv
0 0
3 2π
u sin(2u)
=∫ [sin u + − ] dv
0 2 4
0
=∫ π dv = 3π.
0
Exercise 8
Calculate
2
∬ (x − z) dS, (17)
S
Hint
Use Equation 13.
Answer
24
17 9/5/2021 https://math.libretexts.org/@go/page/21060
∬ f (x, y, z) dS, (18)
S
where f (x, y, z) = z and S is the surface that consists of the piece of sphere x + y + z = 4 that lies on or above
2 2 2 2
plane z = 1 and the disk that is enclosed by intersection plane z = 1 and the given sphere (Figure 16).
2
∬ z dS,
S
2 2
∬ z dS + ∬ z dS
S1 S2
2
∬ z dS
S1
and
2
∬ Z dS.
S2
First, we calculate ∬ z
2
dS. To calculate this integral we need a parameterization of S . This surface is a disk in plane 1
S1
z =1 centered at (0, 0, 1). To parameterize this disk, we need to know its radius. Since the disk is formed where plane
z =1 intersects sphere x + y + z = 4 , we can substitute z = 1 into equation x + y + z = 4 :
2 2 2 2 2 2
2 2 2 2
x +y +1 = 4 ⇒ x +y = 3.
–
Therefore, the radius of the disk is √3 and a parameterization of S1 is
– ⇀
⇀
r (u, v) = ⟨u cos v, u sin v, 1⟩, 0 ≤ u ≤ √3, 0 ≤ v ≤ 2π . The tangent vectors are t = ⟨cos v, u sin v, 0⟩ and
⇀
t v = ⟨−u sin v, u cos v, 0⟩ , and thus
∣ ^ ^ ^
i j k∣
⇀ ⇀ ∣ ∣
2 2
tu × tv = ∣ cos v sin v 0 ∣ = ⟨0, 0, u cos v + u sin v⟩ = ⟨0, 0, u⟩. (19)
∣ ∣
∣ −u sin v u cos v 0 ∣
18 9/5/2021 https://math.libretexts.org/@go/page/21060
√3 2π
2
∬ z dS = ∫ ∫ f (r(u, v))|| tu × tv || dv du
S1 0 0
√3 2π
=∫ ∫ u dv du
0 0
√3
= 2π ∫ u du
0
–
= 2π √3.
Now we calculate
∬ dS.
S2
Since we are only taking the piece of the sphere on or above plane z = 1 , we have to restrict the domain of ϕ . To see how
–
far this angle sweeps, notice that the angle can be located in a right triangle, as shown in Figure 17 (the √3 comes from
– –
the fact that the base of S is a disk with radius √3). Therefore, the tangent of ϕ is √3, which implies that ϕ is π/6. We
now have a parameterization of S : 2
⇀
r (ϕ, θ) = ⟨2 cos θ sin ϕ, 2 sin θ sin ϕ, 2 cos ϕ⟩, 0 ≤ θ ≤ 2π, 0 ≤ ϕ ≤ π/3.
–
Figure 17: The maximum value of ϕ has a tangent value of √3.
⇀ ⇀
The tangent vectors are t ϕ = ⟨2 cos θ cos ϕ, 2 sin θ cos ϕ, −2 sin ϕ⟩ and t θ = ⟨−2 sin θ sin ϕ, u cos θ sin ϕ, 0⟩ , and
thus
∣ ^ ^ ^ ∣
i j k
⇀ ⇀ ∣ ∣
t ϕ × t θ = ∣ 2 cos θ cos ϕ 2 sin θ cos ϕ −2 sin ϕ ∣
∣ ∣
∣ −2 sin θ sin ϕ 2 cos θ sin ϕ 0 ∣
2 2 2 2
= ⟨4 cos θ sin ϕ, 4 sin θ sin ϕ, 4 cos θ cos ϕ sin ϕ + 4 sin θ cos ϕ sin ϕ⟩
2 2
= ⟨4 cos θ sin ϕ, 4 sin θ sin ϕ, 4 cos ϕ sin ϕ⟩.
−−−−−−−−−−−−−−−−
4 2 2
= 4 √ sin ϕ + cos ϕ sin ϕ.
Therefore,
19 9/5/2021 https://math.libretexts.org/@go/page/21060
π/6 2π
⇀ ⇀
⇀
∬ z dS = ∫ ∫ f ( r (ϕ, θ))|| t ϕ × t θ || dθ dϕ
S2 0 0
π/6 2π −−−−−−−−−−−−−−−−
2 4 2 2
=∫ ∫ 16 cos ϕ√ sin ϕ + cos ϕ sin ϕ dθ dϕ
0 0
π/6 −−−−−−−−−−−−−−−−
2 4 2 2
= 32π ∫ cos ϕ√ sin ϕ + cos ϕ sin ϕ dϕ
0
π/6 −−−−−−−−−−−
2 2 2
= 32π ∫ cos ϕ sin ϕ√ sin ϕ + cos ϕ dϕ
0
π/6
2
= 32π ∫ cos ϕ sin ϕ dϕ
0
π/6
3
cos ϕ
= 32π[− ]
3
0
–
1 √3 32π –
= 32π [ − ] = − 4 √3.
3 8 3
Since
2 2 2
∬ z dS = ∬ z dS + ∬ z dS,
S S1 S2
we have
– 32π
2
∬ z dS = (2π − 4)√3 + .
S
3
Analysis
In this example we broke a surface integral over a piecewise surface into the addition of surface integrals over smooth
subsurfaces. There were only two smooth subsurfaces in this example, but this technique extends to finitely many smooth
subsurfaces.
Exercise 9
bottom.
Hint
Break the integral into three separate surface integrals.
Answer
0
Scalar surface integrals have several real-world applications. Recall that scalar line integrals can be used to compute the mass
of a wire given its density function. In a similar fashion, we can use scalar surface integrals to compute the mass of a sheet
given its density function. If a thin sheet of metal has the shape of surface S and the density of the sheet at point (x, y, z) is
ρ(x, y, z) then mass m of the sheet is
20 9/5/2021 https://math.libretexts.org/@go/page/21060
A flat sheet of metal has the shape of surface z = 1 + x + 2y that lies above rectangle 0 ≤ x ≤ 4 and 0 ≤ y ≤ 2 . If the
density of the sheet is given by ρ(x, y, z) = x yz, what is the mass of the sheet?
2
Solution
Let S be the surface that describes the sheet. Then, the mass of the sheet is given by m = ∬ 2
x yx dS. To compute this
S
surface integral, we first need a parameterization of S . Since S is given by the function f (x, y) = 1 + x + 2y , a
parameterization of S is r (x, y) = ⟨x, y, 1 + x + 2y⟩,
⇀
0 ≤ x ≤ 4, 0 ≤ y ≤ 2 .
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ –
The tangent vectors are t x = ⟨1, 0, 1⟩ and t y = ⟨1, 0, 2⟩ . Therefore, t x + t y = ⟨−1, −2, 1⟩ and || t x × t y || = √6 .
By the definition of the line integral (Section 16.2),
2
m =∬ x yz dS
S
4 2
– 2
= √6 ∫ ∫ x y(1 + x + 2y) dy dx
0 0
4 2
– 22x
3
= √6 ∫ + 2x dx
0
3
–
2560 √6
= ≈ 696.74.
9
Exercise 10
A piece of metal has a shape that is modeled by paraboloid z = x 2 2
+ y , 0 ≤ z ≤ 4, and the density of the metal is
given by ρ(x, y, z) = z + 1 . Find the mass of the piece of metal.
Hint
The mass of a sheet is given by Equation 21 . A useful parameterization of a paraboloid was given in a previous
example.
Answer
38.401π ≈ 120.640
Orientation of a Surface
Recall that when we defined a scalar line integral, we did not need to worry about an orientation of the curve of integration.
The same was true for scalar surface integrals: we did not need to worry about an “orientation” of the surface of integration.
On the other hand, when we defined vector line integrals, the curve of integration needed an orientation. That is, we needed
the notion of an oriented curve to define a vector line integral without ambiguity. Similarly, when we define a surface integral
of a vector field, we need the notion of an oriented surface. An oriented surface is given an “upward” or “downward”
orientation or, in the case of surfaces such as a sphere or cylinder, an “outward” or “inward” orientation.
⇀ ⇀
Let S be a smooth surface. For any point (x, y, z) on S , we can identify two unit normal vectors N and −N. If it is possible to
⇀ ⇀
choose a unit normal vector N at every point (x, y, z) on S so that N varies continuously over S , then S is “orientable.” Such
a choice of unit normal vector at each point gives the orientation of a surface S . If you think of the normal field as describing
water flow, then the side of the surface that water flows toward is the “negative” side and the side of the surface at which the
water flows away is the “positive” side. Informally, a choice of orientation gives S an “outer” side and an “inner” side (or an
“upward” side and a “downward” side), just as a choice of orientation of a curve gives the curve “forward” and “backward”
directions.
Closed surfaces such as spheres are orientable: if we choose the outward normal vector at each point on the surface of the
sphere, then the unit normal vectors vary continuously. This is called the positive orientation of the closed surface (Figure 18).
21 9/5/2021 https://math.libretexts.org/@go/page/21060
We also could choose the inward normal vector at each point to give an “inward” orientation, which is the negative orientation
of the surface.
⟨−f , −f , 1⟩ Since the z -component of this vector is one, the corresponding unit normal vector points “upward,” and the
x y
⇀ ⇀
The tangent vectors are t u = ⟨−r sin u, r cos u, 0⟩ and t v = ⟨0, 0, 1⟩ . To get an orientation of the surface, we compute
the unit normal vector
⇀ ⇀
⇀ tu × tv
N =
⇀ ⇀
|| t u × t v ||
⇀ ⇀
In this case, t u × t v = ⟨r cos u, r sin u, 0⟩ and therefore
⇀ ⇀ − −−−−−−−−−−−−− −
2 2 2 2
|| t u × t v || = √ r cos u + r sin u = r.
22 9/5/2021 https://math.libretexts.org/@go/page/21060
An orientation of the cylinder is
⇀ ⟨r cos u, r sin u, 0⟩
N(u, v) = = ⟨cos u, sin u, 0⟩.
r
Notice that all vectors are parallel to the xy-plane, which should be the case with vectors that are normal to the cylinder.
Furthermore, all the vectors point outward, and therefore this is an outward orientation of the cylinder (Figure 19).
Figure 19: If all the vectors normal to a cylinder point outward, then this is an outward orientation of the cylinder.
Exercise 11
Give the “upward” orientation of the graph of f (x, y) = xy.
Hint
Parameterize the surface and use the fact that the surface is the graph of a function.
Answer
⇀ −y −x 1
N(x, y) = ⟨ , , ⟩
−−−−−−−−− −−−−−−−−− −−−−−−−−−
2 2 2 2 2 2
√1 +x +y √1 +x +y √1 +x +y
Since every curve has a “forward” and “backward” direction (or, in the case of a closed curve, a clockwise and
counterclockwise direction), it is possible to give an orientation to any curve. Hence, it is possible to think of every curve as an
oriented curve. This is not the case with surfaces, however. Some surfaces cannot be oriented; such surfaces are called
nonorientable. Essentially, a surface can be oriented if the surface has an “inner” side and an “outer” side, or an “upward” side
and a “downward” side. Some surfaces are twisted in such a fashion that there is no well-defined notion of an “inner” or
“outer” side.
The classic example of a nonorientable surface is the Möbius strip. To create a Möbius strip, take a rectangular strip of paper,
give the piece of paper a half-twist, and the glue the ends together (Figure 20). Because of the half-twist in the strip, the
surface has no “outer” side or “inner” side. If you imagine placing a normal vector at a point on the strip and having the vector
travel all the way around the band, then (because of the half-twist) the vector points in the opposite direction when it gets back
to its original position. Therefore, the strip really only has one side.
23 9/5/2021 https://math.libretexts.org/@go/page/21060
surface integral of a vector field proceeds in the same fashion, except now we chop surface S into small pieces, choose a point
⇀ ⇀
in the small (two-dimensional) piece, and calculate F ⋅ N at the point.
⇀
To place this definition in a real-world setting, let S be an oriented surface with unit normal vector N. Let v be a velocity ⇀
field of a fluid flowing through S , and suppose the fluid has density ρ(x, y, z) Imagine the fluid flows through S , but S is
completely permeable so that it does not impede the fluid flow (Figure 21). The mass flux of the fluid is the rate of mass flow
per unit area. The mass flux is measured in mass per unit time per unit area. How could we calculate the mass flux of the fluid
across S ?
constant across S . To approximate the mass of fluid per unit time flowing across S (and not just locally at point P ), we
ij ij
⇀
need to multiply (ρ v ⋅ N)(P ) by the area of S . Therefore, the mass of fluid per unit time flowing across S in the direction
⇀
ij ij
⇀ ⇀ ⇀
of N can be approximated by (ρ v ⋅ N)ΔS where N, ρ and v are all evaluated at P (Figure 22). This is analogous to the
⇀
ij
⇀
⇀
flux of two-dimensional vector field F across plane curve C , in which we approximated flux across a small piece of C with
⇀ ⇀
the expression (F ⋅ N) Δs . To approximate the mass flux across S , form the sum
n
⇀
⇀
∑ m ∑(ρ v ⋅ N)ΔSij .
i=1 j=1
n
⇀
⇀
∑ m ∑(ρ v ⋅ N)ΔSij
i=1 j=1
gets arbitrarily close to the mass flux. Therefore, the mass flux is
m n
⇀ ⇀
⇀ ⇀
∬ ρ v ⋅ N dS = lim ∑ ∑(ρ v ⋅ N)ΔSij . (23)
m,n→∞
s
i=1 j=1
⇀
This is a surface integral of a vector field. Letting the vector field ρv
⇀
be an arbitrary vector field F leads to the following
definition.
24 9/5/2021 https://math.libretexts.org/@go/page/21060
⇀ ⇀
Figure 22: The mass of fluid per unit time flowing across S in the direction of N can be approximated by (ρ v ⋅ N)ΔS .
ij
⇀
ij
⇀ ⇀
Notice the parallel between this definition and the definition of vector line integral ∫ F ⋅ N dS . A surface integral of a vector
C
field is defined in a similar way to a flux line integral across a curve, except the domain of integration is a surface (a two-
⇀ ⇀ ⇀
dimensional object) rather than a curve (a one-dimensional object). Integral ∬ F ⋅ N dS is called the flux of F across S , just
S
⇀ ⇀ ⇀
as integral ∫ F ⋅ N dS is the flux of F across curve C . A surface integral over a vector field is also called a flux integral.
C
⇀ ⇀
Just as with vector line integrals, surface integral ∬ F ⋅ N dS is easier to compute after surface S has been parameterized.
S
⇀ ⇀
⇀ tu × tv
Let ⇀
r (u, v) be a parameterization of S with parameter domain D. Then, the unit normal vector is given by N = ⇀ ⇀
|| t u × t v ||
⇀ ⇀
⇀ tu × tv ⇀ ⇀
⇀
=∬ ( F( r (u, v)) ⋅ ) || t u × t v || dA
⇀ ⇀
D || t u × t v ||
⇀ ⇀ ⇀
⇀
=∬ (F( r (u, v)) ⋅ ( t u × t v )) dA.
D
Therefore, to compute a surface integral over a vector field we can use the equation
⇀ ⇀ ⇀ ⇀ ⇀
⇀
∬ F ⋅ N dS = ∬ (F( r (u, v)) ⋅ ( t u × t v )) dA. (25)
S D
25 9/5/2021 https://math.libretexts.org/@go/page/21060
Calculate the surface integral
⇀ ⇀
∬ F ⋅ N dS,
S
⇀
where F = ⟨−y, x, 0⟩ and S is the surface with parameterization
⇀ 2
r (u, v) = ⟨u, v − u, u + v⟩, 0 ≤ u ≤ 3, 0 ≤ v ≤ 4.
Solution
⇀ ⇀
The tangent vectors are t u = ⟨1, −1, 1⟩ and t v = ⟨0, 2v, 1⟩ . Therefore,
⇀ ⇀
t u × t v = ⟨−1 − 2v, −1, 2v⟩.
By Equation 25,
4 3
⇀ ⇀ ⇀
⇀
∬ F ⋅ dS =∫ ∫ F ( r (u, v)) ⋅ ( t u × t v ) du dv
S 0 0
4 3
2
=∫ ∫ ⟨u − v , u, 0⟩ ⋅ ⟨−1 − 2v, −1, 2v⟩ du dv
0 0
4 3
2
=∫ ∫ [(u − v )(−1 − 2v) − u] du dv
0 0
4 3
3 2
=∫ ∫ (2 v +v − 2uv − 2u) du dv
0 0
4
3
3 2 2 2
=∫ [2 v u + v u − vu − u ]∣
∣ dv
0
0
4
3 2
=∫ (6 v + 3v − 9v − 9) dv
0
4 2 4
3v 9v
3
= [ +v − − 9v]
2 2
0
= 340.
⇀
Therefore, the flux of F across S is 340.
Exercise 12
Calculate surface integral
⇀ ⇀
∬ F ⋅ N dS,
S
⇀
where F = ⟨0, −z, y⟩ and S is the portion of the unit sphere in the first octant with outward orientation.
Hint
Use Equation 25.
Answer
0
26 9/5/2021 https://math.libretexts.org/@go/page/21060
Let v (x, y, z) = ⟨2x, 2y, z⟩ represent a velocity field (with units of meters per second) of a fluid with constant density
⇀
80 kg/m3. Let S be hemisphere x + y + z = 9 with z ≤ 0 such that S is oriented outward. Find the mass flow rate of
2 2 2
⇀
As in Example, the tangent vectors are t = ⟨−3 θ sin θ sin ϕ, 3 cos θ sin ϕ, 0⟩ and
⇀
t ϕ = ⟨3 cos θ cos ϕ, 3 sin θ cos ϕ, −3 sin ϕ⟩, and their cross product is
⇀ ⇀
2 2
t ϕ × t θ = ⟨9 cos θ sin ϕ, 9 sin θ sin ϕ, 9 sin ϕ cos ϕ⟩. (27)
Notice that each component of the cross product is positive, and therefore this vector gives the outward orientation.
Therefore we use the orientation
⇀
2 2
N = ⟨9 cos θ sin ϕ, 9 sin θ sin ϕ, 9 sin ϕ cos ϕ⟩
2π π/2
2 2
= 80 ∫ ∫ ⟨6 cos θ sin ϕ, 6 sin θ sin ϕ, 3 cos ϕ⟩ ⋅ ⟨9 cos θ sin ϕ, 9 sin θ sin ϕ, 9 sin ϕ cos ϕ⟩ dϕ dθ
0 0
2π π/2
3 2
= 80 ∫ ∫ 54 sin ϕ + 27 cos ϕ sin ϕ dϕ dθ
0 0
2π π/2
2 2
= 80 ∫ ∫ 54(1 − cos ϕ) sin ϕ + 27 cos ϕ sin ϕ dϕ dθ
0 0
2π π/2
2
= 80 ∫ ∫ 54 sin ϕ − 27 cos ϕ sin ϕ dϕ dθ
0 0
2π ϕ=2π
3
= 80 ∫ [ − 54 cos ϕ + 9 cos ϕ] dθ
ϕ=0
0
2π
= 80 ∫ 45 dθ
0
= 7200π.
2
Therefore, the mass flow rate is 7200π kg/sec/m .
Exercise 13
Let v (x, y, z) = ⟨x + y , z, 4y⟩ m/sec represent a velocity field of a fluid with constant density 100 kg/m3. Let S be
⇀ 2 2
the half-cylinder r (u, v) = ⟨cos u, sin u, v⟩, 0 ≤ u ≤ π, 0 ≤ v ≤ 2 oriented outward. Calculate the mass flux of the
⇀
fluid across S .
Hint
Use \label{surfaceI}.
Answer
400 kg/sec/m
27 9/5/2021 https://math.libretexts.org/@go/page/21060
In Example 14, we computed the mass flux, which is the rate of mass flow per unit area. If we want to find the flow rate
(measured in volume per time) instead, we can use flux integral
⇀
⇀
∬ v ⋅ N dS, (28)
S
which leaves out the density. Since the flow rate of a fluid is measured in volume per unit time, flow rate does not take mass
into account. Therefore, we have the following characterization of the flow rate of a fluid with velocity v across a surface S :
⇀
⇀
Flow rate of fluid across S = ∬ v ⋅ dS.
S
To compute the flow rate of the fluid in Example, we simply remove the density constant, which gives a flow rate of
90π m /sec.
3
Both mass flux and flow rate are important in physics and engineering. Mass flux measures how much mass is flowing across
a surface; flow rate measures how much volume of fluid is flowing across a surface.
In addition to modeling fluid flow, surface integrals can be used to model heat flow. Suppose that the temperature at point
(x, y, z) in an object is T (x, y, z). Then the heat flow is a vector field proportional to the negative temperature gradient in the
object. To be precise, the heat flow is defined as vector field F = −k∇T , where the constant k is the thermal conductivity of
the substance from which the object is made (this constant is determined experimentally). The rate of heat flow across surface
S in the object is given by the flux integral
⇀ ⇀
∬ F ⋅ dS = ∬ −k∇T ⋅ dS. (29)
S S
containing the cylinder is T (x, y, z) = (x + y )z . Given that the thermal conductivity of cast iron is 55, find the heat
2 2
flow across the boundary of the solid if this boundary is oriented outward.
Solution
Let S denote the boundary of the object. To find the heat flow, we need to calculate flux integral
⇀
∬ −k∇T ⋅ dS. (30)
S
Notice that S is not a smooth surface but is piecewise smooth, since S is the union of three smooth surfaces (the circular
top and bottom, and the cylindrical side). Therefore, we calculate three separate integrals, one for each smooth piece of S .
⇀
Before calculating any integrals, note that the gradient of the temperature is ∇T = ⟨2xz, 2yz, x
2
+y ⟩
2
.
First we consider the circular bottom of the object, which we denote S . We can see that S is a circle of radius 1 centered
1 1
Therefore,
⇀ ⇀ ⇀ ⇀
t u = ⟨−v sin u, v cos u, 0⟩ and t v = ⟨cos u, v sin u, 0⟩ , and t u × t v = ⟨0, 0, −v sin
2
u − v cos
2
u⟩ = ⟨0, 0, −v⟩ .
Since the surface is oriented outward and S is the bottom of the object, it makes sense that this vector points downward.
1
28 9/5/2021 https://math.libretexts.org/@go/page/21060
2π 1
⇀ ⇀ ⇀ ⇀
∬ −k∇T ⋅ dS = −55 ∫ ∫ ∇T (u, v) ⋅ ( t u × t v ) dv du
S1 0 0
2π 1
2 2 2 2
= −55 ∫ ∫ ⟨2v cos u, 2v sin u, v cos u +v sin u⟩ ⋅ ⟨0, 0, −v⟩ dv du
0 0
2π 1
2
= −55 ∫ ∫ ⟨2v cos u, 2v sin u, v ⟩ ⋅ ⟨0, 0, −v⟩ dv du
0 0
2π 1
3
= −55 ∫ ∫ −v dv du
0 0
2π
1
= −55 ∫ − du
0 4
55π
= .
2
Now let’s consider the circular top of the object, which we denote S . We see that S is a circle of radius 1 centered at
2 2
point (0, 0, 4), sitting in plane z =4. This surface has parameterization
⇀
r (u, v) = ⟨v cos u, v sin u, 4⟩, 0 ≤ u < 2π, 0 ≤ v ≤ 1.
⇀ ⇀
Therefore, t u = ⟨−v sin u, v cos u, 0⟩ and t v = ⟨cos u, v sin u, 0⟩ , and
⇀ ⇀
t u × t v = ⟨0, 0, −v sin
2
u − v cos
2
u⟩ = ⟨0, 0, −v⟩ .
⇀ ⇀
Since the surface is oriented outward and S1 is the top of the object, we instead take vector t v × t u = ⟨0, 0, v⟩ . By
Equation, the heat flow across S is 1
2π 1
⇀ ⇀ ⇀ ⇀
∬ −k∇T ⋅ dS = −55 ∫ ∫ ∇T (u, v) ⋅ ( t u × t v ) dv du
S2 0 0
2π 1
2 2 2 2
= −55 ∫ ∫ ⟨8v cos u, 8v sin u, v cos u +v sin u⟩ ⋅ ⟨0, 0, −v⟩ dv du
0 0
2π 1
2
= −55 ∫ ∫ ⟨8v cos u, 8v sin u, v ⟩ ⋅ ⟨0, 0, −v⟩ dv du
0 0
2π 1 2π
3
1 55π
= −55 ∫ ∫ −v dv du = −55 ∫ − du = − .
0 0 0
4 2
Last, let’s consider the cylindrical side of the object. This surface has parameterization
⇀ ⇀
⇀
r (u, v) = ⟨cos u, sin u, v⟩, 0 ≤ u < 2π, 1 ≤ v ≤ 4 . By Example, we know that t × t u v = ⟨cos u, sin u, 0⟩ . By
Equation,
29 9/5/2021 https://math.libretexts.org/@go/page/21060
2π 4
⇀ ⇀ ⇀ ⇀
∬ −k∇T ⋅ dS = −55 ∫ ∫ ∇T (u, v) ⋅ ( t u × t v ) dv du
S3 0 1
2π 4
2 2
= −55 ∫ ∫ ⟨2v cos u, 2v sin u, cos u + sin u⟩ ⋅ ⟨cos u, sin u, 0⟩ dv du
0 1
2π 1
2
= −55 ∫ ∫ ⟨2v cos u, 2v sin u, 1⟩ ⋅ ⟨cos u, sin u, 0⟩ dv du
0 0
2π 1
2 2
= −55 ∫ ∫ (2v cos u + 2v sin u) dv du
0 0
2π 1
= −55 ∫ ∫ 2v dv du
0 0
2π
= −55 ∫ du
0
= −110π.
Exercise 14
A cast-iron solid ball is given by inequality x 2
+y
2
+z
2
≤1 . The temperature at a point in a region containing the ball
1
is T (x, y, z) =
2
(x +y
2 2
+z ) . Find the heat flow across the boundary of the solid if this boundary is oriented
3
outward.
Hint
Follow the steps of Example 15.
Answer
440π
−
3
Key Concepts
Surfaces can be parameterized, just as curves can be parameterized. In general, surfaces must be parameterized with two
parameters.
Surfaces can sometimes be oriented, just as curves can be oriented. Some surfaces, such as a Möbius strip, cannot be
oriented.
A surface integral is like a line integral in one higher dimension. The domain of integration of a surface integral is a surface
in a plane or space, rather than a curve in a plane or space.
The integrand of a surface integral can be a scalar function or a vector field. To calculate a surface integral with an
integrand that is a function, use Equation. To calculate a surface integral with an integrand that is a vector field, use
Equation.
If S is a surface, then the area of S is
∬ dS. (31)
S
30 9/5/2021 https://math.libretexts.org/@go/page/21060
Key Equations
Scalar surface integral
⇀ ⇀ ⇀
∬ f (x, y, z) dS = ∬ f ( r (u, v))|| t u × t v || dA
S D
Flux integral
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
⇀
∬ F ⋅ N dS = ∬ F ⋅ dS = ∬ F( r (u, v)) ⋅ ( t u × t v ) dA
S S D
Glossary
flux integral
another name for a surface integral of a vector field; the preferred term in physics and engineering
grid curves
curves on a surface that are parallel to grid lines in a coordinate plane
heat flow
a vector field proportional to the negative temperature gradient in an object
mass flux
the rate of mass flow of a fluid per unit area, measured in mass per unit time per unit area
orientation of a surface
if a surface has an “inner” side and an “outer” side, then an orientation is a choice of the inner or the outer side; the surface
could also have “upward” and “downward” orientations
regular parameterization
parameterization r (u, v) = ⟨x(u, v),
⇀
y(u, v), z(u, v)⟩ such that r u × rv is not zero for point (u, v) in the parameter
domain
surface area
the area of surface S given by the surface integral
∬ dS (32)
S
surface integral
an integral of a function over a surface
31 9/5/2021 https://math.libretexts.org/@go/page/21060
Contributors and Attributions
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax
is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
32 9/5/2021 https://math.libretexts.org/@go/page/21060
The Divergence Theorem
Learning Objectives
Explain the meaning of the divergence theorem.
Use the divergence theorem to calculate the flux of a vector field.
Apply the divergence theorem to an electrostatic field.
We have examined several versions of the Fundamental Theorem of Calculus in higher dimensions that relate the integral
around an oriented boundary of a domain to a “derivative” of that entity on the oriented domain. In this section, we state the
divergence theorem, which is the final theorem of this type that we will study. The divergence theorem has many uses in
physics; in particular, the divergence theorem is used in the field of partial differential equations to derive equations modeling
heat flow and conservation of mass. We use the theorem to calculate flux integrals and apply it to electrostatic fields.
Overview of Theorems
Before examining the divergence theorem, it is helpful to begin with an overview of the versions of the Fundamental
Theorem of Calculus we have discussed:
1. The Fundamental Theorem of Calculus:
b
′
∫ f (x) dx = f (b) − f (a). (1)
a
This theorem relates the integral of derivative f over line segment [a, b] along the x-axis to a difference of f
′
where P is the initial point of C and P is the terminal point of C . The Fundamental Theorem for Line Integrals
0 1
allows path C to be a path in a plane or in space, not just a line segment on the x-axis. If we think of the gradient as a
derivative, then this theorem relates an integral of derivative ∇f over path C to a difference of f evaluated on the
boundary of C .
3. Green’s theorem, circulation form:
⇀
⇀
∬ (Qx − Py ) dA = ∫ F⋅ dr. (3)
D C
⇀ ⇀
Since Q − P = curl F ⋅ k
x y
^
and curl is a derivative of sorts, Green’s theorem relates the integral of derivative curl F
⇀
over planar region D to an integral of F over the boundary of D.
4. Green’s theorem, flux form:
⇀ ⇀
∬ (Px + Qy ) dA = ∫ F ⋅ N dS. (4)
D C
⇀
Since P x + Qy = div F and divergence is a derivative of sorts, the flux form of Green’s theorem relates the integral
⇀ ⇀
of derivative div F over planar region D to an integral of F over the boundary of D.
5. Stokes’ theorem:
⇀ ⇀ ⇀
⇀
∬ curl F ⋅ d S = ∫ F⋅ dr. (5)
S C
⇀
If we think of the curl as a derivative of sorts, then Stokes’ theorem relates the integral of derivative curl F over
⇀
surface S (not necessarily planar) to an integral of F over the boundary of S .
1 9/5/2021 https://math.libretexts.org/@go/page/21062
Stating the Divergence Theorem
The divergence theorem follows the general pattern of these other theorems. If we think of divergence as a derivative of sorts,
⇀ ⇀
then the divergence theorem relates a triple integral of derivative div F over a solid to a flux integral of F over the boundary
⇀
of the solid. More specifically, the divergence theorem relates a flux integral of vector field F over a closed surface S to a
⇀
triple integral of the divergence of F over the solid enclosed by S .
Figure 1: The divergence theorem relates a flux integral across a closed surface S to a triple integral over solid E
Therefore, the divergence theorem is a version of Green’s theorem in one higher dimension.
The proof of the divergence theorem is beyond the scope of this text. However, we look at an informal proof that gives a
general feel for why the theorem is true, but does not prove the theorem with full rigor. This explanation follows the informal
explanation given for why Stokes’ theorem is true.
Proof
Let B be a small box with sides parallel to the coordinate planes inside E (Figure 2a). Let the center of B have
coordinates (x, y, z) and suppose the edge lengths are Δx, Δy, and Δz. (Figure 1b). The normal vector out of the top of
⇀
the box is k
^
and the normal vector out of the bottom of the box is −k
^
. The dot product of F = ⟨P , Q, R⟩ with k
^
is R and
the dot product with −k is −R. The area of the top of the box (and the bottom of the box) ΔS is ΔxΔy.
^
2 9/5/2021 https://math.libretexts.org/@go/page/21062
Figure 2: (a) A small box B inside surface E has sides parallel to the coordinate planes. (b) Box B has side lengths
Δx, Δy , and Δz (c) If we look at the side view of B , we see that, since (x, y, z) is the center of the box, to get to the top
of the box we must travel a vertical distance of Δz up from (x, y, z). Similarly, to get to the bottom of the box we must
travel a distance Δz down from (x, y, z).
The flux out of the top of the box can be approximated by R (x, y, z +
Δz
2
) Δx Δy (Figure 2c) and the flux out of the
bottom of the box is −R (x, y, z −
Δz
2
) Δx Δy . If we denote the difference between these values as ΔR, then the net
flux in the vertical direction can be approximated by ΔR Δx Δy. However,
ΔR ∂R
ΔR Δx Δy = ( ) Δx ΔyΔz ≈ ( ) ΔV .
Δz ∂z
∂z
) ΔV . Similarly, the net flux in the x -
∂Q
direction can be approximated by (
∂P
∂x
) ΔV and the net flux in the y -direction can be approximated by (
∂y
) ΔV .
Adding the fluxes in all three directions gives an approximation of the total flux out of the box:
∂P ∂Q ∂R ⇀
Total flux ≈ ( + + ) ΔV = div F ΔV .
∂x ∂y ∂z
This approximation becomes arbitrarily close to the value of the total flux as the volume of the box shrinks to zero.
⇀ ⇀
The sum of div F ΔV over all the small boxes approximating E is approximately ∭ E
div F dV . On the other hand, the
⇀
sum of div F ΔV over all the small boxes approximating E is the sum of the fluxes over all these boxes. Just as in the
informal proof of Stokes’ theorem, adding these fluxes over all the boxes results in the cancelation of a lot of the terms. If
an approximating box shares a face with another approximating box, then the flux over one face is the negative of the flux
over the shared face of the adjacent box. These two integrals cancel out. When adding up all the fluxes, the only flux
integrals that survive are the integrals over the faces approximating the boundary of E . As the volumes of the
approximating boxes shrink to zero, this approximation becomes arbitrarily close to the flux over S .
□
oriented.
3 9/5/2021 https://math.libretexts.org/@go/page/21062
Solution
Let E be the solid cone enclosed by S . To verify the theorem for this example, we show that
⇀ ⇀ ⇀
∭ div F dV = ∬ F ⋅ dS
E S
= 2 (volume of E).
3
. In this case, h = r = 1 . Therefore,
⇀ 2π
∭ div F dV = 2 (volume of E) = .
E 3
To compute the flux integral, first note that S is piecewise smooth; S can be written as a union of smooth surfaces.
Therefore, we break the flux integral into two pieces: one flux integral across the circular top of the cone and one flux
integral across the remaining portion of the cone. Call the circular top S and the portion under the top S . We start by
1 2
calculating the flux across the circular top of the cone. Notice that S has parameterization 1
⇀
r (u, v) = ⟨u cos v, u sin v, 1⟩, 0 ≤ u ≤ 1, 0 ≤ v ≤ 2π.
⇀ ⇀
Then, the tangent vectors are t u = ⟨cos v, sin v, 0⟩ and t v = ⟨−u sin v, u cos v, 0⟩ . Therefore, the flux across S is
1
1 2π
⇀ ⇀ ⇀ ⇀ ⇀
⇀
∬ F ⋅ dS =∫ ∫ F( r (u, v)) ⋅ ( t u × t v ) dA
S1 0 0
1 2π
1 2π
2
=∫ ∫ u −u sin v dvdu
0 0
= π.
4 9/5/2021 https://math.libretexts.org/@go/page/21062
We now calculate the flux over S . A parameterization of this surface is
2
⇀
r (u, v) = ⟨u cos v, u sin v, u⟩, 0 ≤ u ≤ 1, 0 ≤ v ≤ 2π.
⇀ ⇀
The tangent vectors are t u = ⟨cos v, sin v, 1⟩ and t v = ⟨−u sin v, u cos v, 0⟩ , so the cross product is
⇀ ⇀
t u × t v = ⟨−u cos v, −u sin v, u⟩.
Notice that the negative signs on the x and y components induce the negative (or inward) orientation of the cone. Since
⇀ ⇀
the surface is positively oriented, we use vector t × t = ⟨u cos v, u sin v, −u⟩ in the flux integral. The flux across
v u
S is then
2
1 2π
⇀ ⇀ ⇀ ⇀ ⇀
⇀
∬ F ⋅ dS =∫ ∫ F( r (u, v)) ⋅ ( t u × t v ) dA
S2 0 0
1 2π
1 2π
2 2 2 2
=∫ ∫ u cos v + 2u sin v − u dv du
0 0
π
=−
3
Exercise 1
⇀
Verify the divergence theorem for vector field F(x, y, z) = ⟨x + y + z, y, 2x − y⟩ and surface S given by the cylinder
x + y = 1, 0 ≤ z ≤ 3 plus the circular top and bottom of the cylinder. Assume that S is positively oriented.
2 2
Hint
Calculate both the flux integral and the triple integral with the divergence theorem and verify they are equal.
Answer
Both integrals equal 6π.
⇀ ⇀
Recall that the divergence of continuous field F at point P is a measure of the “outflowing-ness” of the field at P . If F
represents the velocity field of a fluid, then the divergence can be thought of as the rate per unit volume of the fluid flowing
out less the rate per unit volume flowing in. The divergence theorem confirms this interpretation. To see this, let P be a point
and let B be a ball of small radius r centered at P (Figure 3). Let S be the boundary sphere of B . Since the radius is small
τ τ τ
⇀ ⇀ ⇀
and F is continuous, div F(Q) ≈ div F(P ) for all other points Q in the ball. Therefore, the flux across S can be τ
Therefore, flux
5 9/5/2021 https://math.libretexts.org/@go/page/21062
⇀ ⇀
∬ F ⋅ dS (8)
Sτ
⇀
can be approximated by F(P ) V (B ). This approximation gets better as the radius shrinks to zero, and therefore
τ
⇀ 1 ⇀ ⇀
div F(P ) = lim ∬ F ⋅ dS.
τ→0 V (Bτ ) Sτ
This equation says that the divergence at P is the net rate of outward flux of the fluid per unit volume.
by translating the flux integral into a triple integral and vice versa.
where S is cylinder x
2
+y
2
= 1, 0 ≤ z ≤ 2 , including the circular top and bottom, and
3
⇀ 3 y
F =⟨
x
3
+ yz,
3
− sin(xz), z − x − y⟩ .
Solution
We could calculate this integral without the divergence theorem, but the calculation is not straightforward because we
would have to break the flux integral into three separate integrals: one for the top of the cylinder, one for the bottom, and
one for the side. Furthermore, each integral would require parameterizing the corresponding surface, calculating tangent
vectors and their cross product..
By contrast, the divergence theorem allows us to calculate the single triple integral
⇀
∭ div F dV ,
E
where E is the solid enclosed by the cylinder. Using the divergence theorem (Equation 6) and converting to cylindrical
coordinates, we have
6 9/5/2021 https://math.libretexts.org/@go/page/21062
⇀ ⇀ ⇀
∬ F ⋅ dS = ∭ div F dV ,
S E
2 2
=∭ (x +y + 1) dV
E
2π 1 2
2
=∫ ∫ ∫ (r + 1) r dz dr dθ
0 0 0
2π
3
= ∫ dθ
2 0
= 3π.
Exercise 2
Use the divergence theorem to calculate flux integral
⇀ ⇀
∬ F ⋅ dS,
S
Hint
Calculate the corresponding triple integral.
Answer
40
z
, 0⟩ be the velocity field of a fluid. Let C be the solid cube given by
1 ≤ x ≤ 4, 2 ≤ y ≤ 5, 1 ≤ z ≤ 4 , and let S be the boundary of this cube (see the following figure). Find the flow rate
of the fluid across S .
7 9/5/2021 https://math.libretexts.org/@go/page/21062
y
Figure 4: Vector field .
⇀ x
v = ⟨− , , 0⟩
z z
Solution
⇀
The flow rate of the fluid across S is ∬ v ⋅ d S . Before calculating this flux integral, let’s discuss what the value of the
S
⇀
integral should be. Based on Figure 4, we see that if we place this cube in the fluid (as long as the cube doesn’t
encompass the origin), then the rate of fluid entering the cube is the same as the rate of fluid exiting the cube. The field is
rotational in nature and, for a given circle parallel to the xy-plane that has a center on the z-axis, the vectors along that
circle are all the same magnitude. That is how we can see that the flow rate is the same entering and exiting the cube. The
flow into the cube cancels with the flow out of the cube, and therefore the flow rate of the fluid across the cube should be
zero.
To verify this intuition, we need to calculate the flux integral. Calculating the flux integral directly requires breaking the
flux integral into six separate flux integrals, one for each face of the cube. We also need to find tangent vectors, compute
their cross product. However, using the divergence theorem makes this calculation go much more quickly:
⇀
⇀ ⇀
∬ v ⋅ dS = ∭ div v dV
S C
=∭ 0 dV = 0.
C
Exercise 3
y
Let v = ⟨ , , 0⟩ be the velocity field of a fluid. Let C be the solid cube given by 1 ≤ x ≤ 4, 2 ≤ y ≤ 5,
⇀ x
z z
1 ≤z ≤4 ,
and let S be the boundary of this cube (see the following figure). Find the flow rate of the fluid across S .
8 9/5/2021 https://math.libretexts.org/@go/page/21062
Hint
Use the divergence theorem and calculate a triple integral
Answer
9 ln(16)
Example illustrates a remarkable consequence of the divergence theorem. Let S be a piecewise, smooth closed surface and let
⇀ ⇀
F be a vector field defined on an open region containing the surface enclosed by S . If F has the form
⇀ ⇀
, then the divergence of F is zero. By the divergence theorem, the flux of F across S is also
F = ⟨f (y, z), g(x, z), h(x, y)⟩
zero. This makes certain flux integrals incredibly easy to calculate. For example, suppose we wanted to calculate the flux
⇀ ⇀
integral ∬ F ⋅ d S where S is a cube and
S
⇀
yz 2 2 sin x
F = ⟨sin(y) e , x z , cos(xy) e ⟩. (9)
Calculating the flux integral directly would be difficult, if not impossible, using techniques we studied previously. At the very
least, we would have to break the flux integral into six integrals, one for each face of the cube. But, because the divergence of
this field is zero, the divergence theorem immediately shows that the flux integral is zero.
We can now use the divergence theorem to justify the physical interpretation of divergence that we discussed earlier. Recall
⇀ ⇀ ⇀
that if F is a continuous three-dimensional vector field and P is a point in the domain of F, then the divergence of F at P is a
⇀ ⇀ ⇀
measure of the “outflowing-ness” of F at P . If F represents the velocity field of a fluid, then the divergence of F at P is a
measure of the net flow rate out of point P (the flow of fluid out of P less the flow of fluid in to P ). To see how the
divergence theorem justifies this interpretation, let B be a ball of very small radius r with center P , and assume that B is in
τ τ
⇀ ⇀
the domain of F. Furthermore, assume that B has a positive, outward orientation. Since the radius of B is small and F is
τ τ
⇀
continuous, the divergence of F is approximately constant on B . That is, ifv P is any point in B , then
τ
′
τ
⇀ ⇀
div F(P ) ≈ div F(P ) . Let S denote the boundary sphere of B . We can approximate the flux across S using the
′
τ τ τ
9 9/5/2021 https://math.libretexts.org/@go/page/21062
⇀ ⇀ ⇀
∬ F ⋅ dS = ∭ div F dV
Sτ Bτ
⇀
≈∭ div F(P ) dV
Bτ
⇀
= div F(P ) V (Bτ ).
⇀
As we shrink the radius r to zero via a limit, the quantity div F(P ) V (B τ ) gets arbitrarily close to the flux. Therefore,
⇀ 1 ⇀ ⇀
div F(P ) = lim ∬ F ⋅ dS (10)
τ→0 V (Bτ ) Sτ
and we can consider the divergence at P as measuring the net rate of outward flux per unit volume at P . Since “outflowing-
ness” is an informal term for the net rate of outward flux per unit volume, we have justified the physical interpretation of
divergence we discussed earlier, and we have used the divergence theorem to give this justification.
where the approximation ϵ = 8.854 × 10 farad (F)/m is an electric constant. (The constant ϵ is a measure of the
0
−12
0
⇀
resistance encountered when forming an electric field in a vacuum.) Notice that E is a radial vector field similar to the
gravitational field described in [link]. The difference is that this field points outward whereas the gravitational field points
inward. Because
⇀ q ⇀ q 1 x y z
E = Fτ = ( ⟨ , , ⟩) , (12)
2
4πϵ0 4πϵ0 τ τ τ τ
we say that electrostatic fields obey an inverse-square law. That is, the electrostatic force at a given point is inversely
proportional to the square of the distance from the source of the charge (which in this case is at the origin). Given this vector
field, we show that the flux across closed surface S is zero if the charge is outside of S , and that the flux is q/epsilon if the 0
charge is inside of S . In other words, the flux across S is the charge inside the surface divided by constant ϵ . This is a special 0
case of Gauss’ law, and here we use the divergence theorem to justify this special case.
To show that the flux across S is the charge inside the surface divided by constant ϵ , we need two intermediate steps. First we 0
⇀ ⇀
show that the divergence of F is zero and then we show that the flux of F across any smooth surface S is either zero or 4π.
τ τ
10 9/5/2021 https://math.libretexts.org/@go/page/21062
Example 4 : The Divergence of F is Zero τ
⇀ ⇀
Verify that the divergence of F is zero where F is defined (away from the origin).
τ τ
Solution
−−−−−−−−− −
Since τ 2 2
= √x + y + z
2
, the quotient rule gives us
∂ x ∂ x
( ) = ( )
3 2 2 2 3/2
∂x τ ∂x (x +y +z )
3
2 2 2 3/2 2 2 2 1/2
(x +y +z ) −x [ (x +y +z ) 2x]
2
=
2 2 2 3
(x +y +z )
3 2 2 2
τ − 3x τ τ − 3x
= = .
6 5
τ τ
Similarly,
2 2 2 2
∂ y τ − 3y ∂ z τ − 3z
( ) = and ( ) = .
3 5 3 5
∂y τ τ ∂z τ τ
Therefore,
2 2 2 2 2 2
⇀ τ − 3x τ − 3y τ − 3z
div Fτ = + +
5 5 5
τ τ τ
2 2 2 2
3τ − 3(x +y +z )
=
5
τ
2 2
3τ − 3τ
= = 0.
5
τ
⇀ ⇀ ⇀ ⇀
Notice that since the divergence of F is zero and E is F scaled by a constant, the divergence of electrostatic field E is also
τ τ
⇀
In other words, this theorem says that the flux of F across any piecewise smooth closed surface S depends only on whether
τ
Proof
The logic of this proof follows the logic of [link], only we use the divergence theorem rather than Green’s theorem.
⇀
First, suppose that S does not encompass the origin. In this case, the solid enclosed by S is in the domain of Fτ , and
⇀
since the divergence of F is zero, we can immediately apply the divergence theorem and find that
τ
⇀ ⇀
∬ F ⋅ dS (14)
S
is zero.
11 9/5/2021 https://math.libretexts.org/@go/page/21062
Now suppose that S does encompass the origin. We cannot just use the divergence theorem to calculate the flux, because
the field is not defined at the origin. Let S be a sphere of radius a inside of S centered at the origin. The outward normal
a
⇀ ⇀
(see [link]). Therefore, on the surface of the sphere, the dot product F τ ⋅N (in spherical coordinates) is
= sin ϕ(⟨sin ϕ cos θ, sin ϕ sin θ, cos ϕ⟩ ⋅ ⟨sin ϕ cos θ, sin ϕ sin θ, cos ϕ⟩)
= sin ϕ.
⇀
The flux of F across S is
τ a
2π π
⇀ ⇀
∬ Fτ ⋅ NdS = ∫ ∫ sin ϕ dϕ dθ = 4π. (16)
Sa 0 0
Now, remember that we are interested in the flux across S , not necessarily the flux across S . To calculate the flux across a
S , let E be the solid between surfaces S and S . Then, the boundary of E consists of S and S . Denote this boundary by
a a
S −S a to indicate that S is oriented outward but now S is oriented inward. We would like to apply the divergence
a
theorem to solid E . Notice that the divergence theorem, as stated, can’t handle a solid such as E because E has a hole.
However, the divergence theorem can be extended to handle solids with holes, just as Green’s theorem can be extended to
handle regions with holes. This allows us to use the divergence theorem in the following way. By the divergence theorem,
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
∬ Fτ ⋅ d S =∬ Fτ ⋅ d S − ∬ Fτ ⋅ d S
S−Sa S Sa
⇀
=∭ div Fτ dV
E
=∭ 0 dV = 0.
E
Therefore,
⇀ ⇀ ⇀ ⇀
∬ Fτ ⋅ d S = ∬ Fτ ⋅ d S = 4π,
S Sa
⇀ q ⇀
Now we return to calculating the flux across a smooth surface in the context of electrostatic field E = Fτ of a point
4πϵ0
charge at the origin. Let S be a piecewise smooth closed surface that encompasses the origin. Then
⇀ ⇀ q ⇀ ⇀
∬ E ⋅ dS = ∬ Fτ ⋅ d S
S S
4πϵ0
q ⇀ ⇀
= ∬ Fτ ⋅ d S
4πϵ0 S
q
= .
ϵ0
12 9/5/2021 https://math.libretexts.org/@go/page/21062
Therefore, we have justified the claim that we set out to justify: the flux across closed surface S is zero if the charge is outside
of S , and the flux is q/ϵ if the charge is inside of S .
0
⇀
This analysis works only if there is a single point charge at the origin. In this case, Gauss’ law says that the flux of E across S
is the total charge enclosed by S . Gauss’ law can be extended to handle multiple charged solids in space, not just a single point
charge at the origin. The logic is similar to the previous analysis, but beyond the scope of this text. In full generality, Gauss’
⇀
law states that if S is a piecewise smooth closed surface and Q is the total amount of charge inside of S , then the flux of E
across S is Q/ϵ .
0
⇀ ⇀
∬ E ⋅ dS.
S
Solution
⇀
According to Gauss’ law, the flux of E across S is the total charge inside of S divided by the electric constant. Since S
has radius 2, notice that only two of the charges are inside of S : the charge at 0, 1, 1) and the charge at (−1, 0, 0).
Therefore, the total charge encompassed by S is 0.004 and, by Gauss’ law,
⇀ ⇀ 0.004 9
∬ E ⋅ dS = ≈ 4.418 × 10 V − m.
−12
S 8.854 × 10
Exercise 4
Work the previous example for surface S that is a sphere of radius 4 centered at the origin, oriented outward.
Hint
Use Gauss’ law.
Answer
9
≈ 6.777 × 10
Key Concepts
The divergence theorem relates a surface integral across closed surface S to a triple integral over the solid enclosed by S .
The divergence theorem is a higher dimensional version of the flux form of Green’s theorem, and is therefore a higher
dimensional version of the Fundamental Theorem of Calculus.
The divergence theorem can be used to transform a difficult flux integral into an easier triple integral and vice versa.
The divergence theorem can be used to derive Gauss’ law, a fundamental law in electrostatics.
Key Equations
Divergence theorem
⇀ ⇀ ⇀
∭ div F dV = ∬ F ⋅ dS
E S
Glossary
divergence theorem
a theorem used to transform a difficult flux integral into an easier triple integral and vice versa
13 9/5/2021 https://math.libretexts.org/@go/page/21062
Gauss’ law
if S is a piecewise, smooth closed surface in a vacuum and Q is the total stationary charge inside of S , then the flux of
⇀
electrostatic field E across S is Q/ϵ 0
inverse-square law
the electrostatic force at a given point is inversely proportional to the square of the distance from the source of the charge
14 9/5/2021 https://math.libretexts.org/@go/page/21062
Vector Calculus (Exercises)
Answer:
Vectors
Answer:
False
⇀ ⟨y, x⟩
4. Vector field F = is neither a radial field nor a rotation field.
√ x2 + y2
For exercises 5 - 13, describe each vector field by drawing some of its vectors.
⇀
5. [T] F(x, y) = x î + y ĵ
Answer:
⇀
6. [T] F(x, y) = − y î + x ĵ
⇀
7. [T] F(x, y) = x î − y ĵ
Answer:
⇀
8. [T] F(x, y) = î + ĵ
⇀
9. [T] F(x, y) = 2x î + 3y ĵ
Answer:
⇀
10. [T] F(x, y) = 3 î + x ĵ
⇀
11. [T] F(x, y) = y î + sinx ĵ
Answer:
Answer:
⇀
14. [T] F(x, y, z) = yz î − xz ĵ
For exercises 15 - 20, find the gradient vector field of each function f.
15. f(x, y) = xsiny + cosy
Answer:
⇀
F(x, y) = sin(y) î + (xcosy − siny) ĵ
16. f(x, y, z) = ze − xy
17. f(x, y, z) = x 2y + xy + y 2z
Answer:
⇀
F(x, y, z) = (2xy + y) î + (x 2 + x + 2yz) ĵ + y 2 k̂
⇀
21. What is vector field F(x, y) with a value at (x, y) that is of unit length and points toward (1, 0)?
Answer:
⇀ (1 − x) î − y ĵ
F(x, y) =
√(1 − x)2 + y2
For exercises 22 - 24, write formulas for the vector fields with the given properties.
22. All vectors are parallel to the x-axis and all vectors on a vertical line have the same magnitude.
23. All vectors point toward the origin and have constant length.
Answer:
⇀ (y î − x ĵ)
F(x, y) =
√x 2 + y 2
24. All vectors are of unit length and are perpendicular to the position vector at that point.
⇀ ⇀ ⇀
25. Give a formula F(x, y) = M(x, y) î + N(x, y) ĵ for the vector field in a plane that has the properties that F = 0 at (0, 0) and
⇀
that at any other point (a, b), F is tangent to circle x 2 + y 2 = a 2 + b 2 and points in the clockwise direction with magnitude
⇀
‖ F‖ = √a 2 + b 2 .
Answer:
⇀
F(x, y) = y î − x ĵ
⇀
26. Is vector field F(x, y) = (P(x, y), Q(x, y)) = (sinx + y) î + (cosy + x) ĵ a gradient field?
⇀ ⇀
27. Find a formula for vector field F(x, y) = M(x, y) î + N(x, y) ĵ given the fact that for all points (x, y), F points toward the
⇀ 10
origin and ‖ F‖ = 2 .
x + y2
Answer:
⇀ − 10
F(x, y) = (x î + y ĵ)
(x + y 2) 3 / 2
2
√x 2 + y 2
, where c > 0 is a constant and r 0 is a reference distance
⇀ ⇀
28. Find the components of the electric field in the x- and y-directions, where E(x, y) = − ∇ V(x, y).
⇀ c
29. Show that the electric field at a point in the xy-plane is directed outward from the origin and has magnitude ‖ E‖ = ,
r
where r = √x 2 + y 2 .
Answer:
⇀ c c r
‖ E‖ = r=
|r|2 |r| |r|
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
A flow line (or streamline) of a vector field F is a curve r (t) such that d r / dt = F( r (t)). If F represents the velocity field of a
moving particle, then the flow lines are paths taken by the particle. Therefore, flow lines are tangent to the vector field.
⇀ ⇀
For exercises 30 and 31, show that the given curve c (t) is a flow line of the given velocity vector field F(x, y, z).
⇀ 1 ⇀
30. c (t) = ⟨e 2t, ln | t | , t ⟩, t ≠ 0; F(x, y, z) = ⟨2x, z, − z 2⟩
⇀ ⇀
31. c (t) = ⟨sint, cost, e t⟩; F(x, y, z) = y, − x, z
Answer:
⇀ ⇀ ⇀
c ′ (t) = ⟨cost, − sint, e − t⟩ = F( c (t))
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
For exercises 32 - 34, let F = x î + y ĵ, G = − y î + x ĵ, and H = x î − y ĵ. Match F, G, and H with their graphs.
32.
33.
Answer:
⇀
H
34.
⇀ ⇀ ⇀
For exercises 35 - 38, let F = x î + y ĵ, G = − y î + x ĵ, and H = − x î + y ĵ. Match the vector fields with their graphs in
(I)−(IV).
⇀ ⇀
a. F + G
Answer:
⇀ ⇀
d. − F + G
36.
37.
Answer:
⇀ ⇀
a. F + G
38.
Answer:
True
⇀ ⇀
2. True or False? Vector functions r 1 = t î + t 2 ĵ, 0 ≤ t ≤ 1, and r 2 = (1 − t) î + (1 − t) 2 ĵ, 0 ≤ t ≤ 1, define the
same oriented curve.
4. True or False? A piecewise smooth curve C consists of a finite number of smooth curves that are joined together end
to end.
1
5. True or False? If C is given by x(t) = t, y(t) = t, 0 ≤ t ≤ 1, then ∫ Cxy ds = ∫ 0 t 2 dt.
Answer:
False
For the following exercises, use a computer algebra system (CAS) to evaluate the line integrals over the indicated path.
6. [T] ∫ C(x + y) ds
Answer:
∫ C(x − y) ds = 10
8. [T] ∫ C(x 2 + y 2 + z 2) ds
⇀ π
C : r (t) = sint î + cost ĵ + 8t k̂ when 0 ≤ t ≤
2
9. [T] Evaluate ∫ C xy 4 ds, where C is the right half of circle x 2 + y 2 = 16 and is traversed in the clockwise direction.
Answer:
8192
∫ Cxy 4 ds = 5
10. [T] Evaluate ∫ C4x 3ds, where C is the line segment from ( − 2, − 1) to (1, 2).
Answer:
12. Find the work done by a person weighing 150 lb walking exactly one revolution up a circular, spiral staircase of
radius 3 ft if the person rises 10 ft.
⇀ 1 1 1
13. Find the work done by force field F(x, y, z) = − x î − y ĵ + k̂ on a particle as it moves along the helix
2 2 4
⇀
r (t) = cost î + sint ĵ + t k̂ from point (1, 0, 0) to point ( − 1, 0, 3π).
Answer:
3π
W= 4 units of work
⇀
14. Find the work done by vector field F(x, y) = y î + 2x ĵ in moving an object along path C, which joins points (1, 0)
and (0, 1).
⇀
15. Find the work done by force F(x, y) = 2y î + 3x ĵ + (x + y) k̂ in moving an object along curve
⇀
r (t) = cos(t) î + sin(t) ĵ + 16 k̂, where 0 ≤ t ≤ 2π.
Answer:
W = π units of work
16. Find the mass of a wire in the shape of a circle of radius 2 centered at (3, 4) with linear mass density ρ(x, y) = y 2.
For the following exercises, evaluate the line integrals.
⇀ ⇀ ⇀
17. Evaluate ∫ C F · d r , where F(x, y) = − 1 ĵ, and C is the part of the graph of y = 12x 3 − x from (2, 2) to ( − 2, − 2).
Answer:
⇀ ⇀
∫C F · d r =4
19. Evaluate ∫ Cyz dx + xz dy + xy dz over the line segment from (1, 1, 1) to (3, 2, 0).
Answer:
∫ Cyz dx + xz dy + xy dz = −1
20. Let C be the line segment from point (0, 1, 1) to point (2, 2, 3). Evaluate line integral ∫ Cy ds.
21. [T] Use a computer algebra system to evaluate the line integral ∫ Cy 2 dx + x dy, where C is the arc of the parabola
x = 4 − y 2 from ( − 5, − 3) to (0, 2).
Answer:
245
∫ C(y 2) dx + (x) dy = 6
22. [T] Use a computer algebra system to evaluate the line integral ∫ C(x + 3y 2) dy over the path C given by
x = 2t, y = 10t, where 0 ≤ t ≤ 1.
23. [T] Use a CAS to evaluate line integral ∫ Cxy dx + y dy over path C given by x = 2t, y = 10t, where 0 ≤ t ≤ 1.
24. Evaluate line integral ∫ C(2x − y) dx + (x + 3y) dy, where C lies along the x-axis from x = 0 to x = 5.
y
26. [T] Use a CAS to evaluate ∫ C ds, where C is defined by the parametric equations x = t, y = t, for 1 ≤ t ≤ 5.
2x 2 − y 2
Answer:
y
∫ C 2x 2 − y 2 ds = √2ln5
27. [T] Use a CAS to evaluate ∫ Cxy ds, where C is defined by the parametric equations x = t 2, y = 4t, for 0 ≤ t ≤ 1.
⇀
In the following exercises, find the work done by force field F on an object moving along the indicated path.
⇀
28. F(x, y) = − x î − 2y ĵ
Answer:
W = − 66 units of work
⇀
29. F(x, y) = 2x î + y ĵ
<C: counterclockwise around the triangle with vertices (0, 0), (1, 0), and (1, 1)
⇀
30. F(x, y, z) = x î + y ĵ − 5z k̂
⇀
C : r (t) = 2cost î + 2sint ĵ + t k̂, 0 ≤ t ≤ 2π
Answer:
W = − 10π 2 units of work
⇀ ⇀ ⇀ ⇀
31. Let F be vector field F(x, y) = (y 2 + 2xe y + 1) î + (2xy + x 2e y + 2y) ĵ. Compute the work of integral ∫ C F · d r ,
⇀ π
where C is the path r (t) = sint î + cost ĵ, 0≤t≤ .
2
⇀ ⇀
32. Compute the work done by force F(x, y, z) = 2x î + 3y ĵ − z k̂ along path r (t) = t î + t 2 ĵ + t 3 k̂,where 0 ≤ t ≤ 1.
Answer:
W = 2 units of work
⇀ ⇀ ⇀ 1 1
33. Evaluate ∫ C F · d r , where F(x, y) = î + ĵ and C is the segment of the unit circle going counterclockwise
x+y x+y
from (1, 0) to (0, 1).
⇀
34. Force F(x, y, z) = zy î + x ĵ + z 2x k̂ acts on a particle that travels from the origin to point (1, 2, 3). Calculate the work
done if the particle travels:
a. along the path (0, 0, 0) → (1, 0, 0) → (1, 2, 0) → (1, 2, 3) along straight-line segments joining each pair of
endpoints;
Answer:
a. W = 11 units of work;
b. W = 11 units of work;
c. Yes
⇀
35. Find the work done by vector field F(x, y, z) = x î + 3xy ĵ − (x + z) k̂ on a particle moving along a line segment that
goes from (1, 4, 2) to (0, 5, 1).
⇀
36. How much work is required to move an object in vector field F(x, y) = y î + 3x ĵ along the upper part of ellipse
x2
+ y 2 = 1 from (2, 0) to ( − 2, 0)?
4
Answer:
W = 2π units of work
⇀
37. A vector field is given by F(x, y) = (2x + 3y) î + (3x + 2y) ĵ. Evaluate the line integral of the field around a circle of
unit radius traversed in a clockwise fashion.
38. Evaluate the line integral of scalar function xy along parabolic path y = x 2 connecting the origin to point (1, 1).
Answer:
25√5 + 1
∫ Cf ds = 120
Answer:
∫ Cy 2 dx + (xy − x 2) dy = 6.15
For the following exercises, use a CAS to evaluate the given line integrals.
⇀ ⇀
41. [T] Evaluate F(x, y, z) = x 2z î + 6y ĵ + yz 2 k̂, where C is represented by r (t) = t î + t 2 ĵ + lnt k̂, 1 ≤ t ≤ 3.
42. [T] Evaluate line integral ∫ γ xe y ds where, γ is the arc of curve x = e y from (1, 0) to (e, 1).
Answer:
∫ γ xe y ds ≈ 7.157
43. [T] Evaluate the integral ∫ γ xy 2 ds, where γ is a triangle with vertices (0, 1, 2), (1, 0, 3), and (0, − 1, 0).
44. [T] Evaluate line integral ∫ γ (y 2 − xy) dx, where γ is curve y = lnx from (1, 0) toward (e, 1).
Answer:
∫ γ (y 2 − xy) dx ≈ − 1.379
Answer:
⇀ ⇀
Answer:
⇀ ⇀
Answer:
1
flux = − 3
⇀
51. Let F = 5 î and let C be curve y = 0, with 0 ≤ x ≤ 4. Find the flux across C.
⇀
52. Let F = 5 ĵ and let C be curve y = 0, with 0 ≤ x ≤ 4. Find the flux across C.
Answer:
flux = − 20
⇀ ⇀
53. Let F = − y î + x ĵ and let C : r (t) = cost î + sint ĵ for 0 ≤ t ≤ 2π. Calculate the flux across C.
⇀ ⇀
54. Let F = (x 2 + y 3) î + (2xy) ĵ. Calculate flux F orientated counterclockwise across the curve C : x 2 + y 2 = 9.
Answer:
flux = 0
56. A spring is made of a thin wire twisted into the shape of a circular helix x = 2cost, y = 2sint, z = t. Find the mass
of two turns of the spring if the wire has a constant mass density of ρ grams per cm.
57. A thin wire is bent into the shape of a semicircle of radius a. If the linear mass density at point P is directly
proportional to its distance from the line through the endpoints, find the mass of the wire.
⇀
58. An object moves in force field F(x, y, z) = y 2 î + 2(x + 1)y ĵ counterclockwise from point (2, 0) along elliptical path
x 2 + 4y 2 = 4 to ( − 2, 0), and back to point (2, 0) along the x-axis. How much work is done by the force field on the
object?
Answer:
W = 0 units of work
⇀
59. Find the work done when an object moves in force field F(x, y, z) = 2x î − (x + z) ĵ + (y − x) k̂ along the path given
⇀
by r (t) = t 2 î + (t 2 − t) ĵ + 3 k̂, 0 ≤ t ≤ 1.
⇀ ⇀ k ⇀
60. If an inverse force field F is given by F(x, y, z) = r, where k is a constant, find the work done by F as its point
‖r‖ 3
of application moves along the x-axis from A(1, 0, 0) to B(2, 0, 0).
Answer:
k
W= 2
units of work
⇀ ⇀
61. David and Sandra plan to evaluate line integral ∫ C F · d r along a path in the xy-plane from (0, 0) to (1, 1). The force
⇀
field is F(x, y) = (x + 2y) î + ( − x + y 2) ĵ. David chooses the path that runs along the x-axis from (0, 0) to (1, 0) and then
runs along the vertical line x = 1 from (1, 0) to the final point (1, 1). Sandra chooses the direct path along the diagonal
line y = x from (0, 0) to (1, 1). Whose line integral is larger and by how much?
Answer:
True
⇀ ⇀ ⇀ ⇀ ⇀ ⇀
2. True or False? Function r (t) = a + t( b − a ), where 0 ≤ t ≤ 1, parameterizes the straight-line segment from a to b.
⇀
3. True or False? Vector field F(x, y, z) = (ysinz) î + (xsinz) ĵ + (xycosz) k̂ is conservative.
Answer:
True
⇀
4. True or False? Vector field F(x, y, z) = y î + (x + z) ĵ − y k̂ is conservative.
⇀ ⇀ ⇀
5. Justify the Fundamental Theorem of Line Integrals for ∫ C F · d r in the case when F(x, y) = (2x + 2y) î + (2x + 2y) ĵ
and C is a portion of the positively oriented circle x 2 + y 2 = 25 from (5, 0) to (3, 4).
Answer:
∫ C F · d r = 24
6. [T] Find
⇀
∫C F · d r ,
π
⇀ ⇀
where F(x, y) = (ye xy + cosx) î + xe xy +
( y +1
1
2
) ĵ and C is a portion of curve y = sinx from
x = 0 to x = 2 .
⇀ ⇀ ⇀
7. [T] Evaluate line integral ∫ C F · d r , where F(x, y) = (e xsiny − y) î + (e xcosy − x − 2) ĵ, and C is the path given by
⇀ πt π πt π
r (t) = (t 3sin 2
) î − ( 2 cos( 2
+ 2
)) ĵ for 0 ≤ t ≤ 1.
Answer:
⇀ ⇀ 3π
∫C F · d r =e−
2
For the following exercises, determine whether the vector field is conservative and, if it is, find the potential function.
⇀
8. F(x, y) = 2xy 3 î + 3y 2x 2 ĵ
⇀
9. F(x, y) = ( − y + e xsiny) î + ((x + 2)e xcosy) ĵ
Answer:
Not conservative
⇀
10. F(x, y) = (e 2xsiny) î + (e 2xcosy) ĵ
⇀
11. F(x, y) = (6x + 5y) î + (5x + 4y) ĵ
Answer:
Conservative, f(x, y) = 3x 2 + 5xy + 2y 2
⇀
12. F(x, y) = (2xcos(y) − ycos(x)) î + ( − x 2sin(y) − sin(x)) ĵ
⇀
13. F(x, y) = (ye x + sin(y)) î + (e x + xcos(y)) ĵ
For the following exercises, evaluate the line integrals using the Fundamental Theorem of Line Integrals.
⇀
14. ∮ C(y î + x ĵ) · d r , where C is any path from (0, 0) to (2, 4)
15. ∮ C(2y dx + 2x dy), where C is the line segment from (0, 0) to (4, 4)
Answer:
∮ C(2y dx + 2x dy) = 32
[
16. [T] ∮ C arctan − 2
y
x x + y2
xy
dx + 2
x + y2 ] [ x2
]
+ e − y(1 − y) dy, where C is any smooth curve from (1, 1) to ( − 1, 2).
⇀
17. Find the conservative vector field for the potential function F(x, y) = 5x 2 + 3xy + 10y 2.
Answer:
⇀
F(x, y) = (10x + 3y) î + (3x + 10y) ĵ
For the following exercises, determine whether the vector field is conservative and, if so, find a potential function.
⇀
18. F(x, y) = (12xy) î + 6(x 2 + y 2) ĵ
⇀
19. F(x, y) = (e xcosy) î + 6(e xsiny) ĵ
Answer:
⇀
F is not conservative.
⇀ 2 2
20. F(x, y) = (2xye x y) î + 6(x 2e x y) ĵ
⇀
21. F(x, y, z) = (ye z) î + (xe z) ĵ + (xye z) k̂
Answer:
⇀
F is conservative and a potential function is f(x, y, z) = xye z.
⇀
22. F(x, y, z) = (siny) î − (xcosy) ĵ + k̂
()
⇀ 1 x
23. F(x, y, z) = î + ( ) ĵ + (2z − 1) k̂
y y2
Answer:
⇀
F is conservative and a potential function is f(x, y, z) = z.
⇀
24. F(x, y, z) = 3z 2 î − cosy ĵ + 2xz k̂
⇀
25. F(x, y, z) = (2xy) î + (x 2 + 2yz) ĵ + y 2 k̂
For the following exercises, determine whether the given vector field is conservative and find a potential function.
⇀
26. F(x, y) = (e xcosy) î + 6(e xsiny) ĵ
⇀
2 2
27. F(x, y) = (2xye x y) î + 6(x 2e x y) ĵ
Answer:
⇀ ⇀
2y
F is conservative and a potential function is F(x, y) = e x
For the following exercises, evaluate the integral using the Fundamental Theorem of Line Integrals.
⇀ ⇀
28. Evaluate ∫ C ∇ f · d r , where f(x, y, z) = cos(πx) + sin(πy) − xyz and C is any path that starts at (1, 12, 2) and ends at
(2, 1, − 1).
⇀ ⇀ ⇀
29. [T] Evaluate ∫ C ∇ f · d r , where F(x, y) = xy + e x and C is a straight line from (0, 0) to (2, 1).
Answer:
⇀ ⇀
∫C F · d r = e2 + 1
⇀ ⇀ ⇀
30. [T] Evaluate ∫ C ∇ f · d r , where F(x, y) = x 2y − x and C is any path in a plane from (1, 2) to (3, 2).
⇀ ⇀
31. Evaluate ∫ C ∇ f · d r , where f(x, y, z) = xyz 2 − yz and C has initial point (1, 2) and terminal point (3, 5).
Answer:
⇀ ⇀
∫C F · d r = 41
⇀
For the following exercises, let F(x, y) = 2xy 2 î + (2yx 2 + 2y) ĵ and G(x, y) = (y + x) î + (y − x) ĵ, and let C 1 be the curve
consisting of the circle of radius 2, centered at the origin and oriented counterclockwise, andC 2 be the curve consisting
of a line segment from (0, 0) to (1, 1) followed by a line segment from (1, 1) to (3, 1).
⇀
32. Calculate the line integral of F over C 1.
⇀
33. Calculate the line integral of G over C 1.
Answer:
⇀
34. Calculate the line integral of F over C 2.
⇀
35. Calculate the line integral of G over C 2.
Answer:
⇀ ⇀
∮C2 F · d r =7
⇀ ⇀ ⇀
36. [T] Let F(x, y, z) = x 2 î + zsin(yz) ĵ + ysin(yz) k̂. Calculate ∮C F · d r , where C is a path from A = (0, 0, 1) to
B = (3, 1, 2).
⇀ ⇀
37. [T] Find line integral ∮ C F · dr of vector field F(x, y, z) = 3x 2z î + z 2 ĵ + (x 3 + 2yz) k̂ along curve C parameterized
⇀ ln t
by r (t) = ( ln 2 ) î + t 3 / 2 ĵ + tcos(πt), 1 ≤ t ≤ 4.
Answer:
⇀ ⇀
∫ C F · d r = 150
For the following exercises, show that the following vector fields are conservative by using a computer. Calculate
⇀ ⇀
Answer:
⇀ ⇀
∫C F · d r = −1
⇀
40. [T] F = [cos(xy 2) − xy 2sin(xy 2)] î − 2x 2ysin(xy 2) ĵ; C is curve ⟨e t, e t + 1⟩, − 1 ≤ t ≤ 0.
41. The mass of Earth is approximately 6 × 10 27g and that of the Sun is 330,000 times as much. The gravitational
constant is 6.7 × 10 − 8cm 3 / s 2 · g. The distance of Earth from the Sun is about 1.5 × 10 12cm. Compute, approximately,
the work necessary to increase the distance of Earth from the Sun by 1cm.
Answer:
4 × 10 31 erg
⇀ ⇀
42. [T] Let F(x, y, z) = (e xsiny) î + (e xcosy) ĵ + z 2 k̂. Evaluate the integral ∫ C F · ds, where
⇀
c (t) = (√t, t 3, e √t), 0 ≤ t ≤ 1.
()
⇀ π
43. [T] Let c : [1, 2] → ℝ 2 be given by x = e t − 1, y = sin t . Use a computer to compute the integral
⇀ ⇀ ⇀
∫C F · d s = 0.4687
⇀
44. [T] Use a computer algebra system to find the mass of a wire that lies along curve r (t) = (t 2 − 1) ĵ + 2t k̂, 0 ≤ t ≤ 1
3
, if the density is t.
2
⇀
45. Find the circulation and flux of field F(x, y) = − y î + x ĵ around and across the closed semicircular path that
⇀
consists of semicircular arch r 1(t) = (acost) î + (asint) ĵ, 0 ≤ t ≤ π, followed by line segment
⇀
r 2(t) = t î, − a ≤ t ≤ a.
Answer:
circulation = πa 2 and flux = 0
⇀
46. Compute ∫ Ccosxcosy dx − sinxsiny dy, where c (t) = ⟨t, t 2⟩, 0 ≤ t ≤ 1.
47. Complete the proof of the theorem titled THE PATH INDEPENDENCE TEST FOR CONSERVATIVE FIELDS by
showing that f y = Q(x, y).
2. ∫ C2xy dx + (x + y) dy, where C is the boundary of the region lying between the graphs of y = 0 and y = 4 − x 2
oriented in the counterclockwise direction
Answer:
32
∫ C2xy dx + (x + y) dy = 3
3. ∫ C2arctan () y
x
dx + ln(x 2 + y 2) dy, where C is defined by x = 4 + 2cosθ, y = 4sinθ oriented in the counterclockwise
direction
4. ∫ Csinxcosy dx + (xy + cosxsiny) dy, where C is the boundary of the region lying between the graphs of y = x and
y= √x oriented in the counterclockwise direction
OpenStax 16 9/5/2021 https://math.libretexts.org/@go/page/21063
Answer:
1
∫ Csinxcosy dx + (xy + cosxsiny) dy = 12
5. ∫ Cxy dx + (x + y) dy, where C is the boundary of the region lying between the graphs of x 2 + y 2 = 1 and x 2 + y 2 = 9
oriented in the counterclockwise direction
6. ∮ C( − y dx + x dy), where C consists of line segment C 1 from ( − 1, 0) to (1, 0), followed by the semicircular arc C 2
from (1, 0) back to (1, 0)
Answer:
∮ C( − y dx + x dy) = π
For the following exercises, use Green’s theorem.
7. Let C be the curve consisting of line segments from (0, 0) to (1, 1) to (0, 1) and back to (0, 0). Find the value of
∫ Cxy dx + √y 2 + 1 dy.
8. Evaluate line integral ∫ Cxe − 2x dx + (x 4 + 2x 2y 2) dy, where C is the boundary of the region between circles
x2 + y2 = 1 and x2 + y2 = 4, and is a positively oriented curve.
Answer:
∫ Cxe − 2x dx + (x 4 + 2x 2y 2) dy = 0
⇀
9. Find the counterclockwise circulation of field F(x, y) = xy î + y 2 ĵ around and over the boundary of the region
enclosed by curves y = x 2 and y = x in the first quadrant and oriented in the counterclockwise direction.
10. Evaluate ∮ Cy 3 dx − x 3y 2 dy, where C is the positively oriented circle of radius 2 centered at the origin.
Answer:
∮ Cy 3 dx − x 3y 2 dy = − 24π
11. Evaluate ∮ Cy 3 dx − x 3 dy, where C includes the two circles of radius 2 and radius 1 centered at the origin, both with
positive orientation.
Answer:
∮ C − x 2y dx + xy 2 dy = 8π
13. Calculate integral ∮ C2[y + xsin(y)] dx + [x 2cos(y) − 3y 2] dy along triangle C with vertices (0, 0), (1, 0) and (1, 1),
oriented counterclockwise, using Green’s theorem.
14. Evaluate integral ∮ C(x 2 + y 2) dx + 2xy dy, where C is the curve that follows parabola y = x 2 from (0, 0), (2, 4), then
the line from (2, 4) to (2, 0), and finally the line from (2, 0) to (0, 0).
Answer:
∮ C(x 2 + y 2) dx + 2xy dy = 0
15. Evaluate line integral ∮ C(y − sin(y)cos(y)) dx + 2xsin 2(y) dy, where C is oriented in a counterclockwise path around
the region bounded by x = − 1, x = 2, y = 4 − x 2, and y = x − 2.
Answer:
A = 19π units 2
⇀
18. Find the area of the region bounded by hypocycloid r (t) = cos 3(t) î + sin 3(t) ĵ. The curve is parameterized by
t ∈ [0, 2π].
Answer:
3
A= 8π units 2
19. Find the area of a pentagon with vertices (0, 4), (4, 1), (3, 0), ( − 1, − 1), and ( − 2, 2).
20. Use Green’s theorem to evaluate ∫ C + (y 2 + x 3) dx + x 4 dy, where C + is the perimeter of square [0, 1] × [0, 1] oriented
counterclockwise.
Answer:
∫ C + (y 2 + x 3) dx + x 4 dy = 0
21. Use Green’s theorem to prove the area of a disk with radius a is A = πa 2 units 2.
22. Use Green’s theorem to find the area of one loop of a four-leaf rose r = 3sin2θ. (Hint: x dy − y dx = r 2 dθ).
23. Use Green’s theorem to find the area under one arch of the cycloid given by the parametric equations:
x = t − sint, y = 1 − cost, t ≥ 0.
24. Use Green’s theorem to find the area of the region enclosed by curve
⇀
r (t) = t 2 î +
( )
t3
3 − t ĵ, for − √3 ≤ t ≤ √3.
Answer:
8 √3
A= 5 units 2
25. [T] Evaluate Green’s theorem using a computer algebra system to evaluate the integral ∫ Cxe y dx + e x dy, where C is
the circle given by x 2 + y 2 = 4 and is oriented in the counterclockwise direction.
26. Evaluate ∫ C(x 2y − 2xy + y 2) ds, where C is the boundary of the unit square 0 ≤ x ≤ 1, 0 ≤ y ≤ 1, traversed
counterclockwise.
Answer:
∫ C(x 2y − 2xy + y 2) ds = 3
− (y + 2) dx + (x − 1) dy
27. Evaluate ∫ C , where C is any simple closed curve with an interior that does not contain point
(x − 1) 2 + (y + 2) 2
(1, − 2) traversed counterclockwise.
x dx + y dy
28. Evaluate ∫C x2 + y2
, where C is any piecewise, smooth simple closed curve enclosing the origin, traversed
counterclockwise.
Answer:
x dx + y dy
∫C x2 + y2
= 2π
⇀
For the following exercises, use Green’s theorem to calculate the work done by force F on a particle that is moving
counterclockwise around closed path C.
⇀
29. F(x, y) = xy î + (x + y) ĵ, C : x2 + y2 = 4
⇀
30. F(x, y) = (x 3 / 2 − 3y) î + (6x + 5√y) ĵ, C: boundary of a triangle with vertices (0, 0), (5, 0), and (0, 5)
Answer:
31. Evaluate ∫ C(2x 3 − y 3) dx + (x 3 + y 3) dy, where C is a unit circle oriented in the counterclockwise direction.
32. A particle starts at point ( − 2, 0), moves along the x-axis to (2, 0), and then travels along semicircle y = √4 − x2 to
⇀
the starting point. Use Green’s theorem to find the work done on this particle by force field F(x, y) = x î + (x 3 + 3xy 2) ĵ.
Answer:
W = 12π units of work
33. David and Sandra are skating on a frictionless pond in the wind. David skates on the inside, going along a circle of
radius 2 in a counterclockwise direction. Sandra skates once around a circle of radius 3, also in the counterclockwise
⇀
direction. Suppose the force of the wind at point (x, y) is F(x, y) = (x 2y + 10y) î + (x 3 + 2xy 2) ĵ. Use Green’s theorem to
determine who does more work.
⇀
34. Use Green’s theorem to find the work done by force field F(x, y) = (3y − 4x) î + (4x − y) ĵ when an object moves
once counterclockwise around ellipse 4x 2 + y 2 = 4.
Answer:
W = 2π units of work
35. Use Green’s theorem to evaluate line integral ∮ Ce 2xsin2y dx + e 2xcos2y dy, where C is ellipse
2 2
9(x − 1) + 4(y − 3) = 36 oriented counterclockwise.
36. Evaluate line integral ∮ Cy 2 dx + x 2 dy, where C is the boundary of a triangle with vertices (0, 0), (1, 1), and (1, 0),
with the counterclockwise orientation.
Answer:
1
∮ Cy 2 dx + x 2 dy = 3
⇀ ⇀ ⇀
37. Use Green’s theorem to evaluate line integral ∫ C h · d r if h(x, y) = e y î − sinπx ĵ, where C is a triangle with vertices
(1, 0), (0, 1), and ( − 1, 0), traversed counterclockwise.
38. Use Green’s theorem to evaluate line integral ∫ C√1 + x 3 dx + 2xy dy where C is a triangle with vertices
(0, 0), (1, 0), and (1, 3) oriented clockwise.
Answer:
∫ C√1 + x 3 dx + 2xy dy = 3
39. Use Green’s theorem to evaluate line integral ∫ Cx 2y dx − xy 2 dy where C is a circle x 2 + y 2 = 4 oriented
counterclockwise.
(
40. Use Green’s theorem to evaluate line integral ∫ C 3y − e sin x dx + 7x + ) ( √y4 + 1 ) dy where C is circle x2 + y2 = 9
oriented in the counterclockwise direction.
Answer:
⇀
42. Let C be a triangular closed curve from (0, 0) to (1, 0) to (1, 1) and finally back to (0, 0). Let F(x, y) = 4y î + 6x 2 ĵ.
⇀ ⇀
Use Green’s theorem to evaluate ∮ C F · d r .
Answer:
⇀ ⇀
∮C F · d r =2
43. Use Green’s theorem to evaluate line integral ∮ Cy dx − x dy, where C is circle x 2 + y 2 = a 2 oriented in the clockwise
direction.
44. Use Green’s theorem to evaluate line integral ∮ C(y + x) dx + (x + siny) dy, where C is any smooth simple closed
curve joining the origin to itself oriented in the counterclockwise direction.
Answer:
∮ C(y + x) dx + (x + siny) dy = 0
oriented circle (x − 2) 2 + (y − 3) 2 = 1.
46. Use Green’s theorem to evaluate ∮ Cxy dx + x 3y 3 dy, where C is a triangle with vertices (0, 0), (1, 0), and (1, 2) with
positive orientation.
Answer:
∮ Cxy dx + x 3y 3 dy = 2221
47. Use Green’s theorem to evaluate line integral ∫ Csiny dx + xcosy dy, where C is ellipse x 2 + xy + y 2 = 1 oriented in
the counterclockwise direction.
⇀ ⇀ ⇀
( )
48. Let F(x, y) = cos(x 5) − 13y 3 î + 13x 3 ĵ. Find the counterclockwise circulation ∮C F · d r , where C is a curve
consisting of the line segment joining ( − 2, 0) and ( − 1, 0), half circle y = √1 − x2, the line segment joining (1, 0) and
(2, 0), and half circle y = √4 − x 2 .
Answer:
2
49. Use Green’s theorem to evaluate line integral ∫ Csin(x 3) dx + 2ye x dy, where C is a triangular closed curve that
connects the points (0, 0), (2, 2), and (0, 2) counterclockwise.
50. Let C be the boundary of square 0 ≤ x ≤ π, 0 ≤ y ≤ π, traversed counterclockwise. Use Green’s theorem to find
∫ Csin(x + y) dx + cos(x + y) dy.
Answer:
∫ Csin(x + y) dx + cos(x + y) dy = 4
⇀ ⇀ ⇀
51. Use Green’s theorem to evaluate line integral ∫ C F · d r , where F(x, y) = (y 2 − x 2) î + (x 2 + y 2) ĵ, and C is a triangle
bounded by y = 0, x = 3, and y = x, oriented counterclockwise.
⇀ ⇀ ⇀
52. Use Green’s Theorem to evaluate integral ∫ C F · d r , where F(x, y) = (xy 2) î + x ĵ, and C is a unit circle oriented in
the counterclockwise direction.
Answer:
⇀ ⇀
∫C F · d r =π
53. Use Green’s theorem in a plane to evaluate line integral ∮ C(xy + y 2) dx + x 2 dy, where C is a closed curve of a
region bounded by y = x and y = x2 oriented in the counterclockwise direction.
⇀
54. Calculate the outward flux of F(x, y) = − x î + 2y ĵ over a square with corners ( ± 1, ± 1), where the unit normal is
outward pointing and oriented in the counterclockwise direction.
Answer:
⇀ ⇀
∮ C F · N ds = 4
55. [T] Let C be circle x2 + y2 = 4 oriented in the counterclockwise direction. Evaluate
Answer:
⇀ ⇀
∮ C F · N ds = 32π
⇀
57. Let F = (y 2 − x 2) î + (x 2 + y 2) ĵ, and let C be a triangle bounded by y = 0, x = 3, and y = x oriented in the
⇀
counterclockwise direction. Find the outward flux of F through C.
60. Consider region R bounded by parabolas y = x 2 and x = y 2. Let C be the boundary of R oriented counterclockwise.
( ) (
Use Green’s theorem to evaluate ∮ C y + e √x dx + 2x + cos(y 2) dy. )
Answer:
∮C (y + e√ ) dx + (2x + cos(y ) ) dy = 13
x 2
F(x, y, z) = xyzi + x 2y 2z 2j + y 2z 3k
F(x, y, z) = xyi + yzj + xzk
[Hide Solution]
curl F = − yi − zj − xk
F(x, y, z) = x 2i + y 2j + z 2k
F(x, y, z) = axi + byj + ck for constants a, b, c
[Hide Solution]
curl F = 0
For the following exercises, find the divergence of F.
F(x, y, z) = x 2i + y 2j + z 2k
[Hide Solution]
div F = 2(x + y + z)
F(x, y, z) = (x − y)i + (y − z)j + (z − x)k
⇀ x y
F(x, y) = i+ j
√ x2 + y2 √ x2 + y2
[Hide Solution]
1
div F =
√x 2 + y 2
⇀
F(x, y) = xi − yj
F(x, y, z) = axi + byj + ck for constants a, b, c
[ Hide Solution]
div F = a + b
F(x, y, z) = xyzi + x 2y 2z 2j + y 2z 3k
F(x, y, z) = xyi + yzj + xzk
[Hide Solution]
div F = x + y + z
For the following exercises, determine whether each of the given scalar functions is harmonic.
u(x, y, z) = e − x(cosy − siny)
div F = 2r 2
Find the divergence of F for vector field
F(x, y, z) = f 1(y, z)i + f 2(x, z)j + f 3(x, y)k.
div F = 2 − 2e − 6
F(x, y, z) = xyzi + yj + zk at (1, 2, 1)
F(x, y, z) = e xsinyi − e xcosyj at (0, 0, 3)
div F = 0
For the following exercises, find the curl of F at the given point.
F(x, y, z) = i + j + k at (2, − 1, 3)
F(x, y, z) = xyzi + yj + zk at (1, 2, 3)
[Hide Solution]
curl F = j − 3k
F(x, y, z) = e − xyi + e xzj + e yzk at (3, 2, 0)
F(x, y, z) = xyzi + yj + zk at (1, 2, 1)
[Hide Solution]
curl F = 2j − k
In the following exercises, suppose a solid object in R 3 has a temperature distribution given by T(x, y, z). The heat flow vector
field in the object is F = − k∇T, where k > 0 is a property of the material. The heat flow vector points in the direction
opposite to that of the gradient, which is the direction of greatest temperature decrease. The divergence of the heat flow vector
is ∇ ⋅ F = − k∇ ⋅ ∇T = − k∇ 2T.
Compute the heat flow vector field.
Compute the divergence.
[Hide Solution]
2 + y2 + z2
∇ ⋅ F = − 200k[1 + 2(x 2 + y 2 + z 2)]e − x
[T] Consider rotational velocity field v = ⟨0, 10z, − 10y⟩. If a paddlewheel is placed in plane x + y + z = 1 with its axis normal
to this plane, using a computer algebra system, calculate how fast the paddlewheel spins in revolutions per unit time.
| |
i j k
∂ ∂ ∂
the curl of vector field F = ⟨P, Q, R⟩, denoted ∇ × F, is the “determinant” of the matrix and is given by the
∂x ∂y ∂z
P Q R
expression (R y − Q z)i + (P z − R x)j + (Q x − P y)k; it measures the tendency of particles at a point to rotate about the axis that
points in the direction of the curl at the point
divergence
the divergence of a vector field F = ⟨P, Q, R⟩, denoted ∇ × F, is P x + Q y + R z; it measures the “outflowing-ness” of a vector
field
For the following exercises, find parametric descriptions for the following surfaces.
Plane 3x − 2y + z = 2
[Hide Solution]
r(u, v) = ⟨u, v, 2 − 3u + 2v⟩ for − ∞ ≤ u < ∞ and − ∞ ≤ v < ∞.
Paraboloid z = x 2 + y 2, for 0 ≤ z ≤ 9.
Plane 2x − 4y + 3z = 16
[Hide Solution]
1
r(u, v) = ⟨u, v, (16 − 2u + 4v)⟩ for | u | < ∞ and | v | < ∞.
3
The frustum of cone z 2 = x 2 + y 2, for 2 ≤ z ≤ 8
The portion of cylinder x 2 + y 2 = 9 in the first octant, for 0 ≤ z ≤ 3
[Hide Solution]
π
r(u, v) = ⟨3 cosu, 3 sinu, v⟩ for 0 ≤ u ≤ ,0≤v≤3
2
A cone with base radius r and height h, where r and h are positive constants
For the following exercises, use a computer algebra system to approximate the area of the following surfaces using a
parametric description of the surface.
[T] Half cylinder {(r, θ, z) : r = 4, 0 ≤ θ ≤ π, 0 ≤ z ≤ 7}
[Hide Solution]
A = 87.9646
[T] Plane z = 10 − z − y above square | x | ≤ 2, | y | ≤ 2
For the following exercises, let S be the hemisphere x 2 + y 2 + z 2 = 4, with z ≥ 0, and evaluate each surface integral, in the
counterclockwise direction.
∬Sz dS
∬Sz dS = 8π
∬S(x − 2y) dS
∬S(x 2 + y 2) dS
[Hide Solution]
∬S(x 2 + y 2) dS = 16π
For the following exercises, evaluate
∫∫ SF ⋅ N ds
for vector field F, where N is an outward normal vector to surface S.
F(x, y, z) = xi + 2yj = 3zk, and S is that part of plane 15x − 12y + 3z = 6 that lies above unit square 0 ≤ x ≤ 1, 0 ≤ y ≤ 1.
⇀
F(x, y) = xi + yj, and S is hemisphere z = √1 − x 2 − y 2 .
[Hide Solution]
4π
∬SF ⋅ N dS = 3
F(x, y, z) = x 2i + y 2j + z 2k, and S is the portion of plane z = y + 1 that lies inside cylinder x 2 + y 2 = 1.
For the following exercises, approximate the mass of the homogeneous lamina that has the shape of given surface S. Round to
four decimal places.
[T] S is surface z = 4 − x − 2y, with z ≥ 0, x ≥ 0, y ≥ 0; ξ = x.
[Hide Solution]
m ≈ 13.0639
∬SgdS,
where g(x, y, z) = xz + 2x 2 − 3xy and S is the portion of plane 2x − 3y + z = 6 that lies over unit square R:
0 ≤ x ≤ 1, 0 ≤ y ≤ 1.
[Hide Solution]
∬SgdS = 3√4
Evaluate
∬S(x + y + z)dS,
where S is the surface defined parametrically by R(u, v) = (2u + v)i + (u − 2v)j + (u + 3v)k for 0 ≤ u ≤ 1, and 0 ≤ v ≤ 2.
[T] Evaluate
∬S(x − y 2 + z)dS,
where S is the surface defined parametrically by R(u, v) = u 2i + vj + uk for 0 ≤ u ≤ 1, 0 ≤ v ≤ 1.
∬S(x 2 + y − z) dS ≈ 0.9617
[T] Evaluate where S is the surface defined by R(u, v) = ui − u 2j + vk, 0 ≤ u ≤ 2, 0 ≤ v ≤ 1 for 0 ≤ u ≤ 1, 0 ≤ v ≤ 2.
Evaluate
∬S(x 2 + y 2) dS,
where S is the surface bounded above hemisphere z = √1 − x2 − y2, and below by plane z = 0.
[Hide Solution]
4π
∬S(x 2 + y 2) dS = 3
Evaluate
∬S(x 2 + y 2 + z 2) dS,
where S is the portion of plane that lies inside cylinder x 2 + y 2 = 1.
[T] Evaluate
∬Sx 2zdS,
where S is the portion of cone z 2 = x 2 + y 2 that lies between planes z = 1 and z = 4.
1023√2π
∬Sx 2zdS = 5
[T] Evaluate
∬S(xz / y) dS,
where S is the portion of cylinder x = y 2 that lies in the first octant between planes z = 0, z = 5, and y = 4.
[T] Evaluate
∬S(z + y) dS,
where S is the part of the graph of z = √1 − x2 in the first octant between the xz-plane and plane y = 3.
∬S(z + y) dS ≈ 10.1
Evaluate
∬Sxyz dS
if S is the part of plane z = x + y that lies over the triangular region in the xy-plane with vertices (0, 0, 0), (1, 0, 0), and (0, 2,
0).
Find the mass of a lamina of density ξ(x, y, z) = z in the shape of hemisphere z = (a 2 − x 2 − y 2) 1 / 2.
[Hide Solution]
m = πa 3
Compute
∫∫ SF ⋅ N dS,
where F(x, y, z) = xi − 5yj + 4zk and N is an outward normal vector S, where S is the union of two squares S 1 :
x = 0, 0 ≤ y ≤ 1, 0 ≤ z ≤ 1 and S 2 : x = 0, 0 ≤ x ≤ 1, 0 ≤ y ≤ 1.
∫∫ SF ⋅ N dS,
where F(x, y, z) = xyi + zj + (x + y)k and N is an outward normal vector S, where S is the triangular region cut off from plane
x + y + z = 1 by the positive coordinate axes.
[Hide Solution]
13
∬SF ⋅ N dS = 24
Compute
∫∫ SF ⋅ N dS,
where F(x, y, z) = 2yzi + (tan − 1xz)j + e xyk and N is an outward normal vector S, where S is the surface of sphere
x 2 + y 2 + z 2 = 1.
Compute
∫∫ SF ⋅ N dS,
where F(x, y, z) = xyzi + xyzj + xyzk and N is an outward normal vector S, where S is the surface of the five faces of the unit
cube 0 ≤ x ≤ 1, 0 ≤ y ≤ 1, 0 ≤ z ≤ 1 missing z = 0.
[Hide Solution]
3
∬SF ⋅ N dS = 4
For the following exercises, express the surface integral as an iterated double integral by using a projection on S on the yz-
plane.
∬Sxy 2z 3 dS;
S is the first-octant portion of plane 2x + 3y + 4z = 12.
8 6
∫ 0∫ 0 (4 − 3y +
1
16
y2 + z
)( √ )
1
4
17 dzdy
For the following exercises, express the surface integral as an iterated double integral by using a projection on S on the xz-
plane
∬Sxy 2z 3 dS;
S is the first-octant portion of plane 2x + 3y + 4z = 12.
∬S(x 2 − 2y + z) dS;
is the portion of the graph of 4x + y = 8 bounded by the coordinate planes and plane z = 6.
[Hide Solution]
2 6
∫ 0∫ 0[x 2 − 2(8 − 4x) + z]√17 dzdx
Evaluate surface integral
∬Syz dS,
where S is the first-octant part of plane x + y + z = λ, where λ is a positive constant.
Evaluate surface integral
πa 5
∬S(x 2z + y 2z) dS = 2
∬SzdA,
where S is surface z = √x2 + y2, 0 ≤ z ≤ 2.
Evaluate surface integral
∬Syz dS,
where S is plane x + y + z = 1 that lies in the first octant.
Evaluate surface integral
∬Syz dS,
where S is the part of plane z = y + 3 that lies inside cylinder x 2 + y 2 = 1.
[Hide Solution]
√2π
∬Syz dS = 4
For the following exercises, use geometric reasoning to evaluate the given surface integrals.
∬S√x 2 + y 2 + z 2 dS,
where S is surface x 2 + y 2 + z 2 = 4, z ≥ 0
A lamina has the shape of a portion of sphere x 2 + y 2 + z 2 = a 2 that lies within cone z = √x2 + y2. Let S be the spherical shell
centered at the origin with radius a, and let C be the right circular cone with a vertex at the origin and an axis of symmetry that
coincides with the z-axis. Determine the mass of the lamina if δ(x, y, z) = x 2y 2z.
πa 7
m=
192
A lamina has the shape of a portion of sphere x 2 + y 2 + z 2 = a 2 that lies within cone z = √x2 + y2. Let S be the spherical shell
centered at the origin with radius a, and let C be the right circular cone with a vertex at the origin and an axis of symmetry that
π
coincides with the z-axis. Suppose the vertex angle of the cone is ϕ0, with 0 ≤ ϕ0 < . Determine the mass of that portion of
2
the shape enclosed in the intersection of S and C. Assume δ(x, y, z) = x 2y 2z.
A paper cup has the shape of an inverted right circular cone of height 6 in. and radius of top 3 in. If the cup is full of water
weighing 62.5 lb / ft 3, find the total force exerted by the water on the inside surface of the cup.
[Hide Solution]
F ≈ 4.57 lb
For the following exercises, the heat flow vector field for conducting objects i F = − k∇T, where T(x, y, z) is the temperature
in the object and k > 0 is a constant that depends on the material. Find the outward flux of F across the following surfaces S
for the given temperature distributions and assume k = 1.
∬S(curl F ⋅ N) dS = πa 2
F(x, y, z) = y 2i + 2xj + 5k; S is hemisphere z = (4 − x 2 − y 2) 1 / 2.
∬S(curl F ⋅ N) dS = 18π
F(x, y, z) = (x + 2z)i + (y − x)j + (z − y)k; S is a triangular region with vertices (3, 0, 0), (0, 3/2, 0), and (0, 0, 3).
F(x, y, z) = 2yi + 6zj + 3xk; S is a portion of paraboloid z = 4 − x 2 − y 2 and is above the xy-plane.
[Hide Solution]
∬S(curl F ⋅ N) dS = − 8π
∬S(curl F ⋅ N) dS
for the vector fields and surface.
F(x, y, z) = xyi − zj and S is the surface of the cube 0 ≤ x ≤ 1, 0 ≤ y ≤ 1, 0 ≤ z ≤ 1, except for the face where z = 0 and using
the outward unit normal vector.
F(x, y, z) = xyi + x 2j + z 2k; and C is the intersection of paraboloid z = x 2 + y 2 and plane z = y, and using the outward normal
vector.
∬S(curl F ⋅ N) dS = 0
F(x, y, z) = 4yi + zj + 2yk; and C is the intersection of sphere x 2 + y 2 + z 2 = 4 with plane z = 0, and using the outward normal
vector.
Use Stokes’ theorem to evaluate
[Hide Solution]
∫ CF ⋅ dS = 0
[T] Use a computer algebraic system (CAS) and Stokes’ theorem to approximate line integral
∫ C(y dx + z dy + x dz),
where C is the intersection of plane x + y = 2 and surface x 2 + y 2 + z 2 = 2(x + y), traversed counterclockwise viewed from the
origin.
[T] Use a CAS and Stokes’ theorem to approximate line integral
∫ C(3y dx + 2z dy − 5x dz),
∫ CF ⋅ dS = − 9.4248
∬Scurl F ⋅ dS,
where F(x, y, z) = e xycos zi + x 2zj + xyk, and S is half of sphere x = √1 − y2 − z2, oriented out toward the positive x-axis.
[Hide Solution]
∬SF ⋅ dS = 0
[T] Use a CAS and Stokes’ theorem to evaluate
∬S(curl F ⋅ N) dS,
where F(x, y, z) = x 2yi + xy 2j + z 3k and C is the curve of the intersection of plane 3x + 2y + z = 6 and cylinder x 2 + y 2 = 4,
oriented clockwise when viewed from above.
[T] Use a CAS and Stokes’ theorem to evaluate
∬Scurl F ⋅ dS,
(
where F(x, y, z) = sin(y + z) − yx 2 −
y3
3 ) i + x cos(y + z)j + cos(2y) k and S consists of the top and the four sides but not the
∬Scurl F ⋅ dS = 2.6667
[T] Use a CAS and Stokes’ theorem to evaluate
∬Scurl F ⋅ dS,
where F(x, y, z) = z 2i + 3xyj + x 3y 3k and S is the top part of z = 5 − x 2 − y 2 above plane z = 1 and S is oriented upward.
Use Stokes’ theorem to evaluate
∬S(curl F ⋅ N)dS,
1
∬S(curl F ⋅ N)dS = −
6
∫ C(z dx + x dy + y dz),
where C is a triangle with vertices (3, 0, 0), (0, 0, 2), and (0, 6, 0) traversed in the given order.
Use Stokes’ theorem to evaluate
∫C ( 1
2 )
y 2 dx + z dy + x dz ,
where C is the curve of intersection of plane x + z = 1 and ellipsoid x 2 + 2y 2 + z 2 = 1, oriented clockwise from the origin.
[Hide Solution]
∫C ( 1
2 )
y 2 dx + z dy + x dz = −
π
4
∬S(curl F ⋅ N)dS,
where F(x, y, z) = xi + y 2j + ze xyk and S is the part of surface z = 1 − x 2 − 2y 2 with z ≥ 0, oriented counterclockwise.
Use Stokes’ theorem for vector field F(x, y, z) = zi + 3xj + 2zk where S is surface z = 1 − x 2 − 2y 2, z ≥ 0, C is boundary circle
x 2 + y 2 = 1, and S is oriented in the positive z-direction.
[Hide Solution]
\[\iint_S (curl \, F \cdot N)dS = -3\pi]
A certain closed path C in plane 2x + 2y + z = 1 is known to project onto unit circle x 2 + y 2 = 1 in the xy-plane. Let c be a
constant and let R(x, y, z) = xi + yj + zk. Use Stokes’ theorem to evaluate
∫ C(ck × R) ⋅ dS.
[Hide Solution]
∫ C(ck × R) ⋅ dS = 2πc
Use Stokes’ theorem and let C be the boundary of surface z = x 2 + y 2 with 0 ≤ x ≤ 2 and 0 ≤ y ≤ 1 oriented with upward
facing normal. Define
Let S be hemisphere x 2 + y 2 + z 2 = 4 with z ≥ 0, oriented upward. Let F(x, y, z) = x 2e yzi + y 2e xzj + z 2e xyk be a vector field.
Use Stokes’ theorem to evaluate
∬Scurl F ⋅ dS.
[Hide Solution]
∬Scurl F ⋅ dS = 0
2 x2 z2
Let F(x, y, z) = xyi + (e z + y)j + (x + y)k and let S be the graph of function y = + − 1 with z ≤ 0 oriented so that the
9 9
normal vector S has a positive y component. Use Stokes’ theorem to compute integral
∬Scurl F ⋅ dS.
Use Stokes’ theorem to evaluate
∮ F ⋅ dS,
where F(x, y, z) = yi + zj + xk and C is a triangle with vertices (0, 0, 0), (2, 0, 0) and 0, − 2, 2) oriented counterclockwise
when viewed from above.
[Hide Solution]
∮ F ⋅ dS = −4
Use the surface integral in Stokes’ theorem to calculate the circulation of field F, F(x, y, z) = x 2y 3i + j + zk around C, which is
the intersection of cylinder x 2 + y 2 = 4 and hemisphere x 2 + y 2 + z 2 = 16, z ≥ 0, oriented counterclockwise when viewed
from above.
∬Scurl F ⋅ dS.
where F(x, y, z) = i + xy 2j + xy 2k and S is a part of plane y + z = 2 inside cylinder x 2 + y 2 = 1 and oriented counterclockwise.
[Hide Solution]
∬Scurl F ⋅ dS = 0
Use Stokes’ theorem to evaluate
∬Scurl F ⋅ dS,
where F(x, y, z) = − y 2i + xj + z 2k and S is the part of plane x + y + z = 1 in the positive octant and oriented counterclockwise
x ≥ 0, y ≥ 0, z ≥ 0.
Let F(x, y, z) = xyi + 2zj − 2yk and let C be the intersection of plane x + z = 5 and cylinder x 2 + y 2 = 9, which is oriented
counterclockwise when viewed from the top. Compute the line integral of F over C using Stokes’ theorem.
[Hide Solution]
[T] Use a CAS and let F(x, y, z) = xy 2i + (yz − x)j + e yxzk. Use Stokes’ theorem to compute the surface integral of curl F over
surface S with inward orientation consisting of cube [0, 1] × [0, 1] × [0, 1] with the right side missing.
x2 y2
Let S be ellipsoid + + z 2 = 1 oriented counterclockwise and let F be a vector field with component functions that have
4 9
continuous partial derivatives.
[Hide Solution]
∬Scurl F ⋅ N = 0
Let S be the part of paraboloid z = 9 − x 2 − y 2 with z ≥ 0. Verify Stokes’ theorem for vector field F(x, y, z) = 3zi + 4xj + 2yk.
[T] Use a CAS and Stokes’ theorem to evaluate
∮ F ⋅ dS,
if F(x, y, z) = (3z − sinx)i + (x 2 + e y)j + (y 3 − cosz)k, where C is the curve given by x = cost, y = sint, z = 1; 0 ≤ t ≤ 2π.
[Hide Solution]
∮ CF ⋅ dr = 0
[T] Use a CAS and Stokes’ theorem to evaluate F(x, y, z) = 2yi + e zj − arctan xk with S as a portion of paraboloid
z = 4 − x 2 − y 2 cut off by the xy-plane oriented counterclockwise.
[T] Use a CAS to evaluate
∬Scurl(F) ⋅ dS,
where F(x, y, z) = 2zi + 3xj + 5yk and S is the surface parametrically by
2
r(r, θ) = r cosθi + r sinθj + (4 − r )k (0 ≤ θ ≤ 2π, 0 ≤ r ≤ 3).
[Hide Solution]
∬Scurl(F) ⋅ dS = 84.8230
Let S be paraboloid z = a(1 − x 2 − y 2), for z ≥ 0, where a > 0 is a real number. Let F(x, y, z) = ⟨x − y, y + z, z − x⟩. For what
value(s) of a (if any) does
∬S(∇ × F) ⋅ n dS
have its maximum value?
For the following application exercises, the goal is to evaluate
A= ∬S(∇ × F) ⋅ n dS,
where F = ⟨xz, − xz, xy⟩ and S is the upper half of ellipsoid x 2 + y 2 + 8z 2 = 1, where z ≥ 0.
Evaluate a surface integral over a more convenient surface to find the value of A.
[Hide Solution]
∬S(∇ × F) ⋅ n dS.
[Hide Solution]
∬S(∇ × F) ⋅ n dS = 2π
For the following exercises, let S be the disk enclosed by curve C : r(t) = ⟨cosφ cost, sint, sinφ cost⟩, for 0 ≤ t ≤ 2π, where
π
0 ≤ φ ≤ is a fixed angle.
2
What is the length of C in terms of φ?
What is the circulation of C of vector field F = ⟨ − y, − z, x⟩ as a function of φ?
[Hide Solution]
C = π(cosφ − sinφ)
For what value of φ is the circulation a maximum?
Circle C in plane x + y + z = 8 has radius 4 and center (2, 3, 3). Evaluate
∮ CF ⋅ dr
for F = ⟨0, − z, 2y⟩, where C has a counterclockwise orientation when viewed from above.
[Hide Solution]
∮ CF ⋅ dr = 48π
Velocity field v = ⟨0, 1 − x 2, 0⟩, for | x | ≤ 1 and | z | ≤ 1, represents a horizontal flow in the y-direction. Compute the curl of
v in a clockwise rotation.
Evaluate integral
∬S(∇ × F) ⋅ n = 0
For the following exercises, use Stokes’ theorem to find the circulation of the following vector fields around any smooth,
simple closed curve C.
F = ∇(x sinye z)
F = ⟨y 2z 3, z2xyz 3, 3xy 2z 2⟩
[Hide Solution]
0
Contributors
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is
licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.
Vector fields are an important tool for describing many physical concepts, such as gravitation and electromagnetism, which
affect the behavior of objects over a large region of a plane or of space. They are also useful for dealing with large-scale
behavior such as atmospheric storms or deep-sea ocean currents. In this section, we examine the basic definitions and graphs
of vector fields so we can study them in more detail in the rest of this chapter.
Figure 1 (a) The gravitational field exerted by two astronomical bodies on a small object. (b) The vector velocity field of water
on the surface of a river shows the varied speeds of water. Red indicates that the magnitude of the vector is greater, so the
water flows more quickly; blue indicates a lesser magnitude and a slower speed of water flow.
Figure 1a shows a gravitational field exerted by two astronomical objects, such as a star and a planet or a planet and a moon.
At any point in the figure, the vector associated with a point gives the net gravitational force exerted by the two objects on an
object of unit mass. The vectors of largest magnitude in the figure are the vectors closest to the larger object. The larger object
has greater mass, so it exerts a gravitational force of greater magnitude than the smaller object.
Figure 1b shows the velocity of a river at points on its surface. The vector associated with a given point on the river’s surface
gives the velocity of the water at that point. Since the vectors to the left of the figure are small in magnitude, the water is
flowing slowly on that part of the surface. As the water moves from left to right, it encounters some rapids around a rock. The
speed of the water increases, and a whirlpool occurs in part of the rapids.
Each figure illustrates an example of a vector field. Intuitively, a vector field is a map of vectors. In this section, we study
vector fields in R and R .
2 3
1 9/5/2021 https://math.libretexts.org/@go/page/21053
DEFINITION: vector field
⇀ ⇀
A vector field F in R is an assignment of a two-dimensional vector F(x, y) to each point (x, y) of a subset D of R .
2 2
Vector Fields in R 2
A vector field in R can be represented in either of two equivalent ways. The first way is to use a vector with components that
2
field since both component functions are continuous. What vector is associated with point (0, −1)?
Solution
Substitute the point values for x and y :
⇀
2 ^ ^
F(0, −1) = (2 (−1) + 0 − 4) i + cos(0) j
^ ^
= −2 i + j .
Exercise 1
⇀
Let G(x, y) = x 2 ^ ^
y i − (x + y) j be a vector field in R . What vector is associated with the point (−2, 3)?
2
Hint
Substitute the point values into the vector function.
Answer
⇀
^ ^
G(−2, 3) = 12 i − j
field in R lives in four-dimensional space. Since we cannot represent four-dimensional space visually, we instead draw vector
2
fields in R in a plane itself. To do this, draw the vector associated with a given point at the point in a plane. For example,
2
suppose the vector associated with point (4, −1) is ⟨3, 1⟩. Then, we would draw vector ⟨3, 1⟩ at point (4, −1).
We should plot enough vectors to see the general shape, but not so many that the sketch becomes a jumbled mess. If we were
to plot the image vector at each point in the region, it would fill the region completely and is useless. Instead, we can choose
points at the intersections of grid lines and plot a sample of several vectors from each quadrant of a rectangular coordinate
system in R . 2
There are two types of vector fields in R on which this chapter focuses: radial fields and rotational fields. Radial fields model
2
certain gravitational fields and energy source fields, and rotational fields model the movement of a fluid in a vortex. In a radial
2 9/5/2021 https://math.libretexts.org/@go/page/21053
field, all vectors either point directly toward or directly away from the origin. Furthermore, the magnitude of any vector
depends only on its distance from the origin. In a radial field, the vector located at point (x, y) is perpendicular to the circle
centered at the origin that contains point (x, y), and all other vectors on this circle have the same magnitude.
Solution
To sketch this vector field, choose a sample of points from each quadrant and compute the corresponding vector. The
following table gives a representative sample of points in a plane and the corresponding vectors.
Table 1
⇀ ⇀ ⇀
(x, y) F (x, y) (x, y) F (x, y) (x, y) F (x, y)
1 1 1
(1, 0) ⟨ , 0⟩ (2, 0) ⟨1, 0⟩ (1, 1) ⟨ , ⟩
2 2 2
1 1 1
(0, 1) ⟨0, ⟩ (0, 2) ⟨0, 1⟩ (−1, 1) ⟨− , ⟩
2 2 2
1 1 1
(−1, 0) ⟨− , 0⟩ (−2, 0) ⟨−1, 0⟩ (−1, −1) ⟨− ,− ⟩
2 2 2
1 1 1
(0, −1) ⟨0, − ⟩ (0, −2) ⟨0, −1⟩ (1, −1) ⟨ ,− ⟩
2 2 2
Figure 2a shows the vector field. To see that each vector is perpendicular to the corresponding circle, Figure 2b shows
circles overlain on the vector field.
⇀ x y
Figure 2: (a) A visual representation of the radial vector field F(x, y) =
^
i +
^
j . (b) The radial vector field
2 2
x y
⃗
F (x, y) =
^
i +
^
j with overlaid circles. Notice that each vector is perpendicular to the circle on which it is located.
2 2
Exercise 2
⇀ x y
Draw the radial field F(x, y) = − ^
i −
^
j .
3 3
Hint
Sketch enough vectors to get an idea of the shape.
Answer
3 9/5/2021 https://math.libretexts.org/@go/page/21053
In contrast to radial fields, in a rotational field, the vector at point (x, y) is tangent (not perpendicular) to a circle with radius
−−− −− −
2
r = √x + y
2
. In a standard rotational field, all vectors point either in a clockwise direction or in a counterclockwise
direction, and the magnitude of a vector depends only on its distance from the origin. Both of the following examples are
clockwise rotational fields, and we see from their visual representations that the vectors appear to rotate around the origin.
(0, −1) ⟨−1, 0⟩ (0, −2) ⟨−2, 0⟩ (1, −1) ⟨−1, −1⟩
4 9/5/2021 https://math.libretexts.org/@go/page/21053
⇀ ⇀
Figure 3: (a) A visual representation of vector field F(x, y) = ⟨y, −x⟩. (b) Vector field F(x, y) = ⟨y, −x⟩ with circles
⇀
centered at the origin. (c) Vector F(a, b) is perpendicular to radial vector ⟨a, b⟩ at point (a, b) .
Analysis
⇀
Note that vector F(a, b) = ⟨b, −a⟩ points clockwise and is perpendicular to radial vector ⟨a, b⟩. (We can verify this
assertion by computing the dot product of the two vectors: ⟨a, b⟩ ⋅ ⟨−b, a⟩ = −ab + ab = 0 .) Furthermore, vector
−− −− −−
⟨b, −a⟩ has length r = √a + b . Thus, we have a complete description of this rotational vector field: the vector
2 2
associated with point (a, b) is the vector with length r tangent to the circle with radius r, and it points in the clockwise
direction.
Sketches such as that in Figure 3 are often used to analyze major storm systems, including hurricanes and cyclones. In the
northern hemisphere, storms rotate counterclockwise; in the southern hemisphere, storms rotate clockwise. (This is an effect
caused by Earth’s rotation about its axis and is called the Coriolis Effect.)
5 9/5/2021 https://math.libretexts.org/@go/page/21053
⇀ y x
Sketch vector field F(x, y) = ^
i, −
^
j .
x2 + y 2 x2 + y 2
Solution
⇀
To visualize this vector field, first note that the dot product F(a, b) ⋅ (a ^i + b ^j ) is zero for any point (a, b). Therefore,
⇀
each vector is tangent to the circle on which it is located. Also, as (a, b) → (0, 0) , the magnitude of F(a, b) goes to
infinity. To see this, note that
−−−− −−− −− −−−−−−
2 2
⇀ a +b 1
|| F(a, b)|| = √
2
=√
2 2
.
2
(a +b )
2 a +b
1 ⇀
Since 2 2
→ ∞ as (a, b) → (0, 0) , then || F(a, b)|| → ∞ as (a, b) → (0, 0) . This vector field looks similar to the
a +b
vector field in Example 3, but in this case the magnitudes of the vectors close to the origin are large. Table 3 shows a
sample of points and the corresponding vectors, and Figure 5 shows the vector field. Note that this vector field models the
whirlpool motion of the river in Figure 5(b). The domain of this vector field is all of R except for point (0, 0). 2
Table 3
⇀ ⇀ ⇀
(x, y) F (x, y) (x, y) F (x, y) (x, y) F (x, y)
1 1 1
(1, 0) ⟨0, −1⟩ (2, 0) ⟨0, − ⟩ (1, 1) ⟨ ,− ⟩
2 2 2
1 1 1
(0, 1) ⟨1, 0⟩ (0, 2) ⟨ , 0⟩ (−1, 1) ⟨ , ⟩
2 2 2
1 1 1
(−1, 0) ⟨0, 1⟩ (−2, 0) ⟨0, ⟩ (−1, −1) ⟨− , ⟩
2 2 2
1 1 1
(0, −1) ⟨−1, 0⟩ (0, −2) ⟨− , 0⟩ (1, −1) ⟨− ,− ⟩
2 2 2
⇀ y x
Figure 5: A visual representation of vector field F(x, y) =
^
i −
^
j . This vector field could be used to
2 2 2 2
x +y x +y
Exercise 4
⇀
Sketch vector field F(x, y) = ⟨−2y, 2x⟩. Is the vector field radial, rotational, or neither?
Hint
6 9/5/2021 https://math.libretexts.org/@go/page/21053
⇀
Substitute enough points into F to get an idea of the shape.
Answer
Rotational
(1, −1) ? (Assume the units of speed are meters per second.)
Solution
To find the velocity of the fluid at point (1, −1), substitute the point into ⇀
v :
−2(−1) 2(1)
⇀
v (1, −1) =
^
i +
^ ^ ^
j = i +j .
1 +1 1 +1
–
The speed of the fluid at (1, −1) is the magnitude of this vector. Therefore, the speed is ||^i + ^j || = √2 m/sec.
Exercise 5
Vector field v (x, y) = ⟨4|x|, 1⟩ models the velocity of water on the surface of a river. What is the speed of the water at
⇀
Hint
Remember, speed is the magnitude of velocity.
Answer
−−
√65 m/sec
We have examined vector fields that contain vectors of various magnitudes, but just as we have unit vectors, we can also have
⇀
a unit vector field. A vector field F is a unit vector field if the magnitude of each vector in the field is 1. In a unit vector field,
the only relevant information is the direction of each vector.
7 9/5/2021 https://math.libretexts.org/@go/page/21053
⇀ y x
Show that vector field F(x, y) = ⟨ −−− −−−,− −−− −−−⟩ is a unit vector field.
2 2
√x + y √x + y 2
2
Solution
⇀
To show that F is a unit field, we must show that the magnitude of each vector is 1. Note that
−−−−−−−−−−−−−−−−−−−−−−−−−− −
2 2 −−−−−−−−−−−−−− −
2 2
y x y x
( −−− −−− ) + (− −−− −−−) =√ +
⎷ 2
√x + y
2 2
√x + y
2 x2 + y 2 x2 + y 2
−−−−−−−
2 2
x +y
=√
2 2
x +y
=1
⇀
Therefore, F is a unit vector field.
Exercise 6
⇀
Is vector field F(x, y) = ⟨−y, x⟩ a unit vector field?
Hint
⇀
Calculate the magnitude of F at an arbitrary point (x, y) .
Answer
No.
Why are unit vector fields important? Suppose we are studying the flow of a fluid, and we care only about the direction in
which the fluid is flowing at a given point. In this case, the speed of the fluid (which is the magnitude of the corresponding
velocity vector) is irrelevant, because all we care about is the direction of each vector. Therefore, the unit vector field
associated with velocity is the field we would study.
⇀ Q
If F = ⟨P , Q, R⟩ is a vector field, then the corresponding unit vector field is ⟨
P
⇀
,
⇀
,
R
⇀
⟩ . Notice that if
|| F || || F || || F ||
⇀ ⇀ −−−−− −
F(x, y) = ⟨y, −x⟩ is the vector field from Example 6, then the magnitude of F is √x2 + y 2 , and therefore the corresponding
⇀
unit vector field is the field G from the previous example.
⇀ ⇀ ⇀ ⇀
If F is a vector field, then the process of dividing F by its magnitude to form unit vector field F/|| F|| is called normalizing
⇀
the field F.
Vector Fields in R 3
We have seen several examples of vector fields in R ; let’s now turn our attention to vector fields in R . These vector fields
2 3
can be used to model gravitational or electromagnetic fields, and they can also be used to model fluid flow or heat flow in
three dimensions. A two-dimensional vector field can really only model the movement of water on a two-dimensional slice of
a river (such as the river’s surface). Since a river flows through three spatial dimensions, to model the flow of the entire depth
of the river, we need a vector field in three dimensions.
The extra dimension of a three-dimensional field can make vector fields in R more difficult to visualize, but the idea is the
3
same. To visualize a vector field in R , plot enough vectors to show the overall shape. We can use a similar method to
3
8 9/5/2021 https://math.libretexts.org/@go/page/21053
or
⇀
^ ^ ^
F(x, y, z) = P (x, y, z) i + Q(x, y, z) j + R(x, y, z)k. (4)
⇀
components equal to one. To visualize F, we first consider what the field looks like in the xy-plane. In the xy-plane,
z = 0 . Hence, each point of the form (a, b, 0) has vector ⟨1, 1, 0⟩ associated with it. For points not in the xy-plane but
slightly above it, the associated vector has a small but positive z -component, and therefore the associated vector points
slightly upward. For points that are far above the xy-plane, the z -component is large, so the vector is almost vertical.
Figure 6 shows this vector field.
z
1
-1 -1
x1 1 y
-1
⇀
Figure 6 : A visual representation of vector field F(x, y, z) = ⟨1, 1, z⟩.
Exercise 7
⇀ z
Sketch vector field G(x, y, z) = ⟨2, , 1⟩.
2
Hint
Substitute enough points into the vector field to get an idea of the general shape.
9 9/5/2021 https://math.libretexts.org/@go/page/21053
Answer
z
1
-1
-1
1 y
x1
-1
In the next example, we explore one of the classic cases of a three-dimensional vector field: a gravitational field.
gravitational force attracts toward the origin; that is, the force of object 1 is attractive. Sketch the vector field associated
with this equation.
Solution
−−−−−−−−−−
Since object 1 is located at the origin, the distance between the objects is given by r = √x 2 2
+y +z
2
. The unit vector
⟨x, y, z⟩ x y z ⇀
from object 1 to object 2 is ^
r = , and hence ^
r =⟨ , , ⟩ . Therefore, gravitational vector field F exerted
||⟨x, y, z⟩|| r r r
by object 1 on object 2 is
⇀ x y z
F = −Gm1 m2 ⟨ , , ⟩.
r3 r3 r3
10 9/5/2021 https://math.libretexts.org/@go/page/21053
Figure 7 shows what this gravitational field looks like for a large mass at the origin. Note that the magnitudes of the
vectors increase as the vectors get closer to the origin.
⇀ x y z
Figure 7: A visual representation of gravitational vector field F = −Gm 1 m2 ⟨
3
,
3
,
3
⟩ for a large mass at the origin.
r r r
Exercise 8
The mass of asteroid 1 is 750,000 kg and the mass of asteroid 2 is 130,000 kg. Assume asteroid 1 is located at the origin,
and asteroid 2 is located at (15, −5, 10), measured in units of 10 to the eighth power kilometers. Given that the universal
gravitational constant is G = 6.67384 × 10 m kg s , find the gravitational force vector that asteroid 1 exerts on
−11 3 −1 −2
asteroid 2.
Hint
Follow Example 8 and first compute the distance between the asteroids.
Answer
1.49063 × 10
−18
, 4.96876 × 10 −19
, 9.93752 × 10 −19
N
⇀
We can see from the form in which the gradient is written that ∇f is a vector field in R . Similarly, if f is a function of x, y ,
2
11 9/5/2021 https://math.libretexts.org/@go/page/21053
Example 9 : Sketching a Gradient Vector Field
Use technology to plot the gradient vector field of f (x, y) = x 2
y
2
.
Solution
⇀
The gradient of f is ∇f (x, y) = ⟨2x y 2 2
, 2 x y⟩. To sketch the vector field, use a computer algebra system such as
⇀
Mathematica. Figure 8 shows ∇f .
⇀
Figure 8: The gradient vector field is ∇f , where f (x, y) = x
2
y
2
.
Exercise 9
Use technology to plot the gradient vector field of f (x, y) = sin x cos y.
Hint
Find the gradient of f .
Answer
Consider the function f (x, y) = x y from Example 9. Figure 9 shows the level curves of this function overlaid on the
2 2
function’s gradient vector field. The gradient vectors are perpendicular to the level curves, and the magnitudes of the vectors
12 9/5/2021 https://math.libretexts.org/@go/page/21053
get larger as the level curves get closer together, because closely grouped level curves indicate the graph is steep, and the
magnitude of the gradient vector is the largest value of the directional derivative. Therefore, you can see the local steepness of
a graph by investigating the corresponding function’s gradient field.
2
fy (x, y) = x z − x cos(xy) .
2
fz (x, y) = x y
⇀ ⇀ ⇀
Therefore, ∇f =F and f is a potential function for F.
Exercise 10
⇀
Is f (x, y, z) = x2
cos(yz) + y z
2 2
a potential function for F(x, y, z) = ⟨2x cos(yz), −x 2 2 2
z sin(yz) + 2y z , y ⟩ ?
Hint
Compute the gradient of f .
Answer
No
13 9/5/2021 https://math.libretexts.org/@go/page/21053
Example 11: Verifying a Potential Function
2 2
2 x y y
The velocity of a fluid is modeled by field ⇀
v (x, y) = ⟨xy,
x
2
− y⟩ . Verify that f (x, y) = − is a potential
2 2
function for ⇀
v .
Solution
2
⇀ x
To show that f is a potential function, we must show that ∇f = v
⇀
. Note that fx (x, y) = xy and fy (x, y) = −y .
2
⇀ 2
2
− y⟩ and f is a potential function for ⇀
v (Figure 10).
Exercise 11
Verify that f (x, y) = x 2
y
2
+x is a potential function for velocity field ⇀
v (x, y) = ⟨3 x y
2 2 3
+ 1, 2 x y⟩ .
Hint
Calculate the gradient.
Answer
⇀
⇀
∇f (x, y) = v (x, y)
⇀ ⇀ ⇀
If F is a conservative vector field, then there is at least one potential function f such that ∇f = F . But, could there be more
than one potential function? If so, is there any relationship between two potential functions for the same vector field? Before
answering these questions, let’s recall some facts from single-variable calculus to guide our intuition. Recall that if k(x) is an
⇀ ⇀ ⇀
integrable function, then k has infinitely many antiderivatives. Furthermore, if F and G are both antiderivatives of k , then F
⇀ ⇀ ⇀
and G differ only by a constant. That is, there is some number C such that F(x) = G(x) + C .
⇀ ⇀ ⇀
Now let F be a conservative vector field and let f and g be potential functions for F. Since the gradient is like a derivative, F
⇀
being conservative means that F is “integrable” with “antiderivatives” f and g . Therefore, if the analogy with single-variable
calculus is valid, we expect there is some constant C such that f (x) = g(x) + C . The next theorem says that this is indeed the
case.
To state the next theorem with precision, we need to assume the domain of the vector field is connected and open. To be
connected means if P and P are any two points in the domain, then you can walk from P to P along a path that stays
1 2 1 2
14 9/5/2021 https://math.libretexts.org/@go/page/21053
⇀ ⇀ ⇀
Let F be a conservative vector field on an open and connected domain and let f and g be functions such that ∇f = F
⇀ ⇀
and ∇g = G . Then, there is a constant C such that f = g+C .
Proof
⇀ ⇀ ⇀ ⇀ ⇀ ⇀ ⇀
Since f and g are both potential functions for F, then ∇(f − g) = ∇f − ∇g = F − F = 0 . Let h = f −g , then we
⇀ ⇀
have ∇h = 0 .We would like to show that h is a constant function.
Assume h is a function of x and y (the logic of this proof extends to any number of independent variables). Since
⇀ ⇀
∇h = 0 , we have h (x, y) = 0 and h (x, y) = 0 . The expression h (x, y) = 0 implies that h is a constant function
x y x
with respect to x—that is, h(x, y) = k (y) for some function k . Similarly, h (x, y) = 0 implies h(x, y) = k (x) for
1 1 y 2
some function k . Therefore, function h depends only on y and also depends only on x. Thus, h(x, y) = C for some
2
⇀ ⇀
constant C on the connected domain of F. Note that we really do need connectedness at this point; if the domain of F
came in two separate pieces, then k could be a constant C on one piece but could be a different constant C on the other
1 2
Conservative vector fields also have a special property called the cross-partial property. This property helps test whether a
given vector field is conservative.
∂P ∂Q
= . (7)
∂y ∂x
⇀
If F(x, y, z) = ⟨P (x, y, z), Q(x, y, z), R(x, y, z)⟩ is a conservative vector field in R , then 3
∂P ∂Q
=
∂y ∂x
∂Q ∂R
=
∂z ∂y
∂R ∂P
= .
∂x ∂z
Proof
⇀ ⇀ ⇀
Since F is conservative, there is a function f (x, y) such that ∇f = F . Therefore, by the definition of the gradient,
fx = P and f = Q . By Clairaut’s theorem, f = f , But, f
y xy yx xy = Py and f = Q , and thus P = Q .
yx x y x
Clairaut’s theorem gives a fast proof of the cross-partial property of conservative vector fields in R
3
, just as it did for vector
fields in R . 2
The Cross-Partial Property of Conservative Vector Fields shows that most vector fields are not conservative. The cross-partial
property is difficult to satisfy in general, so most vector fields won’t have equal cross-partials.
⇀
Show that rotational vector field F(x, y) = ⟨y, −x⟩ is not conservative.
Solution
15 9/5/2021 https://math.libretexts.org/@go/page/21053
⇀
Let P (x, y) = y and Q(x, y) = −x. If F is conservative, then the cross-partials would be equal—that is, P would equal y
⇀
Qx .Therefore, to show that F is not conservative, check that Py ≠ Qx . Since Py = 1 and Qx = −1 , the vector field is
not conservative.
Exercise 12
⇀
Show that vector field F(x, y) = xy ^i − x 2 ^
y j is not conservative.
Hint
Check the cross-partials.
Answer
⇀
Py (x, y) = x and Qx (x, y) = −2xy . Since P y (x, y) ≠ Qx (x, y) , F is not conservative.
⇀
be satisfied—that is, if F is conservative, then P would equal Q , Q would equal R , and R would equal P . Note
y x z y x z
that
Py = Qx = Ry = Qz = 0
⇀
so the first two necessary equalities hold. However, Rx (x, y, z) = x
3
and Pz (x, y, z) = 0 so Rx ≠ Pz . Therefore, F is
not conservative.
Exercise 13
⇀
Is vector field G(x, y, z) = ⟨y, x, xyz⟩ conservative?
Hint
Check the cross-partials.
Answer
No
⇀
We conclude this section with a word of warning: The Cross-Partial Property of Conservative Vector Fields says that if F is
⇀ ⇀ ⇀
conservative, then F has the cross-partial property. The theorem does not say that, if F has the cross-partial property, then F is
conservative (the converse of an implication is not logically equivalent to the original implication). In other words, The Cross-
Partial Property of Conservative Vector Fields can only help determine that a field is not conservative; it does not let you
conclude that a vector field is conservative.
3
⇀ x
For example, consider vector field F(x, y) = ⟨x 2
y, ⟩ . This field has the cross-partial property, so it is natural to try to use
3
The Cross-Partial Property of Conservative Vector Fields to conclude this vector field is conservative. However, this is a
⇀
misapplication of the theorem. We learn later how to conclude that F is conservative.
Key Concepts
⇀ ⇀
A vector field assigns a vector F(x, y) to each point (x, y) in a subset D of R or R . F(x, y, z) to each point (x, y, z) in a
2 3
subset D of R . 3
16 9/5/2021 https://math.libretexts.org/@go/page/21053
Vector fields can describe the distribution of vector quantities such as forces or velocities over a region of the plane or of
space. They are in common use in such areas as physics, engineering, meteorology, oceanography.
We can sketch a vector field by examining its defining equation to determine relative magnitudes in various locations and
then drawing enough vectors to determine a pattern.
⇀ ⇀ ⇀
A vector field F is called conservative if there exists a scalar function f such that ∇f = F .
Key Equations
Vector field in R 2
⇀
F(x, y) = ⟨P (x, y), Q(x, y)⟩
or
⇀
^ ^
F(x, y) = P (x, y) i + Q(x, y) j
Vector field in R 3
⇀
F(x, y, z) = ⟨P (x, y, z), Q(x, y, z), R(x, y, z)⟩
or
⇀
^ ^ ^
F(x, y, z) = P (x, y, z) i + Q(x, y, z) j + R(x, y, z) k
Glossary
conservative field
⇀ ⇀
a vector field for which there exists a scalar function f such that ∇f =F
gradient field
⇀ ⇀ ⇀
a vector field F for which there exists a scalar function f such that ∇f =F ; in other words, a vector field that is the
gradient of a function; such vector fields are also called conservative
potential function
⇀ ⇀
a scalar function f such that ∇f =F
radial field
a vector field in which all vectors either point directly toward or directly away from the origin; the magnitude of any vector
depends only on its distance from the origin
rotational field
−−−−−−
a vector field in which the vector at point (x, y) is tangent to a circle with radius r = √x + y ; in a rotational field, all
2 2
vectors flow either clockwise or counterclockwise, and the magnitude of a vector depends only on its distance from the
origin
vector field
⇀
measured in R , an assignment of a vector F(x, y) to each point (x, y) of a subset D of R ; in R , an assignment of a
2 2 3
⇀
vector F(x, y, z) to each point (x, y, z) of a subset D of R 3
17 9/5/2021 https://math.libretexts.org/@go/page/21053
Vector Fields (Exercises)
⇀ ⇀ ⇀
1. The domain of vector field F = F(x, y) is a set of points (x, y) in a plane, and the range of F is a set of what in the plane?
Answer:
Vectors
⇀ ⟨y, x⟩
3. Vector field F = −−−−− − is constant in direction and magnitude on a unit circle.
√x2 + y 2
Answer:
False
⇀ ⟨y, x⟩
4. Vector field F = −−−−−− is neither a radial field nor a rotation field.
2 2
√x + y
For exercises 5 - 13, describe each vector field by drawing some of its vectors.
⇀
5. [T] F(x, y) = x ^i + y ^j
Answer:
⇀
6. [T] F(x, y) = −y ^i + x ^j
⇀
7. [T] F(x, y) = x ^i − y ^j
Answer:
⇀
9. [T] F(x, y) = 2x ^i + 3y ^j
Answer:
⇀
10. [T] F(x, y) = 3 ^i + x ^j
⇀
11. [T] F(x, y) = y ^i + sin x ^j
Answer:
⇀
12. [T] F(x, y, z) = x ^i + y ^j + z k
^
⇀
13. [T] F(x, y, z) = 2x ^i − 2y ^j − 2z k
^
Answer:
For exercises 15 - 20, find the gradient vector field of each function f .
15. f (x, y) = x sin y + cos y
Answer:
⇀
^ ^
F(x, y) = sin(y) i + (x cos y − sin y) j
17. f (x, y, z) = x 2
y + xy + y z
2
Answer:
⇀
^ 2 ^ 2 ^
F(x, y, z) = (2xy + y) i + (x + x + 2yz) j + y k
18. f (x, y) = x2
sin(5y)
Answer:
⇀ 2x 4y
^ ^
F(x, y) = i + j
2 2 2 2
1 +x + 2y 1 +x + 2y
y
20. f (x, y, z) = x cos( z
)
⇀
21. What is vector field F(x, y) with a value at (x, y) that is of unit length and points toward (1, 0)?
Answer:
^ ^
⇀ (1 − x) i − y j
F(x, y) = −−−− −− − −−−−
2 2
√(1 − x ) + y
For exercises 22 - 24, write formulas for the vector fields with the given properties.
22. All vectors are parallel to the x-axis and all vectors on a vertical line have the same magnitude.
23. All vectors point toward the origin and have constant length.
24. All vectors are of unit length and are perpendicular to the position vector at that point.
⇀ ⇀ ⇀
25. Give a formula F(x, y) = M (x, y) ^i + N (x, y) ^j for the vector field in a plane that has the properties that F = 0 at
⇀
(0, 0) and that at any other point (a, b), F is tangent to circle x + y = a + b and points in the clockwise direction with
2 2 2 2
⇀ − −−−−−
magnitude ∥F∥ = √a + b . 2 2
Answer:
⇀
^ ^
F(x, y) = y i − x j
⇀
26. Is vector field F(x, y) = (P (x, y), Q(x, y)) = (sin x + y) ^i + (cos y + x) ^j a gradient field?
⇀ ⇀
27. Find a formula for vector field F(x, y) = M (x, y) ^i + N (x, y) ^j given the fact that for all points (x, y), F points toward
⇀ 10
the origin and ∥F∥ = 2 2
.
x +y
Answer:
⇀ −10
^ ^
F(x, y) = (x i + y j )
2 2 3/2
(x +y )
For exercises 28 - 29, assume that an electric field in the xy-plane caused by an infinite line of charge along the x-axis
r0
is a gradient field with potential function V (x, y) = c ln(
2 2
) , where c > 0 is a constant and r0 is a reference
√x +y
Answer:
⇀ c c r
∥ E∥ = r =
2
|r| |r| |r|
⇀ ⇀ ⇀
A flow line (or streamline) of a vector field F is a curve r (t) such that d r /dt = F( r (t)) . If F represents the velocity field
⇀ ⇀ ⇀
of a moving particle, then the flow lines are paths taken by the particle. Therefore, flow lines are tangent to the vector field.
⇀
For exercises 30 and 31, show that the given curve ⇀
c (t) is a flow line of the given velocity vector field F (x, y, z) .
⇀
30. ⇀
c (t) = ⟨e
2t
, ln |t|,
1
t
⟩, t ≠ 0; F(x, y, z) = ⟨2x, z, −z ⟩
2
⇀
31. ⇀
c (t) = ⟨sin t, cos t, e ⟩;
t
F(x, y, z) = ⟨y, −x, z⟩
Answer:
⇀
⇀ −t ⇀
c '(t) = ⟨cos t, − sin t, e ⟩ = F( c (t))
33.
Answer:
⇀
H
34.
⇀ ⇀ ⇀
For exercises 35 - 38, let ^ ^
F = x i +y j , G = −y ^i + x ^j , and ^ ^
H = −x i + y j . Match the vector fields with their
graphs in (I)−(IV).
⇀ ⇀
a. F + G
⇀ ⇀
b. F + H
⇀ ⇀
c. G + H
⇀ ⇀
d. −F + G
35.
36.
37.
Answer:
⇀ ⇀
a. F + G
38.
TABLE OF DERIVATIVES
TABLE OF INTEGRALS
TABLE OF LAPLACE TRANSFORMS
1 9/15/2021
Table of Derivatives
1 9/5/2021 https://math.libretexts.org/@go/page/21065
Table of Integrals
1 9/5/2021 https://math.libretexts.org/@go/page/21066
Table of Laplace Transforms
1 9/5/2021 https://math.libretexts.org/@go/page/21067
Index
A G P
acceleration vector general form of the equation of a plane parametric equations of a line
Equations of Lines and Planes in Space Equations of Lines and Planes in Space
Acceleration and Kepler's Laws
Motion in Space gradient plane curve
arc length Directional Derivatives and the Gradient Vector-Valued Functions and Space Curves
Arc Length and Curvature graph of a function of two variables principal unit normal vector
Functions of Multiple Variables Arc Length and Curvature
B principal unit tangent vector
binormalbinormal vector H The Calculus of Vector-Valued Functions
Arc Length and Curvature helix projectile motion
Vector-Valued Functions and Space Curves Acceleration and Kepler's Laws
Motion in Space
C
component functions I
iterated integration
R
Vector-Valued Functions and Space Curves
Iterated Integrals and Area
radius of curvature
contour map Arc Length and Curvature
Functions of Multiple Variables
reparameterization
critical point of a function of two K Vector-Valued Functions and Space Curves
variables Kepler’s laws of planetary motion
Acceleration and Kepler's Laws
Optimization of Functions of Several Variables
Motion in Space S
Critical Points saddle point
Optimization of Functions of Several Variables
curl
L Optimization of Functions of Several Variables
Lagrange multiplier Scalar Equation of a Plane
Divergence and Curl
Lagrange Multipliers Equations of Lines and Planes in Space
curvature skew lines
Arc Length and Curvature
level curve of a function of two
Equations of Lines and Planes in Space
cylindrical coordinate system variables
smooth
Cylindrical and Spherical Coordinates Functions of Multiple Variables
Arc Length and Curvature
level surface of a function of three
space curve
D variables Vector-Valued Functions and Space Curves
direction vector Functions of Multiple Variables Spherical Coordinates
Equations of Lines and Planes in Space Cylindrical and Spherical Coordinates
directional derivative M surface
Directional Derivatives and the Gradient method of Lagrange multipliers Functions of Multiple Variables
discriminant Lagrange Multipliers Symmetric Equations of a Line
Optimization of Functions of Several Variables Multiple Integration Equations of Lines and Planes in Space
Distance between a Plane and a Point Iterated Integrals and Area
Equations of Lines and Planes in Space T
Divergence N tangent vector
Divergence and Curl normal component of acceleration The Calculus of Vector-Valued Functions
Divergence Theorem Acceleration and Kepler's Laws tangential component of acceleration
The Divergence Theorem Motion in Space
Acceleration and Kepler's Laws
DOUBLE INTEGRAL IN POLAR normal plane Motion in Space
COORDINATES Arc Length and Curvature
Double Integration with Polar Coordinates normal vector V
Equations of Lines and Planes in Space vector equation of a line
F Equations of Lines and Planes in Space
Fermat’s Theorem for Functions of Two O Vector Equation of a Plane
Variables objective function Equations of Lines and Planes in Space
Optimization of Functions of Several Variables
Lagrange Multipliers vector parameterization
Frenet frame of reference optimization problem Vector-Valued Functions and Space Curves
Arc Length and Curvature
Lagrange Multipliers velocity vector
FrenetFrenet frame of reference osculating circle Acceleration and Kepler's Laws
Arc Length and Curvature Motion in Space
Arc Length and Curvature
osculating plane vertical trace
function of two variables
Arc Length and Curvature Functions of Multiple Variables
Functions of Multiple Variables
Glossary