Prove that
$$5x^2 + 5y^2 + 8z^2 − 2xy + 8yz + 8zx + 12x − 12y + 6 = 0$$
represents a cylinder whose cross-section is an ellipse of eccentricity $\frac{1}{\sqrt 2}$.
I know how to find the plane of a cross section if I know the direction ratios of at least one generator of the cylinder, but I don't know how to find that out from just the equation of the cylinder alone.
Let $$f(x,y,z)=5x^2 + 5y^2 + 8z^2 − 2xy + 8yz + 8zx + 12x − 12y + 6$$ The axis of the cylinder can be obtained via $f’_x=f’_y=f’_z=0$, which leads to its equation $$(x,y,z)=(0,2,-1)+t(1,1,-1)$$ The elliptical axes of the cross section containing the center $(0,2,-1)$ can be obtained via $$f’_x:f’_y:f’_z=(x-0):(y-2):(z+1)$$ which leads to the respective equations for the major and minor axes $$(0,2,-1)+t(1,-1,0),\>\>\>\>\>\>\>(0,2,-1)+t(1,1,2)$$ Then, substitute them into $f(x,y,z)= 0$ to get the major vertexes $(\pm\frac1{\sqrt2},2\mp\frac1{\sqrt2},-1)$ and the minor vertexes $(\pm\frac1{2\sqrt3},2\pm\frac1{2\sqrt3},-1\pm\frac1{\sqrt3})$, and in turn the lengths of the respective major and minor axes $a=2$ and $b={\sqrt2}$. Thus, the eccentricity is $\frac1{\sqrt2}$.