Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Optimization / Constraints

Lagrange Multipliers and KKT

Optimizing on a constraint surface, and what the multipliers mean as prices.

3 min read · 2 sections · 1 checks

Contents 3 sections
  1. §1Tangent level curves
  2. §2Inequalities
  3. ?Check yourself

By the end you can

  • Solve equality-constrained problems with Lagrange multipliers
  • State the KKT conditions for inequality constraints
  • Interpret a multiplier as the sensitivity of the optimum

Helps to know: Optimality Conditions

§1Tangent level curves

At a constrained optimum, the level curve of ff just touches the constraint curve g=0g = 0, so their gradients are parallel:

∇f(x∗)=λ∇g(x∗),g(x∗)=0\nabla f(x^*) = \lambda \nabla g(x^*), \qquad g(x^*) = 0

Example 1Largest rectangle with perimeter 40

  1. Maximize xyxy subject to 2x+2y=402x + 2y = 40.

§2Inequalities

Check yourself

  1. Q1
    At a constrained optimum, ∇f\nabla f is…