| Linear Interpolation |
Article Index for Linear |
Website Links For Linear |
Information AboutLinear Interpolation |
| CATEGORIES ABOUT LINEAR INTERPOLATION | |
| interpolation | |
|
Lerp is a quasi-acronym for ''linear interpolation'', which can also be used as a verb . LINEAR INTERPOLATION BETWEEN TWO KNOWN POINTS If the two known points are given by the coordinates and , the linear interpolant is the straight line between these points. For a value ''x'' in the interval , the value ''y'' along the straight line is given from the equation : which can be derived geometrically from the figure on the right. Solving this equation for ''y'', which is the unknown value at ''x'', gives : which is the formula for linear interpolation in the interval . Outside this interval, the formula is identical to Linear Extrapolation . INTERPOLATION OF A DATA SET Linear interpolation on a set of data points is defined as the concatenation of linear interpolants between each pair of data points. This results in a continuous curve, with a discontinuous derivative. LINEAR INTERPOLATION AS APPROXIMATION Linear interpolation is often used to approximate a value of some function ''f'' using two known values of that function at other points. The ''error'' of this approximation is defined as : where ''p'' denotes the linear interpolation Polynomial defined above : It can be proven using Rolle's Theorem that if ''f'' has two continuous derivatives, the error is bounded by |
|
|