



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Calculus III, Math 2210-90, Spring 2007, Bob Palais Practice Exam 2 Solutions, Chapter 15
Differential Calculus in Several Variables
Show all your work on the exam for full credit. You may use graphing (or regular) calculators.
a) Describe and sketch level sets of F , F (x, y) = c for c = − 64 , 0 , and 64.
To identify the level set (xy)^3 = 64, rewrite this as xy = 4 so y = 4/x so the level set is two branches of a hyperbola, passing through and symmetric about (2, 2) and (− 2 , −2).
The level set (xy)^3 = −64 is two branches of a hyperbola, y = − 4 /x passing through and symmetric about (2, −2) and (− 2 , 2).
The level set (xy)^3 = 0, or xy = 0 is the union of the x− and y−axes, which may be considered a limiting case of a hyperbola.
b) Sketch the graph of F. (Hint: Consider where y = x and y = −x as well as the x− and y−axes.
Above the x− and y−axes, y = 0, z = F (x, 0) = 0, and along the horizontal lines y = c, z = F (x, c) = c^3 x^3 , a cubic with its inflection point at (0, c), and along the vertical lines x = c, z = F (c, y) = c^3 y^3 , a cubic with its inflection point at (c, 0) Above the line x = y, z = F (x, x) = x^6 and above the line x = −y, z = F (x, −x) = −x^6. Overall, the graph is qualitatively like the hyperboloid z = uv but deformed a bit nonlinearly by the cubic change of variables u = x^3 and v = y^3.
c) Let X(t) be a curve satisfying X(0) = 1I + 1J and X′(0) = d dtX |t=0 = 0I + 1J. Find dF dt along^ X^ at^ t^ = 0.
By the chain rule, (^) dtd |t=0F (X(t)) = ∇F |X(0) · d dtX |t=0. Calculating ∇F = 3x^2 y^3 I +
3 x^3 y^2 J, X(0) =< 1 , 1 >, and d dtX |t=0 = 0I + 1J so ∇F |(1,1) = 3I + 3J, and dF dt along X at t = 0 is < 3 , 3 > · < 0 , 1 >= 3.
d) The answer to part c) gives the directional derivative of F , DuF (p), at a certain point, p, and in a certain direction u. Find p and u.
The directional derivative of a function F , at the point, p, in the direction u, denoted DuF (p), is defined by (^) dtd |t=0F (X(t)) where X(0) = p and d dtX |t=0 = u. Sometimes a specific X(t) = p + tu with these properties is used in the definition, although the chain rule shows that (^) dtd |t=0F (X(t)) = ∇F |X(0) · d dtX |t=0 only depends on X(0) and d dtX |t=0.
So DuF (p) = ∇F |p · u and in part c), p = (1, 1) and u = 0I + 1J.
a) Describe the level surface f (x, y, z) = 5 and find the equation of the plane tangent to this surface at (2, 0 , 1).
Since f (x, y, z) = x^2 + y^2 + z^2 = 5, the level set is the sphere of radius
5 centered at the origin.
Any plane through (x 0 , y 0 , z 0 ) is given by an equation of the form a(x − x 0 ) + b(y − y 0 ) + c(z − z 0 ) = 0, where aI + bJ + cK is the normal to the plane. This just says (aI + bJ + cK) · (x − x 0 )I + (y − y 0 )J + (z − z 0 )K = 0, i.e., that vectors of differences between points in the line are orthogonal to the normal.
The gradient of a function at a point gives the normal to the level set through that point. This is because the chain rule says that the directional derivative of the function in any direction is the gradient dotted with that direction (see 1c and 1d. Since the function is constant on level sets, its derivative in directions along (tangent to) the level set is zero, so the gradient dot directions tanget to the level set is zero, i.e., they are orthogonal.
In this case, ∂(x
(^2) +y (^2) +z (^2) ) ∂x = (2x),^
∂f ∂y = 2y, and^
∂f ∂z = 2z, so^ ∇f^ = 2^ < x, y, z >. At (2, 0 , 1), ∇f =< 4 , 0 , 2 > and the equation of the tangent plane is (4(x − 2) + 0(y −
b) At the same point (2, 0 , 1), what is the direction of maximum increase of f , u, and how fast is f changing in the u direction?
∂f ∂u
= ∇f · u = ||∇f ||u|| cos θ
where θ is the angle between ∇f and u. Since u is a unit vector, and the length of the gradient of f at a point is fixed, the directional derivative of f in different directions is maximized when cos θ attains its greatest value 1, which occurs when θ = 0, i.e. u is the direction of the gradient, (^) ||∇∇ff || and is the derivative in this direction is equal to the magnitude of the gradient. This gives the direction and rate of greatest increase of the function. The minimum value of the derivative of f occurs when cos θ attains its minimum value −1, which occurs when θ = π, i.e. u is the direction opposite the gradient, − (^) ||∇∇ff ||
and is the derivative in this direction is equal to the minus magnitude of the gradient. This gives the direction and rate of greatest decrease of the function. The rate of change of the function is zero directions along (tangent to) the level sets so these directions are orthogonal to the gradient (i.e. cos θ = π 2.
In this particular case, using ∇f =< 4 , 0 , 2 > at (2, 0 , 1), the direction of maximum increase at this point is √^120 < 4 , 0 , 2 > (away from the origin) and the rate of increase in
that direction is
up and down in one variable calculus, so when they are the same, either both positive or negative, ac − b^2 > 0 and we have either a maximum or minimum. Which one is determined by the sign of a, minimum for positive and maximum for negative, just like in the one variable test. If one is positive and the other negative, we have a saddle point, indicated by ac − b^2 < 0. If ac − b^2 = 0, we need more delicate tests just as in one variable calculus.
In the original form of the problem, a = b = c = 0 when x = ±1 or y = ±1. These are not isolated critical points but a direct analysis shows that they are local minima because they are zeros of a function which is everywhere positive.
At the point (0, 0), ac − b^2 = (−4)(−4) = 16 > 0 and since a = − 4 < 0 this is a local maximum.
In the intended form of the problem,
a =
∂^2 f ∂x^2
= 4(3x^2 − 1)
b =
∂^2 f ∂x^2
c =
∂^2 f ∂y^2
= 4(3y^2 − 1)
When x = ±1, a = 0 and when y = ±1, c = 0, so again, at all critical points except (0, 0), ac − b^2 = 0
and we need to use direct analysis. The points (− 1 , −1), (− 1 , 1), (1, −1), (1, 1), are zeros of a function which is everywhere positive, so they are local minima.
The points (0, −1), (− 1 , 0), (1, 0), (0, 1), are minima in the direction with the ±1 in that coordinate, since that contribution is zero and otherwise positive, and maxima in the direction with 0 in that coordinate, since the corresponding second derivative is negative there.
And again in this form, at the point (0, 0), ac − b^2 = (−4)(−4) = 16 > 0 and since a = − 4 < 0 this is a local maximum.
a) Is f continuous at (0, 0)?
This is analogous to the discontinuity of the function g(x) = (^) |xx| in one-dimension, and
is just the product of two such functions in each direction. So f (x, y) = 1 in the interior of the first and third quadrants, f (x, y) = −1 in the interior of the second and fourth
quadrants, and f (x, y) = 0 on the x− and y−axes. It is discontinuous at (0, 0) since it does not approach f (0, 0) = 0 as (x, y) approaches (0, 0) along any direction other than the x− and y−axes.
b) Find the directional derivative of f in the direction of the unit vector v =< 1 , 0 > for any point on the x−axis (x, 0), and in the direction of the unit vector v =< 0 , 1 > for any point on the y−axis (0, y).
Since f (x, y) = 0 on the x− and y−axes, the directional derivatives on the axes along their directions is zero. These are also the partial derivatives in the x and y directions at the point (0, 0).
c) Is f differentiable at (0, 0)?
f is not differentiable at this point, since it is not even continuous at (0, 0). There is
no linear function l(x, y) = ax + by such that ||f^ (0+ ||h,<h,k>0+k)−||l( h,k)||→ 0 as || < x, y > || → 0, which is the condition for a multivariable scalar function to be differentiable. This reduces to the single variable definition with l(x) = f (a) + f ′(a)(x − a) being the linear function
determining the tangent line: f^ (a+h)−(f^ (a)+f^
′(a)h) h →^ 0 as^ h^ →^ 0.
The method of Lagrange multipliers says that at a maximum or minimum of a function f restricted to a level set of a function g (a graph w = h(x) can always be rewritten as a level set h(x) − w = 0) the directional derivative of f in all directions along (tangent to) the level set, otherwise you can increase or decrease the function in these directions. Since the directional derivative of f in these directions is the dot product of ∇f with these directions, ∇f must be orthogonal to the level set itself. But since ∇g is also always orthogonal to the level sets of g (since g definitely doesn’t change in level set directions!), this says that ∇f and ∇g must have the same direction, or ∇f = λ∇g. The factor λ is called the Lagrange multiplier. It gives equations where any level surface of g would have its gradient proportional to the gradient of f. You must then see which of these points are on the level set of g that you are interested in.
In this particular case, minimize the distance from the origin (squared for convenience of avoiding square roots) f (x, y, z) = x^2 + y^2 + z^2 subject to the constraint that points lie on the surface g(x, y, z) = x + y − 1 − z = 0.
Setting ∇f = λ∇g, we get < 2 x, 2 y, 2 z >= λ < 1 , 1 , − 1 >, or < x, y, z >= t < 1 , 1 , − 1 > which makes intuitive sense that the closest point is along the direction from the origin normal to the constraint plane, which intersects it orthogonally.
Combining this with the original constraint, z = x + y − 1, −t = t + t − 1 so t = 1/3, and the point 13 < 1 , 1 , − 1 > is the closest point to the origin on the plane z = x + y − 1.