MultiVariable Differential Calculus
MultiVariable Differential Calculus
Hechen Hu
1 Vectors in Rn Space 1
1.1 Definition and Properties . . . . . . . . . . . . . . . . . . . . 1
1.2 Addition/Subtraction . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Scalar Multiplication . . . . . . . . . . . . . . . . . . . . . . . 1
1.4 Dot Product . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.5 Direction Angles\Cosines . . . . . . . . . . . . . . . . . . . . 2
1.6 Orthogonal Projections . . . . . . . . . . . . . . . . . . . . . . 2
1.7 Cross Product . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.8 Scalar triple product . . . . . . . . . . . . . . . . . . . . . . . 3
3 Quadric Surfaces 9
3.1 Traces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Type of Quadric Surfaces . . . . . . . . . . . . . . . . . . . . 9
iii
iv CONTENTS
5 Multivariable Calculus 21
5.1 Definition of Multivariable functions and their graph . . . . . 21
5.2 Properties of Sets in 2-d and 3-d space . . . . . . . . . . . . . 21
1
Vectors in Rn Space
1.2 Addition/Subtraction
n
X
a±b= (ai ± bi )ei (1.1)
i=1
n
X
a·b= ai ∗ bi
i=1
= kak kbk cos θ (1.3)
1
2 1. VECTORS IN RN SPACE
v1 2 + v1 2 + v1 2
cos2 α + cos2 β + cos2 γ = √ 2
v1 2 + v1 2 + v1 2
=1 (1.7)
i×j=k j × i = −k (1.10)
j×k=i k × j = −i (1.11)
k×i=j i × k = −j (1.12)
What’s more, the area A of the parallelogram that has a and b as adjacent
sides is:
A = ka × bk (1.13)
Thus, a × b = 0 if a and b are parallel vectors. More useful properties of
cross product:
If two lines doesn’t intercept or parallel to each other in a 3-d space, they
are skew.
|n1 · n2 |
cos θ = (2.5)
kn1 k kn2 k
5
6 2. LINES AND PLANES
2.4 Distance
Solution Find two parallel planes passing through the two skew lines by
taking the cross product of their direction vectors, and find the distance
between these two planes.
Example: Find the equation of the plane that passes through the
line of intersection of the planes P1 : x − z = 1 and P2 : y + 2z = 3
and is perpendicular to the plane P3 : x + y − 2z = 1.
Solutions: Find the direction vector for the line of intersection of P1 and
P2 by taking the cross product of their normal vectors. Then take the cross
product of the direction vector of the line and the normal vector of P3 to
find the normal vector of the desired plane. Then find a point on the line of
intersection and solve for the plane.
Rectangular to Cylindrical
q
r= x2 + y 2
y
tan θ =
x
z=z
Cylindrical to Rectangular
x = r cos θ
y = r sin θ
z=z
Note that θ is not always tan−1 xy . To find the correct θ, we must know
which quadrant of xy-plane the point lies over.
Quadric Surfaces
3.1 Traces
To help graphing a complex surface in a 3-d space, we obtain traces, or the
curves(mesh lines) formed by cutting this surface with well-chosen planes.
Usually, surfaces are built up from traces in planes that are parallel to the
coordinate planes.
9
10 3. QUADRIC SURFACES
x2 y2 z2
Ellipsoid a2
+ b2
+ c2
=1
x2 y2 z2
Hyperboloid of one sheet a2
+ b2
− c2
=1
z2 x2 y2
Hyperboloid of two sheets c2
− a2
− b2
=1
x2 y2
Elliptic cone z2 = a2
+ b2
x2 y2
Elliptic paraboloid z= a2
+ b2
y2 x2
Hyperbolic paraboloid z= b2
− a2
4
Calculus of Vector-Valued
Functions
r = r0 + t(r1 − r0 ) (4.1)
11
12 4. CALCULUS OF VECTOR-VALUED FUNCTIONS
For the dot product and cross product, which are unique to vector-valued
functions, the derivative is defined as following:
d dr2 dr1
[r1 (t) · r2 (t)] = r1 (t) · · r2 (t) + (4.3)
dt dt dt
d dr2 dr1
[r1 (t) × r2 (t)] = r1 (t) × + × r2 (t) (4.4)
dt dt dt
In 2-d space, the tangent line to a circle is perpendicular to the radius
at the point of tangency. Similarly, in for a vector-valued function, if kr(t)k
is constant for all t, then:
where
s
dy
ds = 1+( )2 dx if y = f (x), a ≤ x ≤ b
dx
s
dx
ds = 1+( )2 dy if x = g(y), c ≤ y ≤ d
dy
4.6. ARC LENGTH 13
Proof. As we can see in the figure below, the arc length is the sum of distance
between n consecutive points when n → ∞
n q
X
L = lim (xi+1 − xi )2 + (yi+1 − yi )2
n→∞
i=1
q q
(xi+1 − xi )2 + (yi+1 − yi )2 = ∆x2 + ∆yi2
Thus
q q
∆x2 + ∆yi2 = ∆x2 + ∆yi2
q
= ∆x2 + (f 0 (x̄i )∆x)2
q
= 1 + [f 0 (x̄i )]2 ∆x
14 4. CALCULUS OF VECTOR-VALUED FUNCTIONS
dx
If we assume that dt
≥ 0,then
s
Z b
dx dy
L= ( )2 + ( )2 dt
a dt dt
dr dr dt
= (4.9)
dτ dt dτ
dr
=1 (4.12)
ds
Proof. Let t = s in Theorem 3.
dr
=1
dt
by hypothesis. Thus the formula can be rewrite as
Z t
s= du = t − 0 = t
0
Note that for all smooth parameterization which induce the same direc-
tion have the same unit tangent vector.
Recall that if a vector-valued function r(t) has constant norm, then r(t)
and r0 (t) are orthogonal. Because T(t) has constant norm 1, so T(t) and
4.9. CURVATURE 17
T0 (t) are orthogonal. This implies that T0 (t) is perpendicular to the tan-
gent line to C at t, so we say that T0 (t) is normal to C at t. If T0 (t) 6= 0,
then
T0 (t)
N(t) =
kT0 (t)k
is the principle unit normal vector, or simply unit normal vector to C at t
and points in the same direction as T0 (t).
The unit normal vector always points toward the concave side of C in 2-d
space.
4.9 Curvature
Definition. If C is a smooth curve in 2-d space or 3-d space that is
parametrized by arc length, then the curvature of C, denoted by κ = κ(s),
is defined by
dT
κ(s) = = r00 (s)
ds
18 4. CALCULUS OF VECTOR-VALUED FUNCTIONS
kT0 (t)k
κ(t) =
kr0 (t)k
kr0 (t) × r00 (t)k
=
kr0 (t)k3
ds
v(t) = r0 (t) = T(t)
dt
where v(t) is the tangent vector at t. The direction of v(t) gives the instan-
taneous direction of motion at t. The magnitude of v(t) is the instantaneous
rate of change of arc length as a function of time, or just simply speed.
d2 s ds
a(t) = 2
T(t) + κ(t)( )2 N(t)
dt dt
If the particle is travelling on a circle with radius r, the speed v0 is constant,
v2
and ka(t)k = r0 .
Example 4.1. Over a time interval [t1 , t2 ], the distance traveled by a par-
ticle is Z t2
s= kv(t)k dt
t1
4.11. PROJECTILE MOTION 19
d2 s
Definition. If aT = dt2
and aN = κ(t)( ds
dt
)2 , then
a = aT T + aN N
Example 4.2.
v·a
aT =
kvk
kv × ak
aN =
kvk
kv × ak
κ=
kvk3
In 2-d space, the cross product can be computed by viewing r(t) =<
x(t), y(t) > as r(t) =< x(t), y(t), 0 > in 3-d space.
Example 4.3.
kak2 = aT2 + aN
2
gt2
r(t) = − j + tv0 + s0 j
2
gt2
= (− + s0 )j + tv0
2
where g is the gravitational acceleration, v0 is the initial velocity, and s0 is
the initial height.
20 4. CALCULUS OF VECTOR-VALUED FUNCTIONS
5
Multivariable Calculus
Suppose D ⊂ R2 or D ⊂ R3 .
Definition. For a set D in 2-d and 3-d space, the set of all its interior points
is called the interior of D. The set of all its boundary points is called the
boundary of D.
21
22 5. MULTIVARIABLE CALCULUS