I am given this expression: $$x^2+y^2+z^2-2x-2y-2z+2 = 0$$ And I need to find the extrema of the function $$z = z(x,y)$$ I did it in the following way:
- Differentiate the expression with respect to $x$ and solve for $\frac{dz}{dx}$
- Differentiate with respect to $y$ and solve for $\frac{dz}{dy}$
Find all tuples $(x, y ,z)$ such that $\frac{dz}{dx} = \frac{dz}{dy} = 0$ given that both partial derivatives are continuous and exist.
Now, I got two points: $(1, 1, 0) $ and $(1, 1, 2)$ both of them turn out to be an extremum, but - to be honest - I do not know what is happening - why does this function have two outputs for one input?
Could you explain this to me in as simple terms as possible?
You have the equation of a sphere. When you calculate the extremum, you get the highest $z$ and the lowest one. You can rewrite the original equations as: $$(x-1)^2+(y-1)^2+(z-1)^2=1$$ You can write the equation for the upper hemisphere or the equation of the lower hemisphere