The Development of Shallow Water Wave Equations Through the Breakdown of the Linear Wave Theory