This is done by combining the function we want to optimize, $f(x, y)=x^{2}-5 y^{2}$, with the constraint $x-y=12$ using a Lagrange multiplier $\lambda$. The Lagrange function is then given by:
\[L(x, y, \lambda) = x^{2}-5 y^{2} - \lambda(x-y-12)\]
Show more…