Derivative Calculator with Steps
Enter a function to differentiate. The working shows which rule applies to each part, the inner and outer functions for the chain rule, and the simplified result.
Worked example
Differentiate f(x) = x² · e^(3x)
- Identify the structure. A product of u = x² and v = e^(3x), so use the product rule: f′ = u′v + uv′
- Differentiate each part. u′ = 2x. For v, the chain rule gives v′ = 3e^(3x)
- Apply the product rule. f′(x) = 2x · e^(3x) + x² · 3e^(3x)
- Factor. f′(x) = x · e^(3x) · (2 + 3x)
Answer: f′(x) = x e^(3x) (3x + 2)
This example is written out in full. Enter your own problem above and the solver sets out the working the same way.
Where it's used
A derivative is a rate of change. It gives velocity from position, marginal cost and revenue in economics, the slope of a curve at a point, sensitivity of a model to an input, and the turning points used in optimisation.
How to do it by hand
Identify the structure
Is the function a sum, a product, a quotient or a composition? That decides the rule.
Apply the rule
Product: u′v + uv′. Quotient: (u′v − uv′) / v². Chain: differentiate the outer function, then multiply by the derivative of the inner.
Differentiate the pieces
Use the standard derivatives for powers, exponentials, logs and trig functions.
Simplify
Factor common terms and tidy the result.
Common mistakes
- Forgetting to multiply by the derivative of the inner function in the chain rule.
- Getting the order of subtraction wrong in the quotient rule.
- Differentiating a product as the product of the derivatives.
Questions about derivatives
Can it do implicit differentiation?
Yes. Enter the equation and ask for dy/dx. The steps differentiate both sides and solve for dy/dx.
Can I get the second derivative?
Yes. Ask for the second derivative, or ask a follow-up after the first one.
How do I find maximum and minimum points?
Set the derivative to zero and solve for the critical points, then use the second derivative: positive means a minimum, negative a maximum.
What is a partial derivative?
The derivative of a function of several variables with respect to one of them, holding the others constant. Ask for ∂f/∂x and the solver treats y as a constant.
Do dy/dx and f′(x) mean the same thing?
Yes. They are two notations for the derivative. dy/dx is convenient for the chain rule and for differential equations.
Instant calculators for derivatives
No AI and no limits: answers as you type.