My professor gave us this exercise.
Let $S^2=\{(x_1,x_2,x_3)\in\mathbb{R}^3|(x_1)^2+(x_2)^2+(x_3)^2=1\}$ be the unit sphere in $\mathbb{R}^3$, and let's consider the function $f\colon S^2\to\mathbb{R}^6$ defined by
$$ f(x_1,x_2,x_3)=((x_1)^2,(x_2)^2,(x_3)^2,x_2x_3,x_1x_3,x_1x_2). $$
Prove that $f$ is an immersion but is not injective. Besides, write the equations for $f(S^2)\subset\mathbb{R}^6$ and prove that $f(S^2)$ is an embedded submanifold of $\mathbb{R}^6$.
Solution
For the first question, it is sufficient to write down the jacobian matrix $J$ of the function f and note that it is not possible for all the determinants of the $3\times3$ submatrices of $J$ to be zero simultaneously (provided that we are considering only the points of the 2-dim sphere), so the differential is everywhere injective on the sphere and we are done. Besides, $f$ is not injective because, for example, $f(x_1,x_2,x_3)=f(-x_1,-x_2,-x_3)$ ($(x_1,x_2,x_3)$ lies on the 2-dim sphere if and only if $(-x_1,-x_2,-x_3)$ does).
But I am just stuck with the second question, I don't get what my professor means with "write the equations for $f(S^2)$"... The only equation I see is satisfied by a point in $f(S^2)$ is $x_1+x_2+x_3=1$. I'm wondering, how many equations there should be for $f(S^2)$? And how can I find them? Only by means of algebric manipulations of the components of $f$, or is there some "sistematic" way to find them?
Note $f(\mathbb S^2)$ is a closed set in $\mathbb R^6$ and thus there is a smooth function $F :\mathbb R^6 \to \mathbb R$ so that $F^{-1}(0) = f(\mathbb S^2)$. Of course this does not say anything about the geoemtry of $f(\mathbb S^2)$. So we do something else.
Write the coordinate of $\mathbb R^6$ as $(x, y, z, w, u, v)$. Since $f(\mathbb S^2)$ should be two dimension (it's immersed) and thus are cut out by four equations. By inspection, we have
$$\begin{split} x+y+ z&=1 \\ xy &= v^2 \\ yz &= w^2 \\ zx &= u^2 \end{split}$$
equation $(2)-(4)$ implies that $xy, yz, zx \ge 0$. Together with $(1)$ we have $x, y, z \ge 0$. Write $$(x, y,z) = (x_1^2, x_2^2, x_3^2)$$ for some $x_1, x_2, x_3 \in \mathbb R$. Then
$$\begin{split} v &= \pm x_1x_2 \\ w &= \pm x_2x_3 \\ u &= \pm x_3x_1.\end{split}$$
If we require $w, u, v \ge 0$, then we recover
$$(x_1^2 , x_2^2, x_3^2 , x_2x_3, x_1x_3, x_1x_2), \text{with }\ x_1^2 + x_2^2 + x_3^2 = 1. $$
Thus $f(\mathbb S^2)$ is the set cut out by the above equations in the quadrant $w, u, v\ge 0$.
Now we show that $f(\mathbb S^2)$ is embedded. Indeed it is clear that if $x, y\in \mathbb S^2$ and $f(x) = f(y)$, then $x = \pm y$ (check). Then $f$ descends to an injective immersion $\tilde f :\mathbb{RP}^2 \to \mathbb R^6$, which is embedded as $\mathbb {RP}^2$ is compact. Thus $f(\mathbb S^2)$ is an embedded submanifold in $\mathbb R^6$ homeomorphic to the real projective plane.