In simple terms
A friendly intro before the formal notes — no formulas yet.
Zooming in on Gradients
Differentiation finds the exact gradient at a single point on a curve. We do this by calculating the gradient between two points that are incredibly close together and seeing what value it approaches as the distance between them shrinks to zero.
Imagine you're driving a car and want to know your exact speed at one precise moment. You can't measure speed over zero time, but you can measure your average speed over a very short interval, like 0.1 seconds. To get more accurate you measure over 0.01 seconds, then 0.001 seconds. The value your average speed is 'homing in on' as the interval shrinks towards zero is your instantaneous speed. Finding a derivative is the mathematical equivalent of this process for the gradient of a curve.
- 1
Start with a function and a point . We want the gradient of the tangent line there.
- 2
Choose a second point a small distance away, at . The gradient of the chord (secant) joining and is .
- 3
To turn this chord into a tangent, make infinitesimally small by taking the limit as .
- 4
The result, , is the derivative — the definition we call differentiation from first principles.
Explore the concept
Use the live diagram, PhET or GeoGebra sim, and synced steps — play it, drag controls, or tap a step.
Step 1
Start with a function and a point . We want the gradient of the tangent line there.
Key formulas
Tap any symbol to reveal exactly what it means and its units.
Tap a symbol — great for exam definitions
Full topic notes
Formal explanation with the rigour you need for the exam.
An intuitive introduction to limits
A limit describes how a function behaves as its input gets closer and closer to a particular value. Imagine walking along the graph of a function towards a specific -coordinate: the limit is the -value you are getting closer and closer to. Crucially, the limit does not care what the function's value is at the point, only what it approaches as you get near.
We write 'the limit of as approaches is ' as . For most functions in this course the simplest way to find a limit is direct substitution: if putting into gives a finite number, that number is the limit.
From chord gradient to tangent gradient
We already know how to find the gradient of a straight line: 'rise over run'. We can approximate the gradient of a curve by drawing a chord (a secant line) through two points on the curve, at and . The 'run' is and the 'rise' is . This gives the average rate of change between the two points.
Gradient of the chord:
Our goal is the gradient at a single point — the gradient of the tangent there. Imagine sliding the point at along the curve towards the point at . As the two points close in, shrinks and the chord becomes a better and better approximation of the tangent. The tangent is the limiting position of the chord as : the gradient of the curve at a point is the limit of the gradient of the chord.
The formal definition: differentiation from first principles
Combining the chord gradient with the concept of a limit gives the formal definition of the derivative. The derivative of , written or , is the gradient of the tangent at any point — a whole new function, the gradient function. Finding it from this definition is called 'differentiating from first principles'.
The derivative from first principles:
The two notations mean the same thing. (Lagrange) is read 'f prime of x'; (Leibniz), for , is read 'the derivative of with respect to ' and is a reminder that the derivative is the limiting ratio of a small change in to a small change in . Both give the gradient function, and both can be read physically as the instantaneous rate of change of with respect to .
The formula gives the instantaneous rate of change of with respect to , i.e. the gradient function.
Substitute and into the formula, keeping the written on every line until you take the limit.
Expand and simplify the numerator until the in the denominator cancels — the numerator will always have as a factor.
Only after cancelling the do you evaluate the limit by letting .
The power rule as the result
Once you have differentiated from first principles (giving ) and (giving ), a pattern emerges. Differentiating from first principles always produces the same shape of answer, and this is the power rule.
Power rule: , and for a constant .
So , matching the first-principles answer above. The power rule is a shortcut that saves you the limit every time — but it does not replace first principles. When a question demands 'from first principles', the power rule alone scores nothing; you must show the limit. A useful strategy is to work out the target answer with the power rule in your head first, so you know what you are aiming for as you carry out the limit.
Common mistakes examiners penalise
Substituting too early — do it at the start and you get , an indeterminate form. Simplify and cancel the first, then take the limit.
Dropping the notation — the limit symbol must appear on every line until you actually evaluate it. Writing bare fractions loses method marks even if the algebra is right.
Forgetting to take the limit at the end — stopping at after cancelling is not the derivative. You must write ; leaving the in the final answer loses the final accuracy mark.
Using the power rule when 'first principles' is demanded — writing the answer straight from scores on a first-principles question, even if the answer is correct.
Expanding incorrectly — it is , not . A dropped middle term wrecks the simplification and the cancellation.
Sign slips subtracting — remember to subtract the whole of ; bracket it, e.g. , so the is not forgotten.
Confusing chord and tangent — the chord gradient is an average over an interval; the tangent gradient (the derivative) is the limit of that chord gradient as .
Model answer — marked the way our engine marks it
In Paper 1 a 'from first principles' question is an answer-given style of task in spirit: the marks are analytic, tied to specific lines of working, and the credit lives in the method, not just the final expression. Each mark is either a method mark (M) — for the correct approach — or an accuracy mark (A) — for correct working or the correct answer, and an A mark is dependent on the M mark it follows. 'ISW' (ignore subsequent working) means a correct answer is not un-credited by later clutter, and 'FT' (follow-through) can carry an earlier slip forward. But because the answer is effectively given (you can get it instantly from the power rule), the working must be shown — an unsupported answer earns nothing. Study how each mark below is earned by a specific line.
Where this leads
First principles is the definition; the power rule is the shortcut it justifies. From here you will differentiate sums of powers, then products, quotients and composite functions with further rules — each one ultimately provable from the same limit. The two readings of the derivative you met here, gradient of a tangent and rate of change, drive everything that follows: finding equations of tangents and normals, locating maximum and minimum points where , and modelling how quantities change in kinematics and optimisation. Master the habit — write the definition, substitute, expand, cancel, take the limit — and the calculus that follows becomes variations on a method you already own.
Worked examples
See the formulas applied — reveal one step at a time, like the exam.
Find the limit . [2]
- 1
This is a polynomial, so use direct substitution.
Find the derivative of from first principles. [5]
- 1
Use .
The point lies on the curve . Given , find the gradient of the tangent to the curve at , and interpret its meaning. [3]
- 1
The derivative is the gradient function: it gives the gradient of the tangent at any point on the curve. [M1: recognise derivative as gradient function]
Find the derivative of from first principles. [5]
- 1
Model answer — full working.
How it all connects
The big idea sits in the middle — tap a linked idea to explore the link.
Tap a linked idea to see how it connects back to the main topic — that connection is what examiners reward.
Glossary
Try to recall each definition before you reveal it.
Quick check
Answer in your head first — then tap to check. No pressure.
Revision flashcards
Flip the card. Test yourself before the exam.
What is a limit?
The value a function 'approaches' as its input approaches some value. It describes the behaviour of the function near a point, not necessarily its value at the point.
Key takeaways
Review these before you close the topic — retrieval beats re-reading.
- ✓
The formula gives the instantaneous rate of change of with respect to , i.e. the gradient function.
- ✓
Substitute and into the formula, keeping the written on every line until you take the limit.
- ✓
Expand and simplify the numerator until the in the denominator cancels — the numerator will always have as a factor.
- ✓
Only after cancelling the do you evaluate the limit by letting .
Practice — then mark it
The whole point: a real Cambridge question, marked mark-by-mark.
Get a Paper 1 answer marked: differentiate a polynomial from first principles with full working
Get a Paper 1 answer marked: differentiate a polynomial from first principles with full working
Extra simulations & links
PhET, GeoGebra and other curated tools — open in a new tab.
Frequently asked
Checkpoint
One marked question is worth ten re-reads — close the loop before you move on.
Reading it isn’t knowing it — prove it.
Before you move on: do Get a Paper 1 answer marked: differentiate a polynomial from first principles with full working on paper, snap a photo, and get examiner-style feedback on exactly where you win and lose marks.