Calculus has a reputation for being intimidating, but the central idea behind a derivative is actually simple: how fast is something changing? This guide builds derivatives from scratch — first as a geometric idea, then as a precise definition, and finally as a toolbox of rules you can apply mechanically. By the end you should be able to differentiate any polynomial, exponential, or trigonometric function on paper, and check your work with our free Derivative Calculator.
What is a derivative, intuitively?
Imagine driving a car. Your speedometer shows your instantaneous speed — how fast your position is changing right now. That is exactly what a derivative captures: the rate of change of one quantity with respect to another at a single instant.
Geometrically, the derivative of at the point is the slope of the tangent line to the curve at . Steep slope means fast change; flat slope means slow change; zero slope means a momentary peak, valley, or pause.
The limit definition
The formal definition uses a limit because we are asking what slope you get as the gap between two points shrinks to zero:
You start with the slope of a secant line between and , then squeeze down toward . The limit (when it exists) is the tangent slope.
Worked example with the limit definition
Find the derivative of from first principles.
- Compute .
- Form the difference quotient: .
- Take the limit as : .
So the slope of at any is just — at the slope is , at the slope is , at the slope is (the parabola's vertex).
The four rules you actually use
Doing every derivative from the limit definition would be exhausting. Instead, mathematicians proved a small set of rules once and for all; you just apply them mechanically.
1. Power rule
For any real exponent :
Examples: , , .
2. Sum, difference, and constant multiples
Differentiation is linear: handle each term independently and pull constants out front.
3. Product rule
Two functions multiplied? Take turns differentiating each.
4. Chain rule
The chain rule handles compositions :
In words: differentiate the outer function evaluated at the inner function, then multiply by the derivative of the inner. The chain rule is by far the most common source of mistakes — every time you see a function inside another function, slow down.
A complete worked example
Differentiate .
- The outer function is (with ). Its derivative w.r.t. is .
- The inner function is . Its derivative is .
- Apply the chain rule: .
If you tried to expand first, you would burn five minutes of algebra; the chain rule does it in three lines.
Common derivatives worth memorising
| Function | Derivative |
|---|---|
These five are non-negotiable for any STEM student — flashcards work.
Common mistakes
- Forgetting the chain rule: , not .
- Treating constants as variables: , not . is a number.
- Dropping notation: writing instead of when you need to plug in a value later — keep the visible until the last moment.
- Mis-bracketing: vs are different functions. Parentheses save lives.
Where to go next
Once you are comfortable differentiating, the natural next steps are:
- Implicit differentiation: differentiating equations like where is a function of but not given explicitly.
- Related rates: applying derivatives to real-world rates of change (a ladder sliding down a wall, water filling a cone).
- Optimisation: using derivatives to find maxima and minima of functions.
- Integrals: the reverse operation, recovering from — see our Integral Calculator.
Try it yourself
Type any function into the Derivative Calculator and you'll get the step-by-step derivation shown above. Want a sanity check on a homework answer at midnight? It is free and requires no signup.
For deeper related material, see:
- Limit Calculator — the foundation derivatives are built on
- Integral Calculator — derivatives' inverse operation
- Series Calculator — Taylor series use derivatives at every order