Suppose an equation
$$ y'' + \cos(y) = 0; y(0) = y'(0) = 0 $$
Numerical solution suggest periodic behavior. But how to derive it analytically (a systematic approximate is also acceptable)?
Attempt 1 Write the equation as $y''= - \cos(y)$, together with initial condition, we have $y(0) = 0, y'(0) = 0, y''(0) = -cos(y(0)) = -1$ and so on. So the Taylor expansion approximation is $y = -1/2 x^2 + ...$, but this won't tell the qualitative periodic behavior, not to mention quantitative ones.
Attempt 2 With the familiar trick $y''(x) = dy'/dy \cdot dy/dx = 1/2 dy'^2 /dx$, the equation can be reduced to first order (initial condition used): $y'^2 + 2 sin(y) = 0$. But I don't know how to proceed with this either.
Numerical solution is presented in figure below, the blue curve (get out of plot range around x > 3) is the Taylor series approximation $-1/2x^2$, the yellow and green curves overlap a lot, one is the numerical solution, another is an eyeball fitting with this function ($T\sim 7.4$): $$ \frac{\pi}{2} (\cos(2\pi x/T )-1) $$
