Then the potential vorticity
\[\Pi = \frac{\boldsymbol{\omega} + 2\boldsymbol{\Omega}}{\rho} \cdot \nabla \lambda \]
is conserved by each fluid element, i.e.,
\[\boxed{\frac{d \Pi}{d t} = 0}\]
Note that the scalar \(\Pi\) involves the component of \(\boldsymbol{\omega}_a\) parallel to the gradient of \(\lambda\).
In the examples listed above for the choice of \(\lambda\), the condition that \(\lambda\) is conserved is equivalent to the condition that the motion is adiabatic,
but this is not a general requirement. It is important to emphasize that the theorem does not require the fluid to be barotropic, for if
\(\lambda\) can be considered a function only of \(p\) and \(\rho\) obtains [i.e., if \(\lambda = \lambda(p,\rho)\), \(\lambda\) is a thermodynamic function], then
\[
\nabla \lambda = \frac{\partial \lambda}{\partial p} \nabla p + \frac{\partial \lambda}{\partial \rho} \nabla \rho
\]
1 Pedlosky, J. (1982). Geophysical Fluid Dynamics. Springer study edition. Springer, Berlin, Heidelberg.