2081 4

CSC212 · 2081 · 5 marks

Consider the following data points. Estimate f(0.6) using Newton's interpolation formula.

Consider the following data points. Estimate $f(0.6)$ using Newton's interpolation formula.

$$\begin{array}{c|ccccc} x & 0.1 & 0.2 & 0.3 & 0.4 & 0.5 \ \hline f(x) & 2.68 & 3.04 & 3.38 & 3.69 & 3.97 \end{array}$$

[5]

Numerical MethodChapter 2: Interpolation and RegressionNewton's Interpolation using divided differences, forward diNumerical: Newton's interpolation formula

Newton's Backward Difference Interpolation to Estimate f(0.6)

Given

x0.10.20.30.40.5
f(x)2.683.043.383.693.97
  • Step size $h = 0.1$ (equally spaced)
  • Target: $f(0.6)$

Since $x = 0.6$ lies beyond the last point $x = 0.5$, use Newton's Backward Difference Formula with base $x_n = 0.5$.


Solution

Backward Difference Table

xf(x)∇f∇²f∇³f∇⁴f
0.12.68
0.23.040.36
0.33.380.34-0.02
0.43.690.31-0.03-0.01
0.53.970.28-0.030.000.01

Verification of differences:

  • $\nabla f$: $0.36,\ 0.34,\ 0.31,\ 0.28$
  • $\nabla^2 f$: $-0.02,\ -0.03,\ -0.03$
  • $\nabla^3 f$: $-0.01,\ 0.00$
  • $\nabla^4 f$: $0.01$

Compute s

$$s = \frac{x - x_n}{h} = \frac{0.6 - 0.5}{0.1} = 1$$

Apply the Formula

$$P_n(x) = f(x_n) + s,\nabla f + \frac{s(s+1)}{2!}\nabla^2 f + \frac{s(s+1)(s+2)}{3!}\nabla^3 f + \frac{s(s+1)(s+2)(s+3)}{4!}\nabla^4 f$$

With $s = 1$ (using the last row):

Term 1: $f(x_n) = 3.97$

Term 2: $1 \times 0.28 = 0.28$

Term 3: $\dfrac{1 \cdot 2}{2}\times(-0.03) = 1 \times (-0.03) = -0.03$

Term 4: $\dfrac{1 \cdot 2 \cdot 3}{6}\times 0.00 = 0.00$

Term 5: $\dfrac{1 \cdot 2 \cdot 3 \cdot 4}{24}\times 0.01 = 1 \times 0.01 = 0.01$

Sum

$$f(0.6) \approx 3.97 + 0.28 - 0.03 + 0.00 + 0.01$$

$$\boxed{f(0.6) \approx 4.23}$$

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.