The question is as followed:
"Consider the initial value problem (IVP) for the linearised shallow water equations
(1) $\frac{\partial h}{\partial t} + H_0 \frac{\partial u}{\partial x} = 0$ ;
(2) $\frac{\partial u}{\partial t} + g \frac{\partial h}{\partial x} = 0$
With the initial conditions $h(x,0)=h_0$ ; $u(x,0)=0$ ; for $-\infty<x<\infty$
Specify the function $h_0(x)$ and find the corresponding solution to the IVP. "
Now I have attempted this to the best of my ability, but this topic was one which we were not formally taught due to the current circumstances meaning that my knowledge is entirely from a set of typed notes which only show how the linearised equations are generated and not how they are solved.
Firstly I realised that differentiating equation (2) w.r.t. $t$ and then substituting the expression for $\frac{\partial h}{\partial t}$ gives and expression in the form of the wave equation: $u_{tt}-c^2u_{xx}=0$ where $c^2=gH_0$
The same can be done to equation (1) w.r.t. $x$ to give the wave equation: $h_{tt}-c^2h_{xx}=0$ where $c^2=gH_0$.
I have found examples on how to solve the wave equation assuming the solution is in the form $u(x,t)=p(x-ct)+q(x+ct)$ when given initial conditions $u(x,0)=u_0(x)$ and $u'(x,0)=a_0(x)$ but I cannot understand how to do it with only $u(x,0)$ and $h(x,0)$ provided?
Any tips would be greatly appreciated.
Edit: I have since found that you can deduce that $h_t(x,0)=0$ given that $u(x,0)=0$. Can anyone confirm this?