Variable dark-energy equation of state
= Variable dark-energy equation of state
{title2=$w(z)$}
For $P_{\rm DE}=w(z)\rho_{\rm DE}$, the continuity equation gives
$$
\rho_{\rm DE}(z)=\rho_{{\rm DE},0}(1+z)^3
\exp\left(3\int_0^z\frac{w(z')}{1+z'}\,dz'\right).
$$