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 y=x2 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.

A curve y = f(x) with point A at (x, f(x)) and point B at (x + h, f(x + h)), joined by a chord; the horizontal step is h and the vertical step is f(x + h) − f(x)

Following the graph

  • A is a general point on the curve, (x, f(x)).
  • B is a little further along, a horizontal distance h to the right, so B is (x+h, f(x+h)).
  • The rise from A to B is f(x+h)−f(x) and the run is (x+h)−x=h.
  • So the chord AB has gradient f(x+h)−f(x)h: 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.

f′(x)=limh→0f(x+h)−f(x)h

💡 In plain words

  • Work out the gradient of a chord whose run is h, then see what it settles to as h gets tiny.
  • limh→0 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 f(x+h) correctly. The rule: replace every x by (x+h), in brackets.

f(x)f(x + h)
x2(x+h)2=x2+2xh+h2
5x5(x+h)=5x+5h
3x23(x+h)2=3x2+6xh+3h2
x2−4x(x+h)2−4(x+h)

📝 Brackets matter

  • Wrong: for f(x)=3x2, writing f(x+h)=3x2+h or 3x2+h2.
  • Right: 3(x+h)2=3x2+6xh+3h2. The 3 multiplies the whole expansion.

✏️ YOUR TURN 1

Try this first:

Write down and expand f(x+h) for (a) f(x)=2x2 (b) f(x)=x2+3x (c) f(x)=7

Answer:

  • (a) 2(x+h)2=2x2+4xh+2h2.
  • (b) (x+h)2+3(x+h)=x2+2xh+h2+3x+3h.
  • (c) 7. There is no x to replace, so f(x+h)=7.

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

  1. Expand f(x+h): replace every x by (x+h) and multiply out.
  2. Subtract f(x). The terms with no h always cancel.
  3. Divide by h. Every term left has an h in it, so this works.
  4. Let h tend to 0. Any term still containing h disappears.

👀 Watch me do it: differentiate f(x)=x2 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.

Log in · Subscribe · Start free trial

All notes in HL: Limits, continuity and further differentiation (AHL 5.12–5.15)

  1. Continuity and Differentiability at a Point
  2. Differentiation from First Principles for Powers of x
  3. Differentiating sin x and cos x from First Principles
  4. Evaluating Limits with Series Expansions and l'Hôpital's Rule
  5. Implicit Differentiation: Finding dy/dx Without Making y the Subject
  6. Connected Rates of Change and Differentiating Inverse Functions
  7. 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.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Continuity and Differentiability at a Point Next note: Differentiating sin x and cos x from First Principles

Differentiation from First Principles for Powers of x on other exam boards

All Analysis and Approaches IB Maths topics · IB Maths