Calculator
Derivative Calculator with Steps
Differentiate polynomials, roots, exponentials, logs, and trig functions, and see the rule that produced every line — including the inner derivative that the chain rule keeps demanding.
Solve a derivative problem now
First solution freeHow to use it
Type the function the way you would write it by hand: x^3*ln(x), sin(2x), and e^(2x)/(x^2+1) all parse. If you are differentiating with respect to something other than , name the variable in the question. State whether you want a first, second, or implicit derivative, because those are three different pieces of work. Every step is labelled with its rule, and follow-up questions on the same solution do not use up your daily quota, so ask why a line happened rather than resolving the whole problem. For mixed problems that also involve limits or integrals, the calculus solver handles the whole question in one pass.
The method behind it
A derivative is the instantaneous rate of change of a function: the limit of average rates of change as the measuring interval shrinks to nothing.
Every rule below is that limit already worked out for a whole family of functions, which is why nobody differentiates from the definition after the first week of the course. The power rule handles any real exponent, so rewrite roots and reciprocals before you start — and .
Two functions multiplied need the product rule, and the structure is symmetric: differentiate one factor at a time and add the results.
The quotient rule is the same idea with a subtraction, and the subtraction is the reason it goes wrong so often. The derivative of the numerator comes first.
The chain rule is the one that separates people who can differentiate from people who can differentiate reliably. Any time the variable is wrapped inside another function, the derivative of that inner expression must multiply what you wrote.
Those four rules compose. A quotient whose numerator is a composite needs the quotient rule on the outside and the chain rule inside the top, and the order you apply them in is fixed by the structure of the expression, not by preference. Layer them onto the standard library of derivatives below and almost everything in a first course is reachable.
If the composition is what is tripping you up, work through the chain rule explained plainly before returning here; the product and quotient rules guide covers the sign error that costs the most marks.
Worked examples
Worked example
- 1
The outermost operation is a multiplication of two functions of x, so this is the product rule.
- 2
Differentiate each factor separately before combining anything.
- 3
Apply the rule: derivative of the first times the second, plus the first times the derivative of the second.
- 4
Simplify the second term. Three powers of x over one power of x leaves two.
- 5
Factor out the common square so the answer is in its tidiest form.
Answer
Worked example
- 1
The last operation is a division and the denominator has two terms, so the quotient rule applies. Name the top and bottom first.
- 2
The numerator is a composite, so its derivative needs the chain rule: differentiate the exponential, then multiply by the derivative of the exponent.
- 3
Substitute into the quotient rule, keeping the derivative of the top in the first product.
- 4
Both terms on top share a factor of 2e^{2x}. Pull it out rather than expanding.
- 5
Order the bracket by descending powers. The quadratic inside has a negative discriminant, so it never factors further and never vanishes.
Answer
Which rule applies?
Choosing the rule is the whole difficulty; executing it is bookkeeping. The question that resolves it every time is which operation you would perform last if you were plugging a number in. Answer that, and the rule is forced.
Pick the differentiation rule
Imagine evaluating the expression at a number. Which operation would you perform last?
Common mistakes
Dropping the inner derivative
Writing loses the factor of 3. After you differentiate the outer function, always ask out loud what was inside and multiply by its derivative. The correct answer is .
Reversing the quotient rule numerator
Swapping the two products flips the sign of the entire derivative. Test your memory of the order on something you can verify: is just , so its derivative must be 1. The correct order gives , and the reversed order gives .
Multiplying the two derivatives
The derivative of a product is not the product of the derivatives. With , the product is and its derivative is , but multiplying the derivatives gives 1. The same warning applies to quotients and to compositions.
Practice
Answers are checked here — nothing is sent anywhere.
- 1
- 2
- 3