Back to Constrained Optimization: Lagrange Multipliers

Exercise 15

Avg difficulty 2.5

In this exercise we consider how to apply the Method of Lagrange Multipliers to optimize functions of three variable subject to two constraints. Suppose we want to optimize f=f(x,y,z)f = f(x,y,z) subject to the constraints g(x,y,z)=cg(x,y,z) = c and h(x,y,z)=kh(x,y,z) = k. Also suppose that the two level surfaces g(x,y,z)=cg(x,y,z) = c and h(x,y,z)=kh(x,y,z) = k intersect at a curve CC. The optimum point P=(x0,y0,z0)P = (x_0,y_0,z_0) will then lie on CC.

  1. Assume that CC can be represented parametrically by a vector-valued function r⃗=r⃗(t)\vr = \vr(t). Let OP→=r⃗(t0)\overrightarrow{OP} = \vr(t_0). Use the Chain Rule applied to f(r⃗(t))f(\vr(t)), g(r⃗(t))g(\vr(t)), and h(r⃗(t))h(\vr(t)), to explain why ∇f(x0,y0,z0)⋅r⃗′(t0)=0,∇g(x0,y0,z0)⋅r⃗′(t0)=0, and ∇h(x0,y0,z0)⋅r⃗′(t0)=0.\begin{aligned} \nabla f(x_0,y_0,z_0) \cdot \vr'(t_0) & = 0, \\ \nabla g(x_0,y_0,z_0) \cdot \vr'(t_0) & = 0, \text{ and } \\ \nabla h(x_0,y_0,z_0) \cdot \vr'(t_0) & = 0. \end{aligned} Explain how this shows that ∇f(x0,y0,z0)\nabla f(x_0,y_0,z_0), ∇g(x0,y0,z0)\nabla g(x_0,y_0,z_0), and ∇h(x0,y0,z0)\nabla h(x_0,y_0,z_0) are all orthogonal to CC at PP. This shows that ∇f(x0,y0,z0)\nabla f(x_0,y_0,z_0), ∇g(x0,y0,z0)\nabla g(x_0,y_0,z_0), and ∇h(x0,y0,z0)\nabla h(x_0,y_0,z_0) all lie in the same plane.

  2. Assuming that ∇g(x0,y0,z0)\nabla g(x_0,y_0,z_0) and ∇h(x0,y0,z0)\nabla h(x_0,y_0,z_0) are nonzero and not parallel, explain why every point in the plane determined by ∇g(x0,y0,z0)\nabla g(x_0,y_0,z_0) and ∇h(x0,y0,z0)\nabla h(x_0,y_0,z_0) has the form s∇g(x0,y0,z0)+t∇h(x0,y0,z0)s\nabla g(x_0,y_0,z_0)+t\nabla h(x_0,y_0,z_0) for some scalars ss and tt.

  3. Parts (a.) and (b.) show that there must exist scalars λ\lambda and μ\mu such that ∇f(x0,y0,z0)=λ∇g(x0,y0,z0)+μ∇h(x0,y0,z0).\begin{gathered} \nabla f(x_0,y_0,z_0) = \lambda \nabla g(x_0,y_0,z_0)+ \mu \nabla h(x_0,y_0,z_0). \end{gathered} So to optimize f=f(x,y,z)f = f(x,y,z) subject to the constraints g(x,y,z)=cg(x,y,z) = c and h(x,y,z)=kh(x,y,z) = k we must solve the system of equations ∇f(x,y,z)=λ∇g(x,y,z)+μ∇h(x,y,z),g(x,y,z)=c, and h(x,y,z)=k.\begin{aligned} \nabla f(x,y,z) & = \lambda \nabla g(x,y,z)+ \mu \nabla h(x,y,z), \\ g(x,y,z) & = c, \text{ and } \\ h(x,y,z) & = k. \end{aligned} for xx, yy, zz, λ\lambda, and μ\mu.

    Use this idea to find the maximum and minimum values of f(x,y,z)=x+2yf(x,y,z) = x+2y subject to the constraints y2+z2=8y^2+z^2=8 and x+y+z=10x+y+z = 10.

Long, Keller & Schlicker, Active Calculus Multivariable, §11.11 Constrained Optimization: Lagrange Multipliers, Exercise 15

AI Tutor

Adapted from Active Calculus Multivariable © 2013–2026 Nicholas Long, Mitchel T. Keller, and Steven Schlicker. Licensed under CC BY-SA 4.0. Source: Active Calculus Multivariable. Imported at revision 692c03c.