A general method for problems like this is to take the logarithm of both sides. If then . Now differentiate both sides with respect to x.
The derivative of ln(y) with respect to y is but since y itself is a function of x, by the chain rule, the derivative of ln(y) with respect to x is .
so .