Sinusoids as solutions to differential equations

82 Views Asked by At

It is well known that the function $$t \mapsto a \cos(\omega t) + b \sin(\omega t)$$ is the solution to the differential equation: $$x''(t) = -\omega^2 x(t)$$ with the initial conditions $x(0) = a$ and $x'(0) = b \omega$. I was wondering what differential equation will be solved by $$f(t) := \sum_{j=1}^k \left( a_j \cos(\omega_j t) + b_j \sin(\omega_j t) \right).$$ It is obvious that this satisfies $x(t) = \sum_{j=1}^k x_j(t)$ with $x_j''(t) = -\omega_j^2 x_j(t)$ and initial conditions on $x_j(0)$ and $x_j'(0)$. I was wondering if there were any other (perhaps more natural) differential equations that are satisfied by $f$.

1

There are 1 best solutions below

3
On BEST ANSWER

Note that $\cos{\omega t} = (e^{j\omega t} + e^{-j\omega t})/2$ and $\sin{\omega t} = (e^{j\omega t} - e^{-j\omega t})/(2j)$, so your function can be rewritten as $$ f(t) = \sum_{i = 1}^{k}{\frac{a_i - jb_i}{2}e^{j\omega_i t} + \frac{a_i + jb_i}{2}e^{-j\omega_i t}} $$ Obviously, we can solve this function from some differential equation with characteristic roots $\lambda = \pm j\omega_i$ with $i = 1, \cdots, k$. To this end, we can easily construct the characteristic function $$ \Pi_{i = 1}^{k}(\lambda^2 + \omega_i^2) = 0 $$ Expand this equation, replace $\lambda^{i}$ with $f^{(i)}(t)$ and we get the differential equation you want. Initial conditions are determined by values of $a_i$ and $b_i$.