1
$\begingroup$

Find the extrema of the function $f(x,y,z)=x+y+z$ subject to the constraints $x^2-y^2=1$ and $2x+z=1$
So I have $G(x,y,z,\lambda_1,\lambda_2)=x+y+z-\lambda_1(x^2-y^2-1)-\lambda_2(2x+z-1)$
$1-2\lambda_1x-2\lambda_2=0$
$1+2\lambda_1y=0$
$1-\lambda_2=0$
plus the initial constraints, rearranging and substituting gives
$\frac{1}{4\lambda_1^2}-\frac{1}{4\lambda_1^2}=1$
-->$0=1$?

Have I done something wrong here or is it just not possible to find an extrema?

  • 0
    May be you do not have a maxima. Remember that the function you have is a plane. A mental or graphical visualization may help.2012-12-27

1 Answers 1

1

From the last line of the conditions, we see that $\lambda_2 = 1$. Substituting, we get that $-1 - 2\lambda_1 x = 0$, or that $1 + 2\lambda_1 x = 0$. This looks the exact same as the remaining condition: $1 + 2\lambda_1 y = 0$. Setting them equal, we see that $x = y$.

This is problematic since we want to use the constraint that $x^2 - y^2 = 1$, which is not held when $x=y$.

Thus there are no maxima or minima.