wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
CHAPTER 6.2.3 • 2DPublished Interactive Labs~35 min study

Finite Differences, Newton & Lagrange Interpolation

Build forward/backward difference triangles, evaluate non-uniform Lagrange cardinal basis polynomials L_k(x), and bound remainder error.

Engineering & Physical Application Context

Steam/thermodynamic property table lookup, sensor calibration curves, CNC spline interpolation, and CFD staggered finite-difference stencils.

Governing Mathematical Formulation
Pn(x0+uh)=y0+uΔy0+u(u−1)2!Δ2y0+⋯P_n(x_0+uh) = y_0 + u\Delta y_0 + \frac{u(u-1)}{2!}\Delta^2 y_0 + \cdots
Pn(x)=∑k=0nyk∏j≠kx−xjxk−xjP_n(x) = \sum_{k=0}^{n} y_k\prod_{j\neq k}\frac{x-x_j}{x_k-x_j}
Volume VI • Module 6.22 Interactive Lab(s)

The Question You Should Ask

When an experiment gives only discrete sample points (xk,yk)(x_k, y_k), how do we fit an exact passing polynomial—and measure how accurate it stays between samples?

In Simple Words & Math

Over equally spaced grids, Forward (Δyk\Delta y_k) and Backward (∇yk\nabla y_k) difference tables eliminate redundant matrix inversions: Newton Forward hugs the start x0x_0 while Newton Backward hugs the end xnx_n, and at full degree nn both agree identically with Lagrange interpolation.

For arbitrary non-uniform nodes, cardinal basis functions Lk(x)L_k(x) equal 11 at xkx_k and 00 at all xj≠kx_{j\neq k}, creating one unique interpolant Pn(x)=∑ykLk(x)P_n(x) = \sum y_k L_k(x) governed by the Cauchy remainder error Rn(x)R_n(x).

4-Step Pedagogical Chapter Rhythm • Geometric Intuition First
Ch. 6.2.3
STEP 1 • GEOMETRIC QUESTION

Why do truncated Newton Forward and Backward curves differ mid-table yet coincide at degree n—and why can high-degree uniform interpolation blow up near edges?

STEP 2 • INTERACTIVE LAB EXPLORATION

Edit y_i entries in the difference triangle to watch Δ^k diagonals shift, then test non-uniform nodes in the Lagrange basis explorer.

STEP 3 • SYMBOLIC FORMALIZATION
Pn(x)=∑k=0nykLk(x),Rn(x)=f(n+1)(ξ)(n+1)!∏i=0n(x−xi)P_n(x) = \sum_{k=0}^{n} y_k L_k(x), \qquad R_n(x) = \frac{f^{(n+1)}(\xi)}{(n+1)!}\prod_{i=0}^{n}(x - x_i)
STEP 4 • EDGE CASES & NEXT BRIDGE

Once discrete samples are interpolated by quadratics or cubics, integrating those local interpolants yields the Trapezoidal and Simpson's 1/3 quadrature rules in Chapter 6.2.4.

Interactive Laboratories in Chapter 6.2.3
Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Operators, Polynomial Uniqueness & Error • Ch. 6.2.3

Finite Difference Operators, Newton Formulas, Lagrange & Interpolation Error

Open Interpolation Formulas →
1. DIFFERENCE ANNIHILATION
Δn(anxn+⋯+a0)=n! anhn,Δn+1=0\Delta^n (a_n x^n + \cdots + a_0) = n!\,a_n h^n, \qquad \Delta^{n+1} = 0

Each forward difference acts like a discrete derivative scaled by hh: the kk-th column turns constant for degree-kk data.

2. CHOOSING FORWARD VS. BACKWARD VS. LAGRANGE

At full degree nn, all three produce the exact same unique degree-nn polynomial! Truncated forms differ: use Newton Forward near x0x_0, Backward near xnx_n, and Lagrange whenever nodes have uneven spacing.

3. CAUCHY INTERPOLATION REMAINDER
Rn(x)=f(n+1)(ξ)(n+1)!∏i=0n(x−xi)R_n(x) = \frac{f^{(n+1)}(\xi)}{(n+1)!}\prod_{i=0}^n(x - x_i)

Zero at every data node xix_i, yet uniform high-degree grids grow ∏(x−xi)\prod(x-x_i) near boundaries (the Runge phenomenon).

Chapter 6.2.3 Laboratory Specifications

2 Interactive Lab(s)
LAB 6.2.3.1Component: FiniteDifferenceNewtonLab

Finite Difference Table & Newton Forward/Backward Lab

Edit equispaced tables to inspect Δᵏ/∇ᵏ diagonals, truncated degree behavior, and remainder bounds.

u=x−x0h,v=x−xnhu = \frac{x-x_0}{h}, \qquad v = \frac{x-x_n}{h}
LAB 6.2.3.2Component: LagrangeInterpolationLab

Lagrange Basis Polynomials Lₖ(x) & Non-Uniform Interpolant

Verify L_k(x_j) = δ_{kj}, partition of unity Σ L_k(x) = 1, and non-uniform polynomial curves.

Lk(x)=∏j≠kx−xjxk−xjL_k(x) = \prod_{j\neq k}\frac{x-x_j}{x_k-x_j}