Good morning all, I am following a book which covers aspects of astronomy/cosmology, I'd like to know how the part in the middle is worked out. I have the start and end of the derivation but its quite scant on how it proceeds from point to point, the book simply says using the chain rule "this" becomes "this", basically.

∂ρ/∂z

Where the solution for $\displaystyle \rho$ is:

$\displaystyle \rho (z) = \rho exp (-z^2/2H^2)$

The result is:

$\displaystyle (-z/H^2) \rho $

This is simply for myself and trying to understand how the calculations are derived.

Thanks in advance

Rod.