How to Find the Derivative: Power, Product, Quotient and Chain Rules
The derivative of a function tells you its rate of change: how fast changes as changes, or, on a graph, the slope of the curve at each point. Most derivatives you will meet in a course come from four rules. Spot which one the function needs, apply it, and simplify.
The calculator is loaded with example 2 from the power rule section. Type your own function using ^ for powers and * for multiplication, for example x^2*sin(x).
Which rule do I use?
| If the function is | Example | Use |
|---|---|---|
| A power of x, or a sum of them | Power rule, term by term | |
| Two functions multiplied | Product rule | |
| One function divided by another | Quotient rule | |
| A function inside another function | Chain rule |
Many functions need two rules at once; there is an example of that further down.
What a derivative is
The derivative of at a point is the slope of the tangent line there. You get it by taking the slope between two points on the curve and letting the gap between them shrink to zero:
For the limit works out like this:
So , and at the slope is 2, as in the picture. Working from the limit every time would be slow, which is what the rules below are for.
Rule 1: The power rule
Bring the power down in front and reduce the power by one. A constant on its own differentiates to zero, and a constant multiplier stays where it is.
Example 1
Example 2: a polynomial
Differentiate term by term:
Example 3: negative and fractional powers
Rewrite roots and fractions as powers first: and .
Rule 2: The product rule
Example 4
. Let and , so and .
Rule 3: The quotient rule
Example 5
. Let and , so and .
Rule 4: The chain rule
Differentiate the outside function, leave the inside alone, then multiply by the derivative of the inside.
Example 6
. The outside is ; the inside is , with derivative .
Example 7
Using two rules at once
is a product, and its second factor needs the chain rule: .
What the derivative tells you
Where is positive the function is rising, where it is negative the function is falling, and where it is zero the graph is flat. These stationary points are where you look for maximums and minimums in optimisation problems. Most are turning points, but not all: is flat at 0 and keeps on rising.
Derivatives to know by heart
Common mistakes
- Forgetting the inside derivative. The derivative of is not ; it needs the extra factor .
- Getting the quotient rule backwards. The top is , in that order, because subtraction does not swap.
- Treating a product like a sum. The derivative of is not .
- Leaving roots as roots. Rewrite as before using the power rule.
Related calculators and guides
- Derivative calculator: first, higher-order and at-a-point derivatives with steps.
- Partial derivative calculator for functions of several variables (guide).
- Implicit differentiation calculator for equations like (guide).
- Limit calculator and how to calculate limits.
- Going the other way: integral calculator and integrals and antiderivatives.
Related Articles
Implicit Differentiation: The Chain Rule Trick
Learn implicit differentiation step by step. Understand why we need it, how the chain rule applies, and how to find tangent lines and second derivatives implicitly.
Partial Derivatives Explained: A Guide to Multivariable Calculus
Learn how to compute partial derivatives, understand the gradient vector, and apply multivariable calculus to optimisation, physics, and economics with worked examples.
How to Calculate Limits: Methods, Rules, and Examples
Learn how to evaluate limits using direct substitution, factoring, rationalisation, and L'Hopital's rule. Covers one-sided limits and limits at infinity.