Linear interpolation approximates a curve between two points by a straight line.

The general equation of a line is
We substitute the points
into this equation and solve the resulting simultaneous equations to find
and![]()
(1)
(2)
(2)-(1)
![]()
![]()
![]()
Hence![]()
Example: Find the straight line approximation to
between
and![]()
and![]()
![]()
![]()
The equation is![]()