Let $A = \{(x, y, z) \in \mathbb R^3 : x^2 + y^2 + z^2 = 2, xy + yz +zx +1 = 0\}$. Find infimum and supremum of the function $f$defined by the formula $f(x, y, z) = 2x+ 2y-3z$ on the set $A$.
I want to use Lagrange multipliers so I got the following system of equations: $$ \begin{cases} 2= \alpha x + \beta y + \beta z \\ 2= \alpha y + \beta x + \beta z \\ -3 = \alpha z+ \beta x + \beta y \\ x^2 + y^2 + z^2 =2 \\ xy + yz + zx +1 = 0 \end{cases} $$
Then: $$ \begin{cases} 2= \alpha x + \beta y + \beta z \\ 2= \alpha y + \beta x + \beta z \end{cases} \Rightarrow \alpha (x - y)+\beta(y-x)=0 \Rightarrow (x-y)(\alpha - \beta) =0 \Rightarrow y=x \text{ or } \alpha = \beta $$
First case:
equation: $$x^2+2xz+1=0 \Rightarrow 2xz=-1-x^2 \Rightarrow z = \frac{-1-x^2}{2x}$$
equation: $$2x^2+\frac{1+2x^2+x^4}{4x^2}=2 \Rightarrow 9x^4+2x^2+1-8x^2=0 \Rightarrow 9x^4-6x^2+1=0 \Rightarrow x = \pm \frac{1}{\sqrt 3}$$
Coordinates found: $(\frac{1}{\sqrt 3},\frac{1}{\sqrt 3},-\frac{2\sqrt 3}{3})$, $(-\frac{1}{\sqrt 3}, -\frac{1}{\sqrt 3},\frac{2\sqrt 3}{3})$.
But then I get contradiction. For example for $(\frac{1}{\sqrt 3},\frac{1}{\sqrt 3},-\frac{2\sqrt 3}{3})$: $\frac 92 = \sqrt{3} (\alpha - \beta)$ and $6=\sqrt 3 (\alpha - \beta)$
Second case:
$ 2 = \alpha (x+y+z)$ and $-3=\alpha (x+y+z)$ contradiction
Could someone check where I made a mistake? I don't think this problem has no solution...
Consider
$ (x + y + z)^2 = x^2 + y^2 + z^2 + 2 (x y + x z + y z ) = 2 + 2(-1) = 0 $
Therefore, the intersection of the two constraints is the same as the intersection of $x^2 + y^2 + z^2 = 2 $ and $x + y + z = 0 $.
The intersection of the sphere and the plane is a circle of radius $\sqrt{2}$ and is spanned by two vectors that are orthogonal to the normal vector of the plane.
We can find two orthogonal unit vectors $u_1, u_2$ that are orthogonal to the normal of $x+y+z=0$ which is $[1, 1, 1]$, and these unit vectors are, for example,
$ u_1 = [1, -1, 0] /\sqrt{2} $
$ u_2 = [1, 1, -2] / \sqrt{6} $
Hence,
$(x, y, z) = \sqrt{2} \left( \cos t \ u_1 + \sin t \ u_2 \right) $
$ f = 2 x + 2 y - 3 z = [2, 2, -3] \cdot \sqrt{2} \left(\cos t \ u_1 + \sin t \ u_2 \right) \\ = \sqrt{2} ( [2, 2, -3] \cdot u_1 \ \cos t + [2,2,-3] \cdot u_2 \ \sin t ) $
$ f = \sqrt{2} ( \dfrac{10}{ \sqrt{6} } \sin t ) $
Therefore, the maximum of $f$ is $\dfrac{10}{\sqrt{3} } $ and it occurs at $t = \dfrac{\pi}{2} $ at which, we have
$ (x, y, z) = \dfrac{1}{\sqrt{3}} [ 1, 1, -2 ] $
and the minimum is $-\dfrac{10}{ \sqrt{3}}$ and occurs at $ t = \dfrac{3\pi}{2} $, at which, we have
$(x, y, z) = - \dfrac{1}{\sqrt{3}} [1, 1, -2] $