← Engineering Mathematics

Numerical Interpolation, Integration & Solution of ODEs

Finite differences — forward, backward and central difference operators, shift operator and relations, difference tables; interpolation — Newton's forward and backward formulas, Lagrange's formula, Newton's divided differences, errors; numerical differentiation; numerical integration — trapezoidal rule, Simpson's 1/3 and 3/8 rules, Weddle's rule, Gaussian quadrature, Romberg integration and error orders; numerical solution of ODEs — Taylor series, Euler, modified Euler (Heun), Runge–Kutta (second and fourth order), predictor–corrector methods (Milne, Adams–Bashforth–Moulton), stability and step size — with fully worked numericals.

📑 Contents (7 sections)

Last reviewed 16 Sept 2026 · 7 min read

Finite differences

For equally spaced values with :

Operator Definition
Forward difference
Backward difference
Central difference
Shift operator
Averaging operator

Relations: ; ; ; ().

  • The nth differences of a polynomial of degree n are constant, and higher differences are zero.

Interpolation

Newton's forward difference formula

For near the beginning of the table, :

Newton's backward difference formula

For near the end of the table, :

(Central difference formulas — Gauss, Stirling, Bessel, Everett — are used near the middle.)

Lagrange's interpolation formula

For unequally spaced points:

Newton's divided difference formula

with , etc. — convenient for adding points.

  • Interpolation error ; high-degree polynomials on equally spaced points may oscillate (Runge phenomenon) — spline interpolation is often preferred.
  • Extrapolation (outside the data range) is unreliable.

Numerical differentiation

From Newton's forward formula at :

Simple approximations: forward (error ); central (error ); second derivative .

Numerical integration

FormulaNewton–Cotes rules (h = step, n = number of intervals)

Trapezoidal rule:

Error (global); exact for linear functions.

Simpson's 1/3 rule ( even):

Error ; exact for polynomials up to degree 3.

Simpson's 3/8 rule ( a multiple of 3):

Error .

Weddle's rule ( multiple of 6): per 6 intervals.

Gaussian quadrature

  • Chooses optimal points and weights — an -point Gauss–Legendre rule is exact for polynomials of degree up to .
  • Two-point rule on : .
  • For , substitute .
  • Widely used in finite element stiffness computations.

Romberg integration

Richardson extrapolation of trapezoidal results with successively halved step sizes: (gives Simpson accuracy), repeated for higher accuracy.

This chapter is in the syllabus of

Open an exam to see where this chapter sits in its syllabus, and to practise it.

✅ Free — no sign-up needed

How ready are you for Engineering Mathematics?

Ten questions from the real syllabus, about five minutes. You will see your score and which subject is holding you back — before you create any account.

10 questions · no timer · no payment