



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!




Let us consider the function f (x, y) = x^2 y โ x^2 โ y 2
Solution: We are looking for the points such that โ~f = ใfx(x, y), fy (x, y)ใ = ~0. That is
fx(x, y) = 2xy โ 2 x = 0 โ 2 x(y โ 1) = 0, fy(x, y) = x^2 โ y = 0.
The first equation gives either x = 0 or y = 1. If x = 0, the second equation becomes y = 0. If y = 1, the second equation gives x^2 โ 1 = 0, that is x = ยฑ1. We get then 3 critical points: (0, 0), (โ 1 , 1) and (1, 1). Let us compute J:
โฃโฃ fxx^ fxy fyx fyy
โฃโฃ 2 y^ โ^2 2 x 2 x โ 1
= 2 โ 2 y โ 4 x.
For (0, 0), then J = 2 > 0 and fxx(0, 0) = โ 2 < 0. It is a local maximum. For (โ 1 , 1), then J = 4 > 0 and fxx(โ 1 , 1) = 0 and fyy(โ 1 , 1) = โ 1 < 0. It is a local maximum. For (1, 1), then J = โ4. It is a saddle point.
Let us consider the function f (x, y) = (x^2 + y) cos( ฯxy 2 ). What is the equation of the tangent plane of the graph at the point (x, y) = (1, 3). Does the plane pass through the origin?
Solution: The equation of the plane is by definition:
z โ z 0 = fx(x 0 , y 0 )(x โ x 0 ) + fy(x 0 , y 0 )(y โ y 0 ),
with x 0 = 1, y 0 = 3 and z 0 = f (x 0 , y 0 ) = (x^20 + y 0 ) cos( ฯx 20 y^0 ) = 4 cos( 32 ฯ ) = 0.
fx(x, y) = 2x cos(
ฯxy 2 ) โ (x^2 + y)
ฯy 2 sin(
ฯxy 2 ) โ fx(x 0 , y 0 ) = 6ฯ
fy(x, y) = cos( ฯxy 2
) โ (x^2 + y) ฯx 2
sin( ฯxy 2
) โ fy(x 0 , y 0 ) = 2ฯ
This gives the following equation for the plane:
z = 6ฯ(x โ 1) + 2ฯ(y โ 3).
The coordinates of the plane are (0, 0 , 0). Plugging this in the plane equation gives: 0 = โ 6 ฯ โ 6 ฯ = โ 12 ฯ which is obviously wrong. The origin is then not a point of the plane.
Let us consider the function f (x, y) = (^) xx 2 ++yy 2. a) Write the differential df of the function f (x, y). b) Knowing that x = r cos(ฮธ) and y = r sin(ฮธ) and using chain rule: find the partial deriva- tives โf โr and โf โฮธ. (express the result as a function of r and ฮธ). c) Compute the value of these partial derivatives at r = 1, ฮธ = ฯ 2.
Solution: a) df = fxdx + fydy, with
fx =
x^2 + y^2
โ 2 x x + y (x^2 + y^2 )^2
y^2 โ x^2 โ 2 xy (x^2 + y^2 )^2
fy =
x^2 + y^2 โ 2 y
x + y (x^2 + y^2 )^2
x^2 โ y^2 โ 2 xy (x^2 + y^2 )^2
This gives
df = y^2 โ x^2 โ 2 xy (x^2 + y^2 )^2 dx + x^2 โ y^2 โ 2 xy (x^2 + y^2 )^2 dy.
b) The chain rule gives: โf โr = fx โx โr + fy โy โr and โf โฮธ = fx โx โฮธ + fy โy โฮธ. Using x = r cos(ฮธ) and y = r sin(ฮธ). Therefore
โx โr = cos(ฮธ),^
โy โr = sin(ฮธ), โx โฮธ =^ โr^ sin(ฮธ),^
โy โฮธ =^ r^ cos(ฮธ).
and (remember that x^2 + y^2 = r^2 )
fx = y^2 โ x^2 โ 2 xy (x^2 + y^2 )^2
cos^2 (ฮธ) โ sin^2 (ฮธ) โ 2 cos(ฮธ) sin(ฮธ) r^2
fy = x^2 โ y^2 โ 2 xy (x^2 + y^2 )^2
sin^2 (ฮธ) โ cos^2 (ฮธ) โ 2 cos(ฮธ) sin(ฮธ) r^2
Then
โf โr
cos^2 (ฮธ) โ sin^2 (ฮธ) โ 2 cos(ฮธ) sin(ฮธ) r^2
cos(ฮธ) + sin^2 (ฮธ) โ cos^2 (ฮธ) โ 2 cos(ฮธ) sin(ฮธ) r^2
sin(ฮธ), โf โฮธ
cos^2 (ฮธ) โ sin^2 (ฮธ) โ 2 cos(ฮธ) sin(ฮธ) r^2 (โr sin(ฮธ)) +
sin^2 (ฮธ) โ cos^2 (ฮธ) โ 2 cos(ฮธ) sin(ฮธ) r^2 (r cos(ฮธ)).
c) Plugging r = 1 and ฮธ = ฯ/2 in the above expressions, we get
โf โr
โf โฮธ
Find the absolute maximum and minimum of the function f (x, y) = (x^2 + 1)(y^2 + 14 ) on the domain D = [โ 2 , 2] ร [โ 1 , 1]. Hint: you can use the fact that the boundaries y = โ1 and y = 1 are symmetric (so are x = โ 2 and x = 2).
Solution: We need to first look for the critical points such that โ~f = ใfx(x, y), fy (x, y)ใ = ~0. That is
fx(x, y) = 2x(y^2 +
) = 0 โ x = 0, fy(x, y) = 2y(x^2 + 1) = 0 โ y = 0.
There is only one critical point (0, 0) and
โฃโฃ fxx(0,^ 0)^ fxy(0,^ 0) fyx(0, 0) fyy (0, 0)
1 2 0 0 2
J > 0 and fxx(0, 0) = 1/ 2 > 0. The point (0, 0) is a local minimum and f (0, 0) = 14.
The domain D has 4 boundaries, but since the boundary y = โ1 is the same as y = 1 and x = โ2 is the same as x = 2 (f (x, y) depends on x^2 and y^2 , so the sign of x and y doesnโt matter). Let us look at the boundary D 1 = {โ 2 โค x โค 2 , y = โ 1 }. Then f (x, โ1) = 54 (x^2 + 1). This is parabola that has a minimum at x = 0 (draw quickly a graph to see this or compute the derivative). Therefore the minimum on this boundary is f (0, โ1) = 54 and the maximum must be either at x = โ2 or x = 2 and f (2, โ1) = f (โ 2 , โ1) = 254.
Let us look now at the boundary D 2 = {x = 2, โ 1 โค y โค 1 }. Then f (2, y) = 5(y^2 + 14 ). This is also parabola that has a minimum at y = 0. Therefore the minimum on this boundary is f (2, 0) = 54 and the maximum must be either at y = โ1 or y = 1 and f (2, โ1) = f (2, โ1) = 254.
Comparing all the maximums and minimums we found, we conclude that the absolute mini- mum occurs at (0, 0) with the value f (0, 0) = 54 and the absolute maximum occurs at the points (ยฑ 2 , ยฑ1) with the f (ยฑ 2 , ยฑ1) = 254.