# Lagrange Interpolation Formula with Solved Example

## What is Interpolation

Interpolation is the process of finding a missing value in a given set of values.
Or
Interpolation is the process or Technique of finding the value of a function for any intermediate value of the independent variable.

Take an example
x0 x1 x2 x3
Now if we have to find the X1.5 value and its effect on the other equations.

## Lagrange’s Interpolation

In Lagrange’s Interpolation, we only know the values of variables and there is no function given for it.
It works for both spaced and unequal spaced values of variables or data points.

Lagrange’s Interpolation is preferred over Newton’s Interpolation because it works for both equal and unequal spaced values of given data.

## Formula

Lagrange’s Interpolation Formula

## Solved Example

Lagrange’s Interpolation Solved Example

### Q. From the following set of data points evaluate f(9) using Lagrange Interpolation?

Now apply the lagrange formula to this table and solve.

Here, X = 9 that is Given f(9).