I've stumbled upon a direct proof on Reddit, which uses differentiation to solve an equation.
See https://medium.com/criminal-clouds/hydrostatic-lapse-part-1-of-3-e8a1534cd12d
At particular point we reach this equation:
This equation is then "logged" on both sides:
then differentiated on both sides:
then rearranged:
then differentiated on both sides again and solved:
Is this the correct way to solve this equation?
I'm no maths expert, but this differentiation of both sides seems like far too much of a short cut.