Lagrange Multiplier Calculator
Find the maximum and minimum of f(x, y) subject to a constraint g(x, y) = c with Lagrange multipliers — every constrained critical point and…
Find the maximum and minimum of f(x, y) subject to a constraint g(x, y) = c with Lagrange multipliers — every constrained critical point and its λ.
Results
About This Calculator
Solve ∇f = λ∇g together with g = c. The calculator runs Newton's method from many starting points and lists every solution it finds.
Example
Example: maximise xy with x + y = 10 → f(5, 5) = 25.
Assumptions
Numeric; on an unbounded constraint the 'max' and 'min' are only the best critical points found.
Frequently Asked Questions
What does λ mean?
How fast the optimum changes as the constraint value c changes.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile