13.2 Differentiation from First Principles
OCR A-level Maths Year 1 (AS) · H240 · Chapter 13: Differentiation
What is in the full lesson (12 activities)
Every item below opens free in the course.
- Video: Use an alternative notation to find the formula of the gradient of a function
- Video: Interpret the concept of finding a formula for the gradient of the curve of equation f(x) x² at any point (part 1)
- Video: Interpret the concept of finding a formula for the gradient of the curve of equation f(x) x² at any point (part 2)
- Video: Find, from the definition of the derived function, f(x) when f(x)=x³ (example 3)
- Video: Find, from the definition of the derived function, f(x) when f(x) is a reciprocal function (example 4)
- Video: Deduce the rule of the derivative of a function given in the form y= ax²+ bx + c
- Notes: Lesson notes: Differentiation from First Principles
- Interactive lesson: Interactive lesson: First Principles Zoom
- Interactive lesson: Interactive practice: Differentiation from First Principles Practice
- Practice questions: Practice questions (8 questions, 14 marks)
- Worksheet: Worksheet: Differentiation from First Principles
- Answers: Answers and mark scheme of the Worksheet: Differentiation from First Principles
A free OCR A-level Maths Year 1 lesson for OCR A Level Mathematics A (H240) from OBA School: the gradient of a curve as the limit of gradients of chords, and proofs from first principles (OCR H240: 1.07b, 1.07g). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Find the gradient of a chord and see how it approaches the gradient of the tangent
- State the definition f '(x) = lim (h → 0) (f(x + h) − f(x))/h and read dy/dx as a rate of change
- Differentiate quadratics and cubics from first principles, setting out the proof clearly
- Use the binomial expansion to differentiate small positive integer powers such as x⁴
Key words
- Chord: A straight line joining two points on a curve.
- Limit: The value an expression gets closer and closer to as h gets closer to 0, written lim (h → 0).
- First principles: Finding a derivative directly from the definition, as the limit of chord gradients, rather than from a rule.
- Derivative: f '(x) or dy/dx: the gradient of the curve at x, which is also the rate of change of y with respect to x.
- δ x, δ y: Small changes in x and y (say "delta x"). dy/dx is the limit of (δ y)/(δ x).
Chords that close in on a tangent
We cannot find the gradient of a tangent from one point alone. Instead, take a second point Q on the curve, find the gradient of the chord PQ, and move Q closer and closer to P. The chord gradients approach the gradient of the tangent.
- 1; Q (4, 16); gradient of chord PQ (16 − 9)/1 = 7
- 0.1; Q (3.1, 9.61); gradient of chord PQ 0.61/0.1 = 6.1
- 0.01; Q (3.01, 9.0601); gradient of chord PQ 0.0601/0.01 = 6.01
- 0.001; Q (3.001, 9.006001); gradient of chord PQ 6.001
Worked example: the chord gradient in general
P is (3, 9) on y = x² and Q has x-coordinate 3 + h. Find the gradient of PQ in terms of h, and deduce the gradient at P.
Gradient = ((3 + h)² − 9)/h = (9 + 6h + h² − 9)/h = (6h + h²)/h = 6 + h
As h → 0, 6 + h → 6.
Answer: Gradient of PQ = 6 + h; gradient of the curve at P is 6.
The definition of the derivative
Doing the same at a general point (x, f(x)) gives the gradient function. The change in x is h and the change in y is f(x + h) − f(x).
Key fact: f '(x) = lim (h → 0) (f(x + h) − f(x))/h or dy/dx = lim (δ x → 0) (δ y)/(δ x)
dy/dx measures how fast y changes as x changes: it is the rate of change of y with respect to x. If s is distance and t is time, ds/dt is the rate of change of distance, which is speed.
Worked example: x² at a general point
Prove from first principles that the derivative of x² is 2x.
(f(x + h) − f(x))/h = ((x + h)² − x²)/h = (x² + 2xh + h² − x²)/h = (2xh + h²)/h = 2x + h
As h → 0, 2x + h → 2x.
Answer: f '(x) = 2x
Setting out a proof
Method
1. Write f(x + h) and expand it fully.
2. Subtract f(x): every term without an h should cancel.
3. Divide every term by h. Only now is it safe to let h → 0.
4. Let h → 0 and state the result, using limit notation.
Worked example: a quadratic
Prove from first principles that the derivative of 3x² − 5x is 6x − 5.
f(x + h) = 3(x + h)² − 5(x + h) = 3x² + 6xh + 3h² − 5x − 5h
f(x + h) − f(x) = 6xh + 3h² − 5h
(f(x + h) − f(x))/h = 6x + 3h − 5
f '(x) = lim (h → 0)(6x + 3h − 5) = 6x − 5
Answer: f '(x) = 6x − 5, as required
Worked example: a cubic
Prove from first principles that the derivative of x³ is 3x².
(x + h)³ = x³ + 3x²h + 3xh² + h³
((x + h)³ − x³)/h = (3x²h + 3xh² + h³)/h = 3x² + 3xh + h²
As h → 0, 3xh → 0 and h² → 0.
Answer: dy/dx = 3x²
Higher powers and a pattern
For higher powers, use the binomial expansion of (x + h)ⁿ. After subtracting xⁿ and dividing by h, every term except the first still contains h, so it vanishes in the limit.
Worked example: using the binomial expansion
Prove from first principles that the derivative of x⁴ is 4x³.
(x + h)⁴ = x⁴ + 4x³h + 6x²h² + 4xh³ + h⁴
((x + h)⁴ − x⁴)/h = 4x³ + 6x²h + 4xh² + h³ → 4x³ as h → 0
Answer: f '(x) = 4x³
- f '(x); x 1; x² 2x; x³ 3x²; x⁴ 4x³
The pattern is: bring the power down in front and reduce the power by one. Section 13.3 turns this into a rule for all rational powers.
Common mistakes
- Setting h = 0 before dividing by h, which gives 0/0.
- Expanding (x + h)² as x² + h². The middle term 2xh is the one that matters.
- Forgetting to multiply every term of (x + h)² by the coefficient, for example writing 3(x + h)² = 3x² + 2xh + h².
- Leaving out limit notation or the final statement. A proof must end with lim (h → 0)(…) = … and a conclusion.
Revision questions
Try these, then check your answers below each one.
Question 1. Which expression defines f'(x) from first principles? (Choose from: lim (h → 0) (f(x + h) − f(x))/h; lim (h → 0) (f(x + h) − f(x))/x; lim (h → 0) (f(x + h) + f(x))/h; (f(x + h) − f(x))/h with h = 0.)
Answer: lim (h → 0) (f(x + h) − f(x))/h
Working: The chord from x to x + h has gradient (f(x + h) − f(x))/h, and the derivative is its limit as h → 0. Setting h = 0 directly gives 0/0.
Question 2. In a first principles proof, can you substitute h = 0 before dividing by h?
Answer: No
Working: With h = 0 the fraction is 0/0, which is undefined. Simplify and divide by h first, then let h → 0.
Question 3. For f(x) = x² − 4x, (f(x + h) − f(x))/h = 2x + h − 4. Find the gradient of the curve y = f(x) at x = 7.
Answer: 10
Working: f'(x) = lim (h → 0)(2x + h − 4) = 2x − 4, so f'(7) = 10.
Related lessons
- Previous lesson: 13.1 Sketching Derivatives
- Next lesson: 13.3 Rules of Differentiation
- In this chapter: 13.4 Simplifying into Terms of the Form axⁿ
- In this chapter: 13.5 Interpreting Derivatives and Second Derivatives
Continue in the full course
This lesson is section 13.2 of our free OCR A-level Maths Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.
Continue lesson 13.2 in the free course →