In this post and in this post, QMechanic claims that a simple harmonic oscillator with Dirichlet boundary conditions has saddle-point solutions if $t_{f} - t_{0} > T/2$ where $T$ is the characteristic period of the oscillator. I am curious, how can one prove this assertion?
I tried to consider $t_{0} = 0$ and $x(0) = 0$ for simplicity with Lagrangian $$L = \tfrac{1}{2}m\dot{x}^{2} - \tfrac{1}{2}m\omega^{2}x^{2}$$ where $T = 2\pi/\omega$. Going through the usual steps, I found the solution $$ x(t) = \frac{x_{f}\sin\omega t}{\sin\omega t_{f}} $$ where $x_{f} = x(t_{f})$. Integrating out the Lagrangian gives me the action $$ S[x] = \frac{1}{2}m\omega x_{f}^{2} \cot\omega t_{f}. $$ How do I use this to show that $S[x]$ is neither a local minimum nor a local maximum if $t_{f} > T/2$?