I'm having some trouble with the following exercise:
Consider the function $\phi:\mathbb R^2\to \mathbb R^3$ given by: $$\phi(u,v)=(u-v,u+v,2(u^2+v^2))$$ Prove that $S=\phi(\mathbb R^2)$ is a regular surface, and find a function $f:\mathbb R^3\to \mathbb R$ such that $S=f^{-1}(\{0\})$ and $0$ is a regular value of $f$, i.e. $\nabla f(x,y,z)\neq (0,0,0)$ when $f(x,y,z) = 0$.
I was able to prove easily that $S$ is a regular surface, but I'm having some trouble finding such function $f$.
Is there any general procedure/technique to solve this kind of problem, or at least some intuition behind how to find such solutions?
Let $(x,y,z)\in S$, then there exists $(u,v)\in\mathbb{R}^2$ such that $(x,y,z)=\phi(u,v)$. Then $$ x = u-v, \quad y=u+v, \quad z=2(u^2+v^2). $$ Solve for $u$ and $v$ in the first two equations and substitute the obtained values in the third to obtain $$ z = x^2 + y^2. $$ So if we let $T=\{(x,y,z)\in\mathbb{R}^3 \; | \; z-x^2-y^2=0\}$, we proved that $S\subseteq T$. Try to show that $S=T$ (its not difficult at all). Then if we define $$ f:\mathbb{R}^3\to\mathbb{R}, \quad (x,y,z)\mapsto z-x^2-y^2, $$ you obtain that $S=f^{-1}(\{0\})$, and all you need is to verify that $0$ is indeed a regular value of $f$.