12.2 Finding the Derivative
A-level Maths Year 1 (AS) · Edexcel 9MA0 · Chapter 12: Differentiation
A free A-level Maths Year 1 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: the gradient function and differentiation from first principles. 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
- Use the notation f'(x) and dy/dx for the gradient function
- State the definition f'(x) = lim_(h → 0) (f(x + h) − f(x))/h
- Differentiate x², x³ and simple polynomials from first principles
- Use first principles to find the gradient of a curve at a given point
Key words
- Gradient function: A formula that gives the gradient of a curve at any point, in terms of x.
- Derivative: Another name for the gradient function. We write f'(x) (read as f dash of x).
- dy/dx: Leibniz notation for the derivative of y with respect to x: the rate of change of y as x changes.
- First principles: Finding the derivative from the definition, using a chord and a limit, not a rule.
- Differentiate: To find the derivative.
From one point to every point
In 12.1 you found the gradient at one point by sliding a chord towards it. Now do the same at a general point P(x, f(x)). Let Q be the point on the curve with x-coordinate x + h.
Key fact: The derivative of f(x) is f'(x) = lim_(h → 0) (f(x + h) − f(x))/h If y = f(x), we also write dy/dx for f'(x).
The answer is a function of x. Put in any x-value to get the gradient of the curve there.
Worked example: using a gradient function
For a curve, f'(x) = 2x − 3. Find the gradient at x = 4 and the x-coordinate of the point where the gradient is 7.
f'(4) = 2 × 4 − 3 = 5
2x − 3 = 7 gives 2x = 10
Answer: gradient 5 at x = 4; gradient 7 at x = 5
Differentiating x² from first principles
A first principles proof always has the same four steps: write down f(x + h), subtract f(x), divide by h, then let h tend to 0.
Worked example: prove that the derivative of x² is 2x
f(x) = x², so f(x + h) = (x + h)² = x² + 2xh + h²
f(x + h) − f(x) = 2xh + h²
(f(x + h) − f(x))/h = (2xh + h²)/h = 2x + h
As h → 0, 2x + h → 2x
Answer: f'(x) = 2x
Always show the limit. Write "as h → 0" as above, or use the lim notation from the definition. Either way, the examiner must see it.
Worked example: f(x) = 3x²
f(x + h) − f(x) = 3(x² + 2xh + h²) − 3x² = 6xh + 3h²
Divide by h: 6x + 3h. As h → 0, 6x + 3h → 6x
Answer: f'(x) = 6x
Cubes and polynomials
For x³ you need (x + h)³. Use the binomial expansion: (x + h)³ = x³ + 3x²h + 3xh² + h³.
Worked example: prove that the derivative of x³ is 3x²
f(x + h) − f(x) = 3x²h + 3xh² + h³
(f(x + h) − f(x))/h = 3x² + 3xh + h²
As h → 0, both 3xh and h² tend to 0
Answer: f'(x) = 3x²
Worked example: f(x) = x² − 5x
f(x + h) = (x + h)² − 5(x + h) = x² + 2xh + h² − 5x − 5h
f(x + h) − f(x) = 2xh + h² − 5h
Divide by h: 2x + h − 5. Let h → 0
Answer: f'(x) = 2x − 5
Notice the bracket in −5(x + h). Replace every x in f(x) by (x + h).
A pattern, and gradients at a point
Doing the same with (x + h)⁴ = x⁴ + 4x³h + 6x²h² + 4xh³ + h⁴ gives 4x³. The results so far suggest a pattern, which you will use as a rule in 12.3.
- f'(x); x 1; x² 2x; x³ 3x²; x⁴ 4x³
To find the gradient at one point, put the number straight into the definition. The gradient at x = a is the limit of (f(a + h) − f(a))/h as h → 0.
Worked example: gradient of y = x² + 4x + 1 at (−1, −2)
f(−1 + h) = (h − 1)² + 4(h − 1) + 1 = h² + 2h − 2
f(−1 + h) − f(−1) = h² + 2h − 2 − (−2) = h² + 2h
Divide by h: h + 2 → 2 as h → 0
Answer: the gradient at (−1, −2) is 2
Common mistakes
- Expanding (x + h)² as x² + h². The middle term 2xh is the one that matters.
- Replacing only some of the xs: for f(x) = x² + 3x, f(x + h) = (x + h)² + 3(x + h).
- Letting h = 0 before dividing by h.
- Leaving out the limit. The words "as h → 0" (or lim notation) must appear in a proof.
- Not dividing every term by h.
Revision questions
Try these, then check your answers below each one.
Question 1. Which of these is the definition of the derivative f'(x)? (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) − f(h))/h; (f(x + h) + f(x))/h.)
Answer: lim_(h → 0) (f(x + h) − f(x))/h
Working: The chord from (x, f(x)) to (x + h, f(x + h)) has gradient (f(x + h) − f(x))/h. The derivative is its limit as h → 0.
Question 2. A curve has gradient function f'(x) = 6x − 1. Find the gradient of the curve at x = 2.
Answer: 11
Working: f'(2) = 12 − 1 = 11.
Question 3. Ben writes (x + h)² − x² = h². Is Ben correct?
Answer: No
Working: (x + h)² = x² + 2xh + h², so (x + h)² − x² = 2xh + h². Ben has missed the 2xh term.
Related lessons
- Previous lesson: 12.1 Gradients of Curves
- Next lesson: 12.3 Differentiating xⁿ
- In this chapter: 12.4 Differentiating Quadratics
- In this chapter: 12.5 Differentiating Functions with Two or More Terms
- In this chapter: 12.6 Gradients, Tangents and Normals
Continue in the full course
This lesson is section 12.2 of our free 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. Go to the full A-level Maths Year 1 (AS) course.