jonroberts74
- 189
- 0
Homework Statement
I have to find the extrema of a given function with two constraints
f(x,y,z) = x+y+z;x^2-y^2=1;2x+z=1
The Attempt at a Solution
If I create a new function F
then I have
F(x,y,z,\lambda,\mu)=x+y+z-(x^2\lambda - y^2\lambda -\lambda) -(2x\mu + z\mu - \mu)
and taking the partials
\left\{\begin{array}{cc} F_{x} = 1-2x\lambda - 2\mu =0\\ F_{y} = 1+2y\lambda = 0 \\F_{z} = 1 - \mu = 0 \\ F_{\lambda} = -x^2 + y^2 + 1 = 0 \\ F_{\mu} = -2x - z +1 = 0 \end{array}\right.
so now,
\mu =1
solving for lambda
\lambda = -\frac{1}{2y} = \frac{1-2}{2x}
now solving for x [or y] x=y
but this causes an issue with -x^2+y^2+1=0 because 1 does not equal zero