Explanation about Hermite Interpolation through a Example######

preview_player
Показать описание
Statement of the problemEdit

Hermite interpolation consists of computing a polynomial of degree as low as possible that matches an unknown function both in observed value, and the observed value of its first m derivatives. This means that n(m + 1) values

must be known. The resulting polynomial has a degree less than n(m + 1). (In a more general case, there is no need for m to be a fixed value; that is, some points may have more known derivatives than others. In this case the resulting polynomial has a degree less than the number of data points.)

Let us consider a polynomial P(x) of degree less than n(m + 1) with indeterminate coefficients; that is, the coefficients of P(x) are n(m + 1) new variables. Then, by writing the constraints that the interpolating polynomial must satisfy, one gets a system of n(m + 1) linear equations in n(m + 1) unknowns.

In general, such a system has exactly one solution. Charles Hermite proved that this is effectively the case here, as soon as the xi are pairwise different,[citation needed] and provided a method for computing it, which is described below.

MethodEdit

Simple caseEdit

When using divided differences to calculate the Hermite polynomial of a function f, the first step is to copy each point m times. (Here we will consider the simplest case {\displaystyle m=1} for all points.) Therefore, given {\displaystyle n+1} data points {\displaystyle x_{0},x_{1},x_{2},\ldots ,x_{n}}, and values {\displaystyle f(x_{0}),f(x_{1}),\ldots ,f(x_{n})} and {\displaystyle f'(x_{0}),f'(x_{1}),\ldots ,f'(x_{n})} for a function {\displaystyle f} that we want to interpolate, we create a new dataset

{\displaystyle z_{0},z_{1},\ldots ,z_{2n+1}}

such that

{\displaystyle z_{2i}=z_{2i+1}=x_{i}.}

Now, we create a divided differences table for the points {\displaystyle z_{0},z_{1},\ldots ,z_{2n+1}}. However, for some divided differences,

which is undefined. In this case, the divided difference is replaced by {\displaystyle f'(z_{i})}. All others are calculated normally.

In numerical analysis, Hermite interpolation, named after Charles Hermite, is a method of polynomial interpolation, which generalizes Lagrange interpolation. Lagrange interpolation allows computing a polynomial of degree less than n that takes the same value at n given points as a given function. Instead, Hermite interpolation computes a polynomial of degree less than mn such that the polynomial and its m − 1 first derivatives have the same values at n given points as a given function and its m − 1 first derivatives.

Hermite's method of interpolation is closely related to the Newton's interpolation method, in that both are derived from the calculation of divided differences. However, there are other methods for computing a Hermite interpolating polynomial. One can use linear algebra, by taking the coefficients of the interpolating polynomial as unknowns, and writing as linear equations the constraints that the interpolating polynomial must satisfy. For another method, see Chinese remainder theorem § Hermite interpolation.

Statement of the problem

MethodEdit

Simple caseEdit

When using divided differences to calculate the Hermite polynomial of a function f, the first step is to copy each point m times. (Here we will consider the simplest case {\displaystyle m=1} for all points.) Therefore, given {\displaystyle n+1} data points {\displaystyle x_{0},x_{1},x_{2},\ldots ,x_{n}}, and values {\displaystyle f(x_{0}),f(x_{1}),\ldots ,f(x_{n})} and {\displaystyle f'(x_{0}),f'(x_{1}),\ldots ,f'(x_{n})} for a function {\displaystyle f} that we want to interpolate, we create a new dataset

{\displaystyle z_{0},z_{1},\ldots ,z_{2n+1}}

such that

{\displaystyle z_{2i}=z_{2i+1}=x_{i}.}

Now, we create a divided differences table for the points {\displaystyle z_{0},z_{1},\ldots ,z_{2n+1}}. However, for some divided differences,

{\displaystyle z_{i}=z_{i+1}\implies f[z_{i},z_{i+1}]={\frac {f(z_{i+1})-f(z_{i})}{z_{i+1}-z_{i}}}={\frac {0}{0}}}

which is undefined. In this case, the divided difference is replaced by {\displaystyle f'(z_{i})}. All others are calculated normally.

General caseEdit

In the general case, suppose a given point {\displaystyle x_{i}} has k derivatives. Then the dataset {\displaystyle z_{0},z_{1},\ldots ,z_{N}} contains k identical copies of {\displaystyle x_{i}}. When creating the table, divided differences of {\displaystyle j=2,3,\ldots ,k} identical values will be calculated as

{\displaystyle {\frac {f^{(j)}(x_{i})}{j!}}.}

etc.

ExampleEdit

Consider the function {\displaystyle f(x)=x^{8}+1}. Evaluating the function and its first two derivatives at {\displaystyle x\in \{-1,0,1\}}, we obtain the following data:

xƒ(x)ƒ'(x)ƒ''(x)−12−856010012856

Since we have two derivatives to work with, we construct the set {\displaystyle \{z_{i}\}=\{-1,-1,-1,0,0,0,1,1,1\}}. Our divided difference table is then:
Рекомендации по теме
Комментарии
Автор

Which formula you used to open the square of x²-3x+2???

danyalmalik-pmel
Автор

Sr value of n kaise nikalte plz batao mei samaj nei paya

krupasindhubehera
Автор

Sorry sir me v confused ho gya tha, comment dekh kr pata chala
Padhate baqt bata dena kn sa formula use kr rhe ho

SREASONING
Автор

Your Answer is wrong
Correct is=x⁴-8x²+1

bapisahoo