# Interpolation Formula

The method of finding new values for any function using the set of values is done by interpolation. The unknown value on a point is found out using this formula. If linear interpolation formula is concerned then it should be used to find the new value from the two given points. If compared to Lagrange’s interpolation formula, the “n” set of numbers should be available and Lagrange’s method is to be used to find the new value.

The following is  Linear Interpolation Formula

$\large y=y_{1}+\frac{(x-x_{1})}{(x_{2}-x_{1})} \times (y_{2}-y_{1})$

The La-grange’s Interpolation Formula is given as,

$y=\frac{(x-x_{1})(x-x_{2})……(x-x_{n})}{(x_{o}-x_{1})(x_{0}-x_{2})….(x_{0-}-x_{n})}y+\;\frac{(x-x_{0})(x-x_{n})….(x-x_{n})}{(x_{1}-x_0)(x_{1}-x_{2}….((x_{1}-x_{n})}y_{1}\;+\frac{(x-x_{1})(x-x_{2})….(x-x_{n})}{(x_{o}-x_{1})(x_{0}-x_{2})…..(x_{o}-x_{n})}y_{n}$

Some solved problems on interpolation are given below:

### Solved Examples

Question 1: Using the interpolation formula, find the value of y at x = 8 given some set of values (2, 6), (5, 9) ?
Solution:

The known values are,$x_{0}=8, x_{1}=2, x_{2}=5, y_{1}=6, y_{2}=9$

$y=y_{1}+\frac{(x-x_{1})}{(x_{2}-x_{1})} \times (y_{2}-y_{1})$

$y=6+(\frac{(8-2)}{(5-2)} \times (9-6)$

y = 6 + 6
y = 12
 More topics in Interpolation Formula Quadratic Interpolation Formula Linear Interpolation Formula Lagrange Interpolation Formula