I don't understand the reasoning behind it. I was trying to figure it out with the chain rule in the case of $e^x$, but the I would get $(X(e)^x-1)(e^x)$ and I can't find the reasoning by my own
3 Answers
These are different!
$$\frac{d}{dx} x^n = n x^{n-1}, \quad \text{ Here }x\text{ is being raised to a power}.$$
$$\frac{d}{dx} e^x = e^x, \quad \text{ Here }x\text{ is the exponent}.$$ Let's show this: $$\frac{d}{dx} e^x = \lim_{h\to0} \frac{e^{x+h}-e^x}{h}= \lim_{h\to0} \frac{(e^{h}-1)}{h}e^x$$
Now we need a definition for $e^x$. Here is one:
$$e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!}+ \cdots$$
Now $$\lim_{h\to0} \frac{e^h-1}{h} = \lim_{h\to0}1+h+\frac{h^2}{2}+\cdots=\lim_{h\to0}e^h = 1,$$ so $$\frac{d}{dx} e^x =e^x.$$

- 8,647
- 1
- 8
- 23
Perhaps unsatisfyingly, $f(x) = e^x$ is sometimes defined as the unique function such that $$ \frac{d}{dx}f(x) = f(x) $$ with $f(0) = 1$.
From there, we have $$ a^x = (e^{\ln a})^x = e^{x \ln a} $$ so that $$ \frac{d}{dx} a^x = \frac{d}{dx} e^{x \ln a} = e^{x \ln a} \frac{d}{dx} (x \ln a) = (\ln a) e^{x\ln a} = (\ln a) a^x $$ by the chain rule.

- 5,649
Derive $e^x$ and $x^n$ from first principles to see why they are what they are.
$$f'(x) = \lim\limits_{h \to 0} {f(x+h) - f(x) \over h}$$

- 3,311
(X(e)^x-1)(e^x)
... it looks as though you are remembering how $\dfrac{d}{dx}[x^n] = n\cdot x^{n-1}$. That only has to do with when $x$ is the base... not when $x$ is the exponent. – JMoravitz Oct 23 '20 at 18:10$
signs. – saulspatz Oct 23 '20 at 18:16