Free calculus tool
Derivative Calculator
Find the derivative of a function with every step shown: the sum, power, product, quotient and chain rules applied one at a time, the way you would write it out by hand, then the simplified answer. You also get the second derivative, the slope and tangent line at any point, and a graph of f and f′ together. Free, no signup.
Type powers with ^ (x^3), and functions like sin, cos, tan, ln, log, sqrt, e^x. Multiplication can be implied: 3x, x sin(x).
Derivative
Second derivative
Step by step
- 1The function to differentiate:f(x) = x^{2} \sin\left(x\right)
- 2Product rule. (uv)′ = u′v + uv′\frac{d}{dx}\left[x^{2} \sin\left(x\right)\right] = \frac{d}{dx}\left[x^{2}\right] \cdot \sin\left(x\right) + x^{2} \cdot \frac{d}{dx}\left[\sin\left(x\right)\right]
- 3Power rule. Bring the power down and lower it by one: (xⁿ)′ = nxⁿ⁻¹.\frac{d}{dx}\left[x^{2}\right] = 2x
- 4Sine rule. The derivative of sin is cos.\frac{d}{dx}\left[\sin\left(x\right)\right] = \cos\left(x\right)
- 5Put the pieces together and simplify.f'(x) = 2x \sin\left(x\right) + x^{2} \cos\left(x\right)
f(x) f′(x), the slope of f
f′(1)
Tangent line
The derivative rules
The power rule handles each power of x; the product and quotient rules handle functions multiplied or divided; the chain rule handles a function inside another. Most derivatives use several of them together.
Derivatives worth knowing by heart
Frequently asked questions
How do I find a derivative step by step?+
Work from the outside in. Decide what the function is overall (a sum, a product, a quotient, a power or a function of something), apply that rule, and leave the derivatives of the pieces to do next. Then take each piece's derivative the same way. The calculator shows exactly that, one rule per step.
When do I use the chain rule?+
Whenever a function has something other than plain x inside it, such as sin(x²) or (3x + 1)⁵. Differentiate the outside function, leave the inside alone, then multiply by the derivative of the inside: the derivative of sin(x²) is cos(x²) · 2x.
What's the difference between the product and quotient rules?+
The product rule is for two functions multiplied together: (uv)′ = u′v + uv′. The quotient rule is for one divided by the other: (u/v)′ = (u′v − uv′)/v². Dividing by a plain number doesn't need the quotient rule: x/4 has derivative 1/4.
What does the derivative tell me?+
f′(a) is the slope of the graph of f at x = a, the instant rate of change. Positive means f is rising there, negative means falling, and zero means a flat spot, often a maximum or minimum. The tangent line at that point has exactly that slope.
What can I type?+
Powers with ^ (x^3), products like 3x or x sin(x), fractions with /, and the functions sin, cos, tan, sec, csc, cot, their inverses (asin, acos, atan), sinh, cosh, tanh, ln, log, sqrt, abs and e^x. Use brackets around the inside of a function when it's more than x: sin(2x).
Studying calculus?
See derivatives as tangent lines and integrals as areas next, or get a calculus tutor for one-on-one help. Your first trial lesson is free.
Make calculus click
A 1-on-1 calculus tutor helps you see which rule to use and why, so the steps make sense. Your first trial lesson is free.