Interpolation

Interpolation is a numerical method used to estimate unknown values that fall within the range of a discrete set of known data points. Unlike regression (curve fitting), which finds a line of best fit that may not touch the data, an interpolating function must pass exactly through every given data point. Key concepts in engineering interpolation: 1. Linear Interpolation: The simplest and most common method (e.g., reading thermodynamic steam tables). It assumes a straight line between two adjacent points. 2. Polynomial Interpolation: Uses a single polynomial of degree N-1 to pass through N points (e.g., Lagrange or Newton polynomials). While exact at the nodes, high-degree polynomials often suffer from "Runge's phenomenon"—wild, uncontrolled oscillations between points, especially near the boundaries of the dataset. 3. Spline Interpolation: To avoid Runge's phenomenon, splines use piecewise low-degree polynomials between points. A cubic spline is standard; it guarantees that the function, its first derivative (slope), and its second derivative (curvature) are continuous across all internal points, creating a perfectly smooth curve. 4. Bilinear Interpolation: Used when a dependent variable relies on two independent variables arranged on a 2D grid (e.g., finding fluid properties given both pressure and temperature). 5. Extrapolation: Estimating values outside the known data range. This is mathematically distinct from interpolation and carries a much higher risk of extreme error.

Governing FormulaLinear Interpolation (1D): y = y₀ + (x - x₀) · [ (y₁ - y₀) / (x₁ - x₀) ] Lagrange Polynomial Basis (L_i): L_i(x) = Π [ (x - x_j) / (x_i - x_j) ] for j ≠ i P(x) = Σ [ y_i · L_i(x) ] Bilinear Interpolation (Unit Square): f(x,y) ≈ f(0,0)(1-x)(1-y) + f(1,0)x(1-y) + f(0,1)(1-x)y + f(1,1)xy

Knowledge Check

10 Questions

1.What is the fundamental mathematical distinction between interpolation and least-squares regression (curve fitting)?

2.Given two known data points from a stress-strain test: (Strain = 0.002, Stress = 400 MPa) and (Strain = 0.004, Stress = 450 MPa). Using linear interpolation, what is the estimated stress at a strain of 0.003?

3.When fitting a single, high-degree polynomial through a large number of equally spaced data points, the curve often exhibits extreme oscillations near the edges of the interval. What is this numerical issue called?

4.To avoid the oscillations of high-degree polynomials, engineers frequently use cubic splines. What continuity conditions does a standard cubic spline enforce at the internal data points (knots)?

5.You are looking up the specific volume (v) of superheated steam. At 200°C, v = 0.20 m³/kg. At 250°C, v = 0.30 m³/kg. If you use linear interpolation to find the specific volume at 210°C, what is the result?

6.What is 'bilinear interpolation' most commonly used for in engineering computations?

7.Which interpolation method constructs specialized basis functions that equal exactly 1 at their specific data point (node) and exactly 0 at all other data points?

8.Which of the following statements correctly distinguishes 'extrapolation' from 'interpolation'?

9.In Finite Element Analysis (FEA), what role do 'shape functions' play?

10.If you use 'nearest-neighbor' interpolation on a dataset, what geometric shape will the resulting plot resemble?