## Sum of two waves & wave equation

This thing is driving me mad, I thought I figured it out already, but it seems I was wrong. Any help would be appreciated.

1. The problem statement, all variables and given/known data

"Under what conditions does the sum of two sinusoidal waves also satisfy the wave equation?"
The sum wave is

$D(x,t) = A_{1}sin(k_{1} x-\omega_{1} t)+A_{2}sin(k_{2} x-\omega_{2} t)$

2. Relevant equations

The (1D) wave equation

$\frac{\partial^{2}D}{\partial x^{2}}=\frac{1}{cē} \frac {\partial^{2}D}{\partial t^{2}}$

3. The attempt at a solution

Not much, but derivating both sides:

$\frac{\partial^{2}}{\partial x^{2}}(A_{1}sin(k_{1} x-\omega_{1} t)+A_{2}sin(k_{2} x-\omega_{2} t))$
$=-A_{1}k_{1}^{2} sin(k_{1} x-\omega_{1} t)-A_{2}k_{2}^{2}sin(k_{2} x-\omega_{2} t)$

$\frac{1}{c^{2}} \frac {\partial^{2}}{\partial t^{2}}( A_{1}sin(k_{1} x-\omega_{1} t)+A_{2}sin(k_{2} x-\omega_{2} t))$
$=-A_{1}\frac{\omega_{1}^{2}}{c^{2}} sin(k_{1} x-\omega_{1} t)-A_{2}\frac{\omega_{2}^{2}}{c^{2}}sin(k_{2} x-\omega_{2} t)$

And rearranging gives:

$A_{1}(k_{1}-\frac{\omega_{1}^{2}}{c^{2}}) sin(k_{1} x-\omega_{1} t)=A_{2}(\frac{\omega_{2}^{2}}{c^{2}}-k_{2}^{2})sin(k_{2} x-\omega_{2} t)$

But to be honest I've got little else I'm able to do after this. I don't think I've ever had to solve something like that. Is there some sort of an obvious trigonometric identity or something I'm missing here?

The answer should be that the velocities of the waves, ie $\frac{\omega}{k}$ are the same (which seems to lead to the velocity of the sum wave being that same velocity).
 PhysOrg.com science news on PhysOrg.com >> Galaxies fed by funnels of fuel>> The better to see you with: Scientists build record-setting metamaterial flat lens>> Google eyes emerging markets networks
 Bump EDIT: Hmm. I think I might've found a way to solve this. The only problem is that I got $\omega_{1} k_{1} = \omega_{2} k_{2}$ instead of $\omega_{1} k_{2} = \omega_{2} k_{1}$ But I might've made a mistake somewhere.

 Tags equation, sinusoidal, wave