Let $m,k_0,k$ be positive real numbers and $x_1$, $x_2$ be real-valued functions of time.
Suppose we have following system of two coupled ODEs ( motivated by a coupled oscillator with two masses and three springs ) :
$m(x_1)'' = -k_0x_1 - k(x_1-x_2) $
$m(x_2)'' = -k_0x_2 + k( x_1 - x_2)$
By doing some algebraic manipulations i ended up finding out that the solution to both $x_1(t)$ and $x_2(t)$ results in a linear combination of two cosine terms, of two different frequencies.
More precisely :
$$x_1(t) = c_1\cos(w_0t + \phi_1) + c_2\cos(w_1t + \phi_2)$$
with
$$w_0=\sqrt{\frac{k}{m}}$$
and
$$w_1=\sqrt{\frac{k_0 +2k}{m}} $$
I was intrigued with the fact that possible highly chaotic solutions $x_1(t), x_2(t)$ ( the motions of each mass after arbitrary initial conditions on the coupled oscillator ) could be described so nicely as a linear combination of two simple solutions.
I wanted to understand why there exists such a nice simplification.
After asking in physics.stackexchange, a suggestion was to check Fourier series. Since the solutions $x_1(t),x_2(t)$ are periodic continuous functions ( no damping in our oscillator) , it's possible to decompose it into a fourier series, i was told.
For the past day, i've been reading and understanding Fourier Series but i still lack to see the exact connection in this case.
For instance, decomposing a periodic function into a fourier series might get us infinitely many cosine terms ( infinitely many coefficients ) ...
Why do we have only two in that case ?
Secondly, the frequency of the cosine terms in a fourier series are multiples of the lowest frequency ( fundamental frequency ).
Why the frequency of the fastest cosine term is not a multiple of the frequency of the slowest cosine term, but rather a function of $k_0$.
In summary, i want to understand how such chaotic motions of each mass after an arbitrary set of initial conditions could be so nicely described as a linear combination of two simple harmonic motions.
I can see how this might have to do with Fourier series, but i still lack the accurate understanding of such connection.
Thanks a lot in advance.