Method of Lagrange multipliers
We have studied how to identify extreme values of two-variable functions \(f(x,y)\). In practice, we may have additional constraints. For example, Find the extreme values of \(f(x,y)\) subject to the constraint \(g(x,y) = 0\). We can use the method of Lagrange multipliers to solve this type of problem. Let's consider the following example. Problem . If \((x,y)\) moves on the unit circle \(x^2 + y^2 = 1\), find the extreme values of \(f(x,y) = x^2 + xy + y^2\). □ This problem can be restated as follows: Problem (restated) . Let \(g(x,y) = x^2 + y^2 - 1\). Find the extreme values of \(f(x,y) = x^2 + xy + y^2\) subject to the constraint \(g(x,y) = 0\). □ Let's solve this problem using an "explicit" method. Solution 1 (Explicit method) . Consider the implicit function \(y = \sqrt{1 - x^2}\) of \(g(x,y)\) on the open interval \((-1, 1)\) and substitute it to \(f(x, y)\) to have \[h(x) = f(x,y(x)) = x^2 + x\sqrt{1-x^2} + (\sqrt{1-x^2})^2 = x\sqrt{1-x^2}+1.\] Since \[h'