Documente Academic
Documente Profesional
Documente Cultură
The directional derivative of a function f is a more general derivative compared with the partial
derivatives of the function. It gives the slope of the tangent line to the surface along a certain
direction from a point (x, y).
Two-Variable Case
Definition. Let f be a function of x and y. The directional derivative of f at any point (x, y) along
the direction of a unit vector ~u = hu1 , u2 i is defined by
f (x + hu1 , y + hu2 ) f (x, y)
,
h0
h
Example: 2(a).
Remarks:
3+3
D~u f (x0 , y0 ) =
lim
where ~u = hu1 , u2 i and g(h) = f (x0 + hu1 , y0 + hu2 ). According to the general chain rule,
f dx f dy
+
x dh y dh
= fx (x, y)u1 + fy (x, y)u2
g 0 (h) =
Examples: 2(c).
~
2. The minimum rate of change of f at a point (x, y) is
f
(x, y)
and this is attained along
~ (x, y).
f
~ (x, y) and ~u. Then
Proof. Let ~u be a unit vector and let be the angle between f
~ (x, y) ~u
D~u f (x, y) = f
~
=
f
(x, y)
k~uk cos
~
=
f
(x, y)
cos
Thus, D~u f (x, y) is maximum when cos = 1 and attains its minimum value when cos = 1.
Homework
I, 6, 9, 16.
We already know how to find an equation for the tangent plane to the surface described by the
equation z = f (x, y). In this section, we are going to generalize the concept of the tangent plane to
cases where the equation of the surface is defined implicitly, i.e., F (x, y, z) = 0 or F (x, y, z) = k (for
some constant k). We can also extend this discussion to finding equations of tangent lines to curves
in 2D defined implicitly (F (x, y) = k for some constant k).
x3
y+3
z2
=
=
; 6. N1 = 4i and N2 = 2i
10
14
3
Summary
To summarize the difference between the uses of the gradient of a function, take note of the following:
1. If the function is defined explicitly (either z = f (x, y) or w = f (x, y, z)), the gradient of f
gives the direction where the value of the function increases at the fastest rate.
2. If a curve (2D case) or a surface (3D case) is defined implicitly (either F (x, y) = 0 or
F (x, y, z) = 0), then the gradient of F is a vector that is normal to the curve or surface.
Homework
II, 2, 7, 8.
In the one-variable case, we can use the derivative of a function to find the extrema of that function.
Our aim now is to find its counterpart when we have functions involving several variables.
Definition of Extrema
Definition. A function f of x and y is said to have a
1. relative/local maximum at a point (x0 , y0 ) if f (x0 , y0 ) f (x, y),
2. relative/local minimum at a point (x0 , y0 ) if f (x0 , y0 ) f (x, y),
for all points (x, y) on some disk centered at (x0 , y0 ). Moreover, if (1) holds for all (x, y) in the
domain of f , then f is said to have an absolute maximum at (x0 , y0 ). If (2) holds for all (x, y) in
the domain of f , then f is said to have an absolute minimum at (x0 , y0 ).
p
Examples: f (x, y) = 1 x2 y 2 ; g(x, y) = x2 + y 2
Remark: The extrema of the function f may or may not exist. (relative: saddle point, absolute:
infinite function values)
Definition. A function z = f (x, y) has a saddle point at (x0 , y0 ) if there are two distinct vertical
planes through this point such that the trace of the surface in one of the planes has a relative
maximum at (x0 , y0 ) and the trace in the other has a relative minimum at (x0 , y0 ).
Example: f (x, y) = x2 y 2
Theorem. If f has a relative extremum at (x0 , y0 ) and the first-order partial derivatives of f exist
at (x0 , y0 ), then fx (x0 , y0 ) = 0 and fy (x0 , y0 ) = 0.
Proof. Refer to TC7, p. 1038.
p
Examples: f (x, y) = 1 x2 y 2 ; g(x, y) = x2 + y 2
0, 2 , 2 , , , 2 , (0, 0) (absolute min value 0), (, 0) (absolute min value 0), (0, ) (absolute
min value 0), (, ) (absolute min value 0); 2(c). critical points are (0, 1) (absolute min value -2),
(1, 1), (1, 1), (0, 0), (0, 2) (absolute max value 2)
Theorem. If a function of two variables has an absolute extremum at an interior point of its
domain, then this extremum occurs at a critical point.
Remark: This theorem is used to determine whether a relative extremum is actually an absolute
extremum. However, it requires the knowledge of the existence of the absolute extremum in the first
place.
Homework
III, 1(g), 2(e), 5
Lagrange Multipliers
This method is used whenever you are finding the absolute extrema of the function f subject to
restrictions or constraints p
to the domain of f .
Example: f (x, y) = 25 x2 y 2 , where x + y = 2. The answer is 23, when (x, y) = (1, 1).
One Constraint
Theorem. Suppose f and g are functions of x and y with continuous first-order partial derivatives.
~
If f has a relative extremum at a point (x0 , y0 ) subject to the constraint g(x, y) = 0 and g(x
0 , y0 ) 6=
~0, then there exists a constant such that
~ (x0 , y0 ) + g(x
~
f
0.
0 , y0 ) = ~
(1)
~ 0 (t0 ) is perpendicular to f
~ (x0 , y0 ). But R
~ 0 (t0 ) is a tangent vector to the curve
This implies that R
~
~
C defined by g(x, y) = 0 at (x0 , y0 ), while g(x
0 , y0 ) is a normal vector to C. Thus, f (x0 , y0 ) is
~
parallel to g(x0 , y0 ).
Remark: (Method of Lagrange Multipliers) To find the absolute extrema of the function f subject
to the constraint g = 0,
1. If f is a function of x and y, solve for all points (x, y) (and corresponding ) satisfying the
equations:
fx (x, y) + gx (x, y) = 0
fy (x, y) + gy (x, y) = 0
g(x, y) = 0
(constraint)
If f is a function of x, y and z, solve for all points (x, y, z) (and corresponding ) satisfying
the equations:
fx (x, y, z) + gx (x, y, z) = 0
fy (x, y, z) + gy (x, y, z) = 0
fz (x, y, z) + gz (x, y, z) = 0
g(x, y, z) = 0
(constraint)
2. Evaluate f at all points obtained in (1). The greatest value of f is the absolute maximum value
of f while the least value of f is the absolute minimum value of f subject to the constraint.
Examples: 2(b).
critical points
are (1/ 2, 0) (absolute max), (1/ 2, 0) (absolute min),
(0, 1), (0, 1), (1/3, 7/3), (1/3, 7/3); 4. x = y = 2, z = 1 (Hint: there are 3 different
expressions for xyz)
Several Constraints
Remark: If there are two or more constraints, we need one Lagrange multiplier for each constraint.
For instance, if we want to find the extrema of f (x, y, z) so that g(x, y, z) = 0 and h(x, y, z) = 0,
then we have to solve for all points (x, y, z) and corresponding and so that
fx (x, y, z) + gx (x, y, z) + hx (x, y, z) = 0
fy (x, y, z) + gy (x, y, z) + hy (x, y, z) = 0
fz (x, y, z) + gz (x, y, z) + hz (x, y, z) = 0
g(x, y, z) = 0
(constraint)
h(x, y, z) = 0
(constraint)
Example:
10. The critical points (1, 2, 1) and (1, 2, 1) will give rise to the absolute
maximum value of 3. The critical points (1, 2, 1) and (1, 2, 1) will give rise to the absolute
minimum value of 1. There are no other critical points.
Homework
IV, 2(c), 2(d)
Parametric Surfaces
Using parametric equations, it is possible to generate more complicated surfaces compared with
using only the rectangular coordinates. The idea is similar to defining curves parametrically.
Definition of Terms
~
Definition. Suppose that R(u,
v) = hx(u, v), y(u, v), z(u, v)i is a vector-valued function defined on
a region D on the uv-plane. The set of all points (x, y, z) such that
x = x(u, v)
(2)
y = y(u, v)
z = z(u, v)
as (u, v) varies throughout D is called a parametric surface S and (2) are called parametric equations
of S.
Remark: One can think of a parametric surface as a union of an infinite number of parametric
curves. If one variable is fixed, say v = v0 , a curve is generated by the parametric equations. These
curves are collected by considering all the possible values of v. The same is true if u = u0 is fixed.
~
Definition. Let S be a parametric surface defined by R(u,
v).
~ 0 , v) defines a curve on S called a
1. If u is held constant, say u = u0 , and v varies, then R(u
constant u-curve.
~
2. If v is held constant, say v = v0 , and u varies, then R(u,
v0 ) defines a curve on S called a
constant v-curve.
Examples: 1(a). both are parabolas; 1(b). constant u-curves are circles, constant v-curves
are intersections of two parabolic cylinders; 1(c). both are semicircles
Remarks:
1. To sketch the graph of a parametric surface, it helps if the Cartesian equation is known.
2. For more complicated parametric equations, a graphing utility can be used.
p
p
Surface of Revolution
Let f (x) 0 and S be the surface obtained by revolving the curve y = f (x), a x b, about the
x-axis. Let be the angle of rotation. [ insert diagram ] Then S has parametric equations
x = x
y = f (x) cos
z = f (x) sin
Similarly, if S is obtained by revolving y = f (z) along the z-axis, then S has parametric equations
x = f (z) sin
y = f (z) cos
z=z
If S is obtained by revolving x = f (y) about the y-axis, then S has parametric equations
x = f (y) cos
y=y
z = f (y) sin
Examples: 11(a). x = x, y = cos /x, z = sin /x; 11(e). x = 2y sin , y = y, z = 2y cos ;
11(f). x = z 3/2 sin , y = z 3/2 cos , z = z
Double Integrals
m X
n
X
i=1 j=1
kk0
m X
n
X
i=1 j=1
Definition. Let f be a function of x and y and R = [a, b] [c, d]. The double integral of f over R
is defined by
ZZ
m X
n
X
f (x, y) dA = lim
f (x?i , yj? )Aij ,
kk0
i=1 j=1
ZZ
f (x, y) dA =
R
Z bZ
f (x, y) dx dy =
f (x, y) dy dx.
a
10
Definition. Let f be a function of x and y that is continuous on a closed and bounded region R
on the xy-plane. Consider a rectangular region D = [a, b] [c, d] enclosing R and define a function
F by
(
f (x, y), (x, y) R
F (x, y) =
0,
(x, y) D\R
The double integral of f over R is defined by
ZZ
ZZ
F (x, y) dA
f (x, y) dA =
D
There are two possible methods to evaluate the double integral, depending on the region of
integration R.
1. R is bounded by y = g1 (x), y = g2 (x), x = a and x = b.
If D = [a, b] [c, d] is a rectangular region enclosing R, we can write the interval [c, d] as
[c, g1 (x)] [g1 (x), g2 (x)] [g2 (x), d] for any value of x in the domain of g1 and g2 . Therefore,
Z bZ
ZZ
f (x, y) dA =
F (x, y) dy dx
a
Z bZ
g1 (x)
Z bZ
g2 (x)
F (x, y) dy dx +
a
F (x, y) dy dx +
Z bZ
Z bZ
g1 (x)
F (x, y) dy dx
a
g2 (x)
g2 (x)
f (x, y) dy dx
a
g1 (x)
ZZ
f (x, y) dA =
F (x, y) dx dy
c
Z dZ
h1 (y)
Z dZ
h2 (y)
F (x, y) dx dy +
c
Z dZ
Z dZ
F (x, y) dx dy +
c
h1 (y)
F (x, y) dx dy
c
h2 (y)
h2 (y)
f (x, y) dx dy
c
h1 (y)
ZZ
cf (x, y) dA = c
ZZ
ZZ
(f (x, y) g(x, y)) dA =
2.
f (x, y) dA.
ZZ
f (x, y) dA
g(x, y) dA
R
ZZ
ZZ
3. If R = R1 R2 such that R1 and R2 do not overlap, then
f (x, y) dA =
R
ZZ
f (x, y) dA
R2
11
f (x, y) dA +
R1
5. Let f be integrable on a closed region R, and suppose that m and M are two numbers such
that mZ Z f (x, y) M for all (x, y) R. Then if A is the measure of the area of R,
f (x, y) dA M A.
mA
R
Recall that any point (x, y) in the Cartesian plane has a corresponding representation (r, ) in polar
coordinates. However, the polar representation is not unique. If we impose the restriction r 0 and
[0, 2], we have a one-to-one correspondence between the rectangular and polar coordinates of
a point.
A simple polar region in polar coordinates is enclosed by two rays from the pole, = and
= , with < , and two continuous polar curves r = r1 () and r = r2 () such that r1 () and
r2 () are nonnegative on [, ]. A special case is called a polar rectangle, which is enclosed by two
rays = and = , and two circles r = a and r = b.
To evaluate the double integral, we do the following steps:
1. Divide [a, b] into m subintervals [ri1 , ri ], each of length ri , and divide [, ] into n subintevals, each of length j . The circles r = ri and the rays = j will divide the region into
smaller polar rectangles Rij . The center of each polar rectangle Rij has polar coordinates
(ri? , j? ), where ri? = 21 (ri1 + ri ) and j? = 12 (j1 + j ).
2. The area of a polar rectangle Rij is equal to the difference of the areas of two sectors, both
with central angle j , and whose radii are ri1 and ri . So,
Aij
1 2
1 2
ri j ri1
j
2
2
1 2
2
ri ri1
j
=
2
1
=
(ri + ri1 )(ri ri1 )j
2
= ri? ri j .
r2 ()
f (r cos , r sin ) r dr d.
f (x, y) dA =
R
r1 ()
12
Volume of a Solid
Let f be a function of x and y such that f (x, y) 0 for all (x, y) in a closed and bounded region R
in the xy-plane. The volume V of the solid under the surface z = f (x, y), above the xy-plane and
whose top view is R, is given by
ZZ
V =
f (x, y) dA.
R
In general, if f (x, y) can be positive or negative on region R, the double integral will give the
value of the signed volume of the solid,
ZZ
f (x, y) dA = (volume above xy-plane) (volume below xy-plane)
R
Proof. Consider the solid bounded below by the xy-plane, above by z = 1, and whose top view is
R. Then,
ZZ
V =
dA
R
The moment of mass about an axis measures the tendency of a lamina to rotate about the axis.
Therefore,
ZZ
moment of mass about the x- axis = Mx =
y(x, y) dA
R
and
ZZ
moment of mass about the y- axis = My =
x(x, y) dA
R
The center of mass of the lamina is the point (x, y), where
RR
x(x, y) dA
My
R
x=
= RR
M
(x, y) dA
R
and
RR
y=
y(x, y) dA
Mx
= RRR
M
(x, y) dA
R
13
Therefore,
~ x (x, y) R
~ y (x, y) = hfx (x, y), fy (x, y), 1i .
R
Hence,
ZZ
~
~
S =
Rx (x, y) Ry (x, y)
dA
ZRZ q
=
(fx (x, y))2 + (fy (x, y))2 + 1 dA.
R
where Ix is the moment of inertia of the lamina about the x-axis, and
ZZ
Iy =
x2 (x, y) dA,
R
The radius of gyration of a lamina about an axis L is the distance from L at which the mass of
the lamina can be concentrated without affecting the moment of inertia of the lamina about L. If
I is the measure of the moment of inertia about an axis L of a lamina and M is the measure of the
total mass of the lamina, then the radius of gyration of the lamina about L has measure r, where
I
r2 =
M
14