# Derivative of exponential function $\frac{d}{dx}a^x$

I am trying to compute simple derivatives of simple functions, but I got stuck on $\frac{d}{dx}a^x=(\ln{a})a^x$.

I suppose the proof is a simple corollary of $\frac{d}{dx}e^x=e^x$, but I am unable to find it. Can anybody help me?

-

Hint $a^x=e^{\ln (a^x)} = e^{x \ln a}$

You can also use logarithmic differentiation...

-
Thanks! I had applied the chain rule, but then I was making a (rather silly) mistake... – Danilo Piazzalunga Dec 27 '11 at 22:16

Write $a^x$ as: $a^x=e^{\ln a^x}=e^{x\ln a}$ and use the chain rule.

-

Chain rule: $2^x$ is the same as $e^{(\log_e 2)x}$. To differentiate $(\log_e 2)x$, remember that $\log_e 2$ is a constant.

-