Professional Documents
Culture Documents
Ultivariable and Ector Alculus: MVC - Musa - CH00.indd 1 12/9/2014 2:51:15 PM
Ultivariable and Ector Alculus: MVC - Musa - CH00.indd 1 12/9/2014 2:51:15 PM
Ultivariable and Ector Alculus: MVC - Musa - CH00.indd 1 12/9/2014 2:51:15 PM
Vector Calculus
Sarhan M. Musa
David A. Santos
This publication, portions of it, or any accompanying software may not be reproduced in any
way, stored in a retrieval system of any type, or transmitted by any means, media, electronic dis-
play or mechanical display, including, but not limited to, photocopy, recording, Internet postings,
or scanning, without prior permission in writing from the publisher.
Publisher: David Pallai
Mercury Learning and Information
22841 Quicksilver Drive
Dulles, VA 20166
info@merclearning.com
www.merclearning.com
(800) 232-0223
The publisher recognizes and respects all marks used by companies, manufacturers, and develop-
ers as a means to distinguish their products. All brand names and product names mentioned in
this book are trademarks or service marks of their respective companies. Any omission or misuse
(of any kind) of service marks or trademarks, etc. is not an attempt to infringe on the property
of others.
Chapter 3 383
3.1 Differential Forms 383
3.2 Zero-Manifolds 384
3.3 One-Manifolds 384
3.4 Closed and Exact Forms 385
3.5 Two-Manifolds 386
3.6 Change of Variables in Two Dimensions 388
3.7 Change to Polar Coordinates 388
3.8 Three-Manifolds 390
3.9 Change of Variables in Three Dimensions 390
3.10 Surface Integrals 392
3.11 Green’s, Stokes’, and Gauss’ Theorems 392
Bibliography409
Index413
M
ultivariable and vector calculus is an essential subject of the math-
ematical education for scientists and engineers. This book is aimed
primarily at undergraduates in mathematics, engineering, and the
physical sciences. Rather than concentrating on technical skills, it focuses
on a deeper understanding of the subject by providing many unusual and
challenging examples. The topics of vector geometry, differentiation, and
integration in several variables are explored. It also provides numerous
computer illustrations and tutorials using Maple® and MATLAB®. The soft-
ware applications allow the students to bridge the gap between analysis
and computation. Mainly, this book compromises three chapters and four
appendices.
Chapter 1 provides vectors and parametric curves. It contains points
and vectors on the plane, scalar products on the plane, linear indepen-
dence, geometric transformations in two dimensions, determinants in two
dimensions, parametric curves on the plane, vectors in space, cross prod-
ucts, matrices in three dimensions, determinants in three dimensions, some
solid geometry, Cavalieri and the Pappus-Guldin rules, dihedral angles
and platonic solids, spherical trigonometry, canonical surfaces, parametric
curves in space, and multidimensional vectors.
Chapter 2 provides differentiation of functions of several variables.
This chapter mainly discusses some topology, multivariable functions, limits
and continuity, definition of the derivative, the Jacobi matrix, gradients and
directional derivatives, Levi-Civita and Einstein, extrema, and Lagrange
multipliers.
Sarhan M. Musa
Houston, Texas
January, 2015
I
t is my pleasure to acknowledge the outstanding help and support of
the team at Mercury Learning and Information in preparing this book,
especially from David Pallai and Jennifer Blaney. Thank you to Brian
Gaskin and James Gaskin for their wonderful hearts and for being great
American neighbors. Thanks to Professor John Burghduff and Professor
Mary Jane Ferguson for their support, understanding, and being great
friends. Thanks also to Dr. Fadi Alameddine for taking good care of my
mother’s health during the course of this project. I would also like to thank
Dr. Kendall Harris, my college dean, for his constant support. Finally, the
book would never have seen the light of day if not for the constant support,
love, and patience of my family–and the original manuscript of the late
David A. Santos.
1
VECTORS AND
PARAMETRIC CURVES
In This Chapter
I
n science and engineering, certain quantities such as force and accel-
eration possess both a magnitude and a direction. They are represented
as vectors and geometrically drawn as an arrow. For example, in dealing
with systems of linear equations, the solution can be points in the plane if
the equations have two variables, points in three space if they are equa-
tions in three variables, points in four space if they have four variables,
and so on. The solutions make up the subset of large spaces and the con-
structed spaces are called vector spaces, which are used in many areas of
mathematics.
We start this chapter with an introduction to some linear algebra neces-
sary for the course.
We mainly discuss points and vectors on the plane, scalar product on the
plane, linear independence, geometric transformations in two dimensions,
determinants in two dimensions, parametric curves on the plane, vectors in
space, cross product, matrices in three dimensions, determinants in three
dimensions, some solid geometry, cavalieri, the Pappus-Guldin rules, dihe-
dral angles and platonic solids, spherical trigonometry, canonical surfaces,
parametric curves in space, and multidimensional vectors.
Definition 1.1.4 A Vector a ∈ 2 is a codification of movement of a
bi‑point. x′ − x
Given the bi-point [r, r′ ], we associate to it the vector rr ′ =
y′ − y
stipulating a movement of x′ − x units from ( x, y ) in the horizontal axis and
of y′ − y units from the current position in the vertical axis. The zero vector
0
0 = indicates no movement in either direction. Notice that infinitely
0
many different choices of departure and arrival points may give the same
vector.
Example 1.1.1
Consider the following points:
a 1 = (1, 2 ) , b1 = ( 3, −4 ) , a 2 = ( 3, 5 ) , b2 = ( 5, −1 ) , O = ( 0, 0 ) , b = ( 2, −6 ) .
Though the bi- points a 1 ,b1 , a 2 ,b2 , [O,b ] are in different locations on
the plane, they represent the same vector, as
3 −1 5 − 3 2 − 0 2
−4 − 2 = −1 − 5 = −6 − 0 = −6 .
The instructions given by the vector are all the same: start at the point,
go two units right and six units down. See Figure 1.1.3.
In more technical language, a vector is an equivalence class of bi-points,
that is, all bi-points that have the same length, have the same direction.
In this sense, points are equivalent and the name of this equivalence is
a v ector. As a simple example of an equivalence class, consider the set of
integers . According to their remainder upon division by 3, each integer
belongs to one of the three sets:
3 = {…, −6, −3, 0, 3, 6,…}, 3 + 1 = {…, −5, −2, 1, 4, 7,…},
3 + 2 = {…, −4, −1, 2, 5, 8,…}.
direction of a vector v ≠ 0 is the direction of
any of its bi-point representatives. See Figure
1.1.4.
Definition 1.1.7 We say that [a, b] has the
same direction as [z, w] if ab = zw.
Definition 1.1.8 We say that the bi-points
[a, b] and [z, w] have the same sense if they FIGURE 1.1.4 Direction of a
bi-point.
have the same direction, if when translating
one so its tail is over the other’s tail, and both
their heads lie on the same half-plane made
by the line perpendicular to their tails. See
Figure 1.1.5.
Definition 1.1.9 We say that the bi-points
FIGURE 1.1.5 Bi-points with the
[a, b] and [z, w] have the opposite sense if they same sense.
have the same direction, if when translating
one so its tail is over the other’s tail, and their
heads lie on different half-planes made by the
line perpendicular to their tails. See Figure
1.1.6.
The sense of a vector is the sense of any of
its bi-point representatives. Two bi-points are
parallel if the lines containing them are paral-
lel. Two vectors are parallel, if bi-point repre- FIGURE 1.1.6 Bi-points with
sentatives of them are parallel. opposite sense.
[a,b] (a − b1 ) + ( a 2 − b 2 ) .
2 2
= 1
Definition 1.1.11 A unit vector is a vector whose norm is 1. If v is a
v
nonzero vector ( v ≠ 0), then the vector u = is a unit vector in direction
v
of v . The procedure of constructing a unit vector in the same direction as a
given vector is called normalizing the vector.
Example 1.1.2
1
Find the norm of the vector v = and normalize this vector.
2
nn Solution:
( 1 )2 + ( 2 ) = 3 ,
2
v =
Definition 1.1.12 If u and v are two vectors in 2, their vector sum
u + v is defined by the coordinate-wise addition:
u v u + v1
u + v = 1+ 1 = 1 . (1.1)
u2 v2 u2 + v2
It is easy to see that vector addition is commutative and associative, that
the vector 0 acts as an additive identity, and that the additive inverse of a is
−a. To add two vectors geometrically, proceed as follows. Draw a bi-point
representative of u. Find a bi-point representative of v having its tail at the
tip of u. The sum u + v is the vector whose tail is that of the bi-point for
u and whose tip is that of the bi-point for v. In particular, if u = AB and
v = BC, then we have Chasles’ Rule:
AB + BC = AC. (1.2)
Definition 1.1.13 If α ∈ and a ∈ 2, we define scalar multiplication of
a vector and a scalar by the coordinatewise multiplication:
a α a
α a = α 1 = 1 . (1.3)
a2 α a2
See Figure 1.1.11.
It is easy to see that vector addition and scalar multiplication satisfies
the following properties:
( )
1. α a + b = α a + α b
2. (α + β ) a = α a + β a
3. 1 a = a
4. (α β ) a = α ( β a )
We may use MATLAB in order to compute sum
of vectors and scalar multiplication of vectors.
>> u = [2 5];
>> v = [3 4];
>> u + v
ans =
5 9
>> 6∗u
ans = FIGURE 1.1.11 Scalar
12 30 multiplication of vectors.
Definition 1.1.14 Let u ≠ 0 . Put u = {λ u : λ ∈ } and let a ∈ 2 . The
u
affine line with direction vector u = 1 and passing through a is the setoff
u2
x
points on the plane a + u = ∈ 2 : x = a1 + tu1 , y = a2 + tu2 , t ∈ .
y
See Figure 1.1.12.
If u1 = 0, the affine line previously defined is vertical, as x is constant.
If u1 ≠ 0, then
x − a1
= t ⇒ y = a2 +
( x − a1 ) u = u2 x + a − a u2 , that is,
2 2 1
u1 u1 u1 u1
u
the affine line is the Cartesian line with slope 2 . Conversely, if y = mx + k
u1
is the equation of a Cartesian line, then
x 1 0
y = m t + k ,
that is, every Cartesian line is also an affine line and one may take the
1
vector as its direction vector. It also follows that two vectors u and v
m
are parallel if and only if the affine lines u and v are parallel. Hence,
u || v if there exists a scalar λ ∈ such that u = λ v.
! Because 0 = 0 v for any vector v, the 0 is parallel to every vector.
TIP
Example 1.1.3
1
Find a vector of length 3, parallel to v = , but in the opposite sense.
2
nn Solution:
( ) v
2
Since v = (1 ) + 2 = 3 , the vector has unit norm, and has
2
v
the same direction and sense as v, so the vector sought is
v 3 1 − 3
−3 = − = .
v 3 2 − 6 n
Example 1.1.4
1
Find the parametric equation of the line passing through and in
−1
2
the direction of the vector .
−3
nn Solution:
The desired equation is plainly:
x 1 2
y = −1 + t −3 ⇒ x = 1 + 2 t, y = −1 − 3t, t ∈ .
n
Example 1.1.5
Given a pentagon ABCDE , determine the vector sum AB + BC +
+ CD + DE + EA .
nn Solution:
Utilizing Chasles’ Rule several times:
0 = AA= AB + BC + CD + DE + EA. n
Example 1.1.6
Consider a ∆ABC. Demonstrate that the line segment joining the mid-
points of two sides is parallel to the third side and it is in fact, half its length.
nn Solution:
Let the midpoints of [A, B] and [C, A], be MC and MB, respectively.
We will demonstrate that BC = 2 MCMB . We have, 2 AMC = AB and
2 AMB = AC. Therefore,
BC = BA + AC
= − AB + AC
= − 2 AMC + 2 AMB
= 2MC A + 2 AMB
(
= 2 MC A + AMB )
= 2MCMB
as we were to show. n
Example 1.1.7
In ∆ABC, let MC be the midpoint of [A,B]. Demonstrate that
1
CMC =
2
(
CA + CB . )
nn Solution:
As AMC = MCB , we have,
CA + CB = CMC + MC A + CMC + MCB
= 2CMC − AMC + MCB
= − 2CMC
from where the results follows. n
Example 1.1.8
If the medians A, MA and B, MB of the non-degenerate ∆ABC
intersect at the point G, demonstrate that
AG = 2GMA ; BG = 2GMB .
See Figure 1.1.13.
( 2 − b) = 0, ( b − a ) = 0 ⇒ a = b = 2. n
Example 1.1.9
The medians of a non-degenerate triangle ∆ABC are concurrent. The
point of concurrency G is called the barycenter or centroid of the triangle.
See Figure 1.1.13.
nn Solution:
Let G be as in Example 1.1.7. We must show that the line CMC also
passes through G. Let the line CMC and BMB meet in G′. By the afore-
mentioned example,
AG = 2GMA ; BG = 2GMB ; BG′ = 2G′MB ; CG′ = 2G′MC .
It follows that
GG′ = GB + BG′
= −2GMB + 2G′MB
(
= 2 MBG + G′MB )
= 2G′G.
Therefore,
GG′ = −2GG′ ⇒ 3GG′ = 0 ⇒ GG′ = 0 ⇒ G = G′ , demonstrating the
result. n
Exercises 1.1
1.1.1 Identify the following physical quantities as scalars or vectors.
1. time
2. pressure
3. acceleration
4. velocity
5. temperature
6. gravity
7. force
8. displacement
9. frequency
10. grade of a motor oil
11. sound
12. current in a river
13. speed
14. energy
1.1.2 Is there is any truth to the statement “a vector is that which has
magnitude and direction”?
−1 −2
1.1.3 Let u = , and v = , be vectors in 2. Find u + v , u − v,
5 −4
2u , and normalization of vector u.
1.1.4 Name all the equal vectors in the parallelogram shown.
A B
D C
FIGURE 1.1.14 Exercise 1.1.4.
1.1.5 Copy the vectors in the figure and use them to draw the following
vectors.
a b c
1. a + b
2. a − b
3. b + c
4. a + b + c
1 1
1.1.6 Let u = and v = . Find:
−3 1
1. u + v
2. u + v
3. 3 u
1.1.12 Prove that if u and v are non-collinear then xu + y v = 0 implies
x= y= 0.
1.1.13 Prove that the diagonals of a parallelogram bisect each other as in
Figure 1.1.16.
1.1.14 A circle is divided into three, four, or six equal parts
(Figures 1.1.17 through 1.1.22). Find the sum of the vectors.
Assume that the divisions start or stop at the center of the circle,
as suggested in the figures.
v
B C
E
u
u
A v D
FIGURE 1.1.16 Exercise 1.1.13.
1 3
If a = and b = , then a ib = 1 × 3 + 2 × 4 = 11.
2 4
The following properties of the scalar product are easy to deduce from
the definition.
1. Bilinearity
( x + y )iz = x iz + y iz , x i( y + z )= x iy + x iz (1.4)
2. Scalar Homogeneity
(α x )i y = x i(α y ) = α ( x i y ) , α ∈ (1.5)
3. Commutativity
x i y = y i x (1.6)
4. x i x ≥ 0 (1.7)
5. x i x = 0 ⇔ x = 0 (1.8)
6. x = x i x (1.9)
Definition 1.2.2 Given vectors a and b, we define the (convex) angle
( )
between them, denoted by a , b ∈ [ 0; π ], as the angle between the affine
lines a and b.
(
Theorem 1.2.1 Let a and b be vectors in 2. Then, a ib = a b cos a , b . )
See Figure 1.2.1.
Proof: From Figure 1.2.1, using Al-Kashi’s Law of Cosines on the length
of the vectors and (1.4) through (1.9), we have:
2 2 2
b − a = a b − 2 a b cos a , b ( )
2 2
( )( )
b − a i b − a = a b − 2 a b cos a , b ( )
2 2
bib − 2a ib + a ia = a b − 2 a b cos a , b ( )
2 2 2 2
b − 2a ib + a = a b − 2 a b cos a , b
( )
(
a ib = a b cos a , b )
as what we wanted to show. n
Example 1.2.2
If the vectors a and b have lengths 6 and 8, and the angle between
( )
them is a , b = π / 3, find a i b.
nn Solution:
Using Theorem 1.2.1, we have
1
a ib = a b cos (π / 3 ) = ( 6 )( 8 ) = 24 .
2 n
π
( )
Putting a , b = in Theorem 1.2.1, we obtain the following corollary.
2
Corollary 1.2.1 Two vectors in 2 are perpendicular if and only if their dot
product is 0.
! It follows that the vector 0 is simultaneously parallel and perpen-
TIP dicular to any vector!
Example 1.2.3
−2 3
Show that the vectors a = and b = are orthogonal.
3 2
nn Solution:
Since a ib = ( −2 ) × ( 3 ) + ( 3 ) × ( 2 ) = 0, a and b are orthogonal. n
Definition 1.2.4 If a ⊥ b and = a = 1, we say that a and b are
b
Orthonormal.
Since cosθ ≤ 1, we also have the following corollary.
Equality occurs if and only if a || b.
a b1
If a = 1 and b = b , the CBS Inequality takes the form
a2 2
a1 b1 + a2 b2 ≤ ( a12 + a22 ) (b + b22 ) .
1/2 1/2
2
1
(1.10)
Example 1.2.4
Let a, b be positive real numbers. Minimize a2 + b2 subject to the
constraint a + b = 1.
nn Solution:
By the CBS Inequality,
1
1 ≤ ( a2 + b2 ) (12 + 12 )
1/2 1/2
1= a • 1+ b • ⇒ a2 + b2 ≥ .
2
a 1
Equality occurs if and only if = λ . In this case, a = b = λ, so
b 1
1
equality is achieved for a= b= .
2 n
Proof:
2
(
a+b = a+b i a+b )( )
= a ia + 2 a i b + bi b
2 2
≤ a +2 a b + b
2
(
= a + b , )
from where the desired result follows. n
Example 1.2.5
Let a, b, z be positive real numbers. Prove that 2 ( x + y + z ) ≤ x2 + y2 + y2 + z2 +
2 ( x + y + z ) ≤ x2 + y2 + y2 + z2 + z2 + x2 .
nn Solution:
x y z
Put a = , b = z , c = x . Then,
y
x + y + z
a+b+c = = 2 ( x + y + z).
x + y + z
Also,
a + b + c = x2 + y2 + y2 + z2 + z2 + x2 ,
and the assertion follows by the triangle inequality
a + b + c ≤ a + b + c .
n
Proof:
Refer to Figure 1.2.2. On the one hand, because they are unit vectors
in the same direction,
Corollary 1.2.4 Let D and D′ be distinct lines, intersecting in the unique
point C. Let A, B, be points on line D and A′, B′ be points on line D′. Then,
CB CB′
AA ′ || BB′ ⇔ = .
CA CA′
Exercises 1.2
1.2.1 Find a ib, if:
4 3
1. a = and b = 5
−1
5 2
2. a = and b = −1
0
2 5
3. a = and b = 6
3
−5 4
4. a = and b =
−2 0
1.2.2 Find a ib, if:
1. a =5, b = 8, and the angle between a and b is π / 3.
2. a = 3 , b = 4, and the angle between a and b is π / 6.
1.2.3 Find the angle between the vectors.
1 2
1. a = , b =
3 0
0 −1
2. a = , b =
1 1
4 1
3. a = , b =
−2 2
0 1
4. a = , b =
2 −1
2 2
1.2.4 Prove that α a + β b = α 2 a + 2αβ a ib + β 2 b .
1.2.5 Prove that the diagonals of a rhombus (a parallelogram whose
sides have equal length) are perpendicular.
1.2.6 What can
we say about the relative
magnitudes of vectors a and b,
if a + b is perpendicular to a − b ?
−5 27
1.2.7 Show that the vectors a = and b = are
3 15
perpendicular (orthogonal).
k k
1.2.8 If a = and b = are orthogonal, find k .
3 −4
1.2.9 Prove that a + b = a − b if and only if a ib = 0.
2 2 2
1.2.10 Prove that if a and b are perpendicular, then a + b = a + b .
( )
a ib
1.2.11 Prove that c = a − 2 b is orthogonal to b, where b is a
b
nonzero vector.
−3
1.2.12 Find all vectors a ∈ 2 such that a ⊥ and a = 13.
2
1.2.13 (Pythagorean Theorem) If a ⊥ b , prove that
2 2
a+b = a + b .
ui v =
4
(
1 2
u +v − u−v
2
).
Theorem 1.3.1 Given two vectors in 2, x , and y, an arbitrary vector v can
be written as the linear combination
v = ax + by, a ∈ , b ∈
if and only if x is not parallel to y. In this last case, we say that x is
linearly independent from vector y. If two vectors are not linearly indepen-
dent, then we say that they are linearly dependent.
Example 1.3.1
1 1
The vectors and are clearly linearly independent, since one
0 1
a
is not a scalar multiple of the other. Given an arbitrary vector , we can
b
express it as a linear combination of these vectors as follows:
a 1 1
b = ( a − b ) 0 + b 1.
Consider now two linearly independent vectors x and y. For a ∈ [ 0; 1],
a x is parallel to x and traverses the whole length of x: from its tip (when
a = 1) to its tail (when a = 0). In the same manner, for b∈ [ 0; 1], b y is
parallel to y and traverses the whole length of y. The linear combination
a x + b y is also a vector on the plane.
Example 1.3.2
1 1
The vector 5 near combination of the vector 3 of with a = 5.
2
3
Example 1.3.3
0 1
The vector 2 + 3 is a linear combination of the vec-
1 2
0 1 0 1
tors and of 2 with = a 2=, b 3 , and x = and y = .
1 2 1 2
By applying addition and scalar multiplication defined on 2, we get
0 1 3 3
2 + 3 = . Thus, we may also say that the vector v = is a linear
1 2 8 8
0 1
combination of x = and y = because there exists= a 2= , b 3 such
1 2
0 1 3
that 2 + 3 = . We can express this relation by saying that the vec-
1 2 8
3 0 1
tor v = is generated by the vectors x = and y = .
8 1 2
0 1 1 2
of it. Observe that the vertices of this parallelogram are , , , .
0 0 1 1
In essence then, linear independence of two vectors on the plane means
that we may obtain every vector on the plane as a linear combination of
these two vectors and hence cover the whole plane by all these linear
combinations.
Exercises 1.3
7 1 3
1.3.1 Show that is a linear combination of the vectors 0 and 1
3
of .
2
1.3.2 Determine whether the first vector of the set of vectors is a linear
combination of the other vectors.
7 4 −1
1. ; ,
−1 2 1
15 4 −8
2. ; ,
−1 −1 2
0 2 4 2
3. ; , ,
4 −1 6 3
5 −1 1
4. ; ,
7 1 5
a
1.3.3 Write an arbitrary vector on the plane, as a linear
b
1 −1
combination of the vectors and .
1 1
1.3.4 Explain why the following are linearly dependent sets of vectors in
2.
1 −3
1. x = and y =
2 −6
2 6 −5
2. x = , y = and v =
3 1 8
1 0
1.3.5 Show that the vectors x = and y = are linearly
independent. 0 1
1.3.6 Show that the following sets of vectors in 2 are linearly
independent or linearly dependent.
−1 2 1
1. , ,
2 3 4
x
1 3
2. ,
3 −1
y
10 5 FIGURE 1.3.2 Exercise 1.3.
3. ,
12 6
3 1
4. ,
4 −1
2 1
1.3.7 Consider the vectors , ,
1 2 x
8
and in 2 . Show that the
7
2 1 8 FIGURE 1.3.3 Exercise 1.3.
set , , are linearly
1 2 7
dependent.
1.3.8 Are vectors x and y in Figures 1.3.2 and 1.3.3 linearly
independent or dependent? Explain the reasoning.
1.3.9 Prove that for any two vectors x and y form a linearly dependent
set if and only if they are parallel.
1.3.11 Find the values of k for which the following sets of vectors are
linearly dependent.
4 k − k
1. ,
2 k + 6 2
−4 2
2. ,
k −1
1.3.12 Prove that two non-zero perpendicular vectors in 2 must be
linearly independent.
Example 1.4.1
The function I : 2 → 2, I(x) = x is called the identity transformation.
Observe that the identity transformation leaves a point untouched.
We start with the simplest of these functions.
(T
v1
Tv
2
) (a ) = T (T
v1
v2 ( a ) ) = Tv ( a ) + v 1 = a + v 2 + v 1 ,
2
and
(T
v2
Tv
1
) (a ) = T (T
v2
v1 ( a ) ) = Tv ( a ) + v 2 = a + v 1 + v 2 ,
1
It is clear that the composition of any two scaling commute, that is, if
Sa, b , Sa′, b′ : 2 → 2 are scaling, then Sa, b Sa′, b′ = Sa′, b′ Sa, b. For
a′x a ( a′x )
(S S )
( r ) = S S ( ( r ) =)Sa, b = , and
b′y b ( b′y )
a, b a′, b′ a, b a′, b′
ax a′ ( ax )
(S ) ( )
Sa, b ( r ) = Sa′, b′ Sa, b ( r ) = Sa′, b′ = ,
by b′ ( by )
a′, b′
−1 −1 −22 −1
(T S ) 0 = T S 0 = T 0 = 0 ,
i 2 ,1
i
i
but
−1 −1 0 0
(S 2 ,1 )
Ti = S2,1 Ti = S2,1 = .
0
0 0 0
Definition 1.4.3 A function RH : 2 → 2 is said to be a reflection about
−x
the y-axis or horizontal reflection if it is of the form RH (r) = .
y
A function RV : 2 → 2 is said to be a reflection about the x-axis or
x
vertical reflection if it is of the form RV (r) = .
−y
A function RO : 2 → 2 is said to be a reflection about origin if it is of
−x
the form RH (r) = .
−y
Some reflections appear in Figure 1.4.3.
x x cosθ − y sin θ
Hence, the point is mapped to the point .
y x sin θ + y cosθ
We may now formulate the definition of a rotation.
x sin θ + y cos θ
−1 0
It is easy to verify that the matrix for the transformation RH is ,
0 1
1 0
that the matrix for the transformation RV is , and the matrix for the
0 −1
−1 0
transformation RO is .
0 −1
ar + bt as + bu
composition L L′ has matrix representation .
cr + dt cs + du
Proof:
1 0
We need to find ( L L′ ) and ( L L′ ) .
0 1
We have
1 1 r
( L L′ ) = L L′ = L = rL( i) + tL(j )
0 0 t
a b ar + bt
= r + t = ,
c d cr + dt
and
0 0 s
( L L′ ) = L L′ = L = sL( i) + uL(j )
1 1 u
a b as + bu
= s + u = ,
c d cs + du
ar + bt as + bu
hence we conclude that the matrix of L L′ is , as
cr + dt cs + du
we wanted to show. n
a b r s
Definition 1.4.8 Let A = and B = be two 2 × 2 matrices,
c d t u
and λ ∈ be a scalar. We define matrix addition as
a b r s a + r b+ s
A+B= + = .
c d t u c + t d + u
We define matrix multiplication as
a b r s ar + bt as + bu
AB = = .
c d t u cr + dt cs + du
a b λ a λ b
λA = λ = .
c d λ c λ d
Example 1.4.7
1 −1 1 2
Let M = , N= .
0 1 −2 1
Then,
1 −1 1 2 2 1
M+N= + = ,
0 1 −2 1 −2 2
1 −1 2 −2
2M = 2
= ,
0 1 0 2
1 −1 1 2 1 × 1 + ( −1 ) × ( −2 ) 1 × 2 + ( −1 ) × 1 3 1
MN = = =
0 × 2 + 1 × 1 −2 1
.
0 1 −2 1 0 × 1 + 1 × ( −2 )
Example 1.4.8
Find a 2 × 2 matrix that will transform the square in Figure 1.4.5 into the
parallelogram in Figure 1.4.6. Assume in each case that the vertices of the
figures are lattice points, that is, coordinate points with integer coordinates.
nn Solution:
a b
Let be the desired matrix. Then, since
c d
a b 0 0
c d 0 = 0 ,
0
the point is a fortiori, transformed to itself. We now assume, with-
0
out loss of generality, that each vertex of the square is transformed in the
same order, counterclockwise, to each vertex of the rectangle. Then,
a b 1 2 a 2
c d 0 = 2 ⇒ c = 2 ⇒ a = c = 2.
Using these values,
a b 1 1 a + b 1
c d 1 = 3 ⇒ c + d = 3 ⇒ b = −1, d = 1.
And so the desired matrix is
2 −1
2 1 .
n
Exercises 1.4
1 −1 a b
, and ( A + B) = A2 + 2 AB + B2, find
2
1.4.1 If A = , B=
2 3 1 −2
a b.
1 2 1 2
1.4.2 Let M = , N= . Find M+N, 3M, and MN.
0 −1 3 −1
1.4.3 Find all matrices A ∈ M2×2 ( ) that A2 = 0 2.
1.4.4 Find all linear transformations from 2 into 2 that
1. Carry the line x = 0 into the line x = 0.
2. Carry the line y = 0 into the line y = 0.
3. Carry the line x = y into the line x = y.
4. Carry the line x = 0 into the line x = 0 and carry the line y = 0
into the line y = 0.
x 1
1.4.5 Let L : 2 → 2 be defined by L = . Show if L is linear
y 2
or not linear.
1.4.6 Let L be a linear transformation by reflecting each vector u in
2 with respect to the line y = − x . Determine a matrix for L.
1.4.7 Prove that the following transformation L : 2 → 2 defined by
x x − y
L = is linear.
y 3x
1.4.8 Prove that the following transformation L : 2 → 2 defined by
x 2x
L = is linear.
y x − y
−1 0 2
1.4.9 Consider ∆ABC with A = , B = , C = , as in
2 −2 1
Figure 1.4.7. Determine the effects of the following scaling
transformations on the triangle:
S2,1 , S1,2 , and S2,2.
1.4.10 Find the equation of the image of
the line y = 3 x under a scaling of a
factor 3 in the x direction and factor
5 in the y direction.
1.4.11 Find the effects of the reflections,
Rπ , Rπ , R π , and R π
on the triangle
− − FIGURE 1.4.7 Exercises 1.4.2,
2 4 2 4
1.4.3, and 1.4.8.
in Figure 1.4.7.
1.4.12 Find the effects of the reflections RH, RV , and RO on the triangle
in Figure 1.4.7.
1.4.13 Determine the matrix that defines a reflection in the y axis. Find
3
the image of under this transformation.
2
x2 y2
1.4.14 Find the equation of the image of the ellipse + = 1 under a
16 25
rotation through an angle π / 2.
1.4.15 Determine the matrix that can be used to define a rotation
through π / 2 about the point (5,1). Find the image of the unit
square under this rotation.
1.4.16 Let L : 2 → 2 be counterclockwise rotation through π / 4
radians. Find the standard matrix representing L.
() ()
1.4.17 Let L1 x = A1 x and L2 x = A2 x be defined by the following
matrices A1 and A2. Find L2 L1, if:
1 3 1 4 2
1. A1 = , A2 = , x = 3
2 0 −1 0
1 2
2 −1 −2
2. A1 = , A2 = 0 3 , x =
0 1 2 −1 1
x 3x x 0
1.4.18 Let L1 = and L2 = . Find L2 L1.
y −y y x + y
c (2b + d )
FIGURE 1.5.1 Area of a parallelogram. FIGURE 1.5.2 ( a + c ) ( b + d ) − 2 ab − 2 = ad − bc.
2 2
a b
The symbol for determinant of a matrix can be written as
! c d
TIP a b a b
det or .
c d c d
x − x x4 − x1
A = det 2 1 (
= D r2 − r1 , r4 − r1 . )
y2 − y1 y4 − y1
( x3 , y3 )
r3
r4
( x4 , y4 ) ( x2 , y2 )
r2
r1
( x1, y1 )
FIGURE 1.5.3 Area of a quadrilateral.
x − x3 x2 − x3
A = det 4 (
= D r4 − r3 , r2 − r3 . )
y4 − y3 y2 − y3
Using the properties derived in previous theorems, we see that
1
( ( ) (
A = D r2 − r1 , r4 − r1 + D r4 − r3 , r2 − r3
2
))
1
( ( ) ( ) ( )
A = D r2 , r4 − D r2 , r1 − D r1 , r4 + D r1 , r1
2
( ))
1
( ( ) ( ) (
+ D r4 , r2 − D r3 , r2 − D r4 , r3 + D r3 , r3
2
) ( ))
1
( ( ) ( ) ( 1
)) ( (
A = D r2 , r4 − D r2 , r1 − D r1 , r4 + D r4 , r2 − D r3 , r2 − D r4 , r3
2 2
) ( ) ( ))
1
( ( ) ( ) ( )
A = D r1 , r2 + D r2 , r3 + D r3 , r4 + D r4 , r1 .
2
( ))
We conclude that the area of a quadrilateral with vertices ( x , y ), ( x , y ), ( x , y ), ( x
1 1 2 2 3 3
1 x1 x2 x x3 x4 x x x1
det + det 2 + det 3
+ det 4 . (1.11)
2 y1 y2 y2 y3 y4 y3 y4 y1
To find the area of a triangle of vertices, r1 = ( x1 , y1 ) , r2 = ( x2 , y2 ) , r3 = ( x3 , y3 )
= ( x1 , y1 ) , r2 = ( x2 , y2 ) , r3 = ( x3 , y3 ), listed in counterclockwise order as in Figure 1.5.4, reflects
about one of its sides, as in Figure 1.5.5, creating a parallelogram.
The area of the triangle is now half the area of the parallelogram, which,
by virtue of equation (1.11), is
1
4
( ( ) ( ) ( ) ( ))
D r1 , r2 + D r2 , r + D r, r3 + D r3 , r1 .
This is equivalent to
1
2
( ( ) ( ) ( ))
D r1 , r2 + D r2 , r3 + D r3 , r1
1
( ( ) ( ) ( ) ( ) (
− D r1 , r2 − D r2 , r − D r, r3 + D r3 , r1 + 2 D r2 , r3 .
4
))
We will prove that
( ) ( ) ( ) ( ) (
D r1 , r2 − D r2 , r − D r, r3 + D r3 , r1 + 2 D r2 , r3 = 0. )
To do this, we appeal once again to the bi-linearity properties derived in
previous theorems, and observe that we have a parallelogram, r − r3 = r2 − r1 ,
which means, r = r3 + r2 − r1 . Thus,
( ) ( ) ( ) ( ) ( )
D r1 , r2 − D r2 , r − D r, r3 + D r3 , r1 + 2 D r2 , r3 =
( ) ( ) ( ) ( )
= D r1 , r2 − D r2 , r3 + r2 − r1 + 2 D r2 , r3 − D r3 + r2 − r1 , r3 + D r3 , r1 ( )
( ) ( ) ( )
= D r1 , r2 − r3 + D r3 + r2 − r1 , r2 − r3 + 2 D r2 , r3
( ) ( )
= D r3 + r2 , r2 − r3 + 2 D r2 , r3
( ) ( ) ( )
= D r3 , r2 − D r2 , r3 + 2 D r2 , r3
( ) ( )
= D r3 , r2 − D r2 , r3
= 0,
r ( x, y)
( x3 , y3 ) ( x3 , y3 )
r3 r3
r2 r2
( x2 , y2 ) ( x2 , y2 )
r1
r1 ( x1, y1 ) ( x1, y1 )
FIGURE 1.5.4 Area of a triangle. FIGURE 1.5.5 Area of a triangle.
as claimed. We have proved then that the area of a triangle, whose ver-
tices ( x1 , y1 ) , ( x2 , y2 ) , ( x3 , y3 ) are listed in counterclockwise order, is
1 x1 x2 x x3 x x1
det + det 2 + det 3 . (1.12)
2 y1
y2 y2 y3 y3 y1
1 x1 x2 x x3 x xn x x1
det + det 2 + + det n−1 + det n .
2 y1
y2 y2 y3 yn−1 yn yn y1
Proof:
The proof is by induction on n. We have already proved the cases n = 3
and n = 4 in (1.12) and (1.11), respectively. Consider now a simple poly-
gon P with n vertices. If P is convex, then we may take any vertex and
draw a line to the other vertices, triangulating the polygon, creating n − 2
triangles. If P is not convex, then there must be a vertex that has a reflex
angle. A ray produced from this vertex must hit another vertex, creating
a diagonal; otherwise the polygon would have infinite area. This diagonal
divides the polygon into two sub-polygons. These two sub-polygons are
either both convex or at least one is not convex. In the latter case, we repeat
the argument, finding another diagonal and creating a new sub-polygon.
Eventually, since the number of vertices is infinite, we end up triangulating
the polygon. Moreover, the polygon can be triangulated in such a way that
all triangles inherit the positive orientation of the original polygon but each
neighboring pair of triangles have opposite orientations. Applying (1.12),
we obtain that the area is
xi xj
∑ y
det ,
yj
i
where the sum is over each oriented edge. Since each diagonal occurs
twice, but having opposite orientations, the terms
xi xj xj xi
det + det =0
yi yj
y j yi
disappear from the sum and we are simply left with
1 x1 x2 x x3 x xn x x1
det + det 2 + + det n−1 + det n .
2 y1
y2 y2 y3 yn−1 yn yn y1 n
Exercises 1.5
1.5.1 Calculate
1 −2
1. det
6 3
1 2
2. det
5 4
1.5.2 For what values of α , does
1 + α 1
1. det =0
1 1 − α
α + 4 −5
2. det =0
1 α − 2
cosθ sin θ
1.5.3 Compute the det for any real number.
− sin θ cosθ
cosθ sin θ
1.5.4 Compute the det when
sin θ cosθ
1. θ = π / 4
2. θ = π / 3
1.5.5 Let k be a number, and let A be a 2 × 2 matrix. How does
det(kA) differ from det( A)?
1.5.6 Let matrix B be formed from matrix A by interchanging two
rows. Prove then that det ( A ) = − det ( B).
1.5.7 Prove that if A and B are square matrices of the same size, then
det( AB) = det(BA) .
1.5.8 Prove that if the sum of elements of each row (or column) of a
square matrix A zero, then det( A) = 0.
a c
1.5.9 Let the vectors r1 = and r2 = , and that the vector r3
b d
− b
obtained by rotating r1 counterclockwise by π / 2 is r3 = .
a
( )
Show that r3 ir2 = D r1 , r2 .
1.5.10 Prove that the area of the parallelogram spanned by the vectors
a c
(
r1 = and r2 = is the D r 1 , r 2 . )
b d
=
FIGURE 1.6.1 =
x sin 2t , y cos 6t .
=
FIGURE 1.6.2 x 2=
t /10
cos t , y 2t /10 sin t .
1− t 2 t − t3
FIGURE 1.6.3 x = , y= .
1+ t 2
1+ t 2
FIGURE 1.6.4 x =
(1+ cos t ) ( sin t ) (1+ cos t ) .
, y=
2 2
Example 1.6.1
Consider the parabola with Cartesian equation y = x2. We will give vari-
ous parameterizations for portions of
this curve.
parameterization
x = t , y = t, t ∈ [ 0; +∞[,
gives the half of the curve for which
x ≥ 0 . As t increases, the curve is tra-
versed from left to right.
FIGURE 1.6.7 x = − t , y = t , t ∈ [0; +∞[ .
3. Similarly, if x = − t and y = t,
Example 1.6.2
( x − 1 )2 ( y + 2 )
2
nn Solution:
What formula do we know where a sum of two squares equals 1? We
use a trigonometric substitution, a sort of “polar coordinates.” Observe that
for t ∈ [ 0; 2π ], the point ( cos t,sin t ) traverses the unit circle once, starting
at (1, 0) and ending there. Put
x −1
= cos t ⇒ x = 1 + 2 cos t,
2
and
y+2
= sin t ⇒ y = −2 + 3 sin t.
3
Then
x = 1 + 2 cos t, y = −2 + 3 sin t, t ∈ [ 0; 2π ]
π π
x = 1 + 2 sin 4π t + , y = −2 + 3 cos 4π t + , t ∈ [ 0; 1]
2 2
as our parameterization. n
Example 1.6.3
A hypocycloid is a curve traced out by a fixed point P on a circle C of
radius ρ as C rolls on the inside of a circle with center at O and radius
R
R . If the initial position of P is , and θ is the angle, measured coun-
0
terclockwise, with a ray starting at O and passing through the center of C,
which makes the x-axis, show that a parameterization of the hypocycloid is
(R − ρ )
x = ( R − ρ ) cosθ + ρ cos ,
ρ
(R − ρ )
y = ( R − ρ ) sin θ + ρ sin .
ρ
nn Solution:
Suppose that starting from θ = 0, the centre O′ of the small circle
moves counterclockwise inside the larger circle by an angle θ , and the point
P = ( x, y ) moves clockwise an angle φ . The arc length travelled by the cen-
tre of the small circle is ( R − ρ )θ radians. At then same time the point
P has rotated ρφ radians, and so ( R − ρ )θ = ρφ . See Figure 1.6.9, where
O′B is parallel to the x-axis.
π
Let A be the projection of P on the x -axis. Then ∠OAP = ∠OPO′ = ,
2
π
∠OO′P = π − φ − θ , ∠POA = − φ , and OP = (R − ρ )sin (π − φ − θ ).
2
π
x = ( OP ) cos ∠POA = (R − ρ )sin (π − φ − θ ) cos − φ ,
2
π
y = (R − ρ )sin (π − φ − θ ) sin − φ .
2
Now,
π
x = (R − ρ )sin (π − φ − θ ) cos − φ
2
= (R − ρ )sin (φ + θ ) sin φ
(R − ρ )
=
2
( cosθ − cos ( 2φ + θ ) )
(R − ρ )
= (R − ρ )cosθ −
2
( cosθ + cos ( 2φ + θ ) )
= (R − ρ )cosθ − (R − ρ ) ( cos (θ + φ ) cos φ ) .
Also,
ρ ρ
cos (θ + φ ) = − cos (π − θ − φ ) = − =−
OO′ R−ρ
and
( R − ρ )θ
cos φ = cos , and so
ρ
( R − ρ )θ
( R − ρ ) cosθ + ρ cos , as required. The identity for y is proved similarly.
ρ
Particular examples appear in Figures 1.6.10 and 1.6.11. n
Given a curve Γ how can we find its length? The idea, as seen in Figure
1.6.12 is to consider the projections dx, dy at each point.
The length of the vector
dx
dr =
dy
is
( dx )2 + ( dy ) .
2
dr =
∫ ∫ ( dx ) + ( dy )
2 2
dr = .(1.13)
Γ Γ
1 x x + dx 1 x dx 1
det = det = ( xdy − ydx ),
2 y y + dy 2 y dy 2
and to sum over the closed curve, obtaining a total oriented area of
1 x dx 1
∫
det = ∫ ( xdy − ydx ). (1.14)
2 Γ y dy 2 Γ
Hence ∫Γ
denotes integration around the closed curve.
Example 1.6.4
Let ( A, B) ∈ 2 , A > 0, B > 0. Find a parameterization of the ellipse
x2 y2
Γ : ( x, y ) ∈ 2 : 2 + 2 = 1,
A B
nnSolution:
Consider the parameterization Γ : [ 0, 2π ] → 2, with
x A cos t
y = B sin t .
This is a parameterization of the ellipse, for
x2 y2 A2 cos2 t B2 sin 2 t
+ = + = cos2 t + sin 2 t = 1.
A2 B2 A2 B2
Notice that this parameterization goes around once the ellipse
counterclockwise.
The perimeter of the ellipse is given by
2π
∫Γ
dr = ∫ 0
A2 sin 2 t + B2 cos2 t dt
Example 1.6.5
Find a parametric representation for the astroid
Γ : {( x, y ) ∈ 2 : x2 / 3 + y2 / 3 = 1} ,
in Figure 1.6.15.
nn Solution:
Take
x cos3 t
y = sin 3 t FIGURE 1.6.15 Example 1.6.5.
with t ∈ [ 0; 2π ]. Then
x2 / 3 + y2 / 3 = cos2 t + sin 2 t = 1
2π
∫ dr = ∫
Γ
0
9 cos4 t sin 2 t + 9 sin 4 t cos2 t dt
2π
= ∫ 3 sin t cos t dt
0
3 2π
= ∫ sin 2 t dt
2 0
π /2
= 6∫ sin 2 t dt
0
= 6.
The area of the astroid is given by
1 1
∫
( xdy − ydx ) = ∫ ( cos3 t d ( sin3 t ) − sin3 t d ( cos3 t ) )
2 Γ 2
1 2π
= ∫ ( 3 cos4 t sin 2 t + 3 sin 4 t cos2 t ) dt
2 0
3 2π 2
= ∫ ( sin t cos t ) dt
2 0
3 2π 2
= ∫ ( sin 2 t ) dt
8 0
3 2π
= ∫ (1 − cos 4 t ) dt
16 0
3π
= .
8
n
Example 1.6.6
To obtain the arc length of the path in Figure 1.6.16, we type
Exercises 1.6
1.6.8 Find the arc length of the curve given parametrically by x(t) = 3 t 2,
y(t) = 2 t 3 for 0 ≤ x ≤ 1.
1.6.9 Let C be the curve in 2 defined by
t2 ( 2 t + 1) 3/2
1 1
x(t) = , y(t) = , t ∈ − ; + .
2 3 2 2
Find the length of this curve.
1.6.10 Find the area enclosed by the curve
x(t) = sin 3 t, y(t) = ( cos t ) (1 + sin 2 t ).
The curve appears in Figure 1.6.20.
1.6.11 Let C be the curve in 2 defined by
3t 3t 2
x(t) = , y( t ) = , t ∈ \ {−1},
1 + t3 1 + t3
which you may see in Figure 1.6.21. Find the area enclosed by the loop
of this curve.
1.6.12 Let P be a point at a distance d from the centre of a circle of
radius ρ. The curve traced out by P as the circle rolls along a
straight line, without slipping, is called a cycloid, as shown in
Figure 1.6.22. Find a parameterization of the cycloid.
1.6.13 Find the arc length of the arc of the cycloid
x = ρ ( t − sin t ) , y = ρ (1 − cos t ) , t ∈ [ 0; 2π ].
1 0 0
i = 0 , j = 1 , k = 0 ,
0 0 1
FIGURE 1.7.4 Left-
handed system.
and observe that
r = ( x, y, z ) = xi + y j + zk.
Definition 1.7.2 The dot product of two vectors a and b in 3 is
a i b = a1 b1 + a2 b2 + a3 b3.
The norm of a vector a in 3 is
(a ) + (a ) + (a )
2 2 2
a = aia= 1 2 3
.
Just as in 2, the dot product satisfies a ib = a b cosθ , where θ ∈ [ 0; π ]
is the convex angle between the two vectors.
The Cauchy-Schwarz-Bunyakovsky Inequality takes the form
a ib ≤ a b ⇒ a1 b1 + a2 b2 + a3 b3 ≤ ( a12 + a2 2 + a3 2 ) ( b12 + b2 2 + b3 2 ) ,
1/2 1/2
Example 1.7.1
nn Solution:
Since x, y, z are positive, x + y + z = x + y + z. By Cauchy’s Inequality,
1/2
1 1 1/2 1 1
x + y + z = x + 2 y + 3 z ≤ ( x2 + 4 y2 + 9 z2 ) 1 + +
2 3 4 9
7 7 3
= 27 = .
6 2
Equality occurs if and only if
x 1
λ λ λ2 λ2 18 3
2
y = λ 1 / 2 ⇒ x = λ , y = , z = ⇒ λ 2
+ + = 27 ⇒ λ = ± .
4 9 4 9 7
3 z 1 / 3
18 3 9 3 2 3
=x = , y , z= .
7 14 7
Definition 1.7.3 Let a be a point in 3 and let v ≠ 0 a vector in 3.
The parametric line passing through a in the direction of v is the set
{
r ∈ 3 : r = a + t v .}
Example 1.7.2
1
Find the parametric equation of the line passing through 2
−2 3
and −1 .
0
nn Solution:
1 − ( −2 ) 3
The line follows the direction 2 − ( −1 ) = 3 .
3 − 0 3
x 1 3
The desired equation is y = 2 + t 3 .
z 3 3
Given two lines in space, one of the following three situations might
arise: (i) the lines intersect at a point, (ii) the lines are parallel, (iii)
! the lines are skew (non-parallel, one over the other, without inter-
TIP
secting, lying on different planes). See Figure 1.7.5.
Consider now two non-zero vectors a and b in 3. If a || b , then the set
{sa + t b : s ∈ , t ∈ } = {λ a : λ ∈ },
which is a line through
the origin.
Suppose now that a and b are not parallel.
We saw in the preceding sections that if the
vectors were on the plane, they would span
the whole plane 2. In the case at hand the
vectors are in space, they still span a plane,
passing through the origin. Thus
{sa + t b : s ∈ , t ∈ , a || b} FIGURE 1.7.5 1 || 2 . 1 and 3
are skew.
is a plane passing through the origin. We will
say, abusing language that two vectors are copla-
nar if there exists bi-point representatives of the vector that lie on the same
plane. We will say, again abusing language, that a vector is parallel to a specific
plane or that it lies on a specific plane if there exists a bi-point representative
of the vector that lies on the particular plane. All the above gives the following
result.
Theorem 17.1: Let v, w in 3 be non-parallel vectors. Then every vector
u of the form u = a v + bw, where a, b are arbitrary scalars, is coplanar with
both v and w . Conversely, any vector t coplanar with both v and w can be
uniquely expressed in the form t = pv + qw . See Figure 1.7.6.
From
the above theorem, if a
vector a is not a linear
combination
of two other vectors b, c, then linear
combinations of these three vectors
may
lie outside the plane containing
b, c. This prompts the following
theorem.
Theorem
1.7.2: Three vectors
a , b , c in said to be linearly
3
independent if
α a + β b + γ c = 0 ⇒ α = β = γ = 0. FIGURE 1.7.6 Theorem 1.7.1.
x − a1 = pu1 + qv1 ,
y − a2 = pu2 + qv2 ,
z − a3 = pu3 + qv3 .
(u v
2 3
− u3 v2 ) ( x − a1 ) = ( u2 v3 − u3 v2 ) ( pu1 + qv1 ) ,
(u v
3 1
− u1 v3 ) ( y − a2 ) = ( u3 v1 − u1 v3 ) ( pu2 + qv2 ) ,
(u v
1 2
− u2 v1 ) ( z − a3 ) = ( u1 v2 − u2 v1 ) ( pu3 + qv3 ) .
Adding gives,
(u v
2 3
− u3 v2 ) ( x − a1 ) + ( u3 v1 − u1 v3 ) ( y − a2 ) + ( u1 v2 − u2 v1 ) ( z − a3 ) = 0.
Put
a = u2 v3 − u3 v2 , b = u3 v1 − u1 v3 , c = u1 v2 − u2 v1 ,
and
d = a1 ( u2 v3 − u3 v2 ) + a2 ( u3 v1 − u1 v3 ) + a3 ( u1 v2 − u2 v1 ) .
Since v is linearly independent from u, not all of a,b,c are zero. This gives the
following theorem.
Theorem 1.7.4: The equation of the plane in space can be written in the form
ax + by + cz = d,
which is the Cartesian equation of the plane. Here a2 + b2 + c2 ≠ 0, that
a
is, at least one of the coefficients is non-zero. Moreover, the vector n = b
c
is normal to the plane with Cartesian equation ax + by + cz = d. See
Figure 1.7.7.
Proof:
We have already proved the first statement. For the second statement,
observe that if u and v are non-parallel vectors and r − a = pu + qv is
the equation of the plane containing the point a and parallel to the vec-
tors u and v , then if n is simultaneously perpendicular to u and v then
( )
r − a in = 0 for uin= 0= v in . Now, since at least one of a, b, c is non-
zero, we may assume a ≠ 0. The argument is similar if one of the other let-
ters is non-zero and a = 0. In this case we can see that
d b c
x= − y− z.
a a a
Put y = s and z = t. Then
d b c
x− a − a − a
y = s 1 + t 0 ,
z 0 1
is a parametric equation for the plane. We have
b c
a − + b (1 ) + c ( 0 ) = 0, a − + b ( 0 ) + c (1 ) = 0,
a a
b c
a − a − a
and so b is simultaneously perpendicular to 1 and 0 , prov-
c 0 1
ing the second statement. n
Example 1.7.3
1
The equation of the plane passing through the point −1 and normal
2
−3
to vector 2 is
4
−3 ( x − 1 ) + 2 ( y + 1 ) + 4 ( z − 2 ) = 0 ⇒ − 3 x + 2 y + 4 z = 3.
Example 1.7.4
Find both the parametric equation and the Cartesian equation of the
1 1
plane parallel to the vectors 1 and 1 , and passing through the point
0 1 0
.
−1
2
nn Solution:
The desired parametric equation is
x 1 1
y + 1 = s 1 + t 1 .
z − 2 1 0
This gives
s = z − 2, t = y+1− s = y+1− z+ 2 = y− z+ 3
and
x = s + t = z − 2 + y − z + 3 = y + 1.
Example 1.7.5
1
3. The vector 0 is normal to the plane x + z = 1, and the
1
0
vector 1 is normal to the plane y + z = 1. If θ is the angle
1
Exercises 1.7
1.7.1 Vectors a, b satisfy a = 13, b = 19, a + b = 24. Find a − b .
1
1.7.2 Find the equation of the line passing through 2 in the direction
3
−2
of −1 .
0
1
1.7.3 Find the equation of plane containing the point 1 and
1
perpendicular to the line x = 1 + t, y = −2 t, z = 1 − t.
1
1.7.4 Find the equation of plane containing the point −1 and
−1
containing the line =
x 2=y 3 z.
1.7.5 (Putnam Exam 1984) Let A be a solid a × b × c rectangular
brick in three dimensions, where a > 0, b > 0, c > 0 . Let B be
the set of all points which are at distance at most 1 from some
point of A (in particular, A ⊆ B). Express the volume of B as a
polynomial in a, b, c.
1.7.6 It is known that= a 3=
, b 4, c = 5 and that a + b + c = 0. Find
a i b + b ic + c ia .
1
1.7.8 Find the equation of the plane perpendicular to the line
1
ax = by = cz, abc ≠ 0 and passing through the point 1 in 3.
1
1.7.9 Find the (shortest) distance from the point (1, 2, 3 ) to the plane
x − y + z = 1.
1.7.10 Determine whether the lines
x 1 2
L1 : y = 1 + t 1 ,
z 1 1
x 0 2
L2 : y = 0 + t −1,
z 1 1
Intersect. Find the angle between them.
( a2 + b2 + c2 ) ≤ 3 ( a4 + b4 + c 4 ).
2
1.7.12 Let a > 0, b > 0, c > 0 be the lengths of the sides of ∆ABC.
(Vertex A is opposite to the side measuring a, etc.)
Recall that by Heron’s Formula, the area of this triangle is
a+ b+ c
S ( a, b, c ) = s ( s − a ) ( s − b ) ( s − c ) , where s = is the
2
S ( a, b, c )
semiperimeter of the triangle. Prove that f ( a, b, c ) = 2
a + b2 + c2
is maximized when ∆ABC is equivalent, and find this maximum.
1.7.14 Prove that there do not exist three unit vectors in 3 such that
2π
the angle between any two of them be > .
3
( )
1.7.15 Let r − a in = 0 be a plane passing through the point a and
perpendicular to vector n. If b is not a point on the plane, then
the distance from b to the plane is
( a − b )in .
n
x
space consisting of all points y satisfying the following system
z
of six conditions:
x ≥ 0, y ≥ 0, z ≥ 0,
x + y + z ≤ 11,
2 x + 4 y + 3 z ≤ 36,
2 x + 3 z ≤ 24.
Determine the number of vertices and the number of edges of S.
Example 1.8.1
1 0
Find 0 × 1 .
−3 2
nnSolution:
We have
( i − 3k ) × ( j + 2 k ) = i × j + 2 i × k − 3k × j − 6 k × k
= k − 2 j + 3i + 60
= 3i − 2j + k.
Hence
1 0 3
0 × 1 = −2 .
−3 2 1
n
x y
1 1
Theorem 1.8.1: Let x = x2 and y = y2 be vectors in 3. Then,
x3 y3
x × y = ( x2 y3 − x3 y2 ) i + ( x3 y1 − x1 y3 ) j + ( x1 y2 − x2 y1 ) k.
Proof:
Since i × i = j × j = k × k = 0, we only worry about the mixed products,
obtaining,
( ) (
x × y = x1 i + x2 j + x3 k × y1 i + y2 j + y3 k )
= x1 y2 i × j + x1 y3 i × k + x2 y1 j × i + x2 y3 j × k + x3 y1 k × i + x3 y2 k × j
= ( x1 y2 − y1 x2 ) i × j + ( x2 y3 − x3 y2 ) j × k + ( x3 y1 − x1 y3 ) k × i
= ( x1 y2 − y1 x2 ) k + ( x2 y3 − x3 y2 ) i + ( x3 y1 − x1 y3 ) j ,
(
x i( x × y ) = x1 i + x2 j + x3 k )
(
i ( x2 y3 − x3 y2 ) i + ( x3 y1 − x1 y3 ) j + ( x1 y2 − x2 y1 ) k )
= x1 x2 y3 − x1 x3 y2 + x2 x3 y1 − x2 x1 y3 + x3 x1 y2 − x3 x2 y1
= 0,
Completing the proof. n
Theorem 1.8.3:
( ) ( )
a × b × c = ( a ic ) b − a i b c .
Proof:
( ) (
a × b × c = a1 i + a2 j + a3 k )
(
× ( b2 c3 − b3 c2 ) i + ( b3 c1 − b1 c3 ) j + ( b1 c2 − b2 c1 ) k )
= a1 ( b3 c1 − b1 c3 ) k − a1 ( b1 c2 − b2 c1 ) j
− a2 ( b2 c3 − b3 c2 ) k +a2 ( b1 c2 − b2 c1 ) i
+ a3 ( b2 c3 − b3 c2 ) j − a3 ( b3 c1 − b1 c3 ) i
= ( a1 c1 + a2 c2 + a3 c3 ) ( b1 i + b2 j + b3 i )
+ ( − a1 b1 − a2 b2 − a3 b3 ) ( c1 i + c2 j + c3 i )
( )
= ( a ic ) b − a i b c ,
Theorem 1.8.4: Let
(
x, y ) ∈ [ 0; π ] be the convex angle between two
vectors x and y. Then
x×y = x ( )
y sin x, y .
Proof:
We have
x × y = ( x2 y3 − x3 y2 ) + ( x3 y1 − x1 y3 ) + ( x1 y2 − x2 y1 )
2 2 2
2 2 2
= x y − xiy ( )
2 2 2 2
= x y − x y cos2 x, y ( )
2 2
= x y sin 2 x, y ,( )
where the theorem follows. n
Theorem 4 has the following geometric significance: x × y is the area
of the parallelogram formed when the tails of the vectors are joined. See
Figure 1.8.2.
The following corollaries easily follow from Theorem 1.8.4.
Corollary 1.8.1: Two non-zero vectors x, y satisfy x × y = 0 if and only
if they are parallel.
The following result mixes the dot and the cross product.
Theorem 1.8.5: Let a, b, c , be linearly independent vectors in 3. The
(
signed volume of the parallelepiped spanned by them is a × b ic. )
See Figure 1.8.3.
Proof:
The area of the base of the parallelepiped is the area of the parallelo-
gram determined by the vectors a and b , which has area a × b . The alti-
tude of the parallelepiped is c cosθ where θ is the angle between c and
a × b. The volume of the parallelepiped is thus
( )
a × b c cosθ = a × b ic,
Since we may have used any of the faces of the parallelepiped, it fol-
lows that
! ( ) ( )
a × b i c = b × c i a = ( c × a ) i b.
TIP
In particular, it is possible to “exchange” the cross and dot products:
( ) (
a i b× c = a× b i c )
Example 1.8.2
Since N is on both MP and AC′, we must have
2 − 2t =1 − s, 3t =3 − 3s, t =sz′.
1 2
Solving the first two equations gives=s =,t . Putting this into the
3 3
0
third equation, we deduce z′ = 2. Thus P = 0 and the desired equation is
2
x 1
y = 3 + s [ 2 ] ⇒ x = 1 − s, y = 3 − 3 s, z = 2 s.
z 0
n
Exercises 1.8
1.8.4. Redo Example 1.7.4 (Section 1.7), that is, find the Cartesian
1 1
equation of the plane parallel to the vectors 1 and 1 ,
1 0
smmusaand passing through the point ( 0, −1, 2 ) , by finding a
normal to the plane.
1.8.5. Find the equation of the plane passing through the points
( a, 0, a ), ( − a,1, 0 ), and ( 0,1, 2 a ) in 3.
vertices is at the origin and that has three of its edges on the
coordinate axes, as in the figure. This intersection forms a
pentagon CPQRS.
1. Find CA × CB.
2. Find CA × CB .
3. Find the parametric equation of the line LCA joining C and A,
with a parameter t ∈ .
4. Find the parametric equation of the line LDE joining D and E,
with a parameter s∈ .
5. Find the intersection point between the lines LCA and LDE.
6. Find the coordinates of the points P, Q, R, and S.
7. Find the area of the pentagon CPQRS.
T (a + b) = T (a ) + T ( b), T ( λ a ) = λ T ( a ),
for all points a, b in 3 and all scalars λ. Such a linear transformation
has a 3 × 3 matrix representation whose columns are the vectors T ( i ) , T ( j) ,
and T ( k ).
Example 1.9.1
Consider L : 3 → 3, with
x1 x1 − x2 − x3
L x2 = x1 + x2 + x3 .
x x3
3
nn Solution:
1. Let α ∈ and let u,v be points in 3. Then
u1 + v1 ( u1 + v1 ) − ( u2 + v2 ) − ( u3 + v3 )
L ( u + v ) = L u2 + v2 = ( u1 + v1 ) + ( u2 + v2 ) + ( u3 + v3 )
u + v u3 + v3
3 3
u1 − u2 − u3 v1 − v2 − v3
= u1 + u2 + u3 + v1 + v2 + v3
u3 v3
u1 v1
= L u2 + L v2
u v
3 3
= L (u ) + L ( v ),
and also
α u1
L (α u ) = L α u2
α u
3
α ( u1 ) − α ( u2 ) − α ( u3 )
= α ( u1 ) + α ( u2 ) + α ( u3 )
α u3
u1 − u2 − u3
= α u1 + u2 + u3
u3
u1
= α L u2
u
3
= α L (u ),
proving that L is a linear transformation.
1 1 0 −1 0 −1
2. We have L 0 = 1 , L 1 = 1 , and L 0 = 1 , where
0 0 0 0 1 1
the desired matrix is
1 −1 −1
1 1 1 .
0 0 1
n
Example 1.9.2
1 2 3 a b c
If A = 4 5 0 , and B = a b 0 , then
6 0 0 a 0 0
1 + a 2 + a 3 + c
A + B = 4 + a 5 + b 0 ,
6 + a 0 0
3 6 9
3 A = 12 15 0 ,
18 0 0
6 a 3 b c
AB = 9 a 9 b 4 c ,
6 a 6 b 6 c
a + 4 b + 6 c 2 a + 5 b 3a
BA = a + 4 b 2aa + 5 b 3 a .
a 2a 3 a
cosθ − sin θ 0
Rz (θ ) = sin θ cosθ 0 .
0 0 1
Easy to find counterexamples should convince the reader that the prod-
uct of two rotations in space does not necessarily commute.
1 0 0
Ry = 0 −1 0 .
0 0 1
A reflection matrix about z -axis is
1 0 0
Rz = 0 1 0 .
0 0 −1
Exercises 1.9
−1 0 2 2 1 3
1.9.1 If A = 0 3 1 , and B = −1 0 1 , find:
0 5 4 1 4 −3
1 1 1
1.9.2 Let A ∈ M3×3 ( ) be given by A = 1 1 1. Demonstrate,
1 1 1
using induction, that A n = 3n−1 A for n ∈ , n ≥ 1.
1 1 1 1 1 1
0 1 1 1 1 1
A =0 0 1 1 1 1 .
0 0 0 0 0 1
1 0 x
x2
m ( x ) = − x 1 − .
2
0 0 1
x1 x1
1.9.6 Find the matrix of the linear operator L x2 = 3 x2 on
x 5x
3 2
3 with respect to the standard basis of 3, then use the
−1
matrix to find the image of the vector 4 .
2
x1 0
1.9.7 Find the matrix of the linear operator L x2 = x2 on 3
x 0
3
with respect to the standard basis of , then use the matrix
3
−1
to find the image of the vector 4 .
2
1.9.8 Find the matrix of each of the following linear
transformations:
x1
1. L x2 = 3 x1 − x2 + 5 x3
x3
x1 x1 + 4 x2 − x3
2. L x2 = x1 + 3 x2 + 2 x3
x3 3 x1 + 2 x2 + 5 x3
a b c
1 1 1
a = a2 , b = b2 , c = c2 , in 3, and the 3×3 matrix
a3 b3 c3
a1 b1 c1
A = a2 b2 c2 . Since, thanks
a3 b3 c3
a1 b1 c1
( )
D a, b, c = det a2 b2 ( )
c2 = a i b × c . (1.15)
a3 b3 c3
Proof:
( ) ( )
1. If D a, b, c = a i b × c , linearity of the first component follows by
the distributive law for the dot product:
( ) ( )
D a + a ′, b, c = ( a + a ′ )i b × c
( ) ( )
= a i b × c + a ′i b × c
( ) ( )
= D a, b, c + D a ′, b, c ,
and if λ ∈ ,
( ) ( )( ) (( ) ( ))
D λ a, b, c = λ a i b × c = λ a i b × c = λ D a, b, c . ( )
The linearity on the second and third component can be established by
using the distributive law of the cross product. For example, for the second
component we have,
( ) ((
D a, b + b′, c = a i b + b′ × c) )
(
= a i b × c + b′ × c )
( ) (
= a i b × c + a i b′ × c )
( ) (
= D a, b, c + D a, b′, c , )
and if λ ∈ ,
( ) (( ) ) ( ( ))
D a, λ b, c = a i λ b × c = λ a i b × c = λ D a, b, c . ( )
2. If a, b, c, are linearly dependent, then they lie on the same plane
and the parallelepiped spanned by them is flat, hence D a, b, c = 0. ( )
( ) ( )
3. Since j × k = i , and i × i = 1, D i, j, k = i i j × k = i × i = 1. n
Observe that,
a1 b1 c1
(
det a2 b2 c2 = a i b × c ) (1.16)
a3 b3 c3
= a i((b2 c3 − b3 c2 )i + (b3 c1 − b1 c3 ) j
(1.17)
+ (b1 c2 − b2 c1 )k)
= a1 ( b2 c3 − b3 c2 ) + a2 ( b3 c1 − b1 c3 ) (1.18)
+ a3 ( b1 c2 − b2 c1 )
b c2 b c1
= a1 det 2 + a2 det 1
b3 c3 b3 c3
b c1
+ a3 det 1 ,
b2 c2 (1.19)
Example 1.10.1
1 2 3
Find the det 4 5 6 .
7 8 9
nn Solution:
Using Equation (1.19), we have
5 6 2 3 2 3
det A = 1 det − 4 det + 7 det
8 9 8 9 5 6
= 1 ( 45 − 48 ) − 4 (18 − 24 ) + 7 (12 − 15 )
= −3 + 24 − 21
= 0. n
>> DP=dot(a, b)
DP =
2
>> CosTheta = dot(a,b)/(norm(a)∗norm(b));
>> ThetaInDegrees = acos(CosTheta)∗180/pi
ThetaInDegrees =
73.5701
Exercises 1.10
3 2 −1
1.10.1 Evaluate the det −2 −4 1 .
5 8 0
a 0 0
1.10.2 Evaluate the det b e 0 .
c d f
a b c
1.10.3 Evaluate the det 0 e d .
0 0 f
0 0 c
1.10.4 Show that det 0 b e = − cba .
a d f
1 − d 1 1
det 2 d −4 = 4.
3 1 0
1 1 1
1.10.12 Evaluate the det x y z .
x + 2 y + 3 z + 4
1 1 0
1.10.13 Find the values of λ that satisfy det 0 λ 1 = 0.
0 1 λ
1 − λ 0 −1
1.10.14 Find the values of λ that satisfy det 1 2−λ 1 = 0.
3 3 −λ
Example 1.11.1
Cube ABCDD′C′B′A ABCDD′C′B′A in Figure 1.11.1 has side
of length a . M is the midpoint ′
edge [BB ] and N is the midpoint of
of
edge [B′C′]. Prove that AD′ MN and find the area of the quadrilateral
MND′A.
nn Solution:
By the Pythagorean Theorem, AD′ = a 2. Because they are diag-
onals that belong to parallel faces of the cube, AD′ BC′. Now, M and
N are the midpoints of the sides [B′B] and [B′C′] of ∆B′C′B, and hence
MN BC′ by Example 1.1.6. The aforementioned example also gives
1 a 2
MN = AD′ = . In consequence, AD′ MN. This means that the
2 2
four points A, D′, M, N are all on the same plane. Hence MND′A is a
a 2
trapezoid with bases of length a 2 and , see Figure 1.11.2. From the
figure 2
Proof:
Given the lines AB and CD , we must prove that
AE CF
=
EB FD .
Draw line AD cutting plane P2 in G. The plane containing points
A, B, and D intersects plane P2 in the line EG. Similarly the plane con-
taining points A ,C, and D intersects plane P2 in the line GF. Since P2
and P3 are parallel planes, EG BD, and so by Thales’ Theorem on the
plane (Theorem 1.2.2)
AE AG .
=
EB GD
Similarly, since P1 and P2 are parallel, AC GF and
CF AG
= .
FD GD
It follows that
AE CF
= ,
EB FD
as needed to be shown. n
Example 1.11.2
In cube ABCDD′C′B′A′ of edge of length a , as in Figure 1.11.4, the
points M and N are located on diagonals [AB′ ] and [ BC′] such that MN
is parallel to the face ABCD of the cube. If
5 AM BN
MN = AB , find the ratios and .
3 AB′ BC′
nn Solution:
There is a unique plane parallel P to face ABCD and containing M.
Since MN is parallel to face ABCD, P also contains N. The intersection of
P with the cube produces a lamina A′′B′′C′′D′′, as in Figure 1.11.5.
First notice that AB′ = BC′ = a 2 . Put
AM MB′ AB′ − AM
= x ⇒ = = 1 − x.
AB′ AB′ AB′
5
Since MN = a, by the Pythagorean Theorem,
3
2 2 2 5 1 2
MN = MB′′ + B′′N ⇒ a2 = (1 − x ) a2 + x2 a2 ⇒ x ∈ , .
9
2
3 3 { }
There are two possible positions for the segment, giving the solutions
AM BN 1 AM BN 2
= = , = = ⋅
n
AB′ BC′ 3 AB′ BC′ 3
Exercises 1.11
Proof:
We only provide the proof for the second statement, as the proof for
the first is similar. Cut any two such solids by horizontal planes that produce
cross sections of area A( x) and cA( x), where c > 0 is the constant of pro-
portionality, at an arbitrary height x above a fixed base. From elementary
x2 x2
calculus, we know that ∫ x1
A( x)dx and ∫
x1
cA( x)dx give the volume of the
portion of each solid cut by all horizontal planes as x runs over some interval
x2 x2
[ x1 ; x2 ]. As ∫
x1
A( x)dx = ∫ cA( x)dx, the corresponding volumes must also be
x1
proportional. n
Example 1.12.1
Use Cavalieri’s Principle in order to deduce that the area enclosed by
x2 y2
the ellipse with equation 2 + 2 = 1, a > 0, b > 0, is π ab.
a b
Solution:
nn
Consider the circle with equation x2 + y2 = a2, as in Figure 1.12.1.
b 2
Then, for y > 0, y = a2 − x2 , y = a − x2 .
a
The corresponding ordinate for the ellipse and the circle are propor-
tional, and hence, the corresponding chords for the ellipse and the circle
will be proportional. By Cavalieri’s first principle,
b
Area of the ellipse = ( Area of the circle)
a
b
= (π a2 )
a
= π ab. n
Example 1.12.2
Use Cavalieri’s Principle in order to deduce that the volume of a sphere
4
with radius a is π a3.
3
nn Solution:
The following method is due to Archimedes, who was so proud of it that
he wanted a sphere inscribed in a cylinder on his tombstone. We need to
recall that the volume of a right circular cone with base radius a and height
π a2 h
h is .
3
Consider a hemisphere of radius a, as in Figure 1.12.2.
Cut a horizontal slice at height x, producing a circle of radius r. By
the Pythagorean Theorem, x2 + r 2 = a2, and so this circular slab has area
π r 2 = π ( a2 − x2 ). Now, consider a punctured cylinder of base radius a and
height a, as in Figure 1.12.3, with a cone of height a and base radius a cut
from it. A horizontal slab at height x is an annular region of area π a2 − π x2,
which agrees with a horizontal slab for the sphere at the same height.
By Cavalieri’s Principle,
Volume of the hemisphere = Volume of the punctured cylinder
π a3
= π a2 −
3
2π a3
= .
3
2π a3 4π a3
It follows that the volume of the sphere is 2 = .
3 3 n
Example 1.12.3
Since the center of gravity of a circle is at its center, by the Pappus-Guldin
Rule, the surface area of the torus with the generating circle having radius
Exercises 1.12
1.12.1 Use the Pappus-Guldin Rule to find the lateral area and
the volume of a right circular cone with base radius r and
height h.
1.12.2 Use the Pappus-Guldin Rule to find the lateral area and
the volume of a rectangular cylinder with base radius r and
height h.
1.12.3 Use the Pappus-Guldin Rule to find the lateral area and the
volume of a semicircle sphere with base radius r and
height h.
1.12.4 Find the volume for spherical cap with radius r and
height h, with base area A.
1.12.5 A large plastic balloon with a thin metal coating used for
satellite communications has a diameter 60 m. Find its area
and volume.
1.12.6 Tell whether the statement true or false.
1. A radius of a small circle of a sphere is a radius of the sphere.
2. A diameter of a great circle of a sphere is a diameter of the
sphere.
Theorem 1.13.1: The sum of any two face angles of a trihedral angle is
greater than the third face angle.
Proof: Consider Figure 1.13.3. If ∠ZVX is smaller or equal to in size than
either ∠XVY or YVZ, then we are done, so assume that, say, ∠ZVX > XVY.
We must demonstrate that
∠XVY + ∠YVZ > ∠ZVX.
Since we are assuming that ∠ZVX > XVY , we may draw, in ∠XVY the
line segment [ VW ] such that ∠XVW = ∠XVY.
Through any point D of the segment [ VW ] , draw ∆ADC on the plane
P containing the points V , X , Z. Take the point B ∈ [ VY ] so that VD = VB.
Consider now the plane containing the line segment [ AC] and the point B.
Observe that ∆AVD ≅ AVB. Hence AD = AB. Now, by the triangle inequal-
ity in ∆ABC, AB + BC > CA. This implies that ∠BVC > ∠DVC. Hence
∠AVB + ∠BVC = ∠AVD + ∠BVC
> ∠AVD + ∠DVC
= ∠AVC,
which proves that ∠XVY + ∠YVZ > ∠ZVX, as wanted. n
Theorem 1.13.2 The sum of the face angles of any convex polyhedral
angle is less than 2π radians.
Proof: Let the polyhedral angle have n faces and vertex V. Let the faces
be cut by a plane, intersecting the
edges at the points A1 , A2 , . . . An ,
say. An illustration can be seen
in Figure 1.13.4, where for
convenience, we have depicted
only five edges.
Observe that the polygon
A1 A2 . . . An is convex and that
the sum of its interior angles is
π ( n − 2 ). FIGURE 1.13.4 Polyhedral angle.
∑ ∠A
1≤ k ≤ n
k −1
Ak Ak +1 = π ( n − 2 ) ,
Also,
∑ VA A
1≤ k ≤ n
k k +1
+ ∠VAk +1 Ak + ∠Ak VAk +1 = π n,
since this is summing the sum of the angles of the n triangles of the
faces. But clearly
∑ VA A
1≤ k ≤ n
k k +1
= ∑ ∠VA
1≤ k ≤ n
k +1
Ak ,
since one sum adds the angles in one direction and the other in the
opposite direction. For the same reason,
∑ VA A
1≤ k ≤ n
k k −1
= ∑ ∠VA A
1≤ k ≤ n
k k +1
.
Hence
∑ ∠A VA
1≤ k ≤ n
k k +1
=πn− ∑ ( VA A
1≤ k ≤ n
k k +1
+ ∠VAk +1 Ak )
=π n − ∑ ( VA A
1≤ k ≤ n
k k +1
+ ∠VAk Ak −1 )
=π n − π ( n − 2 )
= 2π ,
as we needed to show. n
Thus, there are at most five Platonic solids. That there are exactly five
can be seen by explicit construction. Figures 1.13.6 through 1.13.10 depict
the Platonic solids.
Exercises 1.13
Observe that z = ρ cos ϕ . We now project the line segment [OB] onto
the xy - plane in order to find the polar coordinates of x and y. Let θ be
angle that this projection makes with the positive x-axis.
Since OP = ρ sin ϕ , we find x = ρ cos θ sin ϕ, y = ρ sin θ sin ϕ.
Here ϕ is the polar angle, measured from the positive z-axis, and θ
is the azimuthal angle, measured from the positive x-axis. By convention,
0 ≤ θ ≤ 2π and 0 ≤ ϕ ≤ π .
Spherical coordinates are extremely useful when considering regions,
which are symmetric about a point.
The radius of a great circle is the radius of the sphere. The poles of a
! great circle are equally distant from the plane of the circle, but this is
TIP not the case in a small circle. By the pole of a small circle, we mean
the closest pole to the plane containing the circle. A pole of a circle is
equidistant from every point of the circumference of the circle.
Definition 1.14.3 Given the center of the sphere, and any two points of
the surface of the sphere, a plane can be drawn. This plane will be unique
if and only if the points are not diametrically opposite. In the case where
the two points are not diametrically opposite, the great circle formed is split
into a larger and a smaller arc by the two points. We call the smaller arc the
geodesic joining the two points. If the two points are diametrically opposite
then every plane containing the line forms with the sphere a great circle,
and the arcs formed are then of equal length. In this case, we take any such
arc as a geodesic.
Since x12 + y12 + z12 = ρ 2 , x22 + y22 + z22 = ρ 2, we gather that x1 x2 + y1 y2 + z1 z2 = ρ 2 cos∠ ( A
x1 x2 + y1 y2 + z1 z2 = ρ 2 cos∠ ( AOB). Therefore we obtain
Proof: Let AB be the edge common to the two adjacent faces, C and D
the centers of the faces; bisect AB at E , and join CE and DE ; CE and DE
will be perpendicular to AB , and the angle CED is the angle of inclination
of the two adjacent faces; we shall denote it by I . In the plane containing
CE and DE draw CO and DO at right angles to CE and DE respectively,
and meeting at O ; about O as centre describe a sphere meeting OA , OC ,
OE at a, c, e respectively, so that cae forms a spherical triangle. Since
AB is perpendicular to CE and DE , it is perpendicular to the plane CED ,
therefore the plane AOB which contains AB is perpendicular to the
plane CED ; hence the angle cea of the spherical triangle is a right
angle. Let m be the number of ides in each face of the polyhedron, n the
number of the plane angles which form each solid angle. Then the angle
2π π
ace = ACE = = ; and the angle cae is half one of the n equal angles
2m m
2π π
formed on the sphere round a, that is, cae = = . From the right-angled
triangle cae 2n n
Theorem 1.14.3: Let r and R be, respectively, the radii of the inscribed
and circum-scribed spheres of a regular polyhedron. Then
a π I a I π
r = cot tan , R = tan tan ⋅
2 m 2 2 2 n
Here a is the length of any edge of the polyhedron, and I is the dihe-
dral angle of any two faces.
I a π I
r = CE tan CEO = CE tan = cot tan tan ;
2 2 m 2
also
π π
r = R cos aOc = R cot eca cot eac = R cot cot ;
m n
therefore
π π a I π
R = r tan tan = tan tan ⋅
m n 2 2 n n
From the previous formula, we now easily find that the volume of the
pyramid, which has one face of the polyhedron for base and O for vertex is
r ma2 π mFra2 π
⋅ cot , and therefore the volume of the polyhedron is cot .
3 4 m 12 m
ma2 π
Furthermore, the area of one face of the polyhedron is cot , and
4 m
mFa2 π
therefore the surface area of the polyhedron is cot .
4 m
Exercises 1.14
a ( x − x0 ) + b ( y − y0 ) + c ( z − z0 ) = 0 .
If we know that the vectors u and v are on the plane (parallel to the
plane) then with the parameters p, q, the equation of the plane is
x − x0 = pu1 + qv1 ,
y − y0 = pu2 + qv2 ,
z − z0 = pu3 + qv3 .
Example 1.15.1
Figure 1.15.1 shows the cylinder with Cartesian equation x2 + y2 = 1 .
One starts with the circle x2 + y2 = 1 on the xy-plane and moves it up and
down the z -axis. A parameterization for this cylinder is the following:
x = cos v, y = sin v, z = u, u ∈ , v ∈ [ 0; 2π ].
The Maple TM
commands to graph this surface are:
Example 1.15.2
Figure 1.15.3 shows the parabolic cylinder with Cartesian equation
z = y2. One starts with the parabola z = y2 on the yz -plane and moves it
up and down the x-axis. A parameterization for this parabolic cylinder is
the following:
x = u, y = v, z = v2 , u ∈ , v ∈ .
Example 1.15.3
Figure 1.15.4 shows the hyperbolic cylinder with Cartesian equation
x − y2 = 1. One starts with the hyperbola x2 − y2 = 1 on the xy-plane and
2
moves it up and down the z-axis. A parameterization for this parabolic cyl-
inder is the following:
x = ± cosh v, y = sinh v, z = v, u ∈ , v ∈ .
We need a choice of sign for each of the portions. We have used the fact
that cosh2 v − sinh2 v = 1 . The MapleTM commands to graph this surface are:
a2
b 2
c 2
Example 1.15.4
The surface in 3 implicitly given by z2 = x2 + y2 is a cone, as its equa-
2 2
x y
tion can be put in the form + − 1 = 0 . Considering the planes
z z
=x 0= , y 0, z = 0 ,the apex is located at ( 0, 0, 0 ) . The graph is shown in
Figure 1.15.5.
Definition 1.15.3 A surface S obtained by making a curve Γ turn around
a line ∆ is called a surface of revolution. We then say that ∆ is the axis of
revolution. The intersection of S with a half-plane bounded by ∆ is called
a meridian.
Example 1.15.5
Find the equation of the surface of revolution generated by revolving
the hyperbola
x2 − 4 z2 = 1,
about the z-axis.
c 2 a2 b2
nn Solution:
Let ( x, y, z ) be a point on S. If this point were on the xz plane, it
would be on the hyperbola, and its distance to the axis of rotation would be
x = 1 + 4 z2 . Anywhere else, the distance of ( x, y, z ) to the axis of rotation
is the same as the distance of ( x, y, z ) to ( 0, 0, z ), that is x2 + y2 . We must
have
x 2 + y2 = 1 + 4 z 2 ,
which is to say
x2 + y2 − 4 z2 = 1.
x = 1 + 4 u2 cos v, y = 1 + 4 u2 sin v, z = u, u ∈ , v ∈ [ 0; 2π ]. n
Example 1.15.6
The circle ( y − a ) + z2 = r 2, on the yz-plane ( a, r are positive real
2
numbers) is revolved around the z-axis, forming a torus T. Find the equa-
tion of this torus.
nn Solution:
Let ( x, y, z ) be a point on T. If this point were on the yz- plane,
it would be on the circle, and the of the distance to the axis of rota-
tion would be y = a + sgn ( y − a ) r 2 − z2 , where sgn ( t ) (with sgn(t) = −1 if t < 0, sgn(t) =
sgn(t) = −1 if t < 0, sgn(t) = 1 if t > 0, and sgn(0) = 0 ) is the sign of t. Anywhere else,
the distance from ( x, y, z ) to the z-axis is the distance of this point to the
point ( x, y, z ) : x2 + y2 . We must have
( )
2
x2 + y2 = a + sgn ( y − a ) r 2 − z2
= a2 + 2 a sgn ( y − a ) r 2 − z2 + r 2 − z2 .
Rearranging
x2 + y2 + z2 − a2 − r 2 = 2 a sgn ( y − a ) r 2 − z2 ,
or
( x 2 + y2 + z 2 − ( a 2 + r 2 ) )
2
= 4 a 2 r 2 − 4 a 2 z2 .
( x 2 + y2 + z 2 ) − 2 ( a 2 + r 2 ) ( x 2 + y2 ) + 2 ( a 2 − r 2 ) z 2 + ( a 2 − r 2 ) = 0 .
2 2
The equation of the torus thus, is of fourth degree, and its graph appears
in Figure 1.15.7.
Example 1.15.7
The surface z = x2 + y2 is called an elliptic paraboloid. The equation
clearly requires that z ≥ 0 . For fixed z = c, c > 0, x2 + y2 = c is a circle.
When= y 0= , z x2 is a parabola on the xz - plane. When= x 0= , z y2 is a
parabola on the yz - plane. See Figure 1.15.8. The following is a parameter-
ization of this paraboloid:
x = u cos v, y = u sin v, z = u, u ∈ [ 0; +∞[ , v ∈ [ 0; 2π ].
x2 y2
FIGURE 1.15.8 Paraboloid Z = + .
a2 b2
Example 1.15.8
The surface z = x2 − y2 is called a hyperbolic paraboloid or saddle. If
z = 0, x2 − y2 = 0 is a pair of lines in the xy - plane. When=
y 0= , z x2 is
a parabola on the xz - plane. When x = 0, z = − y2 is a parabola on the yz
-plane. See Figure 1.15.9. The following is a parameterization of this hyper-
bolic paraboloid:
x = u, y = v, z = u 2 − v2 , u ∈ , v ∈ .
x2 y2
FIGURE 1.15.9 Hyperbolic paraboloid z = − .
a2 b2
Example 1.15.9
The surface z2 = x2 + y2 − 1 is called a hyperboloid of two sheets.
For x2 + y2 < 1, z2 < 0, is impossible, and hence, there is no graph when
x2 + y2 < 1 . When y = 0, z2 − x2 = 1 , is a hyperbola on the xz - plane.
When x = 0, z2 − y2 = −1 is a hyperbola on the yz - plane. When z = c is
a constant, then the x2 + y2 = c2 + 1, are circles. See Figure 1.15.10. The
following is a parameterization for the top sheet of this hyperboloid of two
sheets
x = u cos v, y = u sin v, z = u2 + 1, u ∈ , v ∈ [ 0; 2π ],
and the following parameterizes the bottom sheet,
x = u cos v, y = u sin v, z = − u2 − 1, u ∈ , v ∈ [ 0; 2π ].
c 2 a2 b2
Example 1.15.10
The surface z2 = x2 + y2 − 1 is called a hyperboloid of one sheet.
For x2 + y2 < 1, z2 < 0 is impossible, and hence there is no graph when
x2 + y2 < 1. When y = 0, z2 − x2 = −1 is a hyperbola on the xz- plane. When
x = 0, z2 − y2 = −1 is a hyperbola on the yz- plane. When z = c is a con-
stant, then the x2 + y2 = c2 + 1 are circles. See Figure 1.15.6. The following
is a parameterization for this hyperboloid of one sheet
x = u2 + 1 cos v, y = u2 + 1 sin v, z = u, u ∈ , v ∈ [ 0; 2π ].
c 2
a2
b 2
Example 1.15.11
x2 y2 z2
Let a, b, c be strictly positive real numbers. The surface 2 + 2 + 2 = 1
a b c
x2 y2
is called an ellipsoid. For z = 0, 2 + 2 = 1 is an ellipse on the xy plane. When
a b
x 2 z2 y2 z 2
y = 0, 2 + 2 = 1 is an ellipse on the xz - plane. When x = 0, 2 + 2 = 1
a c b c
is an ellipse on the yz- plane. See Figure 1.15.11. We may parameterize the
ellipsoid using spherical coordinates:
x = a cosθ sin φ , y = b sin θ sin φ , z = c cos φ , θ ∈ [ 0; 2π ],φ ∈ [ 0;π ].
Exercises 1.15
φ ( u, v ) =parameterized
1.15.4 Describe the surface byvφ, u( u2 ), ,v ) = ( au cos v, bu sin v, u2 ) ,
( au cos v, bu sin
φ ( u, v ) = ( au cos v, bu sin v, u2 ) , ( u, v ) ∈ (1, +∞ ) × ( 0, 2π ) , a, b >
( u0., v ) ∈ (1, +∞ ) × ( 0, 2π ) , a, b > 0.
( u, v ) ∈ (1, +∞ ) × ( 0, 2π ) , a, b > 0.
1.15.5 Use Maple to show the cylinder with Cartesian equation
3 x2 + 5 y2 = 1. One starts with the circle 3 x2 + 5 y2 = 1 on
the xy -plane and moves it up and down the z-axis, where
−1 ≤ x ≤ 1 , −1 ≤ y ≤ 1 , and −10 ≤ z ≤ 10.
y2
the xy plane produces the ellipse x2 + = 1 , and if it is cut
4
by a at z = 0, its projection on the xy -plane produces the
ellipse 4 x2 + y2 = 1 . Find its equation.
Example 1.16.1
The trace of r(t) = i cos t + j sin t + k t is known as a cylindrical helix.
See Figure 1.16.1. To find the length of the helix as t traverses the interval
[0; 2π ], first observe that
d x = ( sin t ) + ( − cos t ) + 1 dt = 2 dt,
2 2
The MapleTM commands to graph this curve and to find its length are:
Example 1.16.2
Find a parametric representation for the curve resulting by the inter-
section of the plane 3 x + y + z = 1 and the cylinder x2 + 2 y2 = 1 in 3.
Solution:
nn
The projection of the intersection of the plane 3 x + y + z = 1 and the
cylinder is the ellipse x2 + 2 y2 = 1 on the xy -plane. This ellipse can be
parameterized as
2
x = cos t, y = sin t, 0 ≤ t ≤ 2π .
2
From the equation of the plane,
2
z = 1 − 3 x − y = 1 − 3 cos t − sin t.
2
Thus we may take the parameterization
cos t
x(t)
2 .
r(t) = y(t) = sin t
2
z(t)
1 − 3 cos t − 2 sin t
2 n
Example 1.16.3
Let a, b, c be strictly positive real numbers. Consider the region
ℜ = {( x, y, z ) ∈ 3 : x ≤ a, y ≤ b, z = c} . A point P moves along the ellipse
x2 y2
+ = 1, z = c + 1,
a2 b2
once around, and acts as a source light projecting a shadow of ℜ onto
the xy-plane. Find the area of this shadow.
Solution:
nn
First consider the same problem as P moves around
the circle x2 + y2 = 1, z = c + 1, and the region ℜ′ = {( x, y, z ) ∈ 3 : x ≤ 1, y ≤ 1, z =
ℜ′ = {( x, y, z ) ∈ 3
: x ≤ 1, y ≤ 1, z = c}. See Figure 1.16.2.
π c2 + 4 ( c + 1 ) + 8 c ( c + 1 ) .
2
Resizing to a region
ℜ = ( x, y, z ) ∈ 3 : x ≤ a, y ≤ b, z = c,
and an ellipse
x2 y2
+ = 1, z = c + 1,
a2 b2
Exercises 1.16
P1 : ax + y + z = − a,
P2 : x − ay + az = −1.
x1
x
n = 2 : xk ∈ .
xn
Definition 1.17.2 If a and b are two vector in n their vector sum
a + b is defined by the coordinatewise addition
a1 + b1
a2 + b2
a+b= .
an + bn
Definition 1.17.3 A real number α ∈ will be called a scalar. If α ∈
and a ∈ n, we define scalar multiplication of a vector and a scalar by the
coordinatewise
α a1
α a2
α a= .
α an
( )( )
2 2 2
( )
2xiy − 4 x y ≤ 0 ⇔ xiy ≤ x y ,
! The preceding proof works for any vector space (cf. below) that has
TIP an inner product.
Proof:
2
(
a+b = a+b i a+b )( )
= a ia + 2 a i b + b i b
2 2
≤ a +2 a i b + b
2
(
= a + b , )
from where the desired result follows. n
Again, the preceding proof is valid in any vector space that has a norm.
Definition 1.17.6 Let x and y be two non-zero vectors in a vector space
( )
over the real numbers. Then the angle x, y between the is given by the
relation
xiy
( )
cos x, y = ⋅
x y
This expression agrees with the geometry in the case of the dot product
for 2 and 3.
Example 1.17.1
Assume that ak , bk , ck , k = 1,, n, are positive real numbers. Show that
4 2
n n 4 n 4 n 2
∑ ak bk ck ≤ ∑ ak ∑ bk ∑ ck .
k =1 k =1 k =1 k =1
nn Solution:
n
Using CBS on ∑ ( a b ) c , once we obtain
k=1
k k k
1/2 1/2
n
n 2 2 n 2
∑
k =1
a b c
k k k
≤ ∑ ak bk
k =1
∑ ck
k =1
.
1/2
n
Using CBS again on ∑ ak2 bk2 , we obtain
k =1
1/2 1/2
n
n n 2
∑
k =1
ak bk ck ≤ ∑ ak2 bk2
k =1
∑ ck
k =1
1/ 4 1/ 4 1/2
n n 4 n 2
≤ ∑ ak4 ∑ bk ∑ ck ,
k =1 k =1 k =1
which gives the required inequality. n
n
1/ x log ∑ qk akx
n k =1
lim log ∑ qk akx = lim
x →0
k =1 x →0 x
n
∑ q (a k
x
k
− 1)
= lim k =1
x →0 x
= lim ∑ qk
n
(a x
k
− 1)
x →0
k =1 x
n
= ∑ qk log ak .
k =1 n
Theorem 1.17.2 (Arithmetic Mean-Geometric Mean Inequality):
Let ak ≥ 0. Then
a1 + a2 + + an
n a1 a2 an ≤ ⋅
n
Proof: If bk ≥ 0 , then by CBS
2
1 n 1 n
∑
n k =1
bk ≥ ∑ bk . (1.23)
n k =1
Successive applications of Equation (1.23) yield the monotone decreas-
ing sequence
2 4
1 n 1 n 1 n 4
∑ a ≥ ∑ a ≥ ∑ a ≥ ,
n k =1 k n k =1 k n k =1 k
which by Lemma 1.17.1 has limit
1 n
exp ∑ log ak = n a1 a2 an ,
n
k =1
giving
a1 + a2 + + an
n a1 a2 an ≤ ,
n
as wanted. n
Example 1.17.2
For any positive integer n > 1 we have 1 ⋅ 3 ⋅ 5 ( 2 n − 1 ) < nn . For,
by AMGM,
1 + 3 + 5 + + ( 2 n − 1 ) n2
n n
1 ⋅ 3 ⋅ 5 ( 2n − 1) < = =n .
n
n n
Notice that since the factors are unequal we have strict inequality.
1
Proof: This follows by putting ak = in Theorem 1.17.2. Then
bk
1 1 1
1/ n + + +
1 1 1 b1 b2 bn
≤ .
b1 b2 bn n n
n b1 + b2 + + bn
≤ .
1 1 1 n
+ + +
b1 b2 bn
Example 1.17.3
Let ak > 0, and s = a1 + a2 + + an. Prove that
n
s n2
∑
k =1 s − a k
≥
n −1
.
and
n ak n
∑ s−a
k =1
≥
n −1
.
k
nn Solution:
s
Put bk = . Then
s − ak
n
1 n s − ak
∑b =∑
k =1 k =1 n
= n − 1,
k
n
s
n
∑ s−a
k =1
≤ k
,
n −1 n
s a
from where the first inequality is proved. Since − 1 = k , we
have s − ak s − ak
n ak n s
∑ s − a = ∑ s − a k =1
− 1
k =1 k k
n
s
= ∑ − n
k =1 s − a k .
n 2
≥ −n
n −1
n
= ⋅
n −1 n
Exercises 1.17
a1 + a2 + + an
(a a a )
1/ n
1 2 n
≤ ⋅
n
Equality occurs if and only if a=1
a=
2
= an. In this exercise,
you will follow the steps of a proof by George Polya.
1. Prove that ∀x ∈ , x ≤ e x −1.
nak
2. Put Ak = , and Gn = a1 a2 an. Prove that
a1 + a2 + + an
n n Gn
A1 A2 An = , and that A1 + A2 + + An = n.
(a + a2 + + an )
n
1
n
a + a2 + + an
3. Deduce that Gn ≤ 1 .
n
∑ ak = 96,
k =1
∑ ak2 = 144,
k =1
∑a
k =1
3
k
= 1216.
2
DIFFERENTIATION
In This Chapter
ll Some Topology
ll Multivariable Functions
ll Limits and Continuity
ll Definition of the Derivative
ll The Jacobi Matrix
ll Gradients and Directional Derivatives
ll Levi-Civita and Einstein
ll Extrema
ll Lagrange Multipliers
B
ased on the understanding of the concepts of vectors and parametric
curves from the previous chapter, in this chapter we focus on differ-
entiation of functions of several variables. We mainly discuss some
topology, multivariable functions, limits and continuity, definition of the
derivative, the Jacobi matrix, gradients and directional derivatives, Levi-
Civita and Einstein extrema, and Lagrange multipliers.
Example 2.1.1
An open ball in is an open interval, an open ball in 2 is an open
disk (see Figure 2.1.1) and an open ball in 3 is an open sphere (see
Figure 2.1.2). An open box in is an open interval, an open box in 2 is a
rectangle without its boundary (see Figure 2.1.3) and an open box in 3 is
a box without its boundary (see Figure 2.1.4).
Example 2.1.3
The region ]−1; 1[ × ]0; +∞[ is open in 2.
Example 2.1.4
The ellipsoidal region {( x, y) ∈ 2
: x2 + 4 y2 < 4} open in 2 .
You will recognize that open boxes, open ellipsoids and their unions,
and finite intersections are open sets in n.
Example 2.1.5
The closed interval [ −1; 1] is closed in , as its complement,
\ [ −1; 1] = ]−∞; −1[ ∪ ]1; ∞[ is open in . However, the interval ]−1; 1] is
neither open nor closed in .
Example 2.1.6
The region [−1; 1] × [0; +1[ × [0; 2] is closed in 3.
! A set is called an open set if and only if all its points are interior
TIP points.
Exercises 2.1
2.1.1 Determine whether the following sub-sets of 2 are open,
closed, or neither, in 2.
1. A = {( x, y ) ∈ 2 : 2 ≤ x ≤ 4, 1 ≤ y ≤ 5}
2. B = {( x, y ) ∈ 2 : 0 ≤ x2 + y2 ≤ 4}
1
3. C = ( x, y ) ∈ 2 : x > 0, y < sin
x
4. D = {( x, y ) ∈ 2 : x > 0, y > 0}
5. E = {( x, y ) ∈ 2 : x2 + y2 < r 2 }, for r > 0
6. F = {( x, y) ∈ 2 2 2
}
: ( x − a ) + ( y − b ) < r 2 , for r > 0 and
( a, b) ∈ 2
7. G = {( x, y ) ∈ 2 : a < x < b, c < y < d} for a rectangle
= ( a, b ) , ( c, d ) , where ( a, b ) ∈ 2 and ( c,d ) ∈ 2
8. H = {( x, y ) ∈ 2 : 2 ≥ y2 − 4 x > 1}
9. I = {( x, y ) ∈ 2 : 2 y + x > −1}
10. J = {( x, y ) ∈ 2 : x2 + y2 < 5, x2 − y2 > 1}
11. K = {( x, y ) ∈ 2 : x2 + 4 y2 > 4}
12. L = {( x, y ) ∈ 2 : x2 + 4 y2 ≥ 4, x2 + 4 y2 ≤ 16}
13. M = {( x, y ) ∈ 2 : x ≥ 2 y, y ≥ 2 x}
14. N = {( x, y ) ∈ 2 : x2 + y2 = 1}
x 2 y2
15. L = ( x, y ) ∈ 2 : + < 1
2 3
16. T = {( x, y ) ∈ 2 : x < 1, y < 1}
17. V = {( x, y ) ∈ 2 : x ≤ 1, y ≤ 1}
18. V = {( x, y ) ∈ 2 : x2 + y ≥ 0}
19. V = {( x, y ) ∈ 2 : x = y}
20. V = {( x, y ) ∈ 2 : xy > 0}
21. V = {( x, y ) ∈ 2 : y = x − 1 + 2 − x}
22. V = {( x, y ) ∈ 2 : x2 > y}
3. C = {( x, y, z ) ∈ 3 : x2 + y2 < 7, z ≡ 0}
4. D = {( x, y, z) ∈ 3 2 2
}
: ( x − a ) + ( y − b ) + ( z − c ) < ε 2 with
2
5. E = {( x, y, z) ∈ 3 2 2
}
: ( x − a ) + ( y − b ) + ( z − c ) ≤ ε with
2
6. F = {( x, y, z) ∈ 3 2 2
}
: ( x − 1) + ( y − 2 ) + ( z + 3 ) ≤ 5
2
7. B = {( x, y, z ) ∈ 3 : x2 + y2 + z2 ≤ 5}
x 2 y2 z 2
8. L = ( x, y, z ) ∈ 3 : 2 + 2 + 2 ≤ 1
a b c
9. V = {( x, y, z ) ∈ : x + y − z = 0}
3 2 2 2
10. M = {( x, y, z ) ∈ 3 : x2 + y2 + z2 − 4 z = 0}
11. T = {( x, y, z ) ∈ 3 : x ≥ 0, y ≥ 0, z ≥ 0}
xy
12. G = ( x, y, z ) ∈ 3 :
z
13. C = {( x, y, z ) ∈ 3 : xy > z}
14. B = {( x, y, z) ∈ 3
: ( x − y ) = z2
2
}
15. T = {( x, y, z ) ∈ 3 : 1 < x2 + y2 + z2 < 2}
2.1.4 Determine whether the following statements are true or
false.
1. The set of {( x ) ∈ : 0 < x < 1} is open in .
2. If a and b > 0, the open rectangle
{( x, y) ∈ 2
: 0 < x < a, 0 < y < b} is an open set in 2.
3. The interaction of two open sets is an open set.
4. The union of two closed sets is a closed set.
5. The interaction of two closed sets is a closed set.
6. An open ball is a convex set.
7. A set that contains its boundary is called a closed set.
2.1.5 Prove that the union of two open sets is an open set.
HINT A set is called an open set if and only if all its points are interior points.
{( x, f (x)) : x ∈ A} ⊆ n+ m
.
Example 2.2.1
The level curves of the surface f ( x, y ) = x2 + y2 (an elliptic parabo-
loid) are the concentric circles x2 + y2 = c, c > 0.
Example 2.2.2
1
Sketch the level curve for f ( x, y ) = 12 − 6 x2 − 2 y2 .
3
nn Solution:
The Maple™ commands to graph this function.
1
FIGURE 2.2.1 (A) Level curve of f ( x , y ) = 12 − 6 x 2 − 2 y 2 in 2D with Maple.
3
1
FIGURE 2.2.1 (B) Level curve of f ( x , y ) = 12 − 6 x 2 − 2 y 2 in 3D with Maple.
3
1
FIGURE 2.2.2 (A) Level curve of f ( x , y ) = 12 − 6 x 2 − 2 y 2 in 2D with MATLAB.
3
1
FIGURE 2.2.2 (B) Level curve of f ( x , y ) = 12 − 6 x 2 − 2 y 2 in surface form with MATLAB.
3
>> syms x y
>> f =(1/3∗sqrt(12−(6∗x^2)−2∗y^2))
f=
1/3∗(12−6∗x^2−2∗y^2)^(1/2)
ezsurf(f, [−2, 2, −2, 2])
The surface plot is presented in Figure 2.2.2(b).n
Example 2.2.3
Sketch the level surface for f ( x, y, z ) = x2 + 4 y2 + 16 z2.
nn Solution:
The Maple™ commands to graph this function.
Exercises 2.2
2.2.1 Sketch the level curves in 2D and 3D views for the following
maps.
1. ( x, y ) x + y
2. ( x, y ) xy
3. ( x, y ) x3 − y
4. ( x, y ) x2 + 4 y2
5. ( x, y ) y2 − x2
6. ( x, y ) min ( x , y )
7. ( x, y ) sin ( x2 + y2 )
8. ( x, y ) cos ( x2 − y2 )
9. ( x, y ) 5 − x2 − y2
10. ( x, y ) ye x
11. ( x, y ) sin x sin y
12. ( x, y ) ln ( x2 + y2 − 1 )
y
13. ( x, y ) tan −1
x+1
14. ( x, y ) x2 / 3 + y2 / 3
15. ( x, y ) ( x + 1 ) + y2
2
x+ z
10. ( x, y, z ) sin
1− y
11. ( x, y, z ) ln ( x − 2 y − 3 z + 4 )
x+ z
12. ( x, y, z ) tan −1
y
Example 2.3.1
x2 y
Find lim .
( x , y ) → ( 0 , 0 ) x 2 + y2
nn Solution:
We use the sandwich theorem. Observe that, 0 ≤ x2 ≤ x2 + y2, and so
x2
0≤ 2 ≤ 1. Thus
x + y2
x2 y
lim 0 ≤ lim ≤ lim y ,
( x , y ) →( 0 ,0 ) ( x , y ) →( 0 ,0 ) x 2 + y2 ( x , y ) → ( 0 , 0 )
And hence
x2 y
lim = 0.
( x , y ) → ( 0 , 0 ) x 2 + y2
x2 y
FIGURE 2.3.1 Example 2.3.1 for 3D plot of ( x , y ) .
x + y2
2
The Maple™ commands to graph this surface and find this limit appear
in the following. Notice that Maple is unable to find the limit and so the
limit unevaluated.
n
Example 2.3.2
x 5 y3
Find lim .
( x , y ) → ( 0 , 0 ) x 6 + y4
nn Solution:
x 5 y3 y8
Either x ≤ y or x ≥ y . Observe that if x ≤ y , then ≤ = y4 .
x +y
6 4
y 4
x 5 y3 x8
If y ≤ x , then ≤ = x2 .
x 6 + y4 x 6
Thus
x 5 y3
≤ max ( y4 , x2 ) ≤ y4 + x2 → 0,
x 6 + y4
As ( x, y ) → ( 0, 0 ).
Alternative:
Let X = x3, Y = y2.
x 5 y3 X 5 / 3Y 3 / 2
≤ .
x 6 + y4 X2 + Y2
x 5 y3 X 5 / 3Y 3 / 2 5/3 3/2
= = ρ 5 / 3 + 3 / 2 − 2 cosθ sin θ ≤ ρ 7 / 6 → 0,
x 6 + y4 X 2Y 2
as ( x, y ) → ( 0, 0 ) .
x5 y3
FIGURE 2.3.2 Example 2.3.2 for 3D plot of ( x , y ) .n
x6 + y4
Example 2.3.3
1+ x+ y
Find lim .
( x , y ) →( 0 ,0 ) x 2 − y2
nnSolution:
When y = 0,
1+ x
→ +∞,
x2
As x → 0.
When x = 0,
1+ y
→ −∞,
− y2
As y → 0.
The limit does not exist.
The Maple™ commands to graph this surface are as follows.
1+ x + y
FIGURE 2.3.3 Example 2.3.3 for 3D plot of ( x , y ) .n
x2 − y2
Example 2.3.4
xy6
Find lim .
( x , y ) → ( 0 , 0 ) x 6 + y8
nn Solution:
=
Putting x t=
4
, y t 3 , we find
xy6 1
= → +∞,
x 6 + y8 2 t 2
as t → 0. But when y = 0, the function is 0. Thus the limit does not
exist.
The Maple™ commands to graph this surface appear below.
xy 6
FIGURE 2.3.4 Example 2.3.4 for 3D plot of ( x , y ) .n
x6 + y8
Example 2.3.5
Find lim
( ( x − 1) 2
)
+ y2 log e ( ( x − 1) 2
+ y2 ).
( x , y ) →( 0 ,0 ) x+ y
nnSolution:
When y = 0, have
2 ( x − 1 ) ln ( 1 − x )
2
2x
− ,
x x
And so the function does not have a limit at ( 0, 0 ).
The Maple™ commands to graph this surface appear as follows.
Example 2.3.6
sin ( x 4 ) + sin ( y4 )
Find lim .
( x , y ) →( 0 ,0 ) x 4 + y4
nn Solution:
sin ( x 4 ) + sin ( y4 ) ≤ x 4 + y4,
and so
sin( x 4 ) + sin(y4 )
≤ x 4 + y4 → 0,
x 4 + y4
as ( x, y ) → ( 0, 0 ).
The Maple™ commands to graph this surface appear as follows.
sin ( x 4 ) + sin ( y 4 )
FIGURE 2.3.6 Example 2.3.6 for 3D plot of ( x , y ) .
x4 + y4 n
Example 2.3.7
sin ( x ) − y
Find lim .
( x, y)→( 0 ,0 ) x − sin( y)
nnSolution:
When y = 0, we obtain
sin x
→ 1,
x
As x → 0. When y = x, the function is identically −1. Thus the limit
does not exist.
The Maple™ commands to graph this surface appear as follows.
s in ( x ) − y
FIGURE 2.3.7 Example 2.3.7 for 3D plot of ( x , y ) .
x − sin( y) n
2. If the iterated limits exist and lim lim f ( x, y ) ≠ lim lim f ( x, y ) ,
y→ y0 x → x0 x→ x0 y→ y0
then lim f ( x, y ) does not exist.
( x, y)→( x0 , y0 )
3. It may occur that lim lim f ( x, y ) = lim lim f ( x, y ) , but that
y→ y0 x → x0 x→ x0 y→ y0
lim f ( x, y ) does not exist.
( x, y)→( x0 , y0 )
Example 2.3.8
x−y
Show that lim does not exist.
( x , y ) →( 0 ,0 ) x+y
nn Solution:
We need to show that lim lim f ( x, y ) ≠ lim lim f ( x, y ) .
y→ y0 x → x0 x→ x0 y→ y0
x−y x−y
So, lim lim = lim(1) = 1 and lim lim = lim( −1) = −1.
x → 0 y→ 0 x + y x →0 y→ 0 x → 0 x + y y→ 0
x−y
Thus the iterated limits are not equal and therefore, lim , does
( x , y ) →( 0 ,0 ) x+y
not exist.n
Example 2.3.9
Describe the domain of the function
1. f ( x, y ) = x2 + y2
2. f ( x, y ) = ln xy
x2 + y2 − 16
3. f ( x, y ) =
x
x
4. f ( x, y ) =
16 − x2 − y2 − z2
nn Solution:
1. The entire xy-plane.
2. The set of all points ( x, y ) in the plane for which xy > 0.
This consists of all points in the first and third quadrants.
3. The set of all points ( x, y ) laying on or outside the
circle x2 + y2 = 16 except when x equal to zero, that is
D = {( x, y) : x2 + y2 − 16 ≥ 0, x ≠ 0}.
(c) lim f ( x, y ) = f ( x0 , y0 ).
( x, y)→( x0 , y0 )
Example 2.3.10
x − 3y
The function f ( x, y ) = , is continuous at every point in its
x 2 + y2
domain, which means that f ( x, y ), is continuous at each point in the xy-
plane except at the point ( 0, 0 ).
Exercises 2.3
2.3.1 Sketch the domain of definition of ( x, y ) 4 − x2 − y2 .
1
2.3.3 Sketch the domain of definition of ( x, y ) .
x + y2
2
1. f ( x, y) = 4 − x2 − y2
2. f ( x, y) = ln(4 − x − y)
5
3. f ( x, y) =
x2 − y
x
4. f ( x, y) = tan −1
y
5. f ( x, y) = cos−1 ( x − y )
xy
6. f ( x, y, z) =
z
1
2.3.5 Find lim
( x , y ) →( 0 ,0 )
( x2 + y2 ) sin .
xy
sin xy
2.3.6 Find lim .
( x , y ) →( 0 ,2 ) x
1
2.3.7 Find lim x2 + y2 sin .
( x , y ) →( 0 ,0 ) x + y2
2
x3 y
2.3.13 Prove that lim = 0.
( x , y ) → ( 0 , 0 ) x 2 + y4
2 xy2
2.3.14 Prove that lim = 0.
( x, y)→( 0 ,0 ) x 2 + y2
xy
2.3.15 Show that lim does not exist by considering the
( x , y ) → ( 0 , 0 ) x + y22
1. f ( x, y ) = x − y + 3
y2 + 5 xy + x2
2. f ( x, y ) =
x − y2
f ( x ) − f ( a ) − Da ( f ) ( x − a )
lim = 0.
x →a x −a
f ( a + h ) − f ( a ) = Da ( f ) ( h ) + o ( h ) ,
as h → 0.
as x → 0.
as h → 0. This means
L(v) − Da ( f ) (v) → 0,
Example 2.4.1
If L : n → m is a linear transformation, then Da ( L ) = L , for any
a ∈ n .
nn Solution:
Since n is an open set, we know that Da ( L ) uniquely determined.
Thus if L satisfies Definition 2.4.1, then the claim is established. But by
linearity
L ( x ) − L ( a ) − L ( x − a ) = L ( x ) − L ( a ) − L ( x ) + L ( a ) = 0 = 0, hence
the claim that follows. n
Example 2.4.2
Let
f : 3 × 3 →
( x, y ) x iy
be the usual dot product in 3. Show that f is differentiable and that
( )
D( x , y ) f h , k = x i y + hik.
nnSolution:
We have
( )
( )(
f x + h, y + k − f ( x, y ) = x + h i y + k − x i y )
= x i y + x ik + hi y + hik − x i y
= x ik + hi y + hik .
As ( h , k ) → ( 0,0 ), we
have by the Cauchy-Bunyakovsky-Schwarz
( )
Inequality, h , k ≤ h k = o h , which proves the assertion. n
It is worth knowing that, just like in the one variable case, differentiabil-
ity at a point implies continuity at that point.
Exercises 2.4
f1 ( x1 , x2 ,…, xn )
f2 ( x1 , x2 ,…, xn )
f (x) = .
f ( x , x ,…, x )
m 1 2 n
∂f i
Here f i : n → . The partial derivative ( x ) is defined
∂x j
∂f i
( x ) = lim
( ) (
f i x1 , x2 ,, x j + h,, xn − f i x1 , x2 ,, x j ,, xn ),
∂x j h →0 h
Example 2.5.1
If f : 3 → , and f ( x, y, z ) = x + y2 + z3 + 3 xy2 z3 then
∂f
( x, y, z ) = 1 + 3 y2 z3 ,
∂x
∂f
( x, y, z ) = 2 y + 6 xyz3 ,
∂y
and
∂f
( x, y, z ) = 3 z2 + 9 xy2 z2 .
∂z
Proof:
Let e j, 1 ≤ j ≤ n be the standard basis for n. To obtain the Jacobi
( )
matrix, we must compute Dx ( f ) e j , which will give us the j-th column of
J1 j
J2 j
Dx ( f ) ( )
e j = .
Jnj
and put y = x + ε e j, ε ∈ . Notice that,
f ( y ) − f ( x ) − Dx ( f ) ( y − x )
y−x
=
( ) ( )
f x1 , x2 ,…, x j + h,…, xn − f x1 , x2 ,…, x j ,…,, xn − ε Dx ( f ) e j ( )⋅
ε
( ) ( )
f i x1 , x2 ,, x j + h,, xn − f i x1 , x2 ,, x j ,, xn − ε Jij
→ 0⋅
ε
J ij = lim
( ) (
f i x1 , x2 ,, x j + ε ,, xn − f i x1 , x2 ,, x j ,, xn ) = ∂f i
(x) ⋅
ε →0 ε ∂x j
This finishes the proof. n
Example 2.5.2
Let f : 3 → 2 be given by
f ( x, y ) = ( xy + yz,log e xy ) .
nn Solution:
The Jacobi matrix is the 2 × 3 matrix
Example 2.5.3
Let f ( ρ ,θ , z ) = ( ρ cosθ , ρ sin θ , z ) be the function, which changes from
cylindrical coordinates to Cartesian coordinates. We have
cosθ − ρ sin θ 0
f ′ ( ρ ,θ , z ) = sin θ ρ cosθ 0 .
0 0 1
Example 2.5.4
Let f ( ρ ,φ ,θ ) = ( ρ cosθ sin φ , ρ sin θ sin φ , ρ cos φ ) be the function,
which changes from spherical coordinates to Cartesian coordinates. We
have
Example 2.5.5
Let f : 2 → be given by
y if x = 0,
f ( x, y ) = x if y = 0,
1 if xy ≠ 0.
Example 2.5.6
∂2 π
Let f ( u, v, w ) = e u v cos w . Determine f ( u, v, w ) at 1, −1, .
∂u∂v 4
nnSolution:
We have
∂2 ∂
( e u v cos w ) = ( e u cos w ) = e u cos w,
∂u∂v ∂u
e 2
which is at the desired point. n
2
Example 2.5.7
The equation z xy + ( xy ) + xy2 z3 = 3 defines z as an implicit function
z
∂z ∂z
of x and y . Find and at (1, 1, 1 ).
∂x ∂y
nnSolution:
We have
∂ xy ∂ xy log z
z = e
∂x ∂x
xy ∂z xy
= y log z + z ,
z ∂x
∂ ∂
( xy) = ezl og xy
z
∂x ∂x
∂z z
= log xy + ( xy ) ,
z
∂x x
∂ 2 3 ∂z
xy z = y2 z3 + 3 xy2 z2 ,
∂x ∂x
∂z ∂z ∂z 1
+1+1+ 3 = 0 ⇒ = − ⋅
∂x ∂x ∂x 2
Similarly,
∂ xy ∂ xy log z
z = e
∂y ∂y
xy ∂z xy
= x log z + z ,
z ∂y
∂ ∂
( xy) = ezl og xy
z
∂y ∂y
∂z z
( xy ) ,
z
= log xy +
∂y y
∂ 2 3 ∂z
xy z = 2 xyz3 + 3 xy2 z2 ,
∂y ∂y
∂z ∂z ∂z 3
+1+ 2 + 3 = 0 ⇒ = − ⋅ n
∂y ∂y ∂y 4
Just like in the one-variable case, we have the following rules of dif-
ferentiation. Let A ⊆ n, B ⊆ m be open sets f , g : A → m , α ∈ , be
differentiable on A, and h : B → l, be differentiable on B, and f ( A) ⊆ B.
Then we have
1. Addition Rule: Dx ( ( f + α g ) ) = Dx ( f ) + α Dx ( g )
( )
2. Chain Rule: Dx ( ( h f ) ) = D f ( x ) ( h ) ( Dx ( f ) )
( h f )′ = ( h′ f ) ( f ′) . (2.1)
Example 2.5.8
Let
ue v
f ( u, v ) = u + v ,
uv
x2 + y
h ( x, y ) = .
y+ z
Find ( f h )′ ( x, y ).
nnSolution:
We have
ev ue v
f ′ ( u, v ) = 1 1 ,
v u
And
2 x 1 0
h′ ( x, y ) = .
0 1 1
Observe also that
e y+ z ( x2 + y ) e y+ z
f ′ ( h ( x, y ) ) = 1 1 .
y + z x2 + y
Hence
( f h )′ ( x, y) = f ′ ( h ( x, y) ) h′ ( x, y)
e y+ z ( x 2 + y ) e y+ z
2 x 1 0
= 1 1 0 1 1
y + z x +y
2
2 xe y+ z ( 1 + x 2 + y ) e y+ z ( x 2 + y ) e y+ z
= 2x 2 1 .
2 xy + 2 xz x + 2y + z
2
x +y
2
n
Example 2.5.9
Let
f : 2 → , f ( u, v ) = u2 + e v ,
u, v : 3 → , u ( x, y ) = xz, v ( x, y ) = y + z.
u ( x, y, z )
Put h ( x, y ) = f . Find the partial derivatives of h.
v ( x, y, z )
nn Solution:
u ( x, y ) xz
Put g : 3 → 2 , g ( x, y ) = = . Observe that h = f g.
v ( x, y ) y + z
Now,
z 0 x
g′ ( x, y ) = ,
0 1 1
f ′ ( u, v ) = 2 u e v ,
f ′ ( h ( x, y ) ) = 2 xz e y+ z .
Thus
∂h ∂h ∂h
( x, y ) ( x, y) ( x, y) = h′ ( x, y)
∂x ∂y ∂z
( )
= f ′ ( g ( x, y ) ) ( g′ ( x, y ) )
z 0 x
= 2xz e y+ z
0 1 1
= 2 xz2 e y+ z 2 x2 z + e y+ z .
∂h
( x, y) = 2 xz2 ,
∂x
∂h
( x, y) = e ,
y+ z
∂y
∂h
( x, y) = 2 x2 z + ey+ z .
∂z n
with derivative
d ∂
∫ f ( x, y ) dy = ∫ f ( x, y ) dy.
dx Y Y ∂x
Example 2.5.10
Prove that
π /2 x +1
F ( x) = ∫ log ( sin 2 θ + x2 cos2 θ ) dθ = π log ⋅
0 2
nn Solution:
Differentiating under the integral
∂
π /2 x +1
F′ ( x ) = ∫ log ( sin 2 θ + x2 cos2 θ ) dθ = π log ⋅
0 ∂x 2
π /2 cos2 θ
= 2 x∫ dθ .
0 sin 2 θ + x2 cos2 θ
( x2 − 1 ) π /2 ( x2 − 1) cos2 θ
⋅ F′ ( x ) = ∫ dθ
2x 0 sin 2 θ + x2 cos2 θ
π /2 x2 cos2 θ + sin 2 θ − 1
=∫ dθ
0 sin 2 θ + x2 cos2 θ
π π /2 dθ
= −∫
2 0 sin θ + x2 cos2 θ
2
π π / 2 sec 2θ dθ
= −∫
2 0 tan 2 θ + x2
π /2
π 1 tan θ
= − arctan
2 x x 0
π π
= − ,
2 2x
which in turn implies that for x > 0, x ≠ 1.
2x π π π
F′ ( x ) = − = .
x − 1 2 2x x + 1
2
π /2 π
For x = 1, one sees immediately that F ′ ( x ) = 2 ∫ cos2θ dθ = ,
0 2
agreeing with the formula. Now
π
F′ ( x ) = ⇒ F ( x ) = π log ( x + 1 ) + C.
x+1
π /2
Since F (1 ) = ∫ log 1dθ = 0, we gather that C = −π log 2.
0
Finally thus
x +1
. F ( x ) = π log ( x + 1 ) − π log 2 = π log
n 2
Example 2.5.11
+∞ sin x π +∞ sin 2 x
Given that ∫0 x
dx = , compute
2 ∫0 x2
dx.
nn Solution:
sin 2 ax
+∞
Put I ( a ) = ∫ dx, with gather that a ≥ 0. Differentiating both
0 x2
sides with respect to a, and making the substitution u = 2 ax.
2 x sin ax cos ax
+∞
I′ ( a ) = ∫ dx
0 x2
+∞ sin 2 ax
=∫ dx
0 x
+∞ sin u
=∫ du
0 u
π
= .
2
Exercises 2.5
∂ ∂
2.5.1 Find f x ( x, y ) = f ( x, y ), f y ( x, y ) = f ( x, y ),
∂x ∂y
∂ ∂
f x ( x, y, z ) = f ( x, y, z ), f y ( x, y, z ) = f ( x, y, z ), and
∂x ∂y
∂
f z ( x, y, z ) = f ( x, y, z ) for the following functions:
∂z
1. f ( x, y ) = ( x3 − y2 )
3
1
2. f ( x, y ) = x3 sin + 5 y2
x
3 xy
x 2 + y2 if ( x, y ) ≠ ( 0, 0 )
3. f ( x, y ) = ( )
0 if ( x, y ) = ( 0, 0 )
x 3 − z2
4. f ( x, y, z ) =
1 + sin 3 y
∂f ∂f
2.5.2 If f : 3 → , and f ( x, y, z ) = yx arctan ( zx ). Find , ,
∂x ∂y
∂f
and .
∂z
2.5.3 If f : 3 → , and f ( x, y, z ) = ( x2 + z2 ) log ( x2 y2 + 1 ) . Find
∂f ∂f ∂f
, and .
∂x ∂y ∂z
∂f ( x, y )
2.5.5 Let f : 2 → , f ( x, y ) = min ( x, y2 ) . Find and
∂x
∂f ( x, y )
.
∂y
∂z F ( x, y, z ) ∂z Fy ( x, y, z )
=− x , =− .
∂x Fz ( x, y, z ) ∂y Fz ( x, y, z )
∂w ∂w
2.5.7 Let w = u3 + u2 v − 3 v, u = sin xy, v = y ln x. Find and .
∂x ∂y
2.5.8 Let f : 2 → 2 and g : 3 → 2 be given by
xy2 x − y + 2 z
f ( x, y ) = 2 , g ( x, y ) .
x y xy
x − y
xy
2.5.9 Let f ( x, y ) = and g ( x, y ) = x2 y2 . Find ( g f )′ ( 0,1 ).
x + y x + y
2.5.10 Let z be an implicitly defined function of x and y through
∂z
the equation ( x + z ) + ( y + z ) = 8. Find at (1,1,1 ).
2 2
∂x
2.5.11 Let x = r cosθ and y = r sin θ . Find the Jacobi matrix f ′ ( r,θ )
and the Jacobi determinant J ( r,θ ).
2.5.12 Let x = e u sin v and y = e u cos v. Find the Jacobi matrix
f ′ ( u, v ) and the Jacobi determinant J ( u, v ).
u v
2.5.13 Let x = and y = 2 2 . Find the Jacobi matrix
u +v
2 2
u +v
f ′ ( u, v ) and the Jacobi determinant J ( u, v ).
2.5.14 Let x = u2 + vw, y = 2 v + u2 w, and z = uvw. Find the Jacobi
matrix f ′ ( u, v, w ) and the Jacobi determinant J ( u, v, w ).
2.5.15 Let the transformation of coordinates x = f ( u, v )
and y = g ( u, v ) is one-to-one. Find the determinant
∂ ( x, y ) ∂ ( u, v )
.
∂ ( u, v ) ∂ ( x, y )
d 1 2
2.5.17 Compute ∫ ( 2 x + t 3 ) dx .
dt 0
2.5.18 Suppose g : → is continuous and a ∈ is a constant.
Find the partial derivatives with respect to x and y of
x2 y
f : 2 → , f ( x, y ) = ∫ g ( t ) dt.
a
b dx 1 b b dx
2.5.19 Given that ∫ 0 x +a
2 2
= arctan , evaluate
a a ∫ (x
0 2
+ a2 )
2
.
∞ e− ax sin x
2.5.20 Evaluate ∫0 x
dx using differentiation under integral
sign.
n → m
f:
x f ( x)
∂f
∂x ( x )
1
∂f
( x )
∇f ( x ) = ∂x2 .
∂f ( x )
∂x
n
∂
∂x
1
∂
∇ = ∂x2 .
∂
∂xn
Proof:
Let
→ n
c:
t c(t)
( f c ) ( t0 ) = f ( c ( t ) ) = K,
and using the chain rule
( )
f ′ c ( t0 ) c′ ( t0 ) = 0,
which translates to
( ∇f ( x ) ) • ( c′ ( t0 ) ) = 0.
Since c′(t0 ) is tangent to the surface and its dot product with ∇f (x)
is 0, we conclude that ∇f (x) is normal to the surface. n
Example 2.6.1
Find a unit vector normal to the surface x3 + y3 + z = 4 at the point
(1,1, 2 ) .
nnSolution:
Here f ( x, y, z ) = x3 + y3 + z − 4 has gradient
3 x2
∇f ( x, y, z ) = 3 y2
1
3
which at (1, 1, 2 ) is 3 . Normalizing this vector, we obtain
1
3
19
3
19 .
1
19
n
For example, we can determine the gradient and the unit normal func-
3 xy
tion to graph of the function f ( x, y ) = 2 using Maple™ commands as
x + y2
Example 2.6.2
cos( x2 + y2 )
Determine the gradient for the function f ( x, y ) = using
Maple™ and MATLAB commands. x 2 + y2
nnSolution:
Maple™ commands:
MATLAB commands:
>> syms x y
>> f=(cos(x^2+y^2)/(x^2+y^2))
f=
cos(x^2+y^2)/(x^2+y^2)
>> gradf=jacobian(f,[x,y])
gradf =
[ − 2∗sin(x^2+y^2)∗x/(x^2+y^2) − 2∗cos(x^2+y^2)/(x^2+y^2)^2∗x,
− 2∗sin(x^2+y^2)∗y/(x^2+y^2)− 2∗cos(x^2+y^2)/(x^2+y^2)^2∗y] n
Example 2.6.3
Find the direction of the greatest rate of increase of f ( x, y, z ) = xye z at
the point ( 2, 1, 2 ).
nn Solution:
The direction is that of the gradient vector. Here
ye z
∇f ( x, y, z ) = xe z
xye z
e2
which at ( 2, 1, 2 ) comes 2 e2 . Normalizing this vector, we obtain
2 e2
1
1
2 .
5
n
2
Example 2.6.4
Let f : 3 → be given by
f ( x, y, z ) = x + y2 − z2 .
Find the equation of the tangent plane to f at (1, 2, 3 ).
nn Solution:
A vector normal to the plane is ∇f (1, 2, 3 ). Now
1
∇f ( x, y, z ) = 2 y
−2 z
which is
1
4
−6
1 ( x − 1 ) + 4 ( y − 2 ) − 6 ( z − 3 ) = 0,
Or
x + 4 y − 6 z = −9. n
f1 ( x )
f2 ( x )
f ( x) = .
fn ( x )
The divergence of f is defined and denoted by
∂f1 ∂f ∂f
div f ( x ) = ∇i f ( x ) = ( x ) + 2 ( x ) + … + n ( x ).
∂x1 ∂x2 ∂xn
Example 2.6.5
If f ( x, y, z ) = ( x2 , y2 , ye z ) then
2
div f ( x ) = 2 x + 2 y + 2 yze z .
2
e1 e2 … en
∂ ∂ ∂
…
∂x1 ∂x2 ∂xn
curl ( g1 , g2 ,…, gn− 2 ) ( x ) = det g11 ( x ) g12 ( x ) … g1 n ( x ) .
g21 ( x ) g22 ( x ) … g1 n ( x )
g ( x ) g( n−2)2 ( x ) … g( n− 2 ) n ( x )
( n− 2 )1
Example 2.6.6
If f ( x, y, z ) = ( x2 , y2 , ye z ), then
2
curl f ( ( x, y, z ) ) = ∇ × f ( x, y, z ) = ( e z ) i.
2
Example 2.6.7
If f ( x, y, z, w ) = ( e xyz , 0, 0, w2 ) ,g ( x, y, z, w ) = ( 0, 0, z, 0 ), then
e1 e2 e3 e4
∂ ∂ ∂ ∂
curl ( f , g )( x, y, z, w ) = det ∂x1 ∂x2 ∂x3 ∂x4 = ( xz2 e xyz ) e4 .
xyz
e 0 0 w2
0 0 z 0
Example 2.6.8
Find the directional derivative of f ( x, y, z ) = x3 + y3 − z2 in the direc-
1
tion of 2 .
3
nnSolution:
We have
3 x2
∇f ( x, y, z ) = 3 y2
−2 z
and so
∇f ( x, y, z )i v = 3 x2 + 6 y2 − 6 z. n
Exercises 2.6
xz
2.6.6 Let f ( x, y, z ) = e xy . Find ( ∇ × f ) ( 2, 1, 1 ).
z
x y
2.6.15 Find the directional derivative of f ( x, y, z) = − at
y z
point P1 (0, −1, 2) in the direction from P1 (0, −1, 2) to P2 (3,1, −4) .
Also determine the direction in which f ( x, y, z) increases
most rapidly at P1 (0, −1, 2) and find the maximum rate of
increase.
2.6.16 Prove that
∇i( u × v ) = v i( ∇ × u ) − ui( ∇ × v ) .
2.6.17 Let φ : 3 → be a scalar field, and let U, V: 3 → 3 be
vector fields. Prove that
( )
1. ∇i φ U = φ∇iU + Ui∇φ
( )
2. ∇ × φ U = φ∇ × U + ∇φ × U
( )
3. ∇i U × V = V i∇ × U − Ui∇ × V
2.6.18 Find the tangent plane equation and the normal line
equation to the graph of the equation 4 x2 − y2 + 3 z2 = 10 at
the point ( 2, −3,1 ).
2.6.20 Find the gradient vector of the function f ( x, y ) = cos π x sin π y + sin 2π y
f ( x, y ) = cos π x sin π y + sin 2π y at point ( −1,1 / 2 ). Then find the equation of the
tangent plane.
2.6.21 In what direction v does f ( x, y ) = 1 − x2 − y2 decrease most
rapidly at point ( −1, 2 )?
2.6.22 Find the equation of the tangent plane to the surface z = xe−2 y
at the point (1, 0,1 ).
( ) ( )
2.6.23 Verify that ∇ × ∇ × f = ∇ ∇i f − ∇ 2 f for the vector field
3 xz2
f = − yz .
x + 2 z
Example 2.7.1
Using Einstein’s Summation convention, the dot product of two vectors
x ∈ n and y ∈ n can be written as
n
x i y = ∑ xi yi = ≺ xt yt .
i=1
Example 2.7.2
Given that ai , b j , ck , dl are the components of vectors in 3, a, b, c, d ,
respectively, what is the meaning of
≺ ai bi ck dk ?
nnSolution:
We have
3
( )( )
3
≺ ai bi ck dk = ∑ ai bi ≺ ck dk = a ib ≺ ck dk = a ib∑ ck dk = a ib c id .
i=1 i=1
n
Example 2.7.3
Using Einstein’s Summation convention, the ij − th entry ( AB) ij of the
product of two matrices A ∈ Mm×n ( ) and B ∈ Mn×r ( ) can be written as
n
( AB)ij = ∑ Aik Bkj = ≺ Ait Bkj = ≺ Ait Btj .
k=1
Example 2.7.4
Using Einstein’s Summation convention, the trace tr ( A ) of a square
n
matrix A ∈ Mn×n ( ) is tr ( A ) = ∑ Att = ≺ Att .
t =1
Example 2.7.5
Demonstrate, via Einstein’s Summation convention, that if A, B are
two n × n matrices, then
tr ( AB) = tr ( BA ) .
nnSolution:
We have
( ) ( )
tr ( AB) = tr ( AB) ij = tr ≺ Aik Bkj = ≺≺ Atk Bkt ,
and
( ) ( )
tr ( BA ) = tr ( BA ) ij = tr ≺ Bkj Aik = ≺≺ Btk Akt ,
from where the assertion follows, since the indices are dummy variables
and can be exchanged. n
0 if i ≠ j
δ ij =
1 if i = j.
Example 2.7.6
3
It is easy to see that ≺ δ ikδ kj = ∑ δ ikδ kj = δ ij .
k=1
Example 2.7.7
We have that
3 3
≺ δ ij ai b j = ∑ ∑ δ ij ai b j = ∑ ak bk = a ib.
i=1 j =1 k=1
0 if { j, k, l} ≠ {1, 2, 3}
1 2 3
ε jkl = −1 if j is an odd permutation
k l
1 2 3
+1 if j is an even permutation
k l
Example 2.7.8
Using the Levi-Civita, alternating tensor and Einstein’s
summation
con-
vention, the cross product can also be expressed, =
if i e=1
, j e2
, k = e 3
,
Then
x × y = ≺ ε jkl ( ak bl ) e j .
Example 2.7.9
If A = aij is a 3 × 3 matrix, then, using the Levi-Civita alternating
tensor,
det A = ≺ ε ijk a1 i a2 j a3 k .
Example 2.7.10
Let x, y , z be vectors in 3. Then
x i( y × z ) = ≺ xi ( y × z ) i = ≺ xiε ikl ( yk zl ) .
Exercises 2.7
2.7.1 Use the Einstein’s summation convention and the Levi-Civita’s
alternating tensor to show that x × ( y × z ) = ( x i z ) y − ( x i y ) z.
2.7.2 Show that ∇ × ( ∇f ) = 0 using the Einstein’s summation
convention and the Levi-Civita’s alternating tensor.
2.7.3 Show that ∇i( ∇ × u ) = 0 using the Einstein’s summation
convention and the Levi-Civita’s alternating tensor.
2.7.4 Show that ∇ × ( ∇ × u ) = ∇ ( ∇ i u ) − ∇ 2 u using the Einstein’s
summation convention and the Levi-Civita’s alternating
tensor.
v 2
2.7.5 Show that v ⋅ ∇v = ∇ + ( ∇ × v ) × v using the Einstein’s
2
summation convention and the Levi-Civita’s alternating
tensor.
2.7.6 Write True or false for the following statements:
1. ε ijk = −ε ikj
2.8 Extrema
We now turn to the problem of finding maxima and minima for vector
functions. As in the one-variable case, the derivative will provide us with
information about the extrema, and the “second derivative” will provide us
with information about the nature of these extreme points.
To define an analogue for the second derivative, let us consider the fol-
lowing. Let A ⊆ n and f : A → m be differentiable on A. We know that
for fixed x 0 ∈ A, Dx ( f ) , Dx0 (f) is a linear transformation from n to m.
0
=
transformation Dx (T ) D= x
(Dx ( f )) Dx2 ( f ) from n to l ( n , m ).
0 0 0 0
n × n → l ( n, m )
T:
(x 1 , x 2 ) → Dx2 ( f )(x 1 , x 2 )
0
∂2 f ∂2 f ∂2 f
∂x ∂x ( x ) ( x ) … ( x )
∂x1 ∂x2 ∂x1 ∂xn
1 1
∂2 f ∂2 f ∂2 f
(x) (x) … ( x )
H x f = ∂x2 ∂x1 ∂x2 ∂x2 ∂x2 ∂xn .
2
∂ f x ∂2 f ∂2 f
∂x ∂x ( ) ∂x ∂x ( x ) … ∂x ∂x ( x )
n 1 n 2 n n
Example 2.8.1
Let f : 3 → be given by
f ( x, y, z ) = xy2 z3 .
Then
0 2 yz3 3 y2 z2
H( x, y, z) f = 2 yz3 2 xz3 6 xyz2 .
3 y2 z2 6 xyz2 6 xy2 z
Dx2 ( f ) ( x 1 , x 2 ) = Dx2 ( f ) ( x 2 , x 1 ).
0 0
We are now ready to study extrema in several variables. The basic theo-
rems resemble those of one-variable calculus. First, we make some analo-
gous definitions.
0
of f . A point is called an extreme point if it is either a local minimum or
local maximum. A point t is called a critical point if f is differentiable at t
and Dt ( f ) = 0. A critical point which is neither a maxima nor a minima is
called a saddle point.
Theorem 2.8.3 Let A ⊆ n be an open set, and f : A → be
differentiable on A. If x 0 is an extreme point, then Dx ( f ) = 0, that is, x 0
0
nnSolution:
We have
2 x + y + 2
( ∇f ) ( x, y) = x + 2 y + 3 ,
and so to find the critical points, we solve
2 x + y + 2 = 0,
x + 2 y + 3 = 0,
1 4 2 1
which yields x=− , y=− . Now, H( x, y) f = , which
3 3 1 2
2 1
is positive definite, since ∆1 = 2 > 0 and ∆ 2 = det = 3 > 0.
1 2
1 4
Thus x 0 = − , − is a relative minimum and we have
3 3
7 1 4
− = f − , − ≤ f ( x, y ) = x2 + xy + y2 + 2 x + 3 y.
3 3 3 n
Example 2.8.3
Find the extrema of
3 →
f: ⋅
( x, y, z ) x + y + 3 z2 − xy + 2 xz + yz
2 2
nnSolution:
We have
2 x − y + 2 z
( ∇f ) ( x, y, z ) = 2 y − x + z ,
6 z + 2 x + y
2 −1
which is positive definite, since ∆1 = 2 > 0 and ∆ 2 = det = 3 > 0,
−1 2
2 −1 2
and ∆ 3 = det −1 2 1 = 4 > 0. Thus f has a relative minimum at
2 1 6
( 0, 0, 0 ) and 0 = f ( 0, 0, 0 ) ≤ f ( x, y, z ) = x2 + y2 + 3 z2 − xy + 2 xz + yz. n
Example 2.8.4
Let f ( x, y ) = x3 − y3 + axy , with a ∈ a parameter. Determine the
nature of the critical point of f .
nnSolution:
We have
3 x2 + ay 0
( ) ( ) −3 y2 + ax = 0 ⇒ 3 x2 = − ay, 3 y2 = ax.
∇ f x, y =
2
y2
3 3 = − ay ⇒ 27 y4 = − a2 y
a
⇒ y ( 27 y3 + a3 ) = 0
⇒ y ( 3 y + a ) ( 9 y2 − 3 ay + a2 ) = 0
a
⇒ y = 0 or y = − ⋅
3
a
If y = 0 x = 0, so again ( 0, 0 ) is a critical point. If y = −
2 3
3 a a a a
x = × − = so ,− is a critical point.
a 3 3 3 3
Now,
6 x a
H f ( x, y) = ⇒ ∆1 = 6 x, ∆ 2 = −36 xy − a .
2
a −6 y
3 3 3 3
a > 0 and a local maximum if a < 0. n
Exercises 2.8
2.8.1 Determine the critical points of f ( x, y ) = xy − x − y.
2.8.2 Determine the nature of the critical points of
f ( x, y ) = x 4 + y4 − 2 ( x − y ) .
2
x2 + y
2.8.9 Let f ( x, y ) = ∫ 2 g ( t ) dt , where g is a continuously
y −x
3
2.8.11 Find the extreme of f ( x, y ) = x2 − 3 xy − y2 + 2 y − 6 x.
x
2.8.14 Find the extreme of f ( x, y ) = .
( x + y)
2.8.15 Show that the critical points Pc for a function g ( x, y )
correspond to points P on the graph of g where the normal
is vertical.
2.8.16 Find the critical points of f ( x, y) = x2 + 2 x + xy + 2 y + 1.
2.8.20
1
f x = 8 x3 − 2 x = 0 ⇒ x ( 8 x2 − 2 ) = 0 ⇒ x = 0 or x = ± ,
2
f y = 6 y = 0 ⇒ y = 0;
f xx f xy 24 x2 − 2 0 −2 0
D = det = det ⇒ D ( 0, 0 ) det = −12 < 0 ⇒
f yx f yy
0 6 0 6
So ( 0, 0 ) is saddle point.
1 4 0 1
D ± , 0 det = 24 > 0 ⇒ ± , 0 is local minimum point.
2 0 6 2
∇f ( x 0 ) = λ∇g ( x 0 ).
Example 2.9.1
Optimize f : 2 → , f ( x, y ) = x2 − y2 given that x2 + y2 = 1.
nn Solution:
Let g( x, y) = x2 + y2 − 1. We solve
x x
∇f = λ∇g for x, y, λ. This requires
y y
2 x 2 xλ
−2 y = 2 yλ .
From 2 x = 2 xλ, we get either x = 0 or λ = 1. If x = 0, then y = ±1 and
λ = −1. If λ = 1, then y = 0, x = ±1. Thus the potential critical points are
( ±1, 0 ) and ( 0,±1). If x2 + y2 = 1, then
f ( x, y ) = x2 − (1 − x2 ) = 2 x2 − 1 ≥ −1,
and
f ( x, y ) = 1 − y2 − y2 = 1 − 2 y2 ≤ 1.
Thus ( ±1, 0 ) are maximum points and ( 0,±1 ) are minimum points. n
Example 2.9.2
Find the maximum and the minimum points of f ( x, y ) = 4 x + 3 y, sub-
ject to the constraint x2 + 4 y2 = 4, using Lagrange multipliers.
nn Solution:
Putting g ( x, y ) = x2 + 4 y2 − 4 , we have
4 2 x
∇f ( x, y ) = λ∇g ( x, y ) ⇒ = λ .
3 8 y
Thus 4 = 2λ x, 3 = 8λ y, clearly then λ ≠ 0. Upon division, we find
x 16
= . Hence
y 3
256 2 3 16
x2 + 4 y2 = 4 ⇒ y + 4 y2 = 4 ⇒ y = ± ,x = ± ⋅
9 73 73
The maximum is clearly then
16 3
4 + 3 = 73 ,
73 73
Example 2.9.3
Let a > 0, b > 0, c > 0 . Determine the maximum and minimum values
x y z x2 y2 z2
of f ( x, y ) = + + and the ellipsoid 2 + 2 + 2 = 1.
a b c a b c
nn Solution:
x2 y2 z2
We use Lagrange multipliers. Put g ( x, y ) = + + − 1. Then
a2 b2 c2
1 / a 2 x / a2
∇f ( x, y, z ) = λ∇g ( x, y, z ) ⇔ 1 / b = λ 2 y / b2 .
1 / c 2 z / c2
a b c
It follows that λ ≠ 0 . Hence x=
, y= , z= . Since
2λ 2λ 2λ
x2 y2 z2 3 3
+ 2 + 2 = 1, we deduce =1 λ = ± . Since a, b, c are positive,
a 2
b c 4λ 2
2
f will have a maximum when all x, y,z are positive and a minimum which
all x, y,z are negative. Thus the maximum is when
a b c
=x = ,y ,z= ,
3 3 3
and
3
f ( x, y, z ) ≤ = 3
3
3
f ( x, y, z ) ≥ − =− 3⋅
3
a b c a b c
x y z
− 3 ≤ + + ≤ 3⋅
n a b c
Example 2.9.4
Let a > 0, b > 0, c > 0. Determine the maximum volume of the paral-
lelepiped with sides parallel to the axes that can be enclosed inside the
x2 y2 z2
ellipsoid 2 + 2 + 2 = 1.
a b c
nn Solution:
Let 2 x, 2 y, 2 z, be the dimensions of the box. We must maximize
x2 y2 z2
f ( x, y, z ) = 8 xyz subject to the constraint g ( x, y, z ) = 2 + 2 + 2 − 1.
a b c
Using Lagrange multipliers,
8 yz
∇f ( x, y, z ) = λ∇g ( x, y, z ) ⇔ 8 xz
8 xy
2 x / a2
x y z
= λ 2 y / b2 ⇒ 4 yz = λ 2 , 4 xz = λ 2 , 4 xy = λ 2 .
a b c
2 z / c2
x2 y2
4 xyz = λ , 4 xyz = λ ,
a2 b2
z2 x 2 y2 z 2
4 xyz = λ 2 ⇒ 12 xyz = λ 2 + 2 + 2 = λ.
c a b c
Hence
λ x2 y2 z2
=λ 2 =λ 2 =λ 2 ⋅
3 a b c
a b c
=x = , y , z= ,
3 3 3
and the maximum value is
abc
8 xyz ≤ 8 ⋅
3 3
Alternative Method: Using the AM-GM Inequality
x2 y2 z2
1/ 3 + 2+ 2
x y z
2 2 2
( x 2 y2 z 2 ) ≤ ( abc ) ⋅ a b c
2
= ( abc )
1/ 3 2/3 2/3
a2 ⋅ b2 ⋅ c2 3
1 8
=
⇒ 8 xyz ≤ ( abc ) ⋅
3
n 3 3
Exercises 2.9
2.9.1 A closed box (with six outer faces) has fixed surface
area of S square units. Find its maximum volume using
Lagrange multipliers. That is, subject to the constraint
2 ab + 2 bc + 2 ca = S, you must maximize abc.
2.9.2 Consider the problem of finding the closest point P′ on the
plane Π : ax + by + cz = d,
a, b, c non-zero constants with a + b + c ≠ d to the point P (1, 1, 1 ).
In this exercise, you will do this in three essentially different ways.
1. Do this by a geometric argument, arguing the point P′ closest
to P on Π is on the perpendicular passing through P and P′.
2. Do this by means of Lagrange multipliers, by minimiz-
ing a suitable function f ( x, y, z ) subject to the constraint
g ( x, y, z ) = ax + by + cz − d.
3
INTEGRATION
In This Chapter
ll Differential Forms
ll Zero-Manifolds
ll One-Manifolds
ll Closed and Exact Forms
ll Two-Manifolds
ll Change of Variables in Double Integrals
ll Change to Polar Coordinates
ll Three-Manifolds
ll Change of Variables in Triple Integrals
ll Surface Integrals
ll Green’s, Stokes’, and Gauss’ Theorems
I
n this chapter, we focus on differentiation forms, zero-manifolds,
one-manifolds, closed and exact forms, two-manifolds, change of
variables in double integrals, change to polar coordinates, three-
manifolds, change of variables in triple integrals, surface integrals,
and Green’s, Stokes’, and Gauss’ Theorems.
a1 j
a2 j
a j = ∈ n , 1 ≤ j ≤ k,
anj
ax j1 1 ax j 2 … ax j k
1 1
ax j 1 ax j 2 … ax j k
dx j ∧ dx j ∧ … ∧ dx j ( a 1 , a 2 ,…, a k ) = det 2 2 2
.
…
1 2 k
ax j 1 ax j 2 … ax j k
k k k
1. Anti-commutative: da ∧ db = −db ∧ da .
2. Linearity: d ( a + b ) = da + db.
3. Scalar homogeneity: if λ ∈ , dλ a = λ da.
4. Associative: ( da ∧ db ) ∧ dc = da ∧ ( db ∧ dc ), notice that associative
does not hold for the wedge product of vectors.
! Anti-commutative yields, da ∧ da = 0 .
TIP
Example 3.1.1
Consider
1
a = 0 ∈ 3 .
−1
Then
dx ( a ) = det (1 ) = 1,
dy ( a ) = det ( 0 ) = 0,
dz ( a ) = det ( −1 ) = −1,
Are the (signed) 1-volumes (that is, the length) of the projections of a
onto the coordinate axes.
Example 3.1.2
In 3, we have dx ∧ dy ∧ dx = 0, since we have a repeated variable.
Example 3.1.3
In 3, we have
Example 3.1.4
g ( x, y, z, w ) = x + y2 + z3 + w4
is a 0-form in 4.
Example 3.1.5
An example of a 1-form field in 3 is
Example 3.1.6
An example of a 2-form field in 3 is
ω = x2 dx ∧ dy + y2 dy ∧ dz + dz ∧ dx.
Example 3.1.7
An example of a 3-form field in 3 is
ω = ( x + y + z ) dx ∧ dy ∧ dz.
We show now how to multiply differential forms.
Example 3.1.8
The product of the 1-form fields in 3
ω1 = ydx + xdy,
ω2 = −2 xdx + 2 ydy,
is
ω1 ∧ ω2 = ( 2 x2 + 2 y2 ) dx ∧ dy.
Furthermore, if
ω = f ( x1 , x2 ,, xn ) dx j ∧ dx j ∧ ∧ dx j
1 2 k
dω = df ( x1 , x2 ,, xn ) dx j ∧ dx j ∧ ∧ dx j .
1 2 k
Example 3.1.9
If in 2, ω = x3 y4, then
d ( x3 y4 ) = 3 x2 y4 dx + 4 x3 y3 dy ⋅
Example 3.1.10
If in 2, ω = x2 ydx + x3 y4 dy, then
dω = d ( x2 ydx + x3 y4 dy )
= ( 2 xydx + x2 dy ) ∧ dx + ( 3 x2 y4 dx + 4 x3 y3dy ) ∧ dy
= x2 dy ∧ dx + 3 x2 y4 dx ∧ dy
= ( 3 x2 y4 − x2 ) dx ∧ dy.
Example 3.1.11
Consider the change of variables x = u + v, y = uv. Then
dx = du + dv,
dy = vdu + udv,
hence
dx ∧ dy = ( u − v ) du ∧ dv.
Example 3.1.12
Consider the transformation of coordinates xyz into uvw coordinates
given by
z y+ z
u = x + y + z, v = , w= ⋅
y+ z x+ y+ z
Then
du = dx + dy + dz,
z y
dv=− dy + dz,
( y + z) ( y + z)
2 2
y+ z x x
dw = − dx + dy + dz ⋅
( x + y + z) ( x + y + z) ( x + y + z)
2 2 2
Multiplication gives
zx y( y + z)
du ∧ dv ∧ dw = − −
( y + z ) ( x + y + z ) ( y + z )2 ( x + y + z )2
2 2
z ( y + z) xy
+ − dx ∧ dy ∧ dz
( y + z ) ( x + y + z ) ( y + z ) ( x + y + z )
2 2 2 2
z2 − y2 − zx − xy
= dx ∧ dy ∧ dz.
( y + z) ( x + y + z)
2 2
Exercises 3.1
3.1.1 Match the differential forms types with the elements forms to make
the statement true.
1. 0-forms A. Surface elements
2. 1-forms B. Volume forms
dxi ( v ) dxi ( r )
HINT ω ( v, r ) = ∑ Fij ( a ) dxi ∧ dx j ( v, r ) = i∑ Fij ( a ) det .
1≤ i < j ≤ n , j> i dx j ( v ) dx j ( r )
3.2 Zero-Manifolds
∫ ω = ω ( b ) − ω ( a ).
M
Example 3.2.1
Exercises 3.2
3.3 One-Manifolds
Definition 3.3.1 A 1-dimensional oriented manifold of n is simply
an oriented smooth curve Γ ∈ n, with a choice of a + orientation if the
curve traverses in the direction of increasing t, or with a choice of a − sign
if the curve traverses in the direction of decreasing t. A general oriented
1-manifold is a union of oriented curves.
dx
If f : 2 → 2 and if d r = , the classical way of writing this is
dy
∫ i dr.
f
Γ
We now turn to the problem of integrating 1-forms.
Example 3.3.1
Calculate
∫ xydx + ( x + y ) dy
Γ
nnSolution:
We parameterize the curve as=
x t=
, y t 2. Then
xydx + ( x + y ) dy = t 3 dt + ( t + t 2 ) dt 2 = ( 3 t 3 + 2 t 2 ) dt,
hence
2
∫ ω = ∫ ( 3t
Γ −1
3
+ 2 t 2 ) dt
2
2 3
= t3 + t4
3 4 −1
69
= ⋅
4
What would happen if we had given the curve above a different param-
eterization? First observe that the curve travels from (−1, 1) to (2, 4) on the
parabola y = x2. These conditions are met with the parameterization. Then
( ) ( t − 1) + (( t − 1) + ( t − 1) ) d ( )
3 2 2
xydx + ( x + y ) dy = t −1 d t −1
= ( 3 ( t − 1) + 2 ( t − 1) ) d ( t − 1)
3 2
=
2
1
t
(3( t −1 + 2)
3
( t −1 ) ) dt,
2
hence
∫ ω=∫
Γ
9
0 2
1
t
(3( )
t −1 + 2
3
( t −1 ) ) dt
2
9
3t 2 7 t 3/ 2 5t
= − + − t
4 3 2 0
69
= ,
4
as before.
To solve this problem using Maple™ commands, you may use the fol-
lowing code.
n
Example 3.3.2
Calculate the line integral
∫ Γ
y sin xdx + x cos ydy,
nn Solution:
This line has equation y = x, so we choose the parameterization x= y= t.
The integral is thus
1
∫ y sin xdx + x cos ydy = ∫ ( t sin t + t cos t ) dt
Γ 0
1
= t ( sin t − cos t ) 0 − ∫ ( sin t − cos t ) dt
1
= 2 sin 1 − 1,
Example 3.3.3
Calculate the path integral
x+y x−y
∫
Γ x + y
2 2
dy + 2
x + y2
dx
nnSolution:
=
On AB, y 1=
, dy 0 , on BC, x = −1, dx = 0 , on CD, y = −1, dy = 0 , and
=
on DA, x 1=
, dx 0 . The integral is thus
∫ ω=∫
Γ AB
ω+∫ ω+∫ ω+∫ ω
BC CD DA
−1 x −1 −1 y − 1 1 x +1 1 y+1
=∫ dx + ∫ 2 dy + ∫ 2 dx + ∫ 2 dy
1 x +1
2 1 y +1 −1 x +1 −1 y +1
1 1
= 4∫ dx
x +1
−1 2
1
= 4 arcttan x −1
= 2π . n
When the integral is along a closed path, like in the preceding exam-
! ple, it is customary to use the symbol ∫ rather than ∫ . The positive
Γ Γ
TIP direction of integration is that sense that when traversing the path,
the area enclosed by the curve is to the left of the curve.
Example 3.3.4
Calculate the path integral
∫
Γ
x2 dy + y2 dx,
nn Solution:
Parameterize the ellipse as x = 2 cos t, y = 3 sin t, t ∈ [ 0; 2π ]. Observe that
when traversing this closed curve, the area of the ellipse is on the left-hand
side of the path, so this parameterization traverses the curve in the positive
sense. We have
2π
∫ ω = ∫ ( ( 4 cos t ) ( 3 cos t ) + ( 9 sin t ) ( −2 sin t ) ) dt
Γ 0
2
2π
= ∫ (12 cos t − 18 sin t ) dt
3 3
0
= 0.
To solve this problem, using Maple™ you may use the following code.
:
n
∫ f ( x ) dx
Γ
Example 3.3.5
nn Solution:
The lines passing through the given points have equations
−x − 4
LAB : y = and LBC : y = −4 x + 6 . On LAB.
3
2
1 x 10 dx
( dx )2 + ( dy) = x 1 + − dx =
2
x dx = x ,
3 3
and on LBC
( dx )2 + ( dy) = x 1 + ( −4 )2 dx = x 17 dx.
2
x dx = x
Hence
∫Γ
x dx = ∫
LAB
x dx + ∫
LBC
x dx
x 10 dx 1
2
=∫ + ∫ x 17 dx
−1 3 2
10 3 17
= − ⋅
2 2
Exercises 3.3
3.3.1 Consider ∫ C
xdx + ydy. Evaluate ∫ C
xdx + ydy where C is the
straight line path that starts at ( −1, 0 ) goes to ( 0, 1 ) and ends at
(1, 0 ), by parameterizing this path.
3.3.2 Consider ∫ C
xy dx . Calculate ∫ C
xy dx where C is the straight
line path that starts at ( −1, 0 ) goes to ( 0, 1 ) and ends at (1, 0 ), by
parameterizing this path.
3.3.3 Evaluate ∫ C
xdx + ydy where C is the semicircle that starts at
( −1, 0 ) goes to ( 0,1) and ends at (1, 0 ), by parameterizing this
path.
3.3.4 Calculate ∫ xy dx where C is the semicircle that starts at ( −1, 0 )
C
goes to ( 0, 1 ) and ends at (1, 0 ), by parameterizing this path.
3.3.5 Find ∫
xdx + ydy where Γ is the path shown in Figure 3.3.2, start-
Γ
π π
ing at O ( 0, 0 ) going on a straight line to A 4 cos , 4 sin and
6 6
π π
continuing on an arc a circle to B 4 cos , 4 sin .
5 5
3.3.6 Solve Exercise 3.3.5 using Maple commands.
3.3.7 Find ∫ Γ
x dx Γ is the path shown in Figure 3.3.2.
3.3.8 Find ∫ zdx + xdy + ydz where Γ is the intersection of the sphere
Γ
3.3.11 Evaluate ∫ (x
C
2
+ y2 ) dx + 2 xy dy along the curve
C : x = t, y = 2 t 2 , 0 ≤ t ≤ 1, where t = sin u for 0 ≤ u ≤ π / 2.
3.3.12 Compute the curve integral ∫ (x
C
2
− 2 xy ) dx + ( y2 − 2 xy ) dy, along
d ( dω ) = 0.
Proof:
We will prove this by induction on p. For p = 0 if
ω = f ( x1 , x2 ,, xn )
then
n
∂f
dω = ∑ dxk
k =1 ∂xk
and
n ∂f
dω = ∑ d ∧ dxk
k =1 ∂xk
n n
∂2 f
= ∑ ∑ ∧ dx j ∧ dxk
k =1 j =1 ∂x j ∂xk
n ∂2 f ∂2 f
= ∑
1≤ j ≤ k ≤ n ∂x j ∂xk
−
∂xk ∂x j
dx j ∧ dxk
= 0,
ω= ∑
1≤ j1 ≤ j2 ≤≤ jp ≤ n
aj
1 j2 jp
dx j ∧ dx j ∧ dx j ,
1 2 p
dω = ∑
1≤ j1 ≤ j2 ≤≤ jp ≤ n
da j
1 j2 jp
dx j ∧ dx j ∧ dx j
1 2 p
n ∂a j1 j2 jp
= ∑ ∑ ∂x dx dx j ∧ dx j ∧ dx j ,
i 1 2 p
1≤ j1 ≤ j2 ≤≤ jp ≤ n i=1 i
(
d da ∧ dx j ∧ dx j ∧ dx j
1 2 p
) = 0.
But
( 1 2 p
)
d da ∧ dx j ∧ dx j ∧ dx j = dda ∧ dx j ∧ dx j ∧ dx j ( 1 2 p
)
(
+ da ∧ d dx j ∧ dx j ∧ dx j
1 2 p
)
(
= da ∧ d dx j ∧ dx j ∧ dx j ,
1 2 p
)
Since dda = 0 from the case p = 0. But an independent induction argu-
ment proves that
(
d dx j ∧ dx j ∧ dx j
1 2 p
) = 0,
completing the proof. n
Example 3.4.1
The differential form
xdx + ydy
is exact, since
1
xdx + ydy = d ( x2 + y2 ) .
2
Example 3.4.2
The differential form
ydx + xdy
is exact, since
Example 3.4.3
The differential form
x y
dx + dy
x 2 + y2 x2 + y2
is exact, since
x y 1
dx + 2 dy = d log e ( x2 + y2 ) .
x +y
2 2
x +y 2
2
Example 3.4.4
Determine whether the differential form
2 x (1 − e y ) ey
ω= dx + dy
(1 + x 2 ) 1 + x2
2
is exact.
nn Solution:
Assume there is a function F such that
dF = ω.
By the Chain Rule
∂F ∂F
dF = dx + dy ⋅
∂x ∂y
∂F 2 x (1 − e y )
= 2 ,
∂x (1 + x 2 )
∂F ey
= ⋅
∂y 1 + x2
ey
F ( x, y ) = + φ ( x),
1 + x2
∂F 2 xe y
=− + φ ′ ( x ).
∂x (1 + x 2 )
2
∂F
Comparing this with our first expression for , we find
∂x
2x
φ′( x) = ,
(1 + x 2 )
2
that is
1
φ ( x) = − + c,
1 + x2
ey − 1
F ( x, y ) = + c.
1 + x2 n
Example 3.4.5
Is there a continuously differentiable function such that
nnSolution:
We have
dω = ( 2 yz3dy + 3 y2 z2 dz ) ∧ dx
+ ( 2 yz3dx + 2 xz3dy + 6 xyz2 dz ) ∧ dy
+ ( 3 y2 z2 dx + 6 xyz2 dy + 6 xy2 zdz ) ∧ dz
= 0,
∂F ∂F ∂F
dF = dx + dy + dz = y2 z3 dx + 2 xyz3 dy + 3 xy2 z2 dz.
∂x ∂y ∂z
Then
∂F
= y2 z3 ⇒ F = xy2 z3 + a ( y, z ) ,
∂x
∂F
= 2 xyz3 ⇒ F = xy2 z3 + b ( x, z ) ,
∂y
∂F
= 3 xy2 z2 ⇒ F = xy2 z3 + c ( x, y ) .
∂z
B
∫ ω=∫ dF = F ( B) − F ( A ) .
Γ A
∫ ω = 0.
Γ
Example 3.4.6
Evaluate the integral
2x 2y
∫ x
Γ
2
+y 2
dx + 2
x + y2
dy
nnSolution:
Observe that
2x 2y 4 xy 4 xy
d 2 dx + 2 dy = − dy ∧ dx − dx ∧ dy = 0,
x +y x +y ( x 2 + y2 ) ( x 2 + y2 )
2 2 2 2
and so the form is exact in a start-shaped domain. By virtue of Theorem
3.4.1, the integral is 0. n
Example 3.4.7
Calculate the path integral
∫ ( x
Γ
2
− y ) dx + ( y2 − x ) dy,
nn Solution:
Since
∂ 2 ∂
( x − y) = −1 = ( y2 − x ) ,
∂y ∂x
the form is exact, and since this is a closed simple path, the integral is 0. n
Exercises 3.4
3.4.1 Are the following statements true or false?
1. A form α is closed if dα = 0.
2. If ω is exact and C is closed, then ∫ ω = 0.
C
xdy − ydx
ω= . Is the form exact or not exact.
x 2 + y2
[0, 2π ] → 2
C:
θ ( cosθ ,sin θ ) .
Show that w is exact or not exact. Also, show that w is a closed
1-form?
3.5 Two-Manifolds
Definition 3.5.1 A 2-dimensional oriented manifold of 2 is simply an
open set (region) D ∈ 2, where the + orientation is counter-clockwise and
the − orientation is clockwise. A general oriented 2-manifold is a union of
open sets.
∫−D
ω = − ∫ ω.
D
∫ f ( x, y) dA
D
∫
D
fdA
∫ D
dA
is the area of D.
In order to evaluate double integrals, we need the following.
∫D
f dA = ∫
a
b
(∫ c
d
f ( x, y ) dy dx = ∫) d
c (∫
a
b
)
f ( x, y ) dx dy
Example 3.5.1
∫[ 0 ;1] × [ 2 ;3]
xydA = ∫
1
0 ( ∫ xydy) dx
2
3
1 xy2
3
= ∫ dx
0 2
2
1 9x
= ∫ − 2 x dx
0
2
1
5 x2
=
4 0
5
= .
4
( ) 3 x2 y
1
3 1
∫ 2 ∫0 xy dx dy = ∫2 2 0 dy
3 y
= ∫ dx
2 2
3
y2
=
4 2
5
= .
4
∫[ 0 ;1] × [ 2 ;3]
xydA = ( ∫ xdx) ( ∫ ydy)
0
1 3
1 5
=
2 2
5
= .
4
To solve this problem using Maple™, you may use the following code.
:
To solve this problem using MATLAB, you may use the following code.
>> syms x y
>> firstint = int(x*y,x,0,1)
firstint =
1/2*y
>> answer = int(firstint,y,2,3)
answer =
5/4
Example 3.5.2
We have
∫ ∫ ( x + 2 y) ( 2 x + y) dxdy = ∫ ∫ ( 2 x + 5 xy + 2 y2 ) dxdy
4 1 4 1
2
3 0 3 0
4 2 5
= ∫ + y + 2 y2 dy
3 3 2
409
= .
12
To solve this problem using Maple™, you may use the following code.
:
To solve this problem using MATLAB, you may use the following code.
>> syms x y
>> firstans = int(int((x+2*y)*(2*x+y),x,0,1),y,3,4)
firstans =
409/12
In the cases when the domain of integration is not a rectangle, we
decompose so that, one variable is kept constant.
Example 3.5.3
Find ∫ xy dxdy in the triangle with vertices A : ( −1, −1 ) , B : ( 2, −2 ) , C : (1, 2 ) .
D
A : ( −1, −1 ) , B : ( 2, −2 ) , C : (1, 2 ) .
nn Solution:
The lines passing through the given points have equations LAB : y =
−x − 4 3x + 1
, LBC : y = −4 x + 6, LCA : y = .
3 2
∫−1
1
x (∫ ( 3 x +1 ) / 2
(− x−4) / 3 ) 2
y dy dx + ∫ x
1 (∫ −4 x + 6
(− x−4) / 3 )
y dy dx = −
11
8
.
∫−2
−1
y (∫ ( 6 − y) / 4
−4 − 3 y ) 2
x dx dy + ∫ y
−1 (∫ ( 6 − y) / 4
( 2 y −1 ) / 3 )
x dx dy = −
11
8
.
To solve this problem using Maple™, you may use the following code.
To solve this problem using MATLAB, you may use the following code.
>> syms x y
>> firstans = int(int(x*y,x,-4-3*y,(6-y)/4),y,-2,-1)+int(int(x*y,x,
(2*y-1)/3,(6-y)/4),y,-1,2)
firstans =
-11/8 n
Example 3.5.4
Consider the region inside the parallelogram P with vertices at
A : ( 6, 3 ) , B : ( 8, 4 ) , C : ( 9, 6 ) , D : ( 7, 5 ) , as in Figure 3.5.3.
Find
∫ xy dxdy.
P
nn Solution:
The lines joining the points have equations
x
LAB : y = ,
2
LBC : y = 2 x − 12,
x 3
LCD : y = + ,
2 2
LDA : y = 2 x − 9.
The integral is thus
To solve this problem using Maple™, you may use the following code.
To solve this problem using MATLAB, you may use the following code.
>> syms x y
>> firstans = int(int(x∗y,x,(y+9)/2,2∗y),y,3,4)+int(int(x*y,x,(y+9)/2,(y+12)/
2),y,4,5)+ int(int(x∗y,x,2∗y-3, (y+12)/2),y,5,6)
firstans =
409/4 n
Example 3.5.5
Find
y
∫x
D
2
+1
dxdy
where
D = {( x, y ) ∈ 2 | x ≥ 0, x2 + y2 ≤ 1}.
nn Solution:
The integral is 0. Observe that if ( x, y) ∈ D, FIGURE 3.5.4 Example 3.5.6.
Example 3.5.6
Find
4
y
e y / x dx dy.
∫ ∫
0 y/2
nnSolution:
We have
y
0 ≤ y ≤ 4, ≤ x ≤ y ⇒ 0 ≤ x ≤ 2, x2 ≤ y ≤ 2 x.
2
We then have
4
∫ ∫
0
y
y/2
e y / x dx dy = ∫
0
2
(∫ 2x
x2 )
e y / x dy dx
( ) dx
2
= ∫ xe y / x
2x
0 x2
2
= ∫ ( xe2 − xe x ) dx
0
= 2 e2 − ( 2 e2 − e2 + 1 )
= e2 − 1. n
Example 3.5.7
Find the area of the region
R= {( x, y) ∈ 2
: x + y ≥ 1, 1 − x + 1 − y ≥ 1 . }
See Figure 3.5.5.
nn Solution:
The area is given by
1 1 − (1 − 1 − x )
2
∫D dA = ∫0 ∫(1− x )2 dy dx
( )
1
= 2 ∫ 1 − x + x − 1 dx
0
2
= ⋅
3 n
Example 3.5.8
Evaluate ∫ x
R
+ y2 dA, where R is the rectangle 0; 2 × 0; 2 .
2
nn Solution:
The function ( x, y ) x2 + y2 jumps every time x2 + y2 is an integer.
( 2) +( 2)
2 2
For ( x, y ) ∈ R, we have 0 ≤ x2 + y2 ≤ = 4. Thus we decom-
pose R as the union of the
Rk = {( x, y ) ∈ 2 : x ≥ 0, y ≥ 0, k ≤ x2 + y2 ≤ k + 1} , k ∈ {1, 2, 3}.
∫ x
R
2
+ y2 dA = ∑∫
1≤ k≤3
Rk
x2 + y2 dA
= ∫∫
1≤ x2 + y2 <2 ,xx≥0 , y≥0
1 dA + ∫∫
2≤ x2 + y2 <3 , x≥0 , y≥0
2 dA + ∫∫
3≤ x2 + y2 < 4 , x≥0 , y≥0
3 dA.
Now the integrals can be computed by realizing that they are areas of
quarter annuli, and so,
1 πk
∫∫ k dA = k ⋅ ⋅ π ( k + 1 − k ) = ⋅
k≤ x2 + y2 < k+1, x≥0 , y≥0
4 4
Hence
π 3π
∫ x 2
+ y2 dA = (1 + 2 + 3 ) = ⋅
R 4 2 n
Exercises 3.5
3.5.2 Let S be the interior and boundary of the triangle with vertices
( 0, 0 ), ( 2,1), and ( 2, 0 ). Find ∫ ydA.
S
S
3.5.4 Find ∫ xy dxdy
D
where
D = {( x, y ) ∈ 2 | y ≥ x2 , x ≥ y2 }.
where
D = [ 0; π ] .
2
∫ ∫ min ( x + y2 ) dxdy.
1 1
3.5.6 Find 2
0 0
where
3.5.8 Evaluate ∫ R
xdA where R is the (un-
oriented) circular segment in Figure
3.5.7, which is created by the intersec-
tion of regions
{( x, y) ∈ 2
: x2 + y2 ≤ 16}
and
FIGURE 3.5.9 Exercise 3.5.16.
3
( x, y ) ∈ : y ≥ − x + 4 .
2
3
1 1
3.5.9 Find ∫∫ 2 e x dxdy.
2
0 y
3.5.11 Find ∫ R
xydA, where R is the (un-
oriented) ∆OAB in Figure 3.5.8 with FIGURE 3.5.10 Exercise 3.5.17.
O ( 0, 0 ) , A ( 3, 1 ), and B ( 4, 4 ).
3.5.12 Solve Exercise 3.5.11 using Maple
commands.
3.5.13 Find ∫ log (1 + x + y) dA
D
e
where
D = {( x, y ) ∈ 2 | x ≥ 0, y ≥ 0, x + y ≤ 1}.
x + y2 dA.
3.5.14 Evaluate ∫[ 0 ;2 ]
2 FIGURE 3.5.11 Exercise 3.5.21.
3.5.16 Evaluate ∫ R
xdA where R is the quarter annulus in Figure 3.5.9,
which is formed by the area between the circles x2 + y2 = 1 and
x2 + y2 = 4 in the first quadrant.
3.5.17 Evaluate ∫ R
xdA, where R is the E-shape figure in Figure 3.5.10.
π /2 π /2 cos y
3.5.18 Evaluate ∫ ∫
0 x y
dydx.
2 x πx 4 2 πx
3.5.19 Find ∫ ∫
1 x
sin dy dx + ∫ ∫ sin dy dx.
2y 2
x 2y
3.5.20 Find ∫ 2 x ( x2 + y2 ) dA
D
where
D {( x, y ) ∈ 2 : x 4 + y4 + x2 − y2 ≤ 1}.
y2 x2
3.5.21 Find the area bounded by the ellipses x2 + = 1 and + y2 = 1.
4 4
as in Figure 3.5.11.
where
D {( x, y ) ∈ 2 : x ≥ 0, y ≥ 0, xy + y + x ≤ 1}.
where
D {( x, y ) ∈ 2 : x ≥ 0, y ≥ 0, x2 + y ≤ 1}.
3.5.24 Evaluate ∫ R
xdA, where R is the region between the circles
x2 + y2 = 4 and x2 + y2 = 2 y, as shown
in Figure 3.5.12.
3.5.25 Find ∫ x − y dA
D
where
D {( x, y ) ∈ 2 : x ≤ 1, y ≤ 1}.
1 1
∫ xf ( x ) dx ∫ f ( x ) dx
0 0
D {( x, y ) ∈ 2 : x ≥ 0, y ≥ 0, x + y ≤ 1}.
∫ ( f g ) ( x ) dx ≤ ∫ f ( x ) dx + ∫ g ( x ) dx.
1 1 1
0 0 0
∫ ( xy + y ) dA, where S = {( x, y) ∈ }
1/2 1/2
3.5.30 Compute 2 2
:x + y ≤1 .
S
a b
∫∫ emax ( b x ) dydx, where a and b are positive.
2 2 , a2 y2
3.5.31 Evaluate
0 0
3.5.32 Find ∫D
xy dA.
Where
{
D ( x, y ) ∈ 2 : y ≥ 0, ( x + y ) ≤ 2 x .
2
}
3.5.33 A rectangle R on the plane is the disjoint union R = k =1 Rk of rect-
N
angles Rk. It is known that at least one side of each of the rectangles
Rk is an integer. Show that at least one side of R is an integer.
∫ ∫ ∫ ( x x x ) dx dx dx .
1 1 1
3.5.34 Evaluate 1 2 n 1 2 n
0 0 0
1
3.5.36 Find ∫ ( x + y)
D
4
dA, where
D {( x, y ) ∈ 2 | x ≥ 1, y ≥ 1, x + y ≤ 4}.
D {( x, y ) ∈ 2 | y ≥ 0, x − y + 1 ≥ 0, x + 2 y − 4 ≤ 0}.
π
cos2 ( x1 + x2 + + xn ) dx1 dx2 dxn .
1 1 1
3.5.38 Evaluate lim
n →+∞ 0 ∫ ∫ ∫
0 0
2n
∫ ∫ D
f = ∫ ∫
∆
( f g ) det g′ ( u ) ,
that is
∫ ∫ f ( x , x ,…, x ) dx
D 1 2 n 1
∧ dx2 ∧ … ∧ dxn
( )
= ∫ ∫ f g ( u1 , u2 ,…, un ) det g′ ( u ) du
∆
u1 ∧ du2 ∧ … ∧ dun .
Example 3.6.1
Evaluate the integral
∫ ∫ ( x + 2 y) ( 2 x + y) dxdy.
4 1
3 0
nn Solution:
Observe that we have already computed this integral in Example 3.5.2. Put
u = x + 2 y ⇒ du = dx + 2dy,
v = 2 x + y ⇒ dv = 2dx + dy,
giving
du ∧ dv = −3dx ∧ dy.
Now,
1 2 x
( u, v ) =
2 1 y
dv ∧ du = 3dx ∧ dy
instead. The integral sought is
1 409
3P∫ uv dvdu =
12
,
FIGURE 3.6.1 Example 3.6.1, xy-plane. FIGURE 3.6.2 Example 3.6.1, uv-plane.
Example 3.6.2
The integral
1 1
∫[ ] ( x
0 ;1
2
4
− y4 ) dA = ∫ − y4 dy = 0.
0 5
nn Solution:
First we find
du = 2 xdx − 2 ydy,
dv = 2 ydx + 2 xdy,
and so
du ∧ dv = ( 4 x2 + 4 y2 ) dx ∧ dy.
mapped. We use the fact that the boundaries will be mapped into boundar-
ies. Put
AB = {( x, 0 ) : 0 ≤ x ≤ 1} ,
BC = {(1, y ) : 0 ≤ y ≤ 1} ,
CD = {(1 − x, y ) : 0 ≤ x ≤ 1} ,
DA = {( 0, 1 − y ) : 0 ≤ y ≤ 1}.
1
∫[ ] ( x
0 ;1
2
4
− y4 ) dA = ∫ ( x 4 − y4 )
∆ 4 ( x + y4 )
4
dudv
1
( x2 − y2 ) dudv
4 ∫∆
=
1
= ∫ u dudv
4 ∆
= ∫ ∫2 (
1 2 1− v2 / 4
4 0 v / 4 −1
udu dv )
= 0,
as before. n
Example 3.6.3
∫ e(
x3 + y3 ) / xy
Find dA,
D
where
=
Using the change of variables x u=
2
v, y uv2 .
nnSolution:
We have
dx = 2 uvdu + u2 dv,
dy = v2 du + 2 uvdv,
dx ∧ dy = 3 u2 v2 du ∧ dv.
∆= {( u, v) ∈ 2
| 0 ≤ u ≤ ( 2 p)
1/3
, 0 ≤ v ≤ ( 2 p)
1/3
}.
The integral becomes
u 6 v3 + u 3 v6
∫ f ( x, y ) dxdy = ∫ exp ( 3 u v ) dudv
2 2
D ∆ u v
3 3
= 3 ∫ e u e v u2 v2 dudv
3 3
∆
2
1 ( 2 p)
1/ 3
= ∫ 3 u2 e u du
3
3 0
1
= ( e2 p − 1 ) .
2
Example 3.6.4
In this problem, we will follow an argument of Calabi, Beukers, and
Knock to prove that
+∞
1 π2
∑n
n=1
2
=
6
⋅
+∞ +∞
1 3 1
1. Prove that if S = ∑ , then S = ∑ ⋅
n =1 ( 2 n − 1 )
2
n =1 n
2
4
+∞
1 1 1 dxdy
2. Prove that ∑ ( 2 n − 1)
n =1
2
=∫
0 ∫0 1 − x2 y2
⋅
sin u sin v
=
3. Use the change of variables x = ,y in order to evalu-
cos v cos u
1 1 dxdy
ate ∫∫
0 0 1 − x 2 y2
⋅
nn Solution:
1. Observe that the sum of even terms is
+∞
1 1 +∞ 1 1
∑ ( 2n)
n =1
2
= ∑ = S,
4 n =1 n 2 4
a quarter of the sum, hence the sum of the odd terms must be three
3
quarters of the sum, S.
4
2. Observe that
(∫ x )( ∫ y )
2
1 1 1 1 1
= ∫ x2 n− 2 dx ⇒ =
2 n−2
dx 2 n−2
dy
2n − 1 0 2n − 1 0 0
∫ ( xy)
1 1 2 n−2
=∫ dxdy.
0 0
Thus
+∞ +∞ 1 +∞
1 dxdy
( xy) ∫ ∑ ( xy)
1 1 1 1 1
∑ ( 2 n − 1) = ∑∫
2 n−2 2 n−2
n =1
2
n =1
0 ∫0
dxdy = ∫
0 0
n =1
dxdy = ∫
0 ∫
0 1 − x 2 y2
,
1 +∞ dxdy
xy ) ∫ ∑ ( xy)
2 n−2 1 2 n−2 1 1
dxdy = ∫ dxdy = ∫ ∫ , as claimed.
0 0
n =1
0 0 1 − x2 y2
sin u sin v
=
3. If x = ,y then
cos v cos u
dx = ( cos u )( sec v ) du + ( sin u )( sec v )( tan v ) dv,
dy = ( sec u )( tan v ) ( sin v ) du + ( sec u )( cos v ) dv,
from where
Also,
sin 2 v sin 2 v
1 − x2 y2 = 1 − ⋅ = 1 − ( tan 2 u )( tan 2 v ) .
cos2 v cos2 u
This gives
dxdy
= dudv.
1 − x2 y2
1 − y2 1 − x2
u = arctan x , v = arctan y ⋅
1 − x2 1 − y2
This means that the square in the xy -plane in Figure 3.6.3 is trans-
formed into the triangle in the uv-plane in Figure 3.6.4.
We deduce,
1 1 dxdy π / 2 π / 2− v π /2
∫∫
0 0 1 − x 2 y2
= ∫0 ∫0
dudv = ∫0
(π / 2 − v ) dv
π /2
π v2 π2 π2 π2
= v− = − = ⋅
2 2 0 4 8 8
Finally,
3 π2 π2
S= ⇒S= ⋅
4 8 6 n
Example 3.6.5
x
1/ 5 1 − 3 y
Evaluate ∫ ∫ 0 0
e x+3 y dxdy using Maple.
To solve this problem using Maple™, you may use the following code.
Exercises 3.6
2 → 2
Φ: u+ v u− v .
( u, v ) ,
2 2
2 → 2
Φ: u + v u − v .
( u, v ) ,
2 2
∫ ( x + y) e
2
x2 − y2
Find dA.
D
D = {( x, y ) ∈ 2 | a ≤ xy ≤ b, y ≥ x ≥ 0, y2 − x2 ≤ 1, ( a, b ) ∈ 2 , 0 < a < b}
3.6.4 Use the following steps (due to Tom Apostol), in order to prove that
∞
1 π2
∑n
n=1
2
=
6
⋅
1
= 1 + t + t2 + t3 + , t < 1,
1−t
∞
1 1dxdy 1
in order to prove (formally) that ∫0 ∫0 1 − xy ∑
=
n =1 n
2
⋅
1 1 dxdy 1 u dv 2 2− u dv
∫∫0 0 1 − xy
= 2∫ ∫
0 − u 2 2
4−u +v
du + 2 ∫ ∫
1
u − 2 2 2
4−u +v
du.
1 2 u 2 2 2−u
2∫ arctan du + 2 ∫ arctan du.
0
4−u 2
4−u 2 1
4−u 2
4 − u2
π2
4. Finally, prove that the preceding integral is by using
u 6
the substitution θ = arcsin .
2
∫∫ sin ( x − y) ( x + y)
2
3.6.5 Evaluate the integral 2
dA using change of
D
∫∫D ( x + y)
3
3.6.9 Evaluate the integral dA using change of variables,
dx ∧ dy = ( ρ cos2 θ + ρ sin 2 θ ) dρ ∧ dθ = ρ dρ ∧ dθ .
Example 3.7.1
Find ∫ xy
D
x2 + y2 dA , where
D = {( x, y ) ∈ 2 | x ≥ 0, y ≥ 0, y ≤ x, x2 + y2 ≤ 1}.
nnSolution:
We use polar coordinates. The region D transforms into the region
π
∆ = [ 0; 1] × 0; .
4
Therefore the integral becomes
∫ ρ 4 cosθ sinθ dρ dθ =
∆
(∫ 0
π /4
cosθ sin θ dθ )( ∫ ρ dρ ) = 201 ⋅
1
0
4
n
Example 3.7.2
Evaluate ∫
R
xdA, where R is the region bounded by the circles
x2 + y2 = 4 and x2 + y2 = 2 y. See Figure 3.7.2.
Solution:
nn
Since x2 + y2 = r 2 , the radius sweeps from r 2 = 2 r sin θ to r 2 = 4, that
π
is, from 2sin θ to 2. The angle clearly sweeps from 0 to . Thus the inte-
gral becomes 2
π /2 2 sin θ 1 π /2
∫ xdA = ∫ ∫ ( 8 cosθ − 8 cosθ sin 3 θ ) dθ = 2.
3 ∫0
r 2 cosθ drdθ =
R 0 2 n
Example 3.7.3
∫ e− x
2 − xy − y2
Find dA, where
D
D = {( x, y ) ∈ 2 : x2 + xy + y2 ≤ 1}.
nnSolution:
Completing squares
2
y 3 y
2
x + xy + y = x + +
2 2
.
2 2
y 3y
Put U = x + , V = ⋅ The integral becomes
2 2
2
∫{x2 + xy+ y2 ≤1} e− x − xy− y dxdy = 3 ∫{U2 + V 2 ≤1} e ( )dUdV.
2 2 − U2 +V2
2 2π 1 − ρ 2 2π
∫0 ∫0
ρ e dρ dθ = (1 − e−1 ) .
3 3 n
Example 3.7.4
1
Evaluate ∫ (xR 2
+ y2 )
3/2
dA, over the region
{( x, y) ∈ 2
: x2 + y2 ≤ 4, y ≥ 1}
See Figure 3.7.4.
nn Solution:
1
The radius sweeps from r = to r = 2. The desired integral is
sin θ
1 5π / 6 2 1
∫ (x
R 2
+y 2
)
3/2
dA = ∫
π /6 ∫
csc θ r2
drdθ
5π / 6 1
= ∫ sin θ − dθ
π /6
2
π
= 3− ⋅
3 n
Example 3.7.5
Evaluate ∫ (x
R
3
+ y3 ) dA, where R is the region bounded by ellipse
x 2 y2
+ = 1, and the first quadrant, a > 0 and b > 0.
a2 b2
nn Solution:
Put x = ar cosθ , y = br sin θ . Then
x 2 y2 a2 r 2 cos2 θ b2 r 2 sin 2 θ
+ = 1 ⇒ + = 1 ⇒ r = 1.
a2 b2 a2 b2
Thus the required integral is
π /2
∫ (x + y3 ) dA = ∫
1
3
∫ abr 4 ( cos3 θ + sin 3 θ ) drdθ
R 0 0
= ab ( ∫ r dr ) ( ∫
1
0
4
π /2
0
( a3 cos3 θ + b3 sin 3 θ ) dθ )
1 2 a + 2 b3 3
= ab
5 3
2 ab ( a + b )
3 3
= ⋅
15 n
Exercises 3.7
3.7.1 Evaluate ∫ R
xydA where R the region is
R = {( x, y ) ∈ 2 : x2 + y2 ≤ 16, x ≥ 1, y ≥ 1},
as in the Figure 3.7.1. Set up the integral in the Cartesian and polar
coordinates.
D= {( x, y) ∈ 2
| ( x − 1 ) + y2 ≤ 1
2
}
3.7.3 Find ∫
D
xy dA, where
D= {( x, y) ∈ 2
| ( x2 + y2 ) ≤ 2 xy
2
}
FIGURE 3.7.5 Exercise 3.7.1.
3.7.4 Find ∫D
f dA, where
3.7.5 Find ∫
D
x2 + y2 dA, where
D = {( x, y ) ∈ 2 | x ≥ 0, y ≥ 0, x2 + y2 ≤ 1, x2 + y2 − 2 y ≥ 0}.
D = {( x, y ) ∈ | y ≥ 0, x 2 2
+ y2 − 2 x ≤ 0} and f ( x, y ) = x2 y.
3.7.7 Find ∫D
f dA , where
D = {( x, y ) ∈ 2 | x ≥ 1, x2 + y2 − 2 x ≤ 0} and
1
f ( x, y ) = ⋅
( x + y2 )
2
2
∫ ( x + y) dA.
2
gral
D
dA
3.7.9 Let D = {( x, y ) ∈ 2 | y ≤ x2 + y2 ≤ 1}. Compute ∫ (1 + x ⋅
+ y2 )
D 2
2
x2 = ρ cosθ , y2 = ρ sin θ .
+∞ π
∫ e− x dx =
2
0 2
is as obvious as twice two is four to you. Liouville was a mathemati-
cian.” Prove that
+∞ π
∫ e− x dx =
2
0 2
by following these steps.
Ia = ∫ e−( x ) dxdy.
2 + y2
Da
∆a
Ia ≤ Ja ≤ Ia 2
⋅
+∞ π
3. Deduce that ∫ e− x dx = ⋅
2
0 2
1
3.7.12 Let D = {( x, y ) ∈ 2 : 4 ≤ x2 + y2 ≤ 16} and f ( x, y ) = ⋅
x + xy + y2
2
Find ∫ f ( x, y) dA.
D
3.7.13 Prove that every closed convex region in the plane of area ≥ π has
two points which are two units apart.
3.7.14 In the xy-plane, if R is the set of points inside and on a convex
polygon, let D( x, y) be the distance from ( x, y) to the nearest
point R. Show that
+∞ +∞
∫ ∫
−∞ −∞
e− D( x, y) dxdy = 2π + L + A,
3.8 Three-Manifolds
Definition 3.8.1 A 3-dimensional oriented manifold of 3 is simply an
open set (body) V ∈ 3, where the + orientation is in the direction of the
outward pointing normal to the body, and the − orientation is n the direction
of the inward pointing normal to the body. A general oriented 3-manifold is
a union of pen sets.
! ∫ −M
ω = − ∫ ω.
M
TIP
We will often write
∫M
fdV
∫ fdV
V
∫ dV
V
Example 3.8.1
Find
∫ x2 ye xyz dV.
[0 ;1]3
nn Solution:
The integral is
∫ (∫ (∫ ) ) (∫ x(e )
1 1 1 1 1
x2 ye xyz dz dy dx = ∫ xy
− 1 ) dy dx
0 0 0 0 0
1
= ∫ ( e − x − 1 ) dx
x
0
5
= e− ⋅
2 n
Example 3.8.2
Find ∫ z dV if
R
R= {( x, y) ∈ 3
| x ≥ 0, y ≥ 0, z ≥ 0, x + y + z ≤ 1 . }
nn Solution:
The integral is
1 (1 − z ) (1 − z − x )
2 2
∫R zdxdydz = ∫0 ∫0 ∫0
z dy dx dz
1 (1 − z )
2
( )
2
= ∫ z ∫ 1 − z − x dx dz
0
0
1 1
( )
4
= ∫ z 1 − z dz
6 0
1
= ⋅
840 n
Example 3.8.3
a2 bc
Prove that
V
∫ xdV = 24
, where V is the tetrahedron
x y z
V = ( x, y ) ∈ 3 : x ≥ 0, y ≥ 0, z ≥ 0, + + ≤ 1 .
a b c
nnSolution:
We have
c b − bz / c a − ay / b − az / c
∫ xdxdydz = ∫ ∫
V
0 0 ∫
0
xdxdydz
2
1 c b− bz / c ay az
= ∫ ∫ a− − dydz
2 0 0
b c
1 c a2 ( − z + c ) b
3
= ∫ dx
6 0 c3
a2 bc
= ⋅
24 n
Example 3.8.4
Evaluate the integral, ∫ xdV
S
where S is the is the (unoriented)
tetrahedron with vertices ( 0, 0, 0 ) , ( 3, 2, 0 ) , ( 0, 3, 0 ), and ( 0, 0, 2 ). See
Figure 3.8.1.
nn Solution:
A short computation shows that the plane passing through ( 3, 2, 0 ) , ( 0, 3, 0 ),
18 − 2 x − 6 y
and ( 0, 0, 2 ) has equation 2 x + 6 y + 9 z = 18. Hence, 0 ≤ z ≤ .
9
We must now figure out the xy limits of integration. In Figure 3.8.2, we
draw the projection of the tetrahedron on the xy-plane. The line passing
x
through AB has equation y = − + 3 . The line passing through AC has
3
2
equation y = x.
3
We find, finally,
3 3− x / 3 (18−2 x−6 y) / 9
∫ xdV = ∫ ∫
S 0 2 x/3 ∫
0
xdzdydx
3 18 x − 2 x2 − 6 yx
3− x / 3
=∫
0 ∫2 x / 3
dydx
9
3− x /3
3 18 xy − 2 x 2 y − 3 y2 x
=∫ dx
0 9 2 x/3
3 x3
= ∫ − 2 x2 + 3 x dx
0
3
9
= ⋅
4
To solve this problem using Maple™, you may use the following code.
To solve this problem using MATLAB, you may use the following code.
>> syms x y z
>> firstans = int(int(int(x,z,0,(18-2*x-6*y)/9),y,2*x/3,3-x/3),x,0,3)
firstans =
9/4 n
Example 3.8.5
Evaluate ∫R
xyzdV , where R is the solid formed by the intersection of
the parabolic cylinder z = 4 − x2, the planes=
z 0,=
y x, y = 0. Use the fol-
lowing orders of integration:
1. dzdxdy
2. dxdydz
nnSolution:
We must find the projections of the solid on the coordinate planes.
2 y 4 − x2 1 2 y 2
∫∫∫ ( )
2 ∫0 ∫0
xyzdzdxdy = xy 4 − x 2
dxdy
0 0 0
1 2 y
= ∫ ∫ y (16 x − 8 x3 + x 5 ) dxdy
2 0 0
2 y7
= ∫ 4 y3 − y5 + dy
0
12
= 8.
4− z 1 4 4− z
( 4 y − y3 ) zdydz
4 2
∫∫
0 0 ∫ y
xyzdxdydz =
2 ∫0 ∫0
4 z3
= ∫ 2 z − dz
0
8
= 8. n
Exercises 3.8
3.8.1 Compute ∫ E
zdV , where E is the region in the first octant bounded
by the planes x + z = 1 and y + z = 1.
3.8.2 Evaluate the integrals ∫ R
1dV and ∫ R
xdV , where R is the tetra-
hedron with vertices at (0, 0, 0), (1, 1, 1), (1, 0, 0), and (0, 0, 1).
3.8.3 Compute ∫ E
xdV , where E is the region in the first octant bounded
by the plane y = 3 z and the cylinder x2 + y2 = 9.
dV
3.8.4 Find ∫ (1 + x z ) (1 + y z )
D
2 2 2 2
where
D = {( x, y, z ) ∈ 3 : 0 ≤ x ≤ 1, 0 ≤ y ≤ 1, z ≥ 0}.
12 − 3 x − 2 y
S = ( x, y, z ) : 0 ≤ x ≤ 1, 0 ≤ y ≤ 3, 0 ≤ z ≤ .
6
3.8.6 Evaluate ∫∫∫ ( 3 xy3 z2 ) dV for the solid region S = {( x, y, z) : −1 ≤ x ≤ 3,
S
1 ≤ y ≤ 4, 0 ≤ z ≤ 2}.
3.8.7 Find the volume of the solid bounded by the cylinders y = x2 and
y = z2, and the plane y = 1.
3.8.8 Find the volume of the solid bounded by the graphs
=z 2=, z 4 y2 , x = 2, and x = 0.
the planes
z = 0, z = − x, x = 0, y = 1, and y = − x.
4 y2 + z2 − 16 = 0} .
3.8.11 Find the volume of the centroid of the tetrahedral defined by
S = {( x, y, z ) : x + y + z ≤ 1, y ≥ 0, z ≥ 0}.
3.8.12 Find the volume of the region S bounded by the parabolic cylinder
z = 4 − x2 and the planes x = 0, y − 0, y = 6, and z = 0.
3.8.13 Find the volume V for the solid region S in 3 bounded by the
graphs
z = x2 + y2 , z = 0, y = x, y = 0, and x = 2.
3.8.14 Find the volume V for the solid region S in 3 bounded by the
graphs z = x + y, y2 = − x2 + 4, the coordinate plane, and first octant.
Example 3.9.1
nnSolution:
We make the charge of variables
u = x + y + z ⇒ du = dx + dy + dz,
v = x + y − z ⇒ dv = dx + dy − dz,
w = x − y − z ⇒ dw = dx − dy − dz.
This gives
du ∧ dv ∧ dw = −4dx ∧ dy ∧ dz.
These forms have opposite orientations, so we choose, say,
du ∧ dw ∧ dv = 4dx ∧ dy ∧ dz
which have the same orientation. Also,
2 x − z = 1 ⇒ u + v + 2 w = 2.
The tetrahedron in the xyz-coordinate frame is mapped into a tetrahe-
dron bounded by u = 0, v = 0, u + v + 2 w = 1 in the uvw-coordinate frame.
The integral becomes
1 2 1− v / 2 2 − v− 2 w 1
4 ∫0 ∫0 ∫0
uvwdudwdv =
180
⋅
( x, y, z ) = ( ρ cosθ , ρ sinθ ,z ) .
From what we know about polar coordinates
dx ∧ dy = ρ dρ ∧ dθ .
Since the wedge product of forms is associative,
dx ∧ dy ∧ dz = ρ dρ ∧ dθ ∧ dz. n
Example 3.9.2
Find ∫R
z2 dxdydz, if
R = {( x, y, z ) ∈ 3 | x2 + y2 ≤ 1, 0 ≤ z ≤ 1}.
nn Solution:
The region of integration is mapped into ∆ = [ 0; 2π ] × [ 0; 1] × [ 0; 1]
through a cylindrical coordinate change. The integral is therefore
∫ f ( x, y, z ) dxdydz = ( ∫
R
2π
0
dθ )( ∫ ρdρ )( ∫ z dz) = π3 ⋅
1
0
1
0
2
n
Example 3.9.3
Evaluate ∫ (x
D
2
+ y2 ) dxdydz over the first octant region bounded by the
nn Solution:
The integral is
1 π /2 2 15π
∫∫ ∫
0 π /4 1
ρ 3 dρ dθ dz =
16
⋅
n
Example 3.9.4
Three long cylinders of radius R intersect at right angles. Find the
volume of their intersection.
nn Solution:
Let V be the desired volume. By symmetry, V = 2 4 V ′, where
V ′ = ∫ dxdydz,
D′
D′ = {( x, y, z ) ∈ 3 : 0 ≤ y ≤ x, 0 ≤ z, x2 + y2 ≤ R 2 , y2 + z2 ≤ R 2 , z2 + x2 ≤ R 2 }.
In this case, it is easier to integrate with respect to z first. Using cylin-
drical coordinates
π
∆′ = (θ , ρ , z ) ∈ 0; × [ 0; R ] × [ 0; +∞ ], 0 ≤ z ≤ R 2 − ρ 2 co2θ .
4
Now,
π /4 R R2 − ρ 2 cos2 θ
V′ = ∫ ∫0 ∫0 dz ρ dρ dθ
0
=∫
0
π /4
(∫ ρR
0 )
R 2 − ρ 2 cos2 θ dρ dθ
π /4 1 2 3/2 R
=∫ − ( R − ρ 2
cos 2
θ ) dθ
0 3 cos2 θ 0
R 3 π /4
1 − sin θ3
=
3 ∫0 cos2 θ
dθ , now let u = cosθ
R3 2
1 − u2
[ tan θ ]0 + ∫1 2
π /4
= du
3 u 2
R3 2
= 1 − [ u + u]12
−1
3
2 −1 3
= R.
2
Finally,
( )
V = 16 V ′ = 8 2 − 2 R 3 . n
We have
instead.
Example 3.9.5
x 2 y2 z 2
R = ( x, y, z ) ∈ 3 : 2 + 2 + 2 ≤ 1, x ≥ 0, y ≥ 0, z ≥ 0 .
a b c
nnSolution:
We use spherical coordinates, where
π π
∆ = [ 0; 1] × 0; × 0; .
2 2
The integral becomes
( abc )2 (∫
0
π /2
cosθ sin θ dθ )( ∫
0
1
ρ 5 dρ )( ∫
0
π /2
)
cos3 φ sin φ dφ =
( abc )2
48
⋅
n
Example 3.9.6
Let V = {( x, y, z ) ∈ 3 : x2 + y2 + z2 ≤ 9, 1 ≤ z ≤ 2}. Then
2π π / 2 −arcsin 1 / 3 2 /cos φ 63π
∫ dxdydz = ∫ ∫
V
0 ∫
π / 2 −arcsin 2 / 3 1 /cos φ
ρ 2 sin φ dρ dφ dθ =
4
⋅
Exercises 3.9
3.9.1 Consider the region R below the cone z = x2 + y2 and above the
paraboloid z = x2 + y2 for 0 ≤ z ≤ 1. Set up integrals for the volume
of this region in Cartesian, cylindrical, and spherical coordinates.
Also, find this volume.
3.9.2 Consider the integral ∫ xdV , where R is the region above the
R
∫ x y z (1 − x − y − z )
4
3.9.8 Find 1 9 8
dxdydz, where
R
R = {( x, y, z ) ∈ 3 : x ≥ 0, y ≥ 0, z ≥ 0, x + y + z ≤ 1}.
3.9.9 Find the volume for the unit ball region S defined by
S = {( x, y, z ) : x2 + y2 + z2 ≤ 1} .
1
3.9.10 Evaluate ∫∫∫ ( x2 + z2 ) 2
S
dV for the solid region S , which is bounded
∫f
Σ
d2 x .
Here,
( dx ∧ dy) + ( dz ∧ dx )2 + ( dy ∧ dz )
2 2
d2 x =
is the surface area element.
Example 3.10.1
Evaluate ∫z d x
Σ
2
where Σ is the outer surface of the section of the
paraboloid, z = x2 + y2 , 0 ≤ z ≤ 1.
nn Solution:
We parameterize the paraboloid as follows. Let x = u, y = v, z = u2 + v2.
Observe that the domain D of Σ is the unit disk u2 + v2 ≤ 1. We see that
dx ∧ dy = du ∧ dv,
dy ∧ dz = −2 udu ∧ dv,
dz ∧ dx = −2 vdu ∧ dv,
and so
( dx ∧ dy) + ( dz ∧ dx )2 + ( dy ∧ dz )
2 2
d2 x =
= 1 + 4 u2 + 4 v2 du ∧ dv.
Now,
∫ z d x = ∫(u
Σ
2
D
2
+ v2 ) 1 + 4 u2 + 4 v2 dudv.
2π 1
∫ ( u 2 + v2 )
D
1 + 4 u2 + 4 v2 dudv = ∫
0 ∫
0
ρ 3 1 + 4 ρ 2 dρ dθ
π 1
= 5 5 + .
12 5 n
Example 3.10.2
Find the area of that part of the cylinder x2 + y2 = 2 y lying inside the
sphere x2 + y2 + z2 = 4.
nn Solution:
We have x2 + y2 = 2 y ⇔ x2 + ( y − 1 ) = 1. We parameterize the cylin-
2
hence
and so
( dx ∧ dy) + ( dz ∧ dx )2 + ( dy ∧ dz )
2 2
d2 x =
= cos2 u + sin 2 u du ∧ dv
= du ∧ dv.
The cylinder and the sphere intersect when x2 + y2 = 2 y and
x2 + y2 + z2 = 4, that is, when z2 = 4 − 2 y, i.e. v2 = 4 − 2 (1 + sin u ) = 2 − 2 sin u .
Also, 0 ≤ u ≤ π . The integral is thus
π 2 −2 sin u π
∫ d x =∫ ∫
2
0 − 2 −2 sin u
dvdu = ∫ 2 2 − 2 sin u du
0
Σ
π
= 2 2∫ 1 − sin u du
0
(
=2 2 4 2 −4 . ) n
Example 3.10.3
Evaluate ∫ xdydz + ( z
Σ
2
− zx ) dzdx − xydxdy, where Σ is the top side of
nn Solution:
Observe that the plane passing through the three given points has
equation 2 x + 2 y + z = 4. We project this plane onto the coordinate axes
obtaining
2− z / 2 8
( 2 − y − z / 2 ) dydz =
4
∫ xdydz = ∫ ∫
Σ
0 0 3
,
2 4 −2 x
∫(z
Σ
2
− zx ) dzdx = ∫
0 ∫ (z
0
2
− zx ) dzdx = 8,
2 2− y 2
− ∫ xydxdy = − ∫ ∫ xydxdy = − ,
Σ
0 0 3
and hence,
∫ xdydz + ( z
Σ
2
− zx ) dzdx − xydxdy = 10.
n
Exercises 3.10
x + y + z2 = 1.
2 2
3.10.4 Evaluate ∫ S
z d 2 x over the conical surface z = x2 + y2 between
z = 0 and z = 1 .
3.10.5 You put a perfectly spherical egg through an egg slicer, resulting
in n slices of identical height, but you forgot to peel it first! Show
that the amount of egg shell in any of the slices is the same. Your
argument must use surface integrals.
3.10.6 Evaluate ∫ xydydz − x dzdx + ( x + z ) dxdy,
Σ
2
where Σ is the top of
∫ ∂M
ω = ∫ dω.
M
Example 3.11.1
Evaluate ∫ ( x − y ) dx + x dy
C
3 3
where C is the circle x2 + y2 = 1.
nn Solution:
We will first use Green’s Theorem and then evaluate the integral
directly. We have
dω = d ( x − y3 ) ∧ dx + d ( x3 ) ∧ dy
= ( dx − 3 y2 dy ) ∧ dx + ( 3 x2 dx ) ∧ dy
= ( 3 y2 + 3 x2 ) dx ∧ dy.
∫ ( x − y ) dx + x dy = ∫ ( 3 y + 3 x ) dxdy
C
3 3
M
2 2
2π 1
= ∫ ∫ 3 ρ dρ dθ 2
0 0
3π
= ⋅
2
Alternative Method:
We can evaluate this integral directly, again resorting to polar
coordinates.
2π
∫ ( x − y ) dx + x dy = ∫ ( cosθ − sin θ ) ( − sinθ ) dθ + ( cos θ ) ( cosθ ) dθ
C
3 3
0
3 3
2π
= ∫ ( sin θ + cos θ − sin θ cosθ ) dθ .
4 4
0
In general, let
ω = f ( x, y ) dx + g ( x, y ) dy
be a 1-form in 2. Then
dω = df ( x, y ) ∧ dx + dg ( x, y ) ∧ dy
∂ ∂ ∂ ∂
= f ( x, y ) dx + f ( x, y ) dy ∧ dx + g ( x, y ) dx + g ( x, y ) dy ∧ dy
∂x ∂y ∂x ∂y
∂ ∂
= g ( x, y ) − f ( x, y ) dx ∧ dy
∂x ∂y
∂ ∂
∫ f ( x, y) dx + g ( x, y) dy = ∫ ∂x g ( x, y) − ∂y f ( x, y) dxdy.
∂M M
Example 3.11.2
Evaluate ∫ ( x − y) dydz + zdzdx − ydxdy where S is the surface of the
S
nn Solution:
The region M is the interior of sphere x2 + y2 + z2 = 9. Now,
dω = ( dx − dy ) ∧ dy ∧ dz + dz ∧ dz ∧ dx − dy ∧ dx ∧ dy
= dx ∧ dy ∧ dz.
The integral becomes
4π
∫ dxdydz = ( 27 ) = 36π .
M
3
Alternative Method:
We could evaluate this integral directly, we have
∫ ( x − y) dydz = ∫
Σ Σ
xdydz,
Also,
∫ Σ
zdzdx = 0,
∫ - ydxdy =0,
Σ
In general, let
ω = f ( x, y, z ) dy ∧ dz + g ( x, y, z ) dz ∧ dx + h ( x, y, z ) dx ∧ dy
be a 2-form in 3. Then
dω = df ( x, y, z ) dy ∧ dz + dg ( x, y, z ) dz ∧ dx + dh ( x, y, z ) dx ∧ dy
∂ ∂ ∂
= f ( x, y, z ) dx + f ( x, y, z ) dy + f ( x, y, z ) dz ∧ dy ∧ dz
∂x ∂y ∂z
∂ ∂ ∂
+ g ( x, y, z ) dx + g ( x, y, z ) dy + g ( x, y, z ) dz ∧ dz ∧ dx
∂x ∂y ∂z
∂ ∂ ∂
+ h ( x, y, z ) dx + h ( x, y, z ) dy + h ( x, y, z ) dz ∧ dx ∧ dy
∂x ∂y ∂z
∂ ∂ ∂
= f ( x, y, z ) + g ( x, y, z ) + h ( x, y, z ) dx ∧ dy ∧ dz,
∂x ∂y ∂z
∂ ∂ ∂
= ∫ f ( x, y, z ) + g ( x, y, z ) + h ( x, y, z ) dxdydz.
M
∂x ∂y ∂z
f ( x, y, z ) dydz
a = g ( x, y, z ) , dS = dzdx ,
h ( x, y, z ) dxdy
then
∫ ( ∇ia ) dV = ∫ aidS.
M ∂M
Example 3.11.3
Evaluate ∫ ydx + ( 2 x − z ) dy + ( z − x ) dz where C is the intersection
C
nnSolution:
We have
dω = ( dy ) ∧ dx + ( 2dx − dz ) ∧ dy + ( dz − dx ) ∧ dz
= −dx ∧ dy + 2dx ∧ dy + dy ∧ dz + dz ∧ dx
= dx ∧ dy + dy ∧ dz + dz ∧ dx.
∫ dω = ∫ dxdy.
Σ Σ
Since this is just the area of the circular region x2 + y2 ≤ 3, the integral
evaluates to
∫ dxdy = 3π .
Σ n
In general, let
ω = f ( x, y, z ) dx + g ( x, y, z ) dy + h ( x, y, z ) dz
Be a 1-form in 3. Then
dω = df ( x, y, z ) ∧ dx + dg ( x, y, z ) ∧ dy + dh ( x, y, z ) ∧ dz
∂ ∂ ∂
= f ( x, y, z ) dx + f ( x, y, z ) dy + f ( x, y, z ) dz ∧ dx
∂x ∂y ∂z
∂ ∂ ∂
+ g ( x, y, z ) dx + g ( x, y, z ) dy + g ( x, y, z ) dz ∧ dy
∂x ∂y ∂z
∂ ∂ ∂
+ h ( x, y, z ) dx + h ( x, y, z ) dy + h ( x, y, z ) dz ∧ dz
∂x ∂y ∂z
∂ ∂
= h ( x, y, z ) − g ( x, y, z ) dy ∧ dz
∂y ∂z
∂ ∂
+ f ( x, y, z ) − h ( x, y, z ) dz ∧ dx
∂z ∂x
∂ ∂
+ g ( x, y, z ) − f ( x, y, z ) dx ∧ dy
∂x ∂y
which gives the classical Strokes’ Theorem.
∫ f ( x, y, z ) dx + g ( x, y, z ) dy + h ( x, y, z ) dz
∂M
∂ ∂
= ∫ h ( x, y, z ) − g ( x, y, z ) dydz
M
∂y ∂z
∂ ∂
+ g ( x, y, z ) − f ( x, y, z ) dxdy
∂z ∂ x
∂ ∂
+ h ( x, y, z ) − f ( x, y, z ) dxdy.
∂x ∂y
f ( x, y, z ) dx dydz
a = g ( x, y, z ) , dr = dy , dS = dzdx ,
h ( x, y, z ) dz dxdy
then
∫ ( ∇ × a ) i dS = ∫ a i dr.
M ∂M
Exercises 3.11
3.11.1 Evaluate ∫ C
x3 ydx + xydy where C is the square with vertices at
( 0, 0 ) , ( 2, 0 ) , ( 2, 2 ), and ( 0, 2 ).
3.11.2 Consider the triangle ∆ with vertices A : ( 0, 0 ) , B : (1, 1 ) , C : ( −2, 2 ).
2. Evaluate ∫ ∆
y2 dx + xdy.
path integral.
3.11.4 Let Γ denote the curve of intersection of the plane x + y = 2
and the sphere x2 − 2 x + y2 − 2 y + z2 = 0, oriented clockwise
when viewed from the origin. Use Stoke’s Theorem to prove that
∫ ydx + zdy + xdz = −2π
Γ
2 ⋅ Prove this directly by parametrizing
3.11.6 Evaluate ∫ f dr using Green’s Theorem, where f ( x, y, z ) = ( 2 xy − x2 ) i + ( x + y2 ) j
f ( x, y, z ) = ( 2 xy − x2 ) i + ( x + y2 ) j and C is the boundary of the region Γ
defined by the curves y = x2 and y = x , 0 ≤ x ≤ 1.
3.11.7 Evaluate ∫ C
4 x2 y dx + 2 y dy using Green’s Theorem, where C is
the boundary of the triangle with vertices in Figure 3.11.1.
3.11.8 Evaluate ∫ ( x + y ) dx + (1 + x ) dy
C
2 2
using Green’s Theorem,
where C is the closed curve determined by y = x3 and y = x2 form
( 0, 0 ) to (1,1).
3.11.9 Evaluate ∫ C
e x sin y dx + e x cos y dy using Green’s Theorem,
3.11.12 Evaluate ∫ ( ( 2 x
C
2
+ 2 xy ) dx + ( x2 + xy + y2 ) dy ) using Green’s
Theorem in the plane, where C is the square with vertices
( 0, 0 ) , (1, 0 ) , (1,1), and ( 0,1), as in Figure 3.11.3.
y
y
( 0, 2) (1, 2)
π
,1
2
( 0, 0) x
( 0, 0) π
, 0
x
2
FIGURE 3.11.1 Exercise 3.11.7. FIGURE 3.11.2 Exercise 3.11.10.
(0, 2,3)
(1, 0,3)
y
( 0,1) (1,1)
y
(1, 2, 0)
( 0, 0) (1, 0) x x
FIGURE 3.11.3 Exercise 3.11.12. FIGURE 3.11.4 Exercise 3.11.18.
3.11.13 Evaluate ∫ ( x + y ) dx + ( 2 x
C
2 2
− y ) dy using Green’s Theorem,
where C is the Boundary of the region determined by the graphs
of y = x2 and y = 4.
3.11.14 Evaluate ∫ e x dx + 2 arctan x dy using Green’s Theorem, where
2
0 ≤ x ≤ 1, 0 ≤ y ≤ 2, 0 ≤ z ≤ 3.
x2 y
3.11.18 Use Gauss’s Theorem to find the flux of the vector field f = 2 xz
yz3
across the surface of the rectangle solid M as in Figure 3.11.4,
where
0 ≤ x ≤ 1, 0 ≤ y ≤ 2, 0≤ z≤3
3.11.19 Use Gauss’s Theorem to find the outward flux of the vec-
4 x
tor field f = y across the region M bounded by the sphere
4 z
x2 + y2 + z2 = 4.
3.11.20 Use Gauss’s Theorem to find the outward flux of the vector
xy2
field f = x2 y across the region M bounded by the cone
6sin x
3.11.21 Use Gauss’s Theorem to find the outward flux of the vector
4 xz
field f = − y2 across the region M of the cube bounded by
yz
=
x 0=
, x 1=
, y 0=
, y 1, z = 0, and z = 1.
3.11.22 Use Gauss’s Theorem to find the outward flux of the vector field
y3 e z
f = − xy across the region M bounded by the coordinate
x tan −1 y
planes=
x 0=
, y 0, z = 0 and the plane x + y + z = 1.
∫∫ ( ∇ × f )
3.11.23 Use Stokes’s Theorem to find n dS for the vector field
S
y
f = − x across the region S, which is paraboloid z = x2 + y2 with
yz
the circle x2 + y2 = 1 and z = 1 as its bounded. x2
3.11.24 Use Stokes’s Theorem to find ∫ f dr for the vector field f = y2
C
z2
A
MAPLE
In This Appendix
M
aple is interactive mathematical and analytical software designed
to perform a wide variety of mathematical calculations as well as
operations on symbolic, numeric entities, and modeling. In this
appendix, we give a general overview of Maple. For more information on
Maple, visit the maple Website: www.maplesoft.com.
Document mode
A.2 Arithmetic
Maple can do arithmetic operations like a calculator. Table A.1 provides
Maple’s common arithmetic operations. To evaluate an arithmetic expres-
sion, type the expression and then press the Enter key.
Maple uses, pi, command to present π and uses, exp (1), command
to present e.
Example A.2.1
(8 + 6)
Calculate 2 5 − + 3 × 9.
4
nn Solution:
Example A.2.2
Simple numerical calculation 5 + −3 .
nn Solution:
Maple also makes simplifications to the expression when you use the
command simplify. For example,
The expand and factor commands are used to expand and factor the
expression respectively. For example,
A.4 Assignments
To assign values to a variable, Maple uses colon equals (:=). For example,
We can solve equations with more than one variable for a specific vari-
able. For example,
Maple can evaluate limits of lim f ( x) by using limit (f(x), x =a); com-
x→ a
A.9 Integration
Maple uses int command to compute integrals. For example,
A.10 Matrix
Maple uses Matrix command to make a matrix. For example,
B
MATLAB
In This Appendix
M
ATLAB has become the useful and dominant tool of technical
professionals around the world. MATLAB is an abbreviation for
Matrix Laboratory. It is a numerical computation and simulation
tool that uses matrices and vectors. Also, MATLAB enables the user to
solve wide analytical problems.
Move, minimize,
Menus change,
Select the title bar for maximize, or close
depending on the tool Get guide
a tool to use that tool workspace, undock
you are using
workplace
View the current Change the
Get help directory current directory
For example,
>> a = 11; b = −3; c = 5;
>> x = 9∗a + c^2 − 2
x=
122
>> y = sqrt(x)/6
y=
1.8409
Table B.3 provides common sample of MATLAB functions. You can
obtain more by typing help in the Command Window (>> help).
For example,
>> 9+3^(log2(4.25))
ans =
18.9077
>> y=5∗cos(pi/4)
y=
3.5355
>> z = exp(y+6)
z=
1.3843e+004
In addition to operating on mathematical functions, MATLAB allows
us to work easily with vectors and matrices. A vector (or one-dimensional
array) is a special matrix (or two-dimensional array) with one row or one
column. Arithmetic operations can apply to matrices and Table B.4 shows
extra common operations that can be implemented to matrices.
TABLE B.4. Matrix Operations
Operations Descriptions
A’' Transpose of matrix A
det (A) Determinant of matrix A
inv (A) Inverse of matrix A
eig (A) Eigenvalues of matrix A
diag (A) Diagonal elements of matrix A
For example,
>> x = [1:0.6:5]
x=
1.0000 1.6000 2.2000 2.8000 3.4000 4.0000 4.6000
Also, a vector can be created with constant spacing by using the com-
mand variable-name = linespace (a, b, m), where a is the first element of the
vector; b is the last element; m is number of elements.
For example,
>> x=linspace(0,4∗pi,6)
x=
0 2.5133 5.0265 7.5398 10.0531 12.5664
Examples using Table B.4:
>> B = [1 2 4; 7 8 9; 3 5 10]
B=
1 2 4
7 8 9
3 5 10
>> D=B^2
D=
27 38 62
90 123 190
68 96 157
>> C= A'
C=
1
2
3
6
5
22
>> E =[4 8;11 25];
>> inv(E)
ans =
2.0833 −0.6667
−0.9167 0.3333
>> det(E)
ans =
12
Special constants can be used in MATLAB. Table B.5 provides special
constants used in MATLAB.
For example,
>> eye(3)
ans =
1 0 0
0 1 0
0 0 1
>> ones(3)
ans =
1 1 1
1 1 1
1 1 1
>> 1/0
ans =
Inf
>> 0/0
ans =
NaN
Arithmetic operations on arrays are done element by element. Table B.6
provides MATLAB common Arithmetic operations on arrays.
For example,
>> A=[−1 2 0; 3 5 7; 8 9 9]
A=
−1 2 0
3 5 7
8 9 9
>> A.∗A
ans =
1 4 0
9 25 49
64 81 81
>> C=[0 1;2 4; 7 8];
>> D=[8 11;10 16;14 18];
>> C./D
ans =
0 0.0909
0.2000 0.2500
0.5000 0.4444
>> C.^2
ans =
0 1
4 16
49 64
B.2 Plotting
MATLAB has nice capability to plotting in two-dimensional and three-
dimensional plots.
For example,
>> x=0:pi/50:2∗pi;%x is a vector, 0 <= x <= 2∗pi, increments of pi/50
>> y=3∗sin(2∗pi∗x);% y is a vector
>> plot(x,y,'--b')%creates the 2D plot with blue and dashed line
Also, we can create a plot for a function y = f(x) using the command plot
by creating a vector of values of x for the domain that the function will be
plotted, then creating y with corresponding values of f(x).
For example,
>> x=[0:0.1:1];
>> y=cos(2∗pi∗x);
>> plot(x,y,'ro:')
In MATLAB several graphs can be plotted at the same plot in two way:
first, using plot command with typing pairs of vectors inside the Plot com-
mand such as Plot(x,y, z, t, u, h), which will create three graphs : y vs. x, t vs.
z, and h vs. u, all in the same plot.
For example, the command to plot the function y = 2 x3 − 15 x + 5, its
first derivative y’ = 6 x2 − 15, and its second derivative y’’ = 12 x, for domain
−3 ≤ x ≤ 6, all in the same plot, is as follows:
>> x=[-3:0.01:6];% vector x with the domain of the function
>> y=2∗x.^3−15∗x+5;% vector y with the function value at each x
>> yd=6∗x.^2−15;% vector yd with the value of the first derivative
>> ydd=12∗x; %vector ydd with the value of the second t derivative
>> plot(x,y,'−r',x,yd,':b',x,ydd,'−−k')
Second, using hold on, hold off commands. The hold on command will
hold the first plotted graph and add to it extra figures for each time the
plot command is typed. The hold off command stops the process of hold on
command.
For example, if we use the previous example, we get the same result
using the following commands:
>> x=[−3:0.01:6];
>> y=2∗x.^3−15∗x+5;
>> yd=6∗x.^2−15;
>> ydd=12∗x;
>> plot(x,y,'-r')
>> hold on % the first graph is created
>> plot(x,yd,':b') % second graph is added to the figure
>> plot(x,ydd,'−−k') % third graph is added to the figure
>> hold off
beside the line sample. The strings in the command are the labels
that are placed next to the line sample and their order corresponds
to the order that the graphs were created. The pos in the command
is an optional number that specifies where in the figure the legend is
placed. Table B.10 shows the options that can be used for pos.
• The command axis is used to change the range and the appearance
of the axes of the plot, based on the minimum and maximum values
of the elements of x and y. Table B.11 shows some common possible
forms of axis command.
• The command grid on is used to add grid lines to the plot and the
HINT
command grid off is used to remove grid lines from the plot.
For example,
>> x=0:pi/30:2∗pi;y1=exp(−2∗x);y2=sin(x∗3);
>> plot(x,y1,'−b',x,y2,'−−r')
>> xlabel('x')
>> ylabel('y1, y2')
To get a lowercase Greek letter, the name of the letter must be typed in
all lowercase. To get a capital Greek letter, the name of the letter must start
with a capital letter.
Second, format the plot using the plot editor interactively in the Figure
window. This can be done by clicking on the plot and/or using the menus as
illustrated in the following figure.
Click on the arrow to start the plot edit mode, and then double
click on an item, a window will open to format the item
Plot title
Legend
Click on the
Y axis label object and
dragging it in
order to change
position of labels,
legends and other
X axis label objects
MATLAB can use logarithm scaling for two-dimensional plot. Table B.13
shows MATLAB commands for logarithm scaling.
Also, MATLAB can make plots with special graphics as in Table B.14.
For example,
>> t=[0:pi/60:2∗pi];
>> r=3+2∗cos(t);
>> polar(t,r,'r.')
Another example,
> t = −5:0.1:5;
>> x = (3+t.^2).∗sin(50∗t);
>> y = (3+t.^2).∗cos(50∗t);
>> z = 5∗t;
>> plot3(x,y,z,'g')
>> grid on
>> xlabel('x(t)'),ylabel('y(t)'),zlabel('z(t)')
>> title('plot3 example')
For example,
>> x=(−6:0.1:6);y=(−6:0.1:6);[X,Y]=meshgrid(x,y);
>> Z=sin(X.^2+Y.^2).∗exp(−0.6∗(X.^2+Y.^2));
>> meshz(X,Y,Z)
>> xlabel('X')
>> ylabel('Y')
>> zlabel('Z=sin(X.^2+Y.^2).∗exp(-0.6∗(X.^2+Y.^2))')
>> x=(−6:0.1:6);y=(−6:0.1:6);[X,Y]=meshgrid(x,y);
>> Z=sin(X.^2+Y.^2).∗exp(−0.6∗(X.^2+Y.^2));
>> meshc(X,Y,Z)
>> zlabel('Z=sin(X.^2+Y.^2).∗exp(−0.6∗(X.^2+Y.^2))')
>> ylabel('Y')
>> xlabel('X')
We typed nano1 in the Command Window, then hit enter to obtain the
following figure.
MATLAB uses flow control through its programs. To allow flow con-
trol in a program certain rational and logical operators are essential. These
operators are shown in Tables B.17 and B.18.
TABLE B.17 Rational Operators
Rational Operators Description
< Less than
> Greater than
<= Less than or equal
>= Greater than or equal
== Equal
~= Not equal
There are four kind of statements used in MATLAB to control the flow
through the user code. They are for loops, while loops, if, else, and elseif
constructions, and switch constructions.
The increment can be omitted, but MATLAB will assume the incre-
ment is 1. Also, the increment can be positive or negative. For example,
>> for n=1:7
x(n)=sin(n∗pi/10)
end
x = 0.3090 0.5878 0.8090 0.9511 1.0000 0.9511 0.8090
The general form of a for loop is:
for x = array
commands…
end
For example,
>> m =[1 5 8; 10 17 22]
m=
1 5 8
10 17 22
>> for n = m
x=n(1)−n(2)
end
x=
−9
x=
−12
x=
−14
while expression
commands…
end
For example,
>> n=100;
>> x=[];
>> while (n>0)
n=n/2−1;
x=[x,n];
end
>> x
x=
49.0000 23.5000 10.7500 4.3750 1.1875 -0.4063
B.3.3 If, Else, and Elseif
The form of an if statement is:
if expression
statements
end
end
ans =
2.9957
The optional elseif and else keywords provide for the execution of alter-
nate groups of statements.
The if and else can be presented as:
if condition
statements
else
statements
end
if condition 1
statements
elseif condition 2
statements
else condition 3
statements
end
B.3.4 Switch
The switch statement executes groups of statements based on the value
of a variable or expression. The basic form of a switch statement is:
switch expression
case results 1
statements
case results 2
statements
.
.
.
otherwise
statements
end
statements can be done for different cases by enclosing the several results
in braces. For example,
>> x= 9;
>> switch x
case 1
disp('x is 1')
case {7, 8, 9}
disp('x is 7, 8, and 9')
case 12
disp('x is 12')
otherwise
disp('x is not, 1, 7, 8, 9 and 12')
end
x is 7, 8, and 9
Considering the following tips can be helpful in working with MATLAB:
compute with math symbols rather than numbers. This process is called
symbolic math. Table B.19 shows some common Symbolic commands. You
can practice some symbolic expressions in the following section.
>> y=8∗sin(x)∗exp(x);
>> diff(y)
ans =
8∗cos(x)∗exp(x)+8∗sin(x)∗exp(x)
>> diff(diff(y))% second derivative of y
ans =
16∗cos(x)∗exp(x)
ans =
1 − x + 1/2 ∗x^2 − 1/6 ∗x^3 + 1/24 ∗x^4
>> f=exp(x);
>> taylor(f,3)
ans =
1 + x + ½∗ x^2
>> x=f.x
x=
13/17
>> y=f.y
y=
-7/34
>> syms x;
>> solve (x^3-6∗x^2+11∗x-6)
ans =
1
2
3
Use dsolve ( ) function to solve symbolic differential equations. For
example,
>> syms x y t;
>> dsolve('Dy+3∗y=8') % solve y / + 3 y = 8
ans =
8/3 −C1 +exp(−3 t) % C1 is undetermined constant
tion y(0) = 1
ans =
tan(t + 1/4 pi)
1.1.1
1. Scalar
3. Vector
5. Scalar
7. Vector
9. Scalar
11. Scalar
13. Scalar
1.1.3
−3
u + v =
1
1
u − v =
9
−2
2u =
10
1.1.5
1.
a
a+ b
b
r r
3. b + c
r r
c
b
1.1.7
Since ABCD is parallelogram, AD = BC. Hence,
AC + BD = AD + BC = 2BC.
1.1.9
MA + 3MB = 3MI + MI + IA + 3IB
= 4MI + IA + 3IB
= 4MI,
and
3MA + MB = 3MJ + 3JA + MJ + JB
= 4MJ + 3 JA + JB
= 4MJ.
1.1.11
4 3
1. α = , β = .
7 7
1.1.13
Since u and v are non-collinear, we have by Exercises 1.1.11, x + y = 1 and
1
y − x = 0, i.e., x= y= where E is the midpoint of both diagonals.
2
1.2.1
1. a ib =7
3. a ib =28
1.2.3
1. 60 o.
3. 90 o.
1.2.5
( )( )
Compute a + b i a − b = a2 − b2 = 0, since a = b.
1.2.7
a ib = − 675 + 675 = 0.
1.2.9
2 2
a+b = a−b ⇔ a+b = a−b
2 2
() () () ()
2 2
⇔ a + 2a i b + b = a − 2a i b + b
⇔ 4a i b = 0
⇔ a ib = 0
1.2.11
( )
a ib b ( )
2
a ib b
cib = a − 2 ib = a ib −
( ) 2 ( ) ( )
= a ib − a ib = 0
b b
1.2.13
Since a ib = 0, we have
2
(
a+b = a+b i a+b )( )
= a ia + 2 a i b + b i b
2 2
= a + b
1.2.15
a − b = 0, i.e., a = b.
1.2.17
1 1
m • m = 0 ⇔ 1 + m1 m2 = 0 ⇔ m1 m2 = −1.
1 2
1.2.19
v − v i w viw
2 w i w = v i w − 2 wiw
w w
viw 2
= viw − 2 w
w
= 0.
1.3.1
Since
1 3 a ⋅ 1 b ⋅ 3 3 b + a
a + b = + = , we get the vector equation
0 1 a ⋅ 0 b ⋅ 1 b
3 b + a 7
b = 3 . The solution of this system is given by a = −2 and b = 3.
7 1 3
Thus, we can write = ( −2 ) + 3 .
3 0 1
1.3.3
Plainly,
a b − a −1 a + b 1
b = + .
2 1 2 1
1.3.5
1 0 0 1
=
if a + b = , then a 0=
and b 0 . Thus the vectors x =
0 1 0 0
0
and y = are linearly independent.
1
1.3.7
2 a + b + 8 c 0
a + 2 b + 7 c = 0 . This vector equation can be written as a system
2a + b + 8c = 0
a + 2 b + 7 c = 0,
1.3.9
Suppose that vectors x and y are linearly dependent, i.e.,
a x + by = 0,
b
where a and b are not both zero. If a ≠ 0, then x = − y, and if b ≠ 0, then
a
a
y = − x ; either case, the vectors are parallel. Conversely, if x and y are
b
=
parallel, then either x c=y or y c x. In the first case, 1 ⋅ x + ( − c ) y = 0; in
the second case, cx + ( −1 ) y = 0; in either case, the pair is linearly
dependent.
1.3.11
1. k = −7.
1.4.1
1
a = −3, b = −
2
1.4.3
a b
c − a , bc = − a
2
1.4.5
1 2 3 1 1 2 1 1 2
L + = L = and L + L = + = . Thus L is
1 2 3 2 1 2 2 2 4
not linear.
1.4.7
x x
We show that L preserves addition. Let 1 and 2 be elements of 2.
y1 y2
Then
x x x + x2
L 1 + 2 = L 1
y1 y2 y1 + y2
x + x2 − y1 − y2
= 1
3 x1 + 3 x2
x − y1 x2 − y2
= 1 +
3 x1 3 x2
x x
= L 1 + L 2
y1 y2
Thus L preserves vector addition.
1.4.11
The desired transformations are shown in Figures C.6 and C.9.
1.4.13
−1 0 −3
RH = ,
0 1 2
1.4.15
0 −1 0
The rotation through π / 2 about the point (5,1) is 1 0 0 .
0 0 1
The image of the unit square under this rotation is (6, −3), (5, −3),
(5, −4), and (6, −4).
1.4.17
27
1. L2 L1 =
−11
1.5.1
1. −9.
1.5.3
1
1.5.5
det(kA) = k2 det( A)
1.5.7
= =
det( AB) det( =
A)det(B) det(B)det( A) det(BA)
1.5.9
− b c a c .
r3 = i = − bc + ad = det
a d b d
Since the dot product of two vectors is positive if the angle between them
is less than π / 2, the determinant is positive if the angle between r2 and
r3 is less than π / 2. Thus r2 lies counterclockwise from r1 .
1.6.1
3
y- x y- x y- x
We have y=
- x 4=
t t and so x = - 2 is the Cartesian
4 4 4
equation sought.
1.6.3
1. ay − cx = ad − bc, this is a straight line with positive slope.
x 2 y2
3. − = 1, x > 0. This is one branch of a hyperbola.
a2 b2
1.6.5
Observe that y = 2 x + 1, so the trace is part of this line. Since in the interval
[0; 4π ] , −1 ≤ sin t ≤ 1 , we want the portion of the line y = 2 x + 1 with
−1 ≤ x ≤ 1 (and, thus −1 ≤ y ≤ 3 ). The curve starts at the middle point ( 0, 1 )
π
(at t = 0), reaches the high point (1, 3 ) at t = , reaches its low point
2
3π 5π
( −1,1) at t = , reaches its high point (1, 3 ) again at t = , it goes to its
2 2
7π
low point ( −1, 1 ) at t = , and finishes in the middle point ( 0, 1 ) when
2
t = 4π .
1.6.7
2
5
1.6.9
1
1.6.11
2
3
1.6.13
To calculate the arc length S of the cycloid for
x = ρ ( t − sin t ) , y = ρ (1 − cos t ) , t ∈ [ 0; 2π ]
8ρ
1.6.15
gt 2
x = Vt cos a; y = Vt sin a − ,
2
gt 2
u = Vt cos a; h = Vt sin a − ,
2
g2 t 4
+ ( gh − V 2 ) t 2 + h2 + u2 = 0.
2
4
( gh − V 2 ) ≥ g 2 ( h2 + u2 ) ⇒ g 2 u2 ≤ V 2 ( V 2 − 2 gh ) .
2
1.7.1
22
1.7.3
( x − 1) − 2 ( y − 1) − ( z − 1) = 0.
1.7.5
4π
abc + 2 ( ab + bc + ca ) + π ( a + b + c ) + .
3
1.7.7
x 0 a
2
y = 0 + t a , t ∈ .
z 1 a2
1.7.9
3
3
1.7.11
=
x1 y1 + x2 y2 + x3 y3 ≤ x12 + x22 + x32 y12 + y22 + y32 . Now take x1 a=
2
, x2 b2 , x3 = c2
=
x1 a=
2
, x2 b2 , x3 = c2 and y=
1
y=
2
y3 = 1.
1.7.13
x + y + z = 1.
1
.
6
1.7.15
proj
r0 − b
=
( r − b )in n = ( r − b )in ⋅
0 0
n 2
n n
projnr0 −b
=
r0 in − bin a in − bin
= =
a − b in
.
( )
n n n
1.8.1
( ) ( )
a − b × a + b = a × a + a × b − b × a + b × b = 2a × b
1.8.3
−i − k
1.8.5
2 ax + 3 a2 y − az = a2
1.8.7
( )
a × b × c = ( a i c ) b − ( a i c ) c,
( ) ( )
b × ( c × a ) = bia c − bi c a,
( ) ( )
c × a × b = c ib a − ( c ia ) b.
1.8.9
{
x : x∈ a×b . }
1.8.11
a1 a2 a3
( )
a i b × c = det b1 b2
b3 = 0 if and only if the row vectors a, b, and c
c1 c2 c3
are linearly independent, i.e., if and only if one vector lies in the plane of
the other two vectors.
1.8.13
( ) ( ) (( a × b ) × c )id.
a×b i c×d =
( ) ( a × b ) = − (( cib ) a − ( cia ) b ) = ( cia ) b − ( cib ) a.
a × b × c = −c ×
(( ) ) (( cia ) b − ( cib ) a )id = ( cia ) ( bid ) − ( cib ) ( aid ).
a × b × c id =
1.8.15
12
1. 18
24
3. x = 6 t, y = 0, z = 3 − 3 t.
5. 3 29
33
7. 29
16
1.9.1
1 1 5
1. A + B = −1 3 2 .
1 9 1
0 7 −9
3. AB = −2 4 0
−1 16 −7
1.9.3
First, we will prove that
1 2 3 4 n −1 n
0 1 2 3 n − 2 n − 1
A2 = 0 0 1 2 n − 3 n − 2 .
0 0 0 0 0 1
Observe that A = aij , where aij = 1 for i ≤ j and aij = 0 for i > j. Put
n j
A2 = bij . Assume first that i ≤ j. Then bij = ∑ aik akj = ∑ 1 = j − i + 1.
k =1 k= i
n n
Assume now that i > j. Then bij = ∑ aik akj = ∑ 0 = 0, proving the first
k =1 k= i
( n − 1) n n ( n + 1)
1 3 6 10
2 2
( n − 2 ) ( n − 1) ( n − 1) n
0 1 3 6 2 2
A
2
= .
0 0 1 3 ( n − 3 )( n − 2) ( n − 2 ) ( n − 1)
2 2
0 0 0 0 0 1
For the second part, you need to know how to sum arithmetic progression.
In our case, we need to know how to sum (assume i ≤ j),
j j
S1 = ∑ a, S2 = ∑ k. The first sum is trivial: there are j − i + 1 integers in
k= i k= i
summing the sum forwards is the same as summing the sum backwards,
and so, adding the first two rows below.
S2 = i + i + 1 + i + 2 + + j −1 + j
S2 = i + j −1 + j + 2 + + i −1 + i
2S2 = ( i + j ) + ( i + j) + ( i + j) + + ( i + j) + ( i + j)
2S2 = ( i + j ) ( j − i + 1)
Which gives S2 =
( i + j ) ( j − i + 1) ⋅ Put now A3 = cij . Assume first that
2
i ≤ j. since A3 = A2 A.
n
cij = ∑ bik akj
k=1
j
= ∑ ( k − i + 1)
k= i
j j j
= ∑ k − ∑ i + ∑1
k= i k= i k= i
=
( j + i ) ( j − i + 1) − i ( j − i + 1) + ( j − i + 1)
2
MVC_Musa_CH06_Appendix C.indd 354 12/9/2014 3:03:53 PM
n
cij = ∑ bik akj
k=1
Appendix C: Answers to Odd-Numbered Exercises • 355
j
= ∑ ( k − i + 1)
k= i
j j j
= ∑ k − ∑ i + ∑1
k= i k= i k= i
=
( j + i ) ( j − i + 1)
− i ( j − i + 1) + ( j − i + 1)
2
=
( j − i + 1) ( j − i + 2 ) .
2
n n
Assume now that i > j. Then cij = ∑ bik akj = ∑ 0 = 0. This finishes the
k =1 k =1
proof.
1.9.5
1 −1 0
.
1 0 1
0 1 −1
1.9.7
0 0 0 0
,
0 1 0 4
0 0 0 0
1.9.9
x1 α x1 1 x1 1 α
Not linear, because L α x2 = L α x2 = α x2 ,but α L x2 = α x2 = α x2
x α x α x x x α x
3 3 3 3 3 3
x1 α x1 1 x1 1 α
L α x2 = L α x2 = α x2 ,but α L x2 = α x2 = α x2 .
x α x α x x x α x
3 3 3 3 3 3
1.9.11
1 0 0
0 −1 0
0 0 1
1.10.1
−10.
1.10.3
aef
1.10.5
d=2
1.10.7
− t 4 − t 3 + 18 t 2 + 9 t − 21
1.10.9
−5.
1.10.11
3 abc − a3 − b3 − c3
1.10.13
λ = −1 , and 1
1.11.1
a π
, ⋅
2 4
rh
To find the volume, we gyrate the whole right triangle, whose area is .
2
We need to find the centroid of the triangle. But from Example 1.1.9, we
know that the centroid G of the triangle is two thirds of the way from A
to the midpoint of BC. If G′ is the perpendicular projection of G onto
h 2 h
[CA], then this means that G′ × = . By simi-
is at a vertical height of
2 3 3
GG′ h / 3 r
lar triangles = ⇒ GG′ = . Hence, the length of the curve
r h 3
2
described by the center of gravity of the triangle is π r . The volume of
3
2 rh π 2
the cone is thus π r × = r h.
3 2 3
1.12.3
1
Area = π r 2
2
4
Volume = π r 3
3
1.12.5
A = 11309.7 m 2
V = 113097.3 m 3
1.13.1
1. Tetrahedron
3. Octahedron
5. Icosahedron
1.13.3
θ cos (π / n )
sin = ⋅
2 sin (π / m )
1.14.1
Find a vector a mutually perpendicular to V1 V2 and V1 V3 and another
vector and a vector b mutually perpendicular to V1 V3 and V1 V4 . Then
1
show that cosθ = , where θ is the angle between a and b.
3
1.14.3
1 a
V = × ( 6 a2 ) × = a3 .
3 2
1.14.5
1
V=
a3
4
( )
25 + 10 5 × 10 + 22
5
V=
a3
4
(
15 + 7 5 ⋅ )
1.15 Canonical Surfaces
1.15.1
1
x 2 + y2 = 1 − z2 ,
2
or
4 x2 + 4 y2 + z2 = 1.
1.15.3
A spiral staircase.
1.15.5
The MapleTM commands to graph this surface are:
1.15.7
Rearranging
( x 2 + y2 + z 2 )
1
2
2
(
( x + y + z ) − ( x2 + y2 + z2 ) − 1 = 0,
−
2
)
we may take A : x + y + z = 0, Σ : x2 + y2 + z2 = 0, showing that the surface
is of revolution. Its axis is the line in the direction i + j + k.
1.15.9
Rearranging
( x + y + z ) − ( x2 + y2 + z2 ) + 2 ( x + y + z ) + 2 = 0,
2
1.15.11
To show that circular cross section of radius b actually exist, one may
verify that the two planes given by a2 ( b2 − c2 ) z2 = c2 ( a2 − b2 ) x2 give cir-
cular cross sections of radius b.
1.16.1
The arc length element is ( 2 t + 9 ) dt. We need t = 1 to t = 4. The desired
length is 42.
1.16.3
Let r(t) lie on the plane ax + by + cz = d. Then, we must have
t4 t3 t2
a + b + c = d ⇒ ( at 4 + bt 3 + ct 2 ) = d (1 + t 2 )
1 + t2 1 + t2 1 + t2
⇒ at 4 + bt 3 + ( c − d ) t 2 − d = 0,
which means that if r(t) is on the plane ax + by + cz = d, then t must
satisfy the quadratic polynomial p(t) = at 4 + bt 3 + (c − d)t 2 − d = 0. Hence,
the t kare coplanar if and only if they are roots of p(t). Since the coefficient
of t in this polynomial is 0, then the sum of the roots of p(t) taken three
at a time is 0, that is,
t1 t2 t3 + t1 t2 t 4 + t1 t3 t 4 + t2 t3 t 4
t1 t2 t3 + t1 t2 t 4 + t1 t3 t 4 + t2 t3 t 4 = 0 ⇒ =0
t1 t2 t3 t 4
1 1 1 1
⇒ + + + = 0,
t1 t2 t3 t 4
as required.
1.16.5
You can parameterize the cylinder y2 + z2 = 16 by y = 4 cos t and z = 4sin t.
From the equation, x = 8 − y2 − z, you obtain that x = 8 − 16 cos2 t − 4 sin t .
1.17.1
1. Put f : → , f ( x ) = e x −1 − x. Clearly f (1 ) = e0 − 1 = 0. Now,
f ′ ( x ) = e x−1 − 1,
f ′′ ( x ) = e x−1 .
0 = f (1 ) ≤ f ( x ) = e x −1 − x,
1.17.3
By CBS,
( a + b + c + d )2 ≤ (1 + 1 + 1 + 1 ) ( a2 + b2 + c2 + d 2 ) = 4 ( a2 + b2 + c2 + d 2 ) .
Hence,
16
( 8 − e )2 ≤ 4 (16 − e2 ) ⇔ e ( 5e − 16 ) ≤ 0 ⇔ 0 ≤ e ≤ .
5
16 6
The maximum value e = is reached when a = b = c = d = ⋅
5 5
1.17.5
Applying the AM-GM inequality, for 1, 2,, n:
1 + 2 + + n n + 1
n!1 / n = (1.2… n )
1/ n
< = ,
n 2
With strict inequality for n > 1.
Chapter 2
3. Open in 2.
5. Open in 2.
7. Open in 2.
9. Open in 2 .
11. Open in 2.
13. Closed in 2.
15. Open in 2.
17. Closed in 2.
19. Closed in 2.
21. Closed in 2 .
2.1.3
1. Open in 3.
5. Closed ball in 3.
7. Closed in 3.
9. Closed in 3.
11. Closed in 3.
13. Open in 3.
15. Open in 3.
2.1.5
Since P ∈ S1, which is an open set, P is an interior point of S1 and there is
some open ball with center P, which contains only points in S1. Hence, P
is also an interior of S1 ∪ S2 and thus this set is an open set.
2.1.7
1. V is closed set.
7. F is closed set.
9. K is closed set.
2.2.1
1.
3.
5.
7.
9.
11.
Or
In 3D
Or
Or
13.
In 3D
15.
In 3D
2.2.3
1. Shift g ( x, y ) upward 2 units.
2.3.3
1
FIGURE 2.3.9 Exercise 2.3.2 for ( x , y )
x2 + y2 .
2.3.5
0
2.3.7
0
2.3.9
1
3
2.3.11
Does not exist
2.3.13
x3 y
Show that ≤ xy for ( x, y ) ≠ ( 0, 0 ). So the limit is 0.
( x 2 + y2 )
2.3.15
x2 1 ; 0 .
lim f ( x, x) = lim 2 = lim f ( x, 0) = lim 2 =0
x →0 x + x2 x +0
x →0
2 x → 0 x → 0
2.3.17
x 2 − y2 x 2 − y2
Since lim lim 2 = 1, and lim lim = −1.
x → 0 y → 0 x + y2 y → 0 x → 0 x 2 + y2
Thus the iterated limits are not equal and therefore, lim g( x, y), does
( x , y ) →( 0 ,0 )
not exist. Hence, g( x, y) is discontinuous at ( 0, 0 ).
2.3.19
c=0
2.4.1
( )
()
F x + h − F (x) = x × L h + h × L(x) + h × L h ()
Now, we will prove that
() ( )
h × L h = o h as h → 0.
let
n
h = ∑ hk L ( ek ) ,
k =1
where the ek are the standard basis for n. Then
()
n
L h = ∑ hk L ( ek ) ,
k =1
()
n
L h ≤ ∑ hk L ( eK )
k =1
n 2
1/2
= h ∑ L ( ek ) ,
k =1
hence,
( ) ( ( h ) ),
() ()
1/2
L ( ek )
2 2
h×L h ≤ h L h ≤ h =o
2.5.1
f x ( x, y ) = 3 ( x3 − y2 ) ( 3 x2 )
1.
f y ( x, y ) = 3 ( x3 − y2 ) ( −2 y )
3 y ( y2 − x 2 )
f x ( x, y ) =
( x 2 + y2 )
2
3.
3 x ( x 2 − y2 )
f y ( x, y ) =
( x 2 + y2 )
2
2.5.3
∂f 2 ( z2 + x2 ) xy2
= 2 x log ( x2 y2 + 1 ) +
∂x x2 y2 + 1
∂f 2 ( z2 + x2 ) x2 y
=
∂y x 2 y2 + 1
∂f
= 2 z log ( x2 y2 + 1 )
∂z
2.5.5
∂ 1 if x > y2
f ( x, y ) =
∂x 0 if x < y
2
and
∂ 0 if x > y2
f ( x, y ) =
∂x 2 y if x < y
2
2.5.7
∂w y
= ( 3 u2 + 2 uv ) ( y cos xy ) + ( u2 − 3 ) ;
∂x x
∂w
= ( 3 u2 + 2 uv ) ( x cos xy ) + ( u2 − 3 ) ln x
∂y
2.5.9
J ( r ,θ ) = r
2.5.13
v2 − u 2 −2 uv
v2 + u 2 2
( ) ( v + u )
2 2 2
f ′ ( u, v ) =
−2 uv u 2 − v2
2 2
( v + u2 ) ( u2 − v2 )
2
−1
J ( u, v ) = ⋅
(u + v2 )
2 2
2.5.15
1
2.5.17
6t2 + 6t 5
2.5.19
Differentiating both sides with respect to the parameter a, the integral is
1 b b .
arctan + 2 2
2a 3
a 2 a ( a + b2 )
2.6.7
2 xe y zy2 e xz
2 y
∇f ( x, y, z ) = x e , ∇k ( x, y, z ) = 2 ye xz ,
0 xy2 e xz
2 xy2 e y+ xz + x2 y2 ze y+ xz
∇ ( fk ) = 2 x2 ye y+ xz + x2 y2 e y+ xz
x3 y2 e y+ xz
zy2 e xz 2 xe y
f ∇k + k∇f = x2 e y 2 ye xz + y2 e xz x2 e y
xy2 e xz 0
2.6.9
f ( x, y ) ≈ f ( 0, 0 ) + f x ( 0, 0 ) ( x − 0 ) + f y ( 0, 0 ) ( y − 0 ) ⇒ f ( x, y ) ≈ 1 + x.
This gives
f ( 0.1, −0.2 ) ≈ 1 + 0.1 = 1.1.
2.6.11
Consider an arbitrary unit vector u. Then the directional derivative
satisfies
∂f
= ∇f i u = ∇f u cosθ = ∇f cosθ ,
∂u
∂f
where θ is the angle between ∇f and u . Consequently, − ∇f ≤ ≤ ∇f
∂u
∂ f
Thus is the largest, when θ = 0 (i.e., same direction of ∇f ), and the
∂u
smallest when θ = π (i.e., opposite direction of ∇f ).
2.6.13
−2 −2
∇f ( x, y ) = 2 y ( x + y ) i − 2 x ( x + y ) j
∇f ( 2, −1 ) = −2 i − 4 j
u = (1 / 5 ) ( 3 i + 4j ) ;
Dv f ( −2,1 ) = −6 / 5 − 16 / 5 = −22 / 5.
2.6.15
1
y
3
− x 1 1 1
f ( x, y, z) = 2 − ; ∇f ( 0, −1, 2 ) = − i − j − k ; P1 P2 = 2 ,
y z 2 4
−6
y
z2
P1 P2 ( −6 − 2 + 3 ) −5
u= . DPP f ( 0, −1, 2 ) = = . The maximal direction is
7 1 2 14 14
21
∇f ( 0, −1, 2 ) ; maximum rate is ∇f ( 0, −1, 2 ) = .
4
2.6.17
1.
∂ ∂ ∂
( )
∇i φ U = (φ U1 ) + (φ U2 ) + (φ U3 )
∂x ∂y ∂z
∂φ ∂φ ∂φ ∂U ∂U2 ∂U3
= U1 + U2 + U3 + φ 1 + φ +φ
∂x ∂y ∂z ∂x ∂y ∂z
= ∇φ iU + φ∇iU
3.
∂ ∂ ∂
( ∂x
)
∇i U × V = ( U2 V3 − U3 V2 ) + ( U3 V1 − U1 V3 ) + ( U1 V2 − U2 V1 )
∂y ∂z
∂U ∂U ∂U ∂U ∂U ∂U
= V1 3 − 2 + V2 1 − 3 + V3 2 − 1
∂y ∂z ∂z ∂x ∂x ∂y
∂V ∂V ∂V ∂V ∂V ∂V
− U1 3 − 2 + U2 1 − 3 + U3 2 − 1
∂y ∂z ∂z ∂x ∂x ∂y
= V i∇ × U − Ui∇ × V
2.6.19
Parallel planes have proportional gradients. Therefore, if F ( x, y, z ) = x2 − 2 y2 − 4 z2 − 16
2x
F ( x, y, z ) = x2 − 2 y2 − 4 z2 − 16 and G ( x, y, z ) = 4 x − 2 y + 4 z − 5, then ∇F ( x, y, z ) = −4 y
−8 z
4
and G ( x, y, z ) = −2 must be proportional, i.e.,
4
k −k
2 x = 4 k, −4 y = −2 k, −8 z = 4 k, ⇒ x = 2 k, y = , z =
2 2
k
2
k
2
4 2
⇒ 4 k2 − 2 − 4 = 16 ⇒ k = ± ⋅
4 4 5
8 2 2 2 2 2
Thus, the points are ( x, y, z ) = ± ,± , , .
5 5 5
2.6.21
−2 x 2
∇f ( x, y ) = ; ∇f ( −1, 2 ) = ;
−2 y −4
− ∇f ( −1, 2 ) = − 4 + 16 = − 200 = −2 5
−2 −1
Thus, the v direction is 2 5 = 5 .
−4 2
−2 5 5
2.6.23
−6 x
( )
∇ ∇i f − ∇ f = 0 = ∇ × ∇ × f
2
( )
6 z − 1
2.7.1
( ) ( )
ε ijk x j (ε klm yl zm ) = ε ijkε klm yl zm = x j z j yi − x j y j zi
2.7.3
∇i( ∇ × u ) = ∂ iε ijk∂ j uk
= ε ijk∂ i∂ j uk
= −ε jik∂ i∂ j uk
= −ε jik∂ j∂ i uk
= −ε jik∂ i∂ j uk
= 0.
2.7.5
v v
(
va ∂ a ∂ b = ∂ b a a + ε bac ε adf ∂ d v f vc
2
)
1
2
1
= va ∂ b va + ( ∂ b va ) va − ε abc ε adf ∂ d v f vc
2
( )
(
= va ∂ b va − ε abcε adf )(∂ v ) v
d f c
= va ∂ b va − (δ bd
δ cf − δ δ )(∂ v ) v
bf cd d f c
= va ∂ b va − ( ∂ b va ) vc + ( ∂ c vb ) vc
= va ∂ b va − va ( ∂ b va ) + va ( ∂ a vb )
= va ∂ a vb
2.8 Extrema
2.8.1
There is one critical point (1, 1 ).
2.8.3
The principle minors are 8 z − 8; −4 and 8. At z = 1 / 2, the matrix is nega-
tive definite and the critical point is thus a saddle point.
2.8.5
1 1 1
1, −1, and −1, 1, − 2 are the critical points. Now, 1, −1, is a sad-
2 2
1
dle point. −1, 1, − is also a saddle point.
2
2.8.7
As x → 0 + then f ( x, x, x ) > 0 and f ( x, − x, x ) < 0, which means that in
some neighborhood of ( 0, 0, 0 ) is a saddle point.
2.8.9
∂f ∂f
( 0, 0 ) = g ( 0 ) = ( 0, 0 ) = 0,
∂x ∂y
− g′ ( 0 ) 0
Hf ( 0, 0 ) = ,
0 − g′ ( 0 )
Regardless of the sign of, g ′ ( 0 ) the determinant of this last matrix is
2.8.11
f (18 / 13, −14 / 13 ) is not extremum.
2.8.13
f (1, 3 / 2 ) = 37 / 4 is a local maximum.
2.8.15
The normal above a critical point for g is ( 0, 0, 1 ), which is a vertical vec-
tor. Thus, the tangent plane is horizontal at any critical point.
2.8.17
3 3 3 3
Maximum = , minimum = −
4 4
2.8.19
4 A2
Minimum =
L1 + L2 + L3
2.9.1
The maximum volume is
( S)
3
abc = .
( 6)
3
The previous result can be simply obtained by using the AM-GM inequality:
S 2 ab + 2 bc + 2 ca S3 / 2
≥ ( ( 2 ab )( 2 bc )( 2 ca ) ) = 2 ( abc ) ⇒ abc ≤ 3 / 2 ⋅
1/3 2/3
=
3 3 6
Equality happens if
S
2 ab = 2 bc = 2 ca ⇒ a = b = c = ⋅
6
2.9.3
Using CBS,
1/ 4
x + 3 y x 4 + 81 y4 361 / 4
≤ = ⇒ x + 3 y ≤ 23 / 4 6 = 25 / 4 3.
2 2 21 / 4
2.9.5
The desired maximum is thus
(
f − 2, 2 = f ) ( 2, − 2 = 4 )
and the minimum is
( ) (
f 1 / 2 , 1 / 2 = f −1 / 2 , −1 / 2 = 1. )
2.9.7
12 14
The first point gives an absolute maximum of 18 + and the second
7
12 14
an absolute minimum of 18 − .
7
2.9.9
(0, 2 , 1) yields a maximum and that (0, − 2 , 1) yields a minimum.
2.9.11
a b
a b −1
f ( x, y ) = x y e
a b −( x + y)
≤ x y e ≤
a b −1
e .
a+ b a+ b
2.9.13
k1 k2 k3
The maximum = .
27
Chapter 3
3.1.1
1. 0-forms → C. Functions forms
3.1.3
dω = d ( xy ) ∧ dx − d ( xy ) ∧ dy + d ( xy2 z2 ) ∧ dz
= ( ydx + xdy ) ∧ dx − ( ydx + xdy ) ∧ dy
+ ( y2 z3 dx + 2 xyz3 dy + 3 xy2 z2 dz ) ∧ dz
= y dx ∧ dx + xdy ∧ dx − ydx ∧ dy − x dy ∧ dy
+ y2 z3 dx ∧ dz + 2 xyz3 dy ∧ dz + 3 xy2 z2 dz ∧ dz
= xdy ∧ dx − ydx ∧ dy + y2 z3 dx ∧ dz + 2 xyz3 dy ∧ dz
= −dx ∧ dy − ydx ∧ dy + y2 z3 dx ∧ dz + 2xxyz3 dy ∧ dz
= ( − x − y ) dx ∧ dy + y2 z3 dx ∧ dz + 2 xyz3 dy ∧ dz
3.1.5
From dx = cosθ dr − r sin θ dθ and dy = sin θ dr + r cosθ dθ , we obtain
dx ∧ dy = cosθ ⋅ r cosθ dr ∧ dθ − r sin θ ⋅ sin θ dθ ∧ dr
= r cos2 θ dr ∧ dθ + r sin 2 θ dr ∧ dθ = rdr + dθ
Note that, dr ∧ dr = 0 and dθ ∧ dθ = 0.
3.1.7
dω = df ∧ x + dg ∧ y + dh ∧ z
∂f ∂f ∂f
= dx ∧ dx + dy ∧ dx + dz ∧ dx
∂x ∂y ∂z
∂g ∂g ∂g
+ dx ∧ dy + dy ∧ dy + dz ∧ dy
∂x ∂y ∂z
∂h ∂h ∂h
+ dx ∧ dz + dy ∧ dz + dz ∧ dz
∂x ∂y ∂z
∂h ∂g ∂f ∂h ∂g ∂f
= − dy ∧ dz − − dx ∧ dz + − dx ∧ dy
∂y ∂z ∂z ∂x ∂x ∂yy
MVC_Musa_CH06_Appendix C.indd 383 12/9/2014 3:04:20 PM
dω = df ∧ x + dg ∧ y + dh ∧ z
∂f ∂f ∂f
= dx ∧ dx + dy ∧ dx + dz ∧ dx
∂x ∂y ∂z
384 • Multivariable and Vector Calculus
∂g ∂g ∂g
+ dx ∧ dy + dy ∧ dy + dz ∧ dy
∂x ∂y ∂z
∂h ∂h ∂h
+ dx ∧ dz + dy ∧ dz + dz ∧ dz
∂x ∂y ∂z
∂h ∂g ∂f ∂h ∂g ∂f
= − dy ∧ dz − − dx ∧ dz + − dx ∧ dy
∂y ∂z ∂z ∂x ∂x ∂yy
3.1.9
dω = d ( x + z2 ) ∧ dx ∧ dy = dx ∧ dx ∧ dy + 2 zdz ∧ dx ∧ dy
= 2 zdz ∧ dx ∧ dy = −2 zdx ∧ dz ∧ dy \
= 2 zdx ∧ dy ∧ dz.
3.2 Zero-Manifolds
3.2.1
−12.
3.2.3
−44.
3.2.5
−14.
3.2.7
4.
3.3 One-Manifolds
3.3.1
0
3.3.3
0
3.3.5
8
3.3.7
π
4 3 − 8 + 16 sin
5
3.3.9
To solve the Exercise 3.3.7 using Maple, you may use the following code.
3π 3π
Maple gives 16 cos rather than our 16 sin . To check that these two
10 10
are indeed the same, use the code
3.3.11
13
3
3.4.1
1. True
3.4.3
exact.
3.4.5
Let w1 = Adxdy + Bdxdz + Cdydz. Since dw1 = 0, it follows that Bw = 0 and
Cw = 0. B and C do not depend on w. Now, let= B b= z
, C cz, and
β 2 = bdx + cdy. Then w2 = w1 + d β 2 = Fdxdy has no terms involving dw
or dz, or dw2 = 0. This implies that Fz = 0 and Fw = 0. Now let f y = F,
where f and F depend only on x and y. Then, let β 3 = fdx and notice
that w2 + d β 3 = 0. Therefore,
w + d β1 + d β 2 + d β 3 = 0.
Hence, w = d ( − β1 − β 2 − β 3 ).
3.5 Two-Manifolds
3.5.1
2
3.5.3
15π
16
3.5.5
4π .
3.5.7
21
8
3.5.9
e −1
3.5.11
18
3.5.13
1
4
3.5.15
4
3.5.17
7
3.5.19
4 (π + 2 )
π3
3.5.21
8 5
+ 4 arcsin
5 5
3.5.23
2 8 π
log e 2 + −
3 9 3
3.5.25
8
3
3.5.27
Since f is positive and decreasing,
∫ ∫ f ( x ) f ( y) ( y − x ) ( f ( x ) − f ( y) ) dxdy ≥ 0,
1 1
0 0
3.5.29
Since,
1 1 1
∫ ∫ f ( x ) dxdy = ∫ f ( x ) dx,
0 0 0
3.5.31
ea b − 1
2 2
ab
3.5.33
Since at least one of the sides of each Rk is an integer. Since
N
3.5.35
n
2
3.5.37
275
54
3.6.1
1
dx ∧ dy = du ∧ dv
2
3.6.3
b−a
4
3.6.5
13
( 2 − sin 2 ) .
6
3.6.7
0
3.6.9
255
⋅
4
3.6.11
1 1 1
+ sin 6 − sin 2 ⋅
3 12 12
3.7.1
49
2
3.7.3
π 2
12
3.7.5
π 16
− + 3
18 9
3.7.7
π
8
3.7.9
π 2
4
3.7.11
1. π (1 − e− a ) .
2
(∫ )
a 2
3. First observe that Ja = e− x dx . Since both Ia and Ia tend
2
−a 2
3.7.13
xdy − ydx = ( ρ cosθ ) ( sin θ dρ + ρ cosθ dθ )
− ( ρ sin θ ) ( cosθ dρ − ρ sin θ dθ ) = ρ 2 dθ
1 π
2 ∫0
1 π
2 0
2 1 π
ρ dθ = ∫ ( f (θ ) ) dθ = ∫
2 0
(( f (θ )) +( f (θ + π / 2 )) ) dθ
2 2
1 π /2
2 ∫0
< 4dθ = π , a contradiction.
3.8 Three-Manifolds
3.8.1
1
6
3.8.3
27
8
3.8.5
(12 − 3 x − 2 y)
f ( x, y, z ) dzdydx .
1 3
∫∫∫
0 0 0
6
3.8.7
2.
3.8.9
3 − e.
3.8.11
1
⋅
6
3.8.13
16
3
3.9.1
Cartesian:
1 1 − y2 x2 + y2
∫ ∫
−1 − 1 − y2 ∫ x2 + y2
dzdxdy
Cylindrical:
1 2π r
∫∫ ∫
0 0 r2
rdzdθ dr
Spherical:
π /2 2π ( cos φ ) / ( sin φ )2
∫ ∫ ∫
π /4 0 0
r 2 sin φ drdθ dφ
π
The volume is .
3
3.9.3
Cartesian:
3 3 − y2 4 − x2 − y2
∫ ∫
− 3 − 3 − y2 ∫ 1
dzdxdy
Cylindrical:
3 2π 4−r2
∫ ∫ ∫
0 0 1
rdzdθ dr
Spherical:
π /3 2π 2
∫ ∫ ∫
0 0 1 / cos φ
r 2 sin φ drdθ dφ
5π
The volume is .
3
3.9.5
π
96
3.9.7
π2
3.9.9
4π
⋅
5
3.9.11
81π
2
3.9.13
2π
9
3.10.1
13 2
3
3.10.3
4π
3
3.10.5
4π R 2 / n.
3.10.7
8 2
3.10.9
3π
⋅
4
3.10.11
π
(17 3 / 2 − 1) .
48
3.11.1
−4
3.11.3
16π .
3.11.5
4R3
.
3
3.11.7
2
−
3
3.11.9
0.
3.11.11
1
.
30
3.11.13
96
−
5
3.11.15
1
−
20
3.11.17
240
3.11.19
96π .
3.11.21
3
⋅
2
3.11.23
−2π .
D
FORMULAS
In This Appendix
ll Trigonometric Identities
ll Hyperbolic Functions
ll Table of Derivatives
ll Table of Integrals
ll Summations (Series)
ll Logarithmic Identities
ll Exponential Identities
ll Approximations for Small Quantities
ll Vectors
1 1 1
cot θ = , sec θ = , csc θ =
tan θ cosθ sin θ
sin θ cosθ
tan θ = , cot θ =
cosθ sin θ
sin θ + cos θ = 1 , tan 2 θ + 1 = sec 2 θ , cot 2 θ + 1 = csc 2 θ
2 2
tan θ1 ± tan θ 2
tan (θ1 ± θ 2 ) =
1 tan θ1 tan θ 2
1
cosθ1 cosθ 2 = cos(θ1 + θ 2 ) + cos(θ1 − θ 2 )
2
1
sin θ1 sin θ 2 = cos(θ1 − θ 2 ) − cos(θ1 + θ 2 )
2
1
sin θ1 cosθ 2 = sin(θ1 + θ 2 ) + sin(θ1 − θ 2 )
2
1
cosθ1 sin θ 2 = sin(θ1 + θ 2 ) − sin(θ1 − θ 2 )
2
θ + θ2 θ1 − θ 2
sin θ1 + sin θ 2 = 2 sin 1 cos 2
2
θ + θ2 θ1 − θ 2
sin θ1 − sin θ 2 = 2 cos 1 sin 2
2
θ + θ2 θ1 − θ 2
cosθ1 + cosθ 2 = 2 cos 1 cos 2
2
θ + θ2 θ1 − θ 2
cosθ1 − cosθ 2 = −2 sin 1 sin 2
2
b
a cosθ − b sin θ = a2 + b2 cos (θ + φ ) , where φ=tan -1
a
b
a sin θ + b cosθ = a2 + b2 sin (θ + φ ) , where φ=tan -1
a
cos(90 − θ ) = sin θ , sin(90 − θ ) = cosθ , tan(90 − θ ) = cot θ
θ 1 − cosθ θ 1 + cosθ
sin =± , cos = ± ,
2 2 2 2
θ 1 − cosθ θ sin θ θ 1 − cosθ
tan =± , tan = , tan =
2 1 + cosθ 2 1 + cosθ 2 sin θ
e jθ − e− jθ e jθ + e− jθ e jθ − e− jθ
sin θ = , cosθ = ( j = −1 ), tan θ =
2j 2 j ( e jθ + e− jθ )
e± jθ = cosθ ± j sin θ (Euler’s identity)
1rad = 57.296
π = 3.1416
e x + e− x e x − e− x sinh x
cosh x = , sinh x = , tanh x = ,
2 2 cosh x
1 1 1
coth x = , sech x = , csch x =
tanh x cosh x sinh x
sin jx = j sinh x , cos jx = cosh x
sinh jx = j sin x , cosh jx = cos x
sin( x ± jy) = sin x cosh y ± j cos x sinh y
cos( x ± jy) = cos x cosh y j sin x sinh y
sinh( x ± y) = sinh x cosh y ± cosh x sinh y
cosh( x ± y) = cosh x cosh y ± sinh x sinh y
y= dy
=
dx
c (constant) 0
eax aeax
ax ( a > 0 ) a x ln a
1
ln x ( x > 0 )
x
c − ca
xa x a+1
log a e
log a x
x
sin ax a cos ax
cos ax −a sin ax
a
tan ax a sec 2 ax =
cos2 ax
−a
cot ax − a csc 2 ax =
sin 2 ax
a sin ax
sec ax
cos2 ax
−a cos ax
csc ax
sin 2 ax
a
arcsin ax = sin −1 ax
1 − a2 x 2
−a
arccos ax = cos−1 ax
1 − a2 x 2
a
arctan ax = tan −1 ax 1 + a2 x 2
−a
arc cot ax = cot −1 ax 1 + a2 x 2
sinh ax a cosh ax
cosh ax a sinh ax
a
tanh ax
cosh 2 ax
a
sinh −1 ax 1 + a2 x 2
a
cosh −1 ax
a2 x 2 − 1
a
tanh −1 ax
1 − a2 x 2
du dv
u( x) + v( x) +
dx dx
dv du
u( x)v( x) u +v
dx dx
u( x) 1 du dv
v −u
v( x) v2 dx dx
1 −1 dv
v( x) v2 dx
dy dv
y(v( x))
dv dx
dy dv du
y(v( u( x)))
dv du dx
∫ a dx = ax + c ( c is an arbitrary constant)
∫ x dy = xy − ∫ y dx
x n+1
∫x n
dx =
n+1
+ c, (n ≠ −1)
1
∫ x dx = ln x + c
eax
∫e ax
dx =
a
+c
ax
∫ a x
dx =
ln a
+c for (a > 0)
∫ ln x dx = x ln x − x + c for ( x > 0)
− cos ax
∫ sin ax dx = a
+c
sin ax
∫ cos ax dx = a + c
− ln cos ax
∫ tan ax dx = a + c
ln sin ax
∫ cot ax dx = a + c
1 − sin ax
− ln
1 + sin ax + c
∫ sec ax dx =
2a
1 − cos ax
ln
1 + cos ax + c
∫ csc ax dx =
2a
x
tan −1
1 a +c
∫ x2 + a2 dx = a
x−a x
ln tanh −1
1 x+a a +c
∫ x2 − a2 dx = 2 a + c or a
x+a
ln
1 x−a +c
∫ a2 − x2 dx = 2a
1 x
∫ a −x
2 2
dx = sin −1 + c
a
x
sinh −1
∫
1
a +x
2 2
dx =
a
(
a + c or ln x + x2 + a2 + c
)
∫
1
x −a
2 2
(
dx = ln x + x2 − a2 + c )
x
sec −1
1 a
∫ x x2 − a2 dx = a + c
( ax − 1) eax
∫ xeax dx = a2
+c
cos ax + ax sin ax
∫ x cos ax dx = a2
+c
sin ax − ax cos ax
∫ x sin ax dx = a2
+c
x2 x2
∫ x ln x dx = 2
ln x − + c
4
eax (ax − 1)
∫ xeax dx = a2
+c
x sin 2 x
∫ sin 2
x dx =
2
−
4
+c
x sin 2 x
∫ cos2 x dx = 2 + 4 + c
∫ tan 2
x dx = tan x − x + c
∫ cot 2
x dx = − cot x − x + c
∫ sec 2
x dx = tan x + c
∫ csc 2
x dx = − cot x + c
N
1 − a N +1 N 1 − ( N + 1 ) a N + Na N +1
∑N a n
= 1−a N + 1 ; ∑N na n = a 1 − ( N + 1 ) a N 2+ Na N +1
∑
n=0 a = 1 − a
n
; ∑
n = 0 na = a
n
( 1 − a )2
1−a ( 1 − a )
n=0
N
N ( N + 1)
n=0
N
N (N + 1 ) ( 2 N + 1 )
∑N n=
N ( N + 1) ; ∑ N n2 =
N ( N + 1) ( 2 N + 1)
∑
n=0 n = 2
2
; ∑
n=0 n =
2 6
6
nN=0
N ( N + 1) ( N + 2 )
n=0
∑N n ( n + 1) =
N ( N + 1) ( N + 2 ) ;
∑
n=0 n ( n + 1 ) = 3
3
;
n=0 N
NP N!
( a + b)NN = ∑ N NC a N − n bn , where NC =NC = n=
N − n NPn N!
( a + b) = ∑ b , where NCn =NCN − n = n! = ( N − n )! n!
n N−n n n
n = 0 NC a
n=0
n
n! ( N − n )! n!
MVC_MusaCH07_Appendix ∞ ( −1)n
D.indd 402 1 1 1 1 11/20/2014 5:36:01 PM
∞
1
∑x n
= , ( x < 1) ;
n= 0 1− x
Appendix D• 403
∞
1
∑ nx n = , ( x < 1)
n= 0 ( 1 − x )2
∞
∂k x
∑n x k n
= lim ( −1 )
a →0
k
,
∂a k x − e− a
( x < 1 );
n= 0
∞
( −1)n 1 1 1 1
∑ 2 n + 1 = 1 − 3 + 5 − 7 + ... = 4 π
n= 0
∞
1 1 1 1 1
∑n
n= 0
2
=1+ 2
+ 2 + 2 + ... = π 2
2 3 4 6
∞
x n
1 1 1
e x = ∑ = 1 + x + x2 + x3 + ...
n= 0 n ! 1! 2! 3!
( ln a ) ( ln a ) x + ( ln a ) ( ln a )
∞ n 2 3
xn x2 x3
a =∑
x
=1+ + + ...
n= 0 n! 1! 2! 3!
∞
( ±1)n x n x2 x3
ln (1 ± x ) = −∑
n
= ±x − ± − ...,
2 3
( x < 1)
n=1
( −1)n x2 n+1
∞
x 3 x 5 x7
sin x = ∑ = x − + − + ...
n= 0 ( 2 n + 1 ) ! 3! 5! 7 !
∞
( −1) x2 n
n
x2 x 4 x6
coss x = ∑ = 1 − + − + ...
n= 0 ( 2 n )! 2! 4! 6!
x3 2 x 5
tan x = x + + + ..., ( x < 1 )
3 15
∞
( −1)n x2 n+1 x 3 x 5 x7
tan x = ∑
−1
2n + 1
= x − + − + ...,
3 5 7
( x < 1)
n= 0
a
log = log a − log b
b
log a n = n log a
x2 x3 x 4
ex = 1 + x + + + + ... , where e 2.7182
2 ! 3! 4 !
ex ey = ex+ y
( ex )
n
= enx
ln e x = x
If a 1 , then
ln(1 + a) a
ea 1 + a
sin a a
cos a 1
tan a a
(1 ± a )n 1 ± na
D.9 Vectors
Vector A = A x a x + A y a y + Az a z
∂A ∂A ∂A
Gradient ∇A = a + a + a
∂x x ∂y y ∂z z
ax ay az
∂ ∂ ∂
∇× A = =
∂x ∂y ∂z
Curl Ax Ay Az
∂A ∂Ay ∂A ∂A ∂Ay ∂Ax
= z − a x + x − z a y + − a
∂y ∂z ∂z ∂x ∂x ∂y z
∂2 A ∂2 A ∂2 A
Laplacian ∇2 A = + +
∂x2 ∂y2 ∂z2
2. Cylindrical Coordinates
Coordinates (r, f, z)
Vector A = Aρ a ρ + Aφ aφ + Az a z
∂A 1 ∂A ∂A
Gradient ∇A = a + a + a
∂ρ ρ ρ ∂φ φ ∂z z
1 ∂ 1 ∂Aφ ∂Az
Divergence ∇.A = ( ρ Aρ ) + +
ρ ∂ρ ρ ∂φ ∂z
aρ ρ aφ az
1 ∂ ∂ ∂
∇× A = =
ρ ∂ρ ∂φ ∂z
Curl Aρ ρ Aφ Az
1 ∂Az ∂Aφ ∂Aρ ∂Az 1 ∂ ∂Aρ
= − aρ + − aφ + (ρ Aφ ) − a
ρ ∂φ ∂z ∂z ∂ρ ρ ∂x ∂φ z
1 ∂ ∂A 1 ∂ 2 A ∂ 2 A
Laplacian ∇2 A = ρ + +
ρ ∂ρ ∂ρ ρ 2 ∂φ 2 ∂z2
3. Spherical Coordinates
Coordinates (r, u, f)
Vector A = Ar a r + Aθ aθ + Aφ aφ
∂A 1 ∂A 1 ∂A
Gradient ∇A = a + a + a
∂r r r ∂θ θ r sin θ ∂φ φ
1 ∂ 2 1 ∂ 1 ∂A
Divergence ∇⋅ A =
r 2 ∂r
(r Ar ) + ( A sinθ ) + r sinθ ∂φφ
r sin θ ∂θ θ
ar raθ ( r sin θ ) aφ
1 ∂ ∂ ∂
∇× A = 2 =
r sin θ ∂r ∂θ ∂φ
Curl Ar rAθ ( r sin θ ) Aφ
1 ∂ ∂Aθ 1 1 ∂Ar ∂
= ( Aφ sin θ ) − ar + − (rAφ ) aθ
r sin θ
∂θ ∂φ r sin θ ∂φ ∂r
1 ∂ ∂Ar
+ (rAθ ) − a
r ∂r ∂θ φ
1 ∂ 2 ∂A 1 ∂ ∂A 1 ∂2 A
Laplacian ∇2 A = r + sin θ +
r 2 ∂r ∂r r 2 sin θ ∂θ ∂θ r 2 sin 2 θ ∂φ 2
A × ( B × C ) = B ( A ⋅ C ) − C ( A ⋅ B)
2. Product Rules
∇( fg) = f (∇g) + g(∇f )
∇ ⋅ ( fA) = f (∇ ⋅ A) + A ⋅ (∇f )
∇ ⋅ (A × B) = B ⋅ (∇ × A) − A ⋅ (∇ × B)
3. Second Derivative
∇ ⋅ (∇ × A) = 0
∇ × (∇f ) = 0
∇ ⋅ (∇f ) = ∇ 2 f
∇ × (∇ × A) = ∇(∇ ⋅ A) − ∇ 2 A
∇ ⋅ ( A + B) = ∇ ⋅ A + ∇ ⋅ B
∇ × ( A × B) = ∇ × A + ∇ × B
f g ( ∇f ) − f ( ∇g )
∇ =
g g2
∇f n = nf n−1∇f (n = integer)
2. Divergence Theorem
∫
volume
(∇ ⋅ A)dv = ∫
surface
A ⋅ ds
∫
surface
(∇ × A) ⋅ ds = ∫ A ⋅ dl
line
4. ∫ f dl = − ∫ ∇f × ds
line surface
5. ∫
surface
f ds = ∫
volume
∇f dv
6. ∫
surface
A × ds = − ∫
volume
∇ × Adv
16. E. Kreyszig, Advanced Engineering Mathematics, 9th Edition, John Wiley &
sons, Inc., 2006.
17. H. E. Newell, Jr., Vector Analysis, McGraw-Hill Book Company, Inc., 1955.
18. P. V. O’Neil, Advanced Engineering Mathematics, 5th Edition, Brooks/Cole,
2003.
19. D. G. Duffy, Advanced Engineering Mathematics with MATLAB,
2nd Edition, Chapman & Hall/CRC, 2003.
20. R. Osserman, Two-Dimensional Calculus, Harcourt, Brace & World, Inc.,
1968.
21. S. Lang, Calculus of Several Variables, 3rd Edition, Springer-Verlag, 1987.
22. S. Dineen, Multivariate Calculus and Geometry, 2nd Edition, Springer-Verlag,
2001.
23. P. S. Clarke, Jr., Calculus with Analytic Geometry, D.C. Health and
Company, 1974.
24. H. S. Wilf, Calculus and Linear Algebra, Harcourt, Brace & World, Inc.,
1966.
25. J. H. Hubbard and B. B. Hubbard, Vector Calculus, Linear Algebra, and
Differential Forms: A Unified Approach, Prentice Hall, 1999.
26. B. Willcox, Calculus of Several Variables, Houghton Mifflin Company, 1971.
27. M. R. Spiegel, Schaum’s Outline Series Theory and Problems of Vector
Analysis and An Introduction to Tensor Analysis, McGraw-Hill, 1959.
28. K. A. Stroud and D. J. Booth, Engineering Mathematics, 6th Edition,
Industrial Press, Inc., 2007.
29. S. Abbott, Understanding Analysis, Springer-Verlag, 2001.
30. M. N. O. Sadiku, Elements of Electromagnetics, 3rd Edition, Oxford
University Press, 2001.
31. F. Ayres, Jr., Schaum’s Outline Series Theory and Problems of Modern
Algebra, McGraw-Hill, 1959.
32. R. C. Buck and E. F. Buck, Advanced Calculus, McGraw-Hill, 1956.
33. E. W. Swokowski, Calculus with Analytic Geometry, 2nd Edition, Prindle,
Weber & Schmidt, 1979.
34. S. I. Grossman, Multivariable Calculus, Linear Algebra, and Differential
Equations, 2nd Edition, Academic Press, Inc., 1986.
35. W. G. May, Linear Algebra, Scott, Foresman and Company, 1970.
36. H. Schneider and G. P. Barker, Matrices and Linear Algebra, 2nd Edition,
Holt, Rinehart, and Winston, Inc., 1968.
37. M. O’Nan, Linear Algebra, 2nd Edition, Harcourt Brace Jovanovich, Inc.
38. T. Blyth and E. Robertson, Basic Linear Algebra, 2nd Edition, Springer, 2002.
39. J. R. Munkres, Analysis on Manifolds, Westview Press, 1997.
A astroid
addition of vectors, 7–8, 407 area of, 59
addition rule, differentiation, 183 parametric representation, 58–60
affine transformation, 35 perimeter of, 59
Al-Kashi’s Law of Cosines, 18 axis command, 318
AM-GM Inequality, 215
anti-commutativity, 77 B
differential forms, 218 barycenter of triangle, 13
approximations for small quantities, bilinearity, 17, 77
formula, 404 bi-point, 2–3
area direction of, 5
of astroid, 59 equivalence class, 4
of parallelogram, 41–42, 80 Euclidean length, 5–6
of quadrilateral, 42–43, 99–100 sense of, 5
of trapezoid, 100
of triangle, 44–45 C
arithmetic canonical surfaces, 119–130
Maple, 298 Cartesian coordinates, formula, 404–405
operations, MATLAB, 305, 310 Cartesian equation, of plane, 69, 71–72
assignments, Maple, 299 Cartesian line, 10
associative Cauchy-Bunyakovsky-Schwarz
scalar homogeneity, 218 Inequality (CBS Inequality),
of vector addition, 8 20–21, 65–66, 176, 214