2010 Lecture 005 PDF
2010 Lecture 005 PDF
w w x w y w z
= + + ;
u x u y u z u
w w x w y w z
= + + .
v x v y v z v
S S x S y S z
= + + ;
u x u y u z u
S S x S y S z
= + + ;
v x v y v z v
S S x S y S z
= + + .
w x w y w z w
z =
S 2 z 2 2 = cos , = ( cos ) = cos .
z
x +y +z
S y
= x + y + z
And S S x S z
z =
S 2 z 2 2 = cos , = ( cos ) = cos .
z
x +y +z
S y
= x + y + z
And S S x S z
Through the point P(a, b) we choose any direction u = (h, k) = hi + kj, then
we consider the straight line through the point P along the direction u given by
r(t) = (a + ht, b + kt), and the rate of change of g(t) = f (r(t)) at t = 0 is
Through the point P(a, b) we choose any direction u = (h, k) = hi + kj, then
we consider the straight line through the point P along the direction u given by
r(t) = (a + ht, b + kt), and the rate of change of g(t) = f (r(t)) at t = 0 is
f ( r(t) )f ( r(0) ) f (a+th,b+tk)f (a,b)
g (0) = lim t = lim t .
t0 t0
Through the point P(a, b) we choose any direction u = (h, k) = hi + kj, then
we consider the straight line through the point P along the direction u given by
r(t) = (a + ht, b + kt), and the rate of change of g(t) = f (r(t)) at t = 0 is
f ( r(t) )f ( r(0) )
g (0) = lim t = lim f (a+th,b+ttk)f (a,b) .
t0 t0
Suppose that f is continuously differentiable, then it follows from the
(multivariate) chain rule that
f dx f dy f f
g (0 ) = + = (P)h + (P)k
(x dt y dt x
) y
= fx (a, b)i + fy (a, b)j (hi + kj) = f (a, b) u,
where f is the vector-valued function fx i + fy j, called the gradient of f at the
point (x, y). Note g (0) only depends of the choice of the curve through P(a, b)
with tangent direction r (0) only.
(I.T. Leong) Math 200 in 2010 2010 c 9 22 F 6 / 28
In order to simplify the notation more, one requires the directional vector u to
be an unit vector.
Definition (Directional derivative) The resulting derivative g (0) is called the
directional derivative Du f of f along the direction u, and hence we write
Du f = f u to represent the rate of the change of f in the unit direction u.
Proof. For any direction v, the directional derivative of f along the direction v at
a point P in the domain of f , is given by Dv (P) := f (P), vv = f cos ,
where is the angle between the vectors f (P) and v. Hence Dv (P) attains
maximum (minimum) value if and only if cos = 1 (1), if and only if f (P) (
f (P) ) is parallel to v. In this case, we have Dv (P) = f ( f ).
Solution.
(a) f (P) = 6x2 yi + (2x3 6yz)j 3y2 k(1,2,1) = 12i + 14j 12k at P. Then
the directional derivative of f along the direction v is given by
Dv f = f = 12i + 14j 12k, 2i
v
v
3j+6k
= 90
7 .
22 + 32 + 62
(b) Dv f (P) is maximum(minimum) v (v) is parallel to
f (P) = 12i + 14j 12k.
f (P) f (P)2
(c) The maximum magnitude of Dv f (P) is given by f f (P) = f (P)
=
f (P) = 12i + 14j 12k = 144 + 196 + 144 = 22.
f (r(t)) r (t)
Proof. Define the composite function g(t) = f ( x(t), y(t), z(t) ), it follows from
the given condition that g(t) = f ( x(t), y(t), z(t) ) = c is a constant function, so
one can differentiate the identity c = g(t) == f ( x(t), y(t), z(t) ), so
dy
0 = g (t ) = dx dx
= f (r(t)), r (t) for all t. So f r (t)
f f f
x dt + y dt + z dt
at r(t) for all t.
Remark. For any given level surface S defined by a scalar function f , the
tangent plane of S at any P of S is spanned by the tangent vector of the curve
contained in S. The result above tells us that the normal direction to the
tangent plane of S at any point P of S is parallel to f (P).
a1 x + b1 y + c1 z = a + b + c = F(a, b, c) = k.
y y
(0, k)
y = +(x)
x2 + y2 = k
( k, 0)
x x
y = (x)
(0, k)
the locus (k, 0). Asthe figure on the right shows, (k, 0)
This leaves only the points
we can
ot seeds take
cannot either P + ( 0, + k) or P 0, k) as a fixed point of the level
be a seed for a function of x,( because the circle has no y-value at all when
x
curve, so that > k and gives two y-values near
defines a function respectively y = 0 when x < k and
suchthat x is arbitrarily close
to k. There is a similar problem for ( k, 0). (Of course, ( k, 0) serves perfectly
(i) the graph
well aspasses through
a seed for a functionthe (y), but
x =point Pwe k), and
(0,concentrate on x as the independent
variable for the moment.) In a different way, there is no seed when k = 0. Certainly
(ii) the graph of f lies completely on the level curve, i.e. all the points
there is a point on the locusnamely (a, b) = (0, 0)but nothing can grow out of
(x, (x)) lies onthe
it, because theentire
levellocus x2 + y2f=
curve, (x,0 isjust
(xthis
)) single point.
= k for all x dom(f ).
Although there is nothing wrong with having two different parts of the locus be
the graph of two different implicit functions, we do require that only one implicit
function should be able to grow out of a given seed on that locus. This is a sig-
x nificant restriction, and places yet another impediment in the way of obtaining .
WeLeong)
(I.T. can illustrate the problem with the 200 in 2010 equation f (x, y) = y2 x2 =
Mathquadratic 0. The
2010 c9 22 F 14 / 28
The explicit functions defined by means of implicit function f (x, y) = k,
satisfy
186 passes through the point P (0, k), and
(i) the graph 6 Implicit Functions
y = (x)
(0, k)
the locus on the right shows, (k, 0)
This leaves only the points ( k, 0). As the figure
Thing
ot seeds completely fails if we chose the point P (
cannot be a seed for a function of x, because the circle ), no
k, 0has they-value
reasonat alliswhen
that a
k and gives
x > takes
function can on onlytwo y-values near y =
one value, 0 when we
though x < cank and x is arbitrarily
write
down close
to k. Thereis a similar problem
for ( k, 0). (Of course, ( k, 0) serves perfectly
y = + kwell 2
xas for k a function
a seed for x xk,=but (y),
thebutgraph can not
we concentrate on xbeas extended to any
the independent
variable for the moment.) In a different way, there is no seed when k = 0. Certainly
bigger domain to meet the second condition (ii). Moreover, the function
there is a point on the locusnamely
2 2
(a, b) = (0, 0)but nothing can grow out of
y = + kit,because
2
x does the entire locus xany
not have = 0 is just thisatsingle
+ y derivative x =point.
k, which checked directly.
Although there is nothing wrong with having two different parts of the locus be
theLeong)
(I.T. graph
of two different implicit Math
functions, we do require that only one implicit
200 in 2010 2010 c 9 22 F 15 / 28
Implicit Function Theorem I. Let C : f (x, y) = k be a level curve defined by a
differentiable scalar function f of 2 variables.
hence
zx (exz + xzexz 2) = z2 exz .
At (x, y, z) = (0, 0, 1), we have
zx (1 + 0 2) = (1)2 ,
i.e. zx (0, 0) = 1.
Remarks. (i) The last condition just means that these two vectors f (P) and
g(P) are parallel.
(ii) The last equation f (P) = g(P) gives a necessary condition for finding
the point P, though is also an unknown.
Suppose that these extreme values exist and on the surface S, which is
related to the condition of S.
Suppose that these extreme values exist and on the surface S, which is
related to the condition of S.
1 Find all values of x, y, z and such that
fx (x, y, z) = gx (x, y, z) (1)
f = g fy (x, y, z) = gy (x, y, z) (2)
f (x, y, z)
z = gz (x, y, z) (3)
and
g(x, y, z) = k. (4)
Suppose that these extreme values exist and on the surface S, which is
related to the condition of S.
1 Find all values of x, y, z and such that
fx (x, y, z) = gx (x, y, z) (1)
f = g fy (x, y, z) = gy (x, y, z) (2)
f (x, y, z)
z = gz (x, y, z) (3)
and
g(x, y, z) = k. (4)
2 Evaluate f at all the points (x, y, z) that result from step (a). The largest of
these values is the maximum value of f ; the smallest is the minimum
value(I.T.of f.
Leong) Math 200 in 2010 2010 c 9 22 F 24 / 28
Example. Use Lagrange multipliers to find the point (x, y, z) at which
x2 + y2 + z2 is minimal subject to x + 2y + 3z = 1.