
Given
data points
interpolation is the process of finding an equation
that passes through above
data points and using this equation to find value of
.
Errors in Polynomials
(eq 1) ![]()
Let us consider
=>
degree polynomial through the
points ![]()
Since both
and
have the same value at ![]()
using eq 1
(eq 2) ![Rendered by QuickLaTeX.com \[ \begin{split} E_n(x) & =f(x)-P_n(x) \\ & = (x-x_0)(x-x_1)(x-x_2)..........(x-x_n)g(x) \end{split} \]](https://chandanbhagat.com.np/wp-content/ql-cache/quicklatex.com-9447b680f1e94ca524d200d6a7946e2f_l3.png)
represting error at the non-tabulated points
using eq 1
(eq 3) ![]()
![]()
let us define a function
, which is the function of
and ![]()
![]()
at
where ![]()
is zero and also at
,
There are about
zero’s at ![]()
If we impose the law of mean value on
, then
must be continuous and differentiable. Also there exists a root of
between each of the
zeros of
that is there and a total of
zeros of
. If there exists
then there are
zeros and similarly if the
derivative exists then there exist at least a zero in the interval of ![]()
let us call this as ![]()
![Rendered by QuickLaTeX.com \[ \begin{split} W^{n+1}(y)=0 & ={d^{n+1}\over{ (dt)^{n+1}}} [f(t)-P_n (t)-(t-x_0 )(t-x_1 )………(t-x_n )g(x)] \\ & = f^{n+1}(y)-0-(n+1!)g(x) \end{split} \]](https://chandanbhagat.com.np/wp-content/ql-cache/quicklatex.com-cbd5a962649d63b67d738d865464f0c4_l3.png)
![]()
![Rendered by QuickLaTeX.com \[ E_n(x)={{(x-x_0)(x-x_1)(x-x_2).....(x-x_n)f^{n+1}(y)} \over {(n+1)!}} \]](https://chandanbhagat.com.np/wp-content/ql-cache/quicklatex.com-0c69b9c71ffbe4661bb6923448eb0cf3_l3.png)