I am trying to control that the following differentialequation is stable for the numerical time-integration method: Euler Forward with $\Delta t = 1$.
$$ y''(t)+y'(t)+\sin(y(t)) = 0, \ \ \ \ y(0 ) = 1, y'(1) = 0. $$
By using the following, we can transform this into a system of differential equations. Since we know that our ODE is non-linear, we will use the Jacobi-matrix of $\bf{y'}= \begin{bmatrix} y_1'(t) \\ y_2'(t) \end{bmatrix}$. \begin{align} y_1&=y &\Rightarrow y_1' &= y_2,\\ y_2&=y' &\Rightarrow y_2'& = -y_2-\sin(y_1). \end{align} The Jacobi-matrix is:
\begin{equation} J(y_1,y_2)= \begin{bmatrix} 0 & 1\\ -\cos(y_1) & -1 \end{bmatrix}. \end{equation}
We will calculate the eigen-values of this matrix, these are: \begin{align} \lambda_1 &= \frac{-1 + \sqrt{1-4 \cos(y_1)} }{2},\\ \lambda_2 &= \frac{-1 - \sqrt{1-4 \cos(y_1)} }{2}. \end{align}
Now, my question is: These eigenvalues can be complex, so how is it possible for Euler Forward to be stable, I recall that Euler Forward is not stable if the eigenvalues have complex parts.
Thanks for your time,
K. Kamal
