How to Find a Derivative: Rules and Worked Examples
Learn how to find a derivative using the power, product, and chain rules, with step-by-step examples and what the second derivative tells you.

Try it yourselfWork through your own numbers with our free Derivative Calculator.
A derivative measures how fast a function changes. Graphically, it is the slope of the curve at a point. Once you know a handful of rules, most derivatives become routine steps.
The definition in one line
The derivative of f at x is the limit of (f(x + h) − f(x)) ÷ h as h approaches 0. It is a limit of slopes of ever-shorter chords. You rarely compute it this way, but it explains why derivatives exist and why limits come first in a calculus course.
The basic rules
- Constant: the derivative of a constant is 0.
- Power rule: d/dx of xⁿ is n·xⁿ⁻¹.
- Constant multiple: d/dx of c·f(x) is c·f′(x).
- Sum: differentiate each term separately.
Example 1: a polynomial
Find the derivative of f(x) = 4x³ − 5x + 7.
- 4x³ becomes 4 × 3x² = 12x²
- −5x becomes −5
- The constant 7 becomes 0
So f′(x) = 12x² − 5. The slope at x = 2 is 12 × 4 − 5 = 43.
The product rule
When two functions are multiplied, d/dx of u·v is u′v + uv′. For f(x) = x² sin x, take u = x² and v = sin x:
f′(x) = 2x sin x + x² cos x
The chain rule
When one function sits inside another, differentiate the outside, then multiply by the derivative of the inside. For f(x) = (3x + 1)⁵:
- Outside: 5(3x + 1)⁴
- Inside: the derivative of 3x + 1 is 3
- Multiply: f′(x) = 15(3x + 1)⁴
The second derivative
The derivative of the derivative is the second derivative. It shows how the slope itself is changing. Where it is positive, the graph curves upward, and where it is negative, it curves downward. For f(x) = 4x³ − 5x + 7, the second derivative is f″(x) = 24x.
Common mistakes
- Dropping the inner derivative in the chain rule.
- Writing the product rule as u′v′ instead of u′v + uv′.
- Forgetting that a constant disappears.
Check your work
Try the derivative calculator to confirm your answers and see higher-order derivatives. If you get stuck on a limit while working from the definition, the limit calculator can help, and the integral calculator does the reverse.


