3
$\begingroup$

I have a wave equation:

$\frac{\partial^2u}{\partial t^2} = a^2 \frac{\partial^2u}{\partial x^2}.$

How would I verify that the function $u(x,t)=\sin(x-at)$ satisfies the aforementioned wave equation?

  • 0
    You were told that $x=2$ satisfies the equation $x^2-2x=0$. How wuld you verify this? Plug $x=2$ into the equation and the L.H.S. (left hand side) = R.H.S. Violà.2012-12-01

2 Answers 2

3

Just derive your $u(x,t)$ using the chain rule until you get the result:

$\frac{\partial u}{\partial t} = -a\cos(x-at)$

$\frac{\partial^2 u}{\partial t^2} = -a^2\sin(x-at)$

$\frac{\partial u}{\partial x} = \cos(x-at)$

$\frac{\partial^2 u}{\partial x^2} = -\sin(x-at)$

Therefore:

$\frac{\partial^2 u}{\partial t^2} = a^2\frac{\partial^2 u}{\partial x^2} $

$-a^2\sin(x-at) = a^2\left(-\sin(x-at)\right) $

$-a^2\sin(x-at) = -a^2\sin(x-at) $

1

As mentioned in the comments: Plug u into the wave equation, means calculate the second time and space derivatives and see that they are equal.

Left-hand-side: $\partial_{tt} u=-a^2\sin(x-at).$ (Here, we apply the chain-rule twice).

Right-hand-side: $\partial_{xx} u=-\sin(x-at).$ (Here, the "inner" derivative is 1, so we don't have the factor $a^2$).

This means, multiply the rhs by $a^2$ and you get the lhs, the equation is valid.

As Fabian mentioned in the comments, this works for arbitrary twice differentiable functions $f$.