Skip to main content

Chapter 10 Lagrange Multipliers

Constrained optimizations are everywhere. A robot tracing a surface must keep its hand on that surface, so its coordinates must satisfy the equation of the surface at all times; planning the robot’s motion is then a problem of optimizing time, distance, or energy expense subject to that constraint. Fitting a line to data points in an image can also be posed as a constrained optimization problem. In ChapterΒ 9 we found the extreme values of a function \(f(x,y)\) over regions of the plane. In this chapter we learn how to find the extrema of a function whose domain is restricted to a subset of the plane such as a curve, namely the problem
\begin{equation} \text{maximize or minimize } f(x,y) \quad \text{subject to the constraint } g(x,y) = 0.\tag{10.1} \end{equation}
More generally, one can impose several constraints on a function of many variables; here we work with a single constraint on a function of two or three variables.