I'm doing a presentation on 3D surfaces for college and one of the equations I am using is a Torus. I know that the equation is
$$z^2 = 25 - \left(10 - \sqrt{x^2 + y^2}\right)^2$$
For a torus with radius 5, with the inner circle 10 units away from the z axis but I was wondering how this is derived from a circle of the form
$$x^2 + y^2 = 15^2$$
Being the centre for the other circles in the $oxz$ and $oxy$ planes (15 being the distance from the $z$ axis + the radius.
Thanks, Any help will be appreciated
Let's select one point $p = (x, y, 0)$. Distance from point p to origin is $\sqrt{x^2 + y^2}$ Distance from point $p$ to the circle with radius $r$ in $xy$-plane is $d = \lvert r - \sqrt{x^2 + y^2} \rvert$. Point $(x, y, z)$ is on the surface of torus if it satisfies $d^2 + z^2 = h^2$ ie. $z^2 = h^2 - \left(r - \sqrt{x^2 + y^2} \right)^2$