How to prove that perspective projection of a circle is an ellipse?
I start with the parametric equation of circle and ellipse:
Circle:
$x = r\cos t$
$y = r\sin t$
Ellipse:
$x = a\cos(t)$
$y = b\sin(t)$
Then I have perspective projection matrix: $$ \begin{pmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & 1 \\ \end{pmatrix} $$
And obtain projected coordinates (affine transform for simplicity): $$ \begin{pmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ 0 & 0 & 1 \\ \end{pmatrix} \begin{pmatrix} x \\ y \\ 1 \\ \end{pmatrix} = \begin{pmatrix} u \\ v \\ 1 \\ \end{pmatrix} $$ If we convert this to equations:
$u = a_{11}x+a_{12}y+a_{13}$
$v = a_{21}x+a_{22}y+a_{23}$
Substituting $x,y$ with parametric equations:
$a\cos t = a_{11}\,r\, \cos t + a_{12}\, r \,\sin t + a_{13}$
$b \sin t = a_{21}\,r \,\cos t + a_{22}\, r \,\sin t + a_{23}$
What to do next? I can't see how these equations can be equal.
You cannot, because the perspective projection of a circle is not always an ellipse. Draw a cone where the tip of the cone is the center of projection and the cone goes through the circle. It is easy to imagine a configuration of the projection plane that cuts the cone into a curve (a conic section) that is not an ellipse.