For instance (see Figure 1), consider the optimization problem
maximize f(x, y)
subject to g(x, y) = 0.
We need both f and g to have continuous first partial derivatives. We introduce a new variable (λ) called a Lagrange multiplier and study the Lagrange function (or Lagrangian) defined by