Skip to main content

Find f'(3) from table

Short answer

Construct Newton's divided difference interpolating polynomial for the unequally spaced points, then differentiate and evaluate at x=3. The result is f'(3) ≈ 1.5260.

Find f'(3) from the following table:

x2481216
f(x)2023303540

The x values (2, 4, 8, 12, 16) are not equally spaced, so the difference formulas cannot be used. Fit Newton's divided difference polynomial and differentiate it.

Divided difference table

xf(x)f[xᵢ,xᵢ₊₁]2nd3rd4th
2201.5000000.041667-0.0104170.001116
4231.750000-0.0625000.005208
8301.2500000.000000
12351.250000
1640

(for example f[2,4] = (23 − 20)/(4 − 2) = 1.5, f[2,4,8] = (1.75 − 1.5)/(8 − 2) = 0.041667)

Interpolating polynomial

f(x) = 20 + 1.5(x−2) + 0.041667(x−2)(x−4) + (-0.010417)(x−2)(x−4)(x−8)
       + 0.001116(x−2)(x−4)(x−8)(x−12)

Differentiate

f′(x) = 1.5 + 0.041667[(x−2) + (x−4)]
        + (-0.010417)[(x−4)(x−8) + (x−2)(x−8) + (x−2)(x−4)]
        + 0.001116[(x−4)(x−8)(x−12) + (x−2)(x−8)(x−12)
                      + (x−2)(x−4)(x−12) + (x−2)(x−4)(x−8)]

At x = 3:

(x−2)+(x−4) = 1 − 1 = 0
(x−4)(x−8)+(x−2)(x−8)+(x−2)(x−4) = 5 − 5 − 1 = −1
(x−4)(x−8)(x−12)+(x−2)(x−8)(x−12)+(x−2)(x−4)(x−12)+(x−2)(x−4)(x−8)
   = (−1)(−5)(−9) + (1)(−5)(−9) + (1)(−1)(−9) + (1)(−1)(−5) = −45 + 45 + 9 + 5 = 14

f′(3) = 1.5 + 0.041667(0) + (-0.010417)(−1) + 0.001116(14)
      = 1.5 + 0.010417 + 0.015625
      = 1.5260

Answer: f′(3) ≈ 1.5260

✓ Answer checked by Claude Opus 5.5 (high effort)

All Numerical Method chapter 5 questions →