Skip to content
← All questions

How do you solve the Lagrange multiplier system for the objective function f(x,y)=x2+y2f(x,y) = x^2 + y^2 and the constraint g(x,y)=x2+y2/2−1=0g(x,y) = x^2 + y^2/2 - 1 = 0?

You solve the system by setting up the equations ∇f=λ∇g\nabla f = \lambda \nabla g alongside the constraint g(x,y)=0g(x,y)=0. For these specific functions, this yields 2x=λ(2x)2x = \lambda(2x), 2y=λ(y)2y = \lambda(y), and x2+y2/2−1=0x^2 + y^2/2 - 1 = 0. Solving these algebraic equations produces four critical points: (0,2)(0, \sqrt{2}), (0,−2)(0, -\sqrt{2}), (1,0)(1, 0), and (−1,0)(-1, 0).

Conditions

  • The objective function is f(x,y)=x2+y2f(x,y) = x^2 + y^2.
  • The constraint function is g(x,y)=x2+y2/2−1=0g(x,y) = x^2 + y^2/2 - 1 = 0.
  • The Lagrange multiplier condition ∇f=λ∇g\nabla f = \lambda \nabla g is applied.

Reasoning, step by step

  1. Calculate the gradients: ∇f=⟨2x,2y⟩\nabla f = \langle 2x, 2y \rangle and ∇g=⟨2x,y⟩\nabla g = \langle 2x, y \rangle.
  2. Set up the component equations: 2x=λ(2x)2x = \lambda(2x) and 2y=λ(y)2y = \lambda(y).
  3. Include the constraint equation: x2+y2/2−1=0x^2 + y^2/2 - 1 = 0.
  4. Solve the system of three equations for xx, yy, and λ\lambda.
  5. Identify the resulting critical points: (0,2)(0, \sqrt{2}), (0,−2)(0, -\sqrt{2}), (1,0)(1, 0), and (−1,0)(-1, 0).

Example

The video explicitly shows the equations 2x=λ(2x)2x = \lambda(2x) and 2y=λ(y)2y = \lambda(y) combined with the constraint. It then states that solving this system yields the four points (0,2)(0, \sqrt{2}), (0,−2)(0, -\sqrt{2}), (1,0)(1, 0), and (−1,0)(-1, 0).

Common misconceptions

  • Forgetting to include the original constraint equation in the system.
  • Assuming λ\lambda must be positive, when it can be negative or zero depending on the geometry.

Watch the explanation

Connected concepts

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.