The partial differential equation for a vibrating string is
$$
\frac{\partial^{2} u}{\partial t^{2}}=a^{2} \frac{\partial^{2} u}{\partial x^{2}}
$$
Show that if $f$ is a function of $x$ satisfying the equation $d^{2} f / d x^{2}+\lambda^{2} f(x)=0$ and $g$ is a function of $t$ satisfying the equation $d^{2} g / d t^{2}+a^{2} \lambda^{2} g(t)=0$, then if $u=f(x) g(t)$, the partial differential equation is satisfied. $a$ and $\lambda$ are constants.