[Math] Why isn’t the derivative of $e^x$ equal to $xe^{(x-1)}$

calculusderivatives

When we take a derivative of a function where the power rule applies, e.g. $x^3$, we multiply the function by the exponent and subtract the current exponent by one, receiving $3x^2$. Using this method, why is it that the derivative for $e^x$ equal to itself as opposed to $xe^{x-1}$? I understand how the actual derivative is derived (through natural logs), but why can't we use the original method to differentiate? Furthermore, why does the power rule even work? Thank you all in advance for all of your help.

Best Answer

You are confusing things. If I define $f : \mathbb{R} \to \mathbb{R}$ by $f(x)=x^n$ this is very different from defining $g: \mathbb{R} \to \mathbb{R}$ by $g(x)= a^x$, note that in the first one the exponent is not varying and on the other function the variable appears on the exponent.

For the first function the derivative is just $f'(x) = nx^{n-1}$, for the second one things are different. First it turns out that first you need to define what it means to raise something to a real number (notice that the usual definition doesn't work, what would mean multiplying a number by itself $\pi$ times?), in that case for reasons that I won't explain here we define this function as:

$$a^x = e^{x\ln a}$$

In that case, if we know how to differentiate $e^x$ (and usually when we construct this, we already know), we'll have the following:

$$(\ln \circ g)(x)=x \ln a$$

Now the chain rule gives:

$$\ln'(g(x))g'(x)=\ln a$$

However $\ln'(x) = 1/x$ because of the construction of $\ln$ and $g(x)=a^x$ so tha we have:

$$\frac{1}{a^x}g'(x)=\ln a \Longrightarrow g'(x) = a^x \ln a$$

Notice that there was a crucial appeal to the definition $a^x = e^{x \ln a}$. To know why we define things this way look at Spivak's Calculus, there's an entire chapter devoted to all the constructions about logs and exponentials.

Related Question