Differentiation from First Principles for Powers of x | Analysis and Approaches IB Maths notes
Free preview: Differentiation from First Principles for Powers of x
The First Principles Formula
Analysis and approaches: HL only (AHL 5.12)
Watch: 1-minute explainer
In the last note we found the gradient of at x = 1 by working out chord after chord: 3, 2.5, 2.1, 2.01, ... It worked, but it was slow, and it only gave the gradient at one point. Then we guessed the pattern 2x. Can we prove it, for every x at once? Yes, with one clever piece of algebra.
What you already know
- The gradient of a curve at a point is the limit of chord gradients, as the second point slides onto the first.
- Chord gradient = rise ÷ run.
- Differentiation from first principles means doing the same limit with algebra, at a general point x.
- The pay-off: you get the whole gradient function at once.

Following the graph
- A is a general point on the curve, .
- B is a little further along, a horizontal distance h to the right, so B is .
- The rise from A to B is and the run is .
- So the chord AB has gradient : rise over run, just as for a straight line.
- Now let h shrink towards 0. B slides onto A and the chord becomes the tangent at A.
💡 In plain words
- Work out the gradient of a chord whose run is h, then see what it settles to as h gets tiny.
- means "the value the expression gets closer and closer to as h gets closer to 0".
- h is a small change in x. Here's the key point: h must never actually be 0 while you simplify.
- Why? Because you cannot divide by 0.
- So you cancel h first, and only then let it go to 0.
A quick warm-up: what is f(x + h)?
Everything depends on writing correctly. The rule: replace every x by , in brackets.
| f(x) | f(x + h) |
|---|---|
📝 Brackets matter
- Wrong: for , writing or .
- Right: . The 3 multiplies the whole expansion.
✏️ YOUR TURN 1
Try this first:
Write down and expand for (a) (b) (c)
Answer:
- (a) .
- (b) .
- (c) 7. There is no x to replace, so .
First Principles for x² and x³
Every first principles proof follows the same four steps. Let's learn them, then do the simplest one slowly.
The 4-step recipe
- Expand : replace every x by and multiply out.
- Subtract . The terms with no h always cancel.
- Divide by h. Every term left has an h in it, so this works.
- Let h tend to 0. Any term still containing h disappears.
👀 Watch me do it: differentiate from first principles
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in HL: Limits, continuity and further differentiation (AHL 5.12–5.15)
- Continuity and Differentiability at a Point
- Differentiation from First Principles for Powers of x
- Differentiating sin x and cos x from First Principles
- Evaluating Limits with Series Expansions and l'Hôpital's Rule
- Implicit Differentiation: Finding dy/dx Without Making y the Subject
- Connected Rates of Change and Differentiating Inverse Functions
- Differentiating arcsin, arccos and arctan, and Integrals That Give Inverse Trig Functions
Video
What's inside for this topic
7 teacher notes, 61 practice questions, 40 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Continuity and Differentiability at a Point Next note: Differentiating sin x and cos x from First Principles