I'm a mathematics student trying to grasp some basics about wave propagation. A sentence I find very often in introductive physics textbooks is the following:
In a wave, energy is proportional to amplitude squared.
This is something I would like to understand better in the case of mechanical (linear) waves.
The simplest model is the vibrating string of mass density $\mu$ and tension $T$: here an element of string of rest length $dx$ and vertical displacement $y(x, t)$ possesses a kinetic energy $\frac{1}{2}\mu dx \left( \frac{\partial y}{\partial t}\right)^2$ and a potential elastic energy $\frac{1}{2}T dx \left( \frac{\partial y}{\partial x}\right)^2$. So we have the total energy
$$dE=\frac{1}{2}\mu dx \left( \frac{\partial y}{\partial t}\right)^2+\frac{1}{2}T dx \left( \frac{\partial y}{\partial x}\right)^2,$$
which completely explains the sentence. Can we obtain a similar formula for higher-dimensional waves? How should I modify the above formula for a (simplified model of an) elastic membrane, for example? I would expect something like
$$dE=\text{some constant}\left(\frac{\partial z}{\partial t}\right)^2+\text{some other constant}\left\lvert\nabla z\right\rvert^2,$$
where $z=z(x, y, t)$ is the vertical displacement. Am I right?