I'm trying to parametrize the surface given by the equations : $$\frac{x^2}{2}+\frac{y^2}{2}+z^2=1$$ and $x^2+y^2=y$.
I found this function :
$f:[0,1] \times [0,2\pi] \to \mathbb{R}^3$, $$(r,x) \to \left( r \cos(x),r \sin(x),\sqrt{\frac{2-r^2}{2}} \right)$$
but Im not sure at all, can someone verify my answer
Rewrite the equations in cylindrical coordinates
$$x=r\cos\theta,y=r\sin\theta,z.$$
The ellipsoid becomes
$$\frac{r^2}2+z^2=1$$ or$$z=\pm\sqrt{1-\frac{r^2}2}$$ and the cylinder
$$r^2=r\sin\theta,$$or $$r=\sin\theta.$$
Expressing all as a function of $\theta$, the parametric equation of the intersection is
$$\begin{align}x&=\sin\theta\cos\theta,\\ y&=\sin^2\theta,\\ z&=\pm\sqrt{1-\frac{\sin^2\theta}2}. \end{align}$$
Or as a function of $r$, using $\cos\theta=\pm\sqrt{1-\sin^2\theta}$:
$$\begin{align}x&=\pm r\sqrt{1-r^2},\\ y&=r^2,\\ z&=\pm\sqrt{1-\frac{r^2}2}. \end{align}$$
Or as a function of $z$:
$$\begin{align}x&=\pm\sqrt{(2-2z^2)(2z^2-1)},\\ y&=2-2z^2,\\ z&=z. \end{align}$$