The equation is .
Take logarithm on each side.
Apply power property of logarithm : .
Property of inverse logarithm : .
Change of base formula : .
Differentiate with respect to .
Substitute in the above equation.
.