Davvaz B Vectors and Functions of Several Variables
Davvaz B Vectors and Functions of Several Variables
Davvaz
Vectors and
Functions
of Several
Variables
Vectors and Functions of Several Variables
Bijan Davvaz
© The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature
Singapore Pte Ltd. 2023
This work is subject to copyright. All rights are solely and exclusively licensed by the Publisher, whether
the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse
of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and
transmission or information storage and retrieval, electronic adaptation, computer software, or by similar
or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication
does not imply, even in the absence of a specific statement, that such names are exempt from the relevant
protective laws and regulations and therefore free for general use.
The publisher, the authors, and the editors are safe to assume that the advice and information in this book
are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or
the editors give a warranty, expressed or implied, with respect to the material contained herein or for any
errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional
claims in published maps and institutional affiliations.
This Springer imprint is published by the registered company Springer Nature Singapore Pte Ltd.
The registered company address is: 152 Beach Road, #21-01/04 Gateway East, Singapore 189721,
Singapore
Preface
In this book, we study vector functions and functions of several variables. The major
part of this book stems from the course in general mathematics given by the author for
many years at Yazd University. The book is intended to serve as a textbook of Calculus
(II and III) exercises with solutions for the calculus courses that are usually taken by
first year students. Indeed, it can be used by all students in Mathematics, Statistics,
Computer Science, Engineering and Basic Sciences. A total of 500 problems have
been selected from many problems in different books. In choosing problems, three
major criteria have been considered to be challenging, interesting and educational.
So, most of the issues have technical and educational aspects. Over the years, in
teaching general mathematics have encountered many challenging exercises which
have been solved with much time. Most of these exercises have been collected over
the last 30 years from different references. Although some of the references that
have been used are listed at the end of the book, I do not know the sources and the
main creators of most exercises and problems. So, my duty is to thank everyone
who has designed these issues for the first time. The book is based on problems,
although it is assumed that the students have learned the classical contents from
other textbooks, at the same time, at the beginning of each chapter, some necessary
definitions, concepts and theorems are listed. Moreover, as the reader will soon
see, there are many exercises at the end of each chapter. They are divided into two
categories: easier and harder. The purpose of these exercises is to allow students to
test their assimilation of the material, to challenge their mathematical ingenuity and
to be a means of developing mathematical insight, intuition and techniques.
The book is organized into ten chapters. Chapter 1 discusses vectors and analytic
geometry, like properties of vectors, lines and planes in space, cylinder and surface
of revolution, quadric surfaces, polar, cylindrical and spherical coordinates. Vector
functions and parametric equations, velocity and acceleration, unit tangent vector,
unit normal vector and curvature are discussed in Chap. 2. Functions of several
variables are presented in Chap. 3. In this chapter, we investigate the limits and
continuity of these functions. In Chap. 4, we study partial derivatives, directional
derivation, gradient vector, tangent plane and normal line to a surface. The next
objective in Chap. 5 is differentiability and differential. In particular, applications
v
vi Preface
of chain rule and Taylor series are discussed. The main objective in Chap. 6 is the
extreme of functions of several variables. We study derivative tests for local extreme
and Lagrange multiplier. In Chap. 7, we investigate vector fields, calculus of vector
fields, total derivative, conservative vector fields, divergence and curl. In Chap. 8,
we study line integrals, work as a line integral and line integrals independent of path.
The main subject of Chap. 9 is multiple integrals like double integral, triple integral,
mass and moment of inertia. The aim of the last chapter (i.e., Chap. 10) is devoted to
surface integrals. The study focuses on Green’s, Divergence and Stoke’s theorems.
Finally, I hope the readers enjoy reading this book and carefully selected problems
and hope they will find this issue informative and helpful.
vii
viii Contents
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Chapter 1
Vectors and Analytic Geometry
We present the definitions and results related to vectors in space. A vector in space
is an ordered triple of real numbers (x, y, z). The numbers x, y and z are called the
component of the vector (x, y, z). Usually, we may use the notation (x, y, z) as a
vector or as a point in the space, and must be careful to avoid confusing the notation.
A vector can be represented by a directed line segment. If A = (a1 , a2 , a3 ), then the
directed line segment having its initial points at origin and its terminal point at the
point (a1 , a2 , a3 ) is called the position representation of A. The zero vector is the
vector (0, 0, 0). The magnitude of A denoted byA is just the distance from the
origin to terminal point (a1 , a2 , a3 ), i.e., A = a12 + a22 + a32 .
Let A = (a1 , a2 , a3 ) and B = (b1 , b2 , b3 ) be two vectors and c be a real number
(scalar). Then
A + B = (a1 + b1 , a2 + b2 , a3 + b3 );
A − B = (a1 − b1 , a2 − b2 , a3 − b3 );
c A = (ca1 , ca2 , ca3 ).
If A, B and C are any vectors and c and d are any real numbers, then we have
(1) A + B = B + A (commutative law);
(2) (A + B) + C = A + (B + C) (associative law);
(3) A + 0 = 0 + A = 0 (existence of additive identity);
(4) A + (−A) = (−A) + A = 0 (existence of negative);
(5) (cd)A = c(d A);
(6) c(A + B) = c A + cB;
(7) (c+d)A=cA+dA.
By a basis, we mean any three fixed vectors e1 , e2 and e3 such that any arbitrary vector
−
→
A has a unique representation of the form A = a1 e1 + a2 e2 + a3 e3 . If i = (1, 0, 0),
−
→ −
→
j = (0, 1, 0) and k = (0, 0, 1), then we can write
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2023 1
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1_1
2 1 Vectors and Analytic Geometry
−
→ −
→ −
→
A = a1 (1, 0, 0) + a2 (0, 1, 0) + a3 (0, 0, 1) = a1 i + a2 j + a3 k ,
−
→ − → −
→
and so i , j and k are basis vectors.
The direction of a non-zero vector is given by three angles α, β and γ measured
from the positive x, y and z axes, respectively, to the position representation of the
vector. It can be shown that
a1 a2 a3
cos α = , cos β = and cos γ = ,
A A A
and cos2 α + cos2 β + cos2 γ = 1. The numbers cos α, cos β and cos γ are called the
direction cosines of the vector A.
−
→ −
→ −
→
If A = a1 i + a2 j + a3 k is a non-zero vector, then the unit vector U having
the same direction as A is given by
a1 −
→ a2 −
→ a3 −
→
U= i + j + k.
A A A
If A = (a1 , a2 , a3 ) and B = (b1 , b2 , b3 ) are two vectors, then the dot product (or
scalar product) of A and B is denoted by A · B and is given by A · B = a1 b1 +
a2 b2 + a3 b3 . It is easy to see that A · A = A2 . If θ is the angle between the two
non-zero vectors A and B, then A · B = A b cos θ.
Two non-zero vectors are parallel if and only if one of the vectors is a scalar
multiple of the other.
If A and B are two vectors, then A and B are said to be orthogonal if and only if
A · B = 0.
If A = (a1 , a2 , a3 ) and B = (b1 , b2 , b3 ), then the cross product (or vector product)
of A and B, denoted by A × B, is given by
− →
→ −
→ −
j k
i
A × B = a1 a2 a3 = a2 b3 − a3 b2 , a3 b1 − a1 b3 , a1 b2 − a2 b1 .
b b b
1 2 3
P rojV U
U ·V
Pr oj V U = V (vector component of U along V ).
V 2
Equations (1.1) represent the line , and these equations are called parametric equa-
tions of the line. The numbers a, b and c are called direction numbers of the line .
If none of the numbers a, b or c is zero, then we can eliminate t from (1.1) and get
x − x0 y − y0 z − z0
= = . (1.2)
a b c
4 1 Vectors and Analytic Geometry
These equations are called symmetric equations of the line. If one of the numbers a,
b or c is zero, we do not use the symmetric equations (1.2). For example, if b = 0,
then the equations of the line are
x − x0 z − z0
= and y = y0 .
a c
Distance between a point and a line in space: Given a line in space and a point
P not on . Suppose that A is any vector parallel to and Q is any point on . Then,
the distance d between P and is given by
−→
A × Q P
d= .
A
A plane in space is determined by knowing a point on the plane and a vector that is
perpendicular or normal to the plane. Suppose that the plane S passes through a point
−
→ −
→ −
→
P0 = (x0 , y0 , z 0 ) and is normal to the non-zero vector N = a i + b j + c k . Then
−−→
S is the set of all points P = (x, y, z) for which P0 P is orthogonal to N ; see Fig. 1.2.
−−→
So, we have N · P P0 = 0. This gives that a(x − x0 ) + b(y − y0 ) + c(z − z 0 ) = 0.
−
→
Equations for a plane: The plane through P0 = (x0 , y0 , z 0 ) normal to N = a i +
−
→ −
→
b j + c k has
−−→
Vector equation: N · P P0 = 0;
Component equation: a(x − x0 ) + b(y − y0 ) + c(z − z 0 ) = 0;
Component equation simplified: ax + by + cz + d = 0.
Two planes are parallel if and only if their normals are parallel. Two planes that
are not parallel intersect in a line.
Distance between a point and a plane: The distance d between the point P0 =
(x0 , y0 , z 0 ) and the plane S with equation ax + by + cz + d = 0 is given by
P = (x, y, z)
• •
•
P0 = (x0 , y0 , z0 )
1.3 Cylinder and Surface of Revolution 5
|ax0 + by0 + cz 0 + d|
d= √ .
a 2 + b2 + c2
The angle between two intersecting planes is defined to be the (acute) angle
determined by their normal vectors.
Let C be a plane curve, and let be a line which is not parallel to (or in) the plane
of C. Then the surface S constructed from all lines through C parallel to is called
a cylinder. The curve C is called the directrix of the cylinder S, and the infinitely
many lines parallel to of which S is formed are called rulings (or generators) of S.
In three-dimensional space, the graph of an equation in two of the three variables
x, y and z is a cylinder whose rulings are parallel to the axis associated with the
missing variable and whose directrix is a curve in the plane associated with the two
variables appearing in the equation.
Each surface in Fig. 1.3 is called an elliptic cylinder.
The directrix for the left surface is the ellipse x 2 /a 2 + y 2 /b2 = 1 and the ruling
is parallel to z-axis, while the directrix for the right surface is the ellipse y 2 /b2 +
z 2 /c2 = 1 and the ruling is parallel to x-axis. The left surface in Fig. 1.4 shows
a parabolic cylinder whose directrix is the parabola z = ax 2 in the x z-plane and
the ruling is parallel to y-axis; and the right surface is a hyperbolic cylinder and its
directrix is the hyperbola y 2 /b2 − z 2 /c2 = 1 in the yz-plane and the ruling is parallel
to x-axis.
The surface generated by revolving a plane curve about a line in its plane is called
a surface of revolution. The fixed line is called the axis of the surface of revolution,
Fig. 1.4 From left to right, parabolic cylinder and hyperbolic cylinder
and the plane curve is called the generating curve. Below, we present the general
equation for some surface of revolution:
A sphere is the set of all points in space equidistant from a fixed point. The fixed
point is called the center of the sphere and the measure of the constant distance is
called the radius of the sphere. An equation of the sphere of radius r and center at
(a, b, c) is (x − a)2 + (y − b)2 + (z − c)2 = r 2 .
1.5 Polar, Cylindrical and Spherical Coordinates 7
Ax 2 + By 2 + C z 2 + Dx y + E x z + F yz + Gx + H y + I z + J = 0,
where the coefficients A, B, C, D, E and F are not all zero. The graph of any
such equations is called a quadric surface. These surfaces correspond to the conics
in the plane. The simplest types of quadric surfaces are the parabolic, elliptic and
hyperbolic cylinders. There exist six other types of quadric surfaces, which are listed
as follows:
x2 y2 z2
2
+ 2 + 2 =1 Ellipsoid
a b c
x2 y2
+ =z Elliptic paraboloid
a2 b2
x2 y2 z2
+ − =1 Hyperboloid of one sheet
a2 b2 c2
x2 y2 z2
2
+ 2 − 2 = −1 Hyperboloid of two sheets
a b c
x2 y2 z2
+ − =0 Elliptic cone
a2 b2 c2
x2 y2
2
− 2 =z Hyperbolic paraboloid
a b
The graphs of the above quadric surfaces are shown in Fig. 1.5. If all three numbers
a, b and c in the equation of an ellipsoid are equal, the ellipsoid is a sphere.
Fig. 1.5 Quadric surfaces from left to right, top to bottom: ellipsoid; elliptic paraboloid; hyperboloid
of one sheet; hyperboloid of two sheets; elliptic cone; hyperbolic paraboloid
1.5 Polar, Cylindrical and Spherical Coordinates 9
P = (r, θ)
x
•
r y
θ
O Polar axis
be the origin and the positive x-axis of the rectangular coordinates system. Then,
it is apparent from Fig. 1.6 that the point P with polar coordinates (r, θ) has the
rectangular coordinates
y y
θ x θ x
• • • •
Q(−r, θ) P (r, −θ) Q(r, π + θ) P (−r, π − θ)
•
P0
α
θ x
O
In the polar coordinate system, the area of the region between the origin and the
curves r = f (θ), α ≤ θ ≤ β is
β
1 2
A= r dθ.
α 2
z y
O
r x
θ
y
x
x
θ
y
x
N
M
1. Use vectors to prove that the segment joining the midpoints of two sides of a
triangle is half as long as the third side and parallel to it (see Fig. 1.11).
−−→ −→ −−→ −−→ −→
Solution. In the triangle M AN , we have M A + AN = M N . Since M A = 21 B A and
−→ 1 −→
AN = 2 AC, it follows that
−→ −→ −−→
B A + AC = 2 M N . (1.4)
D
C
−→ −→
−−→ −→ 1 −→ −→ 1 −→ −→ O A + OC
O M = O A + AC = O A + OC − O A =
2 2 2
1 1
= (−2, 3) + (4, −5) = (2, −2) = (1, −1).
2 2
So, we obtain
−→ −−→ 1 −→
O B = O M + D B = (1, −1) + (4, 3) = (5, 4),
2
−−→ −−→ 1 −→
O D = O M − D B = (1, −1) − (4, 3) = (−3, −4).
2
Therefore, we deduce that the other vertices of the square are B = (5, 2) and D =
(−3, −4).
3. Show that if the midpoints of the sides of a quadrilateral are connected, then the
resulting quadrilateral is a parallelogram.
Solution. We show that the quadrilateral M N P Q in Fig. 1.13 is a parallelogram.
−−→ −→ −−→ −−→ −−→ −−→ −−→ −→
Since O M = O A + AM and O M = O D + D M, it follows that O M = 1/2 O A +
−−→ −−→ −→ −→
O D . Similarly, we have O N = 1/2 O A + O B . Hence, we obtain
M• • •P
O
D •
Q
C
Q
S
A B
R
−−→ −→ −−→
From (1.6) and (1.7), we conclude that M N = Q P. Similarly, we see that M Q =
−→
N P. Since the opposite sides of the quadrilateral M N P Q are equal in length and
are parallel, it follows that this quadrilateral is a parallelogram.
4. Use vectors to prove that the altitudes of a triangle intersect in a common point.
Solution. Look at Fig. 1.14. In the triangle ABC, assume that the altitudes A P and
B Q intersect in the point S. We show that the line C R passing through the point S
is perpendicular to AB. We have
−
→ −→ −
→ −→
AS · BC = 0 and B S · AC = 0.
−
→ −→
Now, it is enough to show that C S · AB = 0. We can write
1.6 Solved Problems 15
x
O
−
→ −→ − → −→ −→
C S · AB = C S · ( AC + C B)
−→ −→ − → −→
= C S · AC + C S · C B
−→ − → −→ −→ − → −→
= (C B + B S) · AC + (C A + AS) · C B
−→ −→ − → −→ −→ −→ − → −→
= C B · AC + B S · AC + C A · C B + AS · C B.
−→ −→
Since C A = − AC, it follows that
−
→ −→ −→ −→ −→ −→
C S · AB = C B · AC + (− AC) · C B = 0.
• •
O O
−→ −→ −→ −→ −→ −→
or equivalently (1 − t) O A − (1 − t) O B = B P and t O A − t O B = P A. Hence, we
−→ −→ −→ −→ −→ −→ −→ −→ −→
have (1 − t)( O A − O B) = B P and t ( O A − O B) = P A. Since O A − O B = B A,
−→ −→ −→ −→
it follows that (1 − t) B A = B P and t B A = P A. This completes the proof. Clearly,
if P is the midpoint of the segment AB, then t = 1/2.
6. Use vectors to show that the line joining the centers of two intersecting circles is
perpendicular to the line joining the points of intersection.
Solution. In Fig. 1.16, let the coordinates of A, B, O and O be as follows:
−→ −−→
AB · O O = (x2 − x1 )a. (1.8)
−−→ −−→
Since | O A| = | O B|, it follows that
Subtracting both sides of (1.9) and (1.10) gives (x1 − a)2 − x12 = (x2 − a)2 − x22 .
This implies that
− ax1 + ax2 = 0. (1.11)
−−→ −→
Now, from (1.8) and (1.11), we conclude that O O · AB = 0. Therefore, the vectors
−−→ −→
O O and AB are perpendicular, as desired.
7. (1) Provethat the midpoint of the line segment from P = (x1 , y1 , z 1 ) to Q =
x1 + x2 y1 + y2 z 1 + z 2
(x2 , y2 , z 2 ) is , , .
2 2 2
(2) Find the length of the medians of the triangle with vertices A = (1, 2, 3),
B = (−2, 0, 5) and C = (4, 1, 5).
−→
Solution. (1) We have P Q = (x2 − x1 , y2 − y1 , z 2 − z 1 ). Let M be the midpoint
between P and Q, and O be the origin. We can write
−−→ −→ 1 −→ 1
O M = O P + P Q = (x1 , y1 , z 1 ) + (x2 − x1 , y2 − y1 , z 2 − z 1 )
2 2
x + x y + y z + z
1 2 1 2 1 2
= , , .
2 2 2
(2) We compute the midpoints using the part (1). Suppose that M AB , M BC and
M AC are midpoints between A, B, between B, C and between A, C, respectively.
Then, we have
8. A wrench 30 cm long lies along the positive y -axis and grips a bolt at the origin.
A force is applied in the direction (0, 3, −4) at the end of the wrench; see Fig. 1.17.
Find the magnitude of the force needed to supply 100 N · m of torque to the bolt.
Solution. We have to find the force F. Suppose that D = (0, 3, −4). The first task is to
find the sine of the angle between the direction of the force and the y-axis. The force
is applied to the wrench at position P, so the displacement vector is R = (0, 0.3, 0).
Then, we can write −
→ −
→ − →
i j k
−
→
D × R = 0 3 −4 = 1.2 i .
0 0.3 0
18 1 Vectors and Analytic Geometry
Since D × R = D R sin θ, it follows that sin θ = 1.2/1.5 = 0.8. Finally, we
obtain
R × F 100
F = = = 416.66 N.
R sin θ 0.3 × 0.8
−
→ − → −
→ − →
9. Find a unit vector that is orthogonal to both i + j and i + k .
−
→ −
→ −
→
Solution. Let U = a i + b j + c k be the desired unit vector. Then, we have
−
→ −
→ −
→ − → − → −
→ −
→ −
→ − → − →
(a i + b j + c k ) · ( i + j ) = a + b and (a i + b j + c k ) · ( i + k ) = a + c.
−
→ − → −
→
We want to determine the unit vector U orthogonal to both i + j and i +
−
→
k ; hence we put a + b = 0 and a + c = 0. This gives that a = −b = −c, and so
−
→ −
→ −
→ −
→ − → − → −
→
the vector U is of the form a i − a j − a k = a( i − j − k ). Since i −
−
→ − → √ √
j − k = 3, it follows that a = 1/ 3. Consequently, the desired vector is U =
√ − → − → − →
1/ 3( i − j − k ).
10. Given three non-zero vectors A, B and C in R3 . Assume the angle between
A and C is equal to the angle between B and C. Prove that C is orthogonal to the
vector BA − AB.
Solution. Let θ1 be the angle between A and C, and θ2 be the angle between B and
C. We have
A·C B ·C
= ,
A B
11. Show that the vector V = BA + AB bisects the angle between A and B.
Solution. Let θ1 be the angle between A and V , and θ2 be the angle between B and
V . Then, we have
and
V · B = (BA + AB) · B = BA · B + AB2 . (1.14)
V·A V·B
= . (1.15)
A B
If the angle between A and B is π/8, find the angle between B and C.
Solution. We can write (A + C) − B · (A + C) − B = (A + C) + B · (A +
C) + B . This implies that −2(A + C) · B = 2(A + C) · B, and so we get −A · B =
B · C. Now, let θ be the angle between B and C. Then, we obtain −A B cos(π/8)
= B C cos θ, or equivalently
A · B = (tU + V ) · (U + t V ) = tU · U + t 2 U · V + V · U + t V · V
1 1 3
= tU 2 + (t 2 + 1)U · V + tV 2 = t + (t 2 + 1) + t = (t + 2)2 − .
2 2 2
The function f (t) = (t + 2)2 /2 − 3/2 is a parabola and there is no maximum value.
√ at t = −2. The zero occurs when f (t) = 0.
There exists a minimum value occurring
Hence, if f (t) = 0, then t = −2 ± 3.
14. Prove by using vectors that the points A = (2, 2, 2), B = (2, 0, 1), C =
(4, 1, −1) and D = (4, 3, 0) are vertices of a rectangle.
Solution. We obtain
−→ √
AB = (2 − 2)2 + (0 − 2)2 + (1 − 2)2 = 5,
−→ √
DC = (4 − 4)2 + (3 − 1)2 + (0 + 1)2 = 5,
−→
AD = (4 − 2)2 + (3 − 2)2 + (0 − 2)2 = 3,
−→
BC = (4 − 2)2 + (1 − 0)2 + (−1 − 1)2 = 3.
−→ −→ −→ −→ −→
So, we see that AB = DC and AD = BC. Since AB = (0, −2, −1)
−→ −→ −→ −→
and AD = (2, 1, −2), it follows that AB · AD = 0 − 2 + 2 = 0; and so AB is
−→ −→ −→ −→ −→
orthogonal to AD. Similarly, we observe that B A · BC = 0, C B · C D = 0 and
−→ −→
DC · D A = 0. This yields that ABC D is a rectangle.
15. Let A, B and C be three vectors in space. If A ·B = A · C and A × B = A × C,
does it follows that B=C?
Solution. Suppose that B − C = 0. By rearranging the equations, we have A · (B −
C) = 0 and A × (B − C) = 0. Since A · (B − C) = 0, it follows that B − C is
orthogonal to A. Since A × (B − C) = 0, it follows that B − C is parallel to A.
This is a contradiction. Therefore, we conclude that B − C = 0, or equivalently
B = C.
16. Let A, B and C be three vectors in space.
(1) If A + B + C = 0, prove that A × B = B × C = C × A;
(2) If A × B = C × D and A × C = B × D, prove that A − D and B − C are
parallel.
Solution. (1) We have
A × B = (−B − C) × B = −B × B − C × B = −C × B = B × C,
B × C = (−A − C) × C = −A × C − C × C = −A × C = C × A.
(A − D) × (B − C) = A × B − A × C − D × B + D × C
= (A × B + D × C) − (A × C + D × B)
= (A × B − C × D) − (A × C − B × D) = 0 − 0 = 0.
B2
V 2 cos2 θ + sin2 θ = 1 + .
A2
19. Use the vectors to show that any angle inscribed in a semicircle is a right angle
(see Fig. 1.18).
−→ −→ −→ −→ −→ −→
Solution. It is easy to see that A P = O P − O A and B P = O P − O B. Now, we
obtain
22 1 Vectors and Analytic Geometry
A O B
P
B
θ
A Q
A+B
O
−→
Note that O P and O A are the radii of the semicircle. Therefore, the vectors A P and
−→
B P are orthogonal, and the result follows.
20. Derive the cosine rule for a triangle ABC, that is, show that
Solution. Suppose that A and B represent two sides of a triangle and θ is the angle
between them. Then, the third side is the vector A + B; see Fig. 1.19.
1.6 Solved Problems 23
Now, we have
(A + B) · (A + B) = A · A + A · B + B · A + B · B,
and so
A + B2 = A2 + B2 + 2 A · B
= A2 + B2 + 2A B cos(π − θ).
n
n
n(n + 1)
A2 = n, B2 = k 2 and A · B = k= .
k=1 k=1
2
n
To compute k 2 , we can write
k=1
n
n−1
n−1
S= k3 = (k + 1)3 = (k 3 + 3k 2 + 3k + 1)
k=1 k=0 k=0
n−1 (n − 1)n
= S − n3 + 3 k2 + 3 + n.
k=1
2
n
(n + 1)(2n + 1)n
This implies that k2 = . So, we have
k=1
6
n(n + 1) √ 1
A·B 3 1+
cos θ = =
2 =
n ,
A B √ (n + 1)(2n + 1)n 2 1 1
n 1+ 1+
6 n 2n
22. Find all vectors that have a given length a and make an angle π/3 with the
positive x-axis and the angle π/4 with the positive z-axis.
Solution. We know that the direction of a vector in space is uniquely determined
by three direction angles α, β and γ. These angles satisfy the equation cos2 α +
cos2 β + cos2 γ = 1. Since α = π/3 and γ = π/4, it follows that
1 1 1
+ cos2 β + = 1 or cos β = ± .
4 2 2
On the other hand, a unit vector with these three direction angles is of the form
−
→ −
→ −
→
U = cos α i + cos β j + cos γ k . Since the√required vector must be of length a,
we conclude that A = aU = a(1/2, ±1/2, 1/ 2).
23. A line makes angles α, β, γ and δ with the diagonals of a cube. Prove that
4
cos2 α + cos2 β + cos2 γ + cos2 δ = .
3
Solution. Let O ABC E F G D be the cube with each side of length a; see Fig. 1.20.
The diagonals of the cube are O F, AE, C G and D B. The direction cosines of the
diagonal O F which is the line joining two points O and F are
d −0 d −0 d −0
√ , √ and √ ,
d +d +d
2 2 2 d +d +d
2 2 2 d + d2 + d2
2
√ √ √
which are
√ 1/ 3,√1/ 3, √1/ 3. √Similarly,
√ the direction
√ cosines
√ of
√ AE, C G√ and D B
are −1/ 3, 1/ 3, 1/ 3; 1/ 3, −1/ 3, 1/ 3 and 1/ 3, 1/ 3, −1/ 3. Let a,
b and c be the direction cosines of the given line which makes angles α, β, γ and δ
G F
y
O C
A B
x
1.6 Solved Problems 25
a+b+c −a + b + c
cos α = √ , cos β = √ ,
3 3
a−b+c a+b−c
cos γ = √ , cos δ = √ .
3 3
1 2 4
cos2 α + cos2 β + cos2 γ + cos2 δ = 4(a + b2 + c2 ) = .
3 3
24. Let A, B and C be three vectors in space. Verify by direct calculation that
A × (B × C) = B(A · C) − C(A · B).
Solution. Each of the vectors can be written in component form as follows:
−
→ −
→ −
→ −
→ −
→ −
→ −
→ −
→ −
→
A = a1 i + a2 j + a3 k , B = b1 i + b2 j + b3 k and C = c1 i + c2 j + c3 k .
−
→ −
→ −
→
We have B × C = (b2 c3 − b3 c2 ) i − (b1 c3 − b3 c1 ) j + (b1 c2 − b2 c1 ) k , and so
−
→ −
→ −
→
i j k
A × (B × C) =
a1 a2 a3
b c −b c b c −b c b c −b c
2 3 3 2 3 1 1 3 1 2 2 1
−
→ (1.16)
= (a2 b1 c2 − a2 b2 c1 − a3 b3 c1 + a3 b1 c3 ) i
−
→
−(a1 b1 c2 − a1 b2 c1 − a3 b2 c3 + a3 b3 c2 ) j
−
→
+(a1 b3 c1 − a1 b1 c3 − a2 b2 c3 + a2 b3 c2 ) k .
B(A · C) − C(A · B)
−
→ −
→ −
→
= (b1 i + b2 j + b3 k )(a1 c1 + a2 c2 + a3 c3 )
−
→ −
→ −
→
−(c1 i + c2 j + c3 k )(a1 b1 + a2 b2 + a3 b3 )
−
→
= (b1 a1 c1 + b1 a2 c2 + b1 a3 c3 − c1 a1 b1 − c1 a2 b2 − c1 a3 b3 ) i
−
→
+(b2 a1 c1 + b2 a2 c2 + b2 a3 c3 − c2 a1 b1 − c2 a2 b2 − c2 a3 b3 ) j
−
→
+(b3 a1 c1 + b3 a2 c2 + b3 a3 c3 − c3 a1 b1 − c3 a1 b1 − c3 a2 b2 − c3 a3 b3 ) k ,
−
→
B(A · C) − C(A · B) = (b1 a2 c2 − c1 a2 b2 − c1 a3 b3 + b1 a3 c3 ) i
−
→
+(−c2 a1 b1 + b2 a1 c1 + b2 a3 c3 − c2 a3 b3 ) j (1.17)
−
→
+(b3 a1 c1 − c3 a1 b1 − c3 a2 b2 + b3 a2 c2 ) k .
A term-by-term comparison of (1.16) and (1.17) shows they are the same, and we
have proven the identity.
25. Let M be a parallelepiped of volume V. Find the volumes of all parallelepipeds
whose adjacent edges are diagonals of the adjacent faces of M.
Solution. Assume that A, B and C are the adjacent sides of M. Then, we have
V = A · (B × C). The adjacent faces of M are parallelograms with adjacent sides
being the pairs of these vectors. So, we deduce that the diagonals of the faces are
D1 = A + B, D2 = A + C and D3 = B + C. Using the properties of product of
vectors, the requested volume equals
1
S= (a + b + c)(a + b − c)(c + a − b)(c − a + b) = s(s − a)(s − b)(s − c),
16
c1 A + c2 B = 0 ⇒ c1 = c2 = 0,
c1 A + c2 C = 0 ⇒ c1 = c2 = 0,
c1 B + c2 C = 0 ⇒ c1 = c2 = 0.
Therefore, any two vectors of the set {A, B, C} are linearly independent.
29. Let A, B and C be three linearly independent vectors. Prove that A+B, B+C and
C+A are linearly independent.
Solution. We consider the equation c1 (A + B) + c2 (B + C) + c3 (C + A) = 0.
Then, we can rewrite the equation as (c1 + c3 )A + (c1 + c2 )B + (c2 + c3 )C = 0.
Since A, B and C are linearly independent, it follows that
c1 + c3 = 0, c1 + c2 = 0 and c2 + c3 = 0.
(2) We have
B · C = B · (B ×
A) − B = B · (B × A) − B · B = −B2 ,
C2 = C · C = (B × A) − B · (B × A) − B = B × A2 + B2 .
B ·C −B2
cos θ = = 1/2
B C B B × A2 + B2
−B −1
= 1/2 = ,
B A sin α + B
2 2 2 2 A sin2 α + 1
2
where α is the angle between A and B. Hence, we conclude that −1 < cos θ < 0,
which implies that π/2 < θ < π.
(3) Since B = 1 and B × A = 2,√ it follows that C2 = B × A2 + B2
= 4 + 1 = 5, which implies that C = 5.
31. Find the equation in symmetric form of the line in which the planes 3x + 2y +
z − 4 = 0 and x − 3y + 5z − 7 = 0 intersect.
−
→ −
→ − →
Solution. The normal vectors to the planes are N1 = 3 i + 2 j + k and N2 =
−
→ −
→ −
→
i − 3 j + 5 k . So, a direction vector for the line of intersection is
− →
→ −
→ −
j k
i
−
→ −
→ −
→
N1 × N2 = 3 2 1 = 13 i − 14 j − 11 k .
1 −3 5
Now, we must find a point P0 belonging to both planes. If we take z = 0 in the system
of equations 3x + 2y + z = 4 and x − 3y + 5z = 7, then the resulting equations
are 3x + 2y = 4 and x − 3y = 7. The solution of the equations is x = 26/11 and
y = −17/11. Hence, the point P0 = (26/11, −17/11, 0) lies in both planes, and
consequently it lies in the line in which they intersect. Therefore, the equation in
symmetric form for the required line is
1.6 Solved Problems 29
x − 26/11 y + 17/11 z
= = .
13 −14 −11
(A · U )
X= U = (A · U )U,
U 2
(A − X ) · U = A − (A · U )U · U = A · U − (A · U )U 2 = A · U − A · U = 0.
|d1 − d2 |
√ .
a 2 + b2 + c2
as desired.
34. Two lines in space are said to be skew if they are non-parallel and non-
intersecting, indeed, they do not lie in one plane. Let 1 be the line through
30 1 Vectors and Analytic Geometry
B
P2
C
U
D
A = (1, 2, 7) and B = (−2, 3, −4), and let 2 be the line through C = (2, −1, 4)
and D = (5, 7, −3).
(1) Prove that 1 and 2 are skew lines;
(2) Find the distance between the skew lines 1 and 2 .
Solution. (1) It is enough to show that 1 and 2 do not intersect and are not parallel.
Parametric equations of 1 are
Since the sets of direction numbers are not proportional, it follows that 1 and 2 are
not parallel. To examine the lines intersect, we equate the right sides of (1.18) and
(1.19) and we get
Solving the first two equations simultaneously, we obtain t = −17/27 and s = 8/27.
But these values do not satisfy the last equation. Thus, the two lines do not intersect.
Consequently, 1 and 2 are skew lines.
(2) Since 1 and 2 are skew lines, it follows that there exists parallel planes P1
and P2 containing the lines 1 and 2 , respectively; see Fig. 1.21.
If d is the distance between P1 and P2 , then the distance between 1 and 2 is
−→ −→
also d. The vector N = AB × C D is normal to the two planes. If U is a unit normal
vector in the direction of N , then
1.6 Solved Problems 31
−→ −→
AB × C D
U = −→ −→ .
AB × C D
−→ −→
Now, the scalar projection of C B on N is C B · U and
−→ −→
−→ −→ AB × C D
d = |C B · U | = C B · −→ −→ .
AB × C D
x − x1 y − y1 z − z1 x − x2 y − y2 z − z2
= = and = =
a1 b1 c1 a2 b2 c2
is non-zero.
Solution. The lines 1 and 2 are parallel if and only if (a1 , b1 , c1 ) is a multiple scalar
of (a2 , b2 , c2 ). This is equivalent to say that the determinant of the above matrix is
zero.
Now, we write the parametric equations of the lines 1 and 2 as follows:
x = x1 + a1 t, y = y1 + b1 t and z = z 1 + c1 t;
x = x2 + a2 s, y = y2 + b2 s and z = z 2 + c2 s.
x1 − x2 = a2 s − a1 t, y1 − y2 = b2 s − b1 t and z 1 − z 2 = c2 s − c1 t.
32 1 Vectors and Analytic Geometry
According to the above argument, we conclude that the lines 1 and 2 are skew if
and only if det A = 0.
36. Let A = (0, 2, −1), B = (4, 0, −1) and C = (7, −3, 0) be three points in space.
Find a vector N which is orthogonal to the plane passing through A, B and C.
Moreover, find the area of the triangle ABC.
Solution. First, we determine two vectors on the plane and then compute the cross
product of them. We obtain
−→ −→
AB = (4, −2, 0) and AC = (7, −5, 1).
These vectors lie on the plane. We know that a vector N is orthogonal to the plane if
and only if it is orthogonal to any non-parallel vectors on the plane. So, if we consider
−→ −→
AB × AC = (−2, −4, −6), then the vector N can be taken to be any scalar multiple
of (−2, −4, −6), such as (1, 2, 3).
−→ −→ −→ −→
Since AB × AC is equal to the area of the parallelogram formed by AB and AC,
it follows that the area of the triangle ABC is half of the area of this parallelogram.
That is
1 −→ −→ 1 √
AB × AC = (−2)2 + (−4)2 + (−6)2 = 14.
2 2
37. Let x + y + z = 1 and x − 2y + 3z = 1 be two planes in space.
(1) Find the angle between these planes;
(2) Find the symmetric equations for the line of intersection of these planes.
Solution. (1) The normal vectors of these planes are N1 = (1, 1, 1) and N2 =
(1, −2, 3). If θ is the angle between the planes, then
N1 · N2 2 2
cos θ = =√ or θ = cos−1 √ .
N1 N2 42 42
(2) First, we determine a point on the line . It is easy to see that the point (1, 0, 0)
lies in both planes, and hence it lies on . Since lies in both planes, we conclude
that it is perpendicular to both of the normal vectors. Hence, a vector A parallel to
is given by the cross product A = N1 × N2 = (−5, −2, −3). This implies that the
symmetric equations of are
1.6 Solved Problems 33
x −1 y z
= = .
5 −2 −3
38. Find the equation of the plane passing through the points (1, −2, 2) and
(−3, 1, 2), and perpendicular to the plane 2x + y − z + 6 = 0.
Solution. Since the required plane passes through the point (1, −2, 2), we let the
equation of the plane be of the form
Since the plane also passes through the point (−3, 1, −2), we get the equation
a(−3 − 1) + b(1 + 2) + c(−2 − 2) = 0, or
− 4a + 3b − 4c = 0. (1.21)
From (1.21) and (1.22), we deduce b = −12a and c = −10a. Finally, using these
values in (1.20) we obtain a(x − 1) − 12a(y + 2) − 10a(z − 2) = 0 or x − 12y −
10z = 0.
39. Find the equation of the plane perpendicular to the yz-plane, containing the
point (2,1,1) and making an angle of radian measure cos−1 (2/3) with the plane
2x − y + 2z − 3 = 0.
Solution. Suppose that a(x − 2) + b(y − 1) + c(z − 1) = 0 is the equation of the
requested plane. Since the plane is perpendicular to the yz-plane, it follows that
a = 0. If N1 = (0, b, c) and N2 = (2, −1, 2), then
N1 · N2 −1 2 −b + 2c
cos θ = ⇒ cos cos =√
N1 N2 3 b + c 22 + (−1)2 + 22
2 2
2 −b + 2c
⇒ = √ ⇒ −b + 2c = 2 b2 + c2
3 3 b2 + c2
−4c
⇒ b = 0 or b = .
3
If b = 0, then c(z − 1) = 0, which implies that z = 1. If b = −4c/3, then −4c(y −
1)/3 + c(z − 1) = 0. This gives that 4y − 3z − 1 = 0.
−→ −
→ −
→ −
→ −→ −
→ −
→ −
→ −→
40. Let O A = a1 i + a2 j + a3 k , O B = b1 i + b2 j + b3 k and OC =
−
→ −
→ −
→
c1 i + c2 j + c3 k be the position vectors of points A = (a1 , a2 , a3 ), B = (b1 , b2 ,
b3 ) and C = (c1 , c2 , c3 ). Find an equation for the plane passing through A, B and
C; see Fig. 1.22.
34 1 Vectors and Analytic Geometry
P
B
C
A
y
O
Solution. Suppose that A, B and C do not lie in the same straight line, and hence
−→ −
→ −
→ −
→
they determine a plane. Let O P = x i + y j + z k denote the position vectors of
any point P = (x, y, z) in the plane. We consider the vectors
−→ −→ −→ −→ −→ −→ −→ −→ −→
AB = O B − O A, AC = OC − O A and A P = O P − O A,
−→ −→ −→
which all lie in the plane. Then, we have A P · ( AB × AC) = 0, or equivalently we
−→ −→ −→ −→ −→ −→
can write ( O P − O A) · ( O B − O A) × ( OC − O A) = 0. This yields that
−
→ −
→ →
− −
→ −
→
(x − a1 ) i + (y − a2 ) j + (z − a3 ) k · (b1 − a1 ) i + (b2 − a2 ) j
→
− −
→ −
→ →
−
+(b3 − a3 ) k × (c1 − a1 ) i + (c2 − a2 ) j + (c3 − a3 ) k = 0.
41. Let A and B be two non-parallel vectors. Find the most general vector V that
satisfies the conditions A · (V × B) = 0 and B · V = 0.
Solution. We have A · (V × B) = V · (B × A) = 0. This yields that V is perpen-
dicular to both A × B and B. The first condition implies that V lies in the plane
spanned by A and B, and the other condition requires that V is orthogonal to B. By
1.6 Solved Problems 35
the first condition, we can write V = α A + β B for any real numbers α and β. By
considering the second condition, we have
V · B = (α A + β B) · B = α(A · B) + βB2 = 0,
α(A · B)
V = αA − B,
B2
for any real number α which is the most general vector V satisfying the conditions.
42. Find an equation for the cylinder generated by a line through the curve x 2 + y 2 =
−
→ − → − →
4x, z = 0 moving parallel to the vector i + j + k .
Solution. The line passing through a point (x0 , y0 , 0) on the curve and parallel to
−
→ − → − →
the vector i + j + k lies on the cylinder. The equation of this line is x − x0 =
y − y0 = z. This implies that x0 = x − z and y0 = y − z. Since (x0 , y0 , 0) satisfies
the equation (x − 2)2 + y 2 = 4, an equation for the surface is (x − z − 2)2 + (y −
z)2 = 4.
43. Find an equation for the surface generated by revolving the curve 4x 2 + 9y 2 =
36, z = 0 around the y-axis.
Solution. Suppose that P = (x, y, z) is a point on the surface. Consider the point
Q = (x0 , y, 0) on the curve. The distance from Q to the y-axis and the distance from
P to the y-axis are the same. Consequently, we obtain x02 = x 2 + z 2 . An equation of
the surface is 4(x 2 + z 2 ) + 9y 2 = 36.
44. Find an equation for the surface consisting of all points that are equidistant
from the point (1,0,0) and the plane x = 1.
Solution. Assume that P = (x0 , y0 , z 0 ) is an arbitrary point on the surface and Q =
(1, 0, 0). Since the distance between P and Q is equal to the distance from P to the
plane x = 1, it follows that (x0 + 1)2 + y02 + z 02 = (x0 − 1)2 . Thus, an equation of
the surface is y 2 + z 2 = −4x.
45. Find the equation of the sphere has its center at (–1,2,3) and touch the plane
2x-y+2z-6=0.
Solution. The equation of the sphere is (x + 1)2 + (y − 2)2 + (z − 3)2 = r 2 . We
must determine r , the radius of the sphere. The radius of the sphere is equal to
the length of the perpendicular line segment from the center (1, 2, 3) to the plane
2x − y + 2z = 6. So, it is
46. Consider the points P such that the distance from P to the point P0 = (−3, 6, 9)
is twice the distance from P to the origin. Show that the set of all such points is a
sphere, and find its center and radius.
Solution. Suppose that P = (x, y, z) is any point in space. The distance between P
and P0 equals
P P0 = (x + 3)2 + (y − 6)2 + (z − 9)2 ,
Since the distance between P and P0 is twice the distance from P to the origin, it
follows that
(x + 3)2 + (y − 6)2 + (z − 9)2 = 2 x 2 + y 2 + z 2 .
3x 2 − 6x − 9 + 3y 2 + 12y − 36 + 3z 2 + 18z − 81 = 0,
or equivalently
x + y + z = 6,
2x − y = 0,
3x − z = 0
gives that x = 1, y = 2 and z = 3. Thus, the center is the point (1, 2, 3). The nor-
mal vector to x + y + z − 3 = 0 is N = (1, 1, 1). The points (1, 1, 1) on x + y +
z − 3 = 0 and (3, 3, 3) on x + y + z − 9 = 0 differ by a vector, (2, 2, 2), which
is a multiple of this normal vector. Therefore, the distance between the planes is
1.6 Solved Problems 37
H P
√ √
(2, 2, 2) = 2 3 and the radius of the sphere is 3. Consequently, the equation of
the desired sphere is (x − 1)2 + (y − 2)2 + (z − 3)2 = 3.
48. Find the center and radius of the circle in which the sphere x 2 + y 2 + z 2 +
2y + 4z − 11 = 0 is cut by the plane x + 2y + 2z + 15 = 0.
Solution. We can write the equation of the sphere as x 2 + (y + 1)2 + (z + 2)2 = 16.
So, the center of sphere is C = (0, −1, −2) and its radius is C P = 4. Suppose
that H is the foot of the perpendicular from C on the plane x + 2y + 2z + 15 = 0;
see Fig. 1.23. Then, we have
0 + 2(−1) + 2(−2) + 15
C H = √ = 3.
12 + 22 + 22
√ √
The radius of the circle is C P2 − C H 2 = 42 − 32 = 7, and the center of
−→
the circle is H . Now, C H is perpendicular to the plane x + 2y + 2z + 15 = 0, and so
its direction numbers are (1, 2, 2). Moreover, C H passes through C = (0, −1, −2).
Therefore, the equation of the line segment C H is
x −0 y+1 z+2
= = .
1 2 2
Any point on this line segment is (t, 2t − 1, 2t − 2). If this point is H , then
it satisfies the plane x + 2y + 2z + 15 = 0. So, we must have t + 2(2t − 1) +
2(2t − 2) + 15 = 0. This gives that t = −1. Consequently, the coordinates of H
are (−1, −3,√−4). Therefore, the center of the circle is the point (−1, −3, −4) and
its radius is 7.
49. A plane is tangent to a sphere at a point P0 if it intersects the sphere in this
point only. Find the equation of the tangent plane to the sphere
38 1 Vectors and Analytic Geometry
On the other hand, the center of the sphere is the point C = (a, b, c). So, the direction
numbers of C P0 are (x0 − a, y0 − b, z 0 − c). Since the tangent plane passes through
the point P0 = (x0 , y0 , z 0 ), its equation is
Hence, we have
x0 x + y0 y + z 0 z − ax − by − cz = ax0 + by0 + cz 0 − d.
Since this length is the same as the radius of the sphere, we conclude that the plane
touches the sphere. Now, suppose that P0 = (x0 , y0 , z 0 ) is the point of tangency.
Then, according to Problem 1.6, the equation of the tangent plane is x0 x + y0 y +
z 0 z − 2(x + x0 ) + (y + y0 ) + (z + z 0 ) − 3 = 0. This yields that
y0 + 1 2x0 − y0 − z 0 + 3 −7y0 + 2
= = .
−1 16 16
This gives that y0 = −2, and so x0 = 4 and z 0 = −3. Therefore, the point of contact
is (4, −2, −3).
51. Cavalieri’s principle. Suppose that two regions in space (solids) are included
between two parallel planes. If every plane parallel to these two planes intersects
both regions in cross sections of equal area, then the two regions have equal volumes.
Use Cavalieri’s principle to find the volume of the solid bounded by the ellipsoid
x2 y2 z2
+ + = 1.
a2 b2 c2
Solution. Suppose that the plane z = k intersects the ellipsoid. To obtain the cross
section of the surface with the plane z = k, replace z by k in the equation of the
ellipsoid and get
x2 y2 k2
+ = 1 − .
a2 b2 c2
If |k| < c, the the cross section is an ellipse and we have
x2 y2
a √c2 − k 2 2 + b√c2 − k 2 2 = 1.
c c
This implies that the area of this cross section is
ab(c2 − k 2 )
S= π.
c2
40 1 Vectors and Analytic Geometry
B • • A B• A
O • E O•
D•
C C
On the other hand, if we consider an elliptic cylinder where its directrix is the ellipse
x 2 /a 2 + y 2 /b2 = 1 in the x y-plane and the ruling parallel to the z-axis bounded
−c ≤ z ≤ c; see Fig. 1.24.
The cross section of this cylinder with the plane z = k is again an ellipse. If we
consider the region between the two ellipses in cross section (see Fig. 1.24) such that
E B = ak/c and O B = bk/c, then the area of this region is
abk 2 ab(c2 − k 2 )
S = abπ − π = π.
c2 c2
Since S = S , by Cavalieri’s principle the volume of the ellipsoid equals the difference
of the volume of the cylinder and the volumes of the two cones in the figure. Hence,
we obtain 1 4
V = abπ(2c) − 2 abcπ = abcπ.
3 3
52. Consider two skew lines in space and rotate one of them about the other.
Determine the equation of the resulting surface of revolution and show that the
surface is a hyperboloid of one sheet.
Solution. Without loss of generality, suppose that one of the lines coincides with
z-axis and the axis of rotation is z-axis. Let the other line be x = z/a and y = b. If
we rotate the points (t, b, at) through the angle θ around the z-axis, then the surface
of revolution has the following equations:
Hence, we obtain
z2
x 2 + y 2 = (t cos θ − b sin θ)2 + (t sin θ + b cos θ)2 = t 2 + b2 = + b2 .
a2
This yields that
1.6 Solved Problems 41
x2 y2 z2
+ − = 1,
b2 b2 (ab)2
h2 R2
c2 = .
R2 − r 2
Now, we evaluate the volume of the barrel by the disk methods. Hence, we can write
42 1 Vectors and Analytic Geometry
h
h
z2
h
z 2 (R 2 − r 2 )
V =π y dz = π 2
R 1 − 2 dz = π 2
R2 1 − dz
−h −h c −h h2 R2
h
(R 2 − r 2 ) 2 1 R 2 − r 2 3 h
=π R2 − z dz = π R 2
z − z
−h h2 3 h2 −h
1 2R 2 h r 2 h
= 2π R 2 h − R 2 − r 2 )h = 2π + .
3 3 3
x2 y2 z2
+ − =1
a2 b2 c2
and the planes z = 0 and z = h, for h > 0.
(2) Express your answer in part (1) in terms of h and the areas A0 and Ah of the
regions cut by the hyperboloid from the planes z = 0 and z = h.
(3) Show that the volume in part (1) is also given by the formula
h
V = (A0 + 4 Am + Ah ),
6
where Am is the area of the region cut by the hyperboloid from the plane z = h/2.
Solution. (1) Assume that z is fixed. Then, we obtain
x2 y2
a 2 (c2 + z 2 ) + b2 (c2 + z 2 ) = 1,
c2 c2
a cross-sectional ellipse. The area of this cross-sectional ellipse is
a b πab
A(z) = π c2 + z 2 c2 + z 2 = 2 (c2 + z 2 ).
c c c
So, the volume of the solid by the method of slices equals
h h
πab 2 πab 2 1 3 h
V = A(z)dz = (c + z 2
)dz = c z + z
0 0 c2 c2 3 0
πab 1 πabh
= 2 c2 h + h 3 = (3c2 + h).
c 3 3c2
(2) We have
1.6 Solved Problems 43
πab 2
A0 = A(0) = πab and Ah = A(h) = (c + h 2 ). (1.27)
c2
Hence, by part (1) we can write
πabh h 2 πabh c2 + h 2
V = 3+ 2
= 2+
3 c 3 c2
h πab 2 h
= 2πab + 2
(c + h 2 ) = 2 A0 + Ah ).
3 c 3
(3) We have
πab 2 h 2 πab 2
Am = A(h/2) = c + = (4c + h 2 ). (1.28)
c2 4 4cr
Now, using (1.27), (1.28), part (1) and a simple calculation, the result follows.
55. (1) Identify the quadric surface given by the equation x 2 − z 2 − 2x + y + 6z =
10.
(2) What is the trace of this surface in the yz-plane? (Write down the equation
and identify the type of curve).
Solution. We rearrange and complete the square. So, we can write (x 2 − 2x + 1) −
(z 2 − 6z + 9) + y = 2. This yields that (x − 1)2 + (z − 3)2 + y = 2, or equiva-
lently y − 2 = (z − 3)2 − (x − 1)2 . Consequently, the quadric surface is a hyper-
bolic paraboloid.
(2) The yz-plane is given by x = 0. So, the equations of the trace are x = 0 and
x 2 − z 2 − 2x + y + 6z = 10. If we substitute x = 0 into the second equation, we
obtain −z 2 + y + 6z = 10, or y = z 2 − 6z + 10. This, we conclude that the curve
is a parabola.
56. Identify the surface for each of the following cylindrical equations.
√
(1) r = 3; (3) r = 5 z;
(2) r = z; (4) r 2 = z 2 + 1.
x 2 + y 2 + z 2 ≤ a and x 2 + y 2 ≥ z 2 ,
in spherical coordinates.
Solution. The region x 2 + y 2 + z 2 ≤ a 2 is the region inside the sphere of radius
ρ ≤ a. The region x 2 + y 2 ≥ z 2 is the region outside a cone. The surface equation
of the cone is x 2 + y 2 = z 2 , where it is a right angle cone and the region is given by
π/4 ≤ ϕ ≤ 3π/4. Therefore, the region is given by
π 3π
ρ ≤ a and ≤ϕ≤ .
4 4
59. A rotation of axes in two dimensions is a mapping from an xy-Cartesian coordi-
nate system to an x y -Cartesian coordinate system in which the origin is kept fixed
and the x - and y -axes are obtained by rotating the x- and y-axes counterclockwise
through an angle θ; see Fig. 1.26. Find the relation between these two coordinate
systems.
Solution. The equations defined in plane, which rotate x y-plane counterclockwise
through an angle θ into x y -plane are derived as follows. If P = (x, y) has the polar
coordinates (r, α), then
By considering the x y -plane, the point P = (x , y ) has the polar coordinate (r, α −
θ). Using the standard trigonometric formula for difference angles, we can write
θ x
or equivalently as
x cos θ − sin θ x
= .
y sin θ cos θ y
x 2
+ y = 1.
2
2
This yields that the surface is an elliptic cylinder.
61. By a translation and a rotation of the axes, reduce the equation 5x 2 + 6x y +
5y 2 − 4x + 4y − 4 = 0 to the simplest form and identify it.
46 1 Vectors and Analytic Geometry
or equivalently
5x + 6x y + 5y = 8.
2 2
(1.32)
Finally, to eliminate the x y term, similar to Problem 1.6, we use a rotation θ = π/4,
then we obtain
1 1 1 1
x = √ x − √ y and x = √ x + √ y . (1.33)
2 2 2 2
y 2
x +
2
= 1.
4
This is an elliptic cylinder.
62. Determine the quadric surface 3y 2 + 3z 2 − 2yz = 1.
Solution. We use rotation in the approximate coordinate plane to reduce the equation
to one of the standard forms. Assume that
Then, we obtain
Similar to Problem 1.6, we are interested in finding an angle θ such that the mixed
term is annihilated. So, we obtain θ = π/4. This yields that 2y 2 + 4z 2 = 1. This is
an elliptic cylinder centered at the origin with axis parallel to the x-axis.
63. Determine the quadric surface x y − z 2 = 0.
Solution. We use rotation in x y-plane. Suppose that
Now, if θ = π/4, then x y = x 2 /2 − y 2 /2. Substituting this into the given equation
gives x 2 /2 − y 2 /2 − z 2 = 0, or equivalently x 2 = y 2 + 2z 2 . This is an elliptic
cone parallel to x-axis.
65. Show that the polar equation of the circle of radius a centered at (r1 , θ1 ) is
r 2 − 2r1r cos(θ − θ1 ) + r12 = a 2 .
Solution. Let the Cartesian coordinates of the center of the circle be (x1 , y1 ). Then,
the Cartesian equation of the circle is (x − x1 )2 + (y − y1 )2 = a 2 . Substituting x =
r cos θ, y = r sin θ, x1 = r1 cos θ1 and y1 = r1 sin θ1 , we obtain
• P = (r, θ)
A
θ
α Polar axis
O
66. Let L be a straight line which does not go through the pole O. Show that the
polar equation of L is
r cos(θ − α) = d, (1.34)
where d is the length and α the inclination of the perpendicular drawn from O to
L (see Fig. 1.27).What are the Cartesian coordinates of Eq. (1.34). Show that L has
slope m = − cot α and y -intercept d/ sin α.
Solution. By looking at Fig. 1.27, since O A P is a right triangle, we can write cos(θ −
α) = d/r . This yields that r cos(θ − α) = d.
Now, using the identity
cos(θ − α) = cos θ cos α + sin θ sin α, we obtain r cos θ
cos α + sin θ sin α = d. Substituting x = r cos θ and y = r sin θ, we get x cos α +
y sin α = d. Dividing by cos α we have x + y tan α = d/ cos α. Simplifying this
equation gives
d
y = (−cotα)x + .
sin α
This equation of the line implies that L has slope m = − cot α and y-intercept
d/ sin α.
67. Find an equation in polar coordinates of the line L with the given description.
(1) The point on L closest to the origin has the Cartesian coordinates (−2, 2);
(2) L has slope 3 and is tangent to the unit circle in the fourth quadrant.
Solution. (1) First, we convert the Cartesian coordinates (−2, 2) to polar coordinates
(d, α). Since this point lies in the second quadrant, it follows that π/2 < α < π.
Thus, we obtain
√ √
d= (−2)2 + 22 = 8 = 2 2,
2 π 3π
α = tan−1 = tan−1 (−1) = π − = ,
−2 4 4
1.6 Solved Problems 49
φ
O A
P0
√ √
and so we have (d, α) = (2 2, 3π/4). Substituting d = 2 2 and α = 3π/4 in the
equation r = d sec(θ − α) yields
√ 3π
r = 2 2 sec θ − .
4
(2) In polar coordinates, we denote the point of tangency by P0 = (1, α). Since
L is the tangent line to the circle at P0 , it follows that P0 is the point on L closest to
the center of the circle at the origin. Thus, the polar equation of L is r = sec(θ − α).
We need to find α. Suppose that φ is the angle shown in Fig. 1.28. By assumption,
we know that tan φ = 3. Since the point of tangency lies in the fourth quadrant,
it follows that φ is an acute angle. So, we have tan φ = 3 and 0 < φ < π/2. This
implies that φ = 1.25 radian. Since 3π/2 < α < 2π, for the triangle O A P0 we can
write (2π − α) + π/2 + 1.25 = π. This implies that α = 5.96 radian. Substituting
it into r = sec(θ − α), we get r = sec(θ − 5.96) as the polar equation of the tangent
line.
68. Prove that the conic with eccentricity e and focus to direct distance d has
equation r = ed/(1 − e cos θ) in polar coordinates if the pole O is at the focus and
the polar axis is perpendicular to the directrix L in the direction pointing away from
L.
Solution. In the case of an ellipse or a hyperbola, there exist two directrices and L is
the one nearer the focus. The geometry of the situation is shown in Fig. 1.29, where
the directrix lies to the left of the focus.
Now, we have
O P r
= = e.
P Q P Q
50 1 Vectors and Analytic Geometry
d r
θ
•
A O
3π π
4 4
π 0 1 2 3 40
5π 7π
4 4
3π
2
Using the symmetry and the above table (note that r ≥ 0, for all θ), a sketch of
the graph is shown in Fig. 1.30.
1.6 Solved Problems 51
3π π
4 4
π 0 1 2 3 40
5π 7π
4 4
3π
2
From these points, we draw half of the graph and the remainder is drawn from its
symmetry with respect to the polar axis. A sketch of the graph is shown in Fig. 1.31.
71. The graph of an equation of the form r = a cos nθ or r = a sin nθ is a rose,having
n leaves if n is odd and 2n leaves if n is even. Draw a sketch of the four-leafed rose
r = 4 sin 2θ.
Solution. We test for the symmetry of the graph with respect to the polar axis, the π/2
axis and the pole. We replace (r, θ) by (−r, π − θ), and obtain −r = 4 sin 2(π − θ),
which is equivalent to the equation r = 4 sin 2θ. So, the graph is symmetric with
respect to the polar axis. Now, if we replace (r, θ) by (−r, −θ), then we obtain
−r = 4 sin(−2θ), which is equivalent to the equation r = 4 sin 2θ. Thus, the graph is
symmetric with respect to the π/2 axis. Also, we see that the graph is symmetric with
respect to the pole. Substituting 0 for r in the given equation, we have sin 2θ = 0 from
which we get, for 0 ≤ θ < 2π, θ = 0, θ = π/2, θ = π and θ = 3π/2. The following
table gives values of r for some values of θ from 0 to π/2:
3π π
4 4
π 0 1 2 3 40
5π 7π
4 4
3π
2
From these values and symmetry properties, we draw a sketch of the graph, as
shown in Fig. 1.32.
72. Draw a sketch of the graph r = θ.
Solution. If θ = nπ, where n is any integer, then the graph intersects the polar axis.
If θ = nπ/2, where n is any odd integer, then the graph intersects the π/2 axis. If
r = 0, then θ = 0, and so the tangent line to the graph at the pole is the polar axis.
A sketch of the graph is shown in Fig. 1.33. The graph is called a spiral of
Archimedes.
73. Draw a sketch of the graph of polar equation r θ = a, where a > 0.
Solution. We observe that
1.6 Solved Problems 53
θ<0 0<θ
a a
lim+ r = lim+ = ∞ and lim r = lim = 0.
θ→0 θ→0 θ θ→∞ θ→∞ θ
This yields that as θ increases from some small positive values to ∞, a variable point
P = (r, θ) on the graph of r θ = a comes in from infinity and winds around the pole
in counterclockwise direction, while r tends steadily to zero. On the other hand, we
have y = r sin θ = a sin θ/θ. Then, we obtain
sin θ
lim y = lim+ a = a.
θ→0+ θ→0 θ
So, we conclude that the line y = a is a horizontal asymptote of the graph; see
Fig. 1.34.
In order to determine the graph corresponding to negative values of r and θ, it is
enough to reflect the curve in the t-axis, obtaining the blue curve in the figure. Note
that this symmetry about the y-axis follows from the fact that (−r )(−θ) = r θ = a.
The graph of r θ = a is called a hyperbolic spiral.
74. Find the slope of the tangent line to the three-leafed rose r = sin 3θ at θ = 0
and θ = π/4.
Solution A sketch of the curve is shown in Fig. 1.35.
We have x = r cos θ = sin 3θ cos θ and y = r sin θ = sin 3θ sin θ. Then, we can
write
dy
dy 3 cos 3θ sin θ + sin 3θ cos θ
= dθ = .
dx dx 3 cos 3θ cos θ − sin 3θ sin θ
dθ
At θ = 0, we obtain
54 1 Vectors and Analytic Geometry
r = cos θ
• Pole axis
Pole 1 2
3π π 3π π
dy 3 cos
4
sin + sin
4 4
cos
4 = 1.
=
d x θ=π/4 3π π 3π π 2
3 cos cos − sin sin
4 4 4 4
75. Find the area of the top half of the region inside the cardioid r = 1 + cos θ and
outside of the circle r = cos θ.
Solution. The region is shown in Fig. 1.36.
The area of the top half of the circle r = cos θ is
π/2 π/2 1 + cos 2θ
1 1 π
cos2 θdθ = dθ = .
2 0 2 0 2 8
1.6 Solved Problems 55
B
• •A
C• •
D
r = 2 + cos 2θ
(3) Using the formula of the length of the polar curve, we have
π
dr 2 π
L= r2 + dθ = sin4 θ + (2 sin θ cos θ)2 dθ
0 dθ 0
π π
= sin θ + 4 sin
4 2
θ cos2 θdθ = sin θ sin2 θ + 4 cos2 θdθ
0 0
π 1
= sin θ 1 + 3 cos θdθ =
2 1 + 3u 2 du
0 −1
√
1 1 1 2 3 √
=√ √ + u du = 2 +
2
ln( 3 + 2).
3 −1 3 3
77. Find the area inside both curves r = 2 + sin 2θ and r = 2 + cos 2θ in Fig. 1.38.
π 5π −7π −3π
A: θ= , B: θ= , C: θ= , D: θ= .
8 8 8 8
Now, by using the symmetry, we compute the gray area in Fig. 1.38 and multiply it
by 4. Therefore, we obtain (Fig. 1.38)
1.6 Solved Problems 57
5π/8 5π/8
1
Area = 4 (2 + cos 2θ)2 dθ = 2 (4 + 4 cos 2θ + cos2 2θ)dθ
π/8 2 π/8
5π/8
5π/8
1 + cos 4θ
=2 4 + 4 cos 2θ + = (9 + 8 cos 2θ + cos 4θ)dθ
π/8 2 π/8
5π/5 √
1 9π
= 9θ + 4 sin 2θ + sin 4θ = − 4 2.
4 π/8 2
78. Find the maximum width of the petal of the four-leaved rose r = cos 2θ, which
lies along the x-axis.
Solution. The maximum width of the petal of the rose which lies along the x-axis is
twice the largest y value of the curve on 0 ≤ θ ≤ π/4. Hence, we must maximize
2y = 2r sin θ = 2 sin θ cos 2θ on 0 ≤ θ ≤ π/4. Suppose that f (θ) = 2 sin θ cos 2θ.
Then, we can write f (θ) = 2 sin θ(1 − 2 sin2 θ) = 2 sin θ − 4 sin3 θ. So, we have
f (θ) = 2 cos θ − 12 sin2 θ cos θ. Now, if √
f (θ) = 0, then cos θ(1 − 6 sin2 θ) = 0.
This implies that cos θ = 0√or sin θ = ±1/ 6. Since θ must be √ between
√ π/4,
0 and
we consider θ = sin−1 (1/ 6). Hence, we obtain f sin−1 (1/ 6) = 2(1/ 6) −
√ √
4/(6 6) = 2 6/9.
√ width occurs in 0 ≤ θ ≤ π/4.√Thus,
From Fig. 1.39, we observe that a maximum
the maximum width occurs at θ = sin−1 (1/ 6) and the maximum width is 2 6/9.
79. Find the maximum height above the x-axis of the cardioid r = 2(1 + cosθ).
Solution. We must maximize y = r sin θ = 2(1 + cos θ) sin θ = 2 sin θ + 2 sin θ
cos θ. Suppose that f (θ) = 2 sin θ + 2 sin θ cos θ. Then, we have
dx
= − sin θ + cos 2θ = − sin θ + 1 − 2 sin2 θ = −(sin θ + 1)(2 sin θ − 1).
dθ
Fig. 1.41 The smallest viewing rectangle that contains every member of the family of polar curves
r = 1 + c sin θ
π 1 π 3√
x = cos + sin = 3.
6 2 3 4
√
This yields that the maximum value of x is 3 3/4. Therefore, we conclude that
the smallest viewing rectangle that contains√any member √ of the family of polar
curves r = 1 + c sin θ, where 0 ≤ c ≤ 1, is [3 3/4, 3 3/4] × [−1, 2]. In Fig. 1.41,
a sketch of the several members of the family of curves is shown, where c = 0 (is
blue color), c = 1/3 (is brown color), c = 1/2 (is red color), c = 2/3 (is green color)
and c = 1 (is black color).
1.7 Exercises
Easier Exercises
1. Which of the points A = (−3, 0, −1), B = (4, 1, −3) and C = (2, 4, 5) is clos-
est to the yz-plane? Which point lies in the x z-plane?
−
→ −
→ −
→ −
→
2. Determine the value of c such that the vectors 4 i + c j − 5 k and 7 i −
−
→ −
→
4 j + 2 k are orthogonal.
60 1 Vectors and Analytic Geometry
3. Show that the four points A = (1, 2, −1), B = (0, 1, 5), C = (−1, 2, 1) and
D = (2, 1, 3) are coplanar.
−→ −→
4. Let P Q be a representation of a vector A, Q R be a representation of a vector
−→ −→ −→ −
→
B and RS be a representation of a vector C. Prove that if P Q, Q R and RS are
sides of a triangle, then A + B + C = 0.
5. Find a vector V that is perpendicular to the line 3x + 5y = 12 and satisfies
V = 1.
6. Prove analytically the triangle inequality for vectors A + B ≤ A + B.
7. Show that |A · (B × C)| ≤ A B C. When does equality hold?
8. Show that A × B2 + (A · B)2 = A2 B2 for arbitrary vectors A and B.
9. Find all vectors V such that (1, 2, 1) × V = (3, −5, 1).
10. If A + B + C = 0, show that A × B = B × C = C × A.
11. Find the area of a triangle with vertices (3, 1, 5), (−1, 2, 2) and (4, −3, 1).
12. Let P be a point, and let V and W be non-parallel, non-zero vectors in R3 .
−→
Suppose that Q is an arbitrary point in R3 . Verify that P Q = aV + bQ for
−→
some real numbers a and b if and only if P Q · (V × W ) = 0.
13. Let A be a non-zero vector in R3 . Prove that there are two non-parallel, non-zero
vectors V and W that are perpendicular to A.
14. Find the angle θ between the planes 5x − 2y + 5z = 10 and 2x + y − 7z = 14
such that 0 ≤ θ ≤ π/2.
15. Find the volume of the tetrahedron with vertices A = (−1, 2, 1), B = (5, 5, 4),
C = (2, 3, −1) and D = (1, 4, 3).
16. Determine whether each of the following sets is linearly independent.
(a) S = {(1, 0, −1), (2, 1, −1), (−2, 1, 4)},
(b) S = {(1, 4, 7), (2, 5, 8), 3, 6, 6)},
(c) S = (1, 2, 1), (0, 7, 1)},
(d) S = {(1, 2, 5), (7, 4, 0), (3, 8, 0), (−1, 9, 10)}.
17. Show that any equation of the form x 2 + y 2 + z 2 + Gx + H y + I z + J = 0
can be put in the form (x − a)2 + (y − b)2 + (z − c)2 = k.
18. Find the area of the parallelogram two whose sides are the position representa-
−
→ −
→ −
→ −
→
tions of the vectors 2 j − 5 k and 5 i + 6 k .
19. Find the distance from the plane 2x + 2y − z − 5 = 0 to the point (3, 2, −4).
20. Find the perpendicular distance between the parallel planes 4y − 5z − 8 = 0
and 8y − 10z − 32 = 0.
21. Find the equation of the plane through the line of intersection of the planes
x + y + z = 1 and 2x + 3y + 4z = 5 which is perpendicular to the plane x −
y + z = 0.
22. Find an equation of the sphere having as a diameter the line segment with end-
points (4, 3, −5) and (−2, 6, 3).
23. Show that the lines
x +2 y−1 x −3 y+4 z−3
= = z + 4 and = =
5 −2 −5 2 −1
1.7 Exercises 61
are parallel, and find an equation of the plane determined by these lines.
24. Find the angle between the lines whose direction ratios are a, b, c and b − c,
c − a, a − b.
25. Find the angle between a diagonal of a cube and one of its edges.
26. Let be the line through the point (−6, −6, 5) and (−12, 6, −1). Find the points
in that intersect the coordinate planes.
27. Find equations of the line through the point (1, −1, 1), perpendicular to the line
3x = 2y = z, and parallel to the plane x + y − z = 0.
28. Find a generating curve and the axis for the given surface of revolution. Draw a
sketch of the surface.
(a) y 2 + z 2 = e3x ,
(b) x 2 + z 2 = |y|,
(c) 3x 2 + 3y 2 − z = 7.
29. The elliptic paraboloid x 2 /9 + y 2 /4 = 2z intersects the plane 2x − y − 2z −
10 = 0 in a single point. Which one?
30. Show that the intersection of the surface x 2 − 4y 2 − 9z 2 = 36 and the plane
x + z = 9 is an ellipse.
31. An ellipsoid is created by rotating the ellipse 4x 2 + y 2 = 16 about the x-axis.
Find an equation of the ellipsoid.
32. Find an equation for the surface consisting of all points that are equidistant from
the point (−1, 0, 0) and the plane x = 1. Identify the surface.
33. Show that the intersection of the hyperbolic paraboloid y 2 /b2 − x 2 /a 2 = z/c
and the plane z = bx + ay consisting of two intersecting straight lines.
34. Draw a sketch of the graph of the given equation.
(a) r = 5 cos 2θ,
(b) r = 2 sin θ tan θ,
(c) (r − 3)2 = 9θ,
(d) r = | sin 2θ|.
35. Find a polar equation of the tangent line to the curve r = −4 sin θ at the point
(4, 3π/2).
36. Find the area inside the loop formed by r = tan(θ/2).
37. Find the area inside r = (1/2) + cos θ, including the
√ area inside the small loop.
38. Find the area enclosed by r = tan θ and r = cscθ/ 2.
39. Find the area of the intersection of the regions enclosed by the graphs of two
equations r = a cos θ and r = a(1 − cos θ), where a > 0.
40. Find an equation in spherical coordinates of the graph of each of the equations:
41. Find a polar equation of the circle having its center at (r0 , θ0 ) and a radius a
units.
42. Find a set of cylindrical coordinates for the point having spherical coordinates
(5, π, π/4).
62 1 Vectors and Analytic Geometry
Harder Exercises
43. Prove that the median of a triangle intersects in a common point which trisects
each median.
44. Prove analytically that the four diagonals of a cube have the same length.
45. Let B = {V1 , V2 , V3 } be a set of three vectors in R3 . Prove that B is linearly
independent if and only if B spans R3 .
−→ −−→ −→
46. Let P, Q and R be three non-collinear points in R3 and let O P, O Q and O R
be the position representations of vectors A, B and C, respectively. Prove that
the representations of the vector A × B + B × C + C × A are perpendicular to
the plane containing the points P, Q and R.
47. Find an equation of the largest sphere that passes through the point (−1, 1, 4) and
is such that each of the points (x, y, z) inside the sphere satisfies the condition
48. Prove that an ellipse and a hyperbola with the same foci always intersect at right
angles.
49. Find an equation of the plane containing the endpoints of the position represen-
−
→ − → −
→ − → − → −
→ −
→ −
→
tations of the vectors −2 i + j + 5 k , i − j + 2 k and −3 i + 5 j +
−→
3k.
50. Find an equation for the surface consisting of all points P for which the distance
from P to the x-axis is twice the distance from P to the yz-plane. Identify the
surface.
51. Sketch the region bounded by the surfaces z = x 2 + y 2 and x 2 + y 2 = 1 for
1 ≤ z ≤ 2.
52. Let V and W be two non-parallel, non-zero vectors in R3 . If Z is any vector in
R3 , verify that Z = aV + bW + c(V × W ) for some real numbers a, b and C.
53. Let V and W be two non-parallel, non-zero vectors in R3 . If Z is a non-zero
vector in R3 that is perpendicular to V and W , show that Z is parallel to V × W .
54. Show that if A, B and C are vectors in R3 , then
2
(A × B) · (B × C) × (C × A) = A · (B × C) .
58. Identify the surface z = x y by making a suitable rotation of axes in the x y-plane.
59. Suppose a rotation converts ax 2 + bx y + cy 2 into a x 2 + b x y + c y 2 . Prove
that
1.7 Exercises 63
60. Show that using a rotation and then a translation, we can always reduce any
quadratic equation to standard form.
61. Show that the spirals r = θ and r = 1/θ are perpendicular when they meet at
θ = 1.
62. The tractrix
t t
x = t − a tanh and y = a sech
a a
from x = −a to x = 2a is revolved about the x-axis. Draw a sketch of revolution.
63. Prove that at the points of intersection of the two curves r = a sec2 (θ/2) and
r = b csc2 (θ/2), their tangent lines are perpendicular.
64. Find the length of the polar curve
1 1
θ= r+ (1 ≤ r ≤ 3).
2 r
65. Show that the hyperbolic spiral r θ = 1 (1 ≤ θ < ∞) is not of finite length.
66. Use polar coordinates to show that the area enclosed by the loop of the Folium
of Descartes
3at 3at 2
x= and y = (−∞ < t < ∞)
t3 + 1 t3 + 1
is equal to (3/2)a 2 .
67. Draw three circles of radius 1 that touch each other and find the area of the
curved triangle between them.
68. Consider the torus of equation (x 2 + y 2 + z 2 + R 2 − r 2 ) = 4R 2 (x 2 + y 2 ),
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 ρ = 2R sin ϕ.
69. A surface consists of all points P such that the distance from P to the plane
y = 1 is twice the distance from P to the point (0, −1, 0). Find an equation for
this surface and identify it.
70. Graph the surfaces z = x 2 + y 2 and z = 1 − y 2 on a common screen using
the domain |x| ≤ 1.2, |y| ≤ 1.2 and observe the curve of intersection of these
surfaces. Show that the projection of this curve onto the x y-plane is an ellipse.
71. Find the points in which the line
x −4 y−3 z+2
= =
−6 3 4
64 1 Vectors and Analytic Geometry
1 2 1 2 1 2
intersects the ellipsoid x + y + z = 1.
36 81 9
72. Show that the elliptic cone
x2 y2 z2
2
+ 2 + 2 =0
a b c
is asymptotic to both hyperboloids
x2 y2 z2 x2 y2 z2
+ − = 1 and + − = −1
a2 b2 c2 a2 b2 c2
in the sense that both hyperboloids get arbitrarily close to the cone as z → ±∞.
Chapter 2
Vector Functions and Parametric
Equations
When a particle moves through space during a time interval I , we think of the
particle’s coordinates as functions defined on I:
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2023 65
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1_2
66 2 Vector Functions and Parametric Equations
R(t) y
O
if this limit exists. If R (t) exists, then R is differentiable at t. The notations Dt R(t)
and d R/dt are sometimes used in place of R (t). A vector function R is differentiable
if it is differentiable at every point of its domain.
−
→ −
→ −
→
If R is a vector function, then R (t) = f (t) i + g (t) j + h (t) k , if f (t), g (t)
and h (t) exist. Higher order derivatives of vector functions are defined as for higher
order derivatives of real-valued functions. So, for the second derivative we have
R (t) = Dt R (t) .
The notation Dt2 R(t) can be used instead of R (t), and we can write R (t) =
−
→ −
→ −
→
f (t) i + g (t) j + h (t) k , if f (t), g (t) and h (t) exist.
Properties of the derivative: Let R and Q be differentiable vector functions of t,
C a constant vector, c any real number and f any differentiable real function. Then
we have
(1) Dt (C) = 0;
(2) Dt c R(t) = c R (t);
2.2 Velocity and Acceleration in Space 67
(3) Dt R(t) ± Q(t) = R (t) ± Q (t);
(4) Dt f (t)R(t) = f (t)R (t) + f (t)R(t);
(5) Dt R(t) · Q(t) = R(t) · Q (t) + R (t) · Q(t);
(6) Dt R(t) × Q(t) = R(t) × Q (t) + R (t) × Q(t);
(7) Dt R f (t) = f (t)R f (t) (Chain rule).
If during the time Δt the position vector of the particle changes from R1 = (x1 , y1 , z 1 )
to R2 = (x2 , y2 , z 2 ), then the displacement ΔR for that time is
−
→ −
→ −
→
ΔR = R2 − R1 = (x2 − x1 ) i + (y2 − y1 ) j + (z 2 − z 1 ) k .
If the particle moves through a displacement ΔR in a time Δt, then its average
velocity for this time is
ΔR(t) Δx −
→ Δy − → Δz − →
V (t) = = i + j + k.
Δt Δt Δt Δt
68 2 Vector Functions and Parametric Equations
A more useful quantity is the (instantaneous) velocity V (t), which is the limit of the
average velocity when Δt → 0. So, it is the derivative of the position vector R, i.e.,
d R(t) d −
→ −
→ →
− −
→ −
→ −
→
V (t) = = x(t) i + y(t) j + z(t) k = x (t) i + y (t) j + z (t) k .
dt dt
If the particle’s velocity changes by ΔV in a time Δt, the average acceleration is
ΔV (t)
A(t) = ,
Δt
but a more interesting quantity is the result of Δt → 0, which gives us (instantaneous)
acceleration A(t). It is the derivative of the velocity vector V (t), i.e.,
d V (t) −
→ −
→ −
→
A(t) = = x (t) i + y (t) j + z (t) k .
dt
The speed of the particle at time t is the magnitude of the velocity vector, that is,
V (t). If V (t) is constant, then A(t) is orthogonal to V (t); see Fig. 2.2.
A unit vector is a vector with magnitude of 1, examples of which are the three unit
−
→− → −
→
vectors i j and k . At each point on a curve in space (or plane), we can associate
the unit tangent vector and unit normal vector. If R(t) is the position vector of curve
C at a point P on C, then the unit tangent vector of C at P denoted by T (t) is the
unit vector in the direction of Dt R(t). Thus, we have
Dt R(t)
T (t) = .
Dt R(t)
Since T (t) = 1, it follows that T (t) · Dt T (t) = 0. This yields that Dt T (t) is
orthogonal to T (t).
If T (t) is the unit tangent vector of curve C at a point P on C, then the unit normal
vector, denoted by N (t), is the unit vector in the direction of Dt T (t), that is,
Dt T (t)
N (t) = .
Dt T (t)
Since T (t) and N (t) are orthogonal, it follows that the angle between these two
vectors is π/2, and so T (t) × N (t) = 1. This means that the cross product of T (t)
and N (t) is a unit vector. Hence, the vector B(t) = T (t) × N (t) is a unit vector
orthogonal to T (t) and N (t) and is called the unit binormal vector to the curve C at
P. The three mutually orthogonal unit vectors T (t), N (t) and B(t) are called moving
trihedral of C.
−
→ −
→ −
→
If a curve C is defined by R(t) = f (t) i + g(t) j + h(t) k , where f , g and
h are continuous and are not simultaneously zero and C traversed exactly once as t
increases from t0 to t, then the length of C is the definite integral
t
2 2 2
s(t) = f (u) + g (u) + h (u) du.
t0
It is clear that ds/dt = R (t). If the arc length s is chosen as the parameter, the
position vector R = R(s), its final point P = P(s), the unit tangent vector T =
T (s) = d R/ds and the unit normal vector
dT /ds
N = N (s) = (dT /ds = 0) (2.3)
dT /ds
are all functions of s, as indicated by the notation. It follows from (2.3) that dT /ds =
dT /dsN .
70 2 Vector Functions and Parametric Equations
T (t)
K (t) = Ds T (t) = .
R (t)
dT
dT dt
dT /dt
κ=
=
ds
dt ds
= ds/dt .
dB
τ =− · N.
ds
If A is acceleration of a particle, then we can write A = aT T + a N N , where
d 2s d ds 2
aT = = V and a N = κ = κV .
dt 2 dt dt
The aT and a N are called tangential and normal components of acceleration.
Suppose that κ(t) is the curvature of a curve C at a point P. Then by the radius of
curvature of C at P, we mean the number
1
ρ(t) = ,
κ(t)
that is, the reciprocal of the curvature. If κ(t) is small, then ρ(t) is big. This yields that
a very straight curve has a very big radius of curvature, and a straight line (κ(t) = 0)
can be regarded as having an infinite radius of curvature.
Let P be a point on C (in the plane). By the osculating circle of C at P, we mean
the circle of radius ρ(t) = 1/κ(t) passing through P whose center Q c lies on the
concave side of C along the normal to C at P; see Fig. 2.3.
The center of curvature at P is the center of the osculating circle at P. The center
of curvature at P, Q c (t) defined by
ρ(t)
82. For the following vector functions, find (a) the domain of R; (b) lim R(t) and
t→1
(c) Dt R(t).
√
1 −→ t − 1− →
(1) R(t) = i + j;
t +1 t −1
−
→ −
→
(2) R(t) = |t − 1| i + ln t j .
√
Solution. (1) Suppose that f (t) = 1/(t + 1) and g(t) = ( t − 1)/(t − 1). Then,
we have D f = {t ∈ R | t = −1}, Dg = {t ∈ R+ | t = 1} and so D R = D f ∩ Dg =
R+ − {1}. Since
√
1 t −1 1
lim f (t) = and lim g(t) = lim √ √ = ,
t→1 2 t→1 t→1 ( t − 1)( t + 1) 2
−
→ −
→
it follows that lim R(t) = (1/2) i + (1/2) j . Now, we compute the derivative of
t→1
R(t). We obtain
72 2 Vector Functions and Parametric Equations
t −1 √
√ − t +1
−
→ −
→ −1 − → 2 t −
→
Dt R(t) = R (t) = f (t) i + g (t) j = i + j
(t + 1)2 (t − 1)2
√
−1 − → −t − 1 + 2 t − →
= i + √ j.
(t + 1)2 2 t(t − 1)2
Solution. Suppose that R(t) = f 1 (t), f 2 (t), f 3 (t) and
lim R(t) = lim f 1 (t), lim f 2 (t), lim f 3 (t) = (a1 , a2 , a3 ) = A.
t→t0 t→t0 t→t0 t→t0
For each i = 1, 2, 3, we have lim f i (t) = a. So, for each > 0, there exists δi > 0
t→t0
such that | f i (t) − ai | < whenever |t − t0 | < δi . Assume that δ = min{δ1 , δ2 , δ3 }.
Then, we have
√ √
R(t) − A = | f 1 (t) − a1 |2 + | f 2 (t) − a2 |2 + | f 3 (t) − a3 |2 < 32 = 3,
84. Find a vector function that represents the curve of intersection of the cylinder
x 2 + y 2 = 4 and the surface z = x y.
85.
Find a vector function that represents the curve of intersection of the cone
z = x 2 + y 2 and the plane z = x + 2.
Solution.
First, we find the solution of equations z = x 2 + y 2 and z = x + 2. If
x 2 + y 2 = x + 2, then x 2 + y 2 = x 2 + 4x + 4. This implies that x = y 2 /4 − 1.
Now, we can determine the parametric equation for the curve C of intersection by
choosing y = t. Then, we obtain
t2 t2
x= − 1 and z = x + 2 = + 1.
4 4
t2 t2
Therefore, a vector function representation is R(t) = − 1, t, +1 .
4 4
86. Find the angle between the curves R1 = (t, 1 − t, 3 + t 2 ) and R2 (t) = (3 −
t, t − 2, t 2 ) where they meet.
Solution. First, we determine the point of intersection. We need to find the solution
of the simultaneous equations t = 3 − u, 1 − t = u − 2 and 3 + t 2 = u 2 . It is easy
to see that t = 1 and u = 2 satisfy all three equalities. This implies that two curves
meet at (1, 0, 4), the first when t = 1 and the second when t = 2. The derivatives
are R1 (t) = (1, −1, 2t) and R2 (t) = (−1, 1, 2t), and so at the intersection point we
have R1 (1) = (1, −1, 2) and R2 (2) = (−1, 1, 4). The angle between the two curves
at the intersection point is the angle θ between their tangent vectors. Hence, we have
−1 − 1 + 8 1 1
cos θ = √ √ = √ or θ = cos−1 √ .
6 18 3 3
2t − → 1 − t2 − → −→
R(t) = i + j + k.
1 + t2 1 + t2
Prove that the angle between R(t) and R (t) is constant, that is, independent of t.
2 − 2t 2 −
→ −4t − → −
→
R (t) = 2 i + 2 j + 0 k .
1+t 2 1+t 2
74 2 Vector Functions and Parametric Equations
Then, we have
2t 2 − 2t 2 1 − t2 −4t 4t − 4t 3 − 4t + 4t 3
R(t) · R (t) = + = 3 = 0.
1 + t2 1 + t2 2 1 + t2 1 + t2 2 1 + t2
Since R(t) and R (t) are not zero vectors, for all t ∈ R, it follows that cos θ = 0 or
θ = π/2, where θ is the angle between R(t) and R (t).
88. Prove that the vector function R(t) = et cos 4t, et sin 4t has the property
that the angle θ between position vector and the tangent vector is constant.
Solution. We have R (t) = (−4et sin 4t + et cos 4t, 4et cos 4t + et sin 4t). Then, we
obtain
R(t) · R (t) = −4e2t sin 4t cos 4t + e2t cos2 4t + 4e2t sin 4t cos 4t + e2t sin2 4t
= e2t (cos2 4t + sin2 4t) = e2t ,
R(t) = et and
R (t) =(−4et sin 4t + et cos 4t)2 + (4et cos 4t + et sin 4t)2
= 16e2t (sin2 4t + cos2 4t) + e2t (sin2 4t + cos2 4t)
√ √
= 16e2t + e2t = 17et .
√
Now, using the formula R(t) · R (t) = R(t) R (t) cos θ, we get e2t = 17e2t
cos θ. This yields that
1 1
cos θ = √ or θ = cos−1 √ .
17 17
89. Show that the vector function R(t) = (1 + t 2 , 1 + t 2 , 1 + t) does not intersect
the plane −2x + 3y + z = 1. Then, find the closest point of curve of the vector
function to the plane.
Solution. In order to see that they do not intersect, we put the formula of R(t) into
the formula for the plane componentwise. We obtain
1 2 7
−2(1 + t 2 ) + 3(1 + t 2 ) + (1 + t) = t 2 + t + 2 = t + + > 1.
2 4
Hence, we conclude that the curve cannot intersect the plane. Now, by the distance
formula between a point and a plane, we have
| − 2(1 + t 2 ) + 3(1 + t 2 ) + (1 + t) − 1| t2 + t + 1
D(t) = = √ .
(−2)2 + 32 + 12 14
2.5 Solved Problems 75
√
Taking the derivative of D(t), we obtain D (t) = (2t + 1)/ 14. If D (t) = 0, then
we get t = −1/2. Therefore, the closest point is (5/4, 5/4, 1/2).
90. Find two parametric representations R1 (t) and R2 (t) for the line y = x in R2
such that R1 (0) = R2 (0) = (0, 0) and R1 (0) = (0, 0) but R2 (0) = (0, 0).
91. Show that the derivative of the norm is not equal to the norm of the derivative,
in general.
d2 t
R(t) = t +2= √ .
dt t2 + 2
√
On the other hand, we have R (t) = (1, 0, 0) and then R (t) = 1 = 1. It is clear
in this example that R(t) = R (t).
d R(t) · R (t)
R(t) = .
dt R(t)
d
R(t)2 = 2R(t) · R (t).
dt
On the left side, note that R(t)2 is a scalar function, and using the chain rule; we
get
d d
R(t)2 = 2R(t) R(t).
dt dt
Hence, we have
d
2R(t) R(t) = 2R(t) · R (t),
dt
which implies that
d R(t) · R (t)
R(t) = .
dt R(t)
76 2 Vector Functions and Parametric Equations
This implies that R(t) · Dt R(t) = 0. Since the dot product of R(t) and Dt R(t) is
zero, it follows that R(t) and Dt R(t) are orthogonal.
Conversely, suppose that R(t) · Dt R(t) = 0. Since R(t)2 = R(t) · R(t), it fol-
lows that
2R(t) Dt R(t) = 2R(t) · Dt R(t).
Next, using the differentiation rule for cross products, we can write
R (t) × R (t) = R (t) × R (t) + R (t) × R (t) = R (t) × R (t). (2.5)
t2 − 1 2t
x= and y = 2 .
t2 + 1 t +1
3t 2
y= . (2.7)
1 + t3
−
→ −
→
97. For the curve R(t) = (cos t + t sin t) i + (sin t − t cos t) j with t > 0, find
the unit tangent vector T (t) and the unit normal vector N (t) at t = π/3.
−
→ −
→
Solution We obtain R (t) = t cos t i + t sin t j . Then, we have R (t) =
t 2 cos2 t + t 2 sin2 t = t. Since T (t) = R (t)/R (t), it follows that
−
→ −
→
T (t) = cos t i + sin t j .
−
→ −
→
Differentiating T (t) with respect to t, we obtain T (t) = − sin t i + cos t j . This
implies that T (t) = 1. Since N (t) = T (t)/T (t), it follows that
78 2 Vector Functions and Parametric Equations
−
→ −
→
N (t) = − sin t i + cos t j .
π √
π−→ π−→ 1− → 3−
→
T = cos i + sin j = i + j,
3 3 3 2 2
π √
π−→ π−→ 3−
→ 1− →
N = − sin i + cos j = − i + j.
3 3 3 2 2
98. Let R(t) = (cos 2t, sin 2t, t), where t ∈ [0, 2π] and let C be the curve that is
parameterized by R. Determine the unit binormal to C at R(π/4).
Solution. We have
Therefore, we obtain
−
→ −
→ →
−
i j k
−2 2 1
B(t) = T (t) × N (t) = √ sin 2t √ cos 2t √
5 5 5
− cos 2t − sin t 0
1 −
→ 1 −
→ 2 −→
= √ sin 2t i − √ cos 2t j + √ k .
5 5 5
√ −
→ √ −
→
Finally, we have B(π/4) = 1/ 5 i + 2/ 5 k .
2.5 Solved Problems 79
(2) Again, by the definition we obtain s(t) = 3t. This gives that
√
s s 5
R(s) = 2 cos , 2 sin , s .
3 3 3
100. Suppose that a particle moves along the curve R(t) = (et , e2t , sin t) from
t = 0 to t = 1, and then it moves on the tangent line to the curve at R(1) in the
direction of the tangent vector. Find the position of the particle at t = 5.
Note that X (0) = R(1). So, the position vector of the particle at t = 5 is X (4).
101. Is there a point on the curve R(t) = (t 2 − t, t 3 /3, 2t) at which the tangent
line is parallel to the vector B = (−5/2, 2, 1)?
Solution. If there exists a point on the curve R(t) such that the tangent line is parallel
to B, then there exist c and t0 such that B = c R (t0 ). This implies that
5
− , 2, 1 = c 2t0 − 1, t02 , 2 = 2ct0 − c, ct02 , 2c .
2
Hence, we conclude that
5
2ct0 − c = − , ct02 = 2 and 2c = 1. (2.8)
2
The third equality in (2.8) gives that c = 1/2. From the second equality in (2.8), we
obtain t0 = ±2. It is easy to check that only t0 = −2 satisfies the first equality in (2.8).
Therefore, there is a point when t = −2, and this point is R(−2) = (2, −8/3, −4).
80 2 Vector Functions and Parametric Equations
102. Find all solutions to R (t) = 2R(t), where R(t) is a vector function in R3 .
Solution.
Suppose that R(t) = x(t), y(t), z(t) . Then, we haveR (t)
= x (t), y (t),
z (t) . Substituting in R (t) = 2R(t), we get x (t), y (t), z (t) =2 x(t), y(t), z(t) .
Equating the corresponding components gives that x (t) = 2x(t), y (t) = 2y(t) and
z (t) = 2z(t). It follows that x(t) = c1 e2t , y(t) = c2 e2t and z(t) = c3 e2t . Hence, we
have R(t) = e2t (c1 , c2 , c3 ), where (c1 , c2 , c3 ) is a constant vector.
103. Let R(t) = f (t), g(t), h(t) be a continuous vector function on [a, b], and
let C be any constant vector. Show that
b b
C · R(t)dt = C · R(t)dt.
a a
−
→ −
→ − →
104. Compute A · B, where A = 2 i − 4 j + k and
−
1
→ −
→ →
−
B= te2t i + t cosh 2t j + 2te−2t k dt.
0
≤ R(t)dt. (2.9)
a a
2.5 Solved Problems 81
b
Solution. Suppose that C = R(t)dt. If C is the zero vector, then (2.9) obviously
a
holds. So, let C be non-zero. Then, by Problem 103, we can write
b b
C2 = C · C = C · R(t)dt = C · R(t)dt. (2.10)
a a
where in the last step we used the Cauchy-Schwartz inequality |R · C| ≤ C R(t).
Combining (2.10) and (2.32), we get
b
C2 ≤ C R(t)dt.
a
106. A particle moves along the parabola x 2 + a(y − x) = 0 in such a way that
the horizontal and vertical components of the acceleration vector are equal. If it
takes T units of time to go from the point (a, 0) to the point (0, 0), how much time
will it require to go from (a, 0) to the halfway point (a/2, a/4)?
R(t) = x(t), x(t) − x (t)/a . Then, the first and second derivatives of R are
2
2x(t)x (t)
R (t) = x (t), x (t) − ,
a
2 2
R (x) = x (t), x (t) − x (t) + x(t)x (t) .
a
Since the horizontal and vertical components of the acceleration vector are equal, it
follows that
2 2
x (t) = x (t) − x (t) + x(t)x (t) .
a
Thus, we have x(t)x (t) + x 2 (t) = 0. This yields that x(t)x (t) = 0, and so
x(t)x (t) = c is constant. Now, we can write x(t)d x = cdt, which implies that
x 2 (t)/2 = ct. Now, using the conditions, we get (0 − a 2 )/2 = cT . This gives that
c = −a 2 /(2T ). Next, we have
1 a 2 1 −3a 2 −a 2
−a =
2
= (T f − 0).
2 2 2 4 2T
82 2 Vector Functions and Parametric Equations
Solution. (1) We observe that (x/4)2 + y 2 = 1. This means that the path of particle
is this ellipse. The motion is counterclockwise around the ellipse.
−
→ −
→
(2) The position vector is R(t) = 4 cos t i + sin t j . Hence, the velocity is
−
→ −
→
V (t) = R (t) = −4 sin t i + cos t j √.
(3) The speed is v(t) = V (t) = 16 sint + cost 2t. Then, we obtain
dv 15 sin t cos t
=√ .
dt 16 sint + cos2 t
If dv/dt = 0, then sin t cos t = 0. This implies that sin t = 0 or cos t = 0, and hence
t = nπ or t = π/2 + nπ, where n is any integer. Next, we have v(nπ) = 1 and
v(π/2 + nπ) = 4. So, the maximum speed occurs when t = π/2 + nπ. If n is even,
then the maximum occurs at the point (0, 1). If n is odd, then the maximum occurs
at the point (0, −1).
(4) The magnitude of the acceleration is a(t) = A(t) = 16 cos2 t + sin2 t.
Now, we have
da −15 sin t cos t
= .
dt 16 cost + sin2 t
108. Show that if the velocity and position vectors of a particle remain orthogonal
during the motion, then the trajectory lies on a sphere.
Solution. Suppose that R(t) = x(t), y(t), z(t) is the position vector, and V (t) =
R (t). Since R(t) and V (t) are orthogonal, it follows that V (t) · R(t) = 0, for all t.
On the other hand, we have
R(t) · R(t) = R (t) · R(t) + R(t) · R (t) = 2R (t) · R(t) = 2V (t) · R(t) = 0.
2.5 Solved Problems 83
This yields that R(t) · R(t) is constant. Hence, let R(t) · R(t) = r 2 , for all t. Then,
we obtain x 2 (t) + y 2 (t) + z 2 (t) = r 2 . This means that the particle remains at a fixed
distance r from the origin all the time.
110. A differential equation of the form Y (x) + p(x)Y (x) = Q(x), where p is
a given real function, Q a given vector function and Y an unknown vector function,
is called a first- order linear vector differential equation. Prove that if p and Q are
continuous on an interval I , then for each a ∈ I and each vector B there is one
and only one solution Y which satisfies the initial condition Y (a) = B, and that this
solution is given by the formula
x
−q(x) −q(x)
Y (x) = Be +e Q(t)eq(t) dt,
a
t
where q(t) = p(u)du.
a
Thus, μi (x) must satisfy μi (x) p(x)yi (x) = μi (x)yi (x). Assuming for the moment
that μi (x) > 0, we obtain μi (x)/μi (x) = p(x). This implies that ln μi (x) = p(x)
d x, or equivalently
μi (x) = e p(x)d x .
Returning to (2.13) and multiplying by μi (x), we obtain μi (x)yi (x) = μi (x)qi (x).
So, we conclude that
μi (x)yi (x) = μi (x)qi (x)d x + ci ,
or equivalently
−
yi (x) = e p(x)d x
qi (x)e p(x)d x
d x + ci .
111. Find a vector function R, continuous on the interval (0, ∞) such that
x
1
R(x) = xe x A + R(t)dt, (2.15)
x 1
It follows that
R(x) = 2e x A + xe x − e x A + C = xe x A + e x A + C, (2.16)
where C is a constant vector. Taking the integral from both sides of this equation,
we have
x x x
t
R(t)dt = te A + et A + C dt = A(tet − et ) + et A + Ct
1 1 1
C(x − 1) e A
R(x) − xe x A = Ae x + − . (2.17)
x x
From (2.16) and (2.17), we get C = −e A. Therefore, we obtain
R(x) = xe x A + e x A − e A = xe x + e x − e A.
112. A vector function R, which is never zero and has a continuous derivative
R (t) for all t, is always parallel to its derivative. Prove that there is a constant vector
A and a positive real function f such that R(t) = f (t)A, for all t.
Solution.
Since R(t) is parallel to R (t), we can write R (t) = g(t)R(t), where R(t) =
f 1 (t), f 2 (t), f 3 (t) and g is a real function. So, we have f i (t) = g(t) f i (t), for
i = 1, 2, 3, or equivalently f i (t)/ f i (t) = g(t). Taking the integral from both sides,
we obtain
t t f (t) t
f i (x) i
dx = g(x)d x or ln = g(x)d x.
a f i (x) a f i (a) a
f i (t) t t
= e a g(x)d x or f i (t) = f i (a)e a g(x)d x ,
f i (a)
86 2 Vector Functions and Parametric Equations
113. A plane curve C in the first quadrant has a negative slope at each of its points
and passes through the point (3/2, 1). The position vector R from the origin to any
−
→
point (x, y) on C makes an angle θ with i , and the velocity vector makes an angle
−
→
φ with i , where 0 < θ < π/2, and 0 < φ < π/2. If 3 tan θ = 4cotφ at each point
of C, find the Cartesian equation for C.
Solution. Assume that R(t) = x(t), y(t) and R (t) = x (t), y (t) . Since dy/d x <
0 in the first quadrant and 3 tan θ = 4cotφ, it follows that
y −4 x
= .
x 3 y
114. Show that a moving particle will move in a straight line if the normal
component of its acceleration is zero.
R (t) × R (t)
κ(t) = . (2.18)
R (t)3
Solution. We express R (t) and R (t) in terms of T (t) and T (t), then we compute
their cross product. Since T (t) = R (t)/R (t) and ds/dt = R (t), it follows
that
2.5 Solved Problems 87
ds
R (t) = T (t). (2.19)
dt
Taking the derivative with respect to t of (2.19) gives
d 2s ds
R (t) = T (t) + T (t). (2.20)
dt 2 dt
From (2.19), (2.20) and using the properties of cross products, we obtain
ds d 2 s ds 2
R (t) × R (t) = T (t) × T (t) + T (t) × T (t)
dt dt 2 dt
ds 2
= T (t) × T (t) .
dt
Hence, we can write
ds 2
R (t) × R (t) = T (t) T t) sin θ,
dt
where θ is the angle between T (t) and T (t). Since T (t) = 1, and T (t) and T (t)
are orthogonal, we conclude that
ds 2
R (t) × R (t) = T (t) = R (t)2 T (t).
dt
This implies that
R (t) × R (t)
T (t) = .
R (t)2
116. Show that κ and τ are both zero for the line
−
→ −
→ −
→
R(t) = (x0 + at) i + (y0 + bt) j + (z 0 + ct) k .
−
→ −
→ −
→
Solution. We have V (t) = a i + b j + c k , and so A(t) = 0. This gives that V ×
A = 0. Now, using Problem 115, we deduce that the curvature is zero. Since the
curve is a plane curve, it follows that τ = 0.
117. A particle moves along a path given by the curve R(t)= 2t 2 + 1, 2et + 2, t 3 .
What are the normal and tangential components of acceleration when the particle
is moving in the direction of the y-axis?
Solution. The particle moves in the direction of the y-axis when its velocity vector
is parallel to the vector (0, 1, 0). We observe that V (t) = R (t) = (4t, 2et , 3t 2 ).
88 2 Vector Functions and Parametric Equations
In order for this vector to be parallel to (0, 1, 0), it is necessary that the first and
third components be zero. This happens at t = 0. So, we have R (0) = (0, 2, 0).
Also, since R (t) = (4, 2et , 6t), it follows that R (0) = (4, 2, 0). Now, the tangential
component of acceleration at time t = 0 is
Solution. Without loss of generality, we assume that C lies in the x y-plane, and let
R = (x, y). Then, we have R = (x , y ) and R = (x , y ). So, we can write
− →
→ −
→ −
i j k
−
→
R × R = x y 0 = (x y − y x ) k .
x y 0
R × R |x y − y x |
κ= = 3/2 .
R 3 x 2 + y2
119. Verify the curvature κ = κ(θ) of the polar curve r = r (θ) is given by
|r 2 + 2r 2 − rr |
κ= 3/2 , (2.21)
r 2 + r 2
Solution. The curve can be expressed in the parametric form x(θ) = r (θ) cos θ and
y(θ) = r (θ) sin θ. Calculating the first and second derivatives of x and y, we obtain
|x y − y x | |r 2 + 2r 2 − rr |
κ= 3/2
= 3/2 .
x 2 + y2 r 2 + r 2
120. Show that at the point of intersection of the curves r = aθ and r θ = a, the
curvatures are in the ratio 3 : 1, where 0 < θ < 2π.
Solution. Suppose that κ1 and κ2 are the curvatures of the curves r = aθ and r θ = a,
respectively. The points of intersection of the given curves are aθ2 = a or θ = ±1.
To evaluate the curvatures, we use the formula (2.21) in Problem 119.
For the curve r = aθ, we have r = a and r = 0. So, at θ = ±1, we get
|r 2 + 2r 2 − rr | |a 2 θ2 + 2a 2 − 0|
κ1 = 3/2 = 3/2
at θ=±1 r 2 + r 2 at θ=±1 a 2 θ2 + a 2 at θ=±1
2 3/2 √ 3 √
2a 2 2a 2 2
= 2
= 2
= a.
3a 3a 3
ds (n−1)/n
= a sec nθ .
dθ
n dr sin nθ
= −n ,
r dθ cos nθ
Solution. The proof follows easily from Problem 115. We parameterize the curve by
x = x, y = f (x) and z = 0. Using x as the name of the parameter, then the posi-
tion vector of C is R(x) = (x, f (x), 0). Hence, we have R (x) = (1, f (x), 0) and
R (x) = (0, f (x), 0). Now, we get R (x) × R (x)
= (0, 0, f (x)), which implies
2
that R (x) × R (x) = | f (x)| and R (x) = 1 + f (x) . Therefore, we con-
clude that
R (x) × R (x) | f (x)|
κ(x) = = 2 3/2 .
R (x)3
1 + f (x)
123. Find the value of a such that the curvature of f (x) = eax at x = 0 is as large
as possible.
Solution. We have f (x) = aeax and f (x) = a 2 eax . Now, using the formula in
Problem 122, we obtain
a 2 eax
κ(x) = 3/2 .
1 + a 2 e2ax
a2
κ(0) = 3/2 .
1 + a2
Since κ(0) and κ2 (0) have their maximum values at the same values of a, we maxi-
mize the function
a4
h(a) = κ2 (0) = 3 .
1 + a2
We have
4a 3 (1 + a 2 )3 − a 4 (3)(1 + a 2 )2 (2a) 2a 3 (1 + a 2 )2 (2 − a 2 )
h (a) = = .
(1 + a )2 6 (1 + a 2 )6
2.5 Solved Problems 91
√ √
If h (a) = 0, then the stationary points are a = 0, a = 2 and a = − 2. Since
h(a) ≥ 0√and h(0) = 0, it follows √ that a = 0 is a minimum point.√ Since h (a) > 0
for a < 2 and h (a) < 0 for 2 < a, we conclude that a = 2 is a maximum √
point. On the other hand, since h is an even function, it follows that a = − 2 is a
maximum √ point as well. Consequently, κ(x) takes its maximum value at x = 0 when
a = ± 2.
1 1 dy
√ − √ = 0.
2 ax 2 by d x
and so
d 2 y b
= 2.
d x 2 at (a,0) 2a
3/2
1 + y2 2a 2
ρ(t) = = .
at (a,0) |y | at (a,0) b
Similarly, we have
d 2 x a
= 2,
dy 2 at (0,b) 2b
92 2 Vector Functions and Parametric Equations
and so 3/2
1 + x 2 2b2
ρ(t) = = .
at (0,b) |x | at (0,b) a
125. Show that the curvature of the parametrization R(t) = (a cos t, b sin t) of
the ellipse x 2 /a 2 + y 2 /b2 = 1 is
ab
κ(t) = 3/2 .
b cos t + a 2 sin2 t
2 2
Solution. We apply Problem 115. We compute the first and the second derivatives of
R(t) as follows:
R (t) = (−a sin t, b cos t) and R (t) = (−a cos t, −b sin t).
Then, we obtain
−
→ −
→
R (t) × R (t) = ab sin2 t + ab cos2 t k = ab k ,
ab ab
κ(t) = 3 = 2 2 3/2 .
a sin t + b cos t
2 2 2 2 a sin t + b2 cos2 t
b a
≤ κ(t) ≤ 2 .
a2 b
3/2
Solution. In Problem 125, we proved that κ(t) = ab/ a 2 sin2 t + b2 cos2 t . Since
b ≤ a, it follows that
ab ab
3/2 ≤ κ(t) ≤ 3/2 .
a sin t + a cos t
2 2 2 2 b sin t + b2 cos2 t
2 2
This implies that ab/a 3 ≤ κ(t) ≤ ab/b3 , and so b/a 2 ≤ κ(t) ≤ a/b2 , as desired.
127. Prove that if R(t) = x(t), y(t), z(t) is a vector equation of curve C, K (t)
is the curvature vector of C at a point P, and s units is the arc length measured from
an arbitrary chosen point on C to P, then
2
Ds R(t) · Ds3 R(t) = − K (t) .
2.5 Solved Problems 93
Solution. We know that K (t) = T (t)/R (t) and also K (t) = Ds T (t). Since T (t)
and T (t) are orthogonal, it follows that T (t) and K (t) are orthogonal, which implies
that T (t) · K (t) = 0. It follows that
0 = Ds T (t) · K (t) = Ds T (t) · K (t) + T (t) · Ds K (t).
Solution. First, we compute the curvature using the formula in Problem 118. We
have x(t) = et cos 4t and y(t) = et sin 4t. Calculating the first and second derivatives
gives
x (t) = et (cos 4t − 4 sin 4t),
y (t) = et (sin 4t + 4 cos 4t),
x (t) = −et (15 cos 4t + 8 sin 4t),
y (t) = et (8 cos 4t − 15 sin 4t).
Since the radius of curvature is the reciprocal of the curvature, i.e., ρ(t) = 1/κ(t), it
follows that √
17 t
ρ(t) = e. (2.25)
4
On the other hand, by the fundamental theorem of calculus we obtain
√ t
s (t) = R (t) = x (t)2 + y (t)2 = 17e .
Thus, we have √
lim s(t) = lim 17et + C = C. (2.26)
t→−∞ t→−∞
94 2 Vector Functions and Parametric Equations
t
Moreover, since s(t) = R (u)du, it follows that
−∞
Now, from (2.25) and (2.28) we obtain ρ(t) = s(t)/4, and we finished the solution.
−
→ −
→
129. Find an equation for the circle of curvature of the curve R(t) = t i + sin t j
at the point (π/2, 1). (The curve parameterizes the graph y = sin x in the x y-plane.)
−
→ −
→ √
Solution. We obtain R(t) = i + cos t j and R (t) = 1 + cos2 t. Also, we have
R (t) 1 −
→ cos t −
→
T (t) =
=√ i +√ j,
R (t) 1 + cos t
2 1 + cos t
2
−
→
130. Find an equation for the circle of curvature of the curve R(t) = 2 ln t i −
1 − →
t+ j with e−2 ≤ t ≤ e2 , at the point (0, −2), where t = 1.
t
2−→ 1 − →
R (t) = i − 1 − 2 j ,
t t
2
4 1 t 2
+1
R (t) = 2
+ 1 − 2
= ,
t t t2
R (t) 2t − → t2 − 1 − →
T (t) = = i − 2 j,
R (t) t2 + 1 t +1
−2(t 2 − 1) − → 4t −
→
T (t) = i − 2 j,
(t + 1)
2 2 (t + 1) 2
2.5 Solved Problems 95
4(t 2 − 1)2 + 16t 2 2
T (t) = = 2 ,
(t 2 + 1)4 t +1
T (t) t2 2 2t 2
κ(t) = = = .
R (t) t2 + 1 t2 + 1 (t 2 + 1)2
Since κ(1) = 1/2, it follows that ρ(1) = 1/κ(1) = 2. Since the circle of curvature
is tangent to the curve at the point (0, −2), it follows that the circle has the same
−
→
tangent as the curve. The vector R (1) = 2 i is tangent to the circle, and so the
center lies on the y-axis. If t = 1, then (t − 1)2 > 0, which implies that t 2 + 1 > 2t,
or equivalently (t 2 + 1)/t > 2. Hence, t + 1/t > 2 or −(t + 1/t) < −2. This yields
that y < −2 on both sides of the point (0, −2). Thus, we conclude that the curve is
concave down, and so the center of the circle of curvature is (0, −4). Therefore, we
deduce that an equation of the circle of curvature is x 2 + (y + 4)2 = 4.
131. We find the total curvature of the portion of a smooth curve runs from s = s0
to s = s1 > s0 by integrating κ from s0 to s1 . If the curve has some other parameter,
say t, then s1 t1 t1
ds
κT = κds = κ dt = κR (t)dt,
s0 t0 dt t0
−
→
Solution. (1) First, we compute the curvature. We have R (t) = −3 sin t i + 3 cos t
−
→ − → √
j + k and R (t) = 10. Then, we get
R (t) 1 −
→ −
→ − →
T (t) = =√ − 3 sin t i + 3 cos t j + k ,
R (t) 10
T (t) 1
1 −
→ →
−
= 3 .
κ(t) = = √
√ − 3 cos t i − 3 sin t j
10
R (t) 10 10
|y | 2
κ(t) = 3/2 = 3/2 .
1 + y 2
1 + 4t 2
96 2 Vector Functions and Parametric Equations
132. Prove that the radius of curvature of the curve with parametric equations
x = x(s), y = y(s) and z = z(s) is given by
2 d 2 y 2 d 2 z 2 −1/2
d x 2
ρ= + + .
ds 2 ds 2 ds 2
−
→ −
→
Solution. The position vector of any point on the curve is R(s) = x(s) i + y(s) j +
−
→
z(s) k . Then, we have
dR dx −
→ dy − → dz − →
T (s) = = i + j + k,
ds ds ds ds
dT d2x −
→ d2 y −
→ d2z −
→
= 2 i + 2 j + 2 k.
ds ds ds ds
Since dT /ds = κ, it follows that
d 2 x 2 d 2 y 2 d 2 z 2
κ= + + .
ds 2 ds 2 ds 2
133. Let R be three times differentiable vector function that transverses a smooth
curve whose curvature does not vanish. Then the torsion of the curve is
R (t) × R (t) · R (t)
τ (t) = .
R (t) × R (t)2
Solution. Suppose that v(t) = R (t). With this notation, we have R = vT and
R = v T + κv 2 N . (2.29)
R × R = vT × R = κv 3 B. (2.30)
(R × R ) · R = κv 3 B · R = κ2 v 6 τ B · B = κ2 v 6 τ .
Consequently, we have
(R × R ) · R
τ= .
κ2 v 6
Now, using (2.18) in Problem 115, the result follows.
Solution. We have
dR d2 R dT d3 R dN dκ
= T, 2
= = κN and 3
=κ + N. (2.32)
ds ds ds ds ds ds
On the other hand, we have
dN T dB
=B× + × T = B × κN − τ N × T = −κT + τ B. (2.33)
ds ds ds
Combining the third equality in (2.32) and (2.33), we get
d3 R dκ dκ
3
= κ(τ B − κT ) + N = κτ B − κ2 T + N.
ds ds ds
Therefore, we obtain
98 2 Vector Functions and Parametric Equations
d R d2 R d3 R dκ
· × = T · κN × κτ B − κ 2
T + N
ds ds 2 ds 3 ds
dκ
= T · κ 2 τ N × B − κ3 N × T + κ N × N
ds
2 τ
= T · κ τ T + κ3 B = κ2 τ = 2 .
ρ
2.6 Exercises
Easier Exercises
1. Let c be a constant. Show the angle between the position and the velocity vectors
−
→ −
→
along the curve R(t) = ect cos t i + ect sin t j , t ∈ R, is constant.
2. An object moves with velocity vector (cos t, sin t, t), starting at (0, 0, 0) when
t = 0. Find the function R giving its location.
−
→ −
→
3. Find the position vector R(t) if the acceleration vector A(t) = t 2 i − (1/t 2 ) j
−
→ −
→ −
→
and V (1) = j , and R(1) = (−1/4) i + (1/2) j .
4. Suppose that an object moves such that its acceleration is given by A(t) =
(−3 cos t, −2 sin t, 0). At time t = 0, the object is at (3, 0, 0) and its velocity
vector is (0, 2, 1). Find V (t) and R(t) for the object.
5. At what point on the curve R(t) = (t 3 , 3t, t 4 ) is the plane perpendicular to the
curve also parallel to the plane 6x + 6y − 8z = 1?
6. Find the equation of the line tangent to (cos t, sin t, cos(6t)) when t = π/4.
7. Suppose that the vector functions V (t) × U (t) and V (t) = 0 are continuous.
Does this imply that the vector function U (t) is continuous? Support your argu-
ments with examples.
Find the limit if it exists:
8. lim cos t, t 2 + 3, tan t ; 10. lim t 2 , e2t , t 2 + 2t ;
t→π/2
t→1
2
1 1 et t − 2t − 3 t 2 − 5t + 6 1
9. lim 2 − 2 , ln t, ; 11. lim , , .
t→0 t t sec t t t→3 t −3 3−t t
−
→ −
→ −
→ −
→ − → −
→
12. If R1 (t) = t 2 i − t j + (3t 5 + 1) k and R2 (t) = (3t 2 − 1) i + j − 2t k ,
find
d(R1 ± R2 ) d(R1 × R2 )
(a) ; (c) ;
dt dt
d(R1 · R2 ) d d R2
(b) ; (d) R1 × .
dt dt dt
13. Find the magnitude of the velocity and acceleration of a particle which moves
along the curve x = −2 sin 3t, y = −2 cos 3t and z = −5t at any time t > 0.
Find unit tangent vector to the curve.
2.6 Exercises 99
14. Find an equation for the tangent plane to the surface z = x 2 + y 2 at the point
(1, −1, 2).
15. Find the point of intersection of the plane y + z = 3 and the curve R(t) =
(ln t, t 2 , 2t). Find the angle between the normal of the plane and the tangent line
to the curve at the point of intersection.
16. At which points is the tangent to the curve x = t, y = t 2 and z = t 3 parallel to
the plane x + 2y + z − 1 = 0?
17. Show that tangent lines to a circular helix have a constant angle with the axis of
the helix. √
18. Show that the arc length of the helix cos t, sin t, t), for 0 ≤ t ≤ 2π), is 2π 2,
equal to the length of the diagonal of a square of side 2π. Show this graphically.
−
→ −
→ −
→
19. For the curve given by R(t) = (1/3)t 3 i + (1/2)t 2 j + t k , find
(a) the unit tangent vector;
(b) the unit normal vector;
(c) the curvature.
−
→
20. Find the cosine of the angle between the vector j and the unit tangent vector
−
→ −
→ −
→
to the curve R(t) = cos 2t i − 3t j + 2 sin 2t k at the point where√ t= √π.
21. Find the curvature of the curve x = cos t and y = sin3 t at point ( 2/4, 2/4).
3
22. Find the radius and center of the curvature of the curve y = x 4 at point (1, 1).
23. Show that the curvature of the curve y = ln x at any point (x, y) is equal√to
x/(x 2 + 1)3/2 . Also, show that
√ the absolute maximum of the curvature is 2/3 3,
which occurs at the point ( 2/2, − ln 2/2).
24. What is the torsion of the curve x = cosh x, y = sinh x and z = t at the point
which corresponds to t = ln 2?
25. Find the torsion τ of the general circular helix x = a cos ωt, y = a sin ωt and
z = bt, where a > 0.
26. Show that the curvature κ and torsion τ of the curve x = 3t − t 3 , y = 3t 2 and
z = 3t + t 3 are equal at every point.
27. Find the tangential and normal components of the acceleration vector of a particle
−
→ −
→ −
→
with position function R(t) = t i + 2t j + t 2 k .
Harder Exercises
28. Show that the curve with vector equation
R(t) = a1 t 2 + b1 t + c1 , a2 t 2 + b2 t + c2 , a3 t 2 + b3 t + c3
30. Prove the following rule for differentiating a 3 × 3 determinant each of whose
rows consists of differentiable scalar functions:
x1 y1 z 1 x y z x1 y1 z 1 x1 y1 z 1
d 1 1 1
x2 y2 z 2 = x2 y2 z 2 + x2 y2 z 2 + x2 y2 z 2 .
dt x y z x y z x y z x y z
3 3 3 3 3 3 3 3 3 3 3 3
35. Find the distance traveled by a thumbtack in the tread of a bicycle tire if the
radius of the tire is 40 cm and the bicycle goes a distance of 50π m.
Hint: The path of the thumbtack is a cycloid.
36. A projectile is shot from the top of a building 96 ft high from a gun at an angle of
30◦ with the horizontal. If the muzzle speed is 1600 ft/sec, find the time of flight
and the distance from the base of the building to the point where the projectile
lands.
37. Find the curvature of the curve with parametric equations
t 1 t 1
x= sin πθ dθ and y =
2
cos πθ2 dθ.
0 2 0 2
The initial conditions are R(0) = (5, 0) and V (0) = (1, 4), where V = d R/dt
is the velocity of the particle. Solve for the motion of the particle and roughly
plot its trajectory. In particular, describe the behavior of the trajectory for large
positive t and for large negative t.
102 2 Vector Functions and Parametric Equations
a+b a+b
x = (a + b) cos t − b cos t and y = (a + b) sin t − b sin t.
b b
45. A conical helix winds around a cone in a way similar to that in which a circular
helix winds around a cylinder. Use the formula (2.34) to find the length of arc
from t = 0 to t = 2π of the conical helix having parametric equations ρ = t,
θ = t and ϕ = π/4.
Chapter 3
Functions of Several Variables, Limits
and Continuity
1
f (x, y, z) = ,
x2 + y2 + z2
then f is a function of three variables. The domain of this function is all (x, y, z) ∈ R3
except for (x, y, z) = (0, 0, 0).
Likewise, a multi-variable function of n variables is a function f : Rn → Rm ,
where the domain D f of f is a subset of Rn . Hence, for each (x1 , . . . , xn ) ∈ D f , the
value of f is a vector f (x1 , . . . , xn ) ∈ Rm .
If f is a function of two variables, then the graph of f is the set
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2023 103
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1_3
104 3 Functions of Several Variables, Limits and Continuity
(x0 , y0 , f (x0 , y0 ))
(x0 , y0 )
where c is any constant in the range of f . Thus, the level curve corresponding to c
has the equation f (x, y) = c, regarded as a curve in the x y-plane. By considering
different values for the constant c, we obtain a set of level curves called a contour
map, see Fig. 3.2. Level curves corresponding to different values cannot intersect.
By a level surface of a function f of three variables x, y and z, we mean the graph
of the equation f (x, y, z) = c, where c is any constant in the range of f .
The element of Rn are called points, or vectors. If X = (x1 , . . . , xn ) and Y =
(y1 , . . . , yn ) and if c is a real number, we define
n
X ·Y = xi yi ,
i=1
and the norm of X by X = x12 + . . . + xn2 .
Triangle inequality: The inequality
X + Y ≤ X + Y
3.2 Limits
lim f (X ) = L .
X →X 0
106 3 Functions of Several Variables, Limits and Continuity
An interior point
•
Now, we state the definition of the limit of a function of two variables. It is the special
case of the above definition where X 0 is the point (x0 , y0 ) and X is the point (x, y).
Let f be a function of two variables that are defined in a deleted neighborhood of
a pair (x0 , y0 ). Then the limit of f (x, y) as (x, y) approaches (x0 , y0 ) is L, written
as
lim f (x, y) = L ,
(x,y)→(x0 ,y0 )
if for any > 0, there exists δ > 0 such that | f (x, y) − L| < whenever 0 <
(x − x0 )2 + (y − y0 )2 < δ.
The limit of a function is unique if it exists.
Properties of limits of functions of several variables: In the following, we list these
properties for functions of two variables. Analogous properties hold for functions of
more variables.
Let L, M and c are real numbers and f, g are two variable functions, such that
or equivalently
lim g f (x, y) = g lim f (x, y) .
(x,y)→(x0 ,y0 ) (x,y)→(x0 ,y0 )
Sandwich theorem: Let f, g and h be functions of two variables x and y such that
f (x, y) ≤ g(x, y) ≤ h(x, y), for all (x, y) in some deleted neighborhood of (x0 , y0 ).
If lim f (x, y) = lim h(x, y)) = L, then
(x,y)→(x0 ,y0 ) (x,y)→(x0 ,y0 )
lim g(x, y) = L .
(x,y)→(x0 ,y0 )
if for any > 0, there exists δ > 0 such that | f (x, y) − L| < whenever 0 <
(x − x0 )2 + (y − y0 )2 < δ and (x, y) ∈ S. A special case of (3.2) occurs when
S is a set of points on a curve containing (x0 , y0 ). In such cases, the limit in (3.2)
becomes the limit of a function of one variable.
Let the function f be defined for all points on a deleted neighborhood having its
center at (x0 , y0 ) and lim f (x, y) = L. Then if S is any set of points in R2
(x,y)→(x0 ,y0 )
having (x0 , y0 ) as an accumulation point, then
lim f (x, y)
(x,y)→(x0 ,y0 )
(x,y)∈S
exists and always has the value L. The following is an immediate consequence of
the above fact. If the function f has different limits as (x, y) approaches (x0 , y0 )
through two distinct sets of points having (x0 , y0 ) as an accumulation point, then
lim f (x, y) does not exist. This is a very important consequence, one which
(x,y)→(x0 ,y0 )
makes computing limits for functions of several variables more difficult. Indeed, it
does not even have to approach (x0 , y0 ) along a straight path as shown in Fig. 3.4.
To show that a limit does not exist, it is enough to find two paths along which the
limit are not equal.
Infinite limits: Let f be a function of several variables. We say that f (X )
approaches ∞ as X approaches X 0 and we write
lim f (X ) = ∞,
X →X 0
108 3 Functions of Several Variables, Limits and Continuity
if X 0 is a limit point of D f and for any real number M there is δ > 0 such that
f (X ) > M whenever 0 < X − X 0 < δ and X ∈ D f . We say that lim f (X ) =
X →X 0
−∞ if lim (− f )(X ) = ∞.
X →X 0
Limits as X → ∞: Let f be a function of several variables such that D f is
bounded. We say that
lim f (X ) = L ,
X →∞
if for any > 0, there exists a number N such that | f (X ) − L| < whenever X >
N and X ∈ D f .
We leave to reader to define lim f (X ) = ∞ and lim f (X ) = −∞.
X →∞ X →∞
Let f : Rn → R be a function and ⊆ Rn . We say that f is bounded on if
there exists a positive number M such that | f (X )| < M, for all X ∈ .
3.3 Continuity
Continuity for functions of several variables is defined in the same way as for func-
tions of a single variable. Thus, if f is a function of n variables and X 0 is a point
in Rn , then we say f is continuous at X 0 if and only if the following conditions are
satisfied:
(1) f (X 0 ) exists;
(2) lim f (X ) exists;
X →X 0
(3) lim f (X ) = f (X 0 ).
X →X 0
3.4 Solved Problems 109
If one or more of the above conditions fails to hold at point X 0 , then f is said to be
discontinuous. So, a function f of two variables x and y is continuous at the point
(x0 , y0 ) if and only if the following conditions satisfy:
(1) f (x0 , y0 ) exists;
(2) lim f (x, y) exists;
(x,y)→(x0 ,y0 )
(3) lim f (x, y) = f (x0 , y0 ).
(x,y)→(x0 ,y0 )
u + v u − v u − v 2 u 2 − uv
f (u, v) = · + = .
2 2 2 2
110 3 Functions of Several Variables, Limits and Continuity
136. Let
x2 y2
f (x, y) = 1− − .
4 25
Find the domain and range of f .
Solution. Because of the square root, the domain of f is all the pairs (x, y) such that
x2 y2 x2 y2
1− − ≥ 0, or + ≤ 1. This describes an ellipse and its interior. We
4 25 4 25
can represent the domain of f in set notation as follows:
x2 y2
D f = (x, y) ∈ R2 | + ≤1 .
4 25
The range is the set of all positive output values. The square root ensures that all
output is positive. Since the x and y terms are squared, then subtracted, inside the
square root, the largest output value comes at x = 0 and y = 0, i.e., f (0, 0) = 1.
Therefore, the range of f is the interval [0, 1].
1
f (x, y) = .
4x 2 − y2
Solution. A point (x, y) lies in the domain of f if and only if 4x 2 − y 2 > 0. This
happens if and only if y 2 < 4x 2 , or equivalently
Figure 3.5 is a sketch showing a shaded region in R2 the set points in the domain
of the x y-plane that lie between the graph of y = −2|x|
of f . It consists of all points
and y = 2|x|. On this set, 4x 2 − y 2 takes on all positive values, and hence does its
f (x, y). Therefore, the range of f is (0, ∞).
y = −2|x|
x+y =2
x + y = −2
x
√
2 3
12 − x 2 − y 2 > 0 and 3y − x 2 ≥ 0.
The first condition yields that x 2 + y 2 < 12 and the second y ≥ (1/3)x 2 . The first
condition holds√for the points in x y-plane which belongs to the disk centered at 90, 0)
with a radius 2 3. Since we have no equality, it follows that the circle surrounding
the disk does not belong to the set and we sketch the circle with a dashed line. The
second condition holds for the points in x y-plane, which are above the parabola
y = (1/3)x 2 . This condition contains equality, and so the parabola belongs to the
set of domain and we sketch it with a continuous line. Finally, we conclude that the
domain of f is the blue part of Fig. 3.7.
Solution. (1) The surface f (x, y) = |x| intersects the x z-plane along z = |x|. Since
the function f does not depend on y, it follows that the intersection of the graph of
f with any plane parallel to the x z-plane is a copy of z = |x|. Therefore, the graph
of f is obtained by moving the graph of z = |x| along the y-axis, see Fig. 3.8.
(2) Since f (x, y) = |x| = c, it follows that there are no level curves corresponding
to the negative value of c. If c = 0, then x = 0. So, the level curve of value c = 0 is
the y-axis. Let c be positive. From |x| = c, we conclude that x = ±c. This means
that the level curve of value c consists of a pair of vertical lines x = ±c, see Fig. 3.9.
3.4 Solved Problems 113
x
−3 −2 −1 0 1 2 3
5x 2 y
141. Find lim if it exists.
(x,y)→(0,0) x 2 + y2
Solution. We observe that along the line x = 0, the function has value 0 when y = 0.
Likewise, along the line y = 0, the function has value 0 provided x = 0. Hence, if
the limit does exist as (x, y) approaches (0, 0), the value of limit must be 0. To prove
the limit as 0, we apply the definition. Let > 0 be given, but arbitrary. We want to
find δ > 0 such that | f (x, y) − 0| < whenever (x − 0)2 + (y − 0)2 < δ or
5x 2 |y|
< whenever 0 < x 2 + y 2 < δ.
x +y
2 2
5x 2 |y|
≤ 5|y| = 5 y 2 ≤ 5 x 2 + y 2 .
x +y
2 2
114 3 Functions of Several Variables, Limits and Continuity
Hence, if we take δ = /5 and let 0 < x 2 + y 2 < δ, then we obtain
5x 2 y
2 − 0 ≤ 5 x 2 + y 2 = 5δ = 5 = .
x + y2 5
5x 2 y
Consequently, it follows from the definition that lim = 0.
+ y2
(x,y)→(0,0) x 2
Solution. We must show that for any > 0, there exists δ > 0 such that
|2x y − 3y 2 − 1| < whenever 0 < (x − 2)2 + (y − 1)2 < δ.
|2x y − 3y 2 − 1| = |2x y − 4y + 4y − 3y 2 − 1|
= |2y(x − 2) − (3y − 1)(y − 1)| (3.3)
≤ 2|y| · |x − 2| + |3y − 1| · |y − 1|.
Solution. We must show that for any > 0, there exists δ > 0 such that
|x 2 + y 2 − 2x + 3y − 3| < whenever 0 < (x − 1)2 + (y − 1)2 < δ.
|x 2 + y 2 − 2x + 3y − 3| = |(x − 1)2 + y 2 + 3y − 4|
= |(x − 1)2 + (y − 1)(y + 4)| (3.5)
≤ |x − 1| · |x − 1| + |y − 1| · |y + 4|.
3.4 Solved Problems 115
|x − 1| · |x − 1| + |y − 1| · |y + 4| < δ + 6δ = 7δ (3.6)
whenever 0 < (x − 1)2 + (y − 1)2 < δ ≤ 1. Therefore, for any > 0, it is enough
to take δ = min{1, /7}. Then by (3.5) and (3.6),
|x 2 + y 2 − 2x + 3y − 3| < 7δ ≤ whenever 0 < (x − 1)2 + (y − 1)2 < δ.
144. Let f be a function of two variables that defined only on the domain D =
{(x, y) | 0 < y ≤ cx}, where 0 < c < 1, by
1
f (x, y) = .
x−y
x − y ≥ x(1 − c) (3.7)
(x, y)
x≥√ . (3.8)
1 + c2
1−c
x−y≥ √ (x, y), for (x, y) ∈ D.
1 + c2
x 3 + x y + y2
lim .
(x,y)→(0,0) 2 − x 3 + x y + y2 + 4
x 3 + y3
146. Find lim if it exists.
(x,y)→(0,0) x 2 + y2
Solution. To evaluate this limit, we use polar coordinates. Suppose that x = r cos θ
and y = r sin θ with r ≥ 0. Then, we have x 2 + y 2 = r 2 and x 3 + y 3 = r 3 (cos3 θ +
sin3 θ ). Now, (x, y) → (0, 0) is equivalent to r → 0+ . Therefore, we obtain
x 3 + y3 r 3 (cos3 θ + sin3 θ )
lim = lim = lim+ r (cos3 θ + sin3 θ ) = 0.
(x,y)→(0,0) x 2 + y 2 r →0+ r2 r →0
x 3 + y3 + z3
147. Find lim if it exists.
(x,y,z)→(0,0,0) x 2 + y2 + z2
Solution. To compute this limit, we use spherical coordinates. Let x = ρ sin φ cos θ ,
y = ρ sin φ sin θ and z = ρ cos φ. Then, we can write
(x − 1)2 ln x
148. Let f (x, y) = . Find lim f (x, y) if it exists.
(x − 1)2 + y 2 (x,y)→(1,0)
Solution. It is easy to check that the limit along the paths x = 1, y = 0 and y = x − 1
is 0. Hence, we guess the limit we want, which might be 0. Now, we use the Sandwich
theorem to prove it. In other words, we need a function g such that | f (x, y)| ≤ g(x, y)
3.4 Solved Problems 117
(x − 1)2 ln x (x − 1)2 | ln x|
| f (x, y)| = = ≤ | ln x|.
(x − 1)2 + y 2 (x − 1)2 + y 2
x 3 y − 3x 2 y 2
f (x, y) = .
x 2 + y2 + x 4
Solution. We have
x 3 y − 3x 2 y 2 |x 3 ||y| + 3x 2 y 2 4(x 2 + y 2 )2
2 ≤ ≤
x + y2 + x 4 x 2 + y2 + x 4 (x 2 + y 2 ) + x 4
4(x 2 + y 2 )
= ≤ 4(x 2 + y 2 ).
x4
1+ 2
x + y2
lim ±4(x 2 + y 2 ) = 0,
(x,y)→(0,0)
cos(x y) − 1
150. Find lim .
(x,y)→(0,0) x 2 y2
Solution. The function in problem is g(t) = (cos t − 1)/t 2 for t = 0, where the argu-
ment t is replaced by the function h(x, y) = x y. Since the function h is a polynomial,
it is continuous, and we have lim h(x, y) = h(0, 0) = 0. The function g is con-
(x,y)→(0,0)
tinuous for all t = 0, and its value at t = 0 is not defined. By using L’Hospital’s rule,
we have
cos t − 1 − sin t 1
lim 2
= lim =− .
t→0 t t→0 2t 2
1
f (x, y) = (x 2 + y 2 ) sin .
xy
1
lim f (x, y) = lim r 2 sin = 0.
(x,y)→(0,0) r →0 r 2 cos θ sin θ
sin(x y)
152. Show that lim does not exist.
(x,y)→(0,0) x + y
Solution. Evaluating this limit along the lines y = mx means replace all y’s with mx
and evaluating the result limit. So, we have
By applying L’Hospital’s rule, we observe that this limit is 0 except when m = −1,
i.e., along the line y = −1. Note that this line is not in the domain of f . Now, we
evaluate the limit along the curve y = − sin x. We have
Therefore, along any line y = mx in the domain of f , the limit is 0, while along the
curve y = − sin x, which lies in the domain of f , for all x = 0, the limit does not
exist. Since the limit is not the same along every curve passing through (0, 0), we
conclude that the limit does not exist.
3.4 Solved Problems 119
153. Determine all values of the constant c > 0 for which the limit
|x|
lim
(x,y)→(0,0) (x 2 + y 2 )c
exists.
Solution. We consider three cases: c < 1/2, c = 1/2 and c > 1/2.
Let c < 1/2. Since 0 ≤ x 2 ≤ x 2 + y 2 , it follows that
|x| x 2 c
0≤ ≤ |x| 1−2c
≤ |x|1−2c ,
(x 2 + y 2 )c x 2 + y2
for all (x, y) = (0, 0). Since 1 − 2c > 0, it follows that lim |x|1−2c = 0. So,
(x,y)→(0,0)
|x|
by Sandwich theorem, we conclude that lim = 0 for c > 1/2.
(x,y)→(0,0) (x 2
+ y 2 )c
For the case c = 1/2, suppose that S1 is the set of all points on the x-axes and S2
is the set of all points on the y-axes. Then, we have
Since these limits are different, it follows that the requested limit does not exist when
c = 1/2.
Now, let c > 1/2. Then, we have
|x| |x|
lim = lim 2 = lim |x|1−2c = ∞.
(x,y)→(0,0)
y=0
(x 2 + y 2 )c x→0 (x + 02 )c x→0
This yields that the requested limit does not exist for c > 1/2.
154. Determine all values of the constant c > 0 for which the limit
x 2 y3
lim
(x,y)→(0,0) |x|3 + |y|c
exists.
Solution. Let c ≥ 0 and S be the set of all points on the path x = y 3 . Then we have
x 2 y3 y9
lim = lim 3 3 .
(x,y)→(0,0)
(x,y)∈S
|x|3 + |y| c y→0 |y | + |y|c
120 3 Functions of Several Variables, Limits and Continuity
To compute the second limit, we consider the left and right limits. So, we obtain
y9 y9 1
lim+ 3 3 = lim = lim+
|y | + |y| y +y 1 + y c−9
y→0 c y→0 + 9 c y→0
1 if c > 9
=
1/2 if c = 9
and
y9 y9 1
lim− = lim = lim−
y→0 |y | + |y|
3 3 c y→0 −y + (−1) y
− 9 c c y→0 −1 + (−1)c y c−9
−1 if c > 9
=
−1/2 if c = 9.
x 2 y3
Therefore, lim does not exists for c ≥ 9.
(x,y)→(0,0) |x|3
+ |y|c
Now, we suppose that c < 9. We can write
x 2 y 3 a2
0≤ = |y|3−c/3 ,
|x|3 + |y|c a3 + 1
|x| a2
where a = . If 0 < a < 1, then a 2 < 1, which implies that 3 < 1. If
|y| c/3 a +1
a2
a ≥ 1, then a 2 ≤ a 3 + 1, and hence 3 < 1. Consequently, we get
a +1
x 2 y 3
0≤ ≤ |y|3−c/3 .
|x|3 + |y|c
The two limits in (3.9) are called iterated limits. This problem shows that the existence
of the two-dimensional limit and of the two one- dimensional limits implies the
existence and equality of the two iterated limits.
Solution. Since lim f (x, y) = L, it follows that for any > 0 there exists
(x,y)→(x0 ,y0 )
δ1 > 0 such that
(x − x0 )2 + (y − y0 )2 < δ1 ⇒ | f (x, y) − L| < /2.
Let lim f (x, y) = gx0 (y). Then for any > 0, there exists δ2 > 0 such that
x→x0
Therefore, we proved that for any > 0 there exists δ > 0 such that |gx0 (y) −
L| < whenever |y − y0 | < δ. This means that lim gx0 (y) = L, or equivalently
y→y0
(2) Use the result of part (1) and Problem 155 to deduce that f (x, y) does not
tend to a limit as (x, y) → (x0 , y0 ).
x−y
Solution. (1) If we define f (x, y) = , then
x+y
x
limlim f (x, y) = lim = 1,
x→0 x
x→0 y→0
−y
lim lim f (x, y) = lim = −1.
y→0 x→0 y→0 y
122 3 Functions of Several Variables, Limits and Continuity
(2) It is straightforward.
157. Show that the converse of Problem 155 is not always true.
Solution. We define
x 2 y2
f (x, y) = .
x 2 y2 + (x − y)2
but that does not need to a limit as (x, y) → (0, 0); it is enough to examine f on the
line y = x.
158. Give an example of a function f of two variables such that f (x, y) does tend
to a limit as (x, y) → (x0 , y0 ) but the iterated limit does not exist.
Solution. We consider the function f : R2 → R defined by
1 1
f (x, y) = x sin cos .
x x
Then we have | f (x, y)| ≤ |x| and lim f (x, y) = 0. Now, for a given x = 0,
(x,y)→(0,0)
we have sin 1
x
= 0. It is clear that the limit
1 1
lim x sin cos
y→0 x x
lim f (x) = .
x→a +
Let > 0 be given. Since + > , the number + is not a lower bound for S.
Hence, there exists a + δ ∈ (a, b) such that f (a + δ) < + . Since f is increasing,
it follows that
≤ f (x) ≤ f (a + δ) < + ,
lim f (x) = u,
x→b−
lim f (x) = ∞.
x→b−
exists. Let A := lim+ g(x) and B := lim+ h(y). We must prove that A = B.
x→x0 y→y0
If y0 ≤ b ≤ y are arbitrary, then by hypothesis f (x, b) ≤ f (x, y), for all real
number x. So, we obtain the following implications:
124 3 Functions of Several Variables, Limits and Continuity
Therefore, A = B, as desired.
x 2 − y2
161. Let f (x, y) = .
x 2 + y2
(1) If 0 < < 1, prove that | f (x, y)| < if and only if
1− y 2 1+
< < .
1+ x 1−
(2) Prove that f (x, y) → 0 provided that x → 0 and y → 0 in such a manner that
1 − |x| y 2 1 + |y|
< < . (3.10)
1 + |y| x 1 − |x|
x 2 − y2
| f (x, y)| < ⇔ − < <
x2 + y 2 y 2 y 2 y 2
y 2
⇔ − − <1− and 1 − <+
y 2 x y 2 x x 2
y y x2
⇔ − < 1 + and 1 − < +
xy 2 1+
x
1− y 2 x x
⇔ < and < ,
x 1− 1+ x
1− y 2 1+
< < .
1+ x 1−
Now, using part (1) we get | f (x, y)| < . This yields that f (x, y) → 0.
e x z cos(x yz + y 3 )
lim .
(x,y,z)→(0,0,0) x + yz + 5x y 4 + (x yz − 5)2
The first limit does not contain y and the second limit does not contain x. Hence, we
can write
sin x sin x
lim = lim = 1 and lim cos y = lim cos y = 1.
(x,y)→(0,0) x x→0 x (x,y)→(0,0) y→0
4y 2 − y 2 1
lim f (x, y, z) = lim = .
(x,y,z)→(0,0,0)
(x,y,z)∈S1
y→0 4y 2 + y 2 + 4y 2 3
Let S2 be the set of all points on the line x = z = 3y. Then, we obtain
9y 2 − y 2 8
lim f (x, y, z) = lim = .
(x,y,z)→(0,0,0) y→0 9y + y + 9y
2 2 2 19
(x,y,z)∈S2
Since
lim f (x, y, z) = lim f (x, y, z),
(x,y,z)→(0,0,0) (x,y,z)→(0,0,0)
(x,y,z)∈S1 (x,y,z)∈S2
Since these limiting values of the function f depend on the direction of θ , it follows
that f does not have a limit as (x, y) → (0, 0).
166. Let
3.4 Solved Problems 127
1 if y ≥ x
f (x, y) =
0 i f y < x.
Solution. Let (x0 , y0 ) be a point such that y0 = x0 . We can consider two cases:
Case 1: If y0 > x0 , then f (x0 , y0 ) = 1. On the other hand, for any such point we
can find a neighborhood of a small radius δ with the center (x0 , y0 ) that lies in the
region y > x. Therefore, for any > 0,
| f (x, y) − f (x0 , y0 )| = 1 − 1 = 0 < whenever (x − x0 )2 + (y − y0 )2 < δ.
Solution. Since f is defined at all points in R2 , it follows that f (x0 , y0 ) exists for
every point (x0 , y0 ) ∈ R2 . Let (x0 , y0 ) be a point such that x02 + y02 = 1.
If x02 + y02 < 1, then
Therefore, we conclude that f is continuous at all points (x0 , y0 ) for which x02 +
y02= 1. Now, we determine the continuity of f at points (x0 , y0 ) for which x02 + y02 =
1. Let S1 = {(x, y) | x 2 + y 2 ≤ 1} and S2 = {(x, y) | x 2 + y 2 > 1}. Then we have
This yields that lim f (x, y) does not exist. Therefore, f is discontinuous at
(x,y)→(x0 ,y0 )
all points (x0 , y0 ) for which x02 + y02 = 1.
168. Let ⎧ n m
⎨ x y
if (x, y) = (0, 0)
f (x, y) = x 4 + y 6
⎩0 if (x, y) = (0, 0),
x4 1
lim f (x, y) = lim = lim = 1,
(x,y)→(0,0) x→0 x 4 + x 6 x→0 1 + x 2
y=x
−x 4 −1
lim f (x, y) = lim 4 = lim = −1.
(x,y)→(0,0) x→0 x + x 6 x→0 1 + x 2
y=−x
3.4 Solved Problems 129
a3 x 5 a3 x
lim f (x, y) = lim = lim = 0,
(x,y)→(0,0) x→0 x 4 + a 6 x 6 x→0 1 + a 6 x 2
y=ax
while
x4 1
lim f (x, y) = lim = = 0,
(x,y)→(0,0)
y=x 2/3
x→0 x +x
4 4 2
a6 x 6 a6 x 2
lim f (x, y) = lim = lim = 0,
(x,y)→(0,0) x→0 x 4 + a 6 x 6 x→0 1 + a 6 x 2
y=ax
y6
lim f (x, y) = lim 6 = 1.
(x,y)→(0,0) y→0 y
x=0
X + Y 2 = X 2 + Y 2 + 2X Y . (3.12)
130 3 Functions of Several Variables, Limits and Continuity
X + Y 2 = (X + Y ) · (X + Y ) = X · X + X · Y + Y · X + Y · Y
(3.13)
= X 2 + Y 2 + 2X · Y.
X · Y = X Y .
X
X= Y.
Y
X + Y 2 + X − Y 2 = 2X 2 + 2Y 2 .
Solution. We have
X + Y 2 + X − Y 2 = X 2 + 2X · Y + Y 2 + X 2 − 2X · Y + Y 2
= 2X 2 + 2Y 2 .
The sum of the squares on the diagonals of a parallelogram equals the sum of the
squares on the sides, for illustration, see Fig. 3.10.
X + Y X
Y
3.4 Solved Problems 131
X − A = 2X − B ⇔ X − C = δ.
Solution. We have
A − B = A + B = k.
An · B = 0, for all n ∈ N,
An = c Am , for all m, n ∈ N, m = n and c ∈ R.
132 3 Functions of Several Variables, Limits and Continuity
An 2
Cn = k − B2 .
An
Cn − B = Cn + B = k.
Finally, for each positive integer n, we set Z n = Cn + (X + Y )/2. This gives that
Z n − X = Z n − Y = k.
(2) By Problem 170, we know that the equality can be held in the triangle inequality
if one of the two vectors is a scalar multiple of the other. In addition, the scalar must
be non-negative. Now, by the condition 2k = δ, we have
X − Y = δ = X − Z + Z − Y .
So, there exists c > 0 such that X − Z = c(Z − Y ). Then, by the hypothesis, we
deduce that c = 1. Therefore, Z is uniquely determined by Z = (X + Y )/2.
(3) Let 2k < δ. If Z satisfies the condition, then by the triangle inequality, we
have X − Y = δ > 2k = X − Z + Z − Y , a contradiction.
| f (X ) − f (Y )| < MX − Y ,
lim f (X ) = f (Y ).
X →Y
f (cX + Y ) = c f (X ) + f (Y ),
for all X, Y ∈ Rn and c ∈ R. If f is a linear map, prove that the following statements
are equivalent:
(1) f is continuous at the point X 0 ∈ Rn ;
(2) f is bounded on the set = {X ∈ Rn | X = 1};
(3) f is uniformly continuous on Rn .
Solution. (1⇒2): Suppose that f is continuous at X 0 ∈ Rn . So, for any > 0 there
exists δ > 0 such that | f (X ) − f (X 0 )| < whenever X − X 0 < δ. Since f is
linear, we have f (X ) − f (X 0 ) = f (X − X 0 ). Hence, we can say that for any > 0,
there exists δ > 0 such that
Z < δ ⇒ | f (Z )| < .
| f (X )| = | f (δ Z )| = |δ f (Z )| = δ| f (Z )| < ,
| f (Z )| < M. (3.14)
Note that (11S3) holds for X = 0 too. Now, by Problem 174, we deduce that f is
uniformly continuous on Rn .
(3⇒1): It is clear.
This yields that f is bounded on the set {X ∈ Rn | X = 1}. Now, by Problem 175,
we conclude that f is continuous.
177. A sequence of points {X k }∞
k=1 in R converges to the limit A if
n
lim X k − A = 0.
k→∞
whenever {X k }∞
k=1 is a sequence of points in D f such that
lim X k = A. (3.18)
k→∞
1
X k − A < ,
k
while
| f (X k ) − f (A)| ≥ 0 .
Solution. (1) Suppose that f is continuous at (a, b). So, there exist a sequence
{(xk , yk )}∞ ∞
k=1 of pairs of rational numbers and a sequence {(x k , yk )}k=1 of pairs of
irrational numbers such that (xk , yk ) → (a, b) and (xk , yk ) → (a, b) as k → ∞.
Since f is continuous at (a, b), it follows that
f (a, b) = f lim (xk , yk ) = lim f (xk , yk ) = lim xk2 + yk2 = a 2 + b2 (3.21)
k→∞ k→∞ k→∞
and
f (a, b) = f lim (xk , yk ) = lim f (xk , yk ) = 0. (3.22)
k→∞ k→∞
From (3.21) and (3.22), we conclude that a 2 + b2 = 0. This gives that a = 0 and
b = 0. Therefore, f is continuous only at (0, 0).
Solution. Let (x0 , y0 ) be an element of N . Given > 0, there exist positive real
numbers δ, δ1 and δ2 such that
and the obvious products of intervals are contained in N . Let δ = min{δ1 , δ2 } and let
(x, y) be any point in the rectangle [x0 − δ, x0 + δ] × [y0 − δ , y0 + δ ]. Note that
the direction of monotonically of f in x may depend on the value of y. Assume that
f is non-decreasing in x for given y. If f is non-increasing, the reverse inequalities
will hold. Thus, we have
f (x0 − δ, y) − f (x0 − δ, y) + f (x0 − δ, y0 ) − f (x0 , y0 ) ≤ f (x, y) − f (x0 , y0 )
≤ f (x0 + δ, y) − f (x0 + δ, y) + f (x0 + δ, y0 ) − f (x0 , y0 ) ,
136 3 Functions of Several Variables, Limits and Continuity
180. Let {X k }∞
k=1 be a convergent sequence in R with limit X . If there exists
n
sequence.
Solution. Suppose that lim X k = X . Then, for any > 0 there is a natural number
k→∞
N such that if r ≥ N , then X r − X < /2. Thus, for r, s ≥ N , we can write
X r − X s ≤ X r − X + X − X s < + = .
2 2
Consequently, the convergence sequence {X k }∞
k=1 is a Cauchy sequence.
M = max{X 1 , . . . , X N −1 , X N + 1},
This yields that {Ak } is a bounded sequence in Rm and {bk } is a bounded sequence
in R. By Bolzano-Weirstrass Theorem in Rm , it follows that {Ak } has a subsequence
{Ak j } which is convergent to a point A in Rm . Since {bk } is bounded in R, it follows
that {bk j } is also bounded in R. By Bolzano-Weirstrass Theorem in R, {bk j } has a
subsequence {bk ji } which converges to b ∈ R. Since {Ak j } converges to A in Rm , it
follows that its subsequence {Ak ji } also converges to A. Now, the subsequence {X k ji }
of {X k } is converges to (A, b).
Solution. Assume that there exists no such neighborhood. Then for each k ∈ N, there
exists
1 1
X k ∈ B(A, ) = X ∈ R3 | X − A <
k k
3.5 Exercises
Easier Exercises
Find the domain and range of each of the following functions f of two variables and
draw a sketch showing as a shaded region in R2 the set of points in the domain of f .
√
x−y 5. f (x, y) = 4 − x 2+ y 2 + 9,
2. f (x, y) = ,
x+y
3. f (x, y) = ln(x y − 1), 6. sin−1 1 − x 2 − y 2 ,
1
4. f (x, y) = + ,
1
x y 7. f (x, y) = [x] + [ 1 − y 2 ].
138 3 Functions of Several Variables, Limits and Continuity
Find the domain and range of each of the following functions f of three variables.
x y + x z + yz 1
8. f (x, y, z) = , 10. f (x, y, z) = ,
x yz ln(1 − x2 − y2 − z2)
x
9. f (x, y, z) = , 11. f (x, y, z) = e x y/z .
|y| − |z|
12. Let
4x 2 + y 2 if x < 0
f (x, y) =
|y| if x ≥ 0.
Determine whether each limit exists. If it does, find the limit and prove that it is the
limit; if it does not, explain how you know.
√ √
3
x− 3y x 3 − 4y 2 x + 5y 3
13. lim ; 23. lim ;
(x,y)→(0,0) x−y (x,y)→(0,0) x2 + √ y2 √
e −e
x y
x −y+2 x −2 y
14. lim ; 24. lim √ √ ;
(x,y)→(0,0) e−x − e−y (x,y)→(0,0) x− y
xy √
15. lim ; 2x − y − 2
(x,y)→(0,0) x 2 + y 2 25. lim ;
(x,y)→(2,0) 2x − y − 4
−1 y
16. lim tan ; |x| + |y|
(x,y)→(2,2) x 26. lim tan−1 2 ;
(x,y)→(0,0) x + y2
e−x −y − 1
2 2
2x 3 + 4x 2 y x 4 + yx 3 + x 2 z 2
22. lim ; 32. lim .
(x,y)→(0,0) x +y
2 2 (x,y,z)→(0,0,0) x 4 + y4 + z4
is not convex.
40. Show that
(a) The intersection of any collection of convex subsets of Rn is convex;
(b) The union of two convex subsets of Rn may not be convex.
Harder Exercises
Calculate the following limits using various techniques (decide for yourself which
technique to use).
y x
1 − cos(x 2 + y 2 ) 43. lim 1+ ;
41. lim ; (x,y)→(∞,0) x
(x,y)→(0,0) (x 2 + y 2 )2
1
1 x+y
x2
sin(x 2 + y 2 )
45. f (x, y) = ;
x 2 + y2
ln(x 2 + 2y 2 + 4z 2
46. f (x, y, x) = ;
x 2 + y2 + z2
140 3 Functions of Several Variables, Limits and Continuity
⎧
⎨ sin(x 2 − y 2 )
if y = ±1
47. f (x, y) =
⎩ x −y
2 2
1 if y = ±1.
48. Find the iterated limits
s lim lim logx (x + y) and lim lim logx (x + y) .
x→1 y→0 y→0 x→1
lim f (x, y) = ∞?
(x,y)→∞
tan−1 (x y)
tell us anything about lim .
(x,y)→(0,0) xy
52. Let
0 if y ≤ 0 or y ≥ x 4
f (x, y) =
1 if 0 < y < x 4 .
(a) Show that f (x, y) → 0 as (x, y) → (0, 0) along any path through (0, 0) of
the form y = mx a with a < 4;
(b) Despite part (a), show that f is discontinuous at (0, 0);
(c) Show that f is discontinuous on two entire curves.
53. Let f (x, y) be continuous in a rectangle a < x < b and c < y < d. Let g(x)
be continuous on the (a, b) and takes values in (c, d). Prove that the
interval
function h(x) = f x, g(x) is continuous on (a, b).
3.5 Exercises 141
54. Let ⎧
⎨ |x| + |y| − |x + y|
if x 2 + y 2 = 0
f (x, y) = (x 2 + y 2 )k
⎩c if (x, y) = (0, 0).
Find all values of constants c and k > 0 at which the function is continuous at
the origin.
55. Suppose that f : R2 → R is a continuous function. Define the functions g1 , g2 :
R → R by
g1 (t) = f (t, 0) and g2 (t) = f (0, t),
(a) If S is closed and X 0 ∈ Rn , prove that there exists a point Y ∈ S such that
Y − X 0 = d(X 0 , S).
(b) Show that if S is closed and X 0 ∈/ S, then d(X 0 , S) > 0.
(c) Show that the conclusions of (a) and (b) may fail to hold if S is not closed.
61. If S is any subset of Rn , prove that there exists a countable subset C of S such
that if X ∈ S and > 0, then there is an element Y ∈ C such that X − Y < .
62. Let S be a non-empty closed subset of Rn and let X be a point outside of S.
Prove that there exists at least one point Y belonging to S such that
Y − X ≤ A − X , for all A ∈ S.
63. If {X k }∞
k=1 is a sequence in R , prove that the following statements are equivalent:
n
(a) {X k }∞
k=1 does not converge to X ;
142 3 Functions of Several Variables, Limits and Continuity
∂ f (x1 , . . . , xn )
∂xi
we mean limit
f (x1 , . . . , xi−1 , xi + xi , xi+1 , . . . , xn ) − f (x1 , . . . , xi , . . . , xn )
lim ,
xi →0 xi
where xi is given an increment xi , but all the other variables are held fixed, provided
∂f
this limit exists and is finite. A prevalent notation is to write as f xi . There are
∂xi
other notations for partial derivatives. If a dependent variable u = f (x1 , . . . , xn ) is
∂u ∂f
introduced, we can write instead of . A function f of two variables has two
∂xi ∂xi
partial derivatives as follows:
∂ f (x, y) f (x + x, y) − f (x, y)
= lim
∂x x→0 x
and
∂ f (x, y) f (x, y + y) − f (x, y)
= lim ,
∂y y→0 y
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2023 143
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1_4
144 4 Partial Derivatives, Directional Derivatives and Gradient Vectors
∂ f (x, y)
∂x x=x0 ,y=y0
is the slope of the tangent line to the curve having equations y = y0 and z = f (x, y)
at the point P0 = (x0 , y0 , f (x0 , y0 )) in the plane y = y0 . In an analogous fashion
∂ f (x, y)
∂y x=x0 ,y=y0
represents the slope of the tangent line to the curve having equations x = x0 and
z = f (x, y) at the point P0 = (x0 , y0 , f (x0 , y0 )) in the plane x = x0 . Figures 4.1
and 4.2 show the portion of the curves and the tangent lines.
The partial derivatives just introduced are first derivatives. Partial derivatives of
higher order are defined in a natural way. For example, if f is a function of two
∂f ∂f
variables which has the first partial derivatives and at every point of an open
∂x ∂y
set. Then there are four second partial derivatives, namely
∂2 f ∂ ∂ f ∂2 f ∂ ∂ f
fx x = = , f yy = = ,
∂x 2 ∂x ∂x ∂ y2 ∂y ∂y
∂ f
2
∂ ∂f
∂ f
2
∂ ∂f
fx y = = , f yx = = .
∂x∂ y ∂x ∂ y ∂ y∂x ∂ y ∂x
All this is based on the assumption that the limits defining these second partial
derivatives exist and are finite. Partial derivatives of order greater than two, and
higher order partial derivatives of functions of more than two variables are defined
in similar ways.
Clairaut’s theorem: Let f be a function of two variables. If f and its derivatives
f x , f y , f x y and f yx are defined throughout a neighborhood of the (x0 , y0 ) and are all
continuous at (x0 , y0 ), then f x y (x0 , y0 ) = f yx (x0 , y0 ).
The partial derivatives f x (x0 , y0 ) and f y (x0 , y0 ) are the rates of change of z = f (x, y)
at (x0 , y0 ) in the positive x- and y-directions. Rates of change in other directions are
−
→ −
→
given by directional derivatives. If u = cos θ i + sin θ j is the unit vector, then the
directional derivative of f in the direction of u, denoted by Du f , is given by
f (x0 + h cos θ, y0 + h sin θ) − f (x0 , y0 )
Du f (x0 , y0 ) = lim ,
h→0 h
if this limit exists. We can extend the definition of a directional derivative to a function
of three variables. The direction of a vector in R3 is determined by the direction of
−
→ −
→
cosines. Let f be a function of three variables x, y and z. If u = cos α i + cos β j +
146 4 Partial Derivatives, Directional Derivatives and Gradient Vectors
−
→
cos γ k is the unit vector, then the directional derivative of f in the direction of u,
denoted by Du f , is given by
∂f−→ ∂f− →
∇ f (x, y) = i + j,
∂x ∂y
x − x0 y − y0 z − z0
= = . (4.2)
Fx (x0 , y0 , z 0 ) Fy (x0 , y0 , z 0 ) Fz (x0 , y0 , z 0 )
and
x − x0 y − y0 z − z0
= = ,
f x (x0 , y0 ) f y (x0 , y0 ) −1
respectively, where z 0 = f (x0 , y0 ). Refer to Fig. 4.3, which shows the tangent plane
and normal line to the graph of f at P.
∂z −x −1
e−x /(4y) = x y k−1 e−x /(4y)
2 2
= yk
∂x 2y 2
and
∂z x2
−x 2 /(4y)
= ky k−1 e−x /(4y) + y k
2
e
∂y 4y 2 (4.3)
1
= ky k−1 e−x /(4y) + x y k−2 e−x /(4y) .
2 2
2
4
148 4 Partial Derivatives, Directional Derivatives and Gradient Vectors
Then, we have
∂ 2 ∂z ∂ 1 3 k−1 −x 2 /(4y)
x = − x y e
∂x ∂x ∂x 2
3 1
= − x 2 y k−1 e−x /(4y) + x 4 y k−2 e−x /(4y) .
2 2
2 4
This yields that
1 ∂ ∂z 3 1
= − y k−1 e−x /(4y) + x 2 y k−2 e−x /(4y) .
2 2
2
x (4.4)
x 2 ∂x ∂x 2 4
If the left side of Eqs. (4.3) and (4.4) are equal, then we must have
1 3 1
ky k−1 e−x /(4y)
+ x 2 y k−2 e−x /(4y) = − y k−1 e−x /(4y) + x 2 y k−2 e−x /(4y) .
2 2 2 2
4 2 4
This implies that
1 3 1
k(y − 1) + x 2 = − (y − 1) + x 2 ,
4 2 4
and consequently, we obtain k = −3/2.
186. Given z = f (x, y)eax+by and ∂ 2 f /(∂x∂ y) = 0. Find values of the constants
a and b such that
∂2 z ∂z ∂z
− − + z = 0. (4.5)
∂x∂ y ∂x ∂y
Solution. We obtain
∂z ∂f ∂ f
= (x, y)eax+by + a f (x, y)eax+by = (x, y) + a f (x, y) eax+by ,
∂x ∂x ∂∂xf
∂z ∂f
= (x, y)eax+by + b f (x, y)eax+by = (x, y) + b f (x, y) eax+by ,
∂y ∂y ∂y
∂2 z ∂f ∂f
= a (x, y) + b (x, y) + ab f (x, y) eax+by .
∂x∂ y ∂y ∂x
∂f ∂f
(a − 1) (x, y) + (b − 1) (x, y) + (ab − a − b + 1) f (x, y) = 0.
∂y ∂x
f (x, y) = |x|,
4.4 Solved Problems 149
∂f ∂g ∂f ∂g
= and = ,
∂x ∂y ∂y ∂x
and suppose that ∂ f /∂x = 0, f (1, 2) = g(1, 2) = 5 and f (0, 0) = 4. Find f (x, y)
and g(x, y).
5 = 2a + b1 = a + b2 . (4.6)
189. If
(x 2 + y 2 ) ln(x 2 + y 2 ) if x 2 + y 2 = 0
f (x, y) =
0 if x 2 + y 2 = 0.
f (0 + h, 0) − f (0, 0) 2 ln h
f x (0, 0) = lim = lim h ln h 2 = lim
h→0 h h→0 h→0 1/ h
2/ h
= lim = lim −2h = 0 (by L’Hospital’s rule).
h→0 −1/ h 2 h→0
If y = 0, then
f (0 + h, y) − f (0, y) (h 2 + y 2 ) ln(h 2 + y 2 ) − y 2 ln y 2
f x (0, y) = lim = lim
h→0 h h→0 h
2h ln(h 2 + y 2 ) + 2h
= lim = 0 (by L’Hospital’s rule).
h→0 1
f x (0, 0 + k) − f x (0, 0)
f x y (0, 0) = lim = 0.
k→0 k
x3 y ∂z ∂z
190. If z = f (x, y) = , show that x +y = 3z.
x−y ∂x ∂y
Solution. Using the rules of derivative, we obtain
∂ ∂
∂z (x 3
y) (x − y) − (x 3
y) (x − y)
= ∂x ∂x
∂x (x − y)2
(3x 2 y)(x − y) − (x 3 y)(1) 2x 3 y − 3x 2 y 2
= =
(x − y)2 (x − y)2
and ∂ ∂
(x 3 y) (x − y) − (x 3 y) (x − y)
∂z ∂y ∂y
=
∂y (x − y) 2
(x 3 )(x − y) − (x 3 y)(−1) x4
= =
(x − y)2 (x − y)2
∂z ∂z 2x 4 y − 3x 3 y 2 + x 4 y 3x 4 y − 3x 3 y 2 3x 3 y
x +y = = = = 3z.
∂x ∂y (x − y)2 (x − y)2 x−y
1
u= , (where x 2 + y 2 + z 2 = 0),
x 2 + y2 + z2
∂u −x ∂u −y ∂u −z
= 2 , = 2 , = 2 .
∂x (x + y + z )
2 2 3/2 ∂y (x + y + z )
2 2 3/2 ∂x (x + y 2 + z 2 )3/2
4.4 Solved Problems 151
Then, we obtain
Now, it is easy to see that ∂ 2 u/∂x 2 , ∂ 2 u/∂ y 2 and ∂ 2 u/∂z 2 satisfy (4.7).
f (x + y) + g(x − y)
192. Let u = , where f and g are arbitrary functions of single
x
variables with second derivatives f and g . Show that
∂ 2 ∂u ∂2u
x = x2 2 . (4.8)
∂x ∂x ∂y
∂u x f (x + y) + g (x − y) − f (x + y) − g(x − y)
= ,
∂x x2
∂u 1
= f (x + y) − g (x − y) .
∂y x
∂ 2 ∂u ∂
x = x f (x + y) + g (x − y) − f (x + y) − g(x − y)
∂x ∂x ∂x
= f (x + y) + g (x − y) + x f (x + y) + xg (x − y) − f (x + y) − g (x − y)
= x f (x + y) + xg (x − y),
(4.9)
and
∂2u 1
= f (x + y) + g (x − y) . (4.10)
∂y 2 x
∂2u 1 ∂2u
= , (4.11)
∂x 2 k 2 ∂t 2
where k is a positive constant, is called the wave equation. Let f and g be arbitrary
functions of a single variable with second derivatives f and g . Show that the
function u = f (x + kt) + g(x − kt) is a solution of the wave equation.
∂2u
Solution. Take r = x + kt and s = x − kt. First, we compute . We can write
∂x 2
∂u ∂r ∂s
= f (r ) + g (s) = f (r ) + g (s),
∂x ∂x ∂x
152 4 Partial Derivatives, Directional Derivatives and Gradient Vectors
and so
∂2u ∂
= f (r ) + g (s)
∂x 2 ∂x
∂r ∂s
= f (r ) + g (s)
∂x ∂x
= f (r ) + g (s).
Thus, we have
∂2u
= f (r ) + g (s). (4.12)
∂x 2
∂2u
Now, we evaluate . We have
∂t 2
∂u ∂r ∂s
= f (r ) + g (s) = k f (r ) − kg (s),
∂t ∂t ∂t
and hence
∂2u ∂
= k f (r ) − kg (s)
∂t 2 ∂t
∂r ∂s
= k f (r ) − kg (s)
∂t ∂t
= k 2 f (r ) + k 2 g (s).
= k 2 f (r ) + g (s) . (4.13)
∂t 2
Comparing (4.12) and (4.13) shows that the function u = f (x + kt) + g(x − kt)
satisfies (4.11), as desired.
∂ n+m f
(0, 0),
∂x n ∂ y m
∂n f ∂m f
(x, y) = g (n) (x)h(y) and (x, y) = g(x)h (m) (y).
∂x n ∂ ym
∂ n+m f
(x, y) = g (n) (x)h (m) (y) = e x h (m) (y).
∂x n ∂ y m
4.4 Solved Problems 153
∂ f2 ∂ f2
(X ) + · · · + (X ) = 0.
∂x1 ∂x1 ∂xn ∂xn
√
Solution. Since X = X · X , we can write f (X ) = (X · X )1−(n/2) . Then, we have
∂f
(X ) = (2 − n)xi (X · X )−n/2 , for i = 1, . . . , n.
∂xi
∂ f2 n
(X ) = (2 − n) (X · X )−n/2 + xi − (X · X )−(n/2)−1 (2xi )
∂xi ∂xi 2
(2 − n)(X · X − nxi2 )
= ,
(X · X )(n/2)+1
∂ f2 ∂ f2
(X ) + · · · + (X )
∂x1 ∂x1 ∂xn ∂xn
(2 − n)(X · X − nx12 ) (2 − n)(X · X − nxn2 )
= (n/2)+1
+ ··· +
(X · X ) (X · X )(n/2)+1
2−n n
= (X · X − nxi2 )
(X · X )(n/2)+1 i=1
2−n n n
= X·X 1−n 2
xi
(X · X )(n/2)+1 i=1 i=1
2−n
= (n X · X − n X · X ) = 0.
(X · X )(n/2)+1
154 4 Partial Derivatives, Directional Derivatives and Gradient Vectors
196. Two functions F and G of one variable and a function f of two variables are
related by the equation
2
F(x) + G(y) e f (x,y) = 2F (x)G (y) (4.14)
whenever F(x) + G(y) = 0. Show that the mixed partial derivative f x y (x, y) is
never zero. (You may assume the existence and continuity of all derivatives encoun-
tered.)
Solution. Since F(x) + G(y) = 0, by (4.14), it follows that F (x)G (y) = 0 and
2 F (x)G (y)
f (x, y) = ln
2
F(x) + G(y)
F (x)G (y)
f x y (x, y) = −2
2 .
F(x) + G(y)
Show that
(1) f x and f y exist and are continuous on R2 ;
(2) f x y (0, 0) and f yx (0, 0) exist and are not equal.
Solution. (1) The existence of f x (x, y) and f y (x, y) for (x, y) = (0, 0) follows from
the fact that agrees with the function
x 2 − y2
h(x, y) = x y
x 2 + y2
4.4 Solved Problems 155
for (x, y) = (0, 0). To check the existence of f x (0, 0), we observe that
f (h, 0) − f (0, 0) 0
lim = lim = 0.
h→0 h h→0 h
Now, f x is continuous at (x, y) = (0, 0). In order to check the continuity at (0, 0),
we must show that
lim f x (x, y) = 0 = f x (0, 0).
h→0
Since 2|y| → 0 as (x, y) → (0, 0), it follows that f x (x, y) → (0, 0). This yields
that f x is continuous on R2 . Similarly, we can see that f y exists and is continuous
on R2 .
(2) By the argument in (1), we obtain f x (0, y) = −y, for all y ∈ R. On the other
hand, for x = 0, we have
If x = 0, then
Since f y (x, 0) = x for x = 0 and f y (0, 0) = 0, it follows that f y (x, 0) = x, for all
x ∈ R. Now, we compute f x y (0, 0) and f yx (0, 0). Indeed, we can write
f x (0, h) − f x (0, 0) −h − 0
f x y (0, 0) = lim = lim = −1.
h→0 h h→0 h
Similarly, we get
Solution. Let u = (cos θ, sin θ) be a unit vector. Then, by using the definition of
directional derivative, we obtain
√
199. Suppose that f (x, y) = |x y| for all (x, y) ∈ R2 , and let u = (a, b) be a unit
vector. Show that the directional derivative of f at the origin in the direction u exists
if and only if (a, b) = (1, 0) or (a, b) = (0, 1).
Solution. By the definition of directional derivative, we have
4.4 Solved Problems 157
Solution. (1) According to the definition of f , we need only verify the continuity of
√ √
f on the boundary curves x = y and x = 2 y in the first quadrant that separate
the three different regions of definition. We observe that
f (x, y) = 0, if x ≤ 0 and y ∈ R,
1 2
f (x, y) = 0, if x > 0 and 0 ≤ y ≤ x .
4
Hence, by a simple calculation, we conclude that f y (x, 0) = 0.
(2) Suppose that 0 < y < 1/4. Then, we have
√ 2√ y
y
√
g(y) = xd x + √ (−x + 2 y)d x
0 y
1 √ y 1 √ 2 y
√
2
= x + − x + 2 yx √
2
2 0 2 y
1 1
= y + (−2y + 4y) − − y + 2y = y.
2 2
Moreover, we have g(0) = 0 and g(y) = −g(−y) if y < 0. This yields that g (0) =
1, meanwhile 1
f y (x, 0)d x = 0.
−1
158 4 Partial Derivatives, Directional Derivatives and Gradient Vectors
Solution. (1) The direction of the greatest rate of decrease is opposite of the direc-
−
→ −
→
tion of the gradient. We obtain ∇ f (x, y) = −0.8x i − 0.6y j , and so ∇ f (1, 1) =
−
→ →
−
−0.8 i − 0.6 j . Gradient vector is already a unit vector, so the unit vector in the
−
→ −
→
opposite direction is u = −∇ f (1, 1) = 0.8 i + 0.6 j .
(2) The directional derivative in the direction u (or (a, b)),
Du f (1, 1) = ∇ f (1, 1) · u = −u · u = −1
gives the slope, which is the ratio of vertical √ change to horizontal change. In the
direction of the vector (a, b, c), this ratio is c/ a 2 + b2 . Hence, we have
c
Du f (1, 1) = √ = c.
a + b2
2
Since we want −0.5 ≤ Dv f (1, 1) ≤ 0, it follows that 0 ≤ cos θ ≤ 0.5. This gives
that π/3 ≤ θ ≤ π/2.
Du f (1, 0) = 1. (4.16)
4.4 Solved Problems 159
−
→ −
→
Suppose that u = a i + b j such that a 2 + b2 = 1. We have
∂ ∂ 2
∇ f (x, y) = (x 2 + sin(x y)), (x + sin(x y))
∂x ∂y
2a + b = 1 and a 2 + b2 = 1.
1 = a 2 + b2 = a 2 + (1 − 2a)2 = 5a 2 − 4a + 1,
203. Let f (x, y) = ln(x 2 + x y + 1). Find a unit vector in which the value of f is
not changing at the point (1, 1).
Solution. Using technical terms, if a unit vector u is such that the directional derivative
of f in the direction of u is zero, we have Du f = 0. This yields that ∇ f · u = 0, i.e.,
the directional derivative is zero along the directions perpendicular to the gradient
vector. Intuitively, the gradient vector tells us the direction in which the change
occurs and also tells us that no change occurs in its orthogonal direction. Hence, the
directions in which f are not changing are those orthogonal to the ∇ f . Since
2x + y x
∇ f (x, y) = , 2 ,
x2 + xy + 1 x + xy + 1
it follows that ∇ f (1, 1) = (1, 1/3). Hence, the vector (a, b) is orthogonal to ∇ f
precisely when (1, 1/3) · (a, b) = 0. This yields that a + b/3 = 0, and hence b =
−3a. This implies that the desired vectors are of√the form (a, −3a)√= a(1, −3).
Consequently, there exist two such unit vectors 1/ 10(1, −3) and 1/ 10(−1, 3).
204. Find the direction from the point (1, 3) for which the value of f does not change
y
if f (x, y) = e2y tan−1 .
3x
Solution. We must find a direction such that the directional derivative is zero, i.e.,
Du (x, y) = 0. Let u = (cos θ, sin θ). Because
160 4 Partial Derivatives, Directional Derivatives and Gradient Vectors
−3ye2y y 3xe2y
−1
f x (x, y) = and f y (x, y) = 2e 2y
tan +
9x 2 + y 2 3x 9x 2 + y 2
we obtain
1 −→ 1 1
−→
∇ f (1, 3) = − e6 i + πe6 + e6 j .
2 2 6
If Du f (x, y) = 0, then ∇ f (1, 3) · u = 0. this gives that
1 1 1
5 2
z = x 2 − 3x y + y − 2x + 3y
2
is parallel to the plane given by the equation 2x − 4y + z = 6.
Solution. The normal vector of the plane is (2, −4, 1). Now, we take z = f (x, y).
So, z − f (x, y) = 0 We can find the normal vector to the tangent plane by using the
gradient. We see that the gradient is
∂f ∂f
− ,− , 1 = − (2x − 3y − 2), −(−3x + 5y + 3), 1 .
∂x ∂y
Since the planes are parallel, it follows that their normal vectors are parallel, i.e.,
they are multiples of each other. Hence, we can write
− (2x − 3y − 2), −(−3x + 5y + 3), 1 = k(2, −4, 1).
1 1 1
√ (x − x0 ) + √ (y − y0 ) + √ (z − z 0 ) = 0,
x0 y0 z0
or equivalently
1 1 1 √ √ √ √
√ + √ + √ = x0 + y0 + z 0 = a
x0 y0 z0
√ √ √ √
Hence, the x-intercept is a x0 , the y-intercept is a y0 and the z-intercept is
√ √
a z 0 . Consequently, the sum of intercepts is
√ √ √ √
√ √
a x0 + y0 + z 0 = a a = a.
207. Show that every tangent plane to the cone z 2 = x 2 + y 2 (see Fig. 4.4) passes
through the origin.
Solution. Suppose that f (x, y, z) = x 2 + y 2 − z 2 . The given surface is f (x, y, z) =
0. Hence, we have
−
→ −
→ −
→
∇ f (a, b, c) = 2a i + 2b j − 2c k
is normal to the given surface at the point (a, b, c). Thus, an equation of the plane
which is tangent to the given surface at the point (a, b, c) is 2a(x − a) + 2b(y −
b) − 2c(z − c) = 0 or
ax + by + cz − a 2 − b2 + c2 = 0. (4.18)
Now, since (a, b, c) is the point of tangency, it must also lies on the surface. This
implies that a 2 + b2 = c2 . Using this fact, the Eq. (4.18) of tangent plane can be
written as ax + by + cz = 0, and (0, 0, 0) satisfies this equation. Since (a, b, c) is
an arbitrary point on the surface, and its tangent plane passes through the origin, we
have all tangent planes to the surface passing through the origin.
208. Two surfaces are called orthogonal at a point of intersection if their normal
lines are perpendicular at that point. Show that the sphere x 2 + y 2 + z 2 = 1 and the
cone z 2 = x 2 + y 2 are orthogonal at all points of intersection.
Solution. Assume that
S1 : x 2 + y 2 + z 2 = 1 and S2 : z 2 = x 2 + y 2
intersect at (a, b, c). We find a normal vector to each surface at the point (a, b, c).
In order to do this, suppose that f (x, y, z) = x 2 + y 2 + z 2 and g(x, y, z) = x 2 +
y 2 − z 2 . Then, the vectors
−
→ −
→ −
→
∇ f (a, b, c) = 2a i + 2b j + 2c k
−
→ −
→ −
→
∇g(a, b, c) = 2a i + 2b j − 2c k
are normal to S1 and S2 at the point (a, b, c), respectively. Consequently, these vectors
are parallel to the normal lines to S1 and S2 at the point (a, b, c). Showing that the
surfaces are orthogonal is equivalent to showing that ∇ f (a, b, c) · ∇g(a, b, c) = 0.
To prove this equality, we have
where x, y and z are three functions of two variables. The simplest type of parametric
surfaces is given by the graph of a function of two variables z = f (x, y),
R(u, v) = x(u, v), y(u, v), f x(u, v), y(u, v) .
(P) × (P) · x − x0 , y − y0 , z − z 0 = 0.
∂u ∂v
4.4 Solved Problems 163
∂R ∂x ∂ y ∂z ∂R ∂x ∂ y ∂z
= , , and = , ,
∂u ∂u ∂u ∂u ∂v ∂v ∂v ∂v
∂R ∂R
in the tangent plane at any point P. Thus, the vector (P) × (P) is perpen-
∂u ∂v
dicular to the tangent plane. Now, the point P = (x0 , y0 , z 0 ) itself clearly satisfies
the equation. y
(2) The surface is the graph z = x f . Hence, it has parametrization R(x, y) =
y x
∂R ∂R
x, y, x f . Now, we compute and as follows:
x ∂x ∂y
∂R y y y ∂R y
(x, y) = 1, 0, f − f and (x, y) = 0, 1, f .
∂x x x x ∂y x
So, we obtain
,− f
0 0
− f + f , 1 · x − x0 , y − y0 , z − z 0 = 0.
x0 x0 x0 x0
,− f
0 0
− f + f , 1 · x0 , y0 , z 0 = 0.
x0 x0 x0 x0
y z0
0
Indeed, taking into account that f = , we have
x0 x0
y y y y
0
,− f
0 0 0
− f + f , 1 · x0 , y0 , z 0
x x0 x0 yx0
z0 0 y0
= − x0 + y0 f − y0 f
0
+ z 0 = 0.
x0 x0 x0
210. Find the point on the surface x 3 − 2y 2 + z 2 = 27 where the tangent plane is
√ to the line given parametrically as x(t) = 3t − 5, y(t) = 2t + 7 and
perpendicular
z(t) = 1 − 2t.
164 4 Partial Derivatives, Directional Derivatives and Gradient Vectors
27 = x 3 − 2y 2 + z 2 . (4.19)
√
If x = k, then by (4.19) we get
2k 2 k2
27 = k 3/2 − + = k 3/2 ,
4 2
which√ implies that k = 9. Hence, the corresponding point on the surface is (3, −9/2,
−9/ 2). Indeed, in this case, we have one point on the surface in which the tangent
plane is perpendicular
√ to the line.
If x = − k, then by (4.19), we conclude that 27 = −k 3/2 , which has no solution
as k 3/2 ≥ 0.
x2
f (x, y, z) = + y2 + z2.
4
Hence, we have f x (x, y, z) = x/2, f y (x, y, z) = 2y and f z (x, y, z) = 2z. There-
fore, the tangent plane of the ellipsoid at (x, y, z) has normal vector (x/2, 2y, 2z).
In order to make it parallel to the plane x + y + z = 1, which has normal vector
(1, 1, 1), we must have x/2 = 2y = 2z. Putting this into the equation of the ellip-
√ x /4 + y + z = 9, we obtain √ (2y)
√ +√ y 2 + y 2 = 9, which √ y=
2 2 2 2
soid √ implies
√ that
± 6/2. Therefore, (x, y, z) = (2 6, 6/2, 6/2) or (−2 6, − 6/2, − 6/2).
4.4 Solved Problems 165
At these two points on the ellipsoid, the tangent plane is parallel to the plane
x + y + z = 1.
(2) Use the mean value theorem to show that there exists a point z in the line segment
connecting u to v such that
(2) The mean value theorem implies that there exists ξ ∈ (0, 1) such that g(1) −
g(0) = g (ξ)(1 − 0). This yields that
as desired.
213. Let f (x, y, z) = e−(x+y) + z 2 (x + y). Suppose that a piece of fruit is sitting
2
on a table in a room, and at each point (x, y, z) in the space within the room,
f (x, y, z) gives the strength of the odor of the fruit. Furthermore, suppose that a
certain bug always flies in the direction in which the fruit odor increases fastest.
Suppose also that the bug always flies with a speed of 2 feet/second. What is the
velocity vector of the bug when it is at the position (2, −2, 1)?
Solution. Since the bug flies in the direction in which the fruit odor increases fastest,
it flies in the direction of ∇ f . The gradient of f is
166 4 Partial Derivatives, Directional Derivatives and Gradient Vectors
P•
−
→ −
→
−
→
− 2(x + y)e−(x+y) + z 2 i + − 2(x + y)e−(x+y) + z 2 j + 2z(x + y) k ,
2 2
−
→ − →
and so ∇ f (2, −2, 1) = i + j . The bug always has a speed of 2, so the velocity
vector must have a magnitude of 2. A vector with magnitude 2 and in the same
direction as the gradient is
∇ f (2, −2, 1) 2 −→ − →
2 = √ ( i + j ).
∇ f (2, −2, 1) 2
−
→ −
→ −
→
214. The curve R(t) = t 2 /2 i + 4/t j + (t/2 − t 2 ) k intersects the hyperbolic
paraboloid x 2 − 4y 2 − 4z = 0 at the point P = (2, 2, −3). What is the angle of
intersection?
Solution. Indeed, we must find the angle between the tangent vector of the curve
and the tangent plane of the surface at the point of intersection (Fig. 4.5).
It is clear that the curve passes through the point (2, 2, −3) at t = 2. Since
−
→ −
→ −
→
R (t) = t i − 4/t 2 j + (1/2 − 2t) k , it follows that R (2) = (2, −1, −7/2). Tak-
−
→ −
→ −
→
ing f (x, y, z) = x 2 − 4y 2 − 4z, we get ∇ f (x, y, z) = 2x i − 8y j − 4 k , and so
∇ f (2, 2, −3) = (4, −16, −4). If θ is the angle between R (2) and ∇ f (2, 2, −3), it
follows that
so that θ is approximately 1 radian. Since the gradient is normal to the tangent plane,
we obtain = π/2 − θ ≈ 1.57 − 1.00 = 0.57 radian.
4.5 Exercises 167
4.5 Exercises
Easier Exercises
1. Evaluate
∂3
f (x)g(y)h(z)
∂x∂ y∂z
Find
(a) f x (0, y) if y = 0, and f x (0, 0);
(b) f y (x, 0) if x = 0, and f y (0, 0).
√
5. If f (x, y, z) = x y 2 z 3 + sin−1 (x z), find f x zy .
Hint: Which order √ of differentiation
√ is easiest?
6. If g(x, y, z) = 1 + x z + 1 − x y, find gx yz .
Hint: Use a different order of differentiation for each term.
∂ m+n u
7. Find if u = x m y n .
∂x m ∂ y n
8. Find the slope of the tangent line to the curve of intersection of the √ surface
36x 2 − 9y 2 + 4z 2 + 36 = 0 with the plane x = 1 at the point (1, 12, −3).
Interpret this slope as a partial derivative.
9. Verify that u(x, y, z) = e3x+4y sin 5z satisfies Laplace’s equation in R3 :
10. Find the set of all points (a, b, c) in R3 for which the two sphere (x − a)2 + (y −
b)2 + (z − c)2 = 1 and x 2 + y 2 + z 2 = 1 intersect orthogonally. (Their tangent
planes should be perpendicular at each point of intersection.)
11. Let f (x, y) be differentiable on the interior of a circle or a rectangle D, and
suppose that ∇ f (x, y) = 0 at every point of D. Show that f (x, y) is constant
on D.
12. Show that the spheres x 2 + y 2 + z 2 = a 2 and (x − b)2 + y 2 + z 2 = (b − a)2
are tangent at the point (a, 0, 0).
13. Prove that every normal line to the sphere x 2 + y 2 + z 2 = a 2 passes through the
center of the sphere.
14. Find the directions in which the directional derivative of f (x, y) = x 2 + sin(x y)
at the point (1, 0) has the value 1.
15. The atmospheric pressure in a region of space near the origin is given by the
formula P = 30 + (x + 1)(y + 2)e z . Approximately where is the point closest
to the origin at which the pressure is 31.1?
16. What is the maximum rate of ascent of the surface z = f (x, y) = x y at the point
(e, 1), and in which direction does it occur.
17. What is the maximum rate of increase of the surface f (x, y, z) = x y 2 z 3 at the
point (2, 1, −1), and in which direction does it occur.
18. Give the equation of the tangent plane to each of these surfaces at the point
indicated.
Harder Exercises
19. If u = ea1 x1 +a2 x2 +···+an xn , where a12 + a22 + · · · + an2 = 1, show that
∂4 f ∂4 f
= .
∂ 2 x∂ 2 y ∂ y∂x∂ y∂x
4.5 Exercises 169
√
22. Find the directional derivative of f (x, y) = x y at P = (2, 8) in the direction
of Q = (5, 4).
23. Find the directional derivative of f (x, y, z) = x y + yz + zx at P = (1, −1, 3)
in the direction of Q = (2, 4, 5).
24. A cylinder whose equation is y = f (x) is tangent to the surface z 2 + 2x y + y =
0 at all points common to the two surfaces. Find f (x).
25. If f (x, y) satisfies the partial differential equation
∂2 f
(x, y) = 0,
∂x∂ y
prove that f (x, y) = g(x) + h(y), where g(x) is a function of x alone and h(y)
is a function of y alone.
26. Find the points at which the gradient of the function f (x, y) = ln(x −1 + y) is
−
→ − →
equal to (−16/9) i + j .
27. Let f be a function of two variables that has continuous partial derivatives, and
consider the points A = (1, 3), B = (3, 3), C = (1, 7) and D = (6, 15). The
−→
directional derivative of f at A in the direction of the vector AB is equal to 3,
−→
and the directional derivative at A in the direction of the vector AC is equal to
−→
26. Find the directional derivative of f at A in the direction of the vector AD.
Chapter 5
Differentiability and Differential
5.1 Differentiability
Δy = f (x)Δx + Δx,
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2023 171
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1_5
172 5 Differentiability and Differential
Δf (P0 ) = f (
x1 + Δx1 , . . . , xn + Δxn ) − f (P0 ).
f (x, y) − L(x, y)
lim = 0.
(x,y)→(0,0) (x − a)2 + (y − b)2
If f is continuous at (a, b), and the partial derivatives f x and f y are both defined
and continuous at (a, b), then f is differentiable at (a, b).
The following theorem is the mean value theorem for a function of a single variable
applied to a function of two variables. Let f be a function of two variables defined
for all x ∈ [a, b] and y ∈ [c, d].
(1) If f x (x, y0 ) exists for some y0 ∈ [c, d] and for all x ∈ [a, b], then there exists
ξ1 ∈ (a, b) such that f (b, y0 ) − f (a, y0 ) = (b − a) f x (ξ1 , y0 ).
5.2 The Chain Rule 173
(2) If f y (x0 , y) exists for some x0 ∈ [a, b] and for all y ∈ [c, d], then there exists
ξ2 ∈ (c, d) such that f (x0 , d) − f (x0 , c) = (d − c) f y (x0 , ξ2 ).
If f is a function of two variables x and y, and f is differentiable at (x, y), then
the total differential of f is the function d f having function values given by
Since the increments and differentials of the independent variables are equal, we can
write
∂f ∂f
df = dx + dy. (5.2)
∂x ∂y
∂f ∂f
df = d x1 + · · · + d xn .
∂ x1 ∂ xn
Chain rule for functions of two independent variables: If z = f (x, y) has continuous
partial derivatives f x and f y , and if x = x(t) and y = y(t) are differentiable functions
of t, then the composite z = f (x(t), y(t)) is a differentiable function of t and
df ∂ f dx ∂ f dy
= + .
dt ∂ x dt ∂ y dt
Chain rule for two independent variables and three intermediate variables: Sup-
pose that w = f (x, y, z), x = g(r, s), y = h(r, s) and z = k(r, s). If all four func-
tions are differentiable, then f has partial derivatives with respect to r and s, given
by the formulas
∂f ∂ f ∂x ∂ f ∂y ∂ f ∂z
= + + ,
∂r ∂ x ∂r ∂ y ∂r ∂z ∂r (5.3)
∂f ∂ f ∂x ∂ f ∂y ∂ f ∂z
= + + .
∂s ∂ x ∂s ∂ y ∂s ∂z ∂s
dy fx
=− .
dx fy
The technique of implicit differentiation can also be used to calculate partial deriva-
tives. Given a function F(x, y, z) of three variables and suppose that the equation
F(x, y, z) = 0 defines z as an implicit function
of x and y, in the sense that there
exists a function z = f (x, y) such that F x, y, f (x, y) = 0 on some open set. Then,
we have
∂z Fx (x, y, z) ∂z Fy (x, y, z)
=− and =− ,
∂x Fz (x, y, z) ∂y Fz (x, y, z)
Let f be a function of two variables all of whose nth partial derivatives exist at the
point (a, b), for all n ∈ N. Then, the Taylor series for f at (a, b) is
∞ n
(x − a)k (y − b)n−k ∂n f
T (x, y) = (a, b)
n=0 k=0
k!(n − k)! (∂ x)k (∂ y)n−k
The Taylor series has the same partial derivatives as the original function at (a, b).
Taylor’s formula for f (x, y) at the point (a, b): Suppose that f and its partial
derivatives through order n + 1 are continuous throughout an open rectangular region
R centered at a point (a, b). Then, throughout R,
f (x, y) = f (a, b) + (x − a) f x + (y − b) f y
(a,b)
1
+ (x − a) f x x + 2(x − a)(y − b) f x y + (y − b)2 f yy
2
2! (a,b)
1
+ (x − a)3 f x x x + 3(x − a)2 (y − b) f x x y + 3(x − a)(y − b)2 f x yy
∂ n
3!
1 ∂
+(y − b)3 f yyy + ··· + (x − a) + (y − b) f
(a,b) n! ∂ x ∂y (a,b)
1 ∂ ∂ n+1
+ (x − a) + (y − b) f
(n + 1)! ∂x ∂y (ξ1 ,ξ2 )
The first n derivative terms are evaluated at (a, b). The last term is evaluated at some
point (ξ1 , ξ2 ) on the line segment joining (a, b) and (x, y).
5.4 Solved Problems 175
We define the degree m Taylor polynomial of f to be the terms in the Taylor series
up to degree m in x and y.
Taylor remainder theorem: If f has continuous partial derivatives up to order
n + 1 near (a, b), then and Tn (x, y) is the degree n Taylor polynomial for f at
(a, b), then for any point (x, y), we have
(|x − a| + |y − b|)n+1
| f (x, y) − Tn (x, y)| ≤ M ,
(n + 1)!
Solution. (1) Clearly, we have f x (0, 0) = 0 and f y (0, 0) = 0. Now, we can write
√
f (h, k) − f (0, 0) − f x (0, 0)h − f y (0, 0)k |hk| h 2 + k 2 |k|
√ =√ ≤ √ = |k|.
h2 + k2 h2 + k2 h2 + k2
Since |k| → 0 as (h, k) → (0, 0), it follows that f is differentiable at (0, 0).
(2) For b = 0, we observe that
Since the above limit does not exist, it follows that f x (0, b) does not exist. Analo-
gously, f y (a, 0) does not exist if a = 0.
d x d y
g(u)du = g(x) and h(v)dv = h(y).
dx a dy c
176 5 Differentiability and Differential
Now, we obtain
y
x
df df
= g(x) h(v)dv and = g(u)du h(y).
dx c dy a
Show that the partial derivatives of f are not continuous at (0, 0) but f is differen-
tiable at this point.
Now, we claim that lim f x (x, y) does not exist. It is easy to see that
(x,y)→(0,0)
lim 2x sin (x 2 + y 2 )−1/2 = 0.
(x,y)→(0,0)
So, the second part of the limit is well-behaved. For the limit of the first part, we
consider the path y = x. Then we have
x cos (x 2 + y 2 )−1/2 x cos (x 2 + x 2 )−1/2
lim = lim √
x 2 + y2 x + x
(x,y)→(0,0) x→0 2 2
2 −1/2
x cos (2x )
= lim √ ,
x→0 |x| 2
which does not exist. In a similar way, we observe that lim f y (x, y) does not
(x,y)→(0,0)
exist. Thus, the partial derivatives of f fail of continuity at (0, 0).
5.4 Solved Problems 177
Show that f is continuous at (0, 0) and has the partial derivatives f x (0, 0) and
f y (0, 0) but it is not differentiable at (0, 0).
Solution. The continuity is verified by using polar coordinates. If x = r cos θ and
y = r sin θ , then
r 2 cos θ sin θ
lim f (x, y) = lim = lim r cos θ sin θ = 0.
(x,y)→(0,0) r →0 r r →0
Since f (0, 0) = 0, it follows that f is continuous at (0, 0). Since f (x, 0) = 0 and
f (0, y) = 0, it is clear that f x (0, 0) = 0 and f y (0, 0) = 0.
Now, suppose that f is differentiable at (0, 0). Then the linear approximation
would have to be
f (x, y) − L(x, y)
lim
(x,y)→(0,0) x 2 + y2
If this limit exists, it must be equal to the limit as (x, y) approaches the origin along
the line y = x, which would be
178 5 Differentiability and Differential
x2 1
lim = .
x→0 x2 + x2 2
In particular, this value is not 0, so the original limit could not be equal to 0. Therefore,
we conclude that f is not differentiable at (0, 0).
So, the limit defining partial derivative of f with respect to x at (0, 0) is zero, i.e.,
f x (0, 0) = 0. Similarly, we obtain f y (0, 0) = 0. Now, we can write
f (0 + h, 0 + k) − f (0, 0) = f (h, k)
1 f (h, k) 1 f (h, k)
= f x (0, 0)h + f y (0, 0)k + h+ k.
2 h 2 k
Since f (h, k) h 2 + k 2 )
≤ → 0 as (h, k) → (0, 0),
h h
f (h, k)
it follows that lim = 0 and in a similar way we see that
(h,k)→(0,0) h
f (h, k)
lim = 0. Therefore, f is differentiable at (0, 0).
(h,k)→(0,0) k
(2) According to Problem 178, the function f is discontinuous at every point
(x, y) = (0, 0), so it is not differentiable away from the origin.
(3) In part (1) we observe that f x (0, 0) = 0 and f y (0, 0) = 0. Now, we consider
the following cases.
If y is non-zero and rational, then
x 2 + y 2 if x ∈ Q
f (x, y) =
0 if x ∈
/ Q.
The argument for the partial derivative with respect to y is the same. Therefore,
we conclude that the partial derivative with respect to x exists if (x, y) = (0, 0) or
y∈/ Q, and the partial derivative with respect to y exists if (x, y) = (0, 0) or x ∈
/ Q.
The partial derivatives are zero whenever they exist.
0.1
e−t dt using a linear approximation.
2
220. Approximate
−0.1
Solution. We define
y
e−t dt.
2
f (x, y) =
x
∂ y
−t 2 −x 2 ∂ y
e−t dt = e−y ,
2 2
e dt = −e and
∂x x ∂y x
∂f ∂f
f (x, y) ≈ f (x0 , y0 ) + (x0 , y0 )(x − x0 ) + (x0 , y0 )(y − y0 )
∂x ∂y
or
y0
e−t dt − e−x0 (x − x0 ) + e y0 (y − y0 ).
2 2 2
f (x, y) ≈
x0
If (x0 , y0 ) = (0, 0), then f (x, y) ≈ −x + y. Hence, we get f (−0.1, 0.1) = 0.2.
221. Let f (x, y) = 0 defines y as an implicit function of x. Suppose that that the
functions f (x, y) and y(x) are both differentiable. Show that
d2 y b2 c − 2abd + a 2 e
2
=− ,
dx b3
∂f ∂f ∂2 f ∂2 f ∂2 f
where a = , b= , c= , d= and e = .
∂x ∂y ∂x 2 ∂ x∂ y ∂ y2
Solution. We use the chain rule to differentiate f (x, y) = 0 with respect to x:
df dx dy dy
= fx + fy = fx + f y = 0.
dx dx dx dx
Solving this equation for dy/d x, we get dy/d x = − f x / f y . Hence, we can write
180 5 Differentiability and Differential
c
a
C A
b
d fx d fy
d2 y d dy d fx fy − fx
= = − =− d x dx
dx 2 dx dx dx fy f y2
dy dy
f y f x x + f yx − f x f yx + f yy
=− dx dx
f y2
f x f x
f y fx x + fx y − − f x f x y + f yy −
fy fy
=− 2
fy
f y ( f y f x x − f x f x y ) − f x ( f y f x y − f x f yy )
=−
f y3
f y f x x − 2 f x f y f x y + f x2 f yy
2
b2 c − 2abd + a 2 e
=− = − .
f y3 b3
a b
(2) Since = , it follows that
sin A sin B
∂a
(sin A) − a cos A
∂A = 0.
2
sin A
∂a
This implies that (sin A) − a cos A = 0 or
∂A
∂a a cos A
= .
∂A sin A
1 ∂a
Also, we obtain = b(− csc B cot B), and so
sin A ∂ B
∂a
= −b csc B cot B sin A.
∂B
z
223. Find the total differential for the function u = x y .
Solution. First, we find the partial derivatives with respect to all three independent
variables. Finding the partial derivative with respect to x, we have the power function
with constant exponent y z . So, we obtain
∂u
= y z x y −1 .
z
∂x
To find the partial derivative with respect to y, we use the chain rule. The outside
function is the exponential function with constant base x and the variable exponent
y z , which is the power function with respect to y. Hence, by the chain rule, we obtain
∂u z
= x y (ln x)zy z−1 .
∂y
To find the partial derivative with respect to z, we use the chain rule again. The outside
function is the exponential function with a constant base x. The inside function is
another exponential function y z with the constant base y. Therefore, by the chain
rule, we get
∂u z
= x y (ln x)y z (ln y).
∂z
∂f ∂ f ∂x ∂ f ∂y ∂f ∂f
= + =a −b ,
∂u ∂ x ∂u ∂ y ∂u ∂x ∂y
and so
∂2 f ∂ ∂ ∂ f ∂f 2∂ f ∂2 f 2∂ f
2 2
= a − b a − b = a − 2ab + b . (5.4)
∂u 2 ∂x ∂y ∂x ∂y ∂x2 ∂ x∂ y ∂ y2
Similarly, we get
∂f ∂ f ∂x ∂ f ∂y ∂f ∂f
= + =b +a ,
∂v ∂ x ∂v ∂ y ∂v ∂x ∂y
and hence
∂2 f ∂ ∂ ∂ f ∂f ∂2 f ∂2 f ∂2 f
= b +a b +a = b2 2 + 2ab + a2 2 . (5.5)
∂v 2 ∂x ∂y ∂x ∂y ∂x ∂ x∂ y ∂y
Solution. Assume that w = f (x, y, z) and write R in terms of its component R(t) =
x(t), y(t), z(t) . Since x, y and z are functions of t, it follows that w is a function
of t, i.e., w = f (t). Now, by the chain rule, we can write
dw ∂w d x ∂w dy ∂w dz
= + +
dt ∂w ∂w ∂w d x∂zdydt dz
∂ x dt ∂ y dt (5.6)
= , , · , , .
∂ x ∂ y ∂z dt dt dt
Next, we rewrite (5.6) in terms of the functions and noting where these functions are
to be evaluated
g (t) = ∇ f x(t), y(t), z(t) · R (t) = ∇ f R(t) · R (t).
5.4 Solved Problems 183
When t = t0 we have R(t0 ) = (x0 , y0 , z 0 ). Also, R (t0 ) is the velocity of the moving
object at time t0 . The velocity is a vector in the direction of motion (in this case,
in the direction of u) whose magnitude is the speed (in this case, 1). Since u is a
unit vector, a vector of length 1 in the direction of u is just u, and so R (t0 ) = u.
Substituting back into our expression for g (t), we get
g (t) = ∇ f R(t0 ) · R (t0 ) = ∇ f (x0 , y0 , z 0 ) · u = Du f (x0 , y0 , z 0 ),
as desired.
as desired.
Show that
(1) there exists ξ1 between x0 and x0 + h such that
F(h, k) = f x (ξ1 , y0 + k) − f x (ξ1 , y0 ) h;
(2) there exists ξ2 between y0 and y0 + k such that F(h, k) = f x y (ξ1 , ξ2 )hk;
184 5 Differentiability and Differential
1
(3) f x y (x0 , y0 ) = lim F(h, k);
(h,k)→(0,0) hk
(4) f x y (x0 , y0 ) = f yx (x0 , y0 ).
F(h, k)
f x y (x0 , y0 ) = lim . (5.9)
(h,k)→(0,0) hk
F(h, k)
f yx (x0 , y0 ) = lim . (5.10)
(h,k)→(0,0) hk
b
f (x, y)d x, prove that
a
d b
∂f
F(y) = (x, y)d x.
dy a ∂y
Solution. By the mean value theorem, there exists 0 < ξ < 1 such that
f (x, y + h) − f (x, y) ∂f
= (x, y + ξ h),
h ∂y
5.4 Solved Problems 185
Solution. Taking derivative from both sides of the given integral with respect to a we
have
x
∂ 1 ∂ 1 −1 x
d x = tan .
∂a 0 x 2 + a 2 ∂a a a
and so we obtain
x
2a 1 ∂ −1 x ∂ 1 −1 x
d x = tan + tan .
0 (x 2 + a 2 )2 a ∂a a ∂a a a
1
x −1
230. Evaluate d x.
0 ln x
1
xt − 1
Solution. Suppose that F(t) = d x, where t ≥ 0. Then, we have
0 ln x
1 t
xt − 1
1
∂ x ln x
F (t) = dx = dx
0 1 ln x ∂t 0 ln x
1
= xtdx = .
0 t + 1
1
F(t) = dt = ln(t + 1) + C.
t +1
Solution. (1) Suppose that x(t) = x0 + th and y(t) = y0 + tk. By the chain rule, we
conclude that g is differentiable and we get
dg ∂ f dx ∂ f dy ∂f ∂f
= + =h +k .
dt ∂ x dt ∂ y dt ∂x ∂y
(2) We consider (x0 , y0 ) = (1, 2) and (h, k) = (2, 2) in part (1). Then, we have
g(t) = f (1 + 2t, 2 + 2t), for all t ∈ [0, 1]. According to our assumptions, we have
g(0) = f (1, 2) = 0 and g(1) = f (3, 4) = 0. So, by Roll’s theorem there exists ξ ∈
(0, 1) such that
g (ξ ) = 0. (5.12)
On the other hand, since g (t) = 2 f x (1 + 2t, 2 + 2t) + 2 f y (1 + 2t, 2 + 2t), it fol-
lows that
g (ξ ) = 2 f x (1 + 2ξ, 2 + 2ξ ) + 2 f y (1 + 2ξ, 2 + 2ξ ). (5.13)
2 f x (1 + 2ξ, 2 + 2ξ ) + 2 f y (1 + 2ξ, 2 + 2ξ ) = 0.
where u = u(x) and v = v(x). Now, we use the chain rule. We get
d ∂ F dx ∂ F du ∂ F dv
F(x, u, v) = + +
dx ∂ x
d vx ∂u d x ∂v d x
∂ du dv (5.14)
= f (x, y)dy − f x, u(x) + f x, v(x) .
∂x u dx dx
x2
sin(x y)
234. Evaluate dy.
x y
sin(x y)
Solution. Let f (x, y) = , u(x) = x and v(x) = x 2 . By Problem 233, we can
y
write
d x2
sin(x y) ∂ sin(x y)
x2 dv du
dy = dy + f x, x 2 ) − f (x, x)
dx y ∂ x y d x d x
x
x x 2
sin x 3 sin x 2
= cos(x y)dy + (2x) −
x2 x
x
2 sin x 3 sin x 2
x
2
1
= sin(x y) + −
x 3 x
2
x x
sin x sin x 2 sin x 3 sin x 2
= − + −
x x x x
1
= 3 sin x 3 − 2 sin x 2 .
x
235. Let f : R → R and F : R2 → R be differentiable functions satisfy F x, f (x)
= 0 and ∂ F/∂ y = 0. Prove that
∂ F/∂ x
f (x) = − , where y = f (x).
∂ F/∂ y
Solution. Since F x, f (x) = 0 (constant), it follows that ∂ F x, f (x) /∂ x = 0.
Therefore, we obtain
∂ F x, f (x) ∂F ∂x ∂F
0= = x, f (x) + x, f (x) f (x)
∂x ∂x ∂x ∂y
∂F ∂F
= x, f (x) + x, f (x) f (x),
∂x ∂y
236. Let f : R2 → R be a function such that f (x, y) depends only on the distance
r of (x, y) from the origin, say f (x, y) = g(r ), where r = x 2 + y 2 .
(1) Prove that for (x, y) = (0, 0) we have
∂2 f ∂2 f 1
+ = g (r ) + g (r ).
∂x2 ∂ y2 r
∂2 f ∂2 f
+ 2 = 0,
∂x 2 ∂y
5.4 Solved Problems 189
for all (x, y) = (0, 0). Use part (1) to prove that f (x, y) = a ln(x 2 + y 2 ) + b
for (x, y) = (0, 0), where a and b are constant.
Solution. (1) Take the partial derivative of r 2 = x 2 + y 2 on both sides with respect
to x to obtain ∂(r 2 )/∂ x = 2x. Applying the chain rule on the left side we obtain
2r ∂r/∂ x = 2x, which leads to
∂r x
= .
∂x r
Hence, we have
∂f ∂ f ∂r x g (r )
= = g (r ) = x,
∂x ∂r ∂ x r r
or equivalently
1 ∂f g (r )
= . (5.16)
x ∂x r
Now, we take the partial derivative from (5.16) on both sides with respect to x. We
get
∂ 1 ∂f ∂ g (r ) 1 ∂f 1 ∂2 f g (r ) ∂r
= ⇒− 2 + =
∂x x ∂x ∂x r x ∂x x ∂x 2
r ∂x
1 ∂f 1 ∂2 f g (r )r − g (r ) ∂r
⇒− 2 + =
x ∂ x x ∂ x 2 r2 ∂x
∂2 f g (r )r − g (r ) x 2 1 ∂f
⇒ = + .
∂x2 r2 r x ∂x
Therefore, we have
∂2 f g (r )r − g (r ) g (r )
= x 2
+ . (5.17)
∂x2 r3 r
∂2 f ∂2 f g (r )r − g (r ) 2 g (r ) g (r )r − g (r ) 2 g (r )
+ = x + + y +
∂x2 ∂ y2 r3 r r3 r
g (r )r − g (r ) 2
2g (r )
= x +y +2
r3 r
g (r )r − g (r ) 2g (r )
= +
r r
g (r )
= g (r ) + .
r
190 5 Differentiability and Differential
(2) Since
f satisfies Laplace’s equation, by part (1) we have rg (r ) + g (r ) = 0
or rg (r ) = 0. This implies that rg (r ) = a, where a is constant. Since r = 0, it
follows that g (r ) = a/r , and so
a
g (r )dr = dr.
r
∂x ∂y ∂x ∂y
= cos θ, = sin θ, = −r sin θ and = r cos θ.
∂r ∂r ∂θ ∂θ
Now, if we use the chain rule, then we obtain
∂z ∂z ∂z
= cos θ + sin θ,
∂r ∂x ∂y (5.19)
∂z ∂z ∂z
= −r sin θ + r cos θ.
∂θ ∂x ∂y
∂2z
238. Refer to Problem 237 and express the second order partial derivative in
∂θ 2
terms of partial derivatives of f .
∂z
Solution. We begin the formula for in (5.19) and differentiate with respect to θ ,
∂θ
treating r as a constant. There exist two terms on the right, each of which must be
differentiable as a product. Hence, we get
derivatives with respect to θ must be determined by the use of the chain rule. We
∂z
again use (5.19), with z replaced by , to obtain
∂x
∂z ∂z
∂ ∂z ∂ ∂
= ∂x ∂x + ∂x ∂y
∂θ ∂ x ∂x ∂θ ∂ y ∂θ
∂2z ∂2z
= 2 (−r sin θ ) + (r cos θ ).
∂x ∂ y∂ x
∂z
Similarly, using (5.19) with z replacing by , we find
∂y
∂z ∂z
∂ ∂
∂ ∂z ∂y ∂x ∂y ∂y
= +
∂θ ∂ y ∂x ∂θ ∂ y ∂θ
∂2z ∂2z
= (−r sin θ ) + 2 (r cos θ ).
∂ x∂ y ∂y
∂2z ∂z ∂z
= −r cos θ + sin θ
∂θ 2 ∂x ∂y
∂ 2
z ∂2z ∂2z
(5.21)
+r 2 sin2 θ 2 − 2 sin θ cos θ + cos2 θ 2 .
∂x ∂ x∂ y ∂y
∂2z
This is the required formula for .
∂θ 2
239. Refer to Problem 237 verify the following formulas:
2
∂z 1 ∂z 2
(1) ∇ f (r cos θ, r sin θ )2 = + 2 ;
∂r r ∂θ
∂2z ∂2z ∂2z 1 ∂2z 1 ∂z
(2) + = + + .
∂x 2 ∂y 2 ∂r 2 r ∂θ
2 2 r ∂r
Solution. (1) By (5.19), we can write
∂z 2 1 ∂z 2 ∂z ∂z 2 1 ∂z ∂z 2
+ = cos θ + sin θ + − r sin θ + r cos θ
∂r r 2 ∂θ ∂∂zx 2 ∂z∂y2 r2 ∂x ∂y
= +
∂x ∂y
= ∇z2 = ∇ f (r cos θ, r sin θ )2 .
∂z ∂z
∂ ∂z ∂ ∂
= ∂x ∂x + ∂x ∂y
∂r ∂ x ∂x ∂r ∂y ∂r
∂2z ∂2z
= cos θ 2 + sin θ .
∂x ∂ y∂ x
Similarly, we obtain
∂z ∂z
∂ ∂
∂ ∂z ∂y ∂x ∂y ∂y
= +
∂r ∂ y ∂x ∂r ∂y ∂r
∂2z ∂2z
= cos θ + sin θ 2 .
∂ x∂ y ∂y
∂z z ∂z
Since = cos θ + sin θ , it follows that
∂r ∂x ∂y
∂2z ∂ ∂z ∂ z ∂z
= = cos θ + sin θ
∂r 2 ∂r ∂r ∂r ∂∂z
x ∂y
∂ ∂z
= cos θ + sin θ
∂r ∂ x ∂y
∂z ∂ 2 z ∂2z ∂2z
= cos θ cos θ + sin θ + sin θ cos θ + sin θ .
∂x2 ∂ y∂ x ∂ x∂ y ∂ y2
Finally by (5.19), (5.21), (5.22) and using the obvious relation cos2 θ + sin2 θ = 1,
the result follows.
y z
240. Show that the function g(x, y, z) = x n f a , b , where f is a differentiable
x x
function, satisfies the equation
∂g ∂g ∂g
x + ay + bz = ng. (5.23)
∂x ∂y ∂z
Solution. Suppose that u = y/x a and v = z/x b . Then, we can write g(x, y, z) =
x n f (u, v). Now, using the chain rule we obtain
5.4 Solved Problems 193
∂g ∂ f ∂u ∂ f ∂v
= nx n−1 f (u, v) + x n +
∂x ∂u ∂x ∂v ∂ x
−ay ∂ f −bz ∂ f
= nx n−1 f (u, v) + x n a+1 + b+1 ,
x ∂u x ∂v
∂g ∂ f ∂u ∂ f ∂v x ∂f
n
= xn + = a ,
∂y ∂u ∂ y ∂v ∂ y x ∂v
∂g ∂ f ∂u ∂ f ∂v x ∂f
n
= xn + = b .
∂z ∂u ∂z ∂v ∂z x ∂v
∂2z −1
= − x ln(ex) (at x = y = z).
∂ x∂ y
z ln z = ln c − x ln x − y ln y. (5.24)
Taking partial derivative from both sides of (5.24) with respect to x, we get
∂z 1 ∂z
ln z + z = −(1 + ln x),
∂x z ∂x
or equivalently
∂z
(1 + ln z) = −(1 + ln x). (5.25)
∂x
Now, taking partial derivative from both sides of (5.25) with respect to y, gives us
∂2z ∂z 1 ∂z
(1 + ln z) + = 0.
∂ x∂ y ∂x z ∂x
Consequently, if x = y = z, then
1
∂2z −1 −1 −1
=− x = = = − x ln(ex) .
∂ x∂ y 1 + ln x x(1 + ln x) x ln(ex)
f (t x, t y) = t k f (x, y) (5.26)
for all (x, y) in D and t > 0; here k can be any real number, and it is assumed that
if (x, y) belongs to D, then so does every point (t x, t y)with t > 0. For example, the
functions f (x, y) = x 2 ln(x/y) − x y and f (x, y) = x 2 + y 2 are homogenous of
degree 2 and 1, respectively. Let f be homogenous of degree k and differentiable at
every point of its domain. Show that
(1) x f x (x, y) + y f y (x, y) = k f (x, y),
a result known as Euler’s theorem on homogeneous functions;
(2) If f has continuous second partial derivatives, then
df ∂ f dx ∂ f dy
= + .
dt ∂ x dt ∂ y dt
Therefore, if we take derivative from the left side of (5.27) with respect to t, then by
using the above equalities, we obtain
x 2 f x x (t x, t y) + x y f x y (t x, t y) + x y f yx (t x, t y) + y 2 f yy (t x, t y).
On the other hand, taking derivative from the right side of (5.27) gives us k(k −
1)t k−2 f (t x, t y). Therefore, we conclude that
∂2z ∂2z 2∂ z
2
cos 2z · sin z
x2 + 2x y + y =− .
∂x2 ∂ x∂ y ∂ y2 4 cos3 z
x+y
Solution. Note that z is not homogeneous. If we set u = sin z = √ √ =
x+ y
f (x, y), then
tx + ty 1/2 x + y
f (t x, t y) = √ √ =t √ √ = t f (x, y).
1/2
tx + ty x+ y
∂u ∂z ∂u ∂z
Since = cos z and = cos z , it follows that
∂x ∂x ∂y ∂y
∂z ∂z 1
x cos z + y cos z = sin z.
∂x ∂y 2
∂2z ∂z ∂2z 1 ∂z
x + + y = sec2 z
∂x 2 ∂x ∂ x∂ y 2 ∂x
or equivalently
∂2z ∂2z 1 ∂z
x + y = sec 2
z − 1 . (5.30)
∂x2 ∂ x∂ y 2 ∂x
∂2z ∂2z ∂z 1 ∂z
y + x + = sec2 z
∂ y2 ∂ x∂ y ∂y 2 ∂y
or equivalently
∂2z ∂2z 1 ∂z
x +y 2 = sec2 z − 1 . (5.31)
∂ x∂ y ∂y 2 ∂y
∂2z ∂2z 1 ∂z ∂z
2∂ z
2
x2 + 2x y + y = sec2
z − 1 x + y
∂x2 ∂ x∂ y ∂ y2 21 1 ∂ x ∂ y
= sec z − 1
2
tan z
2 2
cos 2z · sin z
= .
4 cos3 z
x 3 + y3
244. If z = tan−1 , show that
x−y
∂z ∂z
(1) x +y = sin 2x,
∂x ∂y
∂2z ∂2z ∂2z
(2) x 2 2 + y 2 2 + 2x y = sin 4z − sin 2z.
∂x ∂y ∂ x∂ y
Solution. (1) We set u = f (x, y) = tan z. Then, we have
t 3 x 3 + t 3 y3 x 3 + y3
f (t x, t y) = = t2 = t 2 f (x, y).
tx − ty x−y
∂ ∂
x (tan z) + y (tan z) = 2 tan z.
∂x ∂y
It follows that
∂z ∂z
x sec2 z + y sec2 z = 2 tan z.
∂x ∂y
∂z ∂z
x +y = 2 tan z cos2 z = 2 sin z cos z = sin 2z.
∂x ∂y
(2) We take partial derivative from both sides of (1) with respect to x. We get
∂2z ∂z ∂2z ∂z
x + +y = 2 cos 2z ,
∂x 2 ∂x ∂ x∂ y ∂x
Similarly, we obtain
∂2z ∂2z ∂z
y + x = (2 cos 2z − 1) . (5.33)
∂ y2 ∂ x∂ y ∂y
5.4 Solved Problems 197
∂2z ∂2z ∂z ∂z
2∂ z
2
x2 + 2x y + y = (2 cos 2z − 1) x + y
∂x2 ∂ x∂ y ∂ y2 ∂x ∂y
= (2 cos 2z − 1)(sin 2z) by part (1)
= 2 cos 2z sin 2z − sin 2z
= sin 4z − sin 2z.
n
∂ f (X )
k f (X ) = xi . (5.34)
i=1
∂ xi
dg X (t) ∂ f (t X )
n
= xi − kt k−1 f (X )
dt i=1
∂ x i
1 ∂ f (t X )
n
= t xi − kt k f (X )
t i=1 ∂ xi
1
= k f (t X ) − kt k f (X )
t
k
= g X (t).
t
k
Hence, g X (t) = g X (t), which means that y(t) = g X (t) satisfies the first order dif-
t
dy ky
ferential equation = . This equation has general solution y = ct k , and so
dt t
g X (t) = ct k . Since g X (1) = f (X ) − f (X ) = 0, it follows that c = 0, which implies
that g X is identically zero. Consequently, f is homogeneous of degree k.
Conversely, let f be a homogeneous function of order k. Then g X (t) is identically
zero, and so g X (t) = 0. On the other hand, we have
n
∂ f (t X )
g X (t) = xi − kt k−1 f (X ).
i=1
∂ xi
n
∂ f (t X )
xi = kt k−1 f (X ).
i=1
∂ xi
198 5 Differentiability and Differential
∂f ∂2 f
n
∂f
k = xj + , (5.35)
∂x j i=1
∂ x j ∂ x i ∂ xj
n
∂2 f ∂f
xi = (k − 1) ,
i=1
∂ x i ∂ x j ∂ xj
x f x + y f y + z f z = k f. (5.36)
x f x x + y f x y + z f x z = (k − 1) f x ,
x f yx + y f yy + z f yz = (k − 1) f y , (5.37)
x f zx + y f zy + z f zz = (k − 1) f z .
dy d
Now, we compute = (r sin θ ). We obtain
dx dx
d x = cos θ dr − r sin θ dθ and dy = sin θ dr + r cos θ dθ,
and so we have
1 dr
dy sin θ dr + r cos θ dθ tan θ +1
= = r dθ . (5.39)
dx cos θ dr − r sin θ dθ 1 dr
− tan θ
r dθ
From (5.38) and (5.39) we get
dr 1 dr
tan θ + 1 = f (1, tan θ ) − tan θ f (1, tan θ ),
dθ r dθ
or equivalently
200 5 Differentiability and Differential
1 dr
tan θ − f (1, tan θ ) = − 1 + tan θ f (1, tan θ ) .
r dθ
This yields that
1 1 + tan θ f (1, tan θ )
dr = − dθ. (5.40)
r tan θ − f (1, tan θ )
1 1 1
√ dx + dy + √ dz = 0.
1−x 2 1−y 2 1 − z2
Similarly, we have
k k
y − zx = and z − x y = .
1 − y2 1 − z2
250. A set of three variables x, y, z is connected with the another set u, v, w by the
equations
x + y + z = u, x y + yz + zx = v and x yz = w.
Prove that
∂2x 2(2x − y − z)
=− . (5.42)
∂w 2 (x − y)3 (x − z)3
du = d x + dy + dz,
dv = (y + z)d x + (x + z)dy + (x + y)dz,
dw = yzd x + x zdy + x ydz.
x2 x 1
dx = du − dv + dw (5.43)
(x − y)(x − z) (x − y)(x − z) (x − y)(x − z)
∂x ∂x ∂x
dx = du − dv + dw. (5.44)
∂u ∂v ∂w
Comparing (5.43) and (5.44) we obtain
∂x 1
= .
∂w (x − y)(x − z)
∂y 1 ∂z 1
= and = .
∂w (y − x)(y − z) ∂w (z − y)(z − x)
Now, by putting the expressions for ∂ x/∂w, ∂ y/∂w and ∂z/∂w in (5.45) we reach
to (5.42).
202 5 Differentiability and Differential
∂w ∂w ∂(uv) ∂(u 2 + v 2 )
f x (w, w) + f y (w, w) = f x (uv, u 2 + v 2 ) + f y (uv, u 2 + v 2 ) .
∂u ∂u ∂u ∂u
∂w
f x (w, w) + f y (w, w) = u f x (uv, u 2 + v 2 ) + 2u f y (uv, u 2 + v 2 ).
∂u
When u = 1, v = 2 and w = 3 we get
∂w
f x (3, 3) + f y (3, 3) = 2 f x (2, 5) + 2u f y (2, 5).
∂u
Now, using the quantities in (5.46), we obtain ∂w/∂u = 8/9.
252. Let f be a function of two variables and assume that the partial deriva-
tives ∂ f /∂ x and ∂ f /∂ y are never zero. Let u be another function of two vari-
ables such that the partial derivatives ∂u/∂ x and ∂u/∂ y are related by equation
f (∂u/∂ x, ∂u/∂ y) = 0. Assume that all second partial derivatives of u are continu-
ous. Prove that a constant n exists such that
∂ 2u ∂ 2u ∂ 2 u n
= ,
∂x ∂y
2 2 ∂ x∂ y
and find n.
Solution. Suppose that ∂u/∂ x = r and ∂u/∂ y = s. Since f (r, s) = 0, it follows that
∂f ∂f
dr + ds = 0.
∂r ∂s
This yields that
∂ f ∂ 2u ∂ 2u ∂ f ∂ 2u ∂ 2u
d x + dy + d x + dy = 0,
∂r ∂ x 2 ∂ y∂ x ∂s ∂ y∂ x ∂ y2
5.4 Solved Problems 203
or equivalently,
∂ f ∂ 2u ∂ f ∂ 2u ∂ f ∂ 2u ∂ f ∂ 2u
+ d x + + dy = 0.
∂r ∂ x 2 ∂s ∂ y∂ x ∂r ∂ y∂ x ∂s ∂ y 2
∂ f ∂ 2u ∂ f ∂ 2u ∂ f ∂ 2u ∂ f ∂ 2u
+ = 0 and + = 0.
∂r ∂ x 2 ∂s ∂ y∂ x ∂r ∂ y∂ x ∂s ∂ y 2
∂f ∂ 2u ∂ 2u
−
∂s = ∂ y∂ x = ∂ y 2 .
∂f ∂ 2u ∂ 2u
−
∂r ∂x2 ∂ x∂ y
d f = f x d x + f y dy + f u du + f v dv = 0, (5.48)
dg = gx d x + g y dy + gu du + gv dv = 0. (5.49)
du = u x d x + u y dy, (5.50)
dv = vx d x + v y dy. (5.51)
Since x and y are independent, it follows that the coefficient of d x and dy in (5.52)
and (5.53) are zero. Therefore, we conclude that
204 5 Differentiability and Differential
f u u y + f v v y = − f y and gu u y + gv v y = −g y . (5.55)
Now, we use Cramer’s rule to solve the systems of Eqs. (5.54) and (5.55). We obtain
− f x fv − f y fv
∂u −gx gv ∂u −g y gv
(1) u x = = , (3) u y = = ,
∂x fu fv ∂y fu fv
gu gv gu gv
fu − f x fu − f y
∂v gu −gx ∂v gu −g y
(2) vx = = , (4) v y = = .
∂x fu fv ∂y fu fv
gu gv gu gv
254. Estimate (2.97)2 + (4.02)2 .
Solution. Suppose that f (x, y) = x 2 + y 2 . Then, we can write
(2.97)2 + (4.02)2 = f (3 + Δx, 4 + Δy),
x y
f x (x, y) = and f y (x, y) = ,
x2 + y2 x2 + y2
and hence f x (3, 4) = 3/5 and f y (x, y) = 4/5. Therefore, we conclude that
3 4
(2.97)2 + (4.02)2 ≈ 5 + (−0.03) + (0.02) = 4.998.
5 5
(1.03)2
3
√ .
0.98 1.05
5.4 Solved Problems 205
√
Solution. If f (x, y, z) = x 2 / 3 y z, then f (1.03, 0.98, 1.05) is the quantity we want
to approximate. We calculate the linearization at (1, 1, 1). Then, the partial derivatives
are
∂f d x 2
(1, 1, 1) = = 2x = 2,
∂x d x 11/3 12 1/6 x=1
x=1
∂f d 1 1 1
(1, 1, 1) = = 4/3 =− ,
∂y dy y 1 1/3 1/6 y=1 3y y=1 3
∂f d 12 1 1
(1, 1, 1) = = − 7/6 =− .
∂x dy 1 z 1/3 1/6 z=1 6z z=1 6
1 1
L(x, y, z) = 1 + 2(x − 1) − (y − 1) − (z − 1).
3 6
This yields that L(1.03, 0.98, 1.05) is an approximation for f (1.03, 0.98, 1.05).
Hence, we obtain
1 1
f (1.03, 0.98, 1.05) ≈ L(1.03, 0.98, 1.05) = 1 + 2(0.03) − (0.02) − (0.05)
3 6
6.35
= ≈ 1.05833333333.
5
256. A cylinder has a radius r = 5 and a height h = 2. Approximate the change in
the volume of the cylinder if the radius is increased by 0.1 and the height is decreased
by 0.05.
Solution. The volume of a cylinder is a function of its radius r and height h given
by V (r, h) = πr 2 h. The exact change in volume can be calculated as ΔV = V (5 +
0.1, 2 − 0.05) − V (5, 2). Now, we want to compute the approximate differential of
this function with the formula
∂V ∂V
ΔV ≈ (r, h)Δr + (r, h)Δh,
∂r ∂h
where r = 5, h = 2 and Δr = 0.1 is the change in the radius and Δh = −0.05 is the
change in height. Note that Δh is negative since the height is decreased. The partial
derivatives of the volume function are
∂V ∂V
= 2πr h and = πr 2 .
∂r ∂h
Evaluating these for the given radius and height gives ∂ V /∂r = 20π and ∂ V /∂h =
25π . Then, the change in V is approximated as
Since the answer is positive, it means that the overall volume was increased.
206 5 Differentiability and Differential
257. If |x| is much greater than |y|, |z| and |t|, to which of x, y, z and t is the value
of the determinant
x y
f (x, y, z, t) =
z t
∂f ∂f ∂f ∂f
df = dx + dy + dz + dt = td x − zdy − ydz + xdt.
∂x ∂y ∂z ∂t
Since |x| is much greater than |y|, |z| and |t|, it follows that the function f is most
sensitive to a change in t.
258. The Wilson lot size formula: The Wilson lot size formula in economics says that
the most economical quantity Q of goods√(radios, shoes, brooms, whatever) for a
store to order is given by the formula Q = 2K M/ h, where K is the cost of placing
the order, M is the number of items sold per week, and h is the weekly holding cost
for each item (cost of space, utilities, security, and so on). To which of the variables
K , M, and h is Q most sensitive near the point (K 0 , M0 , h 0 ) = (2, 20, 0.05)? Give
reasons for your answer.
Solution. First, we calculate the first partial derivatives of Q as follows:
∂Q 1 2K M −1/2 2M ∂Q 1 2K M −1/2 2K
= , = ,
∂K 2 h h ∂M 2
−1/2 h h
∂Q 1 2K M −2K M
= .
∂K 2 h h2
So, we obtain
∂Q ∂Q ∂Q
dQ = dK + dM + dh
∂ K ∂ M
−1/2 ∂h
1 2K M 2M 2K 2K M
= dK + dM − dh .
2 h h h h2
∂f ∂f ∂2 f
(x, y) = y cos(x y), (x, y) = x cos(x y), (x, y) = −y 2 sin(x y),
∂x ∂y ∂x2
∂2 f ∂2 f
(x, y) = cos(x y) − x y sin(x y) and (x, y) = −x 2 sin(x y).
∂ x∂ y ∂ y2
So, we obtain
∂f ∂f ∂2 f √
(1, π/3) = −π/6, (1, π/3) = 1/2, (1, π/3) = −π 2
3/18,
∂x ∂y ∂x2
∂2 f √ ∂2 f √
(1, π/3) = 1/2 − π 3/6 and (1, π/3) = − 3/2.
∂ x∂ y ∂ y2
260. Let f : R2 → R be a function of two variables such that all partial deriva-
tives of order 3 exist and are continuous. Write down (explicitly in terms of partial
derivatives of f ) a quadratic polynomial L 2 (x, y) in x and y such that
for all (x, y) in some neighborhood of (0, 0), where M is a number that may depend
on f but not on x and y. Next, prove the above estimate.
Solution. By the Taylor’s formula, we expand f around the point (0, 0) as follows:
208 5 Differentiability and Differential
L 2 (x, y) = f (0, 0) + x f x (0, 0) + y f y (0, 0)
1 2
+ x f x x (0, 0) + 2x y f x y (0, 0) + y 2 f yy (0, 0)
2!
So, we have
|x 3 | ≤ (x 2 + y 2 )3/2 ,
|x 2 y| ≤ (x 2 + y 2 )3/2 ,
|x y 2 | ≤ (x 2 + y 2 )3/2 ,
|y 3 | ≤ (x 2 + y 2 )3/2 .
Since the third order partial derivatives are continuous, it follows that there exists a
real number c such that
c
max{ f x x x , 3 f x x y , 3 f x yy , f yyy } <
4
in some neighborhood of (0, 0). Therefore, we conclude that
1
| f (x, y) − L 2 (x, y)| ≤ (x 2 + y 2 )3/2 c ≤ M(x 2 + y 2 )3/2 .
3!
261. If |x| < 0.1 and |y| < 0.1, prove that |e x sin(x + y) − (x + y)| < 0.05.
This implies that f x (0, 0) = 1 and f y (0, 0) = 1. Hence, at the point (0, 0) we
obtain L 1 (x, y) = x + y. If (x, y) is a point with |x| < 0.1 and |y| < 0.1, we want
to show that | f (x, y) − L 1 (x, y)| < 0.05. Since x 2 + y 2 < (0.1)2 + (0.1)2 = 0.02,
we restrict the domain of f to the disk x 2 + y 2 < 0.02. According to the error esti-
mate,
| f (x, y) − L 1 (x, y)| ≤ M(x 2 + y 2 ) < (0.02)M,
262. The combined resistance R of two wires in parallel, having resistances R1 and
R2 respectively, is given by
1 1 1
= +
R R1 R2
(Figure 5.2). If the resistance in the wires is initially 1 and 2 ohms, with a possible
error in each of ±0.1 ohm, what is the value of R, and by how much might this be in
error?
R1 R2
Solution. From the formula we obtain R = . Then, we compute the first
R1 + R2
partial derivatives as follows:
∂R R 2 ∂R R 2
1 2
= and = .
∂ R1 R1 + R2 ∂ R2 R1 + R2
4 1
ΔR = ΔR1 + ΔR2 .
9 9
210 5 Differentiability and Differential
4 1 1
|ΔR| ≤ (0.1) + (0.1) = .
9 9 18
Therefore, we conclude that R = 2/3 ± 1/18.
and ⎧
⎨ f (x0 , y) − f (x0 , y0 )
if y = y0
h (x0 ) (y) = y−y
⎩ f (x , y ) 0 if y = y0 .
y 0 0
Solution. (1) Since lim h (x0 ) (y) = f y (x0 , y0 ) = h (x0 ) (y0 ), it follows that h (x0 ) is con-
y→y0
tinuous at y0 .
For any (x, y) ∈ Nδ (x0 , y0 ) with x = x0 , by the mean value theorem, there exists
ξ between x and x0 such that f (x, y) − f (x0 , y) = (x − x0 ) f x (ξ, y). This yields
that g(x, y) = f x (ξ, y). Since f x is continuous at (x0 , y0 ), it follows that g is con-
tinuous at (x0 , y0 ).
(2) It is straightforward.
(3) For (h, k) ∈ R2 , we consider
Solution. Suppose that (x, y) and (u, v) are any points in R2 ; and h = u − x and
k = v − y. Let
be the line segment obtained by joining the point (x, y) and (u, v).
The coordinates of any point on this line are given by (x + ht, y + kt), for some
t ∈ [0, 1]. Now, we define a real single valued function F : [0, 1] → R by F(t) =
f (x + ht, y + kt), keeping x, y, u and v fixed. The derivative of F is
Applying the mean value theorem to F gives F(1) − F(0) = (1 − 0)F (ξ0 ), for
some ξ0 ∈ (0, 1). By the definition of F, we obtain f (u, v) − f (x, y) = F (ξ0 ).
Next, using (5.56), we can write
for some (ξ1 , ξ2 ) on the line segment joining the points (x, y) and (u, v). Since the
partial derivatives are zero at every point, it follows that f (x, y) = f (u, v), for all
x, y, u, v ∈ R. Therefore, f is a constant function on R2 .
266. Cauchy’s mean value theorem for functions of two variables: Suppose that
f, g : R2 → R are two functions with continuous partial derivatives f x , f y , gx and
g y . Prove that for any distinct pairs (x, y) and (u, v) in R2 , there exists a point
(ξ1 , ξ2 ) on the line segment joining the points (x, y) and (u, v) such that
212 5 Differentiability and Differential
f (u, v) − f (x, y) (u − v)gx (ξ1 , ξ2 ) + (v − y)g y (ξ1 , ξ2 )
= g(u, v) − g(x, y) (u − v) f x (ξ1 , ξ2 ) + (v − y) f y (ξ1 , ξ2 ) .
Then, we see that F(u, v) = F(x, y) = 0. Since f and g are differentiable, it follows
that F is differentiable too. By the mean value theorem for functions of two variables
(Problem 264), there exists a point (ξ1 , ξ2 ) at the segment line joining (x, y) and
(u, v) such that (u − x)Fs (ξ1 , ξ2 ) + (v − y)Ft (ξ1 , ξ2 ) = 0. Carrying out the partial
derivatives on F gives that
(u − x) gx (ξ1 , ξ2 ) f (u, v) − f (x, y) − f x (ξ1 , ξ2 ) g(u, v) − g(x, y)
+(v − y) f y (ξ1 , ξ2 ) g(u, v) − g(x, y) − g y (ξ1 , ξ2 ) f (u, v) − f (x, y) = 0.
5.5 Exercises
Easier Exercises
1. Let ⎧
⎨ 3x 2 y 2
if (x, y) = (0, 0)
f (x, y) = x 4 + y 4
⎩
0 if (x, y) = (0, 0).
Prove that f x (0, 0) and f y (0, 0) exist but f is not differentiable at (0, 0).
2. Let ⎧
⎨ 3x 2 y
if (x, y) = (0, 0)
f (x, y) = x 2 + y 2
⎩
0 if (x, y) = (0, 0).
Prove that f x (0, 0) and f y (0, 0) exist but f x and f y are not continuous at (0, 0).
5.5 Exercises 213
3. Let ⎧
⎨ x y(x 2 − y 2 )
if (x, y) = (0, 0)
f (x, y) =
⎩ x +y
2 2
0 if (x, y) = (0, 0).
Find the first and second derivatives of z with respect to x and y at (π, 0, π/2).
12. The equation x + z + (y + z)2 = 6 defines z implicity as a function of x and y,
say z = f (x, y). Compute the partial derivatives ∂ f /∂ x, ∂ f /∂ y and ∂ 2 f /(∂ x∂ y)
in terms of x, y and z.
13. The equation sin(x + y) + cos(y + z) = 1 defines z implicity as a function of
x and y, say z = f (x, y). Compute the second derivative ∂ 2 f /(∂ x∂ y) in terms
of x, y and z.
14. Use differential to estimate
15. Find the plane through the point (0, 0, 1) tangent to the surface x 2 − y 2 + 3z = 0
and parallel to the line x/2 = y = −z/2.
16. The following equations define w implicitly as a function of the other variables.
Find dw in terms of all the variables by taking the differential of both sides and
solving algebraically for dw.
1 1 1 1
(a) = + + ;
w t u v
(b) u 2 + 2v 2 + 3w 2 = 5.
17. Suppose that f (x, y, z) = F g(x, y, z) . Give a formula for d f .
18. Let z = f (x, y), and make the change of variables x = u 2 − v 2 , y = 2uv. Show
that
(z u )2 + (z v )2
(z x )2 + (z y )2 = .
4(u 2 + v 2 )
∂z ∂z
y −x = y2 − x 2.
∂x ∂y
Harder Exercises
20. Let g(s, t) = f u(s, t), v(s, t) , where f , u and v are differentiable and
u(1, 0) = 2, v(1, 0) = 3,
u s (1, 0) = −2, vs (1, 0) = 5,
u t (1, 0) = 6, vt (1, 0) = 4,
f u (2, 3) = −1, f v (2, 3) = 10.
f g fx fy
(0, 0) 3 6 4 8
(1, 0) 6 3 2 5
u 2 − v + x 2 + y 2 = 0,
u + v 2 − 2x y = 0.
Find the first and second derivatives of u and v with respect to x and y.
23. The three equations
x 2 − y cos(uv) + z 2 = 0,
x 2 + y 2 − sin(uv) + 2z 2 = 2,
x y − sin u cos v + z = 0,
∂ y g(x, y)
at those points at which f , is not zero.
∂y x x
25. The equation F(x + y + z, x + y + z ) = 0 defines z implicity as a function
2 2 2
30. The length and width of a rectangle are measured as 30 cm and 24 cm, respec-
tively, with an error in measurement of at most 0.1 cm in each. Use differentials
to estimate the maximum error in the calculated area of the rectangle.
31. Use differentials to estimate the amount of metal in a closed cylindrical can that
is 10 cm high and 4 cm in diameter if the metal in the top and bottom is 0.1 cm
thick and the metal in the sides is 0.05 cm thick.
32. Use differentials to estimate the amount of tin in a closed tin can with diameter
8 cm and height 12 cm if the tin is 0.04 cm thick.
33. The dimensions of a rectangular box are 5, 10 and 20 cm., with a possible
measurement error on each side of 0.1 cm. Use differentials to find what possible
error should be attached to its volume.
34. Suppose that the equation F(x, y, z) = 0 implicitly defines each of the three
variables x, y and z as functions of the other two: z = f (x, y) y = g(x, z) and
x = h(y, z). If F is differentiable and Fx , Fy and Fz are all non-zero, show that
∂z ∂ x ∂ y
= −1.
∂ x ∂ y ∂z
∂z ∂z
(eliminate t) satisfies z = .
∂x ∂y
Hint: Use differentials and eliminate dt.
36. Find the most general differentiable function f (X ) with domain R3 such that
f (U + V ) = f (U ) + f (V ) for all U and V .
37. A farmer will earn P = P(x, t) dollars profit if he sells x pounds of cattle t
weeks after the cattle market opens for the season. The total weight of his herd
is a function x = x(t) of the time. Express the rate of change of his profit with
respect to time in terms of the derivatives of P(x, t) and x(t) with appropriate
units.
Chapter 6
Extreme of Functions
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2023 217
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1_6
218 6 Extreme of Functions
Then
(1) f has a local maximum at (a, b) if H > 0 and A < 0;
(2) f has a local minimum at (a, b) if H > 0 and A > 0;
(3) f has a saddle point at (a, b) if H < 0;
(4) The test is inconclusive at (a, b) if H = 0. In this case, we must find some other
way to determine the behavior of f at (a, b).
A function f of three variables with continuous second partial derivatives has a
local minimum at a critical point (a, b, c) if all three quantities
6.2 Lagrange Multipliers 219
fx x fx y f x z
f f x y
A = f x x , D = x x , f yx f yy f yz ,
f yx f yy
f zx f zy f zz
are positive at (a, b, c), and a local maximum at (a, b, c) if A < 0, D > 0 and E < 0.
267. Find and classify all critical points for the function f (x, y) = x 4 + y 4 − 4x y.
it follows that 0, 1 and −1 are three real roots of the equation x 9 − x = 0. Hence,
the critical points of f are (0, 0), (1, 1) and (−1, −1). Now, we compute the second
partial derivatives of f as follows:
Hence, (0, 0) is a saddle point of the graph of f . At the critical point (1, 1), we have
12 −4
H (1, 1) = = 144 − 16 = 128 > 0.
−4 12
6.3 Solved Problems 221
Since H (1, 1) > 0 and f x x (1, 1) > 0, it follows that f (1, 1) = −2 is a local mini-
mum of f . Similarly, we see that f (−1, −1) = −2 is also a local minimum of f .
268. Find all critical points of the function f (x, y) = −x ye−(x +y 2 )/2
2
and determine
whether f has a local maximum, minimum or saddle at them.
Solution. The function f has the following partial derivatives:
∂f
(x, y) = −ye−(x +y )/2 + x 2 ye−(x +y )/2 = y(x 2 − 1)e−(x +y )/2 ,
2 2 2 2 2 2
∂x
∂f
(x, y) = −xe−(x +y )/2 + x y 2 e−(x +y )/2 = x(y 2 − 1)e−(x +y )/2 .
2 2 2 2 2 2
∂y
(0, 0), (1, 1), (1, −1), (−1, 1) and (−1, −1).
∂ f2
(x, y) = x y(3 − x 2 )e−(x +y )/2 ,
2 2
∂x 2
∂ f2
(x, y) = (x 2 − 1)(1 − y 2 )e−(x +y )/2 ,
2 2
∂x∂ y
∂ f2
(x, y) = x y(3 − y 2 )e−(x +y )/2 .
2 2
∂y 2
Point A B C H Result
(0, 0) 0 −1 0 −1 Saddle point
(1, 1) 2/e 0 2/e 4/e2 Local minimum
(1, −1) −2/e 0 −2/e 4/e2 Local maximum
(−1, 1) −2/e 0 −2/e 4/e2 Local maximum
(−1, −1) 2/e 0 2/e 4/e2 Local minimum
269. Find a point within a triangle such that the sum of squares of its distance from
the three vertices is maximum.
222 6 Extreme of Functions
Solution. Suppose that (x1 , y1 ), (x2 , y2 ) and (x3 , y3 ) are the vertices of the triangle
and (x, y) is a point inside the triangle. Let f (x, y) denote the sum of the squares of
the distance of (x, y) from the three vertices. Then, we have
f (x, y) = (x − x1 )2 + (y − y1 )2 + (x − x2 )2 + (y − y2 )2 + (x − x3 )2 + (y − y3 )2 .
x1 + x2 + x3 y1 + y2 + y3
x= and y = .
2 2
Calculating the second partial derivatives, we get f x x (x, y) = 6 > 0, f x y (x, y) = 0,
f yy (x, y) = 6, and so H (x, y) = 36 > 0. Therefore, f has a minimum value at
x + x + x y + y + y
1 2 3 1 2 3
, .
3 3
270. Find all critical points of the function f (x, y) = − sin x sin y and determine
whether f has a local maximum, minimum or saddle at them.
Solution. Critical points are the solutions of the following system of equations:
From the first equation, we obtain x = π/2 + kπ or y = mπ, where k and m are
integers. Hence, the system of equations is equivalent to the following systems of
equations:
π
x = + kπ and sin x cos y = 0 (6.1)
2
or
y = mπ and sin x cos y = 0. (6.2)
Since sin(π/2 + kπ) = (−1)k , it follows that the second equation in (6.1) is equiv-
alent to cos y = 0 or y = π/2 + mπ. The second equation in (6.2) is equivalent to
sin x = 0 or x = kπ. Therefore, we conclude that the critical points of f are
π π
+ kπ, + mπ and (kπ, mπ),
2 2
6.3 Solved Problems 223
for all m, k ∈ Z. Now, we apply the second derivative test to each critical point. First,
we calculate the second partial derivatives of f . We get
f x x (x, y) = − sin x sin y, f x y (x, y) = cos x cos y and f yy (x, y) − sin x sin y.
Since
0 (−1)k+m
H (kπ, mπ) = = −(−1)
2k+2m
= −1 < 0,
(−1)k+m 0
(5π/6, π/5). If x = 2π − y, then cos x = cos y = 0. This gives us the critical points
(π/2, 3π/2) and (3π/2, π/2).
Therefore, we have six critical points. Now, we compute the second partial deriva-
tives as follows:
f x x (x, y) = − sin x − cos(x + y),
f x y (x, y) = − cos(x + y),
f y (x, y) = − sin y − cos(x + y).
Point A B C H Result
(π/2, π/2) 0 1 0 −1 Saddle point
(3π/2, 3π/2) 2 1 2 3 Local minimum
(π/2, 3π/2) −2 −1 0 −1 Saddle point
(3π/2, π/2) 0 −1 −2 −1 Saddle point
(π/6, π/6) −1 0 −1/2 3/4 Local maximum
(5π/6, 5π/6) −1 −1/2 −1 3/4 Local maximum
272. Equal angle bends are made at equal distances from the two ends of a 100 m
long fence so the resulting three segment fence can be placed along an existing wall
to make an enclosure of trapezoidal shape. What is the largest possible area for such
an enclosure?
Solution. Figure 6.4 shows the fence. The area that it enclosed is
∂A
(x, θ) = (100 − 4x) sin θ + 2x sin θ cos θ, (6.3)
∂x
6.3 Solved Problems 225
∂A
(x, θ) = (100x − 2x 2 ) cos θ + x 2 cos(2θ). (6.4)
∂θ
If we set the partial derivatives in (6.3) and (6.4) equal to zero, then we have
Note that the fence of the maximum area cannot have x = 0 or sin θ = 0. So, from
the first equation, we obtain (100 − 4x) + 2x cos θ = 0. This implies that
100 − 4x
cos θ = − ,
2x
and so
(100 − 4x)2
cos(2θ) = 2 cos2 θ − 1 = − 1.
2x 2
Substituting this in the second equation, we get
Solution. Since f is differentiable, the only places where f can assume these values
are points inside the triangle (Fig. 6.5) where f x = 0 and f y = 0, and the points on
the boundary.
(a) Interior points: For these we have f x (x, y) = 2x − y = 0 and f y (x, y) =
−x + 2y = 0, yielding the single point (0, 0), which is not an interior point of the
region.
(b) Boundary points: We consider each edge of the triangle.
(1) On the segment line O A, x = 0. The function f (0, y) = y 2 + 1 may be
regarded as a function g1 of y defined on the closed interval [0, 4]. If g1 (y) = 2y = 0,
it follows that y = 0, and so x = 0. Hence, the extreme value of g1 may occur at the
endpoints (0, 0) and (0, 4), where f (0, 0) = 1 and f (0, 4) = 17.
(2) On the segment line AB, y = 4. The function f (x, 4) = x 2 − 4x + 17 may be
considered as a function g2 of x on the closed interval [0, 4]. If g2 (x) = 2x − 4 = 0,
then x = 2, and so (2, 4) is an interior point of AB. Hence, the extreme values
of g2 may occur at the points (0, 4), (4, 4) or (2, 4), and we have f (0, 4) = 17,
f (4, 4) = 17 and f (2, 4) = 13.
226 6 Extreme of Functions
x
•
O
Therefore, we conclude that the absolute maximum value is 17 at (0, 4) and (4, 4),
and the absolute minimum is 1 at (0, 0.
274. Find the absolute extreme values of the function f (x, y) = (1/2)x 2 +
(1/3)y − x y in the rectangle D = [0, 2] × [0, 2].
3
A(0, 2) • • B(2, 2)
√
• (2, 2)
x
• •
O C(2, 0)
(2) Along the segment line OC, the function f can be considered as a function
g2 (x) = f (x, 0) = (1/2)x 2 , where 0 ≤ x ≤ 2. Hence, the maximum of g2 is g2 (2) =
f (2, 0) = 2, and its minimum is g2 (0) = f (0, 0) = 0.
(3) Along the segment line BC, we consider a function g3 (y) = √ f (2, y) =
(1/3)y 3 − 2y + 2, where 0 ≤ y √ ≤ 2. If g3 (y)√= y 2 − 2 = 0, then y = 2. Since
g3 (0) = 2, g3 (2) = 2/3 and g3 ( 2) = 2 − 4 2/3, it follows √ that the maximum
√
of g3 √ is g3 (0) = f (2, 0) = 2, and the minimum of g3 is g3 ( 2) = f (2, 2) =
2 − 4 2/3.
(4) Finally, along the segment line AO, we consider g4 (y) = f (0, y) = (1/3)y 3 ,
where 0 ≤ y ≤ 2. It is clear that g4 is monotonically increasing. Hence, the max-
imum and minimum of g4 are g4 (2) = f (0, 2) = 8/3 and g4 (0) = f (0, 0) = 0,
respectively. Therefore, the maximum value of f on the rectangle D is equal to
max{0, −1/6, 8/3} = 8/3 = f (0, 2), and its minimum value is equal to
min{0, −1/6} = −1/6 = f (1, 1).
275. Find two numbers a and b with a ≤ b such that
b
(6 − x − x 2 )d x
a
Solution. We define b
f (a, b) = (6 − x − x 2 )d x,
a
228 6 Extreme of Functions
∂f ∂f
= −(6 − a − a 2 ) = 0 and = 6 − b − b2 = 0.
∂a ∂b
Solving the above equations, we obtain a = −3 or 2 and b = −3 or 2. Since a ≤ b,
it follows that there exists only one interior critical point (−3, 2), and f (−3, 2) gives
us the area under the parabola y = 6 − x − x 2 that is above x-axis. Therefore, we
get a = −3 and b = 2.
276. Find two numbers a and b with a ≤ b such that
b
24 − 2x − x 2 d x
3
Solution. We define b
f (a, b) = 24 − 2x − x 2 d x,
3
∂f ∂f
= − 24 − 2a − a 2 = 0 and = 24 − 2b − b2 = 0.
3 3
∂a ∂b
From the above equations, we get a = 4 or −6 and b = 4 or −6. Since a ≤ b, it
follows that there exists only one√interior critical point (−6, 4), and f (−6, 4) gives
us the area under the curve y = 3 24 − 2x − x 2 that is above the x-axis. Therefore,
we obtain a = −6 and b = 4.
277. The quantity which is conventionally used to measure the closeness between
a line y = f (x) = mx + b in the plane and n points (x1 , y1 ), (x2 , y2 ), . . ., (xn , yn )
is the sum
n
2 n
S= f (xi ) − yi = (mxi + b − yi )2 ,
i=1 i=1
which will be recognized as the sum of the squares of the deviations between the
given values of yi and the ordinates of the line y = mx + b corresponding
to the
given values of xi . This measure of closeness is better than the sum f (xi ) − yi
of the deviations themselves, in which positive and negative terms can cancel each
other out, leading to the erroneous conclusion that the points lie near the line even
6.3 Solved Problems 229
when they actually do not. The line y = mx + b minimizing S is called the line of
best fit to the n points. Find the slope of the line, m, and the y-intercept, b.
∂S n
n n n
= 2(mxi + b − yi )xi = m 2xi2 + b 2xi − 2xi yi ,
∂m i=1 i=1 i=1 i=1
∂S n
n n n
= 2(mxi + b − yi ) = m 2xi + b 2 − 2yi .
∂b i=1 i=1 i=1 i=1
n
n
n
n
σx = xi , σ y = yi , σx 2 = xi2 and σx y = xi yi .
i=1 i=1 i=1 i=1
σx 2 m + σx b = σx y , (6.5)
σx m + nb = σ y . (6.6)
Here, there are two linear equations on the unknowns m and b. We use (6.6) to solve
for b in terms of m. So, we get
1
b= (σ y − σx m), (6.7)
n
and then substitute this into (6.5) to obtain the equation
1
σx 2 m + σx (σ y − σx m) = σx y .
n
This leads to (nσx 2 − σx2 )m = nσx y − σx σ y . If we solve this equation for m, then
nσx y − σx σ y
m= .
nσx 2 − σx 2
σx σx y − σ y σx 2
b= .
nσx 2 − σx2
230 6 Extreme of Functions
H G
E F
y
D C
x
A x B
278. A tent on a square base of sides x has its sides vertical of height y and the top
is a regular pyramid of height h (Fig. 6.7). Find x and y in terms of h, if the canvas
required for its construction is to be minimized for the tent to have a given capacity.
1 h
V (x, y, h) = x 2 y + x 2 h = x 2 y + .
3 3
Also, let S(x, y, h) be the area of tent, i.e., the area of four faces of the cuboid
together with the area of four faces of the pyramid. Hence, we can write
1
S(x, y, h) = 4x y + 4 · base · (length T M)
2
x 2
x
= 4x y + 4 · h2 + = 4x y + x x 2 + 4h 2 .
2 2
x2 h
4y + x 2 + 4h 2 + √ = 2λx y + , (6.8)
x 2 + 4h 2 3
4x = λx 2 , (6.9)
4hx 1 2
√ = λx . (6.10)
x2 + 4h 2 3
4hx 4
√ = x.
x 2 + 4h 2 3
√ √
This implies that x 2 = 5h 2 . So, we have x = 5h and λ = 4/( 5h). Putting these
in (6.8), we get
5h 2 4 √ h
4y + 5h + 4h + √
2 2 = 2 · √ · 5h y + .
5h 2 + 4h 2 5h 3
1 1
= λ and
= λ.
1 1
2 x+ 2 y+
2 2
1
ab cos α = 2λab sin α, (6.11)
2
1
cd cos β = −2λcd sin β. (6.12)
2
By (6.11) we get tan α = 1/(4λ) and by (6.12) we have tan β = −1/(4λ). This
yields that tan α = − tan β, and so α = π − β. This means that the quadrangle abcd
is inscribed in a circle. Therefore, among all the quadrangles with given sides, the
inscribed quadrangle possesses the largest area.
282. Determine the relative dimensions of a rectangular box without a top and hav-
ing a special volume, if the least amount of material is to be used in the manufacture.
∂S 2V ∂ S 2V
=y− 2, =x− 2,
∂x x ∂y y
∂2 S 4V ∂2 S ∂2 S 4V
= 3, = 1, = 3.
∂x 2 x ∂x∂ y ∂y 2 y
we obtain
234 6 Extreme of Functions
∂2 S 4V
=
√ 3 = 2 > 0 and
∂x 2 3
2V
∂ 2 S ∂ 2 S ∂ 2 S 2 4V 4V
− =
√ 3 ·
√ 3 − 1 = 3 > 0.
∂x 2 ∂ y 2 ∂x∂ y 3
2V 3
2V
√ √
Thus, we conclude that S has a local minimum value when x = 3 2V and y = 3 2V .
Note that S is very large when x and y are either close to zero or very large. Hence,
we conclude
√ that the
√ local minimum value of S is an√absolute value of S. Since
x = 3 2V and y = 3 2V , it follows that z = V /x y = 3 2V /2. Therefore, the box
has a square base and a depth that is one-half of the length of a side of the base.
283. Consider F(x, y, z) subject to the constraint condition G(x, y, z) = 0.
Prove that a necessary condition that F(x, y, z) have an extreme value is that
Fx G y − Fy G x = 0 (when Fz = 0 and G z = 0 ).
∂z
Fx + Fz = 0, (6.14)
∂x
∂z
Fy + Fz = 0. (6.15)
∂y
∂z
Gx + Gz = 0, (6.16)
∂x
∂z
G y + Gz = 0. (6.17)
∂y
Fx G z − Fz G x = 0, (6.18)
Fy G z − F2 G y = 0. (6.19)
Note that
r2 2r 1
lim r 2 e−r = lim = 0 (by L Hospital s rule).
2
2 = lim 2 =
r →∞ r →∞ e−r r →∞ 2r er er 2
Hence, there is M > 0 such that
1 1
(x, y) ≥ M ⇒ − < f (x, y) < .
2e 2e
On the other hand, since f is a continuous function, it follows that f takes its
maximum and minimum on the closed and bounded disk
The second equation gives that√y = 0 or x = 1/2. Substituting these into the first
equation implies that y = ±1/ 6 in the first √ case, and no solution
√ in the second
case. Consequently, the critical points are (1/ 6, 0) and (−1/ 6, 0). Moreover, we
observe that both of these points lie in the interior of S. Boundary of S is the circle
236 6 Extreme of Functions
√
x 2 + y 2 = 1. This yields that y = ± 1 − x 2 , where −1 ≤ x ≤ 1.
These
√ solutions
correspond to the upper and lower semicircles. We obtain g(x) = x, ± 1 − x 2 =
x 2 + x − 1, for −1 ≤ √ x ≤ 1. If g (x) = 2x √+ 1 = 0, then x = −1/2. This gives the
critical points (−1/2, 3/2) and (−1/2, − 3/2) of restriction of f to the boundary
of S. On the other hand, we must consider the end points x = −1 and x = 1, i.e., (1, 0)
and (0, 1).√Therefore, the√ absolute maximum√ and minimum √ of f on S occur at the
points (1/ 6, 0), (−1/ 6, 0), (−1/2, 3/2), (−1/2, − 3/2), (1, 0) or (−1, 0).
We observe that
√ √ √ √
f (1/ 6, √0) = −1/3 2/3, f (−1/ 6, √ 0) = 1/3 2/3,
f (−1/2, 3/2) = −5/4, f (−1/2, − 3/2) = −5/4,
f (1, 0) = 1, f (−1, 0) = −1.
Consequently, the absolute maximum value is 1 and the absolute minimum value is
−5/4.
286. A right cylindrical can is to have a volume of 0.25 cubic feet (approximately
two gallons). Find the height h and radius r that will minimize surface area of the
can. What is the relationship between the resulting r and h?
Solution. The surface area S is the sum of the area of two cycles of radius r and one
rectangle with height h; see Fig. 6.9. Hence, S = f (r, h) = 2πr 2 + 2πr h.
This is constrained by a volume
of V = g(r, h) =πr 2 h
= 0.25. The Lagrange
multiplier rule ∇ f = λ∇g becomes 4πr + 2πh, 2πr = λ 2πr h, πr 2 . This leads
to 4πr + 2πh = λ(2πr h) and 2πr = λ(πr 2 ). Note that r cannot be zero. The ratio
of the two equalities is
4πr + 2πh λ(2πr h)
= ,
2πr λ(πr 2 )
and so (2r + h)/r = 2h/r . Thus, we get h = 2r . That is, all cans with minimal
surface area have h = 2r , which means a height equal to the diameter. To determine
which such can satisfies the constraint, we plug h = 2r in our constraint equation to
6.3 Solved Problems 237
obtain
0.25
πr (2r ) = 0.25 or r =
2 3
2π
which leads to r = 0.3414 feet, with h = 0.6818 feet. To show that a minimum
must occur at (r, h) = (0.3414, 0.6818), we observe that the constraint implies h =
0.25/(πr 2 ). So, we can consider S as a function of r in the form S = 2πr 2 + 0.5/r 2 .
Since the second derivatives of S is positive for all r > 0, it follows that any extremum
is a minimum.
287. A function f from R2 to R is convex if
(1) its domain is a convex set in R2 ;
(2) for all X, Y in the domain of f and λ ∈ [0, 1],
f (λX + (1 − λ)Y ) ≤ λ f (X ) + (1 − λ) f (Y ).
Geometrically, if we take two points X, f (X ) and Y, f (Y ) on the graph of f ,
then the graph of f lies below the line segment joining the two points chosen.
Suppose that f : R2 → R is a differentiable function. Prove that f is convex if
and only if
f (Y ) ≥ f (X ) + ∇ f (X ) · (Y − X ), (6.20)
for all X, Y ∈ R2 .
Solution. Assume
that f is a convex function. Then, by the definition we have f λY +
(1 − λ)X ≤ λ f (Y ) + (1 − λ) f (X ), for all X, Y in the domain of f and 0 ≤ λ ≤ 1.
After rewriting, we have
f X + λ(Y − X ) ≤ f (X ) + λ f (Y ) − f (X ) .
Taking λ → 0+ , in the right side we get the directional derivatives along the vector
Y − X . So, ∇ f (X ) · (Y − X ) ≤ f (Y ) − f (X ), and hence (6.20) is satisfied.
Conversely, suppose that (6.20) holds. Take any X, Y in the domain of f and let
Z = λX + (1 − λ)Y . We have
f (X ) ≥ f (Z ) + ∇ f (Z ) · (X − Z ), (6.21)
f (Y ) ≥ f (Z ) + ∇ f (Z ) · (Y − Z ). (6.22)
Solution. First, suppose that f is convex and let X ∈ R2 . We define the function
g : R2 → R by
g(Y ) := f (Y ) − ∇ f (X ) · (Y − X ).
∇g(Y ) = ∇ f (Y ) − ∇ f (X )
and ⎡ ⎤ ⎡ ⎤
gx x (X ) gx y (X ) f x x (X ) f x y (X )
⎣ ⎦=⎣ ⎦ (6.24)
g yx (X ) g yy (X ) f yx (X ) f yy (X )
for all Y ∈ R2 . In particular, we have ∇g(X ) = 0. So, Problem 6.3 implies that X is
an absolute minimizer of g. Now, the second condition for a minimizer implies that
the matrix
6.3 Solved Problems 239
⎡ ⎤
gx x (X ) gx y (X )
⎣ ⎦
g yx (X ) g yy (X )
is positive semi-definite.
Conversely, suppose that the matrix in (6.23) is positive semi-definite, for all
X ∈ R2 . If X, Y ∈ R2 , then by Taylor’s formula, we have
f (Y ) = f (X ) + ∇ f ⎡
(X ) · (Y − X ) ⎤
1 f x x (X + k(Y − X )) f x y (X + k(Y − X ))
+ (Y − X ) ⎣ ⎦ (Y − X )t ,
2 f yx (X + k(Y − X )) f yy (X + k(Y − X ))
(6.25)
for some 0 ≤ k ≤ 1. Note that the quadratic term in (6.25) is always non-negative.
Thus, we can estimate
f (Y ) ≥ f (X ) + ∇ f (X ) · (Y − X ).
√
Solution. Let f (x, y) = 1 − x 2 + x 2 + y 2 + y. We want to maximize f on the
region S = {(x, y) | 0 ≤ y ≤ x ≤ 1}. First, we determine the critical points of f in
the interior of S. We obtain
x x y
f x (x, y) = − √ + and f y (x, y) = − + 1.
1− x2 x2 − y2 x2 − y2
√
So, if f y (x, y) = 0, then y 2 = x 2 − y 2 or √2y 2 = x 2 , which implies that x = 2y
√ x > 0 and y > 0.
because √Substituting x = 2y in the equation f x (x, √ y) = 0 √
we get
y = 3/3, and so x = 6/3. Hence, the only critical point of f is ( 6/3, 3/3)
and it lies in S. Next, we consider the restriction of f to the boundary of S. Figure 6.11
shows the boundary of S.
On the edge O A we have y = 0 and 0 ≤ x ≤ 1. So, we consider the function
g(x) = f (x, 0) = 1 − x 2 + x, for 0 ≤ x ≤ 1.
240 6 Extreme of Functions
x
O A(1, 0)
We obtain x
g (x) = − √ + 1.
1 − x2
√
If g (x) = 0, then x = √ 2/2. Hence, on the edge O A, by considering the endpoints,
we have three points ( 2/2, 0), (0, 0) and (1, 0). On the edge AB, we have x = 1
and 0 ≤ y ≤ 1. We consider the function
6.3 Solved Problems 241
h(x) = f (1, y) = 1 − y 2 + y, for 0 ≤ y ≤ 1.
√
Similar to the previous case, this leads to the points (1, 2/2), (1, 0) and (1, 1).
Finally, on the edge O B, we have y = x and 0 ≤ x ≤ 1. In this case, we consider
the function
k(x) = f (x, x) = 1 − x 2 + x, for 0 ≤ x ≤ 1.
√ √
Again, similar to the previous case, we obtain the points ( 2/2, 2/2), (0, 0) and
(1, 1). Next, we calculate the values of f at these seven points. We obtain
f (0,
√ 0) = f (1, 0) =√f (1, 1) = 1,√ √ √
f (√2/2, √
0) = f (1,√ 2/2) = f ( 2/2, 2/2) = 2,
f ( 6/3, 3/3) = 3.
Consequently,
√ the maximum possible for the total height of the three hemispheres is
3.
291. Find the shortest distance from the origin to the plane ax + by + cz + d = 0,
where a, b, c and d are constant.
1 1 1
x= λa, y = λb and z = λc.
2 2 2
Substituting these values of x, y and z into the plane equation, we obtain (1/2)λ(a 2 +
b2 + c2 ) + d = 0. This implies that
1 −d
λ= 2 .
2 a + b2 + c2
Hence, we get
Note the greatest distance from (0, 0, 0) to any point in the plane → ∞. So, the point
we found is the least distance from the origin. Therefore, the minimum distance from
the origin to the plane is the distance from the origin to the point (x0 , y0 , z 0 ), where
x0 , y0 and z 0 are the values of x, y and z in (6.26). Then, the minimum distance is
242 6 Extreme of Functions
a2d 2 b2 d 2 c2 d 2
x02 + y02 + z 02 = + +
(a 2 + b2 + c2 )2 (a 2 + b2 + c2 )2 (a 2 + b2 + c2 )2
|d|
=√ .
a + b2 + c2
2
We begin by writing
x = 2yλ = 2(8xλ)λ = 16xλ2 .
f (0,
√ 2) =√f (0, −2) =√0, √
f (√2/2, √ 2) = f (− √ 2/2, −√2) = 1,
f ( 2/2, − 2) = f (− 2/2, 2) = −1.
√ √
Now,
√ we conclude
√ that f takes a maximum √ value √ √ ( 2/2,
1 at either √ 2) or
(− 2/2, − 2), and a minimum value −1 at ( 2/2, − 2) or (− 2/2, 2). These
facts are indicated on the ellipse in Fig. 6.12.
293.
(1) Two points A and B are situated in different optical media separated by a straight
line (Fig. 6.13). The velocity of light in the first medium is v1 and in the second
medium is v2 . Applying the Fermat principle, according to which a light ray is
propagated along a path AM B which requires the least time to cover, derive the
law of refraction of light rays.
(2) Using the Fermat principle, derive the law of reflection of a light ray from a
plane in a homogeneous medium (Fig. 6.14).
Solution. (1) It is clear that the point M, at which the ray passes from one medium
into another, must lie between C and D. It follows that
6.3 Solved Problems 243
−√ 2 √ √2 √
f ,− 2 = 1• •f , − 2 = −1
2 2
Max Min
a
α
M D
C
β
b
c
244 6 Extreme of Functions
A B
a b
α β
C M D
a b
+ .
v1 cos α v2 cos β
a b
f (α, β) = +
v1 cos α v2 cos β
If we apply the Lagrange multiplier rule, then we get the following equations:
a sin α aλ
= aλ((1 + tan2 α) = ,
v1 cos2 α cos2 α
b sin β bλ
= bλ((1 + tan2 β) = .
v2 cos β
2 cos2 β
From the above equations, we have sin α/v1 = λ and sin β/v2 = λ. This yields that
6.3 Solved Problems 245
sin α v1
= .
sin β v2
(2) In this case, we have v1 = v2 . Hence, sin α = sin β, which implies that α = β.
Solution. Let r and h be the radius of the base and the height of the cylinder, respec-
tively, and let 2θ be the vertex angle of the cone.
Looking at Fig. 6.15, we observe that
1 1
V = f (r, h, θ) = πr 2 h + πr 2 (r cot θ) = πr 2 h + πr 3 cot θ
3 3
S = g(r, h, θ) = πr 2 + 2πr h + πr s = πr 2 + 2πr h + πr 2 csc θ.
Applying the Lagrange multiplier rule ∇ f = λ∇g and g = S, we get the following
system of equations:
(1) 2πr h + πr 2 cot θ = 2πλ(r + h + r cscθ),
(2) πr 2 = 2πr λ,
1
(3) − πr 3 csc2 θ = −πλr 3 csc θ cot θ,
3
(4) πr 2 + 2πr h + πr 2 csc θ = S.
By (2), we get r = 2λ. Substituting this in (1) gives 2r h + r 2 cot θ = r (r + h +
r csc θ), which implies that
r (cot θ − csc θ) = r − h.
1 1
csc2 θ = csc θ cot θ.
3 2
√ √ √
This yields that cos θ = 2/3, and so sin√θ = 5/3, csc θ = 3/ √5 and cot θ = 2/ 5.
Hence, we have cot θ − csc θ = −1/ 5. This yields that −r/ 5 = r − h. There-
fore, we conclude that √
1 5+1
h = r 1 + √ = √ r.
5 5
√5 + 1 3
S = πr + 2πr
2
√ r + πr 2 √ .
5 5
1
295. Find the point of the paraboloid of revolution z = (x 2 + y 2 ) − 2 which is
4
closest to the point (0.1, 0).
Solution. The square of the distance from the point (0, 1, 0) to the variable point
(x, y, z) of the paraboloid is x 2 + (y − 1)2 + z 2 . Note that if the square of distance
6.3 Solved Problems 247
2(y − 1)
z=− . (6.27)
y
8(y − 1)
y 2 − 4z = y 2 + = 8,
y
which implies that y = 2, and so (6.27) gives z = −1. Consequently, (0, 2, −1) is
the only point satisfying the condition ∇ f = λ∇g. It is geometrically apparent that
f has a minimum, but not a maximum on the paraboloid. Therefore, the minimum
must be at (0, 2, −1) and this is the
√ point of the paraboloid
√ which is the closest point
to the point (0, 1, 0), a distance f (0, 2, −1) = 2 away; see Fig. 6.16.
296. The plane x + y + 2z = 2 intersects the paraboloid z = x 2 + y 2 in an ellipse.
Find the points on the ellipse that are nearest to and farthest from the origin.
(0, 1, 0)
•
y
• (0, 2, −1)
(3) 2c = 2λ + μ,
(4) a + b + 2c = 2,
(5) a 2 + b2 − c = 0.
From (1) and (2), we get 2(a − b) = 2μ(a − b), which implies that μ = 1 whenever
a = b. Substituting μ = 1 in (1) gives that λ = 0, and substituting μ = 1 and λ = 0 in
(3) implies that 2c = −1 or c = −1/2. Substituting c = −1/2 in (4) and (5) implies
that a + b − 3 = 0 and a 2 + b2 + 1/2 = 0. But the second equation has no solution.
Consequently, we must have a = b. Since a = b, it follows that 2a + 2c = 2 and
2a 2 − c = 0. Hence, we obtain c = 1 − a and c = 2a 2 , and so 2a 2 + a − 1 = 0. The
solutions of this equation are a = −1 and a = 1/2. Further substitution gives the
critical points (−1, −1, 2) and (1/2, 1/2, 1/2). Finally, by substituting these points
in the objective function, we obtain f (−1,
√ −1, 2) = 6 and f (1/2, 1/2, 1/2) = 3/4.
√ maximum distance of 6 occurs at (−1, −1, 2) and the minimum
Therefore, the
distance of 3/2 occurs at (1/2, 1/2, 1/2).
297. Find the extreme values of f (x, y, z) = x y + z if x 2 + y 2 = 1 and y + z = 2;
see Fig. 6.17.
∇ f (x, y, z) = (y, x, 1), ∇g(x, y, z) = (2x, 2y, 0) and ∇h(x, y, z) = (0, 1, 1).
This implies that y = 2λx, x = 2λx + μ and 1 = μ. So, y = 2λx and x = 2λx + 1.
It is clear that x = 0, otherwise we obtain y = 0, a contradiction with g(x, y, z) = 0.
From y = 2xλ, we find λ = y/(2x). Substituting this into x = 2λx + 1, we get
x = y 2 /x + 1 or x 2 = y 2 + 1. Since x 2 + y 2 = 1, it follows that x 2 = 1 − x 2 + x.
This yields that x = −1/2 or 1.
If x = 1, then y = 0. √
If x = −1/2, then y = ± 3/2.
Since z = 2 − y, we obtain the following values:
f (1, 0, 1)√= 1, √ √
f (−1/2, √ 3/2, 2 − √
3/2) = 2 − √
3/4,
f (−1/2, − 3/2, 2 + 3/2) = 2 + 3/4.
(3) x = μx,
(4) x 2 + y 2 = 1,
(5) x z = 1.
From (3), we conclude that x = 0 or μ = 0. But the case x = 0 is impossible, since
it contradicts with (5). So, we must have μ = 1. This implies that y + z = 2λx + z
or y = 2λx. So, by (2), we get y = 2λ(2λy) = 4λ2 y. This yields that y = 0 or
λ = ±1/2.
If y = 0, then by (4) we get x 2 = 1 or x = ±1. Then, by (5), it follows that
z = ±1. Thus, in this case, we obtain two points (1, 0, 1) and (−1, 0, −1). √
If λ = −1/2, then y = −x. √ Hence, by (4) we obtain x =
2
x =√
√ 1/2 or √ ±1/ 2.
Now,√(5) gives
√ that √ z = ± 2, and we get the points (1/ 2, −1/ 2, 2) and
(−1/ 2, 1/ 2, − 2). √
If λ√= 1/2, then y = x. It follows that
√ x √
2
= 1/2
√ or x = ±1/√ 2. By (5),
√ we√get
z = ± 2 and we obtain two points (1/ 2, 1/ 2, 2) and (−1/ 2, −1/ 2, − 2).
Finally, we evaluate f (x, y, z) at the above six points. We obtain
f (1, √
0, 1) = f√(−1,√0, −1) = 1, √ √ √
f (1/√2, −1/ √ 2,√ 2) = f ((−1/√ 2, 1/√ 2, −√ 2) = 1/2,
f (1/ 2, 1/ 2, 2) = f (−1/ 2, −1/ 2, − 2) = 3/2.
Therefore, the absolute minimum is 1/2 and the absolute maximum is 3/2.
299. Find the plane x/a + y/b + z/c = 1 that passes through the point (2, 1, 2)
and cuts off the least volume from the first octant.
Solution. The volume of the pyramid in the first octant by the plane (see Fig. 6.18) is
1 11 1
V = f (a, b, c) = (base area) · (height) = ab c = abc.
3 3 2 6
Since the point (2, 1, 2) lies on the plane, it follows that 2/a + 1/b + 2/c = 1.
Hence, we want to minimize f subject to the constraint g(a, b, c) = 2bc + ac +
2ab − abc. We have
1
∇ f (a, b, c) = (bc, ac, ab),
6
∇g(a, b, c) = (c + 2b − bc, 2c + 2a − ac, 2b + a − ab).
To do so, we find the values of a, b, c and λ for which ∇ f = λ∇g and g(a, b, c) = 0.
Hence, we can write
1
(bc, ac, ab) = λ(c + 2b − bc, 2c + 2a − ac, 2b + a − ab),
6
and so bc/6 = λ(c + 2b − bc), ac/6 = λ(2c + 2a − ac) and ab/6 = λ(2b + a −
ab). It follows that
6.3 Solved Problems 251
O y
B = (0, b, 0)
A = (a, 0, 0)
abc
= λ(ac + 2ab − abc) = λ(2bc + 2ab − abc) = λ(2bc + ac − abc).
6
Hence, we obtain λac = 2λbc and 2λab = 2λbc. Since abc = 0, it follows that a =
2b = c. Substituting into the constraint equation gives 2/a + 2/a + 2/a = 1, and
then we get a = 6, b = 3 and c = 6. Therefore, the desired plane is x + 2y + z = 6.
300. Find the rectangular box with the greatest volume that fits inside the ellipsoid
x 2 /a 2 + y 2 /b2 + z 2 /c2 = 1, given that its sides are parallel to the axes.
It is clear that the box has the largest volume if each of its corners touches the
ellipse. Suppose that one of the corners of the box is (x, y, z) in the positive octant.
Then, the corners of box are (±x, ±y, ±z) and its volume is V = f (x, y, z) = 8x yz.
We want to maximize V subject to the constraint g(x, y, z) = x 2 /a 2 + y 2 /b2 +
z 2 /c2 − 1 = 0. Since the constraint is bounded, it follows that a maximum/minimum
does exist. Calculating the gradients of f and g, we get
2x 2y 2z
∇ f (x, y, z) = (8yz, 8x z, 8x y) and ∇g(x, y, z) = , , .
a 2 b2 c2
yz xz xy
λ = −4a 2 = −4b2 = −4c2 ,
x y z
a b c 8abc
8√ √ √ = √ .
3 3 3 3 3
301. Let z = f (x, y) = Ax α b1−α , where A > 0 and 0 < α < 1. This is a Cobb-
Douglas production function. The price of capital is q, the price of labor is p, and
we have a budgetary constraint g(x, y) = q x + py = B, where B is a positive con-
stant. Maximize the value of the product subject to the budgetary constraint.
Solution. We have
∇ f (x, y) = α Ax α−1 y 1−α , (1 − α)x α y −α and ∇g(x, y) = (q, p).
We apply the Lagrange multiplier rule ∇ f = λ∇g. Then, we have the following
system of equations:
(1) α Ax α−1 y 1−α = λq,
(2) (1 − α)x α y −α = λ p,
(3) q x + py = B.
Eliminating λ from (1) and (2), we get
This yields that pαy = (1 − α)xq. Substituting this in the constraint (3), we obtain
1−α α
qx + q x = B or x = B,
α q
Consequently, the candidate for (x, y) in order to maximize the value of output is
6.3 Solved Problems 253
α 1−α
B, B .
q p
302. Find 10 positive real numbers whose sum is 1000 and whose product is
maximum.
Solution. We want to determine the maximum of the function f (x1 , . . . , x10 ) =
x1 . . . x10 subject to the constraint g(x1 , . . . , x10 ) = x1 + · · · + x10 − 1000 = 0.
Computing the gradients of f and g, we obtain
f (x , . . . , x ) f (x1 , . . . , x10 )
1 10
∇ f (x1 , . . . , x10 ) = ,..., ,
x1 x10
∇g(x1 , . . . , x10 ) = (1, . . . , 1).
This implies that x1 = . . . = x10 . Combining with the constraint g(x1 , . . . , x10 ) = 0
we get x1 + · · · + x1 − 1000 = 0, which implies that x1 = . . . = x10 = 100. Finally,
the product is 10010 = 1020 . This turns out to be the maximum. Note that as any of
the variables approach 0, the product approach 0, without reaching it. Hence, in the
domain x1 , . . . x10 > 0, the minimum does not exist.
303. If the sum of five values (not necessarily positive) is 1, and the sum of square
is 13, what is the smallest possible value of the sum of the cubes?
5
5
5
f (x1 , . . . , x5 ) = xi3 , g(x1 , . . . , x5 ) = xi2 − 13 and h(x1 , . . . , x5 ) = xi .
i=1 i=1 i=1
We observe that x1 , . . . , x5 satisfy the same quadratic equation. Equation (6.28) has at
most two real roots, say a and b. Consequently, x1 = a or xi = b, for all i = 1, . . . , 5.
Now, we consider the following cases.
Case 1: Each xi equals to a.
Case 2: Four of the xi ’s are a and remaining one is b.
Case 3: Three of these values are a and two ones are b.
In the case (1), using the constraint g = 0 and h = 0, we get 5a 2 = 13 and 5a = 1,
but this is a contradiction.
In the case (2), using the constraints g = 0 and h = 0, we obtain 4a 2 + b2 = 13
and 4a + b = 1. This gives us the following solutions:
3 17
(a, b) = (1, −3) or − , .
5 5
Substituting the above solutions into f (x1 , . . . , x5 ) and comparing the values, we
observe that f has a minimum at the point (1, −3). Therefore, we have x1 = x2 =
x3 = x4 = 1 and x5 = −3, and the minimum value is −23. Note that four other points
of minimum are obtained by rearrangement of the variables xi .
304. Let n ≥ 2.
(1) Suppose that f : Rn → R be given by f (x1 , x2 , . . . , xn ) = x12 x22 . . . xn2 and c ∈
R. Find the maximum value of f subject to the constraint g(x1 , x2 , . . . , xn ) =
x12 + x22 + · · · + xn2 − c2 = 0;
(2) Using part (1), prove that the inequality
√ a1 + a2 + · · · + an
n
a1 a2 . . . an ≤ ,
n
for any positive real numbers a1 , a2 , . . . , an .
It is clear that f is a continuous function and the set
D = {(x1 , x2 , . . . , xn ) ∈ Rn | g(x1 , x2 , . . . , xn ) = 0}
2x1 x22 x32 . . . xn2 = 2λx1 , 2x12 x2 x32 . . . xn2 = 2λx2 , . . . , 2x12 x22 . . . xn−1
2
xn = 2λxn .
c2 x 2 + x22 + · · · + xn2 a1 + a2 + · · · + an
(a1 a2 . . . an )1/n ≤ = 1 = .
n n n
n
n
305. Find the maximum of xi yi subject to the constraints xi2 = 1 and
i=1 i=1
n
yi2 = 1.
i=1
f (x1 , . . . , xn , y1 , . . . yn ) = x1 y1 + · · · + xn yn
Now, we use the Lagrange multiplier rule to maximize f . First, we calculate the
gradients of f , g and h. We have
∇ f (x1 , . . . , xn , y1 , . . . yn ) = (y1 , . . . , yn , x1 , . . . , xn ),
∇g(x1 , . . . , xn , y1 , . . . yn ) = (2x1 , . . . , 2xn , 0, . . . , 0),
∇h(x1 , . . . , xn , y1 , . . . yn ) = (0, . . . , 0, 2y1 , . . . , 2yn ).
1 = y12 + · · · + yn2 = 4λ2 x12 + · · · + 4λ2 xi2 = 4λ2 (x12 + · · · + xn2 ) = 4λ2 .
256 6 Extreme of Functions
This gives that λ = ±1/2. Since yi = 2λxi and xi ≥ 0 and yi ≥ 0, it follows that λ =
1/2. Similarly, we obtain μ = 1/2. So, we obtain xi = yi , for i = 1, . . . , n, which
implies that x1 y1 + · · · + xn yn = x12 + · · · + xn2 = 1. Therefore, the maximum value
is 1.
306. Prove that Cauchy’s inequality
n
n 1/2
n 1/2
ai bi ≤ ai2 bi2 .
i=1 i=1 i=1
n 1/2
n 1/2
We set A = ai2 and B = bi2 . If A = 0 or B = 0, the desired result
i=1 i=1
n
is obvious. Suppose that xi = ai /A and yi = bi /B. Thus, we obtain xi = 1 and
i=1
n
n
yi2 = 1. Now, by Problem 6.3, we conclude that xi yi ≤ 1. Thus, we have
i=1 i=1
n
ai bi n
≤ 1, or equivalently ai bi ≤ AB.
i=1
A B i=1
1
(k1 x12 + · · · + kn xn2 ).
2
The Lagrange multiplier condition gives ki xi = λ. So, we have xi = λ/ki . Since
x1 + · · · + xn = , it follows that
λ= ,
n
1
i=1
ki
6.3 Solved Problems 257
and so
x1 = , . . . , xn = .
n
1 n
1
k1 kn
k
i=1 i
k
i=1 i
1 2
n n
L= ki x i − λ xi − .
2 i=1 i=1
Its Hessian with respect to x1 , . . . , xn is the matrix with (k1 , . . . , kn ) on the diag-
onal, which is positive definite. Therefore, the Lagrangian is a convex function of
x1 , . . . , xn . Therefore, the point we found is an absolute minimum. Note that the
extension is inversely proportional to the stiffness, which makes sense.
308. Let a straight line and three points be given on the plane. Find (or characterize)
the point on the line for which the sum of distances from this point to the three given
points is minimal.
Solution. We denote the given points by P1 , P2 and P3 , and the straight line by . We
want to minimize
f (X ) = X − P1 + X − P2 + X − P3 ,
U1 + U2 + U3 = λN .
6.4 Exercises
Easier Exercises
1. Does the function f (x, y) have a local maximum, local minimum or saddle point
at the origin? (Use the first and second derivative tests; if all else fails, sketch a
few level curves near the origin.)
2. For the given functions, determine the local extreme of f , if there are any.
3. Find the absolute extremum of the given function f on the specified region.
(a) f (x, y) = x 2 − y 2 , R = {(x, y) | x 2 + y 2 ≤ 4};
(b) f (x, y) = 2x y + x 2 + 8y − 4x, R = {(x, y) | 0 ≤ x ≤ 2, 0 ≤ y ≤ 1};
(c) f (x, y) = (2x 2 + 3y 2 )e−(x +y ) , R = {(x, y) | 1 ≤ x 2 + y 2 ≤ 4}.
2 2
12. Find (or characterize) the point on a plane, for which the sum of distances from
this point to three given points in three-dimensional space is minimal.
13. Find three numbers whose sum is 100 and the sum of whose squares is√least.
14. Find the maximum and minimum points of the function f (x, y) = x + 3y + 2
on the unit disk R = {(x, y) | x 2 + y 2 ≤ 1}.
15. The temperature is T degrees at any point (x, y) of the curve 4x 2 + 12y 2 = 1,
and T = 4x 2 + 24y 2 − 2x. Find the points on the curve where the temperature
is the greatest and where it is the least. Also, find the temperature at these points.
16. If f (x, y, z) = x yz, find the maximum and minimum values of f subject to the
constraints y = z and x 2 + y 2 = 1.
17. Determine constants a and b such that the integral
1 2
ax + b − f (x) d x
0
26. Prove that f (x, y) = x 2 − 6x y + 10y 2 has a positive minimum value p on the
circle x 2 + y 2 = l.
27. If f (x, y) = ax 2 + bx y + cy 2 has a positive minimum p on x 2 + y 2 = 1, prove
that f (x, y) > 0 for all (x, y) except (0, 0).
Hint: Find the minimum of f (x, y) on x 2 + y 2 = r 2 .
28. Suppose that f (x, y) = 3x 4 − 4x 2 y + y 2 . Show that on every line y = mx the
function has a minimum at (0, 0), but that there is no local minimum in any
two-dimensional neighborhood of the origin. Make a sketch indicating the set
of points (x, y) at which f (x, y) > 0 and the set at which f (x, y) < 0.
29. Suppose that f (x, y) = ax 2 + 2bx y + cy 2 + 2d x + 2 py + q, where a > 0 and
b2 < ac.
(a) Prove that a point (x0 , y0 ) exists at which f has a minimum;
(b) Prove that f (x0 , y0 ) = d x0 + py0 + q at this minimum;
(c) Show that
a b d
1
f (x0 , y0 ) = b c p.
ac − b d p q
2
30. If a, b and c are positive numbers, find the maximum value of f (x, y, z) =
x a y b z c subject to the side condition x + y + z = 1.
31. Find the minimum volume bounded by the planes x = 0, y = 0, z = 0, and a
plane which is tangent to the ellipsoid
x2 y2 z2
+ + =1
a2 b2 c2
at a point in the octant x > 0, y > 0, z > 0.
32. Find the extremal point of x 2 + 2x y + 4y 2 + 6 and show it is a minimum point
by completing the square.
33. Find the maximum and minimum values of the function f (x, y, z) = x 2 + y 2 +
z 2 − 4(x + y + z) on R = {(x, y, z) | x 2 + y 2 + z 2 ≤ 16, z ≥ 0}.
34. Suppose that A does not lie on a closed surface F(X ) = 0 and B is a point of
the surface that maximizes or minimizes the distance F(x) − A. Show that
A − B is normal to the surface at B.
Hint: Parameterize.
35. Find the rectangle of the largest area (with sides parallel to the coordinates axes)
that can be inscribed in the ellipse x 2 + 2y 2 = 1.
36. Let 0 < p < q and b > 0. Find the maximum and minimum of x p + y q on
x q + y q = bq for x ≥ 0 and y ≥ 0.
37. Let 0 < p < q and x ≥ 0 and y ≥ 0. Prove that
1/q 1/ p 1/q
1 x q + yq xp + yp x q + yq
≤ ≤ .
21/ p−1/q 2 2 2
6.4 Exercises 261
Hint: Set x q + y q = bq .
38. Let 0 < p < q. Find the maximum and minimum of x p + y p + z p on the surface
x q + y q + z q = bq where x ≥ 0, y ≥ 0 and z ≥ 0.
39. Let 0 < p < q and x ≥ 0, y ≥ 0, z ≥ 0. Show that
1/ p 1/q
x p + yp + zp x q + yq + zq
≤ .
3 3
40. Suppose that x, y and z be the angles of a triangle. Find the maximum of
Consider the flow vector that determines the direction of water flow at a certain point
in a river (see Fig. 7.1). We can assign such a vector to any point in the river at any
moment of time. Thus we arrive at a vector field that can be graphically represented
by field lines that are tangential to the direction of the vector at each point. The
difference between a vector and a vector field is that the former is one single vector
while the latter is a distribution of vectors in space and time. The vector field exists
in all points of space and at any moment of time.
A function F : Rn → Rm is called a vector field. When m = 1, the function is
called a scalar field. If F : Rn → Rm is a vector field, then for any X ∈ Rn ,
F(X ) = f 1 (X ), f 2 (X ), . . . , f m (X ) ,
We can plot a vector field by choosing various sample points (x, y), evaluation
the vector function F(x, y) and drawing the vector from that point. With enough
vectors plotted, we start to get a sense of the vector fields. Figure 7.2 shows some
examples of vector fields F : R2 → R2 .
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2023 263
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1_7
264 7 Vector Fields
Fig. 7.2 Vector fields from left to right, top to bottom: F(x, y) = (x 2 − y 2 − 4, x y), F(x, y) =
(x y + 4, y 2 + x), F(x, y) = (ln(x y) + 2, x 2 + y 2 ) and F(x, y) = (x 2 + y 2 , x 3 y)
7.2 Linear Transformations 265
lim f (X ) = L ,
X →A
to mean that
lim f (X ) − L = 0. (7.1)
X −A→0
The limit symbol in (7.1) is the usual limit of ordinary calculus. In this definition, it is
not required that F be defined at the point A itself. We say a vector field F : Rn → Rm
is continuous at a point A if F is defined at A and if
lim f (X ) = F(A).
X →A
T (cX + Y ) = cT (X ) + T (Y ),
F(A + H ) − F(A) − T A (H )
lim = 0. (7.2)
H →0 H
If such a linear transformation T A exists, then it is unique and we call it the total
derivative of F at A. We denote T A to be D F(A). Hence, under the above definition,
the total derivative D F(A) of F at A is not a number but rather a linear transforma-
tion. Eq. (7.2) can be written in several slightly different but equivalently ways. For
instance, it can be written as
F(A + H ) − F(A) − T A (H )
lim = 0.
H →0 H
F(X ) − F(A) − T A (X − A)
lim = 0.
H →0 X − A
e(H )
lim = 0.
H →0 H
The matrix [D F(A)] is called the total derivative matrix or Jacobian matrix of F
at A. The Jacobian matrix [D F(A)] is defined at each point where the mn partial
derivatives ∂ f i /∂x j (A) exist. The total derivative T A is also written as f (A). The
derivative f (A) is a linear transformation; the Jacobian [D F(A)] is a matrix repre-
sentation for this transformation.
If n = m, then the determinant of the Jacobian matrix is denoted by
∂( f 1 , . . . , f n )
or JF (x1 , . . . , xn ),
∂(x1 , . . . , xn )
We can express the chain rule in terms of the Jacobian matrices D H (A), D F(B)
and DG(A) which represents the linear transformations H (A), F (B) and G (A),
respectively. Since composition of linear transformations corresponds to multiplica-
tion of their matrices, we can write
[D H (A)] = [D F(B)][DG(A)],
268 7 Vector Fields
where B = G(A). This is called the matrix form of the chain rule.
A necessary and sufficient condition that the equations F(u, v, x, y, z) = 0 and
G(u, v, x, y, z) = 0 can be solved for u and v (for example) is that ∂(F, G)/∂(u, v)
is not identically zero in a region R. Similar results are valid for m equations in n
variables, where m < n.
If F : Rn → Rm is differentiable at A, then F is continuous at A.
G Mm
f (x, y, z) = R.
R
∂P ∂Q
= ,
∂y ∂x
at all points in B.
We can extend the above result to functions of three variables.
−
→ −
→ −
→
Suppose that F(x, y, z) = P(x, y, z) i + Q(x, y, z) j + R(x, y, z) k is
defined on an open ball B in R3 , and ∂ P/∂ y, ∂ P/∂z, ∂ Q/∂x, ∂ Q/∂z, ∂ R/∂x
and ∂ R/∂ y are continuous on B. Then, the vector field F is a gradient on B if and
only if
∂P ∂Q ∂P ∂R ∂Q ∂R
= , = and = ,
∂y ∂x ∂z ∂x ∂z ∂y
at all points in B.
7.5 Divergence and Curl 269
Divergence and curl are two measurements of vector fields that are very useful in a
variety of applications.
The del operator is denoted by ∇ which is called nabla. The del operator is a
vector written as
∂ −
→ ∂ −
→ ∂ −→
∇= i + j + k.
∂x ∂y ∂z
Then, its divergence is the function div F : R3 → R which is defined by the rule
∂ − → ∂ −→ ∂ −→ −
→ −
→ →
−
div F = ∇ · F = i + j + k · P i +Q j +Rk
∂x ∂y ∂z
∂P ∂Q ∂R
= + + .
∂x ∂y ∂z
As a physical example, if F represents velocity field of a gas (or fluid) then div F
represents the rate of expansion per unit volume under the flow of the gas (or fluid).
The curl of F is the vector field curl F : R3 → R3 which is defined by the rule
− →
→ −→ −
i j k
∂ ∂ ∂
curl F = ∇ × F =
∂x ∂ y ∂z
P Q R
∂R ∂ Q −→ ∂R ∂ P −
→ ∂Q ∂ R −
→
= − i + − j + − k.
∂y ∂z ∂x ∂z ∂x ∂y
The curl of a vector field is a vector field. The vector field F : R3 → R3 is called
rotation free if its curl is zero, and it is call incompressible (also known as a solenoidal
vector field) if its divergence is zero. Note that the del operation makes sense for any
n, not just 3. So, we can define the divergent in all dimensions. However, curl only
makes sense when n = 3.
So far in our work with ∇ we have only considered first partial derivatives. When
we considered second partial derivatives, the following possible combination turns
out to be meaningful and useful. If f : R3 → R is a function of three variables x, y
and z, then ∇ · (∇ f ) = div(∇ f ), formally we find that
∂2 f ∂2 f ∂2 f
∇ · (∇ f ) = + + .
∂x 2 ∂ y2 ∂z 2
270 7 Vector Fields
Solution. According to the definition, we know that a vector field is a function that
assigns a vector to each point. So, we pick several different points and then we try
to determine the vector associated with that point:
Now, we sketch all these vectors, see Fig. 7.3. The starting point of each vector is
always the (x, y) value of the point that we pick.
Prove that
Solution. (1) To prove this limit, we have to show that for every > 0 there exists
N > 0 such that
(x, y) > N ⇒ F(x, y) − (0, 0) < .
We observe that
2 2
x −y 1
F(x, y)2 = + = .
x + y2
2 x + y2
2 x2 + y2
1
0 < x 2 + y 2 < δ2 ⇒ > M 2,
x 2 + y2
This yields that F(x, y) → (1, 1) as (x, y) → (0, 0) through the set S.
(2) Through the set T we have x > y. Hence, we get
272 7 Vector Fields
This gives that F(x, y) → (0, 0) as (x, y) → (0, 0) through the set T .
312. Let T : R3 → R2 be a function defined by T (x, y, z) = (x + z, y + z), for all
(x, y, z) ∈ R3 .
(1) Show that T is a linear transformation.
(2) Determine the matrix representation of T .
Solution. (1) We must check the property that defines a linear transformation. For
any (x1 , y1 , z 1 ) and (x2 , y2 , z 2 ) in R3 and c ∈ R, we have
T c(x1 , y1 , z 1 ) + (x2 , y2 , z 2 ) = T (cx1 + x2 , cy1 + y2 , cz 1 + z 2 )
1 + x2 + cz 1 + z 2 , cy1 + y2 + cz 1 + z 2 )
= (cx
= c(x1 + z 1 ) + x2 + z 2 , c(y1 + z 1 ) + y2 + z 2
= c(x1 + z 1 , y1 + z 1 ) + (x2 + z 2 , y2 + z2)
= cT (x1 , y1 , z 1 ) + T (x2 , y2 , z 2 ).
T (U + Z ) = T (U ) + T (Z ) = T (U ) + 0 = T (U ).
F(1 + h 1 , 1 + h 2 ) − F(1, 1) − T A (h 1 , h 1 )
lim = 0.
(h 1 ,h 2 )→(0,0)
h 21 + h 22
F(1 + h 1 , 1 + h 2 ) − F(1, 1) − T A (h 1 , h 1 )
lim = lim
(h 1 ,h 2 )→(0,0) (h 1 ,h 2 )→(0,0)
h 21 + h 22
(1 + h 1 )+(1 + h 2 )2 , (1 + h 1 )3 + 5(1 + h 2 ) − (2, 6) − (h 1 + 2h 2 , 3h 1 + 5h 2 )
h 21 + h 22
(h 22 , 3h 21 + h 31 )
= lim
(h 1 ,h 2 )→(0,0)
h 21 + h 22
h2 3h 2 + h 31
= lim 2 , lim 1 = (0, 0),
(h 1 ,h 2 )→(0,0) (h ,h )→(0,0)
h 21 + h 22 1 2 h 21 + h 22
as desired.
317. Let F : Rn → Rm be a vector field and A be a point in Rn . Suppose that T A
and L A are both linear transformation such that
274 7 Vector Fields
Prove that T A = L A .
Solution. If T A and L A are different linear transformations, then there exists B ∈ Rn
such that T A (B) = L A (B). Now, we take derivative along the path H = t B. We
obtain
F(A + t B) − F(A) − T A (t B)
0 = lim
F(A + t B)t−B
t→0
F(A) − L A (t B) T A (t B) − L A (t B)
= lim +
t→0 t B t B
t T A (B) − t L A (B) T A (B) − L A (B) t
= 0 + lim = lim .
t→0 |t|B B t→0 |t|
But the limit on the right side does not exist. Therefore, our assumption that T A (B) =
L A (B) must have been false.
∂(x, y, z)
318. If u = x + y + z, uv = y + z and uvw = z, show that = u 2 v.
∂(u, v, w)
Solution. We have
x = u − (y + z) = u(1 − v),
y = uv − z = uv(1 − w),
z = uvw.
Now, we obtain
∂x ∂x ∂x
∂u ∂v ∂w
1 − v −u 0
∂(x, y, z)
∂y ∂y ∂y
=
=
v(1 − w) u(1 − w) −uv
∂(u, v, w)
∂u ∂v ∂w
vw uw uv
∂z ∂z ∂z
∂u ∂v ∂w
= (1 − v) u(1 − w)uv + uvuv + u (1 − w)uv + uv + uvvw
= (1 − v)u 2 v + u 2 v 2 = u 2 v.
∂(x, y, z)
319. Compute the Jacobian , where (ρ, ϕ, θ) are the spherical coordi-
∂(ρ, ϕ, θ)
nates and (x, y, z) are the Cartesian coordinates.
Solution. We know that x = ρ sin ϕ cos θ, y = ρ sin ϕ sin θ and z = ρ cos ϕ. There-
fore, we get
7.6 Solved Problems 275
xρ xϕ xθ
∂(x, y, z)
=
yρ yϕ yθ
∂(ρ, ϕ, θ)
z zϕ zθ
ρ
sin ϕ cos θ ρ cos ϕ cos θ −ρ sin ϕ sin θ
=
sin ϕ sin θ ρ cos ϕ sin θ ρ sin ϕ cos θ
cos ϕ −ρ sin ϕ 0
sin ϕ sin θ
sin ϕ cos θ ρ cos ϕ cos θ
= (−ρ sin ϕ sin θ)
− (ρ sin ϕ cos θ)
cos ϕ −ρ sin ϕ cos ϕ −ρ sin ϕ
= (−ρ sin ϕ sin θ)(−ρ sin θ)(sin2 ϕ + cos2 ϕ)
−(ρ sin ϕ sin θ)(−ρ sin θ)(sin2 ϕ + cos2 ϕ)
= ρ sin ϕ(sin θ + cos2 θ) = ρ2 sin ϕ,
2 2
where we used the cofactor expansion with respect to the third column.
320. Chain rule for Jacobian: If u and v are functions of x and y, and x and y are
functions of r and s, prove that
Remark 1 In general,
Solution. If we replace r and s by u and v in Problem 320, then we get the required
result.
Remark 2 In general,
∂(x1 , . . . , xn ) ∂(u 1 , . . . , u n )
= 1.
∂(u 1 , . . . , u n ) ∂(x1 , . . . , xn )
276 7 Vector Fields
∂(x, y, z)
322. If u = x yz, v = x 2 + y 2 + z 2 and w = x + y + z, find .
∂(u, v, w)
Solution. We have
∂u ∂u ∂u
∂x
∂y ∂z
yz zx x y
∂(x, y, z)
∂v ∂v ∂v
=
=
2x 2y 2z
∂(ρ, ϕ, θ)
∂x ∂y ∂z
∂w ∂w ∂w
1 1i 1
∂x ∂y ∂z
= 2(x − y)(x − z)(y − z).
∂(x, y, z) ∂(u, v, w)
Since = 1, it follows that
∂(u, v, w) ∂(x, y, z)
∂(x, y, z) 1
= .
∂(u, v, w) 2(x − y)(x − z)(y − z)
Solution. (1) By using the definition of Jacobian matrix, it is easy to see that
⎡ ∂x ∂x ∂x ⎤
⎢ ∂x ∂y ∂z ⎥ ⎡ ⎤
⎢ ∂y ∂y ∂y ⎥ 1 0 0
⎢ ⎥ ⎣
⎢ ⎥ = 0 1 0⎦.
⎢ ∂x ∂y ∂z ⎥
⎣ ∂z ∂z ∂z ⎦ 0 0 1
∂x ∂y ∂z
(2) Suppose that the Jacobian matrix of the vector field F = ( f 1 , f 2 , f 3 ) is the
identity matrix. So, we have
⎡∂f ∂ f1 ∂ f1 ⎤
1
(x, y, z) (x, y, z) (x, y, z)
⎢ ∂x ∂y ∂z ⎥ ⎡ ⎤
⎢∂f ∂ f2 ∂ f2 ⎥ 1 0 0
⎢ 2 ⎥
⎢ (x, y, z) (x, y, z) (x, y, z) ⎥ = ⎣ 0 1 0⎦.
⎢ ∂x ∂y ∂z ⎥
⎣ ∂ f3 ∂ f3 ∂ f3 ⎦ 0 0 1
(x, y, z) (x, y, z) (x, y, z)
∂x ∂y ∂z
7.6 Solved Problems 277
Since ∂ f 1 /∂ y and ∂ f 1 /∂z are identically zero, it follows that f 1 depends only on x.
On the other hand, since ∂ f 1 /∂x = 1, it follows that f 1 (x, y, z) = x + α, where α is a
constant. Similarly, we find that f 2 (x, y, z) = y + β and f 3 (x, y, z) = z + γ, where
−
→ −
→ −
→
β and γ are constant. Therefore, we conclude that F(x, y, z) = x i + y j + z k ,
plus any constant vector.
(3) Let the Jacobian
matrix of the vector field F = ( f 1 , f 2 , f 3 ) is a diagonal matrix
of the form diag p(x), q(x), r (x) . Thus, we have
⎡∂f ∂ f1 ∂ f1 ⎤
1
(x, y, z) (x, y, z) (x, y, z)
⎢ ∂x ∂y ∂z ⎥ ⎡ ⎤
⎢∂f ∂ f2 ∂ f2 ⎥ p(x) 0 0
⎢ 2 ⎥
⎢ (x, y, z) (x, y, z) (x, y, z) ⎥ = ⎣ 0 g(x) 0 ⎦.
⎢ ∂x ∂y ∂z ⎥
⎣ ∂ f3 ∂ f3 ∂ f3 ⎦ 0 0 r (x)
(x, y, z) (x, y, z) (x, y, z)
∂x ∂y ∂z
∂ f1 ∂ f2 ∂ f3
(x, y, z) = p(x), (x, y, z) = q(y) and (x, y, z) = r (x).
∂x ∂y ∂z
−
→ −
→ −
→
Hence, we obtain F(x, y, z) = P(x) i + Q(y) j + R(z) k , where P (x) = p(x),
Q (y) = q(y) and R (z) = r (z).
324. Let u = f (x, y) and v = g(x, y), where f and g are continuously differen-
tiable in some region R. Prove that a necessary and sufficient condition that there
exists a functional relation between u and v of the form R(u, v) = 0 is the vanishing
∂(u, v)
of the Jacobian, i.e., = 0 identically.
∂(x, y)
Solution. Suppose that there exists a functional relation R(u, v) = 0 between u
and v. Then, we have
∂R ∂R
dR = du + dv
∂u ∂v
∂ R ∂u ∂u ∂ R ∂v ∂v
= dx + dy + dx + dy
∂u ∂x
∂ R ∂u
∂y
∂ R ∂v
∂v ∂x
∂ R ∂u
∂y
∂ R ∂v
= + dx + + dy = 0.
∂u ∂x ∂v ∂x ∂u ∂ y ∂v ∂ y
It follows that ∂ R ∂u ∂ R ∂v
+ = 0,
∂∂u ∂x
R ∂u
∂v ∂x
∂ R ∂v
+ = 0.
∂u ∂ y ∂v ∂ y
Since ∂ R/∂u and ∂r/∂v are not identically zero, it follows that
278 7 Vector Fields
∂u ∂v
∂x ∂x
∂u ∂v
= 0 identically.
∂y ∂y
∂(u, v)
Conversely, assume that = 0 identically. If both ∂u/∂x and ∂u/∂ y are
∂(x, y)
zero, then the Jacobian is zero and u = c is a constant. This is a trivial functional
relation. Now, suppose that at least one of the ∂u/∂x and ∂u/∂ y is non-zero, say
∂u/∂x = 0. Then, we solve the equation u = f (x, y) to get x = F(u, y). This yields
that
u = f F(u, y), y and v = g F(u, y), y .
So, we obtain
∂u ∂u ∂u ∂ F ∂ F ∂u
du = dx + dy = du + dy + dy
∂x ∂y ∂x ∂u ∂ y ∂y (7.3)
∂u ∂ F ∂u ∂F ∂u
= du + + dy,
∂x ∂u ∂x ∂y ∂y
∂v ∂v ∂v ∂ F ∂ F ∂v
dv = dx + dy = du + dy + dy
∂x ∂y ∂x ∂u ∂ y ∂y (7.4)
∂v ∂ F ∂v ∂F ∂v
= du + + dy.
∂x ∂u ∂x ∂y ∂y
∂u ∂ F ∂u ∂ F ∂u
= 1 and + = 0.
∂x ∂u ∂x ∂ y ∂y
∂u ∂v ∂u ∂v ∂v ∂ F
Since − = 0, it follows that dv= du. Since v=g F(u, y), y ,
∂x ∂ y ∂ y ∂x ∂x ∂u
it follows that ∂v/∂ y = 0. This means that v does not depend on y and only it depends
on u, i.e., v is a function of u, in other words the functional relation R(u, v) = 0
exists.
325. Show that the functions u = x + y + z, v = x 3 + y 3 + z 3 − 3x yz and w =
x 2 + y 2 + z 2 − x y − yz − zx are functionally dependent and find the relation
between them.
Solution. First, we compute the Jacobian. We get
∂u ∂u ∂u
∂x ∂y ∂z
∂(u, v, w)
∂v
1 1 1
∂v ∂v
=
=
3(x − yz) 3(y − x z) 3(z − x y)
= 0.
2 2 2
∂(x, y, z)
∂x ∂y ∂z
∂w ∂w ∂w
2x − y − z 2y − z − x 2z − x − y
∂x ∂y ∂z
∂(u, v, w)
Since = 0, it follows that the functions u, v and w are functionally depen-
∂(x, y, z)
dent. Now, we can write
v = x 3 + y 3 + z 3 − 3x yz = (x + y + z)(x 2 + y 2 + z 2 − x y − yz − x z) = uw.
3x + y − z + u 2 = 0, (7.6)
x − y + 2z + u = 0, (7.7)
2x + 2y − 3z + 2u = 0, (7.8)
y 4y 60 + 4y 4y − 3
x =− , z= , u = 0 or x = − , z= , u=3 .
7 7 7 7
Finally, we can also have
7x − 60
y = −7x, z = −4x, u = 0 or y= , z = 9 − 4x, u = 3 .
4
Now, if we consider
∂ f1 ∂ f1
(x, y) = −a sin x cos y = 0 and (x, y) = −(b + a cos x) sin y. (7.10)
∂x ∂x
7.6 Solved Problems 281
The second equation in (7.10) required x = kπ, and since these functions are periodic
with period 2π in both x and y, we assume that x = 0 or x = π. In this case, from
the first equation in (7.10), we get y = 0 or y = π. Consequently, the only points
satisfying (7.9) are the image of points (0, 0), (0, π), (π, 0) and (π, π). The result is
the points (a + b, 0, 0), (−a + b, 0, 0), (a − b, 0, 0) and (−a − b, 0, 0).
(3) The point (a + b, 0, 0) is the maximum possible value of f 1 (x, y), and occurs
when cos x = 1 and cos y = 1. The point (−a − b, 0, 0) is the minimum possible
value of f 1 (x, y), and occurs when cos x = 1 and cos y = −1. The other two points
which occur when (x, y) = (0, π) or (x, y) = (π, 0) lie near points of both larger
and smaller values of f 1 (x, y). Indeed, if we consider two real functions g and h
defined by g(x) = f 1 (x, π) = −(b + a cos x) and h(y) = f 1 (0, y) = b cos y, then
x = 0 gives a maximum value of g and y = π gives a minimum value of h. Therefore,
the point (0, π) is neither a maximum point nor a minimum point of f 1 (x, y).
328. Consider the function F defined in Problem 327
(1) Determine the set of all Q in the range of F such that
∇ f 3 F −1 (Q) = 0.
(2) Which of the points Q found in part (1) correspond to maxima or minima?
Solution. (1) If ∇ f 3 (x, y) = 0, then
∂ f3 ∂ f3
(x, y) = a cos x = 0 and (x, y) = 0.
∂x ∂x
It follows that cos x = 0. This yields that x = π/2 or x = 3π/2. The image of these
two conditions consists of two circles of radius b about z-axis in the plane z = ±a.
It is easy to see that the points with z = a give the absolute maximum of f 3 (x, y),
while those points with z = −a give the absolute minimum of f 3 (x, y).
282 7 Vector Fields
⎡ ⎤
∂ 2 + 3w 3 ) ∂ (u + 2v 2 + 3w 3 ) ∂ (u + 2v 2 + 3w 3 )
⎢ (u + 2v ⎥
[DG(u, v, w)] = ⎣ ∂u ∂ ∂v
∂
∂w
∂ ⎦
(2v − u )2 2
(2v − u ) 2
(2v − u )
∂u ∂v ∂w
1 4v 9w2
= .
−2u 2 0
(2) We obtain
H (u, v, w) = F G(u, v, w) = F u + 2v 2 + 3w 3 , 2v − u 2
2−
→ −
→
= eu+2v +3w +4v−2u i + sin 2v − u 2 + 2u + 4v 2 + 6w 3 j .
2 3
−
→ −
→
(3) We find that G(1, −1, 1) = 6 i − 3 j . So, we can write
(1) Compute each of the Jacobian matrix D F(x, y) and DG(u, v, w).
7.6 Solved Problems 283
(2) Compute the composition H (u, v, w) = F G(u, v, w) .
(3) Compute the Jacobian matrix D H (u, 0, w).
Solution. (1) By the definition of Jacobian matrix, we obtain
⎡ ∂ ∂ 2 ∂ 2 ⎤
(x 2 + y + z) (x + y + z) (x + y + z)
⎢ ∂x ∂y ∂z ⎥
[D F(x, y)] = ⎣ ∂ ∂ ∂ ⎦
(2x + y + z 2 ) (2x + y + z 2 ) (2x + y + z )
2
∂x ∂y ∂z
2x 1 1
= ,
2 1 2z
⎡ ∂ ∂ ∂ ⎤
(uv 2 w 2 ) (uv 2 w 2 ) (uv 2 w 2 )
⎢ ∂u ∂v ∂w ⎥
⎢ ∂ ∂ ∂ ⎥
[DG(u, v, w)] = ⎢
⎢ ∂u (w sin v) ∂v (w sin v)
2 2
(w sin v) ⎥
2
⎥
⎣ ∂w ⎦
∂ 2 v ∂ 2 v ∂ 2 v
(u e ) (u e ) (u e )
⎡ 2∂u2 ∂v ⎤∂w
u w 2uvw 2
2uv 2 w
= ⎣ 0 w cos v 2w sin v
2 ⎦.
2uev u 2 ev 0
(2) We have
H (u, v, w) = F G(u, v, w) = F uv 2 w 2 , w 2 sin v, u 2 ev
−
→ −
→
= (u 2 v 4 w 4 + w 2 sin v + u 2 ev ) i + (2uv 2 w 2 + w 2 sin v + u 4 e2v ) j .
−
→
(3) We get G(u, 0, w) = u 2 k . Hence, we can write
332. Lett F and G be functions from Rn to Rm . We say that F and G are tangent at
a point A ∈ Rn if
F(X ) − G(X )
lim = 0.
X →A X − A
n
n
T1 (X ) − T2 (X ) = b1 j (x j − a j ), . . . , bm j (x j − a j )
j=1 j=1
n
n
− c1 j (x j − a j ), . . . , cm j (x j − a j )
j=1 j=1
n
n
= (b1 j − c1 j )(x j − a j ), . . . , (bm j − cm j )(x j − a j ) .
j=1 j=1
δ
X−A= Z,
Z
n
δz j n
δz j
T1 (X ) − T2 (X ) = (b1 j − c1 j ) ,..., (bm j − cm j )
j=1
Z j=1
Z
Z
≤ X − A = |δ| = |δ|.
Z
Therefore, we get
n n
z j
zj
(b1 j − c1 j ) ,..., (bm j − cm j ) ≤ . (7.12)
j=1
Z j=1
Z
Since (7.12) holds for all positive number , it follows that bi j = ci j , for all 1 ≤ i ≤ m
and 1 ≤ j ≤ n.
333. Let F = ( f 1 , f 2 ) be a function from R2 into R2 given by
√
and let x = ln r 2 + s 2 . Now, we see that r = e x cos y and s = e x sin y. This means
that (r, s) lies in the range of F. Note that the point (0, 0) does not belong to the
range of F, because r 2 + s 2 = e2x > 0. Therefore, the range of F is all of R2 except
the point (0, 0).
(2) The Jacobian matrix is
⎡∂f ∂ f1 ⎤
1
(x, y) (x, y) x
⎢ ⎥ −e x sin y
[D F(x, y)] = ⎣ ∂∂xf ∂y e cos y
2 ∂ f2 ⎦ = e x sin y e x cos y
,
(x, y) (x, y)
∂x ∂y
and so
∂( f 1 , f 2 )
= e2x ,
∂(x, y)
286 7 Vector Fields
which is never zero. Since F(x, y + 2π) = F(x, y), it follows that F is not one to
one. √
(3) By the definition we get B = (1/2, 3/2). Hence, if y = tan−1 (s/r ), for (r, s)
near B, then −π/2 ≤ tan−1 (s/r ) ≤ π/2. Consequently, we have
G(r, s) = ln r 2 + s 2 , tan−1 (s/r ) .
Then, we have
⎡ r s ⎤
x
e cos y −e sin y x
⎢ 2 + s2 r 2 + s2 ⎥
F (x, y) = and G (r, s) = ⎣ r −s r ⎦.
e x sin y e x cos y
r 2 + s2 r +s
2 2
Also, since
r −s
F G(r, s) = ,
s r
it follows that
1 0
F G(r, s) G (r, s) = .
0 1
2
→ ex −
− x2 →
334. Let F(x, y) = 2xe ln y i + j . Determine if the vector is a gradient. If
y
it is, then find a function having this gradient.
2 2
Solution. Taking P(x, y) = 2xe x ln y and Q(x, y) = e x /y, we get
2 2
2xe x 2xe x
Py (x, y) = and Q x (x, y) = .
y y
Hence, Py (x, y) = Q x (x, y); so the given vector field is a gradient ∇ f (x, y). Fur-
thermore,
2
f x (x, y) = 2xe x ln y, (7.13)
7.6 Solved Problems 287
2
ex
f y (x, y) = . (7.14)
y
−y 1 1 −y 2
P(x, y, z) = + 2 , Q(x, y, z) = and R(x, y, z) = + 2.
(x + z)2 x x+z (x + z)2 z
Then, we obtain
−1 −2y
Py (x, y, z) = , Pz (x, y, z) = ,
(x + z)2 (x + z)3
−1 −1
Q x (x, y, z) = , Q z (x, y, z) = ,
(x + z)2 (x + z)2
−2y −1
Rx (x, y, z) = , R y (x, y, z) = .
(x + z)3 (x + z)2
−y 1
f x (x, y, z) = + 2, (7.17)
(x + z) 2 x
1
f y (x, y, z) = , (7.18)
x+z
288 7 Vector Fields
−y 2
f z (x, y, z) = + 2. (7.19)
(x + z) 2 z
y 1
f (x, y, z) = − + g(y, z), (7.20)
(x + z)2 x
1
f y (x, y, z) = + g(y, z), (7.21)
x+z
and so g y (y, z) = 0. Now, we integrate both members of this equation with respect
to y and get
g(y, z) = h(z), (7.22)
y 1
f (x, y, z) = − + h(z). (7.23)
(x + z)2 x
−y
f z (x, y, z) = + h (z). (7.24)
(x + z)2
−y −y 2
+ h (z) = + 2.
(x + z) 2 (x + z) 2 z
−2
h(z) = + C, (7.25)
z
y 1 2
f (x, y, z) = − − + C.
x+z x z
−
→ −
→ −
→
336. Let R(x, y, z) = x i + y j + z k and let f : R3 → R be a scalar field such
that f (R) = 0 when R = 1. If ∇ f = R/R5 , show that
7.6 Solved Problems 289
1 1
f (R) = 1− .
3 R3
−
→ −
→ −
→
Solution. If R(x, y, z) = x i + y j + z k , then R = (x 2 + y 2 + z 2 )1/2 . Using
the definition of gradient we must have
∂f ∂f ∂f
= R−5 x, = R−5 y and = R−5 z.
∂x ∂y ∂z
Integrating from the above equalities with respect to x, y and z, respectively, we get
1
f (x, y, z) = (x 2 + y 2 + z 2 )−5/2 xd x = − (x 2 + y 2 + z 2 )−3/2 + g(y, z),
3
(7.26)
2 −5/2 1 2 2 −3/2
f (x, y, z) = (x + y + z )
2 2
ydy = − (x + y + z )
2
+ h(x, z),
3
(7.27)
2 −5/2 1 2 2 −3/2
f (x, y, z) = (x + y + z )
2 2
zdz = − (x + y + z )
2
+ k(x, y).
3
(7.28)
From (7.26), (7.27) and (7.28) we deduce that g(y, z) = h(x, z) = k(x, y) = C,
a constant value. Therefore, we have f (x, y, z) = (−1/3)(x 2 + y 2 + z 2 )−3/2 + C.
Since f (R) = 0 when R = 1, it follows that C = 1/3. Consequently, we obtain
1 1 1 1 1 1
f (x, y, z) = − (x 2 + y 2 + z 2 )−3/2 + = − R−3 + = 1− .
3 3 3 3 3 R3
−
→ −
→ −
→
337. Let R(x, y, z) = x i + y j + z k , prove that
∂ −
→ ∂ −
→ ∂ −
→
∇R3 = R3 i + R3 j + R3 k
∂x ∂y ∂z
2 ∂R −→ 2 ∂R − → ∂R −
→
= 3R i + 3R j + 3R2 k
∂x ∂y ∂z
x −
→ y −
→ z −
→
= 3R2 i + 3R2 j + 3R2 k
R R R
−
→ −
→ −
→
= 3R x i + 3R y j + 3R z k
−
→ −
→ −
→
= 3R(x i + y j + z k ) = 3RR.
290 7 Vector Fields
∂ R2 −
→ ∂ R2 −
→ ∂ R2 − →
∇eR =
2
e i + e j + e k
∂x ∂y ∂z
2 ∂R −
→ 2 ∂R −
→ 2 ∂R −→
= 2R eR i + 2R eR j + 2R eR k
∂x ∂y ∂z
x − → y −→ z −
→
= 2R eR i + 2R eR j + 2R eR
2 2 2
k
R R R
−
→ −
→ −
→
= 2eR (x i + y j + z k )) = 2eR R.
2
− →
→ −
→ −
i j k
∂ ∂ ∂
curl(∇ f ) = ∇ × ∇ f =
∂x ∂ y ∂z
∂f ∂f ∂f
∂x ∂ y ∂z
∂2 f ∂2 f − → ∂2 f ∂ 2 f −
→ ∂2 f ∂ 2 f −
→
= − i + − j + − k = 0.
∂ y∂z ∂z∂ y ∂x∂z ∂z∂x ∂x∂ y ∂ y∂x
∂h −
→ ∂h − → ∂h − →
Recalling that ∇h = i + j + k and using the formula for vector prod-
∂x ∂y ∂z
uct, we see that the above equality is precisely curl(h F) = hcurl F + ∇h × F.
(3) We have
292 7 Vector Fields
div(F × G) = ∇ ·
(F × G)
−
→ −
→ →
−
= ∇ · ( f 2 g3 − f 3 g2 ) i + ( f 3 g1 − f 1 g3 ) j + ( f 1 g2 − f 2 g1 ) k
∂ ∂ ∂
= ( f 2 g3 − f 3 g2 ) + ( f 3 g1 − f 1 g3 ) + ( f 1 g2 − f 2 g1 )
∂x
∂ y ∂z
∂ f2 ∂g3 ∂ f3 ∂g2
= g3 + f2 − g2 − f3
∂x ∂x ∂x ∂x
∂ f3 ∂g1 ∂ f1 ∂g3
+ g1 + f3 − g3 − f1
∂y ∂y ∂y ∂y
∂ f1 ∂g2 ∂ f2 ∂g1
+ g2 + f1 − g1 − f2
∂z ∂z ∂z ∂z
∂ f3 ∂ f2 ∂ f1 ∂ f3 ∂ f2 ∂ f1
= g1 − + g2 − + g3 −
∂y ∂z ∂z ∂x ∂x ∂y
∂g3 ∂g2 ∂g1 ∂g3 ∂g2 ∂g1
− f1 − − f2 − − f3 −
∂y ∂z ∂z ∂x ∂x ∂y
= G · (∇ × F) − F · (∇ × G) = G · curl F − F · curlG.
−
→ −
→ −
→ −
→ −
→ −
→
340. Let R(x, y, z) = x i + y j + z k and A = a1 i + a2 j + a3 k be a con-
stant vector. If F = A × R, prove that A = (1/2)curl F.
Solution. We have
−
→ −
→ −
→
F = A × R = (a2 z − a3 y) i + (a3 x − a1 z) j + (a1 y − a2 z) k .
Now, we obtain
−
→ −
→ −
→
i j k
∂ ∂ ∂
curl F = ∇ × F =
∂x ∂ y ∂z
a2 z − a3 y a3 x − a1 z a1 y − a2 z
∂ ∂ −
→ ∂ ∂ −
→
= (a1 y − a2 z) − (a3 x − a1 z) i − (a1 y − a2 z) − (a2 z − a3 y) j
∂ y ∂z ∂x ∂z
∂ ∂ −
→
+ (a3 x − a1 z) − (a2 z − a3 y) k
∂x ∂y
−
→ −
→ −
→ −
→ −
→ −
→
= (a1 + a1 ) i + (a2 + a2 ) j + (a3 + a3 ) k = 2(a1 i + a2 j + a3 k ) = 2 A.
(1) ∇ 2 f = div H ;
(2) ∇(div K ) − ∇ 2 K = curl H .
7.7 Exercises 293
(2) We know that the following equality holds for any vectors A, B and C:
A × (B × C) = B(A · C) − (A · B)C.
∇ × (∇ × K ) = ∇(∇ · K ) − (∇ · ∇)K
= ∇(∇ · K ) − ∇ 2 K ,
which holds if all mixed partial derivatives are continuous. In other words,
7.7 Exercises
Easier Exercises
6. Determine if the vector is a gradient. If it is, find a function having the given
gradient.
−
→ −
→ −
→
(a) (2y − 5z) i + (2x + 8z) j − (5x − 8y) k ;
−
→ −
→ −
→
(b) z tan y i + x z sec2 y j + x tan y k ;
−
→ −
→ −
→
(c) e x (e z − ln y) i + (e y ln z − e x y −1 ) j + (e x+z + e y z −1 ) k ;
1 − → x−z − → x+y − →
(d) i − j + k.
y+z (y + z) 2 (y + z) 2
7. Find a vector field F(x, y) in the x y-plane with the property that at each point
(x, y) = (0, 0), F is a unit vector pointing toward the origin. (The field is unde-
fined at (0, 0).)
8. Find a vector field F(x, y) in the x y-plane with the property that at each point
(x, y) = (0, 0), F points toward the origin and F is (a) the distance from
(x, y) to the origin, (b) inversely proportional to the distance from (x, y) to the
origin. (The field is undefined at (0, 0).)
9. Let A and B be constant vectors. Find the gradient of the given function f (R)
−
→ −
→ −
→
of the position vector R = x i + y j + z k .
∇ 2 ( f g) = f ∇ 2 g + g∇ 2 f + 2∇ f · ∇g.
−
→ −
→ −
→
11. Let R = x i + y j + z k . If A and B are constant vectors, show that
1 A·R
(a) A · ∇ =− ;
R R3
1 3(A · R)(B · R) A·B
(b) B · ∇ A · ∇ = − .
R R 5 R3
7.7 Exercises 295
12. If F(x, y, z) = x 2 y, −2x z 3 , x z 2 and G(x, y, z) = 2z, y, −x 2 , find
∂2
(F × G) at (1, 0, −2).
∂x∂ y
13. Compute the Jacobian matrices of the given functions at the given points:
(a) The function F : R2 → R2 defined by F(x, y) = (x 2 + y 3 , x y) at (−1, 1);
(b) The function F : R2 → R3 defined by F(x, y) = (xe y , ye2x , x 2 + y 2 ) at
(1, 1);
(c) The function F : R3 → R defined by F(x, y, z) = x 2 + y 2 + z 2 at (1, 2, 3).
14. Take the vector field F(x, y) = (x 2 y 2 , x 2 + y 2 ). Show that this vector field is
neither the curl nor the gradient of any function.
15. Which of the following functions T are linear transformation? Justify your
answer.
(a) The function T : R2 → R2 defined by T (x, y) = (−3x − 5y, x + y);
(b) The function T : R2 → R3 defined by T (x, y) = (x y + yz, xz + yz);
(c) The function T : R3 → R2 defined by T (x, y, z) = sin(π/5)x+
cos(π/5)y, −4z ;
(d) The function T : R2 → R defined by T (x, y) = 2|x| + |y|.
16. Verify the property
∂( f g, h) ∂( f, h) ∂(g, h)
= g+ f .
∂(u, v) ∂(u, v) ∂(u, v)
17. Show that if f (u, v) and g(u, v) are differentiable and if c is constant, then
∂(c f, h) ∂( f, h)
=c .
∂(u, v) ∂(u, v)
Harder Exercises
19. If R1 and R2 denote the distance from a point (x, y) on an ellipse to its foci, show
that the equation R1 + R2 = constant (satisfied by these distances) implies the
relation
T · ∇(R1 + R2 ) = 0,
where T is the unit tangent to the curve. Interpret this result geometrically, there
by showing that the tangent makes equal angles with the lines joining (x, y) to
the foci.
296 7 Vector Fields
−
→ −
→ −
→
20. If ∇ f (x, y, z) is always parallel to x i + y j + z k , show that f must assume
equal values at the point (0, 0, a) and (0, 0, −a).
21. If F = ( f 1 , f 2 , f 3 ) is a vector field, its divergence is div F = ∂ f i /∂xi . Sup-
pose that we take another rectangular coordinate system (with the same origin).
Then its coordinates are x = ai j x j , where ai j ’s are constant. Express F in
the new coordinate system, and show that div F = div F, that is, that div F is a
geometric quantity, independent of the coordinate system.
22. Let F(r, θ) = (r cos θ, r sin θ). (This map takes a vector in polar coordinates and
rewrites it in rectangular coordinates.) Compute F(1, π/4) and [D F(1, π/4)].
Use your computation to estimate F(1.01, 0.02 + π/4).
23. Let T be the function from R3 into R3 defined by
D F(A)(h 1 , h 2 ) = (h 1 + 2h 2 , 3h 1 + 4h 2 ).
Show that ∂ F/∂x exists at every point and ∂ F/∂ y exists and is continuous on
a neighborhood of (0, 0). Show that F is differentiable at (0, 0).
31. Let F : R2 → R2 given by F(x, y) = (x + y, 2x + ay).
(a) Calculate D F(x, y) and show that D F(x, y) is invertible if and only if
a = 2;
(b) Examine the image of the unit square {(x, y) | x, y ∈ [0, 1]} when a =
1, 2, 3.
32. Let ⊆ Rn and F : → Rm be differentiable at a point C interior to , and
let V ∈ Rm . If we define g : → R by g(X ) = F(X ) · V , for all X ∈ , show
that g is differentiable at C and that
Dg(C)(U ) = D F(C)(U ) · V,
for U ∈ Rn .
33. Let F : R2 → R2 be a function which sends the point (x, y) into the point (u, v)
given by
u = x 2 − y 2 and v = 2x y.
What curves in the x y-plane map under F into the lines u = constant and v =
constant? Into what curves in the uv-plane do the lines x = constant and y =
constant map? Show that each non-zero point (u, v) is the image under F of two
points. Into what region does F map the square {(x, y) | 0 ≤ x ≤ 1, 0 ≤ y ≤ 1}?
What region is mapped by F into the square {(u, v) | 0 ≤ u ≤ 1, 0 ≤ v ≤ 1}?
Chapter 8
Line Integrals
where
W is the measure of the work done by F in moving an object along C from
f (a), g(a) to f (b), g(b) . Also, we can write (8.1) as follows:
b
W = F f (t), g(t) · R (t) dt.
a
The integral in (8.1) is called a line integral. A common notation for line integral3 is
C P(x, y)d x + Q(x, y)dy. The concept of a line integral can be extended to R .
Let P, Q and R be functions of three variables x, y and z such that they are
continuous on an open disk B in R3 . Let C be a curve lying in B with the parametric
equations x = f (t), y = g(t) and z = h(t) with a ≤ t ≤ b, such that f and g are
continuous on [a, b]. Then
P(x, y, z)d x + Q(x, y, z)dy + R(x, y, z)dz
C
b
= P f (t), g(t), h(t) f (t) + Q f (t), g(t), h(t) g (t) + R f (t), g(t), h(t) h (t) dt.
a
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2023 299
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1_8
300 8 Line Integrals
π 3π
x(t) = 2 cos t and y = 2 sin t, ≤t ≤ .
2 2
Now, we compute the value of the line integral by applying the definition. It is equal
to
3π/4
3π/4
(−2 sin t)(−2 sin t) (2 cos t)(2 sin t) π
2 t + 4 sin2 t
+ 2 t + 4 sin2 t
dt = dt = .
π/4 4 cos 4 cos π/4 2
343. Let f (t) be a differentiable and positive real function with a ≤ t ≤ b. Suppose
−
→ −
→ −
→
that C is the path R(t) = t i + f (t) j with a ≤ t ≤ b,and F = y j . Is there any
relation between the value of the work integral and the area of the region bounded
by the t-axis, the graph of f ,and the lines t = a and t = b?
Solution. We have
b → −
− → →
− b
F.d R = f (t) i · i + f (t) j dt = f (t)dt.
C a a
Since f (t) > 0, for a ≤ t ≤ b, it follows that the work and the area under the curve
have the same value.
344. Find ye−x ds, where C is the plane curve x = ln(t 2 + 1)and y = 2 tan−1
√ C
t − twith 0 ≤ t ≤ 3.
Solution. We have
√
3 2 2
−x
ye ds = y(t)e−x(t) x (t) + y (t) dt
C 0
√
2
2
3
2 tan−1 t − t
2t 2
= + 2 − 1 dt
0 t2 + 1
t2 + 1 t +1
√3 √3 √3
2 tan−1 t − t t
= 2+1
dt = 2 tan−1 t d(tan t) − 2+1
dt
0 t 0 0 t
√ √
3 1
3 π2
= tan−1 t
− ln(t 2 + 1)
= − ln 2.
0 2 0 9
302 8 Line Integrals
345. Evaluate x(1 + 4y)ds, where Cis the curve y = x 2 , starting from (0, 0)
C
and ending at (1, 1).
√
1 2 1 2 1 2 1
10 − x − y ds = 10 − t − (3t) 2
10dt
C 8 12 0 8 12
√80/7
√ 7
= 10 10 − t 2 dt
0 8
8.3 Solved Problems 303
√
√ 7
80/7
= 10 10t − t 3
24 0
√ √ 7 3
= 10 10 80/7 − 80/7 .
24
We have
−
→ −
→
R (t) = −3 sin t i + 3 cos t j and R (t) = 3.
Solution. From the equation x + y = 2 we get y = 2 − x. Putting this into the equa-
tion x 2 + y 2 + z 2 = 2(x + y) we get x 2 + (2 − x)2 + z 2 = 4 or equivalently
z2
(x − 1)2 + = 1. (8.2)
2
√
Now, we parameterize (8.2) by x(t) = cos t + 1 and z(t) = 2 sin t. Also, we
√ − cos t and 0 ≤ t ≤ 2π. Hence, we have x = − sin t, y (t) = sin t
obtain y(t) =
and z (t) = 2 cos t. Next, we calculate the line integral as follows:
yd x + zdy + xdz
C
0 √ √
= (−cost)(− sin t) + ( 2 sin t)(sin t) + (cos t + 1)( 2 cos t) dt
2π
√ √
0
= cos t sin t + 2+ 2 cos t dt
2π
√ √
0 √
1
= − cos 2t + 2t + 2 sin t
= −2 2π.
4 2π
8.3 Solved Problems 305
351. Compute the value of the line yd x + zdy + xdz, where C is the curve
C
of intersection of the two surfaces z = x y and x 2 + y 2 = 1, traversed once in a
direction that appears counterclockwise when viewed from high above the x y-plane.
Solution. A parametric equation of the curve of the intersection of the given surfaces
is x(t) = cos t, y(t) = sin t and z(t) = (1/2) sin 2t. Then, we obtain x (t) = − sin t,
y (t) = cos t and z (t) = (1/4) cos 2t. Therefore, we have
yd x + zdy + xdz
C
2π
1 1
= (sint)(− sin t) + ( sin 2t)(cos t) + (cos t)( cos 2t) dt
0 2 4
2π
cos 2t − 1 1
= + sin t cos2 t + cos t (1 − 2 sin2 t) dt
0 2 4
2π
1 1 1 1 1
= sin 2t − t + cos3 t + sin t − sin3 t
= −π.
4 2 3 4 6 0
−
→
352. Calculate the work done by the force field F(x, y, z) = (y − z) i + (z −
−
→ −
→
x) j + (x − y) k along the curve of intersection of the sphere x 2 + y 2 + z 2 = 4
and the plane z = y tan α, where 0 < θ < π/2. The path is transversed in a direction
that appears counterclockwise when viewed from high above the x y-plane.
x2 y2
+ = 1.
4 4 cos2 α
So, we can consider x = 2 cos θ, y = 2 cos α sin θ and z = 2 sin α sin θ. This means
−
→ −
→ −
→
that R(θ) = 2 cos θ i + 2 cos α sin θ j + 2 sin α sin θ k . It follows that R (θ) =
−
→ −
→ −
→
−2 sin θ i + 2 cos α cos θ j + 2 sin α cos θ k . Therefore, the work done is equal
to
2π
W = 2 cos α sin θ − 2 sin α sin θ, 2 sin α sin θ, 2 cos θ − 2 cos α sin θ ·
0
− 2 sin θ, 2 cos α cos θ, 2 sin α cos θ dθ
Therefore, we conclude that the line integral of F vanishes for any such straight line
segment.
354. Evaluate the line integral 3x yd x + (4x 2 − 3y)dy over the curve C con-
C
sisting of the line y = 2x + 3 from (0, 3) to (3, 9) and then the parabola y = x 2
from (3, 9)to (5, 25).
Solution. Fig. 8.1 shows the curve C composed of arcs C1 and C2 .
The arc C1 is the line segment. So, C1 can be represented parametrically by
x(t) = t and y(t) = 2t + 3 with 0 ≤ t ≤ 3. The arc C2 which is a part of the parabola
C2
9−
y = x2
C1
3−
x
3 5
y = 2x + 3
8.3 Solved Problems 307
from (3, 9) to (5, 25) can be represented parametrically by x(t) = t and y(t) = t 2
with 3 ≤ t ≤ 5. Applying the definition for each of arcs C1 and C2 , we have
3x yd x + (4x 2 − 3y)dy = 3t (2t + 3) + (4t 2 − 6t − 9)(2) dt
C1 C1
3 2
= 14t − 3t − 18)dt
0
3
14 3 3 2
117
= t − t − 18t
=
3 2 0 2
and
3x yd x + (4x 2 − 3y)dy = 3t 3 + 4t 2 − 3t 2 (2t) dt
C2 C2
5
5 4
5 1360
= 5t 3 dt = t
= .
3 4 3 2
Therefore, we have
117 1360 1477
3x yd x + (4x 2 − 3y)dy = + = .
C 2 2 2
where C is the square with vertices (1, 0), (0, 1), (−1, 0) and (0, −1), traversed
once in a counterclockwise direction.
Solution. First, we determine the equations of the segment lines AB, BC, C D and
D A in Fig. 8.2.
By easy computation we get
AB : y =1−x
BP : y = x +1
PQ : y = −x − 1
QA : y = x − 1.
B = (0, 1)
x
P = (−1, 0) A = (1, 0)
Q = (0, −1)
−1
1−10
1+1
= dx + dx
1 x + (1 − x) 0 −x + (x + 1)
0 1
1−1 1+1
+ dx + dx
−1 −x − (−x − 1) 0 x − (x − 1)
−1 1
= 2d x + 2d x = −2 + 2 = 0.
0 0
−
→ −
→ −
→
356. Let F(x, y, z) = x z i + 2y j + yz k be a vector field. Let C be a simple
closed path that bounds the plane 2x + 2y + z = 4 and coordinate planes. The ori-
entation is counterclockwise as shown in Fig. 8.3. Compute the line integral F.d R.
C
4
4t − t 2 −1 1 4 4
F.d R2 = 0, 4 − t, · 0, , t dt = − t 2 + 5t − 4 dt = .
C2 0 2 2 2 0 3
8.3 Solved Problems 309
C2
C3
y
P = (0, 2, 0)
C1
A = (2, 0, 0)
as desired.
357. Show that the value of the following integral is independent of the path and
evaluate it
e x sin yd x + e x cos ydy,
C
where Cis any sectionaly smooth curve from the point (0, 0) to the point (2, π/2).
Solution. Since
∂ x ∂ x
e sin y = e cos y = e x cos y,
∂y ∂x
−
→ −
→
it follows that e x sin y i + e x cos y j is a gradient, and hence the value of the integral
−
→ −
→
is independent of the path. If ∇U (x, y) = e x sin y i + e x cos y j , then
310 8 Line Integrals
∂U
(x, y) = e x sin y, (8.3)
∂x
∂U
(x, y) = e x cos y. (8.4)
∂y
From (8.3) we get U (x, y) = e x sin yd x = e x sin y + g(y). This implies that
∂U
(x, y) = e x cos y + g (y). (8.5)
∂y
From (8.4) and (362.) we conclude that g (y) = 0, which implies that g(y) = c0 , a
constant. So, we have U (x, y) = e x sin y + c0 . Consequently, using the fundamental
theorem of line integral we can write
π π
e x sin yd x + e x cos ydy = U 2, − U (0, 0) = e2 sin − e0 sin 0 = e2 .
C 2 2
−
→ −
→ −
→
358. Find the work done by F = (x 2 + y 2 ) i + (y 2 + x) j + ze z k over the
following paths from A = (1, 0, 0)to B = (1, 0, 1).
(1) The line segment x = 1, y = 0 , 0 ≤ z ≤ 1;
−
→ −
→ −→
(2) The helix R(t) = cos t i + sin t j + t/(2π) k , 0 ≤ t ≤ 2π;
(3) The x-axis from (1, 0, 0) to (0, 0, 0) followed by the parabola z = x 2 , y = 0from
(0, 0, 0) to (1, 0, 0).
Solution. Since
∂ ∂ 2 ∂ 2 ∂
(ze z ) = 0 = (y + x), (x + y) = 0 = (ze z ),
∂y ∂z ∂z ∂x
∂ 2 ∂ 2
(y + x) = 1 = (x + y),
∂x ∂y
∂U ∂U ∂U
= x 2 + y, = y 2 + x and = ze z . (8.6)
∂x ∂y ∂z
Then, from the first equation in (8.6) we get U (x, y, z) = (1/3)x 3 + yx + g(x, y),
which implies that
∂U ∂g
=x+ . (8.7)
∂y ∂y
From (8.7) and the second equation in (8.6) we conclude that ∂g/∂ y = y 2 , and so
g(y, z) = (1/3)y 3 + h(z). This yields that U (x, y, z) = (1/3)x 3 + yx + (1/3)y 3 +
8.3 Solved Problems 311
h(z). Taking the partial derivative from both sides of this equality relative to z gives
that
∂U
= h (z). (8.8)
∂z
From (8.8) and the third equation in (8.6) we obtain h (z) = ze z , and so h(z) =
ze z − e z + c0 . Therefore, we have
1 3 1
U (x, y, z) = x + yx + y 3 + ze z − e z + c0 .
3 3
Since F is conservative, it follows that the line integral does not depend on the path
taken from A to B. Therefore, the work done over each path in (1), (2) and (3) is
W = U (1, 0, 1) − U (1, 0, 0) = 1.
−
→ −
→ −
→
359. Show that the work done by a constant force field F = a i + b j + c k in
−→
moving a particle along any path from A to B is W = F · AB.
Solution. Suppose that A = (x1 , y1 , z 1 ) and B = (x2 , y2 , z 2 ). Since all partial deriva-
tives of a, b and c are zero, it follows that the force F is conservative. We find that
U (x, y, z) = ax + by + cz + c0 , the potential function. Hence, the work done by
the force in moving a particle along any path from A to B is equal to
W = U (x2 , y2 , z 2 ) − U (x1 , y1 , z 1 )
= (ax2 + by2 + cz 2 + c0 ) − (ax1 + by1 + cz 1 + c0 )
−→
= a(x2 − x1 ) + b(y2 − y1 ) + c(z 2 − z 1 ) = F · AB.
360. Find F(x, y) · d R,where
C
1
F(x, y) = ye x y + cos x, xe x y +
y2 + 1
and Cis the portion of the curve y = sin xfrom x = 0to x = π/2.
This shows that F is conservative. Now, we can use the fundamental theorem of
line integral. If F(x, y) = ∇U (x, y), by a simple calculation we obtain U (x, y) =
e x y + sin x + tan−1 y + c0 . Therefore, we have
π π
F(x, y) · d R = U , 1 − U (0, 0) = eπ/2 + .
C 2 4
312 8 Line Integrals
361. Let Cbe a curve represented by two parametric representations such that
where R1 : [a, b] → R3 and R2 : [c, d] → R3 are two distinct one to one differen-
tiable functions. Show that
(1) There is a function g : [c, d] → [a, b] such that R2(t) = R1 g(t);
(2) If R1 and R2 trace out Cin opposite direction, then F · d R1 = F · d R2 .
C C
If R1 and R2 trace out Cin same direction, then F · d R1 = − F · d R2 .
C C
−1
Solution. (1) It is enough to consider g(t) = R2 (t) . R1
(2) By the chain rule we have R2 (t) = R1 g(t) g (t). This implies that
d d
F · d R2 = F R2 (t) · R2 (t)dt = F R1 g(t) · R1 g(t) g (t)dt.
C c c
362. Let f be function of two variables xand y. Prove that the line integral
f (x, y)ds along the curve C with polar equation r = r (θ) (α ≤ θ ≤ β) is equal
C
to β
dr 2
f r cos θ, r sin θ r 2 + dθ.
α dθ
dx dr dy dr
= cos θ − r sin θ and = sin θ + r cos θ.
dθ dθ dθ dθ
P = (r, θ)
•
θ
•
O 1 2
Solution. The equation of the circle can be written by (x − 1)2 + y 2 = 1. So, the
circle has its center on the point (1, 0), see Fig. 8.4.
If P = (r, θ) is any point on the circle, the angle at P inscribed in the circle is
a right angle. Therefore, cos θ = r/2, or equivalently r = 2 cos θ. Now, by using
Problem 362. we calculate the integral as follows:
π/2
(x − y)ds = 2 cos2 θ − 2 sin θ cos θ 4 cos2 θ + 4 sin2 θdθ
C −π/2
π/2 2
=4 cos θ − sin θ cos θ dθ
−π/2
π/2
1 + cos 2θ
=4 − sin θ cos θ dθ
−π/2 2
1
π/2
1 1
= 4 θ + sin 2θ − sin2 θ
= 2π.
2 4 2 −π/2
C1
C2
C3
(x, y, z)
y
Solution. Suppose that the path C consists of three straight line segments;
C1 : R1 (t) = (t, y0 , z 0 ), x0 ≤ t ≤ x,
C2 : R2 (t) = (x, t, z 0 ), y0 ≤ t ≤ y,
C3 : R3 (t) = (x, y, t), z 0 ≤ t ≤ z.
Hence, we obtain R1 (t) = (1, 0, 0), R2 (t) = (0, 1, 0) and R3 (t) = (0, 0, 1). This
implies that
F R1 (t) · R1 (t) = f 1 (t, y0 , z 0 ), ,
F R2 (t) · R2 (t) = f 2 (x, t, z 0 ),
F R3 (t) · R3 (t) = f 3 (x, y, t).
Therefore, we have x
F · d R1 = f 1 (t, y0 , z 0 )dt,
C1 x0
y
F · d R2 = f 2 (x, t, z 0 )dt,
C2 y0
z
F · d R3 = f 3 (x, y, t)dt.
C3 z0
365. A particle moves along the smooth curve y = f (x) from (a, f (a)) to
(b, f (b)). The force moving the particle has constant magnitude k and always points
away from the origin. Show that the work done by the force is
8.3 Solved Problems 315
2 2
F · T ds = k b2 + f (b) − a 2 + f (a) .
C
−
→ −
→ −
→ −
→
Solution. We can write R(x) = x i + f (x) j , and then R (x) = i + f (x) j .
The force
k −
→ −
→
F(x, y) = (x i + y j )
x +y
2 2
has constant magnitude k and points away from the origin. Then, we have
ky f (x)
kx k x + f (x) f (x)
F(x, y) · R (x) = + = 2
x 2 + y2 x 2 + y2 x 2 + f (x)
2
d
=k x 2 + f (x) .
dx
Therefore, we obtain
d b 2
F · T ds = F · Rd x = x 2 + f (x)
k
C C a dx
2
b 2 2
= k x 2 + f (x)
= k b2 + f (b) − a 2 + f (a) ,
a
as desired.
− sin 2θ − 2 cos 2θ
u
= 4 lim e−θ
u→∞ 5 0
−u − sin 2u − 2 cos 2u 2 8
= 4 lim e + = .
u→∞ 5 5 5
−
→
367. Two-dimensional force field F is given by the equation F(x, y) = cx y i +
−
→
x 6 y 2 j , where c is a positive constant. This force acts on a particle which must
move from (0, 0) to the line x = 1 along a curve of the form y = ax b , where a > 0
and b > 0. Find a value of a (in terms of c) such that the work done by this force
is dependent of b.
−
→
Solution. Since y = ax b , then x can be used as a parameter. Let R(x) = x i +
−
→
ax b j . So, the work done is
1
−
→ → −
− → →
−
W = cax b+1 i + a 2 x 2b+6 j · i + abx b−1 j d x
0
1 ca b+2 a 3 b 3b+6
1
= cax b+1 + a 3 bx 3b+5 d x = x + x
0 b+2 3b + 6 0
ca a3b 3ca + a 3 b
= + = .
b + 2 3(b + 2) 3(b + 2)
√
Now, if we consider a = 3c/2, then the work done is equal to
368. Let F be a conservative force field such that F = −∇U . Suppose a particle
of constant mass m to move in this field. If Pand Q are two arbitrary points in space,
prove that
1 1
U (P) − mv 2P = U (Q) − mv 2Q ,
2 2
where v A and v B are the magnitude of the velocities of the particle at A and B,
respectively.
Solution. Newton’s second law of motion describes the relationship between an
object’s mass and the force needed to accelerate it. Newton’s second law is often
stated as F = m A, which means the force F acting on an object is equal to the mass
m of the object multiply its acceleration A. We can write F = m A = md 2 R/dt 2 .
This implies that
8.3 Solved Problems 317
2
dR d R d2 R m d dR
F· =m · 2 = .
dt dt dt 2 dt dt
Hence, we obtain
2
Q
m Q
d dR m 2
Q 1 1
F · dR = = v
= mv 2Q − mv 2P . (8.9)
P 2 P dt dt 2 P 2 2
1 2 1
U (P) − U (Q) = mv Q − mv 2P ,
2 2
and this completes the proof.
369. A curve
C is called closed if its terminal point is the same as initial point.
Prove that F · d R is independent of path if and only if F · d R = 0 for any
C C
closed path C.
Solution. Suppose that F · d R is independent of path, and let C be a closed curve.
C
We consider two different points P and Q on C, and split C into two curves C1 and
C2 with C1 going from P to Q along one part of C, and C2 going from Q to P along
the second part of C. Let R1 and R2 be parametrization of C1 and C2 , respectively.
Then, we have
F · dR = F · d R1 + F · d R2 = F · d R1 − F · d R2 = 0,
C C1 C2 C1 −C2
8.4 Exercises
Easier Exercises
mG
F(R) = − R,
R3
Harder Exercises
16. Prove
that a vector field F is conservative on a connected region R if and only
if F · d R = 0 for all closed curve C lying in R.
C
17. Evaluate y 2 d x + 3x ydy, where C is the boundary of the region between the
C
circles x 2 + y 2 = 1 and x 2 + y 2 = 4 in the upper half plane, traversed counter-
clockwise.
320 8 Line Integrals
18. Let f (x) be continuously differentiable on (−∞, ∞). Show that the vector field
−
→ −
→ −
→ −
→
F(x, y) = f (x 2 + y 2 )(x i + y j ) and G(x, y) = f (x y)(y i + x j ) are both
conservative. ∞
19. Let F = R/Rn for any n > 2, and suppose that A
= 0. Show that F·
A
d R taken along any path from A not passing through the origin and going out
indefinitely depends only on A.Evaluate the integral.
∞
20. What value should be assigned to F · d R, whereF = R/R2 , taken along
A
a path from A not passing through the origin and going out indefinitely?
21. Suppose that F and G are continuous on a simply connected open region R.
Show that
F · dR = G · dR
C C
∂P ∂Q
(x, y) = (x, y), for all (x, y) ∈ R.
∂y ∂x
−
→ −
→
(b) Verify that, in spite of (a), the vector field F(x, y)=P(x, y) i + Q(x, y) j
is not a gradient on R.
Hint: Integrate F over a circle of radius less than 1 centered at the origin.
23. A 160-lb man carries a 25-lb can of paint up a helical staircase that encircles a
silo with a radius of 20 ft. If the silo is 90 ft high and the man makes exactly
three complete revolutions climbing to the top, how much work is done by the
man against gravity?
Chapter 9
Multiple Integrals
There are many sums of the form (9.1). We are interested in what happens to these
Remanian sums converge as Δ → 0. The resulting limit is written as
n
lim f (xi , yi )ΔAi .
Δ→0
i=1
As Δ → 0 and the rectangle becomes narrow and short, their number n increases.
When a limit of the sum Sn exists, giving the same limiting value, no matter what
choices are made, then the function f is said to be integrable and the limit is called
the double integral of f over R, written as
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2023 321
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1_9
322 9 Multiple Integrals
n
lim f (xi , yi )ΔAi = f (x, y)d A. (9.2)
Δ→0
i=1 R
Now, we direct our attention to integration over regions R in the plane which are
between two graphs.
If f (x, y) is continuous on the vertically simple region R defined by the inequal-
ities a ≤ x ≤ b and g1 (x) ≤ y ≤ g2 (x), then
b g2 (x)
f (x, y)d A = f (x, y)d yd x.
a g1 (x)
R
If A is the area of a closed, bounded plane region R, then A = d A.
R
The average value of an integrable function f over a region R is
1
f (x, y)d A.
area of R
R
Mean value theorem for double integrals: Let f and g be continuous functions
on a closed bounded region R. If g is non-negative on R, then there exists a point
(ξ1 , ξ2 ) ∈ R for which
f (x, y)g(x, y)d xd y = f (ξ1 , ξ2 ) g(x, y)d xd y.
R R
We can define triple integrals with a Riemann sum in a way similar to double integrals.
Let f (x, y, z) be defined on a closed box
D = {(x, y, z) | a ≤ x ≤ b, c ≤ y ≤ d, p ≤ z ≤ q}.
Then, we have
n
f (x, y, z)d V = lim f (xi , yi , z i )ΔVi
Δ→0
S i=1
and the limit is called the triple integral of f over S. Furthermore, we have
b d q
f (x, y, z)d V = f (x, y, z)dzdyd x.
a c p
S
This integral is also equal to any of the other five possible orderings for the iterated
triple integral. Triple Integrals can also be used to represent a volume, in the same
way that a double integral can be used to represent an area. That is
f (x, y, z)d V = volume of S.
S
If f (x, y, z) is continuous on
then
b g2 (x) h 2 (x,y)
f (x, y, z)d V = f (x, y, z)dzdyd x.
a g1 (x) h 1 (x,y)
S
The linearity property, additive property and comparison theorem are valid for
triple integrals too.
Changes of variables in triple integrals: If f (x, y, z) is continuous on a region
S, and if S is the image of a region S in the uvw-space under the transformation
x = x(u, v, w), y = y(u, v, w) and z = z(u, v, w). Then
f (x, y, z)d xd ydz
S
∂(x, y, z)
= f x(u, v, w), y(u, v, w), z(u, v, w) dudvdw.
∂(u, v, w)
S
Let δ(x, y, z) be the density of an object occupying a region S in space (mass per
unit volume), then the integral over S gives the mass of the object, i.e.,
M= δ(x, y, z)d V.
S
M yz Mx z Mx y
x= , y= and z = .
M M M
Moments of inertia about the coordinate axes (second moments) are
Ix = (y 2 + z 2 )δ(x, y, z)d V, I y = (x 2 + z 2 )δ(x, y, z)d V
S S
Iz = (x 2 + y 2 )δ(x, y, z)d V.
S
where d(x, y, z) is the distance from the point (x, y, z) to the line .
or equivalently
π π π π
1
d xd y ≤ esin(x+y) d A ≤ e d xd y.
e −π −π −π −π
R
as desired.
372. Compute the double integral (1 + x − y)d A, where R = {(x, y) | |x −
R
y| < 2/3, 0 ≤ x ≤ 1, 0 ≤ y ≤ 1}.
The region R is symmetric with respect to the line y = x, whereas the function
f (x, y) = x − y changes sign under the reflection with respect to this line, i.e.,
f (x, y) = − f (y, x). This yields that the second integral in (9.3) is zero. On the
other hand, the second integral in (9.3) is the area of R, and so we obtain
1
2 8
(1 + x − y)d A = d A = 12 − = .
3 9
R R
e x+y
dA = e x+y
dA + e x+y
dA + e x+y
dA + e x+y d A
R
−1 2
R1
1 R22
R3
1 −1
R4
+ e x+y d yd x
−1 2
1 −2 1 2
= ex d x e y dy + ex d x e y dy
−2 2−2 2 −1 1 1 −1
+ ex d x e y dy + ex d x e y dy
1 −2 −1 −2
= (e−1 − e−2 )(e2 − e−2 ) + (e − e−1 )(e2 − e) + (e2 − e)(e2 − e−2 )
+(e − e−1 )(e−1 − e−2 ) = e4 + e−4 − e2 − e−2 .
374. Find by double integral the area enclosed by the ellipse x 2 /a 2 + y 2 /b2 = 1.
Solution. Look at Fig. 9.5. By the symmetry of the area, we can write A = 4 d A,
R
where R is the region bounded in the first quarter. So, we find that
b√1−x 2 /a 2
a
x2 4b a 2 a
A= d yd x = 4
b 1 − 2 dx = a − x 2d x
0 0 0 a a 0
4b x 2 a2 x a 4b a 2 π
= a − x2 + sin−1 = = 4ab.
a 2 2 a 0 a 2 2
330 9 Multiple Integrals
375. Find the value of the integral (x + 2y)d A, where R is the region bounded
R
by the parabolas y = 1 + x 2 and y = 2x 2 .
Solution. The parabolas intersect at (−1, 2) and (1, 2). The region is shown in Fig. 9.6.
We can write R = {(x, y) | − 1 ≤ x ≤ 1, 2x 2 ≤ y ≤ +x 2 }. Therefore, we have
1 1+x 2 1 1+x 2
(x + 2y)d A = (x + 2y)d yd x = (x y + y 2 ) 2 d x
−1 2x 2 −1 2x
R
1 32
= −3x 4 − x 3 + 2x 2 + x + 1 d x = .
−1 15
376. Find the value of the integral xd A, where R is the region outside of the
R
diamond and inside the circle in Fig. 9.7.
Solution. First, we determine the equations of line segments AB, BC, C D and D A.
We obtain
AB : x + y = 2 BC : x − y = −2
C D : x + y = −2 D A : x − y = 2.
9.5 Solved Problems 331
Finally, after a simple computation of the above iterative integrals, the sum of the
results is zero.
332 9 Multiple Integrals
Solution. The region of integration divides into two regions as shown in Fig. 9.8. So,
the sum of given integrals is equal to
3 3 3 6−y 3 6−y
f (x, y)d xd y + f (x, y)d xd y = f (x, y)d xd y.
0 y 0 3 0 y
Solution. The region of integration is shown in Fig. 9.9. We reverse the order of
integration. Then, we have
a y a a
em(a−x) f (x)d xd y = em(a−x) f (x)d yd x
0 0 a
0 x a
= yem(a−x) f (x) d x
0 a x
= (a − x)e m(a−x)
f (x)d x.
0
9.5 Solved Problems 333
is large?
sin x
380. Evaluate the integral d A, where R is the triangle {(x, y) | 0 ≤ x ≤
x
R
π, 0 ≤ y ≤ x}.
Solution. First, we try to evaluate the integral with respect to x. This yields that
π π
sin x sin x
dA = d xd y,
x 0 y x
R
but we cannot determine an indefinite integral sin x/x. Hence, we try doing the
integration with respect to y. Then, we obtain
334 9 Multiple Integrals
π x π sin x
x
sin x sin x
dA = d yd x = y dx
x 0 0 x 0 x 0
R π
= − cos x = 1 − (−1) = 2.
0
y 2 e−x d A, where R = {(x, y) | 0 ≤ y ≤ x}.
2
381. Compute the integral
R
Solution. We have
∞ x ∞ 1
2 x
2 −x 2 2 −x 2
y e dA = y e d yd x = y 3 e−x d x
0 0 0 3 0
R ∞ ∞
1 1
x 3 e−x d x = ue−u du
2
=
3 0 6 0
b b b
1 1
= lim ue−u du = lim − ue−u + e−u du
6 b→∞ 0 6 b→∞
0 0
1 −b −b
= lim − be − e + 1 = 1.
6 b→∞
2 ln x
382. Evaluate the integral I = (x − 1) 1 − e2y d yd x.
1 0
we can write
ln 2 2 ln 2 2y
e
I = (x − 1) 1 − e d xd y = −
2y − e y 1 + e2y dy
0 ey ln 2 0 2
1 ln 2 2y
=− e 1 + e2y dy + e y 1 + e2y dy.
2 0 0
To solve the first integral, we take u = e2y , and for the second integral, we put u = e y .
Thus, we have
2
1 √ 4
I =− 1 + udu + 1 + u 2 du
4
4 1
2
1 1
1
= − (1 + u)3/2 + u 1 + u 2 + ln 1 + u 2 + u
6
11 2√
1 3/2
1 √
1
√ √
= 2 − 53/2 + 2 5 + ln( 5 + 2) − 2 + ln( 2 + 1)
6 2
√ 2
1 3/2
1 √ √ 5 + 2
= 2 − 53/2 + 2 5 − 2 + ln √ .
6 2 2+1
9.5 Solved Problems 335
∞ x
xe−x /y
2
383. Evaluate the integral dyd x by changing the order of integra-
0 0
tion.
Now, we obtain
∞ ∞ a b
xe−x /y
xe−x /y
2 2
d xd y = lim d x dy lim
a→∞ 0
0 y a b→∞ y
b
y
lim − e−x /y dy
2
= lim
a→∞ 0 b→∞ 2 y
a y
−b2 /y y −y
= lim lim − e + e dy
a→∞ 0 b→∞ 2 2
a
1 1 a
= lim ye−y dy = lim −ye−y − e−y
2 a→∞ 0 2 a→∞ 0
1 1
= lim −ae−a − e−a + 1 = .
2 a→∞ 2
1 1
384. Evaluate the integral x max(x, y)d yd x.
0 0
2
Solution. First, we compute the integral |y − x 2 |dy. We can write
0
2 x2 2
|y − x |dy =
2 x2 − ydy + y − x 2 dy.
0 0 x2
336 9 Multiple Integrals
For the first integral we use the change of variable u = x 2 − y and for the second
integral we consider u = y − x 2 . This yields that
2 0 √ 2−x 2 √ 2 2
|y − x 2 |dy = − udu + udu = x 3 + (2 − x 2 )3/2 .
0 x2 0 3 3
4 π
= + .
3 2
386. Let S be the solid bounded by the cylinder x 2 + y 2 = 1 and the plane y + z = 1
and z = 0. Find the volume of S.
Solution. Let R = {(x, y) | x 2 + y 2 ≤ 1}. Then, the solid S lies above the region R
and below the graph z = 1 − y. The volume of S is equal to
√
1 1−x 2
V = (1 − y)d yd x = √ (1 − y)d yd x
−1 − 1−x 2
R
1
1
= 2 1 − x 2 d x = x 1 − x 2 + sin−1 x
−1 −1
π π
= sin−1 (1) − sin−1 (−1) = + = π.
2 2
387. Find the volume of the solid which is common to the cylinder x 2 + y 2 = 1 and
x 2 + z 2 = 1.
√
1 1−x 2
V = 1− x2 − − 1− x2 d yd x = √ 2 1 − x 2 d yd x
−1 − 1−x 2
R
1
1
16
= 2(1 − x ) + 2(1 − x ) d x = 4
2
(1 − x 2 )d x =
2
.
−1 −1 3
Solution. Suppose that R = [−1, 1] × [0, 4]. Then, the volume of the solid enclosed
by the z = 2 + x 2 + (y − 2)2 and x y-plane is
V1 = zd A.
R
V = V1 − V2 = 2 + x 2 + (y − 2)2 d yd x − 8
−1 0
1
40
88 64
= 4x 2 + dx − 8 = −8= .
−1 3 3 3
389. Evaluate the integral [x + y]d A, where
R
R = {(x, y) | 1 ≤ x ≤ 3, 2 ≤ y ≤ 5}.
5
Solution. Suppose that R = Ri , where
i=1
5
5
[x + y]d A = [x + y]d A = (i + 2)d A
R i=1 R i=1 R
i i
5
5
= (i + 2) dA = (i + 2)A(Ri )
i=1 Ri i=1
338 9 Multiple Integrals
=3 +4 + 5(2) + 6 +7 = 30.
3 2 2 2
390. Find the average value of the function f (x, y) = 4x on the region R between
the parabolas y = 3x − x 2 and y = x 2 − 2.
Solution. The region R is shown in Fig. 9.11. The x-bounds are determined by the
intersection of two parabolas y = 3x − x 2 and y = x 2 − 2. If we set x 2 − 2 = 3x −
x 2 , then we get x = 2. This implies that −1/2 ≤ x ≤ 2. The parabola y = x 2 − 2
is lower and y = 3x − x 2 is upper, and hence, we deduce that the y-bounds are
x 2 − 2 ≤ y ≤ 3x − x 2 . Now, we compute the area of the region. We have
2 3x−x 2 2
125
A(R) = d yd x = (3x − 2x 2 + 2)d x = .
−1/2 x 2 −2 −1/2 24
1
391. Find the average value of the function f (x) = cos(u 2 )du on the interval
x
[0, 1].
9.5 Solved Problems 339
Therefore, we obtain
1 1 1 u
f ave = cos(u 2 )dud x = cos(u 2 )d xdu
0 x 0 0
1 1
1 1
= u cos(u 2 )du = sin(u 2 ) = sin 1.
0 2 0 2
Solution. The area of the pool is 15 × 30 = 450 square ft. The average value of the
depth function f (x, y) can be computed as
340 9 Multiple Integrals
1
f ave = f (x, y)d A,
450
R
and the integral is equal to the volume of the pool and can be approximated using
sums. The volume is
15 30
V = 7 + 6 + 9 + 10 + 5 + 7 + 6 + 8 + 3 + 4 + 2 + 4 = 2775.
3 4
393. What region R in the x y-plane maximizes the value of
9 − x 2 − 2y 2 d A?
R
Solution. In order to maximize the integral, we need to determine the domain that
includes all points where the integrand is positive andexcludes all points where the
integrand is negative. These criteria are met by the points (x, y) such that 9 − x 2 −
2y 2 ≥ 0 or equivalently x 2 + 2y 2 ≤ 9, which is the ellipse x 2 + 2y 2 = 9 together
with its interior.
Solution. In order to minimize the integral, we need to determine the domain that
includes all points where the integrand is negative and excludes all points where the
integrand is positive. These criteria are met by the points (x, y) such that x 2 + y 2 −
25 ≤ 0 or equivalently x 2 + y 2 ≤ 25, which is the closed disk of radius 5 centered
at the origin.
395. If R = [0, 1] × [0, 1], express the double integral I = cosh(x y)d xd y as
R
a convergent series.
Solution. We have
1 1
1
sinh(x y) 1 sinh y
I = cosh(x y)d xd y = dy = dy.
0 0 y 0 0 y
R
∞
y 2n+1
Now, using the Maclaurin series sinh y = we obtain
n=0
(2n + 1)!
9.5 Solved Problems 341
∞
1
∞
1
1 y 2n+1 y 2n
I = dy = dy
0 y n=0 (2n + 1)! 0 n=0
(2n + 1)!
∞
y 2n+1 1 ∞
1
= = .
n=0
(2n + 1)!(2n + 1) 0 n=0 (2n + 1)!(2n + 1)
1 1
1
396. The double integral d xdy is an improper integral and could be
0 0 1 − xy
defined as the limit of double integrals over the rectangle [0, b] × [0, b] as b → 1− .
But if we expand the integrand as a geometric series, we can express the integral as
the sum of an infinite series. Show that
1 1 1 ∞
1
d xd y = .
0 0 1 − xy n=1
n2
Solution. Since |x y| < 1, by the formula for the sum of geometric series, we have
∞
1
= (x y)n .
1 − xy n=0
∞ 1
1 ∞
1 1
= n
x dx y dyn
=
n=0 0 0 n=0
n+1 n+1
∞
∞
1 1
= = .
n=0
(n + 1)2 n=1
n2
Then, we obtain
b b b b b b
2 2
0≤ f (x) d yd x + f (y) d yd x − 2 f (x) f (y)d yd x
a a a a a a
b b b b
2 2 b b
= f (x) d yd x + f (y) d xd y − 2 f (x)d x f (y)dy
a a a a a a
b b
2 b 2 b b b
= y f (x) d x + x f (y) dy − 2 f (x)d x f (x)d x
a a a a a a
b b
2
2 2 b
= (b − a) f (x) d x + (b − a) f (y) dy − 2 f (x)d x
a a a
b b
2
2 2 b
= (b − a) f (x) d x + (b − a) f (x) d x − 2 f (x)d x
a a a
b
2
2 b
= 2(b − a) f (x) d x − 2 f (x)d x ,
a a
399. Use a double integral to show that if f and g are continuous functions on
[a, b], then
b b
b
f (x)g(x)d x ≤ f (x)d x
2
g 2 (x)d x.
a a a
400. Show that if the function h is positive and continuous on [a, b], then
b b
1
h(x)d x d x ≥ b − a.
a a h(x)
√ 1
Solution. Let f (x) = h(x) and g(x) = . By Cauchy-Schwarts inequality,
h(x)
we obtain
b
b b
1 1
b−a = h(x) dx ≤ h(x)d x d x,
a h(x) a a h(x)
as desired.
2 −1
401. Evaluate the integral I = tan πx − tan−1 x d x by using the theory of
0
double integrals.
1 ln 5
= 2 tan−1 2π − 2 tan−1 2 − ln 1 + 4π 2 + .
2π 2
∞ ax
e − e−bx
402. Evaluate the integral I = d x by using the theory of double
0 x
integrals.
= lim e dy = lim e + dy
a t→∞ y 0 a t→∞ y y
b
1 b
= dy = ln b − ln a = ln .
a y a
403. Suppose that f (x) and g(x) are continuous for x ≥ 0. Their convolution is the
function x
( f g)(x) = f (t)g(x − t)dt.
0
Solution. We have
∞ x
−sx
( f g)(x) = e f (t)g(x − t)dt d x
0 0
∞ ∞
−sx
= f (t) e g(x − t)d x dt
0 t
∞ ∞
= f (t)e−st e−s(x−t) g(x − t)d x dt
0 t
∞ ∞
= f (t)e−st e−sy g(y)dy dt
0 0
∞ ∞
−sx −sy
= e f (x)d x e f (y)dy = L f (s) · L g (s).
0 0
m i = infimum of f in Ri = 0,
Mi = supremum of f in Ri = 1.
This shows that the sum of values of outer rectangular parallelepipeds is 1, and
the sum of volumes of inner rectangular parallelepipeds is 0. Therefore, the double
integral of f does not exist.
Solution. We have
⎧ 1
⎪
⎨
1 ydy if x is rational
f (x, y)dy = −1
−1 ⎪
⎩
0 if x is irrational.
1 1 1
This yields that f (x, y)dy = 0, and so f (x, y)d yd x = 0. Now, we show
−1 −1 −1
1 1
the repeated integral f (x, y)d xd y does not exist. For this, we fix y, say
−1 −1
y = 1, and define the function g on [−1, 1] by
1 if x is rational
g(x) =
0 if x is irrational,
1
and we know that such a function is not integrable. Thus, g(x)d x does not exist,
−1
1 1
and consequently, we cannot even talk about the repeated integral f (x, y)d xd y .
−1 −1
1 1/2
e−u du and B = e−u du. Evaluate the iterated
2 2
406. Suppose that A =
0 0
integral
1 x
e−y d yd x
2
I =2
−1/2 0
9.5 Solved Problems 347
−1/2 0 −1/2 0 0 0
1 1 1 −1/4 1 −1 1
=− B+ − e + A+ e −
2 2 2 2 2
1 1 −1/4 1 −1
=− B− e + A+ e .
2 2 2
π
√
b − cos x b + b2 − 1
(2) ln d x = π ln √ , a > 1 and b > 1.
0 a − cos x a + a2 − 1
2
I =
1
dx = 1 + u 2 du = 2 1
du.
y − cos x 1 − u2 y + 1 + (y − 1)u 2
y+
1 + u2
√ √
√ (y − 1)u2 = (y +√1) tan θ. This implies that y + 1 tan θ = y − 1u,
2 2
Now, let
and so y + 1 sec θdθ = y − 1du. This gives that
348 9 Multiple Integrals
2 1
I =√ y + 1 sec2 θdθ
y−1 y + 1 + (y + 1) tan θ 2
√
2 y+1 sec2 θ
= √ dθ
y − 1(y + 1) 1 + sec2 θ
2 2
= √ √ dθ = θ+C
y−1 y+1 y −1
2
2 −1 y−1
= tan u +C
y2 − 1 y+1
2 x y − 1
= tan−1 tan + C.
y2 − 1 2 y+1
π
1 π
Therefore, we conclude that dx = .
0 y − cos x y −1
2
(2) Taking the integral with respect to y from both sides of the equality in (1) from
a to b, we get
b π b
1 π
d xd y = dy. (9.4)
a 0 y − cos x a y −1
2
5 + 3 sin x
(2) ln d x = 2π ln .
−π 5 + 4 sin x 8
Solution. (1) Let −π < x < π. We consider the change of variable u = tan x/2.
Then, d x = 2du/(1 + u 2 ) and sin x = 2u/(1 + u 2 ). This gives that
9.5 Solved Problems 349
2
1
dx = 1 + u 2 du = 2
du
y + sin x 2u y(1 + u 2 ) + 2u
y+
1 + u2
2 1 2 1
=
y
1
2 1
=
y 1
2 y 2 − 1
2
u+ + 1− 2 u+ +
y y y y
⎛
⎞
1
⎜ y u+
2 y −1 ⎜ y ⎟ ⎟ 2 −1 y tan(x/2) + 1
= tan ⎝ = tan .
y y2 − 1 y2 − 1 ⎠ y2 − 1 y2 − 1
Therefore, we obtain
π 0 t1
1 2 1 1
dx = lim d x + lim dx
−π y + sin x y −1
2 t0 →−π t0 y + sin x t1 →π 0 y + sin x
2 π π
2π
= + = .
y2 −1 2 2 y2 − 1
(2) Taking the integral from both sides of the equality in part (1) with respect to
y, we get
b π b
1 2π
d xd y = dy.
a −π y + sin x a y2 − 1
Then, we have
√
2π b b+ b2 − 1
2π ln y + y2 − 1 = 2π ln √ . (9.7)
y2 − 1 a a+ a2 − 1
⎛5 ⎞ ⎛ ⎞
5 25
π
⎜
+ sin x
⎟ ⎜ 3 + 9 − 1⎟
ln ⎝ 3 ⎠ d x = 2π ln ⎜
⎝ ⎟.
⎠
−π 5 5 25
+ sin x + − 1
4 4 16
ln d x = 2π ln ,
−π 3 5 + 4 sin x 2
and so
π
4
9
5 + 3 sin x 3
ln d x = 2π ln − ln = 2π ln ,
−π 5 + 4 sin x 2 3 8
as claimed.
409. Show that
π/2
1 cos−1 y
(1) dx = , (0 ≤ y < 1);
0 1 + y cos x 1 − y2
(2) If 0 ≤ a < 1 and 0 ≤ b < 1, then
π/2
1 + b cos x 1 −1 2 −1 2
1 5π 2
(3) sec x ln 1 + cos x d x = .
0 2 72
Solution. (1) Taking u = tan x/2, we have d x = 2du/(1 + u 2 ) and cos x = (1 −
u 2 )/(1 + u 2 ). Hence, we can write
2
1
dx = 1 + u 2 du = 2
du
1 + y cos x 1−u 2 1 + u + y − yu 2
2
1+y
1 + u2
2 2 1
= du = du
(1 − y)u 2 + (1 − y) 1−y 1+y
u2 +
1−y
√ √ √
2 1−y −1 1−y 2 −1 1−y x
= √ tan √ u = tan √ tan .
1−y 1+y 1+y 1 − y2 1+y 2
Consequently, we obtain
π/2 √
1 2 1−y
dx = tan−1 √ . (9.9)
0 1 + y cos x 1 − y2 1+y
9.5 Solved Problems 351
dy = cos a − cos b ,
a 1 − y2 2
410. (Mean value theorem for double integrals). Let f be a continuous function on
a closed bounded region R. Prove that there exists (ξ1 , ξ2 ) ∈ R such that
352 9 Multiple Integrals
f (x, y)d A = f (ξ1 , ξ2 )A(R),
R
and so
1
m≤ f (x, y)d A ≤ M.
A(R)
R
∂2 F ∂2 F
(x, y) = (x, y) = f (x, y).
∂x∂ y ∂ y∂x
Use this fact to discuss the relationship between Fubini’s theorem and the equality
of mixed partial derivatives.
∂2 F
(x, y) = f (x, y).
∂ y∂x
In the reverse order, we first apply Fubini’s theorem and then the fundamental theorem
of calculus twice. Then, we have
9.5 Solved Problems 353
y x
F(x, y) = f (u, v)dudv,
c a
Fubini’s theorem is, in a sense, the integral version of the theorem on the equality of
mixed partial derivatives. If ∂ F/∂x, ∂ F/∂ y, ∂ 2 F/(∂x∂ y) and ∂ 2 F/(∂ y∂x) are all
continuous, then Fubini’s theorem and the fundamental theorem of calculus imply
that
x y 2 y x 2
∂ F ∂ F
(u, v)dvdu = (u, v)dudv
a c ∂x∂ y c a ∂x∂ y
y
∂F ∂F
= (x, v) − (a, v) dv = F(x, y) − F(x, c) − F(a, y) + F(a, c).
c ∂y ∂y
x y
∂2 F
A similar calculation of the iterated integral (u, v)dvdu gives the same
a c ∂ y∂x
result. Consequently, we have
x y
∂2 F x y
∂2 F
(u, v)dvdu = (u, v)dvdu.
a c ∂x∂ y a c ∂ y∂x
for all rectangles R. Since R is arbitrary, it follows that ∂ 2 F/(∂x∂ y) = ∂ 2 F/(∂ y∂x).
This shows how one may deduce the equality of mixed partial derivatives assuming
Fubini’s theorem has been proved.
412. Suppose that f has continuous second partial derivatives on the region R =
∂2 f
[0, 1] × [0, 1]. Determine (x, y)d A if f (0, 0) = 6, f (0, 1) = 3, f (1, 0) =
∂x∂ y
R
2 and f (1, 1) = 4.
354 9 Multiple Integrals
Solution. We have
1 1 1 1
∂2 f ∂ ∂ f
∂
(x, y)d A = (x, y) d xd y = (x, y) dy
∂x∂ y 0 0 ∂x ∂ y 0 ∂ y 0
R
1
d
1
= f (1, y) − f (0, y) dy = f (1, y) − f (0, y)
0 dy 0
∞
e−x
2
Solution. We apply the integration by parts in the indefinite integral. Then, we have
e−x e−x e−x
2 2 2
2 d x = − − dx
x(2x 2 + 1) x2
x 2 + 1/2
xe−x
2
e−x d x.
2
= 2 +2
x + 1/2
e−x d x =
2
2 d x = 2 π.
0
x 2 + 1/2 0
∞
416. Suppose that the integral f (x)d x converges. Prove that
0
∞
(1) the integral e−t x f (x)d x converges for any t > 0;
∞ 0 ∞
−t x
(2) lim e f (x)d x = f (x)d x.
t→∞ 0 0
Solution. (1) For any positive numbers a < b, by the second mean value theorem,
there is c ∈ [a, b] such that
b c
−t x −ax
e f (x)d x = e f (x)d x.
a a
c b
If a is sufficiently large, then f (x)d x is small, and so the integral e−t x f (x)d x
∞ a a ∞
is small. Since f (x)d x is convergent, by the above fact it follows that e−t x
0 0
f (x)d x is convergent.
(b) We represent the difference between the integrals in the form
∞ ∞
f (x)d x − e−t x f (x)d x
0 0
∞ ∞
a
1 − e−t x f (x)d x + f (x)d x − e−t x f (x)d x.
0 a a
If a is sufficiently large, then the last two integrals are small, for any t > 0. The first
integral can be made small when t → 0 for a fixed a.
356 9 Multiple Integrals
∞
sin x
417. Compute the integral √ d x.
0 x
So, we have
∞ ∞ ∞
1 2
√ (sin x)e−t x d x = √ e −t x
sin x e −x y 2
dy d x
0 x π 0 0
∞ ∞
2 sin x
=√ d x dy
π 0 0 e (t+y 2 )x
∞
2 1
=√ dy.
π 0 1 + (t + y 2 )2
∞
√
u2 −
2u + 1
4I = √ √ du
−∞ (u 2 − 2u + 1)(u 2 + 2u + 1)
∞ ∞
1 1 2π
= √ du = √ du = √ ,
−∞ u − 2u + 1
2 −∞ (u + 2/2) + 1/2
2 2
√
and so we conclude that I = π/(2 2). Consequently, we have
∞
sin x 2 π π
√ dx = √ √ = .
0 x π 2 2 2
9.5 Solved Problems 357
419. Let R be the plane region bounded by the line x = a and x = b, the x-axis
and the curve y = f (x) (a ≤ x ≤ b), where f is continuous and non-negative on
[a, b]. Show that the centroid of R is the point with coordinates
1 b
1 b 2
x= x f (x)d x and y = f (x) d x,
A a 2A a
b
where A = f (x)d x is the area of R.
a
Solution. First, we try to write xd A and yd A as iterated integrals. So, we can
R R
write b f (x) b
xd A = xdyd x = x f (x)d x,
a 0 a
R
f (x)
b
1 b 2
yd A = ydyd x = f (x) d x.
a 0 2 a
R
b f (x) b
Similarly, we have A = dA = d yd x = f (x)d x. Therefore, by
a 0 a
R
using the above results, we obtain
xd A yd A
1 b
1 b 2
x = x f (x)d x and y =
R R
= = f (x) d x.
A a 2A a
dA dA
R R
358 9 Multiple Integrals
420. Let be the line through the region with inclination θ, and let I be the moment
of inertia about of a plane region R. Show that I = Ix cos2 θ − 2J sinθ cos θ +
I y sin2 θ in terms of the moment of inertia Ix , I y and the quantity J = x yd A,
R
known as the product of inertia. You may suppose δ(x, y) = 1.
|x tan θ − y|
√ .
1 + tan2 θ
Solution. We have
2π e 2π e
I = r ln r 2 dr dθ = 2r ln r dr dθ
0 2 0 2
2π 2π
1 2 1 e 1 2 1 2
=2 r ln r − r 2 dθ = 2 e − e − 2 ln 2 + 1 dθ
0 2 4 2 0 2 4
= π(e2 − 8 ln 2 + 4).
1
422. Determine whether the improper double integral d xdy, where
x2 + y2 + 1
R
R = [0, ∞) × [0, ∞), is convergent or divergent.
9.5 Solved Problems 359
Next, we have
1 1 π
d xd y = lim d xd y = lim ln(n 2 + 1) = ∞,
x 2 + y2 + 1 n→∞ x 2 + y2 + 1 n→∞ 4
R Rn
423. Let p any number and R = (−∞, ∞) × (−∞, ∞). Prove that the double
integral
1
d xd y (9.11)
(1 + x + y 2 ) p
2
R
This implies that lim In = lim π ln(1 + n 2 ) = ∞. So, if p = 1, then the integral
n→∞ n→∞
(9.11) is divergent.
sin2 (x − y) 1
≤ .
1−x −y 2 2 1 − x 2 − y2
1
By Problem 423, since p = 1/2, we know that d xd y is conver-
1 − x 2 − y2
R
gent. So, by the comparison test, we conclude that the integral (9.12) is convergent.
425. If p is any positive and R = {(x, y) | x 2 + y 2 ≤ 1}, evaluate the double integral
1
d xd y. (9.13)
(1 − x 2 − y 2 ) p
R
If p = 1, then we have
2π 1−
r r
I = dr dθ = dr dθ
(1 − r )
2 p
0 0 (1 − r 2 ) p
R 2π
(1 − r )1− p 1− π
= dθ = 1 − (2 − 2 )1− p .
0 −2(1 − p) 0 1− p
If p = 1, then
2π 1−
r r
I = dr dθ = dr dθ
1−r 2
0 0 1 − r2
R 2π
1 1−
= − ln(1 − r 2 ) dθ = π ln(2 − 2 ).
0 2 0
Solution. Since the region is symmetric, we can restrict the integration to the first
quadrant and multiply the result by 2. So, we have
π/2 1+cos θ π/2 1+cos θ
I =2 (sin θ)r dr dθ = (sin θ)r 2 dθ
0 1 0 1
π/2
−(1 + cos θ)3 π/2 4
= sin θ(1 + cos θ) − sin θ dθ =
2
+ cos θ = .
0 3 0 3
427. Find the area lying inside the circle r = a sin θ and outside the cardioid r =
a(1 − cos θ) (see Fig. 9.16), using the double integration.
π/2 a sin θ
r 2 a sin θ
π/2
r dr dθ = dθ
0 a(1−cos θ) 0 2 a(1−cos θ)
1 π/2 2 2
= − 2 cos2 θ + 2 cos θ dθ = a 2 1 − .
2 0 4
9.5 Solved Problems 363
Solution. The region of integration consists of all points in the first quadrant above
the circle x 2 + y 2 = 1 and under y = x; see Fig. 9.17. Using polar transformation,
we obtain π/4 sec θ π/4 sec θ
1
I = r dr dθ = dr dθ
0 1 r 0 1
π/4 √ π
= ln | sec θ + tan θ| − θ = ln( 2 + 1) − .
0 4
y
Solution. To solve this problem, we use polar coordinates. We rewrite the function
in terms of r and θ. Since x = r cos θ and y = r sin θ, it follows that
y
r sin θ
Now, using the line segments to determine the bounds of r and θ, we observe that
1 ≤ r ≤ 2 and −π/4 ≤ θ ≤ π/4. Hence, the requested integral is equal to
364 9 Multiple Integrals
π/4 2 π/4
2
I = θr dr dθ = θdθ r dr
−π/4 1 −π/4 1
π/4
1 2
3 π 2
1 π2
= θ2 r 2 = − = 0.
2 −π/4 2 1 4 16 16
where R is the parallelogram with vertices A = (π, 0), B = (2π, π, C = (π, 2π)
and D = (0, π).
AB : x − y = π, C D : x − y = −π,
BC : x + y = 3π, D A : x + y = π.
u = x + y and v = x − y. (9.14)
It follows that the curves forming the bounded of R correspond to the values u = π,
u = 3π, v = −π and v = π, as shown in Fig. 9.18. Solving the system of equations
(9.14) for x and y in terms of u and v, we get
u+v u−v
x= and y = ,
2 2
so that
∂x ∂x 1 1
∂(x, y) ∂u ∂v 2
= 2 1
= =− .
∂(u, v) ∂ y ∂y 1
1 2
−
∂u ∂v 2 2
Therefore, we have
π 3π π 3π
1 1 3
I = v sin ududv = v dv
2
sin udu = π .
−π π 2 −π π 3
9.5 Solved Problems 365
1 1−x y
1
d xd y = (e − 1).
x+y
e
0 0 2
x2
432. Compute the double integral I = d A, where R is the region bounded
y4
R
by parabolas x y = 2, x y = 4 and the parabolas y 2 = x, y 2 = 3x; see Fig. 9.20.
Solution. We introduce the new variables u = x y and v = y 2 /x, then the curves
forming the boundary of R correspond to the value u = 2, u = 4, v = 1 and v = 3.
Moreover, we have
∂u ∂u
y x
∂(u, v) ∂x
∂y 2
3y
= = y2 = = 3v.
∂(x, y) ∂v ∂v − 2y x
∂x ∂y x x
Solution. Taking u = x y and v = y/x, we observe that the curves forming the
bounded of R correspond to the values u = 1, u = 2, v = 1 and v = 4. Since
9.5 Solved Problems 367
∂u ∂u
y x
∂(u, v) ∂x ∂y
2y
= = 1 = x = 2v,
∂(x, y) ∂v
∂v − y
∂x ∂y x2 x
2 (y+4)/2
y 3 (2x − y)e(2x−y) d xd y.
2
434. Evaluate the double integral I =
0 y/2
Solution. We introduce the new variables x = u + v/2 and y = v. Then, the Jacobian
is
∂x ∂x 1
∂(x, y) ∂u
∂v 1
= = 2 = 1.
∂(u, v) ∂ y
∂y
0 1
∂u ∂v
The boundaries of the region in uv-plane are u = 0, u = 2, v = 0 and v = 2. Hence,
we get
2 2 2 2
2 2
I = v 3 (2u)e4u dudv = v 3 dv 2ue4u du
0 0 0 0
1 4 2 1 4u 2 2
= v e = e16 − 1.
4 0 4 0
435. Evaluate the double integral I = cos(3x 2 + y 2 )d A, where R is the ellip-
R
tical region defined by x 2 + y 2 /3 ≤ 1.
√
Solution. We use the change of variables x = r cos θ and y = 3r sin θ. The Jacobian
is equal to
∂x ∂x
cos θ −r sin θ √
∂(x, y) ∂r ∂θ
= √
= √ = 3r.
∂(r, θ) ∂y ∂y 3 sin θ 3r cos θ
∂r ∂θ
368 9 Multiple Integrals
So, we have
√
2π 1 √ 2π
3 π sin(3)
cos(3r )( 3r )dr dθ =
2
sin(3)dθ = √ .
0 0 0 6 3
y − x
437. Find
√ √ the area of the region in the first quadrant that is bounded by the curve
4
x/a + 4 y/b = 1, where a and b are positive numbers.
9.5 Solved Problems 369
Solution. We introduce the new variables x = ar cos8 θ and y = br sin8 θ. The Jaco-
bian of this transformation is
∂x ∂x
a cos8 θ b sin8 θ
∂(x, y) ∂r ∂θ
= =
∂(r, θ) ∂ ∂ 7
y y −8ar sin θ cos θ 8br cos θ sin θ
7
∂r ∂θ
as desired.
1 4−a−x 2 4−x 2 −y
4
439. Find the value of a such that I = dzdyd x = .
0 0 a 15
1 4−a−x 2 1
1 2
4−a−x 2
I = (4 − x 2 − y − a)d yd x = (4 − x 2 − a)y − y dx
0 0 0 2 0
1
1 1 1
= (4 − a − x 2 )2 − (4 − a − x 2 )2 d x = (4 − a − x 2 )2 d x
0 2 2 0
1 1
1 2 1
1
= (4 − a)2 − 2x 2 (4 − a) + x 4 d x = (4 − a)2 x − x 3 (4 − a) + x 5
2 0 2 3 5 0
1 2 1
= (4 − a)2 − (4 − a) + .
2 3 5
Now, we set
1 2 1
4
(4 − a)2 − (4 − a) + = .
2 3 5 15
In this region, x takes all values between 0 and 1. For each fixed x between 0 and 1,
(y, z) takes all values in
Rx = {(y, z) | 0 ≤ z ≤ y 2 , x ≤ y ≤ 1}.
√
f (x, y, z)d xd ydz = f (x, y, z)dzdyd x.
0 z 0 0 x 0
1 1−z 1−z
441. For the triple integral f (x, y, z)d xdydz, express an iterative
0 0 0
integral in which the integration is performed in the order dzdyd x.
S = {(x, y, z) | 0 ≤ z ≤ 1, 0 ≤ y ≤ 1 − z, 0 ≤ x ≤ 1 − z}
= {(x, y, z) | x, y, z ≥ 0, x + z ≤ 1, y + z ≤ 1}.
9.5 Solved Problems 371
In this region, x takes all values between 0 and 1. For each fixed x between 0 and 1,
(y, z) takes all values in
Rx = {(y, z) | y, z ≥ 0, z ≤ 1 − x, y + z ≤ 1}.
Figure 9.23 is a sketch of Rx . Looking at this figure, for each fixed y between 0 and
x, we observe that z runs from 0 to 1 − x, and for each fixed y between x and 1, we
find z runs from 0 to 1 − y. Therefore, we deduce that the integral in the new order
is 1 x 1−x 1 1 1−y
f (x, y, z)dzdyd x + f (x, y, z)d xd ydz.
0 0 0 0 x 0
a z y
442. Express f (x)d xdydz as a simple integral.
0 0 0
372 9 Multiple Integrals
z y
Solution. First, we consider the innermost double integral f (x)d xd y. This
0 0
is over a triangle with x from 0 to y, and y from 0 to z. If we change the order of
integration, then we have
z y z z z
f (x)d xd y = f (x)d yd x = f (x)(z − x)d x.
0 0 0 x 0
Solution. In order to minimize the integral, we need the domain to include all the
points where the integrand is negative and to exclude all points where it is positive.
These conditions imply that 2x 2 + 3y 2 + z 2 − 4 ≤ 0 or 2x 2 + 3y 2 + z 2 ≤ 4. This
is a solid ellipsoid centered at the origin.
Solution. In order to maximize the integral, we need the domain to include all the
points where the integrand is positive and to exclude all points where it is negative.
√ that 3 − x − y − z ≥ 0 or 3 ≥ x + y + z . This is a
2 2 2 2 2 2
These conditions imply
solid sphere of radius 3 with center (0, 0, 0).
This implies that the absolute value of the Jacobian is 1/10. Now, it is easy to compute
the volume of the solid. We obtain
4 5 3
1
V = dV = dwdvdu = 6.
0 2 −2 10
S
2
x y2 z2
Solution. Let x = au, y = bv and z = cw. Then, it is easy to check that the Jacobian
is equal to abc. So, we have
I = abc(u 2 + v 2 + w 2 )dudvdw,
S
b3 b 3
4π 1 4π −1 2π 2
= lim du = lim tan u = .
3 b→∞ 0 1 + u2 3 b→∞ 0 3
√ √
1 1−x 2 1+ 1−x 2 −y 2 5/2
I = √ √ x 2 + y2 + z2 dzdyd x.
−1 − 1−x 2 1− 1−x 2 −y 2
Solution.
√ Note that√x runs from −1 to 1. For each fixed x in that range, we have
− 1 − x 2 ≤ y ≤ 1 − x 2 , which implies that x + y ≤ 1. Also,
2 2
for each fixed
(x, y) with x + y ≤ 1, we have 1 − 1 − x − y ≤ z ≤ 1 + 1 − x 2 − y 2 ,
2 2 2 2
449. Find the volume of a parallelepiped whose base is a rectangle in the z = 0 plane
given by 0 ≤ y ≤ 2 and 0 ≤ x ≤ 1, while the top side lies in the plane x + y + z = 3.
Solution. The parallelepiped is shown in Fig. 9.24. The z limits for the iterated integral
are from 0 to 3 − x − y (the value of z on the plane). The y limits are from 0 to 2
and the x limits are from 0 to 1. If V cubic units is the required volume, then
1 2 3−x−y 1 2
V = dzdyd x = (3 − x − y)d yd x
0 0 0 0 0
1
= (4 − 2x)d x = 3.
0
450.Let S be the “ice cream cone” (see Fig. 9.25) bounded below by
z = 3x 2 + 3y 2 and above by x 2 + y 2 + z 2 = 4. Find the volume of S.
9.5 Solved Problems 375
= 2π − cos + cos 0 = + 1 π.
6 3 3 2
376 9 Multiple Integrals
451. Find the volume and the centroid of the region S that is bounded above by the
sphere ρ = a and below the cone ϕ = m, where 0 < m < π/2.
Mx y 3
z= = a(1 + cos m).
V 8
x + y + z = 4 and x +
2 2 2 2
452. Find the mass of the solid bounded by the spheres
y 2 + z 2 = 9 if the volume density at any point is k x 2 + y 2 + z 2 kg/m3 .
Solution. The mass of the solid is M = k x 2 + y 2 + z 2 d V , where S is the region
S
bounded by x 2 + y 2 + z 2 = 4 and x 2 + y 2 + z 2 = 9. To evaluate the integral, we use
spherical coordinates. Then, we obtain
3 2π π 3 2π π
M= kρ3 sin ϕdρdθdϕ = k ρ3 dρ dθ sin ϕdϕ
2 0 0 2 0 0
34 − 24
Solution. The mass is the integral of density over the region. So, we have
1 1 y−x 1 1
x(y − x)2
M= x zdzdyd x = d yd x
0 x 0 0 x 2
1 1
x(1 − x) 1 3 1
1
= dx = (x − 3x 2 + 3x 3 − x 4 )d x = .
2 0 3 6 0 120
Solution. Note that the height above the x y-plane of a point (x, y, z) is the function
f (x, y, z) = z. Since there is rotational symmetry in x and y but not z, we evaluate
the integrals in cylindrical coordinates. We have
2π 4 16−r 2 4
V (S) = dV = r dzdr dθ = 2π r (16 − r 2 )dr
0 0 0 0
S
r 4 4
= 2π 8r 2 − = 128π
4 0
and
2π 4 16−r 2 4 z 2
16−r 2
zd V = zr dzdr dθ = 2π r dr
0 0 0 0 2 0
S
4
2048π
=π (16 − r 2 )2 r dr = .
0 3
x2 y2 z2
+ + = 1. a, b, c > 0.
a2 b2 c2
9.5 Solved Problems 379
Solution. We must find V = d xd ydz, where
S
x2 y2 z2
S = (x, y, z) | 2 + 2 + 2 ≤ 1 .
a b c
We introduce the new variables x = au, y = bv and z = cw. Then, the Jacobian is
∂x ∂x ∂x
∂u ∂v ∂w a 0 0
∂(x, y, z) ∂y ∂y ∂ y
= = 0 b 0 = abc.
∂(u, v, w) ∂u ∂v ∂w
0 0 c
∂z ∂z ∂z
∂u ∂v ∂w
Hence, we conclude that the requested volume V is equal to
V = abc dudvdw,
S
458. In each of the following cases, describe the solid S in terms of the cylindrical
coordinates.
(1) Let S be the solid that is bounded by the z = x 2 + y 2 and z = 36 − 3x 2 − 3y 2 ;
(2) Let S be the solid that lies within the cylinder x 2 + (y − 1)2 = 1 below the
paraboloid z = x 2 + y 2 and above the plane z = 0;
(3) Let D denote the torus generated by revolving the circle {(x, z) | (x − 2)2 + z 2 =
1} about the z-axis. Let S be the solid that is bounded above by the surface D
and below by z = 0.
S = {(r, θ, z) | 0 ≤ θ ≤ 2π, 0 ≤ r ≤ 3, r 2 ≤ z ≤ 36 − 3r 2 }.
S = (r, θ, z) | 0 ≤ θ ≤ π, 0 ≤ r ≤ 2 sin θ, 0 ≤ z ≤ r 2 }.
380 9 Multiple Integrals
(3) The projection of the solid S on the x y-plane is the region between the circles
r = 1 and r = 3. The angle θ runs from 0 to 2π and assume that the cross section
of the solid is perpendicular to the x y-plane, corresponding to a fixed θ. The cross
section is a circle which is shown in Fig. 9.26.
The equation of the circle can be considered as (r − 2)2 + z 2 = 1 for 1 ≤ r ≤ 3.
Therefore, we have
S = {(r, θ, z) | 0 ≤ θ ≤ 2π, 1 ≤ r ≤ 3, 0 ≤ z ≤ 1 − (r − 2)2 }.
459. Find I = z d xdydz, where S is described by 0 ≤ z, x 2 + y 2 ≤ b2 , x 2 +
S
y 2 + z 2 ≤ a 2 and 0 ≤ b ≤ a.
Solution. The domain is like a cylindrical can with a spherical cap at one end. We
calculate the integral in cylindrical coordinates. Since x 2 + y 2 = r 2 , it follows that
r 2 + z 2 = a 2 . Consequently,
√ the domain of S can be described by 0 ≤ θ ≤ 2π, 0 ≤
r ≤ b and 0 ≤ z ≤ a 2 − r 2 . Therefore, we obtain
√
2π b a 2 −r 2 2π b
1
I = zr dzdr dθ = r (a 2 − r 2 )dr dθ
0 0 0 0 0 2
2πdθ b
1 2 1 2 2 1 4 b 1
= (a r − r 3 )dr = π a r − r = πb2 (2a 2 − b2 ).
0 0 2 2 4 0 4
Solution. (1) We have |x yz| < 1 except at the point (1, 1, 1). So, according to the
formula for the sum of a geometric series, we have
∞
1
= (x yz)n .
1 − x yz n=1
∞
1 1 1
= x dxn
y dyn n
z dz
n=0 0 0 0
∞
1 ∞
1 1 1
= = .
n=0
n+1 n+1 n+1 n=1
n3
(2) We have | − x yz| < 1 except at the point (1, 1, 1). So, according to the formula
for the sum of a geometric series, we have
∞
1
= (−x yz)n .
1 + x yz n=1
∞
1 1 1
= (−1) n
x dxn n
y dy n
z dz
n=0 0 0 0
∞
(−1)n ∞
1 1 1
= (−1)n = .
n=0
n+1 n+1 n+1 n=1
n3
S = {(x, y, z) | x, y, z ≥ 0 x + y + z ≤ 1}.
1
Solution. (1) Suppose that I (m, n) = x m (1 − x)n d x. Then, by integration by
0
parts, we obtain
1
−x m (1 − x)n−1 1 (1 − x)n−1
I (m, n) = + mx m−1 dx
n+1 0 0 n+1
1
m
= x m−1 (1 − x)n+1 d x
n+1 0
1
m(m − 1)
= x m−2 (1 − x)n+2 d x
(n + 1)(n + 2) 0
m(m − 1) . . . 1 m!n!
= ... = = .
(n + 1)(n + 2) . . . (n + m + 1) (n + m + 1)!
9.6 Exercises
Easier Exercises
2 0 (x + y)2 8. e x d xd y;
0 y
4 2 1 cos−1 y
4. sin(π y )d yd x;
3
0
√
x
9. esin x d xd y;
0 0
0 2 πy
π/2 2 sin θ
5. cos d xd y; 10. r 2 cos θdr dθ.
−4 −y/2 4x 0 0
15. cos d A, where R is the trapezoidal region with vertices (1, 0),
y+x
R
(2, 0), (0, 2) and (0, 1);
16. Use double integration to find the area of the region in the first quadrant bounded
by the parabola y 2 = 4x, the circle x 2 + y 2 = 5 and the x-axis by two methods:
(a) integrate first with respect to x; (b) integrate first with respect to y. Compare
the two methods of solutions.
17. Find by two methods the volume of the solid below the plane 3x + 8y + 6z = 24
and above the region in the x y-plane bounded by the parabola y 2 = 2x, the line
384 9 Multiple Integrals
21. Use polar coordinates to find the area A of the region R enclosed by the curve
(x 2 + y 2 )2 = 2x 3 . Also, find the centroid (x, y) of the region R.
Evaluate each of the following double integrals by making a suitable change of
variables.
22. (1 + 3x 2 )d A, where R is bounded by the lines x + y = 1, x + y = 2 and by
R
the curves y − x 3 = 0, y − x 3 = 1;
√
y−x
23. d A, where R is the square with vertices (0, 2a), (a, a), (2a, 2a) and
x+y
R
(a, 3a) with a > 0;
24. (x + y)d A, where R is bounded by x 2 + y 2 = x + y;
R
x2 y2
25. 1− − d A, where R is bounded by the ellipse x 2 /a 2 + y 2 /b2 = 1;
a2 b2
R
26. (9x 2 + 4y 2 )d A, where R is the region in the first quadrant bounded by the
R
ellipse 9x 2 + 4y 2 = 1;
27. e(x+y)/(x−y) d A, where R is the trapezoidal region with vertices (1, 0), (2, 0),
R
(0, −2) and (0, −1).
Evaluate each of the following triple integrals over the specified solid region by
converting it to an appropriate iterated integral.
9.6 Exercises 385
28. (x 2 ye z + ze y )d V , where S = [0, 1] × [1, 2] × [0, 2];
S
29. (1 + x + y + z)−3 d V , where S is bounded by the plane x + y + z = 1 and
S
by the coordinate planes;
30. d V , where S is the region bounded by the cylinders x 2 + z = 1 and y 2 +
S
z = 1 and the x y-plane;
√
e x +y +z d V , where S is enclosed by the sphere x 2 + y 2 + z 2 = 9 in the
2 2 2
31.
S
first octant;
32. y cos(x + z)d V , where S is the region bounded by the cylinder x = y 2 and
S
the planes x + z = π/2, y = 0 and z = 0;
33. (x 2 + 2x y)d V , where S = {(x, y, z) | |2x y| ≤ z ≤ 1 − x 2 − y 2 };
S
1 √
1−x 2 √1−x 2 −y 2
(x 2 + y 2 )dzdyd x
0 0 0
Harder Exercises
48. Compute the domain D f of the function f (x, y) = 4 − x 2 + y 2 and then
compute the integral f (x, y)d xd y.
Df
49. Let n and m be positive integers. Prove that if x n y m d A = 0, where R is
R
bounded by an ellipse x 2 /a 2 + y 2 /b2 = 1, then at least one of the numbers n
and m is odd.
50. Suppose that f (a) = 0. Express
b y
b b
3
in terms of f (x)d x and f (x) d x.
a a
51. If 0 = f (a) ≤ f (x) and f (x) ≤ 1 for a ≤ x ≤ b, prove that
9.6 Exercises 387
b
3 b 2
f (x) d x ≤ f (x)d x .
a a
where F(u) is the area of the region between the curves f (x, y) = a and
f (x, y) = u.
Hint: Partition the region R by level curves of the function f .
54. Prove that if f (x, y, z) is continuous in R and for any subregion D of R,
f (x, y, z)d V = 0,
S
then f (x, y, z) = 0 in R.
55. Use spherical coordinates to find the volume of a solid bounded by the given
surfaces.
(a) (x 2 + y 2 + z 2 )3 = 3x yz;
(b) (x 2 + y 2 + z 2 )2 = a 2 (x 2 + y 2 − z 2 ) with a > 0.
56. Describe the solid with 0 ≤ ρ ≤ 1 − cos θ and find its volume.
57. Use the following steps to show that if (x, y) is not at the origin or on the negative
real axis, then
y
−1 −1
T (x, y) = x + y , 2 tan
2 2
x + x 2 + y2
is undefined.
60. Let f be defined on the rectangle R = [1, 2] × [1, 4] as follows:
(x + y)−2 y if x ≤ y ≤ 2x
f (x, y) =
0 otherwise.
1 1 1
=− y(a − y) f yy (x, y)d xd y − x(a − x) f x x (x, a) + f x x (x, 0) d x.
2 4 0
R
66. A function f is said to have spherical symmetry if it depends on the distance to the
it can be expressed in spherical coordinates as f (x, y, z) =
origin only, that is,
g(ρ), where ρ = x 2 + y 2 + z 2 . Show that
b
f (x, y, z)d V = 2π ρ2 g(ρ)dρ
a
S
where S is the region between the upper concentric hemispheres of radii a and b
centered at the origin, with 0 < a < b and f a spherical function defined on S.
67. Let S be the region between the upper concentric hemispheres of radii a and b
centered at the origin and situated in the first octant, where 0 < a < b. Consider
f a function defined on S whose form in spherical coordinates is f (x, y, z) =
b
g(ρ) cos ϕ. Show that if h(a) = h(b) and k(ρ)dρ = 0, then
a
π2
1
71. Evaluate d A, where n is an integer and R is the region bounded
(x 2 + y 2 )n/2
R
by the circles with center the origin and radii a and b with 0 < a < b. For what
n does the integral have a limit as a → 0+ ?
values of
1
72. Evaluate d A, where n is an integer and R is the region
(x 2 + y 2 + z 2 )n/2
S
bounded by the spheres with center the origin and radii a and b with 0 < a < b.
For what values of n does the integral have a limit as a → 0+ ?
390 9 Multiple Integrals
−
→ −
→ −
→
73. If A, B and C are constant vectors, R is the position vector x i + y j + z k , and
S is given by the inequalities 0 ≤ A · R ≤ a, 0 ≤ B · R ≤ b and 0 ≤ C · R ≤ c,
show that
(abc)2
(A · R)(B · R)(C · R)d V = .
8 A · (B × C)|
S
that is, the flux of F across S equals the integral of div F over the region T bounded
by S.
Stokes’ theorem: Let S be a piecewise smooth surface bounded by a piecewise
smooth simple closed curve C, and choose a unit normal N to S. Let C be traversed
in the positive direction (the direction induced by N ), and let F = ( f, g, h) be a
continuously differentiable vector field on S. Then
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2023 391
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1_10
392 10 Surface Integrals
F · dR = (curl F) · N dσ,
C
S
that is, the circulation of F around C equals the flux of curl F across S. Stokes’ the-
orem can be extended to an oriented surface S that has one or more holes (Fig. 10.2),
in a way analogous to the extension of Green’s theorem: The surface integral over
S of the normal component of ∇ × F equals the sum of the line integrals around all
the boundary curves of the tangential component of F, where the curves are to be
traced in the direction induced by the orientation of S.
Surface integral: If R is the shadow region of a surface S defined by the equation
F(x, y, z) = c and g is a continuous function defined at the points of S, then the
integral of g over S is the integral
∇ F
g(x, y, z) d A,
|∇ F · V |
R
The area of the surface F(x, y, z) = c over a closed and bounded plane region R is
∇ F
AS = d A,
|∇ F · V |
R
There exist similar formulas for the case where the surface S is a graph of a continu-
ously differentiable function defined on a region in other coordinate planes. In order
to obtain these formulas, it is enough to replace the integrand (10.1) by
∂ y 2 ∂ y 2
+ +1
∂x ∂z
√
Solution. Let P(x, y) = 1 + x 3 and Q(x, y) = 2x y. Then, we have ∂ P/∂ y = 0
and ∂ Q/∂x = 2y. Now, using Green’s theorem the line integral is equal to
∂Q ∂P 1 3x
Pd x + Qdy = − dA = 2yd A = 2ydyd x = 3.
C ∂x ∂y 0 0
R R
463. Compute y 3 d x + 3x ydy, where C is the boundary of the semi-annular
C
region R in the upper half-plane between the circles x 2 + y 2 = 4 and x 2 + y 2 = 16,
see Fig. 10.3.
= − cos θ
r 3
= .
0 3 2 3
464. Let C be the boundary of a region R on which Green’s theorem holds. Use
Green’s theorem to calculate:
(1) f (x)d x + g(y)dy;
C
(2) ayd x + bxdy, where a and b are constant.
C
10.3 Solved Problems 395
Solution. (1) Since P(x, y) = f (x) and Q(x, y) = g(y), it follows that ∂ P/∂ y =
∂ Q/∂x = 0. This gives that
∂Q ∂P
f (x)d x + g(y)dy = − d xd y = 0.
C ∂x ∂y
R
(2) Since P(x, y) = ay and Q(x, y) = bx, it follows that ∂ P/∂ y = a and
∂ Q/∂x = b. Hence, we have
∂Q ∂P
ayd x + bxdy = − = (b − a)d xd y = (b − a)R(A),
C ∂x ∂y
R R
find a.
Solution. By the assumption of the problem, we can apply Green’s theorem. Taking
P(x, y) = u y (x, y) and Q(x, y) = u x (x, y) we get
u y d x − u x dy = − u x x (x, y) − u yy (x, y) d xd y
C
R
=− u x x (x, y) + u yy (x, y) d xd y = 0.
R
467. Evaluate the area of the region enclosed by the simple closed curve x 2/3 +
y 2/3 = 1.
396 10 Surface Integrals
Solution. We can parameterize the curve by x(t) = cos3 t and y(t) = sin3 t with
0 ≤ t ≤ 2π. Now, the required area is equal to
2π 2π
1 3 3 3
A= −yd x + xdy = sin t cos tdt =
2 2
sin2 2tdt = π.
2 C 2 0 8 0 8
468. Let C be any piecewise smooth simple closed in the counterclockwise direction.
Show that
−yd x + xdy
= 2π.
C x 2 + y2
∂P ∂Q y2 − x 2
(x, y) = (x, y) = 2 ,
∂y ∂x (x + y 2 )2
if (x, y) = (0, 0). Now, let C be a circle centered at (0, 0) and transverse once in
the clockwise direction, which is small enough to be enclosed by C. Then P and Q
are continuously differentiable and satisfy the condition ∂ Q/∂x = ∂ P/∂ y on the
region R between C and C . Consequently, we can write
∂Q ∂P
Pd x + Qdy + Pd x + Qdy = − d A = 0,
C C ∂x ∂y
R
by the version of Green’s theorem for two boundary curves. This implies that
Pd x + Qdy = − Pd x + Qdy = Pd x + Qdy,
C C −C
469. Suppose that all the necessary derivatives exist and are continuous. Show that
if f (x, y) satisfies the Laplace equation
∂2 f ∂2 f
+ = 0,
∂x 2 ∂ y2
10.3 Solved Problems 397
∂f ∂f
then dx − dy = 0 for all closed curve C to which Green’s theorem
C ∂y ∂x
applies.
∂P ∂2 f ∂Q ∂2 f
= and =− 2.
∂y ∂y 2 ∂x ∂x
∂P ∂f ∂g ∂Q ∂f ∂g
=g + f and =g + f .
∂y ∂y ∂y ∂x ∂x ∂x
∂Q ∂P ∂ f ∂f ∂g ∂g
− =g − + f − .
∂x ∂y ∂x ∂y ∂x ∂y
Solution. Let P1 P2 be the segment line from P1 to P2 . Then the equation of this
segment line is y1 − y2
y = mx + y2 − x2 .
x1 − x2
Now, we compute the line integral xdy − yd x. We can write
P1 P2
398 10 Surface Integrals
x2
y1 − y2
xdy − yd x = mx − mx − y2 − x2 d x
P1 P2 x1 x1 − x2
y1 − y2
= y2 − x2 (x1 − x2 ) = x1 y2 − y1 x2 .
x1 − x2
where A(R) is the area enclosed by the simple closed polygonal path P1 P2 P3 . . .
Pn P1 . Now, the result follows from (10.2) and (10.3).
472. Evaluate the line integral (x 2 sin2 x − y 3 )d x + (y 2 cos2 y − y)dy, where
C
C is the closed curve consisting of x + y = 0, x 2 + y 2 = 25 and y = x and lying in
the first and fourth quadrant.
Solution. Suppose that R is the region enclosed by C and let P(x, y) = x 2 sin2 x −
y 3 and Q(x, y) = y 2 cos2 y − y. Then, we have ∂ P/∂ y = −3y 2 and ∂ Q/∂x = 0.
Hence, we can write
(x 2 sin2 x − y 3 )d x + (y 2 cos2 y − y)dy = 3y 2 d xd y
C
R
π/4 5 π/4 5
= 3r 3 sin2 θdr dθ = sin2 θdθ 3r 3 dr
−π/4 0 −π/4 0
1
π/4 3
5 3π 3
1
= θ − sin 2θ
r4
= − (625).
2 4 −π/4 4 0 16 8
473. Use Problem 471 to find the area enclosed by the quadrilateral with vertices
(1, −1), (3, −2), (5, 1) and (2, 6).
10.3 Solved Problems 399
1
(x1 y2 − x2 y1 ) + (x2 y3 − x3 y2 ) + (x3 y4 − x4 y3 ) + (x4 y1 − x1 y4 )
2
1 1
= (−2 + 3) + (3 + 10) + (30 − 2) + (−2 − 6) = (1 + 13 + 28 − 8) = 17.
2 2
474. Let A be the area and x the x-coordinate of the centroid of a region R that is
bounded by a piecewise smooth simple closed curve C in the x y-plane. Show that
1 1
x dy = −
2
x yd x = x 2 dy − x yd x = Ax.
2 C C 3 C
x = =
R R R
= ,
A
δ(x, y)d A dA
R R
475. Let I y be the moment of inertia about the y-axis of the region in Problem 474.
Show that
1 1
x dy = − x yd x =
3 2
x 3 dy − x 2 yd x = I y .
3 C C 4 C
400 10 Surface Integrals
Compute the flux integral curl F · d S using Stokes’ theorem.
S
Fig. 10.4 A
light-bulb-shaped region
10.3 Solved Problems 401
Solution. The boundary C of the surface S is defined by (3 sin θ, 3 cos θ, 4). Note
that C is oriented clockwise when viewed from above By Stokes’ theorem we have
curl F · N dσ = F · dR
C
S
2π
= 3 cos θ, −3 sin θ, 32 + 9 sin2 θ) · (3 cos θ, −3 sin θ, 0)dθ = 18π.
0
Solution. We have
(∇ × F) · N dσ = (∇ × F) · N dσ + (∇ × F) · N dσ. (10.4)
S S1 S2
Since S1 and S2 are joined by the simple closed curve C, each of the integral on the
right side of (10.4) is equal to a circulation integral on C. Note that for one surface the
circulation is counterclockwise, and for the other surface the circulation is clockwise.
Since the the integrands are same, it follows that (∇ × F) · N dσ = 0.
S
479. Among all smooth simple closed curves in the plane, oriented counterclock-
wise, find the one along which the work done by
1 1 3 −
→ −
→
F(x, y) = x2 y + y i +x j
4 3
is greatest.
402 10 Surface Integrals
∂Q ∂P 1
curl F = − =1− x 2 + y2 ,
∂x ∂y 4
which is positive in the interior of the ellipse (1/4)x 2 + y 2 = 1. The work done is
1
W = F · dR = 1 − x 2 − y 2 d xd y.
C 4
R
Solution. First, we find the boundary of S. Indeed, we need to determine where the
plane intersects z = 5 − x 2 − y 2 . If we put 1 = 5 − x 2 − y 2 , then x 2 + y 2 = 4. This
means that the boundary of S is the circle of radius 2, centered at (0, 0) and lying in
the plane z = 1. We denote the boundary of S by C. Let R(t) = (2 cos t, 2 sin t, 1)
with 0 ≤ t ≤ 2π, be a parametrization of C. Now, by Stokes’ theorem we have
2π
curl F · d S = F · ds = F R(t) · R (t)dt
C 0
S
2π
= 1, −12 cos t sin t, 64 cos3 t sin3 t · (−2 cos t, 2 cos t, 0) dt
0
2π
2π 24
→ −
→ −
i j k
A × R =
a b c
x y z
and
− →
→ i
−
→
j
−
k
∂ ∂ ∂
∇ × (A × R) =
= (2a, 2b, 2c) = 2 A.
∂x ∂y ∂z
bz − cy cx − az ay − bx
(1) Suppose that the flux of F through any closed surface is 0. What does this tell
us about the values of the constants a, b, c and d?
(2) Suppose that the line integral of F around any closed curve is 0. What does this
tell us about the values of the constants a, b, c and d?
Solution. (1) If the flux of F through any closed surface is 0, then by divergence
theorem, the vector field must have zero divergence. It follows that ∇ · F = 0. This
gives that a = 0, but it does not tell us anything about b, c or d.
404 10 Surface Integrals
(2) If the line integral of F around any closed curve is 0, then the vector field has
curl equal to zero everywhere. We have
−
→ −
→ −
→
∇ × F = (3 − c) i + (5 − d) j + (1 − b) k .
485. Let C be the curve obtained by intersection the plane z = x and the cylinder
x 2 + y 2 = 1, oriented counterclockwise when viewed from the above. Suppose that
S be the inside of this ellipse, oriented with the upward pointing normal. If F =
(x, z, 2y), verify Stokes’ theorem.
= − sin t + t − t + sin 2t
= −π.
2 2 4 0
On the other hand, since the elliptical disk is a graph over the unit disk in the x y-
plane, we can parameterize it as R(x, y) = (x, y, x), where x 2 + y 2 ≤ 1. It is easy
to check that curl F = (1, 0, 0) and Rx × R y = (−1, 0, 1). So, we conclude that
curl F · d S = (1, 0, 0) · (−1, 0, 1)d xd y = − d xd y = −π.
S S S
10.3 Solved Problems 405
As we see the results of the two integrals F · d R and curl F · d S are same.
C
S
−
→ −
→
486. Use Stokes’ theorem to compute F · d R, where F = x 2 y i − x y 2 j +
C
−
→
z 3 k , and C is the curve of intersection of the plane 3x + 2y + z = 6 and the cylinder
x 2 + y 2 = 4, oriented clockwise when viewed from above.
Solution. Assume that S is the part of the plane 3x + 2y + z = 6 that lies inside the
cylinder x 2 + y 2 = 1, oriented downward. This yields that C is the boundary of S.
We have
−
→ −
→ − →
i j k
∂ ∂ ∂
−
→
curl F =
= (−y 2 − x 2 ) k .
∂x ∂ y ∂z
x 2 y −x y 2 z 3
−
→ −
→ −
→
Solution. Indeed, we have R(u, v) = (u + v) i + (u − v) j + (1 + 2u) k , where
0 ≤ u ≤ 2 and 0 ≤ v ≤ 1. Hence, we have
=2 3 (1 + 4u)dudv = 2 3 (u + 2u 2 )
dv = 20 3.
0 0 0 0
488. Use Stokes’ theorem to compute F · ds, where F = (z 2 , y 2 , x) and C is the
C
triangle with vertices (1, 0, 0), (0, 1, 0) and (0, 0, 1) with counterclockwise rotation.
Solution. We have
− →
→ −
→ −
j k
∂ ∂ ∂
−
→
∇ × F =
= (1 − 2z) j .
∂x ∂ y ∂z
z2 y2 x
We consider two vectors on the plane. The vector from (1, 0, 0) to (0, 1, 0) is given by
A = (−1, 1, 0). The vector from (1, 0, 0) to (0, 0, 1) is given by B = (−1, 0, 1). This
gives that N = A × B = (1, 1, 1). Hence, we deduce that the equation of the plane is
x + y + z = 1. Now, a parametrization of this plane is R(u, v) = (u, v, 1 − u − v),
where 0 ≤ u ≤ 1 and 0 ≤ v ≤ −u + 1. In addition, we have Ru = (1, 0, −1) and
Rv = (0, 1, −1).So, we get Ru × Rv = (1, 1, 1). Finally, using Stokes’ theorem we
obtain
F · ds = (∇ × F) · d S = (0, 2z − 1, 0) · d S
C
S S
1 −u+1
= 0, 2(1 − u − v) − 1, 0 · (1, 1, 1)dvdu
0 0
1 −u+1 1
−u+1
= (1 − 2u − 2v)dvdu = (v − 2uv − v 2 )
du
0 0 0 0
1 1 1
= (−u + 1) − 2u(−u + 1) − (−u + 1) du
2
(u 2 − u)du = − .
0 0 6
489. Let C be a curve with length L and F be vector field such that F ≤ M.
Prove that
F · ds
≤ M L .
C
10.3 Solved Problems 407
≤ |F R(t) · R (t)|dt
C a a
b b
≤ F R(t) R (t)dt ≤ M R (t)dt = M L .
a a
Solution. The hemisphere is shown in Fig. 10.5. Solving the equation of the sphere
for z and setting this equal to f (x, y) we obtain f (x, y) = a 2 − x 2 − y 2 . If σ is
the measure of the area of the surface, then we have
σ= f x2 (x, y) + f y2 (x, y) + 1d xd y
R
x2 y2
= + + 1d xd y
a2 − x 2 − y2 a2 − x 2 − y2
R
a
= d xd y.
a2 − x 2 − y2
R
Note that the boundary of the region R is the circle x 2 + y 2 = a, where f x and f y are
not defined on it. Now, the double integral can be evaluated by an iterated integral in
polar coordinates as follows:
408 10 Surface Integrals
Fig. 10.6 The surface obtained by rotating the curve r = cos u, z = sin 2u and −π/2 ≤ u ≤ π/2,
around the z-axis
b 2π
a r
σ = lim− √ r dθdr = 2πa lim− √ dr
b→a 0 0 a −r
2 2 b→a a − r2
2
b
= 2πa lim− − a 2 − r 2
= 2πa lim− − a 2 − b2 + a = 2πa 2 .
b→a 0 b→a
491.
Suppose that F is tangent to the closed surface S of a region T . Prove that
div Fd V = 0.
T
as claimed.
492. Let S be the surface obtained by rotating the curve r = cos u, z = sin 2u and
−π/2 ≤ u ≤ π/2, around the z-axis, see Fig. 10.6. Use the divergence theorem to
find the value of the region inside of S.
Solution. We want to compute the integral d V , where T is the region inside of
T
S. By the divergence theorem, we have
10.3 Solved Problems 409
dV = F · d S,
T S
−
→
where F is any vector field whose divergence is 1. If we consider F = z k , then
−
→
dV = z k · d S.
T S
−
→
In the next step, we determine the surface integral z k · d S. A parametrization
S
of the surface is x = cos u cos θ, y = cos u sin θ and z = sin 2u, where 0 ≤ θ ≤ 2π
and −π/2 ≤ u ≤ π/2. Therefore, we have
− →
→ − → −
i j k
−
→ −
→ →
−
i j k
∂x ∂ y ∂z
d S =
∂θ ∂θ ∂θ
∂x ∂ y ∂z
− sin u cos θ − sin u sin θ 2 cos 2u
∂u ∂u ∂u
= 2 cos u cos 2u cos θ, 2 cos u cos 2u sin θ, cos u sin u dtdθ.
Therefore, we have
π/2
−
→ 2π
z k · dS = (sin 2u) cos u sin ududθ
0 −π/2
S
π/2
π2
= 2π sin 2u cos u sin udu = .
−π/2 2
493. Let T = [0, 1] × [0, 1] × [0, 1]. Verify the divergence theorem for the region
T boundary S oriented outward and the vector field F = (2x, 3y, 2z).
−
→ −
→
and the unit normal vectors to each face is N2 = −N1 = k , N4 = −N3 = i and
−
→
N6 = −N5 = j . Next, we can write
F · N dσ
S
=− 2zdσ + 2zdσ − 2xdσ + 2xdσ − 3ydσ − 3ydσ
S1 S2 S3 S4 S5 S6
1 1 1 1 1 1
=0+ 2d xd y + 0 + 2dydz + 0 + 3d xdz = 2 + 2 + 3 = 7.
0 0 0 0 0 0
Note that we have plugged in the equation of the plane into the integrand.
∂f ∂f
(a, b) = −2ab − 2b2 + 9b and (a, b) = −a 2 − 4ab + 9a.
∂a ∂b
495. Let S be the sphere x 2 + y 2 + (z − 1)2 = 9. Find the unit outward normal
vector to the surface S and evaluate the surface integral
I = x 2 sin y + y cos2 x + (z − 1)(y 2 − z sin y) dσ.
S
10.3 Solved Problems 411
where F(x, y, z) = x sin y, cos x, y 2 − z sin y . Moreover, we have
∂ ∂ ∂
div F = , , · x sin y, cos x, y 2 − z sin y = sin y + 0 − sin y = 0.
∂x ∂ y ∂z
496. Use the divergence theorem to calculate F · N dσ, where
S
→ y3
− −
→ −
→
F(x, y, z) = z 2 x i + + tan z j + (x 2 z + y 2 ) k
3
Since
∂ 2 ∂ y3 ∂ 2
div F = (z x) + + tan z + (x z + y 2 ) = x 2 + y 2 + z 2 ,
∂x ∂y 3 ∂z
Consequently, we obtain
2π π 13π
F · N dσ = F · N dσ − F · N dσ = + = .
5 4 20
S S S
−
→ −
→ −
→
Solution. Taking F(x, y, z) = 2y i + 3z j − x k we obtain
− →
→ −
→ −
j k
∂ ∂ ∂
−
→ − → −
→
∇ × F =
= −3 i + j − 2 k ,
∂x ∂ y ∂z
2y 3z −x
−
→ −
→ − →
and N = (2 i + 2 j + k )/3. So, we have
where dσ is the area of the region enclosed by C on the plane S, that is, 2x +
S
2y + z = 2.
498. Green’s first formula: Suppose that f and g are scalar functions with contin-
uous first and second-order partial derivatives through a region T that is bounded
by a closed piecewise smooth surface S. Show that
f ∇g · N dσ = f ∇ 2 g + ∇ f · ∇g d V. (10.5)
S T
Solution. We apply the divergence theorem to the field F = f ∇g. Then, we obtain
f ∇g · N dσ = ∇ · f ∇gd V
S T
∂g −
→ ∂g −
→ ∂g −
→
= ∇· f i + f j + f k dV
∂x ∂y ∂z
T
∂ 2 g ∂ f ∂g ∂2 g ∂ f ∂g ∂2 g ∂ f ∂g
= f + + f + + f + dV
∂x 2 ∂x ∂x ∂ y2 ∂y ∂y ∂z 2 ∂z ∂z
T
2
∂ g ∂2 g ∂ 2 g ∂ f ∂g ∂ f ∂g ∂ f ∂g
= f + + 2 + + + dV
∂x 2 ∂ y2 ∂z ∂x ∂x ∂y ∂y ∂z ∂z
T
= f ∇ 2 g + ∇ f · ∇g d V.
T
499. Green’s second formula: With the assumption in Problem 498, show that
f ∇g − g∇ f · N dσ = f ∇ 2 g − g∇ 2 f d V.
S T
Solution. Interchanging the role of f and g in (10.5), we obtain the following similar
formula
g∇ f · N dσ = g∇ 2 f + ∇g · ∇ f d V. (10.6)
S T
Solution. Since S is a closed surface, we can use the divergence theorem. We have
1 ∂ 2 1 ∂ ∂
∇·F = r (2 + sin θ) + r sin θ cos θ + (3z)
r ∂r r ∂θ ∂z
1
= (2r )(2 + sin2 θ) + (cos2 θ − sin2 θ) + 3
r
= 4 + 2 sin2 θ + cos2 θ − sin2 θ = 5.
10.4 Exercises
Apply Green’s theorem in evaluating the line integral of F along the indicated curve
C oriented in the counterclockwise direction.
1. F · d R, where F(x, y) = (x 2 , 20x y), and C is a closed curve formed by
C √
y = x and y = x 2 ;
2. F · d R, where F(x, y) = (3y − esin x , 7x + y 4 + 1), where C is the circle
C
x 2 + y 2 = 9;
3. F · d R, where F(x, y) = (x 2 , e x−y ), and C is a a parallelogram with vertices
C
(0, 0), (1, 0), (2, 1) and (1, 1).
Evaluate the given surface integral.
4. (x + y + z)dσ, where S is the cube in the first octant bounded by the coor-
S
dinate planes and planes x = 1, y = 1 and z = 1;
10.4 Exercises 415
5. (x 2 y 2 + x 2 z 2 + y 2 z 2 )dσ, where S is the part of the cone z = x 2 + y 2 cut
S
off by the cylinder x 2 + y 2 = 2x.
6. Let R be the region enclosed by a simple closed piecewise smooth curve C. Let
F, Fx and Fy be continuous on an open set containing R. Show that
Fx d xd y = Fdy and Fy d xd y = − Fd x.
C C
R R
7. Let R be the region enclosed by a simple closed smooth curve C. Show that
Area of R = xdy = − yd x.
C C
−
→
9. Verify that Stokes’ theorem is true for the vector field F(x, y, z) = x 2 i +
−
→ −
→
y 2 j + z 2 k , where S is the part of the paraboloid z = 1 − x 2 − y 2 that lies
above the x y-plane and S has upward orientation.
10. Let S be the upper hemisphere x 2 + y 2 + z 2 = 1, z ≥ 0.
y−
→ y−
→
(a) Find F such that curl F = xe i − e j ;
2 y
(b) Evaluate x e − ye y dσ.
S
15. Find the area of the portion S of the cylinder x 2 + y 2 = 2y that lies inside the
sphere x 2 + y 2 + z 2 = 4.
−→ √ −
→ −
→
16. Consider the parameterized surface S: R(u, v) = u 2 i + 2uv j + v 2 k .
Find the area of the portion of the surface S that lies inside the unit ball
x 2 + y 2 + z 2 ≤ 1.
17. Use the divergence theorem to calculate the surface integral F · d S, where
S
−
→ −
→ −
→
F(x, y, z) = x 3 i + y 3 j + z 3 k and S is the surface of the solid bounded by
the cylinder x 2 + y 2 = 1 and the planes z = 0 and z = 2.
18. Let f (x, y, z) = (x 2 + y 2 + z 2 )−1/2 . Show that the clockwise circulation of the
field F = ∇ f around the circle x 2 + y 2 = a 2 in the x y-plane is zero
−
→ −
→
(a) by taking R(t) = a cos t i + a sin t j , 0 ≤ t ≤ 2π and integrating F · d R
over the circle;
(b) by applying Stokes’ theorem.
19. Show that the curl of
−y − → x −
→ −
→
F(x, y, z) = i + 2 j +z k
x 2 + y2 x + y2
is not zero if C is the circle x 2 + y 2 = 1 in the x y-plane. (the theorem does not
apply here because the domain of F is not simply connected. The field F is
not defined along the z-axis so there is no way to contract C to a point without
leaving the domain of F.)
Harder Exercises
−
→ −
→ −
→
20. If A is a constant vector, R = x i + y j + z k , and S is an oriented, smooth
surface with a simple, closed, smooth, positively oriented boundary curve C,
show that
2 A · d S = (A × R) · d R.
C
S
21. Let F be a vector field from R3 to R3 with continuous first partial derivatives. If
div F = 0, prove F = curlG for some vector field G.
10.4 Exercises 417
−
→ −
→ −
→
22. Find F · N dσ, where F(x, y, z) = x i + y j + z k and S is the outwardly
S
oriented surface shown in Fig. 10.8 (the boundary surface of a cube with a unit
corner cube removed).
23. A particle moves along the smooth curve from (a, f (a)) to (b, f (b)). The force
moving the particle has constant magnitude k and always points away from the
origin. Show that the work done by the force is
2 1/2 2 2 1/2
F · T dσ = k b2 + f (b) − a + f (a) .
C
29. Let T be a convex region in R3 whose boundary is a closed surface S and let N
be the unit normal vector to S. Let F and G be two continuously differentiable
vector fields such that
1. Apostol, T.M.: Calculus. Vol. I: One-variable Calculus, with an Introduction To Linear Algebra.
Second edition Blaisdell Publishing Co. Ginn and Co., Waltham, Mass.-Toronto, Ont.-London
(1967)
2. Apostol, T.M.: Mathematical Analysis. Addison-Wesley Publishing Company (1975)
3. Bartle, R.G.: The Elements of Real Analysis, 2nd edn. Wiley (1976)
4. Buck, R.: Creighton. 3rd edn. Waveland Pr Inc, Advanced calculus (2003)
5. Duren, W.L.: Calculus and Analytic Geometry. Xerox College Pub. (1972)
6. Ellis, R., Gulick, D.: Calculus with Analytic Geometry, 5th edn. Holt Rinehart & Winston
(1998)
7. Kuhfittig, P.: Technical Calculus with Analytic Geometry, Boston. Brooks/Cole, Cengage
Learning, MA (2013)
8. Leithold, L.: The Calculus with Analytic Geometry. Harper & Row, Publishers (1981)
9. Morris, C.C., Stark, R.M.: Fundamentals of Calculus. Wiley (2015)
10. Rudin, W.: Principles of Mathematical Analysis. International Series in Pure and Applied
Mathematics, 3rd edn. McGraw-Hill Book Co., New York-Auckland-Dsseldorf (1976)
11. Silverman, R.A.: Calculus with Analytic Geometry. Prentice-Hall, Inc. (1985)
12. Simmons, G.F.: Calculus with Analytic Geometry, 2nd edn. McGraw-Hill Education (1996)
13. Stewart, J.: Calculus, 7th edn. Cengage Learning (2012)
14. Thomas, G.B., Finney, R.L.: Calculus and Analytic Geometry. Addison Wesley Publishing
Company (1995)
15. Trench, W.F.: Advanced Calculus. Harper & Row, New York (1978)
© The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer 419
Nature Singapore Pte Ltd. 2023
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1
Index
© The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer 421
Nature Singapore Pte Ltd. 2023
B. Davvaz, Vectors and Functions of Several Variables,
https://doi.org/10.1007/978-981-99-2935-1
422 Index
R
Radius of curvature, 70 U
Range, 103 Unit binormal vector, 69
Rational parametrization, 77 Unit normal vector, 69
Real valued function of n variable, 103 Unit tangent vector, 69
Removable discontinuity, 109 Unit vector, 2
Representation of linear transformations by
matrices, 266
Rose, 51 V
Rotation free, 269 Vector, 1
Ruling, 5 Vector field, 263
Vector function, 65
Vector projection, 3
S Vectors in Rn , 104
Saddle point, 217 Velocity, 68
424 Index
W Z
Wave equation, 151 Zero vector, 1
Wilson lot size formula, 206
Work, 299