Interpolation: Difference Tables, Newton's Forward Formula and Lagrange | OCR B (MEI) A Level Further Maths notes
Free preview: Interpolation: Difference Tables, Newton's Forward Formula and Lagrange
Reading Between the Lines: Linear Interpolation and Difference Tables
Year 1 or Year 2: check your own specification for when your board teaches this. This is part of OCR B (MEI)'s Numerical Methods option (paper Y434).
Often we only know a function at a few points: a table of measurements, or values from a slow calculation. Before calculators, people looked up logs and sines in printed tables and had to estimate values in between. Interpolation means estimating values between those points by fitting a polynomial through them.
Linear interpolation
- Join the two neighbouring points with a straight line and read off the value.
- Between and : .
💡 In plain words
Go the same fraction of the way up as you went across. Halfway across means halfway up.
👀 Watch me do it: estimate ln 2.5 from ln 2 and ln 3
| What I write | Why I do it |
|---|---|
| The two neighbouring values. | |
| 2.5 is halfway across. | |
| Go halfway up the rise 0.4055. | |
| True value 0.9163. | The curve bends, so a straight line isn't enough. We need a curve. |
✏️ YOUR TURN 1
Try this first:
Given and , use linear interpolation to estimate . Is it an over- or underestimate?
Answer:
- Fraction across: .
- .
- True : an underestimate, because sin bends downwards here so the chord lies below the curve.
The difference table
- For equally spaced x values (step h), write the values in a column, then the differences between neighbours, then the differences of those, and so on.
- (first differences), (second differences), and so on.
| x | (4 d.p.) | |||
|---|---|---|---|---|
| 1 | 0 | 0.6931 | −0.2876 | 0.1698 |
| 2 | 0.6931 | 0.4055 | −0.1178 | |
| 3 | 1.0986 | 0.2877 | ||
| 4 | 1.3863 |
ℹ️ Why differences are useful
- For a polynomial of degree n, the n-th differences are constant and higher ones are zero (just like the n-th derivative).
- So if the k-th differences are (nearly) constant, a degree k polynomial fits the data well.
- A single odd value in a difference table usually signals a copying or rounding mistake.
✏️ YOUR TURN 2
Try this first:
Make a difference table for at x = 0, 1, 2, 3, 4. Which differences are constant?
Answer:
- f: 0, 1, 8, 27, 64.
- : 1, 7, 19, 37.
- : 6, 12, 18.
- : 6, 6. Constant third differences, as expected for a cubic (and ).
Newton's Forward Difference Formula
Write , so s counts steps from (s need not be a whole number). The polynomial through the equally spaced points is
- Use the top diagonal of the difference table: .
- Stopping after the term is linear interpolation; adding the term gives the quadratic, and so on.
- Check: at s = 1 the formula gives , as it must. (The bracket s − 1 kills every later term.)
💡 In plain words
It looks like the binomial expansion , and that is no accident: each step forward adds one difference.
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.
What's inside for this topic
1 teacher note, 75 practice questions, 45 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
All OCR B (MEI) A Level Further Maths topics · A Level Further Maths