[Math] Does an Implicit equation for an infinite Cylinder exist ? i.e f(x,y,z)=0

euclidean-geometrygeometrymathematical modelingquadrics

I wanted to know if the surface for any arbitrary cylinder(infinte or restricted does not matter) can be expressed with an implicit equation, like that for a sphere: $$(X-x)^2 + (Y-y)^2 + (Z-z)^2 = R^2$$ where $(x,y,z)$ are the co-ordinates of the center of the sphere. I know the equation for general quadric surfaces are of the form $$ aX^2+bY^2+cZ^2 +dXY+eYZ+fXZ+gX+hY+iZ+j=0$$

What I want to know is how many of these terms are zero for any arbitrary cylinder or equivalently if the equation has a special form for a cylinder like it does for a plane and for the sphere?

If I assume that a set of points belong to a cylindrical surface, what is the minimum number of points that I need to determine its equation?

I would be happy to explain further if something in my question is unclear.

Best Answer

If the axis of the cylinder is the line through $\vec{x}_0 = (x_0,y_0,z_0)$ and in the direction of $\vec{v} = (a,b,c)$ with radius $R$, assuming $|\vec{v}| = 1$, we can write the equation of the cylinder as the set of all points $\vec{x} = (x,y,z)$ satisfying:

$$|\vec{x} - \vec{x}_0|^{2} = R^{2} + [(\vec{x} - \vec{x}_0)\bullet \vec{v}]^{2}$$

Related Question