Surface parametrization and calculating its area

178 Views Asked by At

I have to find the parametric equation of the surface of the sphere inside the cylinder and above the $z=0$ plane, as shown in this picture.

123

$$ \text{Sphere: }x^2 + y^2 + z^2 = 1\\ \text{Cylinder: }x^2 + y^2 = x $$

I came up with this:

$$ \vec r(x,y)=\left(x, y, \sqrt{1-(x^2 + y^2)}\right), \qquad (x,y) \in D $$

With $D$ being the projection of the cylinder on the $XY$ plane. However, it doesn't feel right, because the cylinder isn't on $(0,0)$.

Could it be this?

$$ \vec r(r,\theta)=\left(r \cos(\theta) + r, r \sin(\theta), \sqrt{1-r^2}\right), \qquad r\in[0,0.5],\ \theta\in [0,2\Pi] $$

Update: Seeing as the cylinder is shifted on the x axis (its center is on $(0.5, 0)$ with $r=0.5$), I thought about shifting the coordinate system so that $(0,0)$ is on the center of the cylinder. Here's the new equation and the new parametric surface:

$$ \text{Sphere: }(x+0.5)^2 + y^2 + z^2 = 1\\ \text{Cylinder: }x^2 + y^2 = 0.5^2 $$

$$ \vec r(r,\theta)= \begin{cases} r \cos(\theta) \\ r \sin(\theta) \\ \sqrt{1-(r \cos{\theta} + 0.5)^2 - r^2 \sin^2{\theta}} = \sqrt{0.75 -r^2 - r \cos{\theta}} \end{cases}, \ \ r\in[0,0.5],\ \theta\in [0,2\Pi] $$

Is this better?

Then I have to calculate $\vec r_r$ and $\vec r_\theta$.

$$ \text{A} = \int_0^{2\Pi} \int_0^{0.5} \left\lVert \vec r_r \times \vec r_\theta \right\rVert r\operatorname d\!r \operatorname d\!\theta\, $$

However, I haven't taken into consideration that it's only the surface above the $z=0$ plane. I could always divide the answer by 2, but the $z$ part of $\vec r(r,\theta)$ has a square root. Does that mean that it's only considering the positive part of the $z$ axis (because it has to be positive)?