Optimization formula reference

Lagrange Multiplier Condition

States the first-order condition for an equality-constrained extremum with one regular constraint.

Open in editor
LaTeX\nabla f(x)=\lambda\nabla g(x)

Variables

  • f: objective
  • g: equality constraint
  • λ: Lagrange multiplier

How to use this formula

States the first-order condition for an equality-constrained extremum with one regular constraint.

Important notes

  • Constraint qualification is required.
  • Multiple constraints use a sum of multiplier-weighted gradients.

Quick example

Optimize f subject to g=0 by solving ∇f=λ∇g together with g=0.

Applicability, worked calculation, and verification

Assumptions and domain checks

  • Constraint qualification is required.
  • Specify the objective, constraints, feasible domain, and any convexity or differentiability assumptions used to justify the result.

Worked example

Input

Output

Optimize f subject to g=0 by solving ∇f=λ∇g together with g=0.

Common mistakes

  • Before substituting values into Lagrange Multiplier Condition, map each variable to its definition and preserve every sign, exponent, subscript, and grouping mark.
  • Do not treat a stationary point as a global optimum without checking constraints, boundaries, and the required optimality conditions.

Continue the workflow

Use Lagrange Multiplier Condition in your own work

  1. Check the domainMatch the variables and assumptions to the problem before substituting values.
  2. Copy the exact notationPreserve grouping, signs, and exponents in \nabla f(x)=\lambda\nabla g(x).
  3. Edit or convertOpen the expression in the LaTeX editor, then export it for your document or web page.

Review and verification

Last reviewed: 2026-07-23

Automated quality check: Kept noindex until the missing evidence is supplied.

Formula references

Frequently asked questions

What is the Lagrange Multiplier Condition used for?

States the first-order condition for an equality-constrained extremum with one regular constraint.

Can I copy this formula as LaTeX?

Yes. Copy \nabla f(x)=\lambda\nabla g(x) or open it in the LaTeX editor.

What should I check before using it?

Confirm that each variable, unit, domain restriction, and assumption matches the problem.

Reuse, attribution, and correction

Share this reference without losing its source

Copy a citation, permanent link, Markdown link, or self-contained embed card. Each reusable format points readers back to the maintained canonical page.

Report an issue

Search the whole reference

Symbols, formulas, guides, tools and commands

Start typing to search.

move · Enter open · Esc close