Goldstein 2nd ed.
In its Appendix is given the derivation of Bertrands Theorem and after some steps we arrive as shown below :
where it is understood the derivatives are evaluated at $u=u_0$. In terms of this expansion of $J(u)$ the orbit equation becomes $$\frac{d^2x}{d\theta^2} + \beta^2x = \frac{x^2J''}{2} + \frac{x^3J'''}{6}. \tag{A-10}$$ We seek to find the nature of the source law such that even when the deviation from the circular orbit, $x$, is large enough that the terms on the right cannot be neglected, the solution to Eq. (A-10) still represents a closed orbit. For small perturbations from circularity we know $x$ has the behavior described by Eq. (A-8), which represents the fundamental term in a Fourier expansion in terms of $\beta\theta$. We seek therefore a closed-orbit solution by including a few more terms in the Fourier expansion: $$x = a_0 + a_1\cos\beta\theta + a_2\cos2\beta\theta + a_3\cos3\beta\theta.\tag{A-11}$$
Where $x=u-u_0$ is the deviation from circularity and $u=1/r$ and $J(u)=-\frac{m}{l^{2}} \frac{d}{d u} V\left(\frac{1}{u}\right)=-\frac{m}{l^{2} u^{2}} f\left(\frac{1}{u}\right)$
If the R.H.S of A-10 was zero, then the solution was given by $a \cos(β\theta)$. However if there are terms on the RHS as given in equation A-10 the author writes the solution as a Fourier sum involving only cosine terms . How does the author know that we should use a Fourier expansion of $x$ using only cos terms with argument $β\theta$ ?
Any hint please.