Equations of motion for a pendulum came out to be
$$x(t) = c_1\cos(\omega t)+c_2 \sin(\omega t)$$ $$y(t) = c_3\cos(\omega t)+c_4 \sin(\omega t)$$
How can it be shown that the trajectories of these solutions are either ellipses or lines? I think one can work directly with the two ODEs, rewrite them as a decoupled system of four linear ODEs, and then analyze their eigenvalues and sketch the phase portrait based on that.
But in this case, a simpler approach is needed. Here's what I've done so far:
$x(t) = A\cos(\omega t + \delta)$ can be rewritten as $x(\tau) = A\cos(\omega\tau)$, where $\tau := t+\frac{\delta}{\omega}$. The question is now how to rewrite $y$ in such a way is to be able to substitute $x$ into $y$ and get a suitable equation for trajectories. I took $y(\tau) = B\sin(\omega \tau)$, hence we get, after rearrangement and division, the following equation
$$ \frac{y^2}{B^2} + \frac{x^2}{A^2}=1 $$, which is clearly an ellipse. But what about lines? If $B=0$ then $y^2 + \frac{B^2}{A^2}x^2=y^2=1$, so $y=\pm 1$, which are horizontal lines. What about lines in general?
Would appreciate your feedback.
You can always choose the origin of time in such a way that $c_2=0$, and reduce the scale (dividing by $c_1$), and write $$\begin{cases}x=\cos(\omega t),\\y=c\cos(\omega t)+s\sin(\omega t).\end{cases}$$
When $s=0$ you get the line segment from $(-1,-c)$ to $(1,c)$.
Otherwise, the ellipse
$$x^2+\left(\frac{y-cx}{s}\right)^2=1.$$