Blog Β· Calculus guides Β· 24 October 2026 Β· 4 min read
Derivatives of e^x and ln x: Examples & Practice Problems

The derivative of is , and the derivative of is (for ). When there is something other than plain inside, multiply by its derivative: and . For example, and .
The formula
is the function that is its own derivative, which is the whole reason is the number it is. Differentiate it all afternoon and it will not change, which is either peaceful or unsettling depending on the afternoon.
When to use it
Use these whenever is raised to a power with in it, or you are taking the natural log of something. The plain versions, and , are straight off the table. Anything else, , , , , needs the chain rule on top: the derivative of the inside comes out as a factor. A product like needs the product rule as well. And for a log of a big product or quotient, it is often easiest to split it with the log laws before you differentiate anything.
How to do it, step by step
- Find the inside. In the inside is ; in it is . If the inside is just , the table rule is the whole answer.
- For : copy it, then multiply by the inside's derivative. stays and gains a factor of .
- For : put the inside's derivative over the inside. becomes .
- Use the log laws first if they help. and often turn a hard derivative into an easy one.
Worked examples
Example 1: Straight from the table
EasyDifferentiate:
Constants stay in front. differentiates to itself, and to .
Answer
Example 2: With something inside
MediumDifferentiate:
First term: the inside is , whose derivative is 3. So becomes . The exponent itself does not change.
Second term: the inside is , whose derivative is . Derivative over original:
In our answer data, exponentials like are answered correctly 74% of the time, against 93% for the plain table derivatives. Almost all of the gap is that missing 3.
Answer
Example 3: A product of both
HarderDifferentiate:
This is a product, so the product rule: , .
by the chain rule. For , the inside is , so . The 3 cancels completely, which makes sense: , and is a constant.
You can factor out to write it as . Either form is right.
Answer
Your turn
Three to try, checked by the same machine that grades the game. Type the answer however you like; any correct form counts.
Problem 1
EasyDifferentiate:
Problem 2
MediumDifferentiate:
Problem 3
HarderDifferentiate:
Common mistakes
- Dropping the inside derivative on . is , not . The function copies itself, but the chain rule still applies.
- Using the power rule on . is not . The is in the exponent, so the power rule has nothing to say.
- Writing for . That is one over the inside, but it is missing the inside's derivative on top. The answer is .
- Splitting a log of a sum. The log laws turn products into sums, not the other way round: is not . There is no law for , so a log of a sum has to go through the chain rule as it is.
- Changing the exponent. is . The exponent stays exactly ; it does not drop to or turn into .
Practice it now
Five minutes, no account
Plain and (with a number in front) are some of the first problems in a Sprint, at difficulty 1 and 2. Then come and with a linear term at 2 and 3, and logs of polynomials, , at 3 and 4.
FAQ
- Why is the derivative of e^x equal to e^x?
- That is what makes special. Every exponential has a derivative proportional to itself, , and is the one base where that constant, , is exactly 1.
- What is the derivative of ln(kx)?
- Just , for any positive constant . The chain rule gives , and the cancels. Another way to see it: , and is a constant.
- What are the integrals of e^x and 1/x?
- Read the derivatives backwards: and . The absolute value is there because also has derivative for negative , where plain does not exist. With an inside, divide by its derivative instead of multiplying, as long as it is a constant: .
- What about other bases, like 2^x and log base 2?
- , and . With the is 1 and you get back the rules above.
- How do you differentiate x^x?
- Neither the power rule nor the exponential rule fits, since the variable is in both places. Take logs first: that is logarithmic differentiation, and it gives .
- Where can I find derivatives of e^x and ln x practice problems?
- Right on this page: "Your turn" has three derivatives of e^x and ln x practice problems, easy, medium and harder, checked as you type by the same checker that grades Asymptote, with the answer and the first step if you miss. For more practice against the clock, a five-minute Sprint is free and needs no account.
Keep going
Chain Rule: Steps, Examples & Practice Problems
How to use the chain rule on a function inside a function: the formula, four steps, three worked examples and three practice problems checked as you type.
Power Rule: Derivatives, Examples & Practice Problems
How to differentiate x^n with the power rule, including roots, fractions and negative powers: three worked examples and three practice problems.
Implicit Differentiation: Steps, Examples & Practice Problems
How to find dy/dx when y is not on its own: implicit differentiation in four steps, three worked examples, tangent lines and three practice problems.