The wave equation is
.
The function is
.
Apply partial derivative on each side with respect to
.
.
Differentiate
partially with respect
.

.
The function is
.
Apply partial derivative on each side with respect to
.

.
Differentiate
partially with respect
.

.
Hence, the function
satisfies the wave equation.
The function
satisfies the wave equation.