Use incompressibility, negligible viscosity and surface tension, and an initially irrotational flow. Take the undisturbed free surface at and bed at . The velocity potential satisfies Laplace equation and . For a Fourier mode, write
The linear kinematic boundary condition and linear Bernoulli equation at the free surface are and . Eliminating gives the surface gravity wave dispersion relation
The rightward phase velocity and group velocity are
The phase velocity transports a crest; the group velocity transports a narrow-band envelope and its leading-order energy. For , and : deep-water surface gravity waves are dispersive. For , and , the nondispersive shallow-water dispersion relation. The boundary velocity controls the excited amplitude; it does not change the linear dispersion relation.
Linearize about rest and a flat surface. An appropriate small-amplitude scaling has and , with gradients on fixed common length/time scales. Products such as and are then higher order. The linearized shallow water equations become
Differentiate the first with respect to time and substitute the second:
The shallow-water dispersion relation therefore has a constant wave speed. In these equations is gravitational acceleration, despite the source's label “gravitational constant”; has units of speed squared.
For the local phase , define and . The dispersion relation is the Hamilton-Jacobi equation . Differentiate it in space and follow a ray with group velocity ; symmetry of the phase Hessian cancels the terms involving . Thus the ray-tracing equations are
Here means differentiation along the moving ray; subscripts on mean partial derivatives holding its other independent arguments fixed.
The depth is stationary and independent of , so and are constant. Choose the incident direction with positive ; the other sign reflects the picture. In the far deep water,
Since depends isotropically on the horizontal wavevector, the group-velocity ratio is . Therefore the ray equation is
Near shore, , so the shallow-water dispersion relation gives and . Integrating the ray slope yields
For , the near-shore phase is . A constant-phase wave crest thus has
Its tangent becomes parallel to the shoreline, while rays approach perpendicular to it. The exponent is between zero and one, giving the curved crests sketched below for .
Figure 1.
Near-shore wavecrests bending parallel to the beach and rays approaching normally, for a depth proportional to x
. Details.
These are the formal geometrical optics asymptotics. For fixed and , arbitrarily close to the shore, so the slowly varying wave approximation eventually fails there; the sketch describes the ray-theory regime before that final inner region.