Let be absolute vorticity, where is constant. Let be density and a materially conserved stratifying scalar, so . For the incompressible density-stratified ideal fluid one may choose the advected density itself; in a thermodynamic description one may use an entropy-like scalar with . The Rossby–Ertel potential vorticity is
Ertel's theorem states that it is conserved following a parcel under inviscid, adiabatic motion with conservative body force and the stated stratifying-scalar condition.
Start from the rotating momentum equation
Here includes gravity and any conservative centrifugal potential. Taking its curl gives
Mass conservation is , specializing to here. Combining these equations yields
Differentiating the material conservation of gives . Dotting these two equations, the velocity-gradient terms cancel after relabelling their indices. Therefore
If , the triple product vanishes immediately. More generally, an equation of state makes a linear combination of and , so it also vanishes. Hence
This proves the conservation law and specifies why must be a suitable stratifying scalar: an arbitrary unrelated passive tracer need not annihilate the baroclinic triple product. No viscosity or scalar diffusion is permitted in this theorem.