I understand that Fourier series approximate the input signal well and series converge to the original function. If the system is ODE, such as $x''+Ax'+Bx=f(t)$, then $f(t)$ will respond differently to each term of the series according to how close its frequency is to the system natural frequency and thus one of the term will resonates with $f(t)$.
But why can an original input without natural frequency, such as square wave function, can resonate after being transformed? Where is the source of resonance in the original input signal, if it doesn't have in the first place?
