Blog · Calculus guides · 5 December 2026 · 4 min read
By the Asymptote team. Every answer on this page is checked by the same machine that grades the game.
Derivative of x^x: 2 Methods, Examples & Practice Problems
The derivative of is , for . To get it, rewrite as and use the chain rule, with the product rule on the exponent; taking of both sides and differentiating implicitly gives the same thing. For example, at the slope is .
Before you scroll
Try one now
Type the answer. Any correct form counts, and it is checked instantly. Stuck? The answer is underneath.
Problem 1
EasyFind the slope of at :
Stuck? Show the answer
Answer
How to start
Use and remember that .
The formula
The power rule says . The exponential rule says . Each is half right, and the real answer is what you get by adding the two wrong ones together.
When to use it
Use this whenever sits in both the base and the exponent: , , , . The power rule needs a constant exponent, and the rule for needs a constant base, so neither applies on its own. The fix is the identity , which turns any variable power into to something, and to something is just the chain rule. It is the same calculation as logarithmic differentiation, which has and worked by logs; here we do it the way and push on to the variations and the minimum.
How to do it, step by step
- Rewrite with base . Since , you can write . In general , for .
- Differentiate the exponent. is a product, so .
- Apply the chain rule. The derivative of is , so you get .
- Swap back to . The answer is the original function times the derivative of its exponent: .
Worked examples
Example 1: The slope of x^x at a point
EasyFind the slope of the tangent line to at .
Rewrite with base and differentiate. The exponent needs the product rule:
Now put in : .
As a sense check, goes from at to at , so a slope of about in the middle is believable. The power-rule guess, , gives just , which is too small: it misses the that comes from the exponent moving.
Answer
Example 2: A log in the base
MediumDifferentiate, for :
The base must be positive, which is why : there . Rewrite with base :
The exponent is a product, times , and the second factor needs the chain rule: its derivative is . Then the in front cancels the :
Multiply by the original function and you are done. Same shape as before: the function, times the derivative of its exponent once everything is written over .
Answer
Example 3: Where x^x is smallest
HarderFind the where has its minimum, for .
Set the derivative to zero. is to something, so it is never zero; only the bracket can be:
Check it is a minimum: is negative for and positive after, so the graph falls, then rises. The lowest value is .
The ends are fun too. As , (a job for L'Hôpital's rule), so , while the slope dives to . So starts at height , dips to about at , climbs back to at , then takes off.
Answer
Derivative of x^x practice problems
The easy one was at the top. Here are the harder ones. Type an answer and it is checked instantly by the same checker that grades the game; any correct form counts. Stuck? The answer and the first step are under each one.
Problem 2
MediumDifferentiate, for :
Stuck? Show the answer
Answer
How to start
Write . The exponent's derivative is by the chain rule.
Problem 3
HarderFind the where has its maximum, for :
Stuck? Show the answer
Answer
How to start
Write it as . The exponent's derivative is by the quotient rule; set that to zero.
Want more? Asymptote has 1,000 related problems, free, with no account.
Common mistakes
- Using the power rule. is wrong: the power rule only works when the exponent is a constant.
- Using the exponential rule. is also wrong: that rule is for a constant base, like . The correct answer, , contains both wrong answers added together, one for the base moving and one for the exponent moving.
- Skipping the product rule on the exponent. is a product, so its derivative is , not and not .
- Forgetting the domain. is only a smooth real function for . happens to exist, but does not, so the graph does not continue to the left of .
- Mixing up the towers. , which is not the same as . Write the exponent out in full before differentiating.
Practice it now
Five minutes, no account
Asymptote has no problems yet. The two moves inside it are in a Sprint, though: to a power at difficulty 2 and 3, like , which is exactly the chain-rule step on , and derivatives of of a polynomial at 3 and 4.
FAQ
- What is the derivative of x^x?
- , for . Write , then the chain rule gives times the derivative of , which is .
- Why can't you use the power rule on x^x?
- The power rule needs to be a constant. In the exponent changes with , so its own change adds the extra term.
- What is the minimum value of x^x?
- It is at , where . The derivative is zero exactly when .
- What is the derivative of x^(1/x)?
- . Write it as and use the quotient rule on the exponent. It is zero at , the function's highest point.
- What is the integral of x^x?
- It has no antiderivative in elementary functions. The definite integral from to does have a famous value, the series , known as the sophomore's dream.
- Where can I find derivative of x^x practice problems?
- Right on this page: the practice problems section has three derivative of x^x problems, easy, medium and harder, with the answer and the first step under each one, and a box that checks what you type with the same checker that grades Asymptote. The game has 1,000 related problems after that, free and with no account: try a five-minute Sprint.
Keep going
Logarithmic Differentiation: Steps, x^x & Practice Problems
Logarithmic differentiation: take ln of both sides, differentiate, multiply by y. For x^x, variable powers and messy products, with practice problems.
Derivatives of e^x and ln x: 3 Examples & Practice Problems
The derivative of e^x is e^x and of ln x is 1/x. Using both with the chain rule, 3 worked examples, common mistakes and practice problems with answers.
Chain Rule: Formula, 3 Examples & Practice Problems
The chain rule: d/dx f(g(x)) = f'(g(x))·g'(x). Outside, then inside, in 4 steps. 3 worked examples and practice problems with answers, checked instantly.