Find the global maxima/minima of $f(x,y,z) = x+y+z$ for points inside of $A = \{ (x,y,z) \in \mathbb{R}^3: x^2-y^2 = 1 \wedge 2x+z = 1 \}$
I renamed the conditions of $A$ to a function $g(x,y,z) = x^2-y^2-2x-z = 0$ in order to be able to use Lagrange multipliers.
Deriving $f$: $\nabla(x,y,z) = (1,1,1)$
Deriving $g$:
$g_x = 2x-2$
$g_y = -2y$
$g_z = -1$
By solving the Lagrange system:
\begin{cases} 1 = \lambda(2x-2) \\ 1 = \lambda (-2y) \\ 1 = \lambda (-1) \\ g(x,y) = 0 \end{cases}
I get that $(x,y,z) = (\frac{1}{2}, \frac{1}{2}, -1)$ for $\lambda = -1$. But that point is not inside A.
Is this enough to guarantee that $f|_A$ does not have either maxima nor minima? (Since the second derivatives are all zero, the second derivative test doesn't give any information.)
Thanks!
EDIT:
By parametrizing $y = \pm \sqrt{x^2-1}$ and $z=1-2x$ and doing the composition with $f$ I get that $f(x, \sqrt{x^2-1}, 1-2x)$ is monotonically increasing and $f(x, -\sqrt{x^2-1}, 1-2x)$ monotonically decreasing. Would that prove that $f$ never reaches either maxima nor minima?
![[figure will be added shortly -- I need to use a different browser for that]](../../images/ef30e99ee252f91794fa5b45e1724964.webp)