Back to Constrained Optimization: Lagrange Multipliers

Exercise 16

Avg difficulty 2.5

There is a useful interpretation of the Lagrange multiplier λ\lambda. Assume that we want to optimize a function ff with constraint g(x,y)=cg(x,y)=c. Recall that an optimal solution occurs at a point (x0,y0)(x_0, y_0) where ∇f=λ∇g\nabla f = \lambda \nabla g. As the constraint changes, so does the point at which the optimal solution occurs. So we can think of the optimal point as a function of the parameter cc, that is x0=x0(c)x_0 = x_0(c) and y0=y0(c)y_0=y_0(c). The optimal value of ff subject to the constraint can then be considered as a function of cc defined by f(x0(c),y0(c))f(x_0(c), y_0(c)). The Chain Rule shows that dfdc=∂f∂x0dx0dc+∂f∂y0dy0dc.\begin{gathered} \frac{df}{dc} = \frac{\partial f}{\partial x_0} \frac{dx_0}{dc} + \frac{\partial f}{\partial y_0} \frac{dy_0}{dc}. \end{gathered}

  1. Use the fact that ∇f=λ∇g\nabla f = \lambda \nabla g at (x0,y0)(x_0,y_0) to explain why dfdc=λdgdc.\begin{gathered} \frac{df}{dc} = \lambda \frac{dg}{dc}. \end{gathered}

  2. Use the fact that g(x,y)=cg(x,y) = c to show that dfdc=λ.\begin{gathered} \frac{df}{dc} = \lambda. \end{gathered} Conclude that λ\lambda tells us the rate of change of the function ff as the parameter cc increases. In other words, the value of λ\lambda is approximately how much the optimal value of the function ff will change if we increase the value of cc by 1 unit.

  3. In this example, we did not explicity calculate the value of λ\lambda for our maximum value of the objective function. Use our work in this example to find the value of λ\lambda and explain in context of our Preview Activity what the value λ\lambda tells us about the package.

  4. Suppose that the maximum value of a function f=f(x,y)f = f(x,y) subject to a constraint g(x,y)=100g(x,y) = 100 is 236236. When using the method of Lagrange multipliers and solving ∇f=λ∇g\nabla f = \lambda \nabla g, we obtain a value of λ=15\lambda = 15 at this maximum. Find an approximation to the maximum value of ff subject to the constraint g(x,y)=98g(x,y) = 98.

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

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.