Encyclopedia > Interpolation

  Article Content

Interpolation

Interpolation is used to approximate a function for which we only know values for a discrete set of values of the independent variable. For example, suppose we have a table like

 x   f(x)
 -   ----
 1     1
 2     4
 3     9
 4    16
 5    25

We immediately recognize that f(x) can be fit precisely by the function x2 but in general this is not the case when we want to interpolate. Suppose we would like the value of f(x) which corresponds to x = 1.7. The simplest method is linear interpolation between the values for x = 1 and x = 2:

<math>f(1.7)=f(1)+\frac{1.7-1}{2-1}(f(2)-f(1))=1+0.7(4-1)=1+0.7\cdot 3=3.1.</math>

See also:



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Quioque, New York

... 3.3 km² (1.3 mi²) of it is land and 1.1 km² (0.4 mi²) of it is water. The total area is 25.44% water. Demographics As of the census of 2000, ...

 
 
 
This page was created in 21.5 ms