Multivariable Calculus Quiz: Constrained Optimization
15 questions · exam conditions
0:00
Constrained OptimizationQuestion 1 of 15

An environmental sensor measures pollution concentration P(x,y)=100(x5)2(y5)2P(x,y) = 100 - (x-5)^2 - (y-5)^2 at location (x,y)(x,y). The sensor can only operate in a region RR defined by x0x \ge 0, y0y \ge 0, and x+2y16x+2y \ge 16. What is the maximum pollution concentration the sensor can record in the allowed region?

6666
9999
99.899.8
100100
← Back to quizzes

Multivariable Calculus Quiz

Multivariable Calculus Quiz: Constrained Optimization

Practice Constrained Optimization in Multivariable Calculus with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Constrained Optimization, giving you a quick way to practice the rules, question types, and explanations that matter most for Multivariable Calculus.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

An environmental sensor measures pollution concentration P(x,y)=100(x5)2(y5)2P(x,y) = 100 - (x-5)^2 - (y-5)^2 at location (x,y)(x,y). The sensor can only operate in a region RR defined by x0x \ge 0, y0y \ge 0, and x+2y16x+2y \ge 16. What is the maximum pollution concentration the sensor can record in the allowed region?

  1. 6666
  2. 9999
  3. 99.899.8 (correct answer)
  4. 100100
Explanation: The function P(x,y)P(x,y) is a downward-opening paraboloid with its unconstrained maximum of 100100 at (5,5)(5,5). We check if this point is in the allowed region RR. While 505 \ge 0 and 505 \ge 0, the third condition 5+2(5)=15165 + 2(5) = 15 \ge 16 is not satisfied. Thus, the maximum must occur on the boundary of RR. Since the level curves of PP are circles centered at (5,5)(5,5), the maximum value on RR will occur at the point in RR that is closest to (5,5)(5,5). This point must lie on the line x+2y=16x+2y=16. We minimize the squared distance d2=(x5)2+(y5)2d^2 = (x-5)^2 + (y-5)^2 subject to x+2y=16x+2y=16. Using Lagrange multipliers, 2(x5),2(y5)=λ1,2\langle 2(x-5), 2(y-5) \rangle = \lambda \langle 1, 2 \rangle. This gives 2(x5)=λ2(x-5)=\lambda and 2(y5)=2λ2(y-5)=2\lambda, which implies y5=2(x5)y-5 = 2(x-5), or y=2x5y=2x-5. Substituting into the constraint: x+2(2x5)=16    5x10=16    x=26/5=5.2x+2(2x-5)=16 \implies 5x-10=16 \implies x=26/5=5.2. Then y=2(5.2)5=5.4y=2(5.2)-5=5.4. At this point (5.2,5.4)(5.2, 5.4), the pollution is P(5.2,5.4)=100(5.25)2(5.45)2=1000.040.16=99.8P(5.2, 5.4) = 100 - (5.2-5)^2 - (5.4-5)^2 = 100 - 0.04 - 0.16 = 99.8. Checking the corners of the boundary, P(16,0)=46P(16,0) = -46 and P(0,8)=66P(0,8)=66, confirms that 99.899.8 is the maximum.

Question 2

Find the point on the plane x+y+z=6x+y+z=6 that is closest to the point P(1,1,1)P(1,1,1). Let this closest point be Q(x0,y0,z0)Q(x_0, y_0, z_0). What is the value of x0+y0x_0+y_0?

  1. 22
  2. 33
  3. 44 (correct answer)
  4. 55
Explanation: We want to find the point Q(x0,y0,z0)Q(x_0, y_0, z_0) on the plane that minimizes the distance to P(1,1,1)P(1,1,1). This is equivalent to minimizing the squared distance f(x,y,z)=(x1)2+(y1)2+(z1)2f(x,y,z) = (x-1)^2 + (y-1)^2 + (z-1)^2 subject to the constraint g(x,y,z)=x+y+z6=0g(x,y,z) = x+y+z-6=0. The vector from QQ to PP, QP=1x,1y,1z\vec{QP} = \langle 1-x, 1-y, 1-z \rangle, must be parallel to the plane's normal vector, n=1,1,1\vec{n}=\langle 1,1,1 \rangle. Thus, there is a scalar kk such that QP=kn\vec{QP} = k\vec{n}. This gives 1x=k1-x=k, 1y=k1-y=k, and 1z=k1-z=k. So x=1kx=1-k, y=1ky=1-k, and z=1kz=1-k. Since QQ is on the plane, its coordinates must sum to 6: (1k)+(1k)+(1k)=6    33k=6    3k=3    k=1(1-k) + (1-k) + (1-k) = 6 \implies 3-3k=6 \implies -3k=3 \implies k=-1. The coordinates of the point QQ are x0=1(1)=2x_0 = 1-(-1)=2, y0=1(1)=2y_0=1-(-1)=2, and z0=1(1)=2z_0=1-(-1)=2. The question asks for the value of x0+y0x_0+y_0, which is 2+2=42+2=4.

Question 3

The function f(x,y)=xyf(x,y) = xy is to be maximized subject to the constraint (x1)2+y2=1(x-1)^2 + y^2 = 1. The Lagrange multiplier method yields two critical points. One point gives the maximum value and the other gives the minimum value. What is the minimum value?

  1. 32-\frac{\sqrt{3}}{2}
  2. 00
  3. 1-1
  4. 334-\frac{3\sqrt{3}}{4} (correct answer)
Explanation: When you encounter a constrained optimization problem like this, you're dealing with the method of Lagrange multipliers, which finds extrema of a function subject to a constraint by solving f=λg\nabla f = \lambda \nabla g where g(x,y)=0g(x,y) = 0 is your constraint. Here, you want to optimize f(x,y)=xyf(x,y) = xy subject to (x1)2+y2=1(x-1)^2 + y^2 = 1 (a circle centered at (1,0)(1,0) with radius 1). Setting up the Lagrangian: f=(y,x)\nabla f = (y,x) and g=(2(x1),2y)\nabla g = (2(x-1), 2y), so you need y=2λ(x1)y = 2\lambda(x-1) and x=2λyx = 2\lambda y. From the second equation, λ=x2y\lambda = \frac{x}{2y} (assuming y0y \neq 0). Substituting into the first: y=2x2y(x1)=x(x1)yy = 2 \cdot \frac{x}{2y} \cdot (x-1) = \frac{x(x-1)}{y}, which gives y2=x(x1)y^2 = x(x-1). Using the constraint (x1)2+y2=1(x-1)^2 + y^2 = 1 and substituting: (x1)2+x(x1)=1(x-1)^2 + x(x-1) = 1. Let u=x1u = x-1, so u2+(u+1)u=1u^2 + (u+1)u = 1, which simplifies to 2u2+u1=02u^2 + u - 1 = 0. This factors as (2u1)(u+1)=0(2u-1)(u+1) = 0, giving u=12u = \frac{1}{2} or u=1u = -1. This yields x=32,y=±32x = \frac{3}{2}, y = \pm\frac{\sqrt{3}}{2} and x=0,y=0x = 0, y = 0. The function values are f(32,±32)=±334f\left(\frac{3}{2}, \pm\frac{\sqrt{3}}{2}\right) = \pm\frac{3\sqrt{3}}{4} and f(0,0)=0f(0,0) = 0. The minimum is 334-\frac{3\sqrt{3}}{4} (choice D). Choice A represents a calculation error, choice B is the value at one critical point but not the minimum, and choice C likely comes from misunderstanding the constraint geometry. Strategy tip: Always evaluate your function at all critical points found via Lagrange multipliers to identify which gives the maximum versus minimum.

Question 4

A factory's daily production is modeled by the Cobb-Douglas function Q(K,L)=60K1/3L2/3Q(K, L) = 60 K^{1/3} L^{2/3}, where KK is the capital investment in units of $1,000 and LL is the labor input in worker-hours. The budget constraint is given by 10K+20L=600010K + 20L = 6000. For the values of KK and LL that maximize production, the Lagrange multiplier λ\lambda represents the marginal productivity of money (the rate of change of maximum production with respect to the budget). What is the approximate increase in maximum production if the budget is increased by one dollar?

  1. 0.50.5
  2. 22 (correct answer)
  3. 200200
  4. 1200012000
Explanation: We want to maximize Q(K,L)Q(K, L) subject to the constraint g(K,L)=10K+20L=6000g(K, L) = 10K + 20L = 6000. We set Q=λg\nabla Q = \lambda \nabla g. The gradients are Q=20(L/K)2/3,40(K/L)1/3\nabla Q = \langle 20(L/K)^{2/3}, 40(K/L)^{1/3} \rangle and g=10,20\nabla g = \langle 10, 20 \rangle. This gives the system: 20(L/K)2/3=10λ20(L/K)^{2/3} = 10\lambda and 40(K/L)1/3=20λ40(K/L)^{1/3} = 20\lambda. Dividing the second equation by the first gives 2(K/L)=22(K/L) = 2, which simplifies to K=LK=L. Substituting this into the budget constraint: 10K+20K=600010K + 20K = 6000, which gives 30K=600030K=6000, so K=200K=200 and L=200L=200. To find λ\lambda, we substitute these values back into one of the gradient equations: 40(200/200)1/3=20λ40(200/200)^{1/3} = 20\lambda, which simplifies to 40(1)=20λ40(1) = 20\lambda, so λ=2\lambda=2. The value of λ\lambda is the marginal productivity of money, so an increase of $1 in the budget results in an approximate increase of 2 units in production.

Question 5

To find the extreme values of f(x,y,z)=x2+y2+z2f(x,y,z) = x^2+y^2+z^2 subject to the constraint g(x,y,z)=x2+y2z2=0g(x,y,z) = x^2+y^2-z^2=0, a student sets up the Lagrange multiplier system f=λg\nabla f = \lambda \nabla g. This leads to the equations 2x=λ(2x)2x=\lambda(2x), 2y=λ(2y)2y=\lambda(2y), and 2z=λ(2z)2z=\lambda(-2z). Which of the following describes the set of points satisfying this system and the constraint?

  1. The system has no solution.
  2. Only the point (0,0,0)(0,0,0). (correct answer)
  3. The points on the circle x2+y2=1x^2+y^2=1 in the plane z=1z=1.
  4. The point (0,0,0)(0,0,0) and the points on the circle x2+y2=1x^2+y^2=1 in the plane z=1z=-1.
Explanation: The Lagrange multiplier system is: (1) 2x(1λ)=02x(1-\lambda)=0, (2) 2y(1λ)=02y(1-\lambda)=0, (3) 2z(1+λ)=02z(1+\lambda)=0. From (1), either x=0x=0 or λ=1\lambda=1. From (2), either y=0y=0 or λ=1\lambda=1. From (3), either z=0z=0 or λ=1\lambda=-1. Case 1: λ=1\lambda=1. Then equation (3) becomes 2z(2)=02z(2)=0, so z=0z=0. The constraint is x2+y2z2=0x^2+y^2-z^2=0, which becomes x2+y2=0x^2+y^2=0. This implies x=0x=0 and y=0y=0. So we get the point (0,0,0)(0,0,0). Case 2: λ=1\lambda=-1. Then equations (1) and (2) become 2x(2)=02x(2)=0 and 2y(2)=02y(2)=0, which implies x=0x=0 and y=0y=0. The constraint x2+y2z2=0x^2+y^2-z^2=0 gives 0z2=00-z^2=0, so z=0z=0. Again, we get the point (0,0,0)(0,0,0). Case 3: λ1\lambda \neq 1 and λ1\lambda \neq -1. Then x=0x=0, y=0y=0, and z=0z=0. So all cases lead to the single point (0,0,0)(0,0,0). This point satisfies the constraint 02+0202=00^2+0^2-0^2=0. Therefore, (0,0,0)(0,0,0) is the only point that satisfies the system. The method of Lagrange multipliers requires g0\nabla g \neq \vec{0}. At (0,0,0)(0,0,0), g=2x,2y,2z=0,0,0\nabla g = \langle 2x, 2y, -2z \rangle = \langle 0,0,0 \rangle. The method technically fails at this point, but it's the only solution candidate derived from the algebraic system.

Question 6

Consider the problem of finding the extreme values of a differentiable function f(x,y)f(x,y) subject to a constraint g(x,y)=cg(x,y)=c. The method of Lagrange multipliers is applied, yielding several candidate points (xi,yi)(x_i, y_i). Under which of the following conditions is the method guaranteed to have found the absolute maximum and minimum values of ff?

  1. The function f(x,y)f(x,y) has a second derivative that is always negative.
  2. The Lagrange multiplier λ\lambda has the same sign at all candidate points.
  3. The gradient g\nabla g is never the zero vector at any candidate point.
  4. The constraint curve g(x,y)=cg(x,y)=c is a closed and bounded set. (correct answer)
Explanation: When you encounter Lagrange multiplier problems asking about guaranteed absolute extrema, focus on the compactness of the constraint set. The method of Lagrange multipliers finds critical points, but additional conditions are needed to ensure these include absolute maximum and minimum values. The correct answer is D because of the Extreme Value Theorem. When the constraint curve g(x,y)=cg(x,y) = c forms a closed and bounded set, the continuous function ff restricted to this constraint must attain its absolute maximum and minimum values somewhere on the curve. Since Lagrange multipliers finds all critical points where extrema can occur on smooth constraint curves, the method is guaranteed to locate these absolute extrema among its candidate points. Option A is incorrect because the second derivative condition for ff (concavity) doesn't guarantee that absolute extrema exist on the constraint set—it only tells you about the nature of critical points if they exist. Option B misunderstands the role of λ\lambda; the sign of the Lagrange multiplier indicates whether you're at a local maximum or minimum relative to the constraint, but having the same sign at all points doesn't guarantee absolute extrema exist. Option C identifies a necessary condition for the method to work properly (avoiding degenerate cases), but this alone doesn't ensure absolute extrema exist. Remember: Lagrange multipliers finds candidates for extrema, but you need the constraint set to be compact (closed and bounded) to guarantee that absolute maximum and minimum values actually exist for the continuous function to find.

Question 7

A particle is constrained to move on the surface x2+y2+z2=25x^2 + y^2 + z^2 = 25. The temperature at any point is given by T(x,y,z)=x2+y2z2T(x,y,z) = x^2 + y^2 - z^2. What is the minimum temperature experienced by the particle?

  1. 25-25 (correct answer)
  2. 50-50
  3. 00
  4. 2525
Explanation: We want to minimize T(x,y,z)=x2+y2z2T(x,y,z) = x^2 + y^2 - z^2 subject to x2+y2+z2=25x^2 + y^2 + z^2 = 25. Using the constraint, we can write x2+y2=25z2x^2 + y^2 = 25 - z^2, so T=(25z2)z2=252z2T = (25 - z^2) - z^2 = 25 - 2z^2. Since we're on the sphere, 5z5-5 \leq z \leq 5. To minimize TT, we need to maximize z2z^2, which occurs when z=±5z = \pm 5. When z=±5z = \pm 5, we have x2+y2=0x^2 + y^2 = 0, so x=y=0x = y = 0. The minimum temperature is T(0,0,±5)=0+025=25T(0,0,\pm 5) = 0 + 0 - 25 = -25.

Question 8

Consider the optimization problem: maximize f(x,y,z)=xyzf(x,y,z) = xyz subject to x+2y+3z=12x + 2y + 3z = 12 where x,y,z>0x,y,z > 0. At the optimal point, what is the ratio x:y:zx:y:z?

  1. 1:1:11:1:1
  2. 6:3:26:3:2 (correct answer)
  3. 3:3:23:3:2
  4. 2:2:12:2:1
Explanation: Using Lagrange multipliers: f=λg\nabla f = \lambda \nabla g where g(x,y,z)=x+2y+3z12g(x,y,z) = x + 2y + 3z - 12. This gives us yz=λyz = \lambda, xz=2λxz = 2\lambda, and xy=3λxy = 3\lambda. From these equations: xzyz=2λλ=2\frac{xz}{yz} = \frac{2\lambda}{\lambda} = 2, so x=2yx = 2y. Similarly, xyyz=3λλ=3\frac{xy}{yz} = \frac{3\lambda}{\lambda} = 3, so x=3zx = 3z. Therefore, x=2y=3zx = 2y = 3z. Let z=tz = t, then y=3t2y = \frac{3t}{2} and x=3tx = 3t. Substituting into the constraint: 3t+2(3t2)+3t=123t + 2(\frac{3t}{2}) + 3t = 12, so 3t+3t+3t=9t=123t + 3t + 3t = 9t = 12, giving t=43t = \frac{4}{3}. Thus z=43z = \frac{4}{3}, y=2y = 2, and x=4x = 4. The ratio is x:y:z=4:2:43=6:3:2x:y:z = 4:2:\frac{4}{3} = 6:3:2.

Question 9

Find the maximum value of f(x,y)=xyf(x,y) = xy subject to the constraint x2+4y2=8x^2 + 4y^2 = 8 where x>0x > 0 and y>0y > 0.

  1. 11
  2. 22 (correct answer)
  3. 44
  4. 2\sqrt{2}
Explanation: Using Lagrange multipliers, we need f=λg\nabla f = \lambda \nabla g where g(x,y)=x2+4y28g(x,y) = x^2 + 4y^2 - 8. This gives us y=λ2xy = \lambda \cdot 2x and x=λ8yx = \lambda \cdot 8y. From the first equation, λ=y/(2x)\lambda = y/(2x). Substituting into the second: x=y2x8y=4y2xx = \frac{y}{2x} \cdot 8y = \frac{4y^2}{x}, so x2=4y2x^2 = 4y^2. Since x,y>0x, y > 0, we have x=2yx = 2y. Substituting into the constraint: (2y)2+4y2=8(2y)^2 + 4y^2 = 8, so 8y2=88y^2 = 8, giving y=1y = 1 and x=2x = 2. Therefore, the maximum value is f(2,1)=21=2f(2,1) = 2 \cdot 1 = 2.

Question 10

What is the absolute maximum value of the function f(x,y)=2x2+y2yf(x, y) = 2x^2 + y^2 - y on the disk D={(x,y)x2+y21}D = \{(x, y) | x^2 + y^2 \leq 1\}?

  1. 9/49/4 (correct answer)
  2. 22
  3. 00
  4. 1/4-1/4
Explanation: First, we find critical points in the interior of the disk. f=4x,2y1=0,0\nabla f = \langle 4x, 2y-1 \rangle = \langle 0, 0 \rangle yields the point (0,1/2)(0, 1/2). Since 02+(1/2)2=1/4<10^2 + (1/2)^2 = 1/4 < 1, this point is in the interior. The value is f(0,1/2)=(1/2)21/2=1/4f(0, 1/2) = (1/2)^2 - 1/2 = -1/4. Next, we find extrema on the boundary x2+y2=1x^2+y^2=1. We can substitute x2=1y2x^2 = 1-y^2 into ff to get a function of yy: h(y)=2(1y2)+y2y=y2y+2h(y) = 2(1-y^2) + y^2 - y = -y^2 - y + 2, for y[1,1]y \in [-1, 1]. To find the maximum of this quadratic on the interval, we check the critical point and the endpoints. h(y)=2y1=0h'(y) = -2y-1 = 0 gives y=1/2y = -1/2. The value is h(1/2)=(1/2)2(1/2)+2=1/4+1/2+2=9/4h(-1/2) = -(-1/2)^2 - (-1/2) + 2 = -1/4+1/2+2 = 9/4. At the endpoints, h(1)=1(1)+2=2h(-1) = -1 - (-1) + 2 = 2 and h(1)=11+2=0h(1) = -1 - 1 + 2 = 0. Comparing all candidate values (1/4,9/4,2,0-1/4, 9/4, 2, 0), the absolute maximum is 9/49/4.

Question 11

Find the maximum value of f(x,y,z)=xf(x, y, z) = x on the intersection of the sphere x2+y2+z2=36x^2 + y^2 + z^2 = 36 and the plane x2y+2z=18x - 2y + 2z = 18.

  1. 22 (correct answer)
  2. 44
  3. 66
  4. No maximum exists because the intersection is empty.
Explanation: First, determine the nature of the intersection. The constraint is the intersection of a sphere centered at the origin with radius R=6R=6 and a plane. The distance from the sphere's center (0,0,0)(0,0,0) to the plane x2y+2z18=0x - 2y + 2z - 18 = 0 is d=1(0)2(0)+2(0)18/12+(2)2+22=18/9=18/3=6d = |1(0) - 2(0) + 2(0) - 18| / \sqrt{1^2 + (-2)^2 + 2^2} = |-18| / \sqrt{9} = 18/3 = 6. Since the distance from the center to the plane is equal to the radius of the sphere, the plane is tangent to the sphere at a single point. Therefore, the constraint set consists of only one point. The function f(x,y,z)=xf(x, y, z) = x is evaluated at this single point. The point of tangency is found by moving from the origin along the plane's normal vector n=1,2,2\vec{n}=\langle 1, -2, 2 \rangle by a distance of the radius, 6. The unit normal is n^=1/3,2/3,2/3\hat{n} = \langle 1/3, -2/3, 2/3 \rangle. The point is 6n^=(2,4,4)6 \hat{n} = (2, -4, 4). Alternatively, solve for the point of tangency by substituting x=t,y=2t,z=2tx=t, y=-2t, z=2t into the plane equation: t2(2t)+2(2t)=18    9t=18    t=2t-2(-2t)+2(2t)=18 \implies 9t=18 \implies t=2. So the point is (2,4,4)(2,-4,4). For this single point, the value of f(x,y,z)=xf(x,y,z)=x is 2. This is trivially the maximum and minimum value. Distractor D is incorrect because the intersection is not empty.

Question 12

A rectangular box with no top is to be constructed from 12 square meters of cardboard. What is the maximum possible volume of such a box?

  1. 2 m32 \text{ m}^3
  2. 4 m34 \text{ m}^3 (correct answer)
  3. 6 m36 \text{ m}^3
  4. 8 m38 \text{ m}^3
Explanation: Let the dimensions of the base be xx and yy, and the height be zz. The volume is V=xyzV = xyz. The surface area of the base is xyxy and the area of the four sides is 2xz+2yz2xz + 2yz. Since there is no top, the total surface area is A=xy+2xz+2yz=12A = xy + 2xz + 2yz = 12. We want to maximize V(x,y,z)=xyzV(x,y,z) = xyz subject to this constraint. Using Lagrange multipliers, V=λA\nabla V = \lambda \nabla A. This gives yz,xz,xy=λy+2z,x+2z,2x+2y\langle yz, xz, xy \rangle = \lambda \langle y+2z, x+2z, 2x+2y \rangle. The system is: (1) yz=λ(y+2z)yz = \lambda(y+2z), (2) xz=λ(x+2z)xz = \lambda(x+2z), (3) xy=λ(2x+2y)xy = \lambda(2x+2y). From (1) and (2), we can deduce yzy+2z=xzx+2z\frac{yz}{y+2z} = \frac{xz}{x+2z} (assuming non-zero denominators). Since z0z \neq 0 for a box, y(x+2z)=x(y+2z)y(x+2z) = x(y+2z), which simplifies to xy+2yz=xy+2xzxy+2yz = xy+2xz, so 2yz=2xz2yz=2xz. Since z0z \neq 0, we have x=yx=y. Substitute x=yx=y into (3): x2=λ(4x)x^2 = \lambda(4x). Since x0x \neq 0, x=4λx=4\lambda. Substitute x=yx=y into (1): xz=λ(x+2z)xz = \lambda(x+2z). Substitute x=4λx=4\lambda: (4λ)z=λ(4λ+2z)(4\lambda)z = \lambda(4\lambda+2z). Since λ0\lambda \neq 0, 4z=4λ+2z4z = 4\lambda+2z, which means 2z=4λ2z = 4\lambda, so z=2λz=2\lambda. Thus, we have x=y=4λx=y=4\lambda and z=2λz=2\lambda, which means x=y=2zx=y=2z. Substitute this into the area constraint: x(x)+2x(x/2)+2x(x/2)=12    x2+x2+x2=12    3x2=12    x2=4    x=2x(x) + 2x(x/2) + 2x(x/2) = 12 \implies x^2 + x^2 + x^2 = 12 \implies 3x^2 = 12 \implies x^2=4 \implies x=2. Then y=2y=2 and z=1z=1. The maximum volume is V=(2)(2)(1)=4 m3V = (2)(2)(1) = 4 \text{ m}^3.

Question 13

Find the maximum value of the function f(x,y,z)=x2+y2+z2f(x, y, z) = x^2 + y^2 + z^2 on the curve of intersection of the cylinder x2+y2=1x^2 + y^2 = 1 and the plane x+y+z=1x + y + z = 1.

  1. 11
  2. 4224 - 2\sqrt{2}
  3. 4+224 + 2\sqrt{2} (correct answer)
  4. 1+21 + \sqrt{2}
Explanation: We use Lagrange multipliers with two constraints, g(x,y,z)=x2+y21=0g(x,y,z) = x^2+y^2-1=0 and h(x,y,z)=x+y+z1=0h(x,y,z)=x+y+z-1=0. The system is f=λg+μh\nabla f = \lambda \nabla g + \mu \nabla h, which gives: 2x=λ(2x)+μ(1)2x = \lambda(2x) + \mu(1), 2y=λ(2y)+μ(1)2y = \lambda(2y) + \mu(1), and 2z=μ(1)2z = \mu(1). From the first two equations, 2x(1λ)=μ2x(1-\lambda) = \mu and 2y(1λ)=μ2y(1-\lambda)=\mu. If λ1\lambda \neq 1, then x=yx=y. Substituting into x2+y2=1x^2+y^2=1 gives 2x2=12x^2=1, so x=y=±1/2x=y=\pm 1/\sqrt{2}. From x+y+z=1x+y+z=1, we find two points: (1/2,1/2,12)(1/\sqrt{2}, 1/\sqrt{2}, 1-\sqrt{2}) and (1/2,1/2,1+2)(-1/\sqrt{2}, -1/\sqrt{2}, 1+\sqrt{2}). If λ=1\lambda = 1, then μ=0\mu=0, which implies z=0z=0. Then x+y=1x+y=1 and x2+y2=1x^2+y^2=1, giving points (1,0,0)(1,0,0) and (0,1,0)(0,1,0). We evaluate ff at these four candidate points. Note f=x2+y2+z2=1+z2f = x^2+y^2+z^2 = 1+z^2. For the first two points, f=1+(12)2=422f = 1+(1-\sqrt{2})^2 = 4-2\sqrt{2} and f=1+(1+2)2=4+22f = 1+(1+\sqrt{2})^2 = 4+2\sqrt{2}. For the last two points, f=1+02=1f = 1+0^2=1. Comparing these values, the maximum is 4+224+2\sqrt{2}.

Question 14

Let f(x,y)=x33xy2f(x,y) = x^3 - 3x - y^2. Find the maximum value of ff on the line segment defined by x=2x=2 and 2y2-2 \le y \le 2.

  1. 22 (correct answer)
  2. 11
  3. 2-2
  4. 3-3
Explanation: This is a constrained optimization problem, but it can be solved by parameterization. The constraint is the line segment where x=2x=2 and yy varies from 2-2 to 22. We substitute x=2x=2 into the function f(x,y)f(x,y) to get a function of a single variable, yy: h(y)=f(2,y)=233(2)y2=86y2=2y2h(y) = f(2,y) = 2^3 - 3(2) - y^2 = 8 - 6 - y^2 = 2 - y^2. We need to find the maximum value of h(y)=2y2h(y) = 2 - y^2 on the interval [2,2][-2, 2]. The derivative is h(y)=2yh'(y) = -2y. Setting h(y)=0h'(y)=0 gives y=0y=0, which is a critical point within the interval. We evaluate h(y)h(y) at this critical point and at the endpoints of the interval: h(0)=202=2h(0) = 2 - 0^2 = 2. h(2)=2(2)2=24=2h(-2) = 2 - (-2)^2 = 2 - 4 = -2. h(2)=222=24=2h(2) = 2 - 2^2 = 2 - 4 = -2. The maximum value among these is 2. A student might try to find unconstrained critical points of f(x,y)f(x,y): f=3x23,2y=0,0\nabla f = \langle 3x^2-3, -2y \rangle = \langle 0,0 \rangle, which gives (1,0)(1,0) and (1,0)(-1,0). These points are not on the constraint line x=2x=2.

Question 15

Let QQ be the point on the surface of the paraboloid z=x2+y2z = x^2 + y^2 that is closest to the point P(0,0,5)P(0, 0, 5). Which of the following statements correctly describes the vector PQ\vec{PQ}?

  1. The vector PQ\vec{PQ} is parallel to the normal vector of the paraboloid at point QQ. (correct answer)
  2. The vector PQ\vec{PQ} is perpendicular to the normal vector of the paraboloid at point QQ.
  3. The vector PQ\vec{PQ} is parallel to the xyxy-plane.
  4. The point QQ is the vertex of the paraboloid, (0,0,0)(0, 0, 0).
Explanation: To find the point Q(x,y,z)Q(x, y, z) on the paraboloid closest to P(0,0,5)P(0, 0, 5), we minimize the square of the distance function f(x,y,z)=x2+y2+(z5)2f(x, y, z) = x^2 + y^2 + (z-5)^2 subject to the constraint g(x,y,z)=x2+y2z=0g(x, y, z) = x^2 + y^2 - z = 0. Using the method of Lagrange multipliers, we set f=λg\nabla f = \lambda \nabla g. The gradient of ff is f=2x,2y,2(z5)\nabla f = \langle 2x, 2y, 2(z-5) \rangle, which is twice the vector QP=x,y,z5=PQ\vec{QP} = \langle x, y, z-5 \rangle = -\vec{PQ}. The gradient of gg is g=2x,2y,1\nabla g = \langle 2x, 2y, -1 \rangle, which is a normal vector to the surface at (x,y,z)(x, y, z). The condition f=λg\nabla f = \lambda \nabla g implies that QP\vec{QP} is parallel to g\nabla g. Therefore, the vector PQ\vec{PQ} is parallel to the normal vector of the paraboloid at point QQ. Explicitly solving, we find that the minimum distance occurs for all points on the circle x2+y2=4.5x^2+y^2=4.5 at height z=4.5z=4.5, not at the vertex (0,0,0)(0,0,0).