Graph
Drag to pan, mouse wheel to zoom, double-click to reset. Hover to read \((x,y)\), \(f\), and \(g\). The constraint curve \(g=c\) is drawn thicker; candidate points are marked and labeled.
Math Calculus • Multivariable Calculus
Drag to pan, mouse wheel to zoom, double-click to reset. Hover to read \((x,y)\), \(f\), and \(g\). The constraint curve \(g=c\) is drawn thicker; candidate points are marked and labeled.
It finds candidate maxima and minima of an objective function f subject to an equality constraint g = c. The method solves ∇f = λ∇g together with the constraint to locate points on the constraint where f can be extremal.
The calculator uses a multi-seed Newton method that searches for solutions within the bounds you provide. Restricting the domain helps locate relevant solutions and avoid missing or duplicating points in large regions.
When enabled, the tool also searches for unconstrained critical points by solving ∇f = 0. This helps compare constrained candidates on g = c with stationary points of f that may lie off the constraint.
The contour map shows level sets of f, while the thicker curve represents the constraint g = c. Candidate points are marked where the constraint intersects contours in a way consistent with tangency implied by ∇f being parallel to ∇g.