# Quadratic Interpolation

Instead of performing linear interpolation by fitting a straight line through two data points, we can use several data points and fit a curve through them. Given any two points, there is just one straight line which passes through them. Similarly, if we are given three points there is just one quadratic curve which passes through all three. By finding the equation of this curve, and evaluating it at our interpolating value x , we could perform **quadratic interpolation**.

**Graphically :
**

If (x_{0}, y_{0}), (x_{1}, y_{1}), (x_{2}, y_{2}), are given data points, then the quadratic polynomial passing through these points can be expressed as

where,

The polynomial P(x) given by the above formula is called Lagrange’s interpolating polynomial and the functions L_{0}, L_{1}, L_{2} are called Lagrange’s interpolating basis functions.

**Note: **Note that

and that

δ_{ij} is called the Kronecker delta function