In this case we need to use logarithmic differentiation, indeed it is impossible to use the power rule since there is an as exponent. We cannot differentiate it in the same way we do for exponential functions since we take the power of x and not e or another constant. Hence we need to use logarithmic differentiation. First set
then taking the logarithm on both sides we find
Now keeping in mind that y is a function of x, we can take the derivatives on both sides and get
The left-hand side is simply
while the right-hand side gives, using the product rule,
Putting everything back together, we get
and thus
Replacing y by we finally get