Take a dense lower layer and write . In the Boussinesq approximation the fractional density difference is small; use the reference density in inertia and retain the difference in buoyancy. The one-layer model additionally treats the ambient as much deeper, with negligible distributed horizontal inertia away from the head. The shallow water approximation requires depth small relative to the horizontal variation length, small vertical accelerations, nearly hydrostatic pressure, and an approximately depth-uniform horizontal velocity. Neglect mixing, viscosity, bed friction and rotation. A slowly varying rectangular channel allows cross-sectional averages without large lateral separation.
A slice of width contains volume . Its outgoing volume flux is , so volume conservation gives . The integrated hydrostatic excess pressure is . Pressure on the sloping side walls contributes to the longitudinal force. The conservative momentum equation is therefore
Use the volume equation to simplify it. The resulting shallow water equations are
Omitting the wall force would incorrectly introduce a width term into the material acceleration equation.
For the principal matrix is . Its eigenvalues are , where . For they are real and distinct, so the system is strictly hyperbolic. It degenerates at a dry front. From the volume equation, . Combine this with the momentum equation to obtain the variable-width shallow-water characteristics:
In a constant-width channel are Riemann invariants along the corresponding characteristic curves; with varying width they satisfy compatibility equations with a source term.