Calculus

Linear Interpolation

Students place a marker between the ends of a taut diagonal string.

Linear Interpolation definition

Linear interpolation estimates a value between two known data points by using the line segment joining them.

In Spanish
interpolación lineal
Topic
Numerical approximation

Linear Interpolation in a picture

Linear Interpolation diagramThe point one quarter of the way from (0, 10) to (8, 18) has coordinates (2, 12).Known points: (0, 10), (8, 18)Estimate at x = 2t = 2/8 = 1/4Move one quarter across10 + (1/4)(18 − 10) = 12Move the same fraction vertically
The point one quarter of the way from (0, 10) to (8, 18) has coordinates (2, 12).

How it works

For distinct horizontal inputs x₀ and x₁, calculate the fraction t = (x − x₀)/(x₁ − x₀) of the way across. The estimate is (1 − t)y₀ + ty₁. This is exact for points on a linear relationship and approximate for a curved one.

Worked examples

Find the value halfway between (2, 4) and (6, 10).

At x = 4, the linear estimate is (4 + 10)/2 = 7.

Between (0, 20) and (10, 10), estimate the value at x = 3.

20 + 0.3(10 − 20) = 17.

Is an estimate at x = 11 based on points at 0 and 10 interpolation?

It is extrapolation because 11 lies outside the interval.

Common mistake

Use the fraction of the horizontal interval. Averaging the outputs directly only works at the midpoint.

Quick check

What shape connects the known points?

Show answer

A straight line segment.

Can interpolation be exact?

Show answer

Yes, when the underlying relationship is linear.

What happens if x₀ equals x₁?

Show answer

The horizontal interval is zero, so this formula cannot be used.

Sources

Flashcard

Linear Interpolation

Reveal the definition

Linear interpolation estimates a value between two known data points by using the line segment joining them.

Effortless Math. “Linear Interpolation.” Math Dictionary.