Applying numerical derivative formulas to numerical integration of differential equations

Abstract

Authors

D.V. Ionescu
Institutul de Calcul

Keywords

?

Paper coordinates

D.V. Ionescu, Applying numerical derivative formulas to numerical integration of differential equations, Studii şi cercet. matem., Cluj, 10, no. 2, 1959, pp. 259-315 (in Romanian)
[Aplicarea formulelor de derivare numerică la integrarea numerică a ecuaţiilor diferenţiale]

PDF

About this paper

Journal

Studii si Cercetari Matematice

Publisher Name

Academy of the Republic of S.R.

Print ISSN

1220-269X

Online ISSN

google scholar link

??

Paper (preprint) in HTML form

APPLICATION OF NUMERICAL DERIVATION FORMULAS TO THE NUMERICAL INTEGRATION OF DIFFERENTIAL EQUATIONS

BY
D. V. IONESCU

The differential equation is considered

y=f(x,y)y^{\prime}=f(x,y) (1)

and eithery(x)y(x)its integral that satisfies the initial conditiony(x0)=y0y\left(x_{0}\right)=y_{0}We assume that the conditions that ensure the existence and uniqueness of the integral are met.y(x)y(x)in the interval[x0,x0+A]\left[x_{0},x_{0}+a\right].

In the interval (x0,x0+Ax_{0},x_{0}+a) we take the nodesx1,x2,,xnx_{1},x_{2},\ldots,x_{n}so thatx1<x2<x3<<xnx_{1}<x_{2}<x_{3}<\cdots<x_{n}and we assume that the integraly(x)y(x)is known on the nodesx1,x2,,xnx_{1},x_{2},\ldots,x_{n}The problem of numerical integration of the differential equation (1) consists in giving the practical formula for calculating the integraly(x)y(x), at a point in the interval (x0,x0+Ax_{0},x_{0}+a], using the values ​​ofy(x)y(x)on the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}and to study the rest of the numerical integration formula.

If the functionf(x,y)f(x,y)has partial derivatives with respect toxxandyyuntil orderednn, continue in the fieldDDin which the conditions that ensure the existence and uniqueness of the integral are mety(x)y(x), then applying Taylor's formula we will have

y(x)=y(x0)+xx01!y(x0)+(xx0)22!y"(x0)+\displaystyle y(x)=y\left(x_{0}\right)+\frac{x-x_{0}}{1!}y^{\prime}\left(x_{0}\right)+\frac{\left(x-x_{0}\right)^{2}}{2!}y^{\prime\prime}\left(x_{0}\right)+\ldots
+(xx0)nn!y(n)(x0)+x0x(xS)nn!y(n+1)(S)𝑑S\displaystyle\quad+\frac{\left(x-x_{0}\right)^{n}}{n!}y^{(n)}\left(x_{0}\right)+\int_{x_{0}}^{x}\frac{(xs)^{n}}{n!}y^{(n+1)}(s)ds (2)

The problem of numerical integration of the differential equation (1), as stated above, is reduced by formula (2) to the problem of numerical derivation of a function, which is formulated as follows: given the functionf(x)f(x)continues
in the interval[x0,x0+A]\left[x_{0},x_{0}+a\right]and having continuous derivatives in this interval of all orders, which will intervene in the calculations, to give practical formulas for calculating the derivativesf(x),f"(x),,f(n)(x)f^{\prime}(x),f^{\prime\prime}(x),\ldots,f^{(n)}(x)in the nodex0x_{0}, with the help of the values ​​off(x)f(x)on the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}and calculate the rest of the numerical derivation formula.

The paper is divided into two chapters. The first deals with numerical derivation formulas, and the second deals with their application to the numerical integration of differential equations of the form (1).

Chapter I

NUMERICAL DERIVATION FORMULAS

§ 1. Numerical derivation formulas that come from the expression of a divided difference in the form of a definite integral

  1. 1.

    In a comprehensive work on quadrature formulas, which can be obtained using the generalized integration by parts formula, as done by J. Radon [1], I gave an expression for the difference divided by the ordernnon repeated nodes in integral form [2], showing that

[A,,Aα OR ,x1,,x1k1 OR ,,xkp OR xp,,xp,b,,bβ OR ;f(x)]=\displaystyle{[\underbrace{a,\ldots,a}_{\alpha\text{ times }},\underbrace{x_{1},\ldots,x_{1}}_{k_{1}\text{ times }},\ldots,x_{k_{p}\text{ times }}^{x_{p},\ldots,x_{p}},\underbrace{b,\ldots,b}_{\beta\text{ times }};f(x)]=}
=Abφ(x)f(k1++kp+α+β1)(x)𝑑z\displaystyle=\int_{a}^{b}\varphi(x)f^{\left(k_{1}+\ldots+k_{p}+\alpha+\beta-1\right)}(x)dz (3)

where the functionφ(x)\varphi(x)is determined by a certain system of differential equations that integrate with certain boundary conditions inA,x1,xpa,x_{1},\ldots x_{p}andbb. Solving equation (3) in relationwithf(α1)(A)\mathrm{cu}f^{(\alpha-1)}(a)a numerical derivation formula is obtained, from which it is deducedf(A1)(A)f^{(a-1)}(a)using the function valuesf(x)f(x)and its successive derivatives, which enter equation (3), on the nodesA,x1,,xp,ba,x_{1},\ldots,x_{p},b.

Prof. T. Popoviciu [3] and Ş. E. Mikeladze [4] proceeded in the same way, but starting from other expressions of the difference divided by the first member of formula (3).

We will summarize the result from [2], for the case of a single multiple node, with some additions.
2. Letf(x)f(x)a class functionCn+pC^{n+p}, defined in the interval[A,b]1[a,b]^{1}) in which we take the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}so that we havex0<x1<<xnx_{0}<x_{1}<\ldots<x_{n}At intervals[x0,x1],[x1,x2],,[xn1,xn]\left[x_{0},x_{1}\right],\left[x_{1},x_{2}\right],\ldots,\left[x_{n-1},x_{n}\right]we attach the functionsφ1(x),φ2(x),φn(x)\varphi_{1}(x),\varphi_{2}(x),\ldots\varphi_{n}(x)and the constantsλ1,λ2,,λn\lambda_{1},\lambda_{2},\ldots,\lambda_{n}and we form the differential equations

φ1(n+p1)(x)=λ1,φ2(n+p1)(x)=λ2,,φn(n+p1)(x)=λn\varphi_{1}^{(n+p-1)}(x)=\lambda_{1},\quad\varphi_{2}^{(n+p-1)}(x)=\lambda_{2},\ldots,\varphi_{n}^{(n+p-1)}(x)=\lambda_{n} (4)
00footnotetext:1 ) That is, the functionf(x)f(x)has in the range[A,b][a,b]successive derivatives up to the ordern+pn+p, the latter being continuous in this interval.

which integrates with the following boundary conditions:

φ1(x0)=0,φ1(x0)=0,,φ1(n2)(x0)=0\displaystyle\varphi_{1}\left(x_{0}\right)=0,\quad\varphi_{1}^{\prime}\left(x_{0}\right)=0,\ldots,\varphi_{1}^{(n-2)}\left(x_{0}\right)=0
φ1(n1)(x0)=(1)pnpp!,φ1(n)(x0)=(1)p1np1(p1)!,,φ(n+p2)(x0)=n11!,\displaystyle\varphi_{1}^{(n-1)}\left(x_{0}\right)=(-1)^{p}\frac{\nu_{p}}{p!},\varphi_{1}^{(n)}\left(x_{0} \right)=(-1)^{p-1}\frac{\nu_{p-1}}{(p-1)!},\ldots,\varphi^{(n+p-2)}\left(x_{0}\right)=-\frac{\nu_{1}}{1!},
φ2(x1)=φ(x1),φ2(x1)=φ1(x1),,φ2(n+p2)(x1)=φ1(n+p2)(x1),\displaystyle\varphi_{2}\left(x_{1}\right)=\varphi\left(x_{1}\right),\varphi_{2}^{\prime}\left(x_{1}\right)=\varphi_{ 1}^{\prime}\left(x_{1}\right),\ldots,\varphi_{2}^{(n+p-2)}\left(x_{1}\right)=\varphi_{1}^{(n+p-2)}\left(x_{1}\right), (5)
φn(xn1)=φn1(xn1),φn(xn1)=φn1(xn1),,φn(n+p2)(xn1)=φn1(n+p2)(xn1),\displaystyle\varphi_{n}\left(x_{n-1}\right)=\varphi_{n-1}\left(x_{n-1}\right),\varphi_{n}^{\prime}\left(x_{n-1}\right)=\varphi_{n-1}^{\prime}\left(x_{n-1}\right),\ldots,\varphi_{n}^{(n+p-2)}\left(x_{n-1}\right)=\varphi_{n-1}^{(n+p-2)}\left(x_{n-1}\right),
φn(xn)=0,φn(xn)=0,,φn(n+p2)(xn)=0.\displaystyle\varphi_{n}\left(x_{n}\right)=0,\quad\varphi_{n}^{\prime}\left(x_{n}\right)=0,\ldots,\varphi_{n}^{(n+p-2)}\left(x_{n}\right)=0.

constantsλ1,λ2,,λn\lambda_{1},\lambda_{2},\ldots,\lambda_{n}andn1,n2,,np\nu_{1},\nu_{2},\ldots,\nu_{p}it is thus determined that the integrals of the differential equations (4) verify the boundary equations (5).

It is obvious that each integral

x0x1φ1(n+p)(x)f(x)𝑑x,x1x2φ2(n+p)(x)f(x)𝑑x,,xn1xnφ(n+p)(x)f(x)𝑑x\int_{x_{0}}^{x_{1}}\varphi_{1}^{(n+p)}(x)f(x)dx,\int_{x_{1}}^{x_{2}}\varphi_{2}^{(n+p)}(x)f(x)dx,\ldots,\int_{x_{n-1}}^{x_{n}}\varphi^{(n+p)}(x)f(x)dx

is zero. Applying to each, the generalized formula for integration by parts and taking their sum, we obtain, taking into account the boundary conditions (5), the numerical derivative formula

[λ1f(x0)+V11!f(x0)+V22!f"(x0)++Vpp!f(p)(x0)]+\displaystyle-\left[\lambda_{1}f\left(x_{0}\right)+\frac{v_{1}}{1!}f^{\prime}\left(x_{0}\right)+\frac{v_{2}}{2!}f^{\prime\prime}\left(x_{0}\right)+\ldots+\frac{v_{p}}{p!}f^{(p)}\left(x_{0}\right)\right]+
+K1f(x1)+K2f(x2)++Kn(xn)=(1)n+p1x0xnφ(x)f(n+p)(x)𝑑x\displaystyle+K_{1}f\left(x_{1}\right)+K_{2}f\left(x_{2}\right)+\ldots+K_{n}\left(x_{n}\right)=(-1)^{n+p-1}\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+p)}(x)dx (6)

where the functionφ(x)\varphi(x)coincides in turn with the functionsφ1(x),φ2(x),,φn(x)\varphi_{1}(x),\varphi_{2}(x),\ldots,\varphi_{n}(x)in the intervals[x0,x1],,[xn1,xn]\left[x_{0},x_{1}\right],\ldots,\left[x_{n-1},x_{n}\right]and where

λ1λ2=K1,λ2λ3=K2,,λn1λn=Kn1,λn=Kn.\lambda_{1}-\lambda_{2}=K_{1},\quad\lambda_{2}-\lambda_{3}=K_{2},\ldots,\lambda_{n-1}-\lambda_{n}=K_{n-1},\lambda_{n}=K_{n}. (7)

Functionsφ1(x),φ2(x),,φn(x)\varphi_{1}(x),\varphi_{2}(x),\ldots,\varphi_{n}(x)are given by the formulas

φn(x)=Kn(xxn)n+p2(n+p1)!\displaystyle\varphi_{n}(x)=K_{n}\frac{\left(x-x_{n}\right)^{n+p-2}}{(n+p-1)!}
φn1(x)=Kn1(xxn1)n+p1(n+p1)!+Kn(xxn)n+p1(n+p1)!\displaystyle\varphi_{n-1}(x)=K_{n-1}\frac{\left(x-x_{n-1}\right)^{n+p-1}}{(n+p-1)!}+K_{n}\frac{\left(x-x_{n}\right)^{n+p-1}}{(n+p-1)!} (8)
Kn(xxn)n+p1(n+p1)!.\displaystyle\ldots\ldots\ldots\ldots\ldots\ldots\ldots\ldots\ldots K_{n}\frac{\left(x-x_{n}\right)^{n+p-1}}{(n+p-1)!}.

With formulas (8) the differential equations (4) and the boundary conditions (5) at the nodes are verified.x1,x2,,xnx_{1},x_{2},\ldots,x_{n}. Writing that and the boundary conditions at the nodex0x_{0}are satisfied, we have the system of equations

K1(x1x0)+K2(x2x0)++Kn(xnx0)=V1K1(x1x0)2+K2(x2x0)2++Kn(xnx0)2=V2+K2(x2x0)p++Kp(xnx0)p=VpK1(x1x0)p+K0(x0)K1(x1x0)p+1+K2(x2x0)p+1++Kn(xnx0)p+1=0K1(x1x0)n+p1+K2(x2x0)n+p1++Kn(xnx0)n+p1=0,\begin{array}[]{lll}K_{1}\left(x_{1}-x_{0}\right)&+K_{2}\left(x_{2}-x_{0}\right)&+\ldots+K_{n}\left(x_{n}-x_{0}\right)=v_{1}\\ K_{1}\left(x_{1}-x_{0}\right)^{2}&+K_{2}\left(x_{2}-x_{0}\right)^{2}&+\ldots+K_{n}\left(x_{n}-x_{0}\right)^{2}=v_{2}\\ \cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot&+K_{2}\left(x_{2}-x_{0}\right)^{p}&+\ldots+K_{p}\left(x_{n}-x_{0}\right)^{p}=v_{p}\\ K_{1}\left(x_{1}-x_{0}\right)^{p}&+K_{0}&\left(x_{0}\right)\\ K_{1}\left(x_{1}-x_{0}\right)^{p+1}&+K_{2}\left(x_{2}-x_{0}\right)^{p+1}&+\ldots+K_{n}\left(x_{n}-x_{0}\right)^{p+1}=0\\ \cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\\ K_{1}\left(x_{1}-x_{0}\right)^{n+p-1}+K_{2}\left(x_{2}-x_{0}\right)^{n+p-1}+\ldots+K_{n}\left(x_{n}-x_{0}\right)^{n+p-1}=0,\end{array}

which determinesK1,K2,,KnK_{1},K_{2},\ldots,K_{n}andn1,n1,,np\nu_{1},\nu_{1},\ldots,\nu_{p}.

Taking into account equations (7), equations (9) can also be written in the form

λ1+K1++Kn=0\displaystyle-\lambda_{1}+K_{1}+\ldots+K_{n}=0
λ1x0C11V1+K1x1++Knxn=0\displaystyle-\lambda_{1}x_{0}-C_{1}^{1}\quad v_{1}\quad+K_{1}x_{1}\quad+\ldots+K_{n}x_{n}=0 (10)
λ1x0pCp1V1x0p1CppVp+K1x1p++Knxnp=0\displaystyle-\lambda_{1}x_{0}^{p}\quad-C_{p}^{1}\quad v_{1}x_{0}^{p-1}\quad-\ldots-C_{p}^{p}\quad v_{p}\quad+K_{1}x_{1}^{p}\quad+\ldots+K_{n}x_{n}^{p}=0
λ1x0n+p1Cn+p11n1x0n+p2Cn+p1pnpx0n1+K1x1n+p1++Knxnn+p1=0.\displaystyle-\lambda_{1}x_{0}^{n+p-1}-C_{n+p-1}^{1}\nu_{1}x_{0}^{n+p-2}-\ldots-C_{n+p-1}^{p}\nu_{p}x_{0}^{n-1}+K_{1}x_{1}^{n+p-1}+\ldots+K_{n}x_{n}^{n+p-1}=0\text{. }

Equations (9) express that the second term of the numerical derivation formula (6) is zero whenf(x)f(x)is replaced with

xx0,(xx0)2,,(xx0)n+p1x-x_{0},\left(x-x_{0}\right)^{2},\ldots,\left(x-x_{0}\right)^{n+p-1}

and equations (10) express that the second member of the numerical derivation formula (6) is zero whenf(x)f(x)is replaced with

1,x,x2,,xn+p11,x,x^{2},\ldots,x^{n+p-1}

Let us consider the matrix formed with the coefficients of system (10), i.e.

10011x0C110x1xnx0pCp1x0p1Cppx1pxnpx0n+p1Cn+p11x0n+p2Cn+p1px0n1x1n+p1xnn+p1\left\|\begin{array}[]{|llllllll||}1&0&&\ldots&0&1&\ldots&1\\ x_{0}&C_{1}^{1}&&\ldots&0&x_{1}&\ldots&x_{n}\\ \vdots&\vdots&&&\vdots&\vdots&&\\ x_{0}^{p}&C_{p}^{1}&x_{0}^{p-1}&\ldots&C_{p}^{p}&x_{1}^{p}&\ldots&x_{n}^{p}\\ \vdots&\vdots&&&\vdots&\vdots&&\vdots\\ x_{0}^{n+p-1}&C_{n+p-1}^{1}x_{0}^{n+p-2}&\ldots&C_{n+p-1}^{p}x_{0}^{n-1}&x_{1}^{n+p-1}&\ldots&x_{n}^{n+p-1}\end{array}\right\|

and let's note withAandA_{i}the determinant that has the same rows and columns except for column aandi-a. All these determinants are different from zero and solving the system (10) with respect toλ1,V1,,Vp,K1,K2,,Kn-\lambda_{1},-v_{1},\ldots,-v_{p},K_{1},K_{2},\ldots,K_{n}is obtained

λ1A1=V1A2==Vp(1)pAp+1=\displaystyle\frac{-\lambda_{1}}{A_{1}}=\frac{-v_{1}}{-A_{2}}=\ldots=\frac{-v_{p}}{(-1)^{p}A_{p+1}}=
=K1(1)p+1Ap+2==Kn(1)p+nAp+n+1.\displaystyle=\frac{K_{1}}{(-1)^{p+1}A_{p+2}}=\ldots=\frac{K_{n}}{(-1)^{p+n}A_{p+n+1}}. (11)

Taking into account that the first member of the numerical derivation formula (6) is a linear combination of the numerators in formulas (11), we deduce that formulas (11) can also be written in the form

λ1A1=n1A2==np(1)pAp+1=\displaystyle\frac{-\lambda_{1}}{A_{1}}=\frac{-\nu_{1}}{-A_{2}}=\ldots=\frac{-\nu_{p}}{(-1)^{p}A_{p+1}}=
=K1(1)p+1Ap+2==Kn(1)p+nAp+n+1=x0xnφ(x)f(n+p)(x)𝑑xΔ\displaystyle=\frac{K_{1}}{(-1)^{p+1}A_{p+2}}=\ldots=\frac{K_{n}}{(-1)^{p+n}A_{p+n+1}}=\frac{-\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+p)}(x)dx}{\Delta} (12)

,

where

Δ=|10011x0C110x1xnx0pCp1x0p1Cppx1pxnpx0n+p1Cn+p11x0n+p2Cn+p1px0n1x1n+p1xnn+p1f(x0)f(x0)1!f(p)(x0)p!f(x1)\Delta=\left\lvert\,\begin{array}[]{lllllll}1&0&\ldots&0&1&\ldots&1\\ x_{0}&C_{1}^{1}&\ldots&0&x_{1}&\ldots&x_{n}\\ \vdots&\vdots&&\vdots&\vdots&&\vdots\\ x_{0}^{p}&C_{p}^{1}&x_{0}^{p-1}&\ldots&C_{p}^{p}&x_{1}^{p}&\ldots\\ \vdots&\vdots&&\vdots&\vdots&&x_{n}^{p}\\ x_{0}^{n+p-1}&C_{n+p-1}^{1}x_{0}^{n+p-2}&\ldots&C_{n+p-1}^{p}x_{0}^{n-1}&x_{1}^{n+p-1}&\ldots&x_{n}^{n+p-1}\\ f\left(x_{0}\right)&&\frac{f^{\prime}\left(x_{0}\right)}{1!}&\ldots&\frac{f^{(p)}\left(x_{0}\right)}{p!}&f\left(x_{1}\right)&\ldots\end{array}\right.

determinantΔ1\Delta_{1}which is obtained fromΔ\Deltareplacingf(x)f(x)withxn+px^{n+p}, is different from zero, because

Δ1=(x1x0)p(x2x0)p(xnx0)pV(x0,x1,,xn),\Delta_{1}=\left(x_{1}-x_{0}\right)^{p}\left(x_{2}-x_{0}\right)^{p}\ldots\left(x_{n}-x_{0}\right)^{p}V\left(x_{0},x_{1},\ldots,x_{n}\right), (14)

whereV(x0,x1,xn)V\left(x_{0},x_{1},\ldots x_{n}\right)is the Vandermonde determinant of the numbersx0,x1,,xnx_{0},x_{1},\ldots,x_{n}.

Equating the ratios in (12) with1Δ1-\frac{1}{\Delta_{1}}, we deduce that the formula for
the eric derivation can also be written as the numerical derivation can also be written as the form

ΔΔ1=x0xnφ(x)f(n+p)(x)𝑑x\frac{\Delta}{\Delta_{1}}=\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+p)}(x)dx (15)

or, in the form of

[x0,x0,,x0p+1 OR ,x1,,xn;f(x)]=x0xnφ(x)f(n+p)(x)𝑑x[\underbrace{x_{0},x_{0},\ldots,x_{0}}_{p+1\text{ ori }},\quad x_{1},\ldots,x_{n};\quad f(x)]=\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+p)}(x)dx (16)

because the divided difference of the functionf(x)f(x)from the first member of formula (16) is equal toΔΔ1\frac{\Delta}{\Delta_{1}}3.
Calculation of coefficientsλ1,n1,,np,K1,,Kn\lambda_{1},\nu_{1},\ldots,\nu_{p},K_{1},\ldots,K_{n}from the numerical derivation formula (6). From equation (12) we deduce that we have

K1=(1)pAp+2Δ1\displaystyle K_{1}=(-1)^{p}\frac{A_{p+2}}{\Delta_{1}}
K2=(1)p+1Ap+3Δ1\displaystyle K_{2}=(-1)^{p+1}\frac{A_{p+3}}{\Delta_{1}}
\displaystyle\ldots\ldots\ldots
Kn=(1)p+n1An+p+1Δ1\displaystyle K_{n}=(-1)^{p+n-1}\frac{A_{n+p+1}}{\Delta_{1}}

Without weight it is shown that in general

Ap+and+1=(x1x0)p(xand1x0)p(xand+1x0)p(xnx0)p××V(x0,x1,,xand1,xand+1,,xn)\begin{gathered}A_{p+i+1}=\left(x_{1}-x_{0}\right)^{p}\ldots\left(x_{i-1}-x_{0}\right)^{p}\left(x_{i+1}-x_{0}\right)^{p}\ldots\left(x_{n}-x_{0}\right)^{p}\times\\ \times V\left(x_{0},x_{1},\ldots,x_{i-1},x_{i+1},\ldots,x_{n}\right)\end{gathered}

from which it follows that we have

K1=(1)p1(x1x0)pV(x0,x2,,nn)V(x0,x1,,xn)\displaystyle K_{1}=(-1)^{p}\frac{1}{\left(x_{1}-x_{0}\right)^{p}}\cdot\frac{V\left(x_{0},x_{2},\ldots,n_{n}\right)}{V\left(x_{0},x_{1},\ldots,x_{n}\right)}
K2=(1)p+11(x2x0)pV(x0,x1,x3,,xn)V(x0,x1,,xn)\displaystyle K_{2}=(-1)^{p+1}\frac{1}{\left(x_{2}-x_{0}\right)^{p}}\cdot\frac{V\left(x_{0},x_{1},x_{3},\ldots,x_{n}\right)}{V\left(x_{0},x_{1},\ldots,x_{n}\right)} (17)
\displaystyle\cdot\cdots\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot
Kn=(1)p+n11(xnx)pV(x0,x1,xn1)V(x0,x1,,xn)\displaystyle K_{n}=(-1)^{p+n-1}\frac{1}{\left(x_{n}-x\right)_{p}}\cdot\frac{V\left(x_{0},x_{1},\ldots x_{n-1}\right)}{V\left(x_{0},x_{1},\ldots,x_{n}\right)}

If we take into account that in general we have

V(x0,x1,,xn)=\displaystyle V\left(x_{0},x_{1},\ldots,x_{n}\right)= (xandx0)(xandx1)(xandxand1)(xand+1xand)(xnxand)×\displaystyle\left(x_{i}-x_{0}\right)\left(x_{i}-x_{1}\right)\ldots\left(x_{i}-x_{i-1}\right)\left(x_{i+1}-x_{i}\right)\ldots\left(x_{n}-x_{i}\right)\times
×V(x0,x1,,xand1,xand+1,,xn)\displaystyle\times V\left(x_{0},x_{1},\ldots,x_{i-1},x_{i+1},\ldots,x_{n}\right)

formulas (17) reduce to 1a

K1=(1)p(x1x0)p+1(x2x1)(x3x1)(xnx1)K_{1}=\frac{(-1)^{p}}{\left(x_{1}-x_{0}\right)^{p+1}\left(x_{2}-x_{1}\right)\left(x_{3}-x_{1}\right)\ldots\left(x_{n}-x_{1}\right)}
K2=(1)p+1(x2x0)p+1(x2x1)(x3x2)(xnx2)\displaystyle K_{2}=\frac{(-1)^{p+1}}{\left(x_{2}-x_{0}\right)^{p+1}\left(x_{2}-x_{1}\right)\left(x_{3}-x_{2}\right)\ldots\left(x_{n}-x_{2}\right)} (18)
Kn=(1)p+n1(xnx0)n+1(xnx1)(xnx2)(xnxn1)\displaystyle K_{n}=\frac{(-1)^{p+n-1}}{\left(x_{n}-x_{0}\right)^{n+1}\left(x_{n}-x_{1}\right)\left(x_{n}-x_{2}\right)\ldots\left(x_{n}-x_{n-1}\right)}

From these expressions it can be seen that all the denominators being positive, the coefficientsK1,K2,,KnK_{1},K_{2},\ldots,K_{n}have alternating signs,K1K_{1}having the sign of(1)p(-1)^{p}.

Coefficientsλ1,V1,,Vp\lambda_{1},v_{1},\ldots,v_{p}are given by the first equation (10) and the firstppequations (9). T, Taking into account formulas (17), we will generally have

Vj=(1)pV(x0,x1,,xn)[\displaystyle v_{j}=\frac{(-1)^{p}}{V\left(x_{0},x_{1},\ldots,x_{n}\right)}[ 1(x1x0)pjV(x0,x2,,xn)\displaystyle\frac{1}{\left(x_{1}-x_{0}\right)^{p-j}}V\left(x_{0},x_{2},\ldots,x_{n}\right)-
\displaystyle- 1(x2x0)pjV(x0,x1,x3,,xn)++\displaystyle\frac{1}{\left(x_{2}-x_{0}\right)^{p-j}}V\left(x_{0},x_{1},x_{3},\ldots,x_{n}\right)+\ldots+
+(1)n11(xnx0)pjV(x0,x1,,xn1)]\displaystyle\left.+(-1)^{n-1}\frac{1}{\left(x_{n}-x_{0}\right)^{p-j}}V\left(x_{0},x_{1},\ldots,x_{n-1}\right)\right]

or

Vj=(1)p+n1V(x0,x1,,xn)|111x0x1xnx0n1x1n1xnn101(x1x0)pj1(xnx0)pj|v_{j}=\frac{(-1)^{p+n-1}}{V\left(x_{0},x_{1},\ldots,x_{n}\right)}\left|\begin{array}[]{cccc}1&1&\cdots&1\\ x_{0}&x_{1}&\cdots&x_{n}\\ \vdots&\vdots&&\vdots\\ x_{0}{}^{n-1}&x_{1}{}^{n-1}&\cdots&x_{n}^{n-1}\\ 0&\frac{1}{\left(x_{1}-x_{0}\right)^{p-j}}&\cdots&\frac{1}{\left(x_{n}-x_{0}\right)^{p-j}}\end{array}\right|

or yet
Vj=(1)p+n1(x1x0)(x2x0)(xnx0)V(x0,x1,,xn)|11x1x0xnx0(x1x0)n2(x1x0)pj+1(xnx0)n2(xnx0)pj+1|v_{j}=(-1)^{p+n-1}\frac{\left(x_{1}-x_{0}\right)\left(x_{2}-x_{0}\right)\ldots\left(x_{n}-x_{0}\right)}{V\left(x_{0},x_{1},\ldots,x_{n}\right)}\left|\begin{array}[]{ccc}1&\cdots&1\\ x_{1}-x_{0}&\cdots&x_{n}-x_{0}\\ \vdots&&\vdots\\ \frac{\left(x_{1}-x_{0}\right)^{n-2}}{\left(x_{1}-x_{0}\right)^{p-j+1}}\cdots&\cdots&\left(x_{n}-x_{0}\right)^{n-2}\\ \left(x_{n}-x_{0}\right)^{p-j+1}\end{array}\right|, wherej=0,1,,p(λ1=V0)j=0,1,\ldots,p\cdot\left(\lambda_{1}=v_{0}\right).

It is known that
|11y1yny1n2ynn21y1it1ynit|=(1)n1V(y1y2yn)(y1,y2,yn)Q1(1y1,1y2,,1yn)\left|\begin{array}[]{ccc}1&\ldots&1\\ y_{1}&\ldots&y_{n}\\ \vdots&&\vdots\\ y_{1}^{n-2}&&y_{n}^{n-2}\\ \frac{1}{y_{1}^{l}}&\ldots&\frac{1}{y_{n}^{l}}\end{array}\right|=(-1)^{n-1}\frac{V\left(y_{1}y_{2}\cdots y_{n}\right)}{\left(y_{1},y_{2},\cdots y_{n}\right)}Q_{-1}\left(\frac{1}{y_{1}},\frac{1}{y_{2}},\ldots,\frac{1}{y_{n}}\right),
whereQit1(1y1,1y2,,1yn)Q_{l-1}\left(\frac{1}{y_{1}},\frac{1}{y_{2}},\ldots,\frac{1}{y_{n}}\right)is a homogeneous polynomial of degreeit1l-1in1y1,1y2,,1yn\frac{1}{y_{1}},\frac{1}{y_{2}},\ldots,\frac{1}{y_{n}}, with coefficients equal to 1 .

Taking this into account, the final expression of the coefficientsVjv_{j}isVj=(1)p(x1x0)(x2x0)(xnx0)Qpj(1x1x0,1x2x0,,1xnx0)v_{j}=\frac{(-1)^{p}}{\left(x_{1}-x_{0}\right)\left(x_{2}-x_{0}\right)\ldots\left(x_{n}-x_{0}\right)}Q_{p-j}\left(\frac{1}{x_{1}-x_{0}},\frac{1}{x_{2}-x_{0}},\cdots,\frac{1}{x_{n}-x_{0}}\right), wherej=0,1,,n.(λ1=V0)j=0,1,\ldots,n.\left(\lambda_{1}=v_{0}\right).

It is found that all the coefficientsnj\nu_{j}they have his sign(1)p(-1)^{p}.
4. Another form of the numerical derivation formula (6). Let us consider the rational function

1(xx0)p+1(xx1)(xxn)\frac{1}{\left(x-x_{0}\right)^{p+1}\left(x-x_{1}\right)\ldots\left(x-x_{n}\right)}

which we decompose into simple rational functions highlighting the residuesA1,A2,,AnA_{1},A_{2},\ldots,A_{n}relative to the nodesx1,x2,,xnx_{1},x_{2},\ldots,x_{n}We will have
1(xx0)p+1(xx1)(xxn)=A1xx1+A2xx2++Anxxn+\frac{1}{\left(x-x_{0}\right)^{p+1}\left(x-x_{1}\right)\ldots\left(x-x_{n}\right)}=\frac{A_{1}}{x-x_{1}}+\frac{A_{2}}{x-x_{2}}+\ldots+\frac{A_{n}}{x-x_{n}}+\ldots,
where

A1=(1)n1(x1x0)p+1(x2x1)(xnx1)\displaystyle A_{1}=\frac{(-1)^{n-1}}{\left(x_{1}-x_{0}\right)^{p+1}\left(x_{2}-x_{1}\right)\ldots\left(x_{n}-x_{1}\right)}
A2=(1)n2(x2x0)p+1(x2x1)(x3x2)xnx2)\displaystyle A_{2}=\frac{(-1)^{n-2}}{\left.\left(x_{2}-x_{0}\right)^{p+1}\left(x_{2}-x_{1}\right)\left(x_{3}-x_{2}\right)\ldots x_{n}-x_{2}\right)}
An=1(xnx0)p+1(xnx1)(xxn1)\displaystyle A_{n}=\frac{1}{\left(x_{n}-x_{0}\right)^{p+1}\left(x_{n}-x_{1}\right)\ldots\left(x-x_{n-1}\right)}

Taking these into account, formulas (18) show that we have

K1=(1)n+p1A1\displaystyle K_{1}=(-1)^{n+p-1}A_{1}
K2=(1)n+p1A2\displaystyle K_{2}=(-1)^{n+p-1}A_{2} (21)
Kn=(1)n+p1An\displaystyle K_{n}=(-1)^{n+p-1}A_{n}

From the first equation (10) and from the firstppequations (9) it follows that

λ1f(x0)+V11!f(x0)++Vpp!f(p)(x0)==and=1nKand[f(x0)+xandx01!f(x0)++(xandx0)pp!f(x0)]\begin{gathered}\lambda_{1}f\left(x_{0}\right)+\frac{v_{1}}{1!}f^{\prime}\left(x_{0}\right)+\ldots+\frac{v_{p}}{p!}f^{(p)}\left(x_{0}\right)=\\ =\sum_{i=1}^{n}K_{i}\left[f\left(x_{0}\right)+\frac{x_{i}-x_{0}}{1!}f^{\prime}\left(x_{0}\right)+\ldots+\frac{\left(x_{i}-x_{0}\right)^{p}}{p!}f\left(x_{0}\right)\right]\end{gathered}

The numerical derivation formula (6) can therefore be written in the form

and=1nKand{f(xand)[f(x0)+xandx01!f(x0)++(xandx0)pp!f(p)(x0)]}=\displaystyle\sum_{i=1}^{n}K_{i}\left\{f\left(x_{i}\right)-\left[f\left(x_{0}\right)+\frac{x_{i}-x_{0}}{1!}f^{\prime}\left(x_{0}\right)+\ldots+\frac{\left(x_{i}-x_{0}\right)^{p}}{p!}f^{(p)}\left(x_{0}\right)\right]\right\}=
=(1)n+p1x0xnφ(x)f(n+p)(x)𝑑x\displaystyle=(-1)^{n+p-1}\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+p)}(x)dx (22)

which only contains the coefficientsKandK_{i}, given by formulas (18), both in the first and second members, due to formulas (8).

But formulas (21) show that the coefficientsK1,K2,,KnK_{1},K_{2},\ldots,K_{n}are proportional toA1,A2,,AnA_{1},A_{2},\ldots,A_{n}, which means that the numerical derivation formulas (6) or (22) can also be written in the form

and=1andAand{f(xand)[f(x0)+xandx01!f(x0)++(xandx0)pp!f(p)(x0)]}=\displaystyle\sum_{i=1}^{i}A_{i}\left\{f\left(x_{i}\right)-\left[f\left(x_{0}\right)+\frac{x_{i}-x_{0}}{1!}f^{\prime}\left(x_{0}\right)+\ldots+\frac{\left(x_{i}-x_{0}\right)^{p}}{p!}f^{(p)}\left(x_{0}\right)\right]\right\}=
=(1)n+p1x0xnφ(x)f(n+p)(x)𝑑x\displaystyle=(-1)^{n+p-1}\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+p)}(x)dx (\prime)

In this formula the functionφ(x)\varphi(x)coincides in turn with the functionsφ1(x),φ2(x),,φn(x)\varphi_{1}(x),\varphi_{2}(x),\ldots,\varphi_{n}(x)in the intervals[x0,x1],[x1,x2],,[xn1,xn]\left[x_{0},x_{1}\right],\left[x_{1},x_{2}\right],\ldots,\left[x_{n-1},x_{n}\right]where, according to formulas (8), we have
φ1(x)=A1(xx1)n+p1(n+p1)!+A2(xx2)n+p1(n+p1)!++An(xxn)n+p1(n+p1)!\varphi_{1}(x)=A_{1}\frac{\left(x-x_{1}\right)^{n+p-1}}{(n+p-1)!}+A_{2}\frac{\left(x-x_{2}\right)^{n+p-1}}{(n+p-1)!}+\ldots+A_{n}\frac{\left(x-x_{n}\right)^{n+p-1}}{(n+p-1)!}

φ2(x)=A2(xx2)n+p1(n+p1)!++An(xxn)n+p1(n+p1)!\varphi_{2}(x)=\quad A_{2}\frac{\left(x-x_{2}\right)^{n+p-1}}{(n+p-1)!}+\ldots+A_{n}\frac{\left(x-x_{n}\right)^{n+p-1}}{(n+p-1)!} (23)

φn(x)=\varphi_{n}(x)=

An(xxn)n+p1(n+p1)!A_{n}\frac{\left(x-x_{n}\right)^{n+p-1}}{(n+p-1)!}

In formulas (22) and (22') the factor by which -1 multipliesKandK_{i}is the difference betweenf(xand)f\left(x_{i}\right)and the firstp+1p+1terms from his developmentf(x)f(x)according to his/her abilitiesxandx0x_{i}-x_{0}using Taylor's formula. This observation provides a practical procedure for writing numerical derivation formulas of the form (6).

Example. Supposen=3n=3andx1=x0+h,x2=x0+2hx_{1}=x_{0}+h,x_{2}=x_{0}+2h,x3=x0+3hx_{3}=x_{0}+3handp=2p=2To find the corresponding numerical derivation formula, we start by first decomposing it into simple rational functions.

1(xx0)3(xx1)(xx2)(xx3)=A1xx1+A2xx2+A3xx3+\frac{1}{\left(x-x_{0}\right)^{3}\left(x-x_{1}\right)\left(x-x_{2}\right)\left(x-x_{3}\right)}=\frac{A_{1}}{x-x_{1}}+\frac{A_{2}}{x-x_{2}}+\frac{A_{3}}{x-x_{3}}+\ldots

where

A1=12h5,A2=18h5,A3=154h5.A_{1}=\frac{1}{2h^{5}},A_{2}=-\frac{1}{8h^{5}},A_{3}=\frac{1}{54h^{5}}.

The numerical derivation formula is therefore

12h5[fx1)f(x0)hf(x0)h22!f"(x0)]18h5[f(x2)f(x0)2hf(x)(2h)22!f"(x0)]++154h5[f(x3)f(x0)3hf(x0)(3h)22!f"(x0)]=x0x3φ(x)f(5)(x)𝑑x,\begin{gathered}\left.\frac{1}{2h^{5}}\left[fx_{1}\right)-f\left(x_{0}\right)-hf^{\prime}\left(x_{0}\right)-\frac{h^{2}}{2!}f^{\prime\prime}\left(x_{0}\right)\right]-\\ -\frac{1}{8h^{5}}\left[f\left(x_{2}\right)-f\left(x_{0}\right)-2hf^{\prime}(x)-\frac{(2h)^{2}}{2!}f^{\prime\prime}\left(x_{0}\right)\right]+\\ +\frac{1}{54h^{5}}\left[f\left(x_{3}\right)-f\left(x_{0}\right)-3hf^{\prime}\left(x_{0}\right)-\frac{(3h)^{2}}{2!}f^{\prime\prime}\left(x_{0}\right)\right]=\int_{x_{0}}^{x_{3}}\varphi(x)f^{(5)}(x)dx,\end{gathered}

MEAN

1216h5[108f(x1)27f(x2)\displaystyle\frac{1}{216h^{5}}\left[108f\left(x_{1}\right)-27f\left(x_{2}\right)\right. +4f(x3)85f(x0)66hf(x0)18h2f"(x)]=\displaystyle\left.+4f\left(x_{3}\right)-85f\left(x_{0}\right)-66hf^{\prime}\left(x_{0}\right)-18h^{2}f^{\prime\prime}(x)\right]=
=x0x3φ(x)f(5)(x)𝑑x\displaystyle=\int_{x_{0}}^{x_{3}}\varphi(x)f^{(5)}(x)dx (24)

In this formula we have

φ1(x)=12h5(xx1)44!18h5(xx2)44!+154h5(xx3)44!φ2(x)=18h5(xx2)44!+154h5(xx3)44!φ3(x)=154h5(xx2)44!\begin{array}[]{rlrl}\varphi_{1}(x)=&\frac{1}{2h^{5}}\frac{\left(x-x_{1}\right)^{4}}{4!}-\frac{1}{8h^{5}}\frac{\left(x-x_{2}\right)^{4}}{4!}+\frac{1}{54h^{5}}\frac{\left(x-x_{3}\right)^{4}}{4!}\\ \varphi_{2}(x)=&-\frac{1}{8h^{5}}\frac{\left(x-x_{2}\right)^{4}}{4!}+\frac{1}{54h^{5}}\frac{\left(x-x_{3}\right)^{4}}{4!}\\ \varphi_{3}(x)=&&\frac{1}{54h^{5}}\frac{\left(x-x_{2}\right)^{4}}{4!}\end{array}
  1. 5.

    constantsλ1,λ2,,λn\lambda_{1},\lambda_{2},\ldots,\lambda_{n}from the differential equations (4) are all different from zero. To prove this, let us observe that from formulas (7) and (21) we have

λ1=(1)p+n1(A1+A2++An)\displaystyle\lambda_{1}=(-1)^{p+n-1}\left(A_{1}+A_{2}+\cdots+A_{n}\right)
λ2=(1)p+n1(A2+A3++An)\displaystyle\lambda_{2}=(-1)^{p+n-1}\left(A_{2}+A_{3}+\cdots+A_{n}\right) (25)
λn=(1)p+n1An.\displaystyle\lambda_{n}=(-1)^{p+n-1}A_{n}.

So to prove that the constantsλ1,λ2,,λn\lambda_{1},\lambda_{2},\ldots,\lambda_{n}are different from zero, it is the same as proving thatA1,A2,AnA_{1},A_{2},\ldots A_{n}being the residues of the rational function (20) relative to the polesx1,x2,,xnx_{1},x_{2},\ldots,x_{n}, the amountsAj+Aj+1++AnA_{j}+A_{j+1}+\ldots+A_{n}are different from zero.

Let's consider the polynomial

hk(x)=(xx0)p+1(xx1)(xxk1)(xxk+1)(xxn)(xkx0)p+1(xkx1)(xkxk1)(xkxk+1)(xkxn),h_{k}(x)=\frac{\left(x-x_{0}\right)^{p+1}\left(x-x_{1}\right)\ldots\left(x-x_{k-1}\right)\left(x-x_{k+1}\right)\ldots\left(x-x_{n}\right)}{\left(x_{k}-x_{0}\right)^{p+1}\left(x_{k}-x_{1}\right)\ldots\left(x_{k}-x_{k-1}\right)\left(x_{k}-x_{k+1}\right)\ldots\left(x_{k}-x_{n}\right)},

which cancels out in the nodex0x_{0}together with the firstppderivatives and in the nodesx1,x2,,xk1,xk+1,,xnx_{1},x_{2},\ldots,x_{k-1},x_{k+1},\ldots,x_{n}and which takes the value 1 in the nodexkx_{k}The polynomialhk(x)h_{k}(x), is a polynomial of degreep+np+nwhose first term isAkxp+n,AkA_{k}x^{p+n},A_{k}being the residue of the polexkx_{k}of the rational function (20).

polynomial
h(x)=hj(x)+hj+1(x)++hn(x)=(Aj+Aj+1++An)xp+n+h(x)=h_{j}(x)+h_{j+1}(x)+\ldots+h_{n}(x)=\left(A_{j}+A_{j+1}+\ldots+A_{n}\right)x^{p+n}+\ldotshas the rootx0x_{0}multiple of the orderp+1p+1and we have
again

h(xj)=1,h(xj+1)=1,,h(xn)=1h\left(x_{j}\right)=1,\quad h\left(x_{j+1}\right)=1,\ldots,h\left(x_{n}\right)=1
h(x1)=0,h(x2)=0,,h(xj1)=0.h\left(x_{1}\right)=0,\quad h\left(x_{2}\right)=0,\ldots,h\left(x_{j-1}\right)=0.

Applying to the polynomialh(x)h(x)Rolle's theorem 1a intervals[x0,x1],,[xj2,xj1]\left[x_{0},x_{1}\right],\ldots,\left[x_{j-2},x_{j-1}\right]and at intervals[xj,xj+1],,[xn1,xn]\left[x_{j},x_{j+1}\right],\ldots,\left[x_{n-1},x_{n}\right], we deduce thath(x)h(x)has the rootx0x_{0}multiple of the orderppand othersn1n-1distinct roots to the right ofx0x_{0}. Repeating this reasoning to the polynomialh(x)h^{\prime}(x), then toh"(x),h^{\prime\prime}(x),\ldotswe deduce that the polynomialh(p)(x)h^{(p)}(x)has the rootx0x_{0}and othersn1n-1distinct roots 1st right ofx0x_{0}We have
h(p)(x)=(n+p)(n+p1)(p+1)(Aj+Aj+1++An)xn+h^{(p)}(x)=(n+p)(n+p-1)\ldots(p+1)\left(A_{j}+A_{j+1}+\ldots+A_{n}\right)x^{n}+\ldots
IfAj+Aj+1++An=0A_{j}+A_{j+1}+\ldots+A_{n}=0, thenh(x)h(x)is a polynomial of degree less thannn, which havingnndistinct roots is identically null. It follows thath(p1)(x)=0h^{(p-1)}(x)=0, becauseh(p1)(x0)=0h^{(p-1)}\left(x_{0}\right)=0Inmode\bmodanalogously it follows thath(p2)(x)=0h^{(p-2)}(x)=0\ldotsand so on thath(x)=0h^{\prime}(x)=0It would therefore follow that the polynomialh(x)h(x)to be a constant, which is impossible becauseh(x0)=0h\left(x_{0}\right)=0, whileh(xn)=1h\left(x_{n}\right)=1.

So we haveAj+Aj+1++An0A_{j}+A_{j+1}+\ldots+A_{n}\neq 0and therefore all the constantsλ1,λ2,,λn\lambda_{1},\lambda_{2},\ldots,\lambda_{n}are different from zero.

We can specify the sign of the sumAj+Aj+1++AnA_{j}+A_{j+1}+\ldots+A_{n}For this, we note that in the interval[xj1,xj]\left[x_{j-1},x_{j}\right]polynomialh(x)h(x)is positive. It follows thath(x)h(x)has a maximum in the range[xj,xj+1]\left[x_{j},x_{j+1}\right], a minimum in the range[xj+1,xj+2],\left[x_{j+1},x_{j+2}\right],\ldotsand that in the last interval[xn1,xn],h(x)\left[x_{n-1},x_{n}\right],h(x)has a maximum or a minimum depending on(1)nj(-1)^{n-j}is -1 or +1 .

Ifh(x)h(x)has a maximum in the range[xn1,xn]\left[x_{n-1},x_{n}\right], thenh(x)h(x)tends towards-\inftywhenxxtends towards++\infty; thereforeAj+Aj+1++An<0A_{j}+A_{j+1}+\ldots+A_{n}<0.

Ifh(x)h(x)has a minimum in the range[xn1,xn]\left[x_{n-1},x_{n}\right], thenh(x)h(x)tends towards++\inftywhenxxtends towards++\infty, soAj+Aj+1++An>0A_{j}+A_{j+1}+\ldots+A_{n}>0.

Therefore the amountAj+Aj+1++AnA_{j}+A_{j+1}+\ldots+A_{n}has his sign(1)nj(-1)^{n-j}and we can add according to formulas (25) thatλj\lambda_{j}has his sign(1)p+j+1(-1)^{p+j+1}.
6. Functionφ(x)\varphi(x)from the numerical derivation formula (6) or (22) or (22') is positive in the interval (x0,xnx_{0},x_{n}). Forn=1n=1, this is obvious because formula (6) reduces in this case to Taylor's formula with the remainder written in Lagrange's form.

Let us suppose thenn2n\geqslant 2Functionφ(x)\varphi(x)satisfy in the nodesx0x_{0}andxnx_{n}under the following conditions

φ(x0)=0,φ(x0)=0,,φ(n2)(x0)=0\displaystyle\varphi\left(x_{0}\right)=0,\quad\varphi^{\prime}\left(x_{0}\right)=0,\ldots,\varphi^{(n-2)}\left(x_{0}\right)=0
φ(xn)=0,φ(xn)=0,,φ(n+p2)(xn)=0\displaystyle\varphi\left(x_{n}\right)=0,\quad\varphi^{\prime}\left(x_{n}\right)=0,\ldots,\varphi^{(n+p-2)}\left(x_{n}\right)=0

and in the interval[xn1,xn]\left[x_{n-1},x_{n}\right]it coincides with

φn(x)=λn(xxn)n+p1(n+p1)!=(1)n+p1λn(xnx)n+p1(n+p1)!\varphi_{n}(x)=\lambda_{n}\frac{\left(x-x_{n}\right)^{n+p-1}}{(n+p-1)!}=(-1)^{n+p-1}\lambda_{n}\frac{\left(x_{n}-x\right)^{n+p-1}}{(n+p-1)!}

But it was shown in No. 4 thatλn\lambda_{n}has his sign(1)n+p+1(-1)^{n+p+1}, from which it follows thatφ(x)=φn(x)\varphi(x)=\varphi_{n}(x)is positive in the interval[xn1xn)\left[x_{n-1}x_{n}\right).

Functionφ(x)\varphi(x)is continuous in the interval[x0,xn]\left[x_{0},x_{n}\right]and has continuous derivatives up to the ordern+p2n+p-2, derivativeφ(n+p1)(x)\varphi^{(n+p-1)}(x)being discontinuous at the nodesx1,x2,,xn1x_{1},x_{2},\ldots,x_{n-1}. Functionφ(x)\varphi(x)canceling out at the nodesx0x_{0}andxnx_{n}, according to Rolle's theorem, its derivativeφ(x)\varphi^{\prime}(x)has at least one zero in the interval (x0,xnx_{0},x_{n}). Let us show that it can only have one zero.

Indeed, ifφ(x)\varphi^{\prime}(x)would have two zeros in the interval (x0,xnx_{0},x_{n}), successively applying Rolle's theorem would result inφ"(x),,φ(n2)(x)\varphi^{\prime\prime}(x),\ldots,\varphi^{(n-2)}(x)to have3,,n13,\ldots,n-1zeros in the range (x0,xnx_{0},x_{n}). Continuing the same reasoning, it would follow thatφ(n1)(x),φ(n)(x),,φ(n+p2)(x)\varphi^{(n-1)}(x),\varphi^{(n)}(x),\ldots,\varphi^{(n+p-2)}(x)to havennzeros in the range (x0,xnx_{0},x_{n}). Let us show that this is an impossibility.

We first observe that no zero ofφ(n+p2)(x)\varphi^{(n+p-2)}(x)not found in range1[xn1,xn)\left[x_{n-1},x_{n}\right)We also observe that in an interval.(xk1,xk]\left(x_{k-1},x_{k}\right], wherek=1,2,,n1,φ(n+p2)(x)k=1,2,\ldots,n-1,\varphi^{(n+p-2)}(x)cannot have two zeros, because applying Rolle's theorem it would follow thatφ(n+p1)(x)\varphi^{(n+p-1)}(x)to vanish at a
point in the interval (xk1,xkx_{k-1},x_{k}), which is impossible because in this interval we haveφ(n+p1)(x)=φk(n+p1)(x)=λk0\varphi^{(n+p-1)}(x)=\varphi_{k}^{(n+p-1)}(x)=\lambda_{k}\neq 0. So in the interval (x0,xn1x_{0},x_{n-1}) derivativeφ(n+p2)(x)\varphi^{(n+p-2)}(x)can only have at mostn1n-1zeros, while above it was shown that in the same intervalφ(n+p2)(x)\varphi^{(n+p-2)}(x)hasnnzeros.

So the hypothesis thatφ(x)\varphi^{\prime}(x)would have two zeros in the interval (x0,xnx_{0},x_{n}) leading to a contradiction, we deduce thatφ(x)\varphi^{\prime}(x)has a single zero in the interval (x0,xn1x_{0},x_{n-1}). The functionφ(x)\varphi(x)being positive in the interval (xn1,xnx_{n-1},x_{n}) and its derivativeφ(x)\varphi^{\prime}(x)having a single zero in the interval (x0,xn1x_{0},x_{n-1}), is positive in the interval (x0,xnx_{0},x_{n}).

Function graphφ(x)\varphi(x)is given in Fig. 1.

  1. 7.

    The remainder in the numerical derivation formula (6), (22) or (22'). The second member of the numerical derivation formula is

R=(1)n+p+1x0xnφ(x)f(n+p)(x)𝑑xR=(-1)^{n+p+1}\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+p)}(x)dx (26)

and is called the remainder of the formula.
Since it has been shown thatφ(x)\varphi(x)is a positive function in the interval(x0,xn)\left(x_{0},x_{n}\right), the rest can be written in the form

R=(1)n+p+1f(n+p)(ξ)x0xnφ(x)𝑑xR=(-1)^{n+p+1}f^{(n+p)}(\xi)\int_{x_{0}}^{x_{n}}\varphi(x)dx

whereξ(x0,xn)\xi\in\left(x_{0},x_{n}\right)The integral in the second term is calculated using the numerical derivative formula (6), replacingf(x)f(x)with the polynomial

f(x)=(xx0)p(xx1)(xxn)(n+p)!f(x)=\frac{\left(x-x_{0}\right)^{p}\left(x-x_{1}\right)\ldots\left(x-x_{n}\right)}{(n+p)!}

Formula (6) gives us

(1)n+p+1x0xnφ(x)𝑑x=Vpp!f(p)(x0)(-1)^{n+p+1}\int_{x_{0}}^{x_{n}}\varphi(x)dx=-\frac{v_{p}}{p!}f^{(p)}\left(x_{0}\right)

we

f(p)(x0)p!=(1)n(x1x0)(xnx0)(n+p)!\frac{f^{(p)}\left(x_{0}\right)}{p!}=(-1)^{n}\frac{\left(x_{1}-x_{0}\right)\ldots\left(x_{n}-x_{0}\right)}{(n+p)!}

and formula (19) gives

It follows that

Vp=(1)p(x1x0)(xnx0)v_{p}=\frac{(-1)^{p}}{\left(x_{1}-x_{0}\right)\cdots\left(x_{n}-x_{0}\right)}
x0xnφ(x)𝑑x=1(n+p)!\int_{x_{0}}^{x_{n}}\varphi(x)dx=\frac{1}{(n+p)!}

and therefore the restRRgiven by formula (26) can also be written in the form

R=(1)n+p+1f(n+p)(ξ)(n+p)!R=(-1)^{n+p+1}\frac{f^{(n+p)}(\xi)}{(n+p)!} (\prime)

whereξ(x0,xn)\xi\in\left(x_{0},x_{n}\right)If
the numerical derivation formula (6) is written in the form (16) and we denote byR1R_{1}the second member of this formula, then we have according to the calculations above

R1=f(n+p)(n+p)!R_{1}=f\frac{(n+p)}{(n+p)!}

and we find here a well-known theorem on the divided difference in the first member of formula (16).

If we note withMn+pM_{n+p}an upper edge of|f(n+p)(x)|\left|f^{(n+p)}(x)\right|in the interval[A,b][a,b], then from the formula(26)\left(26^{\prime}\right)we deduce the following evaluation of|R||R|

|R|Mn+p(n+p)!|R|\leqslant\frac{M_{n+p}}{(n+p)!} (27)

§ 2. Generalization of AA Markov's formulas and putting the rest of these formulas in the form of a definite integral

  1. 8.

    Whetherf(x)f(x)a class functionCn+1C^{n+1}in the interval[A,b][a,b]andx0,x1,,xnx_{0},x_{1},\ldots,x_{n}nodes in this interval, so thatx0<x1<x2<<xnx_{0}<x_{1}<x_{2}<\ldots<x_{n}If the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}are in arithmetic progression with the relationshiphh, Markov's formulas [4],

hpf(p)(x0)=and=pnAandΔandf(x0)h^{p}f^{(p)}\left(x_{0}\right)=\sum_{i=p}^{n}A_{i}\Delta^{i}f\left(x_{0}\right) (28)

I give the derivative.f(p)(x0)f^{(p)}\left(x_{0}\right)with the help of his valuesf(x)f(x)on the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}, wherep=1,2,,np=1,2,\ldots,n.

In this paragraph we will establish formulas of the Markov type, without assuming that the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}are in arithmetic progression and we will study the rest of these formulas which we will put in the form of a definite integral.
9. We therefore assume the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}anyway in the interval[A,b][a,b]and ordered so thatx0<x1<<xnx_{0}<x_{1}<\ldots<x_{n}At intervals[x0,x1]\left[x_{0},x_{1}\right],[x1,x2],,[xn1,xn]\left[x_{1},x_{2}\right],\ldots,\left[x_{n-1},x_{n}\right]we attach the functionsφ1(x),φ2(x),,φn(x)\varphi_{1}(x),\varphi_{2}(x),\ldots,\varphi_{n}(x)and the constantsλ1,λ2,,λn\lambda_{1},\lambda_{2},\ldots,\lambda_{n}and then we consider the differential equations

φ1(n)(x)=λ1,φ2(n)(x)=λ2,,φn(n)(x)=λn\varphi_{1}^{(n)}(x)=\lambda_{1},\varphi_{2}^{(n)}(x)=\lambda_{2},\ldots,\varphi_{n}^{(n)}(x)=\lambda^{n} (29)

which we integrate with the boundary conditions

φ1(x0)=0,φ1(x0)=0,,φ1(np1)(x0)=0\displaystyle\varphi_{1}\left(x_{0}\right)=0,\quad\varphi_{1}^{\prime}\left(x_{0}\right)=0,\ldots,\varphi_{1}^{(n-p-1)}\left(x_{0}\right)=0
φ1(np)(x0)=(1)pμp!,φ1(np+1)(x0)=0,,φ1(n1)(x0)=0\displaystyle\varphi_{1}^{(n-p)}\left(x_{0}\right)=(-1)^{p}\frac{\mu}{p!},\quad\varphi_{1}^{(n-p+1)}\left(x_{0}\right)=0,\ldots,\varphi_{1}^{(n-1)}\left(x_{0}\right)=0 (30)
φ2(x1)=φ1(x1),φ2(x1)=φ1(x1),,φ2(n1)(x1)=φ1(n1)(x1)\displaystyle\varphi_{2}\left(x_{1}\right)=\varphi_{1}\left(x_{1}\right),\quad\varphi_{2}^{\prime}\left(x_{1}\right)=\varphi_{1}^{\prime}\left(x_{1}\right),\ldots,\varphi_{2}^{(n-1)}\left(x_{1}\right)=\varphi_{1}^{(n-1)}\left(x_{1}\right)
φn(xn1))=φn1(xn1),φn(xn1)=φn1(xn1),\displaystyle\varphi_{n}\left(x_{n-1)}\right)=\varphi_{n-1}\left(x_{n-1}\right),\quad\varphi_{n}^{\prime}\left(x_{n-1}\right)=\varphi_{n-1}^{\prime}\left(x_{n-1}\right),\ldots
φn(n1)(xn1)=φn1(n1)(xn1)\displaystyle\quad\varphi_{n}^{(n-1)}\left(x_{n-1}\right)=\varphi_{n-1}^{(n-1)}\left(x_{n-1}\right)
φn(xn)=0,φn(xn)=0,,φn(n1)(xn)=0\displaystyle\varphi_{n}\left(x_{n}\right)=0,\quad\varphi_{n}^{\prime}\left(x_{n}\right)=0,\ldots,\varphi_{n}^{(n-1)}\left(x_{n}\right)=0

constantsλ1,λ2,,λn\lambda_{1},\lambda_{2},\ldots,\lambda_{n}andμ\mufrom the differential equations (29) and the boundary conditions (30) it is determined that the functionsφ1(x),,φn(x)\varphi_{1}(x),\ldots,\varphi_{n}(x)to verify both the differential equations and the boundary conditions.

Each integral

x0x1φ1(n+1)(x)f(x)𝑑x,x1x2φ2(n+1)(x)f(x)𝑑x,,xn1xnφn(n+1)(x)f(x)𝑑x\int_{x_{0}}^{x_{1}}\varphi_{1}^{(n+1)}(x)f(x)dx,\int_{x_{1}}^{x_{2}}\varphi_{2}^{(n+1)}(x)f(x)dx,\ldots,\int_{x_{n-1}}^{x_{n}}\varphi_{n}^{(n+1)}(x)f(x)dx

is zero. Applying to each the generalized integration by parts formula and taking their sum, we obtain the numerical derivative formula

μf(p)(x0)p!λ1f(x0)+K1f(x1)++Knf(xn)=\displaystyle-\mu\frac{f^{(p)}\left(x_{0}\right)}{p!}-\lambda_{1}f\left(x_{0}\right)+K_{1}f\left(x_{1}\right)+\ldots+K_{n}f\left(x_{n}\right)=
=(1)nx0xnφ(x)f(n+1)(x)𝑑x\displaystyle=(-1)^{n}\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+1)}(x)dx (31)

where

K1=λ1λ2,K2=λ2λ3,,Kn1=λn1λn,Kn=λn.K_{1}=\lambda_{1}-\lambda_{2},\quad K_{2}=\lambda_{2}-\lambda_{3},\ldots,K_{n-1}=\lambda_{n-1}-\lambda_{n},K_{n}=\lambda_{n}. (32)

In establishing formula (31) it was assumed that1pn1\leqslant p\leqslant nTo
show that formula (31) makes sense, we need to determine the functionsφ1(x),,φn(x)\varphi_{1}(x),\ldots,\varphi_{n}(x)which verifies the differential equations (29) and the boundary conditions (30).

Differential equations (29) and boundary conditions at the nodesx1,x2,,xnx_{1},x_{2},\ldots,x_{n}they give us

φn(x)=Kn(xxn)nn!\displaystyle\varphi_{n}(x)=K_{n}\frac{\left(x-x_{n}\right)^{n}}{n!}
φn1(x)=Kn1(xxn1)nn!+Kn(xxn)nn!\displaystyle\varphi_{n-1}(x)=K_{n-1}\frac{\left(x-x_{n-1}\right)^{n}}{n!}+K_{n}\frac{\left(x-x_{n}\right)^{n}}{n!} (33)
Kn(xxn)nn!.\displaystyle\ldots\ldots\ldots\ldots\ldots\ldots\ldots\ldots\ldots K_{n}\frac{\left(x-x_{n}\right)^{n}}{n!}.

Writing that and the boundary conditions at pointx0x_{0}are satisfied, we have the system of linear and homogeneous equations

K1(x1x0)+K2(x2x0)++Kn(xnx0)=0\displaystyle K_{1}\left(x_{1}-x_{0}\right)+K_{2}\left(x_{2}-x_{0}\right)+\ldots+K_{n}\left(x_{n}-x_{0}\right)=0
K1(x1x0)p1+K2(x2x0)p1++Kn(xnx0)p1=0\displaystyle K_{1}\left(x_{1}-x_{0}\right)^{p-1}+K_{2}\left(x_{2}-x_{0}\right)^{p-1}+\cdots+K_{n}\left(x_{n}-x_{0}\right)^{p-1}=0
K1(x1x0)p+K2(x2x0)p++Kn(xnx0)p=μ\displaystyle K_{1}\left(x_{1}-x_{0}\right)^{p}+K_{2}\left(x_{2}-x_{0}\right)^{p}+\ldots+K_{n}\left(x_{n}-x_{0}\right)^{p}=\mu (34)
K1(x1x0)p+1+K2(x2x0)p+1++Kn(xnx0)p+1=0\displaystyle K_{1}\left(x_{1}-x_{0}\right)^{p+1}+K_{2}\left(x_{2}-x_{0}\right)^{p+1}+\ldots+K_{n}\left(x_{n}-x_{0}\right)^{p+1}=0
K1(x1x0)n+K2(x2x0)n++Kn(xnx0)n=0,\displaystyle K_{1}\left(x_{1}-x_{0}\right)^{n}+K_{2}\left(x_{2}-x_{0}\right)^{n}+\ldots+K_{n}\left(x_{n}-x_{0}\right)^{n}=0,

which determines theK1,K2,,KnK_{1},K_{2},\ldots,K_{n}, or the system

λ1+K1++Kn=0\displaystyle-\lambda_{1}+K_{1}+\ldots+K_{n}=0
λ1x0pCppμ+K1x1p++Knxnp=0\displaystyle-\lambda_{1}x_{0}^{p}-C_{p}^{p}\mu+K_{1}x_{1}^{p}+\ldots+K_{n}x_{n}^{p}=0
λ1x0p+1Cp+1pμx0+K1x1p+1++Knxnp+1=0\displaystyle-\lambda_{1}x_{0}^{p+1}-C_{p+1}^{p}\mu x_{0}+K_{1}x_{1}^{p+1}+\cdots+K_{n}x_{n}^{p+1}=0 (35)
λ1x0nCnpμx0np+K1x1n++Knxnn=0,\displaystyle-\lambda_{1}x_{0}^{n}-C_{n}^{p}\mu x_{0}^{n-p}+K_{1}x_{1}^{n}+\ldots+K_{n}x_{n}^{n}=0,

which determines theK1,K2,Kn,λK_{1},K_{2},\ldots K_{n},\lambdaandμ\muWe consider
the matrix

1011x00x1xnx0pCppx1pxnpx0nCnpx0npx1nxnn\begin{array}[]{||ccccc||}1&0&1&\ldots&1\\ x_{0}&0&x_{1}&\ldots&x_{n}\\ \vdots&\vdots&\vdots&&\vdots\\ x_{0}^{p}&C_{p}^{p}&x_{1}^{p}&\ldots&x_{n}^{p}\\ \vdots&\vdots&\vdots&&\vdots\\ x_{0}^{n}&C_{n}^{p}x_{0}^{n-p}&x_{1}^{n}&\ldots&x_{n}^{n}\end{array}\|

and we denote byA1,A2,,An+2A_{1},A_{2},\ldots,A_{n+2}determinants that have the same rows and columns except1A1-\mathrm{a}, of2A,2-\mathrm{a},\ldots, of(n+2)(n+2)-a. All these determinants are different from zero, and solving system (35) inλ1,μ,K1,,Kn-\lambda_{1},-\mu,K_{1},\ldots,K_{n}we will have

λ1A1=μA2=K1A3==(1)n+1An+2\frac{-\lambda_{1}}{A_{1}}=\frac{-\mu}{-A_{2}}=\frac{K_{1}}{A_{3}}=\ldots=\frac{(-1)^{n+1}}{A_{n+2}} (36)

The first member of the numerical derivation formula being a linear combination of the numerators in formulas (36), these formulas can also be written in the form

λ1A1=μA2=K1A3==Kn(1)n+1An+2=x0φ(x)f(n+1)(x)𝑑xΔ,\frac{-\lambda_{1}}{A_{1}}=\frac{-\mu}{-A_{2}}=\frac{K_{1}}{A_{3}}=\ldots=\frac{K_{n}}{(-1)^{n+1}A_{n+2}}=\frac{-\int_{x_{0}}\varphi(x)f^{(n+1)}(x)dx}{\Delta}, (37)

where

Δ=|1011x00x1xnx0pCppx1pxnpx0nCnpx0npx1nxnnf(x0)f(p)(x0)p!f(x1)f(xn)|.\Delta=\left|\begin{array}[]{ccccc}1&0&1&\ldots&1\\ x_{0}&0&x_{1}&\ldots&x_{n}\\ \vdots&\vdots&\vdots&&\vdots\\ x_{0}^{p}&C_{p}^{p}&x_{1}^{p}&\ldots&x_{n}^{p}\\ \vdots&\vdots&\vdots&&\vdots\\ x_{0}^{n}&C_{n}^{p}x_{0}^{n-p}&x_{1}^{n}&\ldots&x_{n}^{n}\\ f\left(x_{0}\right)&\frac{f^{(p)}\left(x_{0}\right)}{p!}&f\left(x_{1}\right)&\ldots&f\left(x_{n}\right)\end{array}\right|.

Let us prove that the determinantΔ1\Delta_{1}which is obtained fromΔ\Deltareplacingf(x)cyouxn+1f(x)\penalty 10000\ cux^{n+1}is different from zero. For this, we consider the Vandermonde determinant

|1111x0xx1xnx0pxpx1pxnpx0n+1xn+1x1n+1xnn+1|=(1)n(xx0)(xx1)(xxn)×\left|\begin{array}[]{lllll}1&1&1&\ldots&1\\ x_{0}&x&x_{1}&\ldots&x_{n}\\ \vdots&\vdots&\vdots&&\vdots\\ x_{0}^{p}&x^{p}&x_{1}^{p}&\ldots&x_{n}^{p}\\ \vdots&\vdots&\vdots&&\vdots\\ x_{0}^{n+1}&x^{n+1}&x_{1}^{n+1}&\ldots&x_{n}^{n+1}\end{array}\right|=(-1)^{n}\left(x-x_{0}\right)\left(x-x_{1}\right)\ldots\left(x-x_{n}\right)\times

whereV(x0,x1,,xn)V\left(x_{0},x_{1},\ldots,x_{n}\right)is the Vandermonde determinant of distinct numbersx0,x1,,xnx_{0},x_{1},\ldots,x_{n}. Differentiating both members with respect toxxofpptimes, dividing bypp! and then doingx=x0x=x_{0}, we obtain the value of the determinantΔ1\Delta_{1}Let's note

h(x)=(xx0)(xx1)(xxn).h(x)=\left(x-x_{0}\right)\left(x-x_{1}\right)\ldots\left(x-x_{n}\right).

We will have

h(p)(x0)p!=Σ(x0x1)(x0x2)(x0xnp+1)\frac{h^{(p)}\left(x_{0}\right)}{p!}=\Sigma\left(x_{0}-x_{1}\right)\left(x_{0}-x_{2}\right)\ldots\left(x_{0}-x_{n-p+1}\right)

Noting in general

μk(x1x0,,xnx0)=(x1x0)(x2x0)(xkx0)>0\mu_{k}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)=\sum\left(x_{1}-x_{0}\right)\left(x_{2}-x_{0}\right)\ldots\left(x_{k}-x_{0}\right)>0 (39)

we will have

h(p)(x0)p!=(1)np+1μnp+1(x1x0,,xnx0)\frac{h^{(p)}\left(x_{0}\right)}{p!}=(-1)^{n-p+1}\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)

It follows that

Δ1=(1)p1V(x0,x1,,xn)μnp+1(x1x0,,xnx0)0\Delta_{1}=(-1)^{p-1}V\left(x_{0},x_{1},\ldots,x_{n}\right)\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)\neq 0 (40)

Equating the ratios (37) with1Δ1-\frac{1}{\Delta_{1}}, we deduce that the numerical derivation formula (31) can also be written in the form

ΔΔ1=x0xnφ(x)f(n+1)(x)𝑑x\frac{\Delta}{\Delta_{1}}=\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+1)}(x)dx (41)

whereΔ\Deltais the determinant (38), andΔ1\Delta_{1}is obtained fromΔ\Deltareplacingf(x)f(x)withxn+1x^{n+1}.
10. Calculation of coefficientsλ1,μ,K1,K2,,Kn\lambda_{1},\mu,K_{1},K_{2},\ldots,K_{n}From the formulas

λ1A1=μA2=K1A3==Kn(1)n+1An+2=1Δ1\frac{-\lambda_{1}}{A_{1}}=\frac{-\mu}{-A_{2}}=\frac{K_{1}}{A_{3}}=\ldots=\frac{K_{n}}{(-1)^{n+1}A_{n+2}}=-\frac{1}{\Delta_{1}}

it follows that

λ1=A1Δ1,μ=A2Δ1,K1=A3Δ1,,Kn=(1)nAn+2Δ1\lambda_{1}=\frac{A_{1}}{\Delta_{1}},\mu=-\frac{A_{2}}{\Delta_{1}},K_{1}=-\frac{A_{3}}{\Delta_{1}},\ldots,K_{n}=(-1)^{n}\frac{A_{n+2}}{\Delta_{1}}

But

A1=(1)pV(x1,x2,,xn)μnp(x1x0,x2x0,,xnx0)\displaystyle A_{1}=(-1)^{p}V\left(x_{1},x_{2},\ldots,x_{n}\right)\mu_{n-p}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)
A2=V(x0,x1,,xn)\displaystyle A_{2}=V\left(x_{0},x_{1},\ldots,x_{n}\right)
A3=(1)p1V(x0,x2x3,,xn)μnp(x2x0,x3x0,,xnx0)\displaystyle A_{3}=(-1)^{p-1}V\left(x_{0},x_{2}x_{3},\ldots,x_{n}\right)\mu_{n-p}\left(x_{2}-x_{0},x_{3}-x_{0},\ldots,x_{n}-x_{0}\right)
A4=(1)p1V(x0,x1,x3,,xn)μnp(x1x0,x3x0,,xnx0)\displaystyle A_{4}=(-1)^{p-1}V\left(x_{0},x_{1},x_{3},\ldots,x_{n}\right)\mu_{n-p}\left(x_{1}-x_{0},x_{3}-x_{0},\ldots,x_{n}-x_{0}\right)
xn1)μnp(x1x0,x2x0,,xn1)\displaystyle\left.\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot x_{n-1}\right)\mu_{n-p}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n-1}\right)
An+2=(1)p1V(x0,x1,x2,,xn1\displaystyle A_{n+2}=(-1)^{p-1}V\left(x_{0},x_{1},x_{2},\ldots,x_{n-1}\right.

Taking into account formula (40) it is deduced that

μ=(1)pμnp+1(x1x0,,xnx0)\mu=\frac{(-1)^{p}}{\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)} (42)

and

λ1=V(x1,x2,x3,,xn)V(x0,x1,x2,,xn)μnp(x1x0,x2x0,,xnx0)μnp+1(x1x0,x2x0,,xnx0)\displaystyle\lambda_{1}=-\frac{V\left(x_{1},x_{2},x_{3},\ldots,x_{n}\right)}{V\left(x_{0},x_{1},x_{2},\ldots,x_{n}\right)}\cdot\frac{\mu_{n-p}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)}{\mu_{n-p+1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)}
K1=V(x0,x2,x3,,xn)V(x0,x1,x2,,xn)μnp(x2x0,x3x0,,xnx0)μnp+1(x1x0,x2x0,,xnx0)\displaystyle K_{1}=-\frac{V\left(x_{0},x_{2},x_{3},\ldots,x_{n}\right)}{V\left(x_{0},x_{1},x_{2},\ldots,x_{n}\right)}\cdot\frac{\mu_{n-p}\left(x_{2}-x_{0},x_{3}-x_{0},\ldots,x_{n}-x_{0}\right)}{\mu_{n-p+1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)} (43)
xn)\displaystyle\left.\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot x_{n}\right)
Kn=(1)nV(x0,x1,x2,,xn1)V(x0,x1,x2,,xn)μnp(x1x0,x2x0,,xn1x0)μnp+1(x1x0,x2x0,,xnx0)\displaystyle K_{n}=(-1)^{n}\frac{V\left(x_{0},x_{1},x_{2},\ldots,x_{n-1}\right)}{V\left(x_{0},x_{1},x_{2},\ldots,x_{n}\right)}\cdot\frac{\mu_{n-p}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n-1}-x_{0}\right)}{\mu_{n-p+1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)}

But

V(x1,x2,x3,,xn)V(x0,x1,x2,,xn)=1(x1x0)(x2x0)(xnx0)\displaystyle\frac{V\left(x_{1},x_{2},x_{3},\ldots,x_{n}\right)}{V\left(x_{0},x_{1},x_{2},\ldots,x_{n}\right)}=\frac{1}{\left(x_{1}-x_{0}\right)\left(x_{2}-x_{0}\right)\ldots\left(x_{n}-x_{0}\right)}
V(x0,x2,x3,,xn)V(x0,x1,x2,,xn)=1(x0x1)(x2x1)(xnx1)\displaystyle\frac{V\left(x_{0},x_{2},x_{3},\ldots,x_{n}\right)}{V\left(x_{0},x_{1},x_{2},\ldots,x_{n}\right)}=\frac{-1}{\left(x_{0}-x_{1}\right)\left(x_{2}-x_{1}\right)\ldots\left(x_{n}-x_{1}\right)}
V(x0,x1,x2,,xn1)V(x0,x1,x2,,xn)=(1)n(x0xn)(x1xn)(xn1xn)\displaystyle\frac{V\left(x_{0},x_{1},x_{2},\ldots,x_{n-1}\right)}{V\left(x_{0},x_{1},x_{2},\ldots,x_{n}\right)}=\frac{(-1)^{n}}{\left(x_{0}-x_{n}\right)\left(x_{1}-x_{n}\right)\ldots\left(x_{n-1}-x_{n}\right)}

and if we consider the rational function

1(xx0)(xx1)(xxn)=B0xx0+B1xx1++Bnxxn\frac{1}{\left(x-x_{0}\right)\left(x-x_{1}\right)\ldots\left(x-x_{n}\right)}=\frac{B_{0}}{x-x_{0}}+\frac{B_{1}}{x-x_{1}}+\ldots+\frac{B_{n}}{x-x_{n}} (44)

expanded into simple rational functions, we have

B0=(1)n(x1x0)(x2x0)(xnx0)\displaystyle B_{0}=\frac{(-1)^{n}}{\left(x_{1}-x_{0}\right)\left(x_{2}-x_{0}\right)\ldots\left(x_{n}-x_{0}\right)}
B1=(1)n(x0x1)(x2x1)(xnx1)\displaystyle B_{1}=\frac{(-1)^{n}}{\left(x_{0}-x_{1}\right)\left(x_{2}-x_{1}\right)\ldots\left(x_{n}-x_{1}\right)}
Bn=(1)n(x0xn)(x1xn)(xn1xn)\displaystyle B_{n}=\frac{(-1)^{n}}{\left(x_{0}-x_{n}\right)\left(x_{1}-x_{n}\right)\ldots\left(x_{n-1}-x_{n}\right)}

Returning to formulas (43), we will have

λ1=(1)nB0μnp(x1x0,x2x0,,xnx0)μnp+1(x1x0,x2x0,,xnx0)\displaystyle-\lambda_{1}=(-1)^{n}B_{0}\frac{\mu_{n-p}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)}{\mu_{n-p+1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)}
K1=(1)nB1μnp(x2x0,x3x0,,xnx0)μnp+1(x1x0,x2x0,,xnx0)\displaystyle K_{1}=(-1)^{n}B_{1}\frac{\mu_{n-p}\left(x_{2}-x_{0},x_{3}-x_{0},\ldots,x_{n}-x_{0}\right)}{\mu_{n-p+1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)} (45)
xn1x0)\displaystyle\left.\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot x_{n-1}-x_{0}\right)
Kn=(1)nByouμnp(x1x0,x2x0,,xnμnp+1(x1x0,x2x0,,xnx0)\displaystyle K_{n}=(-1)^{n}B_{u}\frac{\mu_{n-p}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}\right.}{\mu_{n-p+1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)}

Because his signBandB_{i}is his sign(1)n+and(-1)^{n+i}, from formulas (45) we deduce thatλ1>0,K1<0,K2>0,,(1)nKn>0-\lambda_{1}>0,K_{1}<0,K_{2}>0,\ldots,(-1)^{n}K_{n}>0, that isλ1,K1,,Kn-\lambda_{1},K_{1},\ldots,K_{n}have alternating signs,λ1-\lambda_{1}being positive.

From formulas (45) we deduce that the numerical derivation formula (31) can also be written in the form

(1)n+p+1f(p)(x0)p!\displaystyle(-1)^{n+p+1}\frac{f^{(p)}\left(x_{0}\right)}{p!} +B0μnp(x1x0,x2x0,,xnx0)f(x0)\displaystyle+B_{0}\mu_{n-p}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)f\left(x_{0}\right)
+B1μnp(x2x0,x3x0,,xnx0)f(x1)\displaystyle+B_{1}\mu_{n-p}\left(x_{2}-x_{0},x_{3}-x_{0},\ldots,x_{n}-x_{0}\right)f\left(x_{1}\right)
+\displaystyle+\cdots\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot (46)
+Bnμnp(x1x0,x2x0,,xn1x0)f(xn)\displaystyle+B_{n}\mu_{n-p}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n-1}-x_{0}\right)f\left(x_{n}\right)
=μnp+1(x1x0,x2x0,,xnx0)x0xnφ(x)f(n+1)(x)𝑑x\displaystyle=\mu_{n-p+1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+1)}(x)dx

We therefore have a practical rule for writing the numerical derivation formula (46). We calculate the residuesB0,B1,,BnB_{0},B_{1},\ldots,B_{n}from formula (44), then the sums are calculatedμnp\mu_{n-p}andμnp+1\mu_{n-p+1}and finally we write formula (46).

Example. Suppose thatn=4n=4andp=2p=2, and the nodesx0,x1,x2x_{0},x_{1},x_{2},x3,x4x_{3},x_{4}are in arithmetic progression with the ratiohhWe have

1(xx0)(xx1)(xx2)(xx3)(xx4)=\displaystyle\frac{1}{\left(x-x_{0}\right)\left(x-x_{1}\right)\left(x-x_{2}\right)\left(x-x_{3}\right)\left(x-x_{4}\right)}=
=B0xx0+B1xx1+B2xx2+B3xx3+B4xx4\displaystyle=\frac{B_{0}}{x-x_{0}}+\frac{B_{1}}{x-x_{1}}+\frac{B_{2}}{x-x_{2}}+\frac{B_{3}}{x-x_{3}}+\frac{B_{4}}{x-x_{4}}

where

B0=124h4,B1=16h4,B2=14h4,B3=16h4,B4=124h4B_{0}=\frac{1}{24h^{4}},\quad B_{1}=-\frac{1}{6h^{4}},\quad B_{2}=\frac{1}{4h^{4}},\quad B_{3}=-\frac{1}{6h^{4}},\quad B_{4}=\frac{1}{24h^{4}}

On the other hand, from the string

x1x0=h,x2x0=2h,x3x0=3h,x4x0=4hx_{1}-x_{0}=h,\quad x_{2}-x_{0}=2h,\quad x_{3}-x_{0}=3h,\quad x_{4}-x_{0}=4h

we deduce that

μ3(x1x0,x2x0,x3x0,x4x0)=50h3\mu_{3}\left(x_{1}-x_{0},x_{2}-x_{0},x_{3}-x_{0},x_{4}-x_{0}\right)=50h^{3}

and

μ2(x1x0,x2x0,x3x0,x4x0)=35h2\displaystyle\mu_{2}\left(x_{1}-x_{0},x_{2}-x_{0},x_{3}-x_{0},x_{4}-x_{0}\right)=5h^{2}
μ2(x2x0,x3x0,x4x0)=26h2\displaystyle\mu_{2}\left(x_{2}-x_{0},x_{3}-x_{0},x_{4}-x_{0}\right)=6h^{2}
μ2(x1x0,x3x0,x4x0)=19h2\displaystyle\mu_{2}\left(x_{1}-x_{0},x_{3}-x_{0},x_{4}-x_{0}\right)=9h^{2}
μ2(x1x0,x2x0,x4x0)=14h2\displaystyle\mu_{2}\left(x_{1}-x_{0},x_{2}-x_{0},x_{4}-x_{0}\right)=4h^{2}
μ2(x1x0,x2x0,x3x0)=11h2\displaystyle\mu_{2}\left(x_{1}-x_{0},x_{2}-x_{0},x_{3}-x_{0}\right)=1h^{2}

Applying formula (46), we will have the following numerical derivation formula

f"(x0)2=124h2[35f(x0)104f(x1)+114f(x2)56f(x3)+11f(x4)]\displaystyle\frac{f^{\prime\prime}\left(x_{0}\right)}{2}=\frac{1}{24h^{2}}\left[35f\left(x_{0}\right)-104f\left(x_{1}\right)+114f\left(x_{2}\right)-56f\left(x_{3}\right)+11f\left(x_{4}\right)\right]
50h3x0x4φ(x)f(5)(x)𝑑x\displaystyle-50h^{3}\int_{x_{0}}^{x_{4}}\varphi(x)f^{(5)}(x)dx (47)
  1. 11.

    A new form of the numerical derivative formula (31) or (46). From the definition of divided differences of the functionf(x)f(x)on the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}, it follows that we can write
    f(x1)=f(x0)+(x1x0)[x0,x1;f(x)]f\left(x_{1}\right)=f\left(x_{0}\right)+\left(x_{1}-x_{0}\right)\left[x_{0},x_{1};f(x)\right]
    f(x2)=f(x0)+(x2x0)[x0,x1;f(x)]+(x2x0)(x2x1)[x0,x1,x2;f(x)]f\left(x_{2}\right)=f\left(x_{0}\right)+\left(x_{2}-x_{0}\right)\left[x_{0},x_{1};f(x)\right]+\left(x_{2}-x_{0}\right)\left(x_{2}-x_{1}\right)\left[x_{0},x_{1},x_{2};f(x)\right]

f(xn)=\displaystyle f\left(x_{n}\right)= f(x0)+(xnx0)[x0,x1;f(x)]+(xnx0)(xnx1)[x0,x1,x2;f(x)]+\displaystyle f\left(x_{0}\right)+\left(x_{n}-x_{0}\right)\left[x_{0},x_{1};f(x)\right]+\left(x_{n}-x_{0}\right)\left(x_{n}-x_{1}\right)\left[x_{0},x_{1},x_{2};f(x)\right]+
++(xnx0)(xnx1)(xnxn1)[x0,x1,,xn;f(x)]\displaystyle+\ldots+\left(x_{n}-x_{0}\right)\left(x_{n}-x_{1}\right)\ldots\left(x_{n}-x_{n-1}\right)\left[x_{0},x_{1},\ldots,x_{n};f(x)\right]

Substituting in formula (46)f(x1),f(x2),,f(xn)f\left(x_{1}\right),f\left(x_{2}\right),\ldots,f\left(x_{n}\right)with the help of different, divided, this formula takes the following form

(1)n+p+1f(p)(x0)p!+D0f(x0)+D1[x0,x1;f(x)]++\displaystyle(-1)^{n+p+1}\frac{f^{(p)}\left(x_{0}\right)}{p!}+D_{0}f\left(x_{0}\right)+D_{1}\left[x_{0},x_{1};f(x)\right]+\ldots+
+\displaystyle+ Dp[x0,x1,,xp;f(x)]++Dn[x0,x1,,xn;f(x)]=\displaystyle D_{p}\left[x_{0},x_{1},\ldots,x_{p};f(x)\right]+\ldots+D_{n}\left[x_{0},x_{1},\ldots,x_{n};f(x)\right]=
=\displaystyle= μnp+1(x1x0,x2x0,,xnx0)x0xnφ(x)f(n+1)(x)𝑑x\displaystyle\mu_{n-p+1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+1)}(x)dx (48)

CoefficientsD0,D1,,DnD_{0},D_{1},\ldots,D_{n}is determined in the following way: replacingf(x)f(x)with1,x,xp11,x,\ldots x^{p-1}it is found thatD0,D1,,Dp1D_{0},D_{1},\ldots,D_{p-1}are null. Then to determine theDp+andD_{p+i}, whereand=0,1,,npi=0,1,\ldots,n-p, we replacef(x)withf(x)\mathrm{cu}

fp+and(x)=(xx0)(xx1)(xxp+and1)f_{p+i}(x)=\left(x-x_{0}\right)\left(x-x_{1}\right)\ldots\left(x-x_{p+i-1}\right)

All divided differences in formula (48) are then zero, except for the divided difference[x0,x1,,xp+and;fp+and(x)]\left[x_{0},x_{1},\ldots,x_{p+i};f_{p+i}(x)\right]which is equal to 1. It follows that

Dp+and=(1)n+pfp+and(p)(x0)p!D_{p+i}=(-1)^{n+p}\frac{f_{p+i}^{(p)}\left(x_{0}\right)}{p!}

But

fp+and(p)(x0)p!=(1)andμand(x1x0,,xp+and1x0)\frac{f_{p+i}^{(p)}\left(x_{0}\right)}{p!}=(-1)^{i}\mu_{i}\left(x_{1}-x_{0},\ldots,x_{p+i-1}-x_{0}\right)

and therefore we will have

Dp+and=(1)n+p+andμand(x1x0,,xp+and1x0)D_{p+i}=(-1)^{n+p+i}\mu_{i}\left(x_{1}-x_{0},\ldots,x_{p+i-1}-x_{0}\right)

MEAN

Dp=(1)n+p\displaystyle D_{p}=(-1)^{n+p}
Dp+1=(1)n+p+1μ1(x1x0,,xpx0)\displaystyle D_{p+1}=(-1)^{n+p+1}\mu_{1}\left(x_{1}-x_{0},\ldots,x_{p}-x_{0}\right)
Dp+2=(1)n+p+2μ2(x1x0,,xp+1x0)\displaystyle D_{p+2}=(-1)^{n+p+2}\mu_{2}\left(x_{1}-x_{0},\ldots,x_{p+1}-x_{0}\right)
Dn=(1)n+nμnp(x1x0,,xn1x0).\displaystyle D_{n}=(-1)^{n+n}\mu_{n-p}\left(x_{1}-x_{0},\ldots,x_{n-1}-x_{0}\right).

The numerical derivation formula (46) can therefore be written in the form

f(p)(x0)p!\displaystyle\frac{f^{(p)}\left(x_{0}\right)}{p!} =[x0,x1,,xp;f(x)]μ1(x1x0,,xpx0)[x0,x1,,xp+1;f(x)]\displaystyle=\left[x_{0},x_{1},\ldots,x_{p};f(x)\right]-\mu_{1}\left(x_{1}-x_{0},\ldots,x_{p}-x_{0}\right)\left[x_{0},x_{1},\ldots,x_{p+1};f(x)\right]
+μ2(x1x0,,xp+1x0)[x0,x1,,xp+2;f(x)]+\displaystyle+\mu_{2}\left(x_{1}-x_{0},\ldots,x_{p+1}-x_{0}\right)\left[x_{0},x_{1},\ldots,x_{p+2};f(x)\right]-\ldots+
+(1)npμnp(x1x0,,xn1x0)[x0,x1,,xn;f(x)]\displaystyle+(-1)^{n-p}\mu_{n-p}\left(x_{1}-x_{0},\ldots,x_{n-1}-x_{0}\right)\left[x_{0},x_{1},\ldots,x_{n};f(x)\right]
+(1)np+1μnp+1(x1x0,,xnx0)x0xnφ(x)f(n+1)(x)𝑑x\displaystyle+(-1)^{n-p+1}\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+1)}(x)dx

where in the second member the divided differences of the function were highlightedf(x)f(x)on the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}.

In particular, when the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}are in arithmetic progression with the ratiohh, we have

[x0,x1,,xq;f(x)]=Δqf(x)q!hq\left[x_{0},x_{1},\ldots,x_{q};f(x)\right]=\frac{\Delta^{q}f(x)}{q!h^{q}}

and

μand(x1x0,,xp+and1x0)=hand1.2and\mu_{i}\left(x_{1}-x_{0},\ldots,x_{p+i-1}-x_{0}\right)=h^{i}\sum 1.2\ldots i

where the sum in the second term is extended to all products ofandifactors taken from the numbers1,2,,p+and11,2,\ldots,p+i-1If we denote this sum byθand(1,2,,p+and1)\theta_{i}(1,2,\ldots,p+i-1), we will be able to write

μand(x1x0,,xp+and1x0)=handθand(1,2,,p+and1)\mu_{i}\left(x_{1}-x_{0},\ldots,x_{p+i-1}-x_{0}\right)=h^{i}\theta_{i}(1,2,\ldots,p+i-1)

and the numerical derivation formula becomes

hpf(p)(x0)p!=Δ(p)f(x0)p!θ1(1,2,,p)Δp+1f(x0)(p+1)!+\displaystyle\frac{h^{p}f^{(p)}\left(x_{0}\right)}{p!}=\frac{\Delta^{(p)}f\left(x_{0}\right)}{p!}-\theta_{1}(1,2,\ldots,p)\frac{\Delta^{p+1}f\left(x_{0}\right)}{(p+1)!}+
+θ2(1,2,,p+1)Δp+2f(x0)(p+2)!+(1)npθnp(1,2,,n1)Δnf(x0)n!+\displaystyle+\theta_{2}(1,2,\ldots,p+1)\frac{\Delta^{p+2}f\left(x_{0}\right)}{(p+2)!}-\ldots+(-1)^{n-p}\theta_{n-p}(1,2,\ldots,n-1)\frac{\Delta^{n}f\left(x_{0}\right)}{n!}+
+(1)np+1θnp+1(1,2,,n)hn+1x0xnφ(x)f(n+1)(x)𝑑x\displaystyle+(-1)^{n-p+1}\theta_{n-p+1}(1,2,\ldots,n)h^{n+1}\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+1)}(x)dx (50)

This formula is known as Markov's formula: it expresses the derivative of the orderppof the functionf(x)f(x)in the nodex0x_{0}, using successive differences of the functionf(x)f(x)in the nodex0x_{0}, on the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}, starting with the difference of orderppand ending with the difference of ordernnHaving established Markov's formula, we also highlighted the rest of it written in the form of a definite integral.

The numerical derivation formula (31) or (46) or (49) thus appears as a generalization of Markov's formula, in the sense that in formula (49) the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}they are no longer in arithmetic progression.

It remains for us to study the rest of the numerical derivation formulas (49) and (50).
12.AOimportant property of coefficientsKandK_{i}Let us prove that the sumsKj+Kj+1++KnK_{j}+K_{j+1}+\ldots+K_{n}, wherej=1,2,,nj=1,2,\ldots,nare different from zero.

For this, let us consider the polynomials

hk(x)=(xx0)(xx1)(xxk1)(xxk+1)(xxn)(xkx0)(xkx1)(xkxk1)(xkxk+1)(xkxn)h_{k}(x)=\frac{\left(x-x_{0}\right)\left(x-x_{1}\right)\ldots\left(x-x_{k-1}\right)\left(x-x_{k+1}\right)\ldots\left(x-x_{n}\right)}{\left(x_{k}-x_{0}\right)\left(x_{k}-x_{1}\right)\ldots\left(x_{k}-x_{k-1}\right)\left(x_{k}-x_{k+1}\right)\ldots\left(x_{k}-x_{n}\right)}

fork=j,j+1,,nk=j,j+1,\ldots,n, and their sum

h(x)=hj(x)+hj+1(x)++hn(x)h(x)=h_{j}(x)+h_{j+1}(x)+\ldots+h_{n}(x)

6 - Studies and research in mathematics

polynomialh(x)h(x)is of the degreennand its coefficientxnx^{n}has his sign(1)nj(-1)^{n-j}. (No. 4). We have

h(x0)=0,h(x1)=0,,h(xj1)=0h(xj)=1,h(xj+1)+1,,h(xn)=0\begin{array}[]{ll}h\left(x_{0}\right)=0,&h\left(x_{1}\right)=0,\ldots,h\left(x_{j-1}\right)=0\\ h\left(x_{j}\right)=1,&h\left(x_{j+1}\right)+1,\ldots,h\left(x_{n}\right)=0\end{array}

Substituting in the numerical derivation formula (31) forf(x)f(x)withh(x)h(x), we will have

Kj+Kj+1++Kn=h(p)(x0)p!μK_{j}+K_{j+1}+\ldots+K_{n}=\frac{h^{(p)}\left(x_{0}\right)}{p!}\mu

It was seen (no. 4) thath(x)h^{\prime}(x)hasn1n-1distinct roots in the interval (x0,xnx_{0},x_{n}). Applying Rolle's theorem, it is deduced thath"(x)h^{\prime\prime}(x)hasn2n-2distinct roots in the interval (x0,xnx_{0},x_{n}), … and thath(p)(x)h^{(p)}(x)hasnpn-pdistinct roots in the intervalx0,xnx_{0},x_{n}). Howeverh(p)(x)h^{(p)}(x)is a polynomial of degreenpn-pand thereforeh(p)(x0)0h^{(p)}\left(x_{0}\right)\neq 0, which proves that the sumKj+Kj+1++KnK_{j}+K_{j+1}+\ldots+K_{n}is different from zero. We can also specify the sign of this sum. For this, we note that the sign ofh(p)(x0)h^{(p)}\left(x_{0}\right)is his signh(p)(x)h^{(p)}(x)whenxx\rightarrow-\infty, that is, the sign of(1)nj(1)np=(1)p+j(-1)^{n-j}\cdot(-1)^{n-p}=(-1)^{p+j}On the other hand, from formula (42), the sign ofμ\muis his sign(1)p(-1)^{p}. So the sum signKj+Kj+1+++KnK_{j}+K_{j+1}++\ldots+K_{n}is his sign(1)and(-1)^{i}.

Conclusion. Constantsλ1,λ2,,λn\lambda_{1},\lambda_{2},\ldots,\lambda_{n}from the differential equations (29) are different from zero. Indeed, from formulas (32) it follows that

λ1=K1+K2++Kn\displaystyle\lambda_{1}=K_{1}+K_{2}+\ldots+K_{n}
\displaystyle\cdot\cdots\cdot\cdots\cdot
λj=Kj+Kj+1++Kn\displaystyle\lambda_{j}=K_{j}+K_{j+1}+\ldots+K_{n}
\displaystyle\cdot\cdots\cdot\cdot
λn=Kn\displaystyle\lambda_{n}=K_{n}

and taking into account the above property of the coefficientsK1,K2,,KnK_{1},K_{2},\ldots,K_{n}we deduce thatλj\lambda_{j}is different from zero and has the sign of(1)j(-1)^{j}.
13. Functionφ(x)\varphi(x)from the numerical derivation formula (31) is positive in (x0,xnx_{0},x_{n}). Let us first observe that the functionφn(x)\varphi_{n}(x)is positive in the interval[xn1,xn)\left[x_{n-1},x_{n}\right)Indeed, according to formulas (33) we have

φn(x)=Kn(xxn)nn!=(1)nKn(xnx)nn!\varphi_{n}(x)=K_{n}\frac{\left(x-x_{n}\right)^{n}}{n!}=(-1)^{n}K_{n}\frac{\left(x_{n}-x\right)^{n}}{n!}

But it was shown at No. 12 that(1)nKn>0(-1)^{n}K_{n}>0, from which it follows that the functionφn(x)\varphi_{n}(x)is positive in the interval[xn1,xn)\left[x_{n-1},x_{n}\right),

functionφ(x)\varphi(x)is continuous and has continuous derivatives up to ordern1n-1in the interval[x0,xn]\left[x_{0},x_{n}\right]In additionφ(n)(x)\varphi^{(n)}(x)is a continuous function on every partial interval(xand1,xand)\left(x_{i-1},x_{i}\right)and we haveφand(n)(x)=λand0\varphi_{i}^{(n)}(x)=\lambda_{i}\neq 0.

1st boundary conditions at the nodesx0x_{0}andxnx_{n}are different according top=1p=1,1<p<n1,p=n1,p=n1<p<n-1,p=n-1,p=n.
1.p=11^{\circ}.p=1The boundary conditions are

φ(x0)=0,φ(x0)=0,,φ(n2)(x0)=0,φ(n1)(x0)=μ0\displaystyle\varphi\left(x_{0}\right)=0,\quad\varphi^{\prime}\left(x_{0}\right)=0,\ldots,\varphi^{(n-2)}\left(x_{0}\right)=0,\quad\varphi^{(n-1)}\left(x_{0}\right)=-\mu\neq 0
φ(xn)=0,φ(xn)=0,,φ(n2)(xn)=0,φ(n1)(xn)=0.\displaystyle\varphi\left(x_{n}\right)=0,\quad\varphi^{\prime}\left(x_{n}\right)=0,\ldots,\varphi^{(n-2)}\left(x_{n}\right)=0,\quad\varphi^{(n-1)}\left(x_{n}\right)=0. (51)

2.1<p<n12^{\circ}.1<p<n-1The boundary conditions are

φ(x0)=0,φ(x0)=0,,φ(np1)(x0)=0,φ(np)(x0)=(1)pμp!0\displaystyle\varphi\left(x_{0}\right)=0,\quad\varphi^{\prime}\left(x_{0}\right)=0,\ldots,\varphi^{(n-p-1)}\left(x_{0}\right)=0,\varphi^{(n-p)}\left(x_{0}\right)=(-1)^{p}\frac{\mu}{p!}\neq 0
φ(np+1)(x0)=0,,φ(n1)(x0)=0\displaystyle\varphi^{(n-p+1)}\left(x_{0}\right)=0,\ldots,\varphi^{(n-1)}\left(x_{0}\right)=0 (52)

φ(xn)=0,φ(xn)=0,,φ(n1)(xn)=0\varphi\left(x_{n}\right)=0,\quad\varphi^{\prime}\left(x_{n}\right)=0,\ldots,\varphi^{(n-1)}\left(x_{n}\right)=0.
3p=n13^{\circ}\cdot p=n-1The first boundary conditions are

φ(x0)=0,φ(x0)=(1)n1μ(n1)!0,φ"(x0)=0,,φ(n1)(x0)=0\displaystyle\varphi\left(x_{0}\right)=0,\quad\varphi^{\prime}\left(x_{0}\right)=(-1)^{n-1}\frac{\mu}{(n-1)!}\neq 0,\quad\varphi^{\prime\prime}\left(x_{0}\right)=0,\ldots,\varphi^{(n-1)}\left(x_{0}\right)=0
φ(xn)=0,φ(xn)=0,,φ(n1)(xn)=0\displaystyle\varphi\left(x_{n}\right)=0,\quad\varphi^{\prime}\left(x_{n}\right)=0,\ldots,\varphi^{(n-1)}\left(x_{n}\right)=0 (53)
φ(x0)=(1)nμn!0,φ(x0)=0,,φ(n1)(x0)=0\displaystyle\varphi\left(x_{0}\right)=(-1)^{n}\frac{\mu}{n!}\neq 0,\quad\varphi^{\prime}\left(x_{0}\right)=0,\ldots,\varphi^{(n-1)}\left(x_{0}\right)=0
φ(xn)=0,φ(xn)=0,,φ(n1)(xn)=0\displaystyle\varphi\left(x_{n}\right)=0,\quad\varphi^{\prime}\left(x_{n}\right)=0,\ldots,\varphi^{(n-1)}\left(x_{n}\right)=0 (54)

In the first three casesφ(x)\varphi(x)canceling out inx0x_{0}andxnx_{n}, according to Rolle's theorem,φ(x)\varphi^{\prime}(x)has at least one zero in the interval1 (x0,xnx_{0},x_{n}). Let us prove thatφ(x)nyou\varphi^{\prime}(x)nucan have only one zero in the interval (x0,xn1x_{0},x_{n-1}).

Let us assume that the derivativeφ(x)\varphi^{\prime}(x)would have two zeros betweenx0x_{0}andxn1x_{n-1}and let's prove that this is impossible.

Applying Rolle's theorem successively, it is shown from the boundary conditions (51), (52) and (53) thatφ(n1)(x)\varphi^{(n-1)}(x)hasnnzeros in the range(x0,xn1)\left(x_{0},x_{n-1}\right)in casep=1p=1, orn1n-1zeros in the range (x0,xn1x_{0},x_{n-1}) when1<pn11<p\leqslant n-1. In a partial interval (xand1,xandx_{i-1},x_{i}] cannot find two zeros ofφ(n1)(x)\varphi^{(n-1)}(x). for if this were to happen, applying Rolle's theorem it would follow thatφ(n)(x)\varphi^{(n)}(x)to cancel in the interval (xand1,xandx_{i-1},x_{i}) which is impossible because in this intervalφ(n)(x)=φand(n)(x)=λand0\varphi^{(n)}(x)=\varphi_{i}^{(n)}(x)=\lambda_{i}\neq 0.

Ifp=1p=1, thosennzeros ofφ(n1)(x)\varphi^{(n-1)}(x)from interval1 (x0,xn1x_{0},x_{n-1}) can only be distributed one at a time in the intervals(x0,x1],(x1,x2],\left(x_{0},x_{1}\right],\left(x_{1},x_{2}\right],\ldots,(xn2,xn1)\left(x_{n-2},x_{n-1}\right)and this is impossible because we only haven1n-1intervals. This leads to a contradiction.

If1<pn11<p\leqslant n-1, no zero ofφ(n1)(x)\varphi^{(n-1)}(x)is not found in the range (x0,x1x_{0},x_{1}], because if a zero were found, havingφ(n1)(x0)=0\varphi^{(n-1)}\left(x_{0}\right)=0, we can apply Rolle's theorem and it would follow thatφ(n)(x)\varphi^{(n)}(x)to cancel in the interval
(x0,x1x_{0},x_{1}), which is impossible becauseλ10\lambda_{1}\neq 0Then1n-1zeros ofφ(n1)(x)\varphi^{(n-1)}(x)are therefore found in the interval (x1,xn1x_{1},x_{n-1}). However, it was seen above that in each of then2n-2intervals (x1,x2x_{1},x_{2}] , …(αn2,xn1)\left(\alpha_{n-2},x_{n-1}\right)there is only one zero ofφ(n1)(x)\varphi^{(n-1)}(x)So again we have reached a contradiction.

It follows that in the casep<n,φ(x)p<n,\varphi^{\prime}(x)has only one zero in the interval (x0,xn1x_{0},x_{n-1}) and the functionφ(x)\varphi(x)being positive in the interval [xn1,xnx_{n-1},x_{n}), is positive throughout the interval (x0,xnx_{0},x_{n}).

Let's also examine the casep=np=nWe note thatφ(x0)=(1)nμn!>0\varphi\left(x_{0}\right)=(-1)^{n}\frac{\mu}{n!}>0Functionφ(x)\varphi^{\prime}(x)is cancelled inx0x_{0}andxnx_{n}, as shown by formulas (54). Applying Rolle's theorem it follows thatφ"(x)\varphi^{\prime\prime}(x)has at least one zero in the range(x0,xn)\left(x_{0},x_{n}\right)Let us prove thatφ"(x)\varphi^{\prime\prime}(x)has only one zero in the interval(x0,xn)\left(x_{0},x_{n}\right).

Ifφ"(x)\varphi^{\prime\prime}(x)would have two zeros in the interval (x0,xnx_{0},x_{n}), taking into account the boundary conditions (54) and successively applying Rolle's theorem, it would follow thatφ(n1)(x)\varphi^{(n-1)}(x)to haven1n-1zeros in the range (x0,xn1x_{0},x_{n-1}), which is impossible as follows from the reasoning made above.

derivativeφ"(x)\varphi^{\prime\prime}(x)having a single zero in the interval (x0,xn1x_{0},x_{n-1}), it follows that the derivativeφ(x)\varphi^{\prime}(x)does not cancel in the interval (x0,xn1x_{0},x_{n-1}), because if it were to be cancelled, taking into account thatφ(x0)=0,φ(xn)=0\varphi^{\prime}\left(x_{0}\right)=0,\varphi^{\prime}\left(x_{n}\right)=0, it would follow thatφ"(x)\varphi^{\prime\prime}(x)to cancel at least at two points in the interval (x0,xn1x_{0},x_{n-1}), which is impossible. So the functionφ(x)\varphi^{\prime}(x)does not cancel in the interval (x0,xnx_{0},x_{n}) and being negative in the interval[xn1,xn)\left[x_{n-1},x_{n}\right), is negative throughout the interval (x0,xnx_{0},x_{n}). It follows that the functionφ(x)\varphi(x)is decreasing in the interval[x0,xn]\left[x_{0},x_{n}\right]; being positive inx0x_{0}and null inxnx_{n}, it is positive in the interval (x0,xnx_{0},x_{n}).

Function graphφ(x)\varphi(x)in the interval[x0,xn]\left[x_{0},x_{n}\right]is shown in Fig. 2.

  1. 14.

    The remainder in the numerical derivation formula (46). Let us denote byRR, the remainder in the numerical derivation formula (46), i.e.

R=μnp+1(x1x0,,xnx0)x0xnφ(x)f(n+1)(x)𝑑xR=\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+1)}(x)dx

Because it has been shown that the functionφ(x)\varphi(x)is positive in the interval (x0,xnx_{0},x_{n}), we can apply the average formula, and we will have
whereξ(x0,xn)\xi\in\left(x_{0},x_{n}\right).

R=μnp+1(x1x0,,xnx0)f(n+1)(ξ)x0xnφ(x)𝑑xR=\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)f^{(n+1)}(\xi)\int_{x_{0}}^{x_{n}}\varphi(x)dx

The integral in the second term is calculated using the numerical derivative formula (46), replacingf(x)f(x)with

g(x)=(xx0)(xx1)(xxn)(n+1)!.g(x)=\frac{\left(x-x_{0}\right)\left(x-x_{1}\right)\ldots\left(x-x_{n}\right)}{(n+1)!}.

We will have

(1)n+p+1g(p)(x0)p!=μnp+1(x1x0,,xnx0)x0xnφ(x)𝑑x(-1)^{n+p+1}\frac{g^{(p)}\left(x_{0}\right)}{p!}=\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)\int_{x_{0}}^{x_{n}}\varphi(x)dx

But

g(p)(x0)p!=(1)np+1(n+1)!μnp+1(x1x0,,xnx0),\frac{g^{(p)}\left(x_{0}\right)}{p!}=\frac{(-1)^{n-p+1}}{(n+1)!}\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right),

from which it follows that

x0xnφ(x)𝑑x=1(n+1)!\int_{x_{0}}^{x_{n}}\varphi(x)dx=\frac{1}{(n+1)!} (55)

Therefore the restRRfrom the numerical derivation formula (46) it can also be written as

R=μnp+1(x1x0,,xnx0)f(n+1)(ξ)(n+1)!,R=\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)\frac{f^{(n+1)}(\xi)}{(n+1)!}, (56)

whereξ(x0,xn)\xi\in\left(x_{0},x_{n}\right)Also
, the restR1R_{1}from the numerical derivation formula (49) it can also be written in the form

R1=(1)np+1μnp+1(x1x0,,xnx0)f(n+1)(ξ)(n+1)!,R_{1}=(-1)^{n-p+1}\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)\frac{f^{(n+1)}(\xi)}{(n+1)!}, (57)

whereξ(x0,xn)\xi\in\left(x_{0},x_{n}\right)From
formulas (56), (57) an evaluation of the remainder resultsRRorR1R_{1}We have

|R|=|R1|μnp+1(x1x0,,xnx0)Mn+1(n+1)!.|R|=\left|R_{1}\right|\leqslant\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)\frac{M_{n+1}}{(n+1)!}.

In the case of Markov's formula (50), the rest

R2=(1)np+1θnp+1(1,2,,n)hn+1x0xnφ(x)f(n+1)(x)𝑑xR_{2}=(-1)^{n-p+1}\theta_{n-p+1}(1,2,\ldots,n)h^{n+1}\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+1)}(x)dx

can also be written in the form

R2=(1)np+1θnp+1(1,2,,n)hn+1f(n+1)(ξ)(n+1)!R_{2}=(-1)^{n-p+1}\theta_{n-p+1}(1,2,\ldots,n)h^{n+1}\frac{f^{(n+1)}(\xi)}{(n+1)!} (58)

whereξ(x0,xn)\xi\in\left(x_{0},x_{n}\right).

Chapter II

NUMERICAL INTEGRATION OF DIFFERENT EQUATIONS, IALE

§ 1. Numerical integration formulas resulting from the application of numerical derivative formulas (6)

  1. 15.

    Before moving on to establishing numerical integration formulas, let's consider Taylor's formula

y(x)=\displaystyle y(x)= y(x0)+xx01!y(x0)+(xx0)22!y"(x0)++\displaystyle y\left(x_{0}\right)+\frac{x-x_{0}}{1!}y^{\prime}\left(x_{0}\right)+\frac{\left(x-x_{0}\right)^{2}}{2!}y^{\prime\prime}\left(x_{0}\right)+\ldots+
+(xx0)pp!y(p)(x0)+x0x(xS)pp!y(p+1)(S)𝑑S\displaystyle+\frac{\left(x-x_{0}\right)^{p}}{p!}y^{(p)}\left(x_{0}\right)+\int_{x_{0}}^{x}\frac{(x-s)^{p}}{p!}y^{(p+1)}(s)ds (59)

and let's see what it becomes when they are replacedy(x0),y"(x0),,y(p)(x0)y^{\prime}\left(x_{0}\right),y^{\prime\prime}\left(x_{0}\right),\ldots,y^{(p)}\left(x_{0}\right), from the numerical derivation formulas (6).

In the numerical derivation formula

[λ1f(x0)+n11!f(x0)++npp!f(p)(x0)]+K1f(x1)+K2f(x2)++Knf(xn)=(1)n+p1x0xnφ(x)f(n+p)(x)𝑑x\begin{gathered}-\left[\lambda_{1}f\left(x_{0}\right)+\frac{\nu_{1}}{1!}f^{\prime}\left(x_{0}\right)+\ldots+\frac{\nu_{p}}{p!}f^{(p)}\left(x_{0}\right)\right]\\ +K_{1}f\left(x_{1}\right)+K_{2}f\left(x_{2}\right)+\ldots+K_{n}f\left(x_{n}\right)=(-1)^{n+p-1}\int_{x_{0}}^{x_{n}}\varphi(x)f^{(n+p)}(x)dx\end{gathered}

in which we recall thatVp0v_{p}\neq 0, because we have

Vp=(1)p(x1x0)(x2x0)(xnx0)v_{p}=\frac{(-1)^{p}}{\left(x_{1}-x_{0}\right)\left(x_{2}-x_{0}\right)\ldots\left(x_{n}-x_{0}\right)}

to replacef(x)f(x)withy(x)y(x), and the functionφ(x)\varphi(x)let's write it down withΦp(x)\Phi_{p}(x), to highlight the indexppwhich is the highest order of the derivatives in formula (6). We also recall that

x0xnΦp(x)𝑑x=1(n+p)!\int_{x_{0}}^{x_{n}}\Phi_{p}(x)dx=\frac{1}{(n+p)!} (60)

Substituting into formula (6),ppwith1,2,3,1,2,3,\ldotsand solving these equations in terms ofy(x0),y"(x0),,y(p)(x0)y^{\prime}\left(x_{0}\right),y^{\prime\prime}\left(x_{0}\right),\ldots,y^{(p)}\left(x_{0}\right), we will obtain formulas of the form

y(x0)=B10y(x0)+B11y(x1)++B1ny(xn)+\displaystyle y^{\prime}\left(x_{0}\right)=B_{10}y\left(x_{0}\right)+B_{11}y\left(x_{1}\right)+\ldots+B_{1n}y\left(x_{n}\right)+
+C11x0xnΦ1(x)y(n+1)(x)𝑑x\displaystyle+C_{11}\int_{x_{0}}^{x_{n}}\Phi_{1}(x)y^{(n+1)}(x)dx
y"(x0)=B20y(x0)xn+B21y(x1)++B2ny(xn)+\displaystyle y^{\prime\prime}\left(x_{0}\right)=B_{20}y\left(x_{0}\right)^{x_{n}}+B_{21}y\left(x_{1}\right)+\ldots+B_{2n}y\left(x_{n}\right)+
+C21x0xnΦ1(x)y(n+1)(x)𝑑x+C22x0xnΦ2(x)y(n+2)(x)𝑑x\displaystyle+C_{21}\int_{x_{0}}^{x_{n}}\Phi_{1}(x)y^{(n+1)}(x)dx+C_{22}\int_{x_{0}}^{x_{n}}\Phi_{2}(x)y^{(n+2)}(x)dx (61)
y(p)(x0)=Bp0y(x0)+Bp1y(x1)++Bpny(xn)+\displaystyle y^{(p)}\left(x_{0}\right)=B_{p0}y\left(x_{0}\right)+B_{p1}y\left(x_{1}\right)+\ldots+B_{pn}y\left(x_{n}\right)+
+Cp1x0xnΦ1(x)y(n+1)(x)𝑑x++Cppx0xnΦp(x)y(n+p)(x)𝑑x\displaystyle+C_{p1}\int_{x_{0}}^{x_{n}}\Phi_{1}(x)y^{(n+1)}(x)dx+\ldots+C_{pp}\int_{x_{0}}^{x_{n}}\Phi_{p}(x)y^{(n+p)}(x)dx

whereBandkB_{ik}andCjitC_{jl}are well-determined numbers, and

C110,C220,,Cpp0C_{11}\neq 0,\quad C_{22}\neq 0,\ldots,C_{pp}\neq 0 (62)

If we substitute in Taylor's formula (59)y(x0),y"(x0),,y(p)(x0)y^{\prime}\left(x_{0}\right),y^{\prime\prime}\left(x_{0}\right),\ldots,y^{(p)}\left(x_{0}\right)with the second members of formulas (61), we obtain formulas of the form

y(x0)=B0(x)y(x0)+B1(x)y(x1)++Bn(x)y(xn)+\displaystyle y\left(x_{0}\right)=B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+\ldots+B_{n}(x)y\left(x_{n}\right)+ (63)
+C1(x)x0xnΦ1(x)y(n+1)(x)𝑑x+C2(x)x0xnΦ2(x)y(n+2)(x)𝑑x++\displaystyle+C_{1}(x)\int_{x_{0}}^{x_{n}}\Phi_{1}(x)y^{(n+1)}(x)dx+C_{2}(x)\int_{x_{0}}^{x_{n}}\Phi_{2}(x)y^{(n+2)}(x)dx+\ldots+
++Cp(x)x0xnΦp(x)y(n+p)(x)𝑑x+x0x(xS)pp!y(p+1)(S)𝑑S\displaystyle+\ldots+C_{p}(x)\int_{x_{0}}^{x_{n}}\Phi_{p}(x)y^{(n+p)}(x)dx+\int_{x_{0}}^{x}\frac{(x-s)^{p}}{p!}y^{(p+1)}(s)ds

It remains to determine the polynomialsB0(x),B1(x),,Bn(x)B_{0}(x),B_{1}(x),\ldots,B_{n}(x)andC1(x)C_{1}(x),C2(x),,Cp(x)C_{2}(x),\ldots,C_{p}(x).

Determining polynomialsB0(x),B1(x),,Bn(x)B_{0}(x),B_{1}(x),\ldots,B_{n}(x)We will distinguish two cases, asp<np<norpnp\geqslant n.
11^{\circ}The casep<np<nTo determine theB0(x)B_{0}(x), we replace in formula (63) byy(x)y(x)with

We will get

y0(x)=(xx1)(xx2)(xxn).y_{0}(x)=\left(x-x_{1}\right)\left(x-x_{2}\right)\ldots\left(x-x_{n}\right).
(x0x1)(x0x2)(x0xn)B0(x)=y0(x)x0x(xS)pp!y0(p+1)(S)𝑑S\left(x_{0}-x_{1}\right)\left(x_{0}-x_{2}\right)\ldots\left(x_{0}-x_{n}\right)B_{0}(x)=y_{0}(x)-\int_{x_{0}}^{x}\frac{(x-s)^{p}}{p!}y_{0}^{(p+1)}(s)ds

The difference in the second term is given by Taylor's formula (59), in which we replacey(x)y(x)withy0(x)y_{0}(x)We have

y0(k)(x0)k!=(1)nkμnk(x1x0,x2x0,,xnx0),\frac{y_{0}^{(k)}\left(x_{0}\right)}{k!}=(-1)^{n-k}\mu_{n-k}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right),

from which it follows that we will have

B0(x)=1(x1x0)(x2x0)(xnx0){μn(x1x0,x2x0,,xnx0)\displaystyle B_{0}(x)=\frac{1}{\left(x_{1}-x_{0}\right)\left(x_{2}-x_{0}\right)\ldots\left(x_{n}-x_{0}\right)}\left\{\mu_{n}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)-\right.
μn1(x1x0,x2x0,,xnx0)(xx0)+\displaystyle-\mu_{n-1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)+
+,,,,xn)(xx0)p}.\displaystyle\left.\left.+\ldots\ldots,\ldots,\ldots,\ldots,x_{n}\right)\left(x-x_{0}\right)^{p}\right\}.

To determine the polynomialBand(x)B_{i}(x), we replace in formula (63) byy(x)withy(x)\mathrm{cu}

yand(x)=(xx0)(xx1)(xxand1)(xxand+1)(xxn)y_{i}(x)=\left(x-x_{0}\right)\left(x-x_{1}\right)\ldots\left(x-x_{i-1}\right)\left(x-x_{i+1}\right)\ldots\left(x-x_{n}\right)

and we get

(xandx0)(xandx1)(xandxand1)(xandxand+1)(xandxn)Band(x)==yand(x)x0x(xS)pp!yand(p+1)(S)𝑑S\begin{gathered}\left(x_{i}-x_{0}\right)\left(x_{i}-x_{1}\right)\ldots\left(x_{i}-x_{i-1}\right)\left(x_{i}-x_{i+1}\right)\ldots\left(x_{i}-x_{n}\right)B_{i}(x)=\\ =y_{i}(x)-\int_{x_{0}}^{x}\frac{(x-s)^{p}}{p!}y_{i}^{(p+1)}(s)ds\end{gathered}

The second term is also calculated using Taylor's formula (59), in which we replacey(x)y(x)withyand(x)y_{i}(x)We haveyand(x0)=0y_{i}\left(x_{0}\right)=0, and

y(k)(x0)k!=(1)nkμnk(x1x0,,xand1x0,xand+1x0,,xnx0).\frac{y^{(k)}\left(x_{0}\right)}{k!}=(-1)^{n-k}\mu_{n-k}\left(x_{1}-x_{0},\ldots,x_{i-1}-x_{0},x_{i+1}-x_{0},\ldots,x_{n}-x_{0}\right).

It follows that the polynomialBand(x)B_{i}(x)is

Band(x)=(1)n1(xandx0)(xandx1)(xandxand1)(xandxand+1)(xandxn)\displaystyle B_{i}(x)=\frac{(-1)^{n-1}}{\left(x_{i}-x_{0}\right)\left(x_{i}-x_{1}\right)\ldots\left(x_{i}-x_{i-1}\right)\left(x_{i}-x_{i+1}\right)\ldots\left(x_{i}-x_{n}\right)}
{μn1(x1x0,,xand1x0,xand+1x0,,xnx0)(xx0)\displaystyle\left\{\mu_{n-1}\left(x_{1}-x_{0},\ldots,x_{i-1}-x_{0},x_{i+1}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)-\right.
μn2(x1x0,,xand1x0,xand+1x0,,xnx0)(xx0)2+(65)\displaystyle-\mu_{n-2}\left(x_{1}-x_{0},\ldots,x_{i-1}-x_{0},x_{i+1}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)^{2}+(5)
+....\displaystyle+\ldots.\ldots.\ldots......
+(1)p1μnp(x1x0,,xand1x0,xand+1x0,,xnx0)(xx0)p}.\displaystyle\left.+(-1)^{p-1}\mu_{n-p}\left(x_{1}-x_{0},\ldots,x_{i-1}-x_{0},x_{i+1}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)^{p}\right\}.

If we note withA0,A1,,AnA_{0},A_{1},\ldots,A_{n}the residues of the rational function

1(xx0)(xx1)(xxn)=A0xx0+A1xx1++Anxxn\frac{1}{\left(x-x_{0}\right)\left(x-x_{1}\right)\ldots\left(x-x_{n}\right)}=\frac{A_{0}}{x-x_{0}}+\frac{A_{1}}{x-x_{1}}+\ldots+\frac{A_{n}}{x-x_{n}}

relative to the polesx0,x1,x2,,xnx_{0},x_{1},x_{2},\ldots,x_{n}, formulas (64) and (65) can also be written in the form

B0(x)=(1)nA0\displaystyle B_{0}(x)=(-1)^{n}A_{0} {(μn(x1x0,x2x0,,xnx0)\displaystyle\left\{\left(\mu_{n}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\right.\right.
μn1(x1x0,x2x0,,xnx0)(xx0)+\displaystyle-\mu_{n-1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)+
+,xn\displaystyle+\ldots,\ldots x_{n}
+(1)pμnp(x1x0,x2x0,,xnx0)(xx0)p}\displaystyle\left.+(-1)^{p}\mu_{n-p}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)^{p}\right\} (66)
Band(x)\displaystyle B_{i}(x) =(1)n1Aand{μn1(x1x0,,xand1x0,xand+1x0,,xnx0)(xx0)\displaystyle=(-1)^{n-1}A_{i}\left\{\mu_{n-1}\left(x_{1}-x_{0},\ldots,x_{i-1}-x_{0},x_{i+1}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)\right.
μn2(x1x0,,xand1x0,xand+1x0,,xnx0)(xx0)2\displaystyle-\mu_{n-2}\left(x_{1}-x_{0},\ldots,x_{i-1}-x_{0},x_{i+1}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)^{2}
+,,xand,,xn,,xand+1x0,,xnx0)(xx0)p},\displaystyle\left.\left.+\ldots,\ldots,x_{i},\ldots,x_{n},\ldots,x_{i+1}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)^{p}\right\},

whereand=1,2,,ni=1,2,\ldots,n.
22^{\circ}The casepnp\geqslant nProceeding as above, we obtain

B0(x)\displaystyle B_{0}(x) =(xx1)(xx2)(xxn)(x0x1)(x0x2)(x0xn)\displaystyle=\frac{\left(x-x_{1}\right)\left(x-x_{2}\right)\ldots\left(x-x_{n}\right)}{\left(x_{0}-x_{1}\right)\left(x_{0}-x_{2}\right)\ldots\left(x_{0}-x_{n}\right)}
B1(x)\displaystyle B_{1}(x) =(xx0)(xx2)(xxn)(x1x0)(x1x2)(x1xn)\displaystyle=\frac{\left(x-x_{0}\right)\left(x-x_{2}\right)\ldots\left(x-x_{n}\right)}{\left(x_{1}-x_{0}\right)\left(x_{1}-x_{2}\right)\ldots\left(x_{1}-x_{n}\right)} (67)
(xxn1)\displaystyle\ldots\ldots\ldots\ldots\ldots\ldots\ldots\ldots\left(x-x_{n-1}\right) =(xx0)(xx1)(xnxn1)(xnx0)(xnx0)(x)(x)\displaystyle\ldots=\frac{\left(x-x_{0}\right)\left(x-x_{1}\right)\ldots\left(x_{n}-x_{n-1}\right)}{\left(x_{n}-x_{0}\right)\left(x_{n}-x_{0}\right)\ldots(x)\ldots(x)}

from which it follows that

B0(x)y(x0)+B1(x)y(x1)++Bn(x)y(xn)=IT[x0,x1,,xn;y(x)],B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+\ldots+B_{n}(x)y\left(x_{n}\right)=L\left[x_{0},x_{1},\ldots,x_{n};y(x)\right], (\prime)

the second term being the Lagrange polynomial relative to the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}.

Determining polynomialsC1(x),C2(x),,Cp(x)C_{1}(x),C_{2}(x),\ldots,C_{p}(x)As above, we distinguish two cases, asp<np<norpnp\geqslant n.
11^{\circ}The casep<np<nTo determine the polynomialCk(x)C_{k}(x)we replace in formula (63) byy(x)y(x)with the polynomial

yk(x)=(xx0)k(xx1)(xxn)(n+k)!y_{k}(x)=\frac{\left(x-x_{0}\right)^{k}\left(x-x_{1}\right)\ldots\left(x-x_{n}\right)}{(n+k)!}

wherek=1,2,3,,pk=1,2,3,\ldots,p.

functionyk(x)y_{k}(x)canceling out at the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}and havingyk(x0)=0y_{k}^{\prime}\left(x_{0}\right)=0,yk"(x0)=0,,y(k1)(x0)=0y_{k}^{\prime\prime}\left(x_{0}\right)=0,\ldots,y^{(k-1)}\left(x_{0}\right)=0, from formulas (61) we deduce thatx0xnΦ1(x)yk(n+1)(x)𝑑x=0,x0xnΦ2(x)yk(n+2)(x)𝑑x=0,,x0xnΦk1(x)yk(n+k1)(x)𝑑x=0\int_{x_{0}}^{x_{n}}\Phi_{1}(x)y_{k}^{(n+1)}(x)dx=0,\int_{x_{0}}^{x_{n}}\Phi_{2}(x)y_{k}^{(n+2)}(x)dx=0,\ldots,\int_{x_{0}}^{x_{n}}\Phi_{k-1}(x)y_{k}^{(n+k-1)}(x)dx=0, while

x0xnΦk(x)yk(n+k)(x)𝑑x=x0xnΦk(x)𝑑x=1(n+k)!\int_{x_{0}}^{x_{n}}\Phi_{k}(x)y_{k}^{(n+k)}(x)dx=\int_{x_{0}}^{x_{n}}\Phi_{k}(x)dx=\frac{1}{(n+k)!}

Then, formula (63) gives us

Ck(x)(n+k)!=yk(x)x0x(xS)pp!yk(p+1)(S)𝑑S\frac{C_{k}(x)}{(n+k)!}=y_{k}(x)-\int_{x_{0}}^{x}\frac{(x-s)^{p}}{p!}y_{k}^{(p+1)}(s)ds

The second term is calculated using the lni Taylor formula (59), in which we replacey(x)y(x)withyk(x)y_{k}(x).

we

yk(x0)=0,yk(x0)=0,,yk(k1)(x0)=0y_{k}\left(x_{0}\right)=0,\quad y_{k}^{\prime}\left(x_{0}\right)=0,\ldots,y_{k}^{(k-1)}\left(x_{0}\right)=0

and

y(k+it)(x0)(k+it)!=(1)nit(n+k)!μnit(x1x0,,xnx0)\frac{y^{(k+l)}\left(x_{0}\right)}{(k+l)!}=\frac{(-1)^{n-l}}{(n+k)!}\mu_{n-l}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)

We will definitely have

Ck(x)=(\displaystyle C_{k}(x)=( 1)n(xx0)k{μn(x1x0,x2x0,,xnx0)\displaystyle-1)^{n}\left(x-x_{0}\right)^{k}\left\{\mu_{n}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)-\right.
μn1(x1x0,x2x0,,xnx0)(xx0)+\displaystyle\quad-\mu_{n-1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)+
+\displaystyle+\cdots\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot
+(1)pkμnp+k(x1x0,x2x0,,xnx0)(xx0)pk}.\displaystyle\left.+(-1)^{p-k}\mu_{n-p+k}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)^{p-k}\right\}. (68)

22^{\circ}The casepnp\geqslant nIn this case, havingn>1n>1, andn+1p+1<n+pn+1\leqslant p+1<n+p, formula (63) is written

y(x)=B0(x)y(x0)+B1(x)y(x1)++Bn(x)y(xn)+\displaystyle y(x)=B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+\ldots+B_{n}(x)y\left(x_{n}\right)+
+C1(x)x0xnΦ1(x)y(n+1)(x)𝑑x++Cpn(x)x0xnΦpn(x)y(p)(x)𝑑x+\displaystyle+C_{1}(x)\int_{x_{0}}^{x_{n}}\Phi_{1}(x)y^{(n+1)}(x)dx+\ldots+C_{p-n}(x)\int_{x_{0}}^{x_{n}}\Phi_{p-n}(x)y^{(p)}(x)dx+
+Cpn+1(x)x0xnΦpn+1(x)y(p+1)(x)𝑑x++Cp(x)x0xΦp(x)y(n+p)(x)𝑑x+\displaystyle+C_{p-n+1}(x)\int_{x_{0}}^{x_{n}}\Phi_{p-n+1}(x)y^{(p+1)}(x)dx+\ldots+C_{p}(x)\int_{x_{0}}^{x}\Phi_{p}(x)y^{(n+p)}(x)dx+
+x0x(xS)pp!y(p+1)(S)𝑑S\displaystyle+\int_{x_{0}}^{x}\frac{(x-s)^{p}}{p!}y^{(p+1)}(s)ds (\prime)

It is obvious that ifp=np=n, the terms written on the second line of formula (63') are missing. Substituting in formula (63')y(x)y(x)with

yh(x)=(xx0)h(xx1)(xxn)(n+h)!y_{h}(x)=\frac{\left(x-x_{0}\right)^{h}\left(x-x_{1}\right)\ldots\left(x-x_{n}\right)}{(n+h)!}

whereh=1,2,,pnh=1,2,\ldots,p-n, and proceeding as above, it is found that

Ch(x)=(xx0)h(xx1)(xxn)C_{h}(x)=\left(x-x_{0}\right)^{h}\left(x-x_{1}\right)\ldots\left(x-x_{n}\right) (69)

To determine the polynomialCpn+it(x)C_{p-n+l}(x), whereit=1,2,,nl=1,2,\ldots,n, we substitute in the formula (6363^{\prime}) ony(x)withy(x)\mathrm{cu}

ypn+it(x)=(xx0)pn+it(xx1)(xxn)(p+it)!y_{p-n+l}(x)=\frac{\left(x-x_{0}\right)^{p-n+l}\left(x-x_{1}\right)\ldots\left(x-x_{n}\right)}{(p+l)!}

Proceeding as above, we will have

Cpn+it(x)(p+it)!=ypn+it(x)x0xn(xS)pp!ypn+it(p+1)(S)𝑑S\frac{C_{p-n+l}(x)}{(p+l)!}=y_{p-n+l}(x)-\int_{x_{0}}^{x_{n}}\frac{(x-s)^{p}}{p!}y_{p-n+l}^{(p+1)}(s)ds

The second term is calculated with Taylor's formula (59), in which we replacey(x)y(x)withypn+it(x)y_{p-n+l}(x)It is found

Cpn+it(x)(p+it)!=ypn+it(pn+it)(x0)(pn+it)!(x\displaystyle\frac{C_{p-n+l}(x)}{(p+l)!}=\frac{y_{p-n+l}^{(p-n+l)}\left(x_{0}\right)}{(p-n+l)!}(x x0)pn+it+ypn+it(pn+it+1)(x0)(pn+it+1)!(xx0)pn+it+1++\displaystyle\left.-x_{0}\right)^{p-n+l}+\frac{y_{p-n+l}^{(p-n+l+1)}\left(x_{0}\right)}{(p-n+l+1)!}\left(x-x_{0}\right)^{p-n+l+1}+\ldots+
+ypn+it(p)p!(xx0)p\displaystyle+\frac{y_{p-n+l}^{(p)}}{p!}\left(x-x_{0}\right)^{p}

It is shown that, in general, we have

ypn+it(j)(x0)j!=(1)pj+it(p+it)!μpj+it(x1x0,x2x0,,xnx0)\frac{y_{p-n+l}^{(j)}\left(x_{0}\right)}{j!}=\frac{(-1)^{p-j+l}}{(p+l)!}\mu_{p-j+l}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)

We thus deduce that

Cpn+it(x)\displaystyle C_{p-n+l}(x) =(1)n(xx0)pn+it{μn(x1x0,x2x0,,xnx0)\displaystyle=(-1)^{n}\left(x-x_{0}\right)^{p-n+l}\left\{\mu_{n}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)-\right.
μn1(x1x0,x2x0,,xnx0)(xx0)+\displaystyle-\mu_{n-1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)+
+\displaystyle+\cdot\cdot\cdot\cdot\cdot\cdot
+(1)nitμit(x1x0,x2x0,,xnx0)(xx0)nit}\displaystyle\left.+(-1)^{n-l}\mu_{l}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)^{n-l}\right\}

or changing thepn+itp-n+linhh, we will have

Ch(x)=\displaystyle C_{h}(x)= (1)n(xx)h{μn(x1x0,x2x0,,xnx0)\displaystyle(-1)^{n}(x-x)^{h}\left\{\mu_{n}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)-\right.
μn1(x1x0,x2x0,,xnx0)(xx0)+\displaystyle-\mu_{n-1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)+
++\displaystyle+\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot+
+(1)phμnp+h(x1x0,x2x0,,xnx0)(xx0)ph}\displaystyle\left.+(-1)^{p-h}\mu_{n-p+h}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)\left(x-x_{0}\right)^{p-h}\right\} (70)
for h\displaystyle\text{ pentru }h =pn+1,pn+2,,p.\displaystyle=p-n+1,p-n+2,\ldots,p.

Examples.11^{\circ}Let's assumen=4,p=2n=4,p=2and the nodesx0,x1,x2x_{0},x_{1},x_{2},x3,x4x_{3},x_{4}in arithmetic progression with the ratiohh.

If in Taylor's formula

y(x)=y(x0)+xx01!y(x0)+(xx0)22!y"(x0)+x0x(xS)22!y′′′(S)𝑑Sy(x)=y\left(x_{0}\right)+\frac{x-x_{0}}{1!}y^{\prime}\left(x_{0}\right)+\frac{\left(x-x_{0}\right)^{2}}{2!}y^{\prime\prime}\left(x_{0}\right)+\int_{x_{0}}^{x}\frac{(x-s)^{2}}{2!}y^{\prime\prime\prime}(s)ds

derivatives are replacedy(x0),y"(x0)y^{\prime}\left(x_{0}\right),y^{\prime\prime}\left(x_{0}\right)from the numerical derivation formulas, we obtain

y(x)=B0(x)y(x0)+B1(x)y(x1)+B2(x)y(x2)+B3(x)y(x3)+B4(x)y(x4)+\displaystyle y(x)=B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+B_{2}(x)y\left(x_{2}\right)+B_{3}(x)y\left(x_{3}\right)+B_{4}(x)y\left(x_{4}\right)+
+C1(x)x0x4Φ1(x)y(5)(x)𝑑x+C2(x)x0x4Φ2(x)y(6)(x)𝑑x+x0x(xS)22!y′′′(S)𝑑S\displaystyle+C_{1}(x)\int_{x_{0}}^{x_{4}}\Phi_{1}(x)y^{(5)}(x)dx+C_{2}(x)\int_{x_{0}}^{x_{4}}\Phi_{2}(x)y^{(6)}(x)dx+\int_{x_{0}}^{x}\frac{(x-s)^{2}}{2!}y^{\prime\prime\prime}(s)ds (71)

To write polynomialsB0(x),,B4(x)B_{0}(x),\ldots,B_{4}(x), we will apply formulas (66). We decompose into simple rational functions

(xx0)(xx1)(xx2)(xx3)(xx4)1=A0xx0+A1xx1++A2xx2+A3xx3+A4xx4\begin{gathered}\frac{\left(x-x_{0}\right)\left(x-x_{1}\right)\left(x-x_{2}\right)\left(x-x_{3}\right)\left(x-x_{4}\right)}{1}=\frac{A_{0}}{x-x_{0}}+\frac{A_{1}}{x-x_{1}}+\\ +\frac{A_{2}}{x-x_{2}}+\frac{A_{3}}{x-x_{3}}+\frac{A_{4}}{x-x_{4}}\end{gathered}

and we have

A0=124h4,A1=16h4,A2=14h4,A3=16h4,A4=124h4A_{0}=\frac{1}{24h^{4}},\quad A_{1}=\frac{-1}{6h^{4}},\quad A_{2}=\frac{1}{4h^{4}},\quad A_{3}=\frac{-1}{6h^{4}},\quad A_{4}=\frac{1}{24h^{4}}

It then follows that

B0(x)=\displaystyle B_{0}(x)= 124h4{\displaystyle\frac{1}{24h^{4}}\{
μ4(x1x0,x2x0,x3x0,x4x0)\displaystyle\quad-\mu_{4}\left(x_{1}-x_{0},x_{2}-x_{0},x_{3}-x_{0},x_{4}-x_{0}\right)-
+μ2(x1x0,x2x0,x4x0)(xx0)+\displaystyle\quad+\mu_{2}\left(x_{1}-x_{0},x_{2}-x_{0},x_{4}-x_{0}\right)\left(x-x_{0}\right)+
B1(x)=16h4\displaystyle B_{1}(x)=\frac{1}{6h^{4}} {μ3(x2x0,x4x4)(xx0)2}\displaystyle\left\{\mu_{3}\left(x_{2}-x_{0},x_{4}-x_{4}\right)\left(x-x_{0}\right)^{2}\right\}
μ2(x2x0,x3x0)(xx0)\displaystyle\quad-\mu_{2}\left(x_{2}-x_{0},x_{3}-x_{0}\right)\left(x-x_{0}\right)-
x4x0)(xx0)2}\displaystyle\left.\left.x_{4}-x_{0}\right)\left(x-x_{0}\right)^{2}\right\}

MEAN

B0(x)=124h2[24h250h(xx0)+35(xx0)2]\displaystyle B_{0}(x)=\frac{1}{24h^{2}}\left[24h^{2}-50h\left(x-x_{0}\right)+35\left(x-x_{0}\right)^{2}\right]
B1(x)=16h2[24h(xx0)26(xx0)2]\displaystyle B_{1}(x)=\frac{1}{6h^{2}}\left[24h\left(x-x_{0}\right)-26\left(x-x_{0}\right)^{2}\right]
B2(x)=14h2[12h(xx0)19(xx0)2]\displaystyle B_{2}(x)=\frac{-1}{4h^{2}}\left[12h\left(x-x_{0}\right)-19\left(x-x_{0}\right)^{2}\right] (72)
B3(x)=16h2[8h(xx0)14(xx0)2]\displaystyle B_{3}(x)=\frac{1}{6h^{2}}\left[8h\left(x-x_{0}\right)-14\left(x-x_{0}\right)^{2}\right]
B4(x)=124h2[6h(xx0)11(xx0)2]\displaystyle B_{4}(x)=\frac{-1}{24h^{2}}\left[6h\left(x-x_{0}\right)-11\left(x-x_{0}\right)^{2}\right]

Applying formulas (68), we will have

C1(x)=(xx0)[μ4(x1x0,x2x0,x3x0,x4x0)\displaystyle C_{1}(x)=\left(x-x_{0}\right)\left[\mu_{4}\left(x_{1}-x_{0},x_{2}-x_{0},x_{3}-x_{0},x_{4}-x_{0}\right)-\right.
μ3(x1x0,x2x0,x3x0,x4x0)(xx0)]\displaystyle\left.-\mu_{3}\left(x_{1}-x_{0},x_{2}-x_{0},x_{3}-x_{0},x_{4}-x_{0}\right)\left(x-x_{0}\right)\right]
C2(x)=(xx0)2μ4(x1x0,x2x0,x3x0,x4x0),\displaystyle C_{2}(x)=\left(x-x_{0}\right)^{2}\mu_{4}\left(x_{1}-x_{0},x_{2}-x_{0},x_{3}-x_{0},x_{4}-x_{0}\right),

MEAN

C1(x)=(xx0)[24h450h3(xx0)]\displaystyle C_{1}(x)=\left(x-x_{0}\right)\left[24h^{4}-50h^{3}\left(x-x_{0}\right)\right] (73)
C2(x)=24h4(xx0)2\displaystyle C_{2}(x)=24h^{4}\left(x-x_{0}\right)^{2}

22^{\circ}Let's assumen=2,p=2n=2,p=2, and the nodesx0,x1,x0x_{0},x_{1},x_{0}in arithmetic progression with the ratiohhIf in Taylor's formula

y(x)=y(x0)+xx01!y(x0)+(xx0)22!y"(x0)+x0x(xS)22!y′′′(S)𝑑Sy(x)=y\left(x_{0}\right)+\frac{x-x_{0}}{1!}y^{\prime}\left(x_{0}\right)+\frac{\left(x-x_{0}\right)^{2}}{2!}y^{\prime\prime}\left(x_{0}\right)+\int_{x_{0}}^{x}\frac{(x-s)^{2}}{2!}y^{\prime\prime\prime}(s)ds

derivatives are replacedy(x0),y"(x0)y^{\prime}\left(x_{0}\right),y^{\prime\prime}\left(x_{0}\right)from the numerical derivation formulas, we obtain

y(x)=B0(x)y(x0)+B1(x)y(x1)+B2(x)y(x2)+\displaystyle y(x)=B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+B_{2}(x)y\left(x_{2}\right)+
+C1(x)x0x2Φ1(x)y′′′(x)𝑑x+C2(x)x0x2Φ2(x)y(4)(x)𝑑x+x0x(xS)22!y′′′(S)𝑑S\displaystyle+C_{1}(x)\int_{x_{0}}^{x_{2}}\Phi_{1}(x)y^{\prime\prime\prime}(x)dx+C_{2}(x)\int_{x_{0}}^{x_{2}}\Phi_{2}(x)y^{(4)}(x)dx+\int_{x_{0}}^{x}\frac{(x-s)^{2}}{2!}y^{\prime\prime\prime}(s)ds (74)

Applying formulas (67) we have

B0(x)=(xx1)(xx2)2h2=2h23h(xx0)+(xx0)22h2\displaystyle B_{0}(x)=\frac{\left(x-x_{1}\right)\left(x-x_{2}\right)}{2h^{2}}=\frac{2h^{2}-3h\left(x-x_{0}\right)+\left(x-x_{0}\right)^{2}}{2h^{2}}
B1(x)=(xx0)(xx2)h2=4h(xx0)2(xx0)22h2\displaystyle B_{1}(x)=\frac{\left(x-x_{0}\right)\left(x-x_{2}\right)}{-h^{2}}=\frac{4h\left(x-x_{0}\right)-2\left(x-x_{0}\right)^{2}}{2h^{2}} (75)
B2(x)=(xx0)(xx1)2h2=h(xx0)(xx0)22h2\displaystyle B_{2}(x)=\frac{\left(x-x_{0}\right)\left(x-x_{1}\right)}{2h^{2}}=-\frac{h\left(x-x_{0}\right)-\left(x-x_{0}\right)^{2}}{2h^{2}}

Also, applying formulas (70) we have

C1(x)=(xx0)[μ2(x1x0,x2x0)μ1(x1x0,x2x0)(xx0)]\displaystyle C_{1}(x)=\left(x-x_{0}\right)\left[\mu_{2}\left(x_{1}-x_{0},x_{2}-x_{0}\right)-\mu_{1}\left(x_{1}-x_{0},x_{2}-x_{0}\right)\left(x-x_{0}\right)\right]
C2(x)=(xx0)2(μ2(x1x0,x2x0)\displaystyle C_{2}(x)=\left(x-x_{0}\right)^{2}\left(\mu_{2}\left(x_{1}-x_{0},x_{2}-x_{0}\right)\right.

MEAN

C1(x)=(xx0)[2h23h(xx0)]\displaystyle C_{1}(x)=\left(x-x_{0}\right)\left[2h^{2}-3h\left(x-x_{0}\right)\right]
C2(x)=2h2(xx0)2\displaystyle C_{2}(x)=2h^{2}\left(x-x_{0}\right)^{2} (76)

33^{\circ}Let's assumen=2n=2andp=3p=3, and the nodesx0,x1,x2,x3x_{0},x_{1},x_{2},x_{3}in arithmetic progression with the ratiohhIf in Taylor's formula

y(x)=y(x0)+xx01!y(x0)+(xx0)22!y"(x0)+(xx0)33!y′′′(x0)++x0x(xS)33!y(4)(S)𝑑S\begin{gathered}y(x)=y\left(x_{0}\right)+\frac{x-x_{0}}{1!}y^{\prime}\left(x_{0}\right)+\frac{\left(x-x_{0}\right)^{2}}{2!}y^{\prime\prime}\left(x_{0}\right)+\frac{\left(x-x_{0}\right)^{3}}{3!}y^{\prime\prime\prime}\left(x_{0}\right)+\\ +\int_{x_{0}}^{x}\frac{(x-s)^{3}}{3!}y^{(4)}(s)ds\end{gathered}

derivatives are replacedy(x0),y"(x0),y′′′(x0)y^{\prime}\left(x_{0}\right),y^{\prime\prime}\left(x_{0}\right),y^{\prime\prime\prime}\left(x_{0}\right)from the numerical derivation formulas, we obtain

y(x)=B0(x)y(x0)+B1(x)y(x1)+B2(x)y(x2)+\displaystyle y(x)=B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+B_{2}(x)y\left(x_{2}\right)+
+C1(x)x0x2Φ1(x)y′′′(x)𝑑x+C2(x)x0x2Φ2(x)y(4)(x)𝑑x+C3(x)x0x2Φ3(x)y(5)(x)𝑑x+\displaystyle+C_{1}(x)\int_{x_{0}}^{x_{2}}\Phi_{1}(x)y^{\prime\prime\prime}(x)dx+C_{2}(x)\int_{x_{0}}^{x_{2}}\Phi_{2}(x)y^{(4)}(x)dx+C_{3}(x)\int_{x_{0}}^{x_{2}}\Phi_{3}(x)y^{(5)}(x)dx+
+x0x(xS)33!y(4)(S)𝑑S\displaystyle+\int_{x_{0}}^{x}\frac{(x-s)^{3}}{3!}y^{(4)}(s)ds (77)

Applying formulas (67), we observe that the polynomialsB0(x),B1(x),B2(x)B_{0}(x),B_{1}(x),B_{2}(x)are given by formulas (75). Also, applying formulas (69) and (70) we have

C1(x)=(xx0)(xx1)(xx2)\displaystyle C_{1}(x)=\left(x-x_{0}\right)\left(x-x_{1}\right)\left(x-x_{2}\right)
C2(x)=(xx0)2[2h23h(xx1)]\displaystyle C_{2}(x)=\left(x-x_{0}\right)^{2}\left[2h^{2}-3h\left(x-x_{1}\right)\right] (78)
C3(x)=2h2(xx0)3\displaystyle C_{3}(x)=2h^{2}\left(x-x_{0}\right)^{3}
  1. 16.

    The remainder in Lagrange's interpolation formula. It was seen in the previous issue that in the casepnp\geqslant n, polynomialsB0(x),B1(x),Bn(x)B_{0}(x),B_{1}(x),\ldots B_{n}(x)from formula (63) are given by formulas (67) and therefore the sum

B0(x)y(x0)+B1(x)y(x1)++Bn(x)y(xn)B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+\ldots+B_{n}(x)y\left(x_{n}\right)

is equal to Lagrange's polynomialIT[x0,x1,,xn;y(x)]L\left[x_{0},x_{1},\ldots,x_{n};y(x)\right]of the functiony(x)y(x)on the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}This does not happen whenp<np<n.

Formula (63) is therefore written, whenpnp\geqslant n, in the form of

y=IT[x0,x1,,xn;y(x)]+R(x).y=L\left[x_{0},x_{1},\ldots,x_{n};y(x)\right]+R(x). (79)

We thus obtained Lagrange's interpolation formula, together with its remainder given by the formula

R(x)=\displaystyle R(x)= C1(x)x0xnΦ0(x)y(n+1)(x)𝑑x+C2(x)x0xnΦ2(x)y(n+2)(x)𝑑x++\displaystyle C_{1}(x)\int_{x_{0}}^{x_{n}}\Phi_{0}(x)y^{(n+1)}(x)dx+C_{2}(x)\int_{x_{0}}^{x_{n}}\Phi_{2}(x)y^{(n+2)}(x)dx+\ldots+
+Cp(x)x0xnΦp(x)y(n+p)(x)𝑑x+x0x(xS)pp!y(p+2)(S)𝑑S\displaystyle+C_{p}(x)\int_{x_{0}}^{x_{n}}\Phi_{p}(x)y^{(n+p)}(x)dx+\int_{x_{0}}^{x}\frac{(x-s)^{p}}{p!}y^{(p+2)}(s)ds (80)

This remainder expression is related to the numerical derivation formulas studied in § 1 , of Chapter I, used to go from Taylor's formula to formula (63).

Recall that another expression of the remainderR(x)R(x)in Lagrange's interpolation formula, was given by G. Kowa1it iswSkand[5]1\mathrm{ewski}\mathrm{[5]}.

We will see further another expression of the remainder in Lagrange's interpolation formula in which only the derivative appearsy(n+1)(x)y^{(n+1)}(x)and which is related to the numerical derivation formulas studied in chap. I, § 2.

If we note theMn+1,Mn+2,,Mn+pM_{n+1},M_{n+2},\ldots,M_{n+p}upper bounds of the absolute values ​​of derivativesy(n+1)(x),y(n+2)(x),,y(n+p)(x)y^{(n+1)}(x),y^{(n+2)}(x),\ldots,y^{(n+p)}(x)in the interval[A,b][a,b]in which the knots are takenx0,x1,,xnx_{0},x_{1},\ldots,x_{n}andxx, from formula (80), we deduce the following evaluation of|R(x)||R(x)|,

|R(x)||C1(x)|Mn+1(n+1)!\displaystyle|R(x)|\leqslant\left|C_{1}(x)\right|\frac{M_{n+1}}{(n+1)!} +|C2(x)|Mn+2(n+2)!++|Cp(x)|Mn+p(n+p)!+\displaystyle+\left|C_{2}(x)\right|\frac{M_{n+2}}{(n+2)!}+\ldots+\left|C_{p}(x)\right|\frac{M_{n+p}}{(n+p)!}+
+(xx0)p+1Mp+1(p+1)!\displaystyle+\left(x-x_{0}\right)^{p+1}\frac{M_{p+1}}{(p+1)!} (81)

which was arrived at taking into account that the functionsΦ1(x),,Φp(x)\Phi_{1}(x),\ldots,\Phi_{p}(x)are positive in the interval(x0,xn)\left(x_{0},x_{n}\right)and using formulas (60).
17. Numerical integration of differential equations. Let us consider the differential equation

y(x)=f(x,y)y^{\prime}(x)=f(x,y) (82)

and suppose that the functionf(x,y)f(x,y)meets in the rectangleDDdefined by inequality

|xx0|<α,|yy0|<β\left|x-x_{0}\right|<\alpha,\quad\left|y-y_{0}\right|<\beta

the conditions that ensure the existence and uniqueness of the integraly(x)y(x)which satisfies the initial conditiony(x0)=y0y\left(x_{0}\right)=y_{0}, in the interval[x0,x0+A]\left[x_{0},x_{0}+a\right].

If the functionf(x,y)f(x,y)has successive partial derivatives with respect toxxand withyy, continue until the orderppin the rectangleDD, then from the differential equation (82) we deduce by successive derivatives

y"(x)=fx+fyf=f1(x,y)\displaystyle y^{\prime\prime}(x)=\frac{\partial f}{\partial x}+\frac{\partial f}{\partial y}f=f_{1}(x,y)
y′′′(x)=f1x+f1yf=f2(x,y)\displaystyle y^{\prime\prime\prime}(x)=\frac{\partial f_{1}}{\partial x}+\frac{\partial f_{1}}{\partial y}f=f_{2}(x,y) (83)
\displaystyle\cdots\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot\cdot
y(p)(x)=fp2x+fp2yf=fp1(x,y)\displaystyle y^{(p)}(x)=\frac{\partial f_{p-2}}{\partial x}+\frac{\partial f_{p-2}}{\partial y}f=f_{p-1}(x,y)
y(p+1)(x)=fp1x+fp1yf=fp(x,y).\displaystyle y^{(p+1)}(x)=\frac{\partial f_{p-1}}{\partial x}+\frac{\partial f_{p-1}}{\partial y}f=f_{p}(x,y).

Taylor's formula (59) in which we replacey(x0),y"(x0),,y(p)(x0)y^{\prime}\left(x_{0}\right),y^{\prime\prime}\left(x_{0}\right),\ldots,y^{(p)}\left(x_{0}\right)withf(x0,y0),f1(x0,y0),,fp1(x0,y0)f\left(x_{0},y_{0}\right),f_{1}\left(x_{0},y_{0}\right),\ldots,f_{p-1}\left(x_{0},y_{0}\right)and ony(p+1)(x)y^{(p+1)}(x)withfp[x,y(x)]f_{p}[x,y(x)], gives us the numerical integration formula

y(x)=y0+xx01!f(x0,y0)+(xx0)22!f1(x0,y0)++\displaystyle y(x)=y_{0}+\frac{x-x_{0}}{1!}f\left(x_{0},y_{0}\right)+\frac{\left(x-x_{0}\right)^{2}}{2!}f_{1}\left(x_{0},y_{0}\right)+\ldots+
+(xx0)pp!fp1(x0,y0)+R\displaystyle+\frac{\left(x-x_{0}\right)^{p}}{p!}f_{p-1}\left(x_{0},y_{0}\right)+R (84)

in which the rest is

R=x0x(xS)pp!fp[S,y(S)]𝑑SR=\int_{x_{0}}^{x}\frac{(x-s)^{p}}{p!}f_{p}[s,y(s)]ds (85)

Noting withFpF_{p}an upper bound of the function|fp(x,y)|\left|f_{p}(x,y)\right|in the rectangleDD, we have for|R||R|next assessment

|R|Fp(xx0)p+1(p+1)!|R|\leqslant F_{p}\frac{\left(x-x_{0}\right)^{p+1}}{(p+1)!} (86)

But his calculationy"(x0),,y(p)(x0)y^{\prime\prime}\left(x_{0}\right),\ldots,y^{(p)}\left(x_{0}\right)it is considered too complicated in practice and other numerical integration formulas are preferred, for example Adams-type formulas.

We obtain numerical integration formulas if we use the numerical derivation formulas in Chapter I, § 1, which led us to formula (63) which replaces Taylor's formula (59).

To be precise, let us assume that the integraly(x)y(x)was calculated on the nodesx1,x2,xnx_{1},x_{2},\ldots x_{n}and that it is therefore known on these nodes. In order to apply formula (63), we will assume that the functionf(x,y)f(x,y)has successive partial derivatives with respect toxxand withyy, continue until the order
n+p1n+p-1in the rectangleDDThen we can consider the series of formulas (83) up toy(n+p)(x)=fn+p1(x,y)y^{(n+p)}(x)=f_{n+p-1}(x,y), functionsf1(x,y),,fn+p1(x,y)f_{1}(x,y),\ldots,f_{n+p-1}(x,y)being all continuous in the rectangleDD.

Let us apply formula (63), in which we will replacey(p+1)(x),y(n+1)(x)y^{(p+1)}(x),y^{(n+1)}(x),,y(n+p)(x)\ldots,y^{(n+p)}(x)withfp(x,y),fn(x,y),fn+p1(x,y)f_{p}(x,y),f_{n}(x,y),\ldots f_{n+p-1}(x,y)We obtain the numerical integration formula of the differential equation

y(x)=B0(x)y(x0)+B1(x)y(x1)++Bn(x)y(xn)+R1(x)y(x)=B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+\ldots+B_{n}(x)y\left(x_{n}\right)+R_{1}(x) (87)

in whichB0(x),B1(x),,Bn(x)B_{0}(x),B_{1}(x),\ldots,B_{n}(x)are polynomials inxxof the degreeppwell-determined, which depend only on the position of the nodes and which are given by formulas (64) and (65) ifp<np<n, or by formulas (67) ifpnp\geqslant n.

RESTR1(x)R_{1}(x)of the numerical integration formula (87) is

R1(x)=C1(x)x0xnΦ1(x)fn[x,y(x)]𝑑x++Cp(x)x0xnΦp(x)fn+p1[x,y(x)]𝑑x+\displaystyle R_{1}(x)=C_{1}(x)\int_{x_{0}}^{x_{n}}\Phi_{1}(x)f_{n}[x,y(x)]dx+\ldots+C_{p}(x)\int_{x_{0}}^{x_{n}}\Phi_{p}(x)f_{n+p-1}[x,y(x)]dx+
+x0x(xS)pp!fp[S,y(S)]𝑑S\displaystyle+\int_{x_{0}}^{x}\frac{(x-s)^{p}}{p!}f_{p}[s,y(s)]ds (88)

In this formulaC1(x),C2(x),,Cp(x)C_{1}(x),C_{2}(x),\ldots,C_{p}(x)are polynomials of degreeppinxx, well-determined, which depend only on the position of the nodes and which are given by formulas (68) ifp<np<n, or by formulas (69) and (70) ifpnp\geqslant nFunctionsΦ1(x),Φ2(x),,Φp(x)\Phi_{1}(x),\Phi_{2}(x),\ldots,\Phi_{p}(x)are well determined in Chapter I, § 1, from the numerical derivation formulas; they also depend on the position of the nodes and for them we have the formulas (60). In the expression of the remainder, only the functionsfn(x,y),,fn+p1(x,y),fp(x,y)f_{n}(x,y),\ldots,f_{n+p-1}(x,y),f_{p}(x,y)depend on the differential equation (82).

Taking into account the property of functionsΦ1(x),,Φp(x)\Phi_{1}(x),\ldots,\Phi_{p}(x)to be positive in the interval (x0,xnx_{0},x_{n}), (no. 5), we can give a new expression for the remainderR1(x)R_{1}(x).

R1(x)=C1(x)fn[ξ1,y(ξ1)](n+1)!+C2(x)fn+1[ξ2,y(ξ2)](n+2)!+\displaystyle R_{1}(x)=C_{1}(x)\frac{f_{n}\left[\xi_{1},y\left(\xi_{1}\right)\right]}{(n+1)!}+C_{2}(x)\frac{f_{n+1}\left[\xi_{2},y\left(\xi_{2}\right)\right]}{(n+2)!}\cdots+
+Cp(x)fn+p1[ξp,y(ξp)](n+p)!+(xx0)p+1(p+1)!fp[ξ,y(ξ)]\displaystyle\cdots+C_{p}(x)\frac{f_{n+p-1}\left[\xi_{p},y\left(\xi_{p}\right)\right]}{(n+p)!}+\frac{\left(x-x_{0}\right)^{p+1}}{(p+1)!}f_{p}\left[\xi_{,}y(\xi)\right] (89)

whereξ1,ξ2,,ξp\xi_{1},\xi_{2},\ldots,\xi_{p}are certain points in the interval (x0,xnx_{0},x_{n}) andξ\xifrom the interval (x0,xx_{0},x).

From formula (89) we also deduce the following evaluation of|R1(x)|\left|R_{1}(x)\right|, at the pointxx

|R1(x)|\displaystyle\left|R_{1}(x)\right|\leqslant |C1(x)|Fn(n+1)!+|C2(x)|Fn+1(n+2)!++\displaystyle\left|C_{1}(x)\right|\frac{F_{n}}{(n+1)!}+\left|C_{2}(x)\right|\frac{F_{n+1}}{(n+2)!}+\ldots+
+|Cp(x)|Fn+p1(n+p)!+(xx0)p+1(p+1)!Fp\displaystyle+\left|C_{p}(x)\right|\frac{F_{n+p-1}}{(n+p)!}+\frac{\left(x-x_{0}\right)^{p+1}}{(p+1)!}F_{p} (90)

in which it was generally noted withFkF_{k}an upper edge of|fk(x,y)|\left|f_{k}(x,y)\right|in the rectangleDD.

7 - Mathematics studies and research

We have determined the remainder of the numerical integration formula (87), written in the form (88), highlighting how it depends on the functionf(x,y)f(x,y)and its successive partial derivatives with respect toxxandyy, until the ordern+p1n+p-1, this mode being related to the numerical derivation formulas in Chapter I, § 1, which we applied to obtain formula (63).

With this we have solved for the case considered by us, the problem of determining the remainder of the numerical integration formula (87), using the functionf(x,y)f(x,y)and its successive derivatives with respect toxxandyy.

We will see in the next paragraph another numerical integration formula of the type (87), in which the remainder has another expression related to the numerical derivation formulas, studied in § 2 of Chapter I.

Whenpnp\geqslant n, the numerical integration formula (87) is written in the form

y(x)=IT[x0,x1,,xn;y(x)]+R1(x),y(x)=L\left[x_{0},x_{1},\ldots,x_{n};y(x)\right]+R_{1}(x), (91)

whereIT[x0,x1,,xn;y(x)]L\left[x_{0},x_{1},\ldots,x_{n};y(x)\right]is the Lagrange interpolation polynomial of the integraly(x)y(x), which is known on the nodesx0,x1,xnx_{0},x_{1},\ldots x_{n}.

It is obvious that we can expect to obtain a numerical integration formula for the differential equation (82), taking as an approximate value ofy(x)y(x)at the pointxx, the value of the polynomial ofITgather IT[x0,x1,,xn;y(x)]\mathrm{L}_{\text{agrange }}L\left[x_{0},x_{1},\ldots,x_{n};y(x)\right]. But it is important that we have established the restR1(x)R_{1}(x)of this numerical integration formula written in the form (88) or (89) and for which we have given the evaluation (90) of its absolute value. The restR1(x)R_{1}(x)depends on the choice of numerical derivation formulas and it corresponds to the formulas treated in Chapter I, § 1.

Examples.11^{\circ}Let's assumen=4,p=2n=4,p=2and that the nodesx0,x1,x2x_{0},x_{1},x_{2},x3,x4x_{3},x_{4}are in arithmetic progression with the ratiohhApplying formulas (71), we derive the numerical integration formula of the differential equation (82)

y(x)=B0(x)y(x0)\displaystyle y(x)=B_{0}(x)y\left(x_{0}\right) +B1(x)y(x1)+B2(x)y(x2)+B3(x)y(x3)+\displaystyle+B_{1}(x)y\left(x_{1}\right)+B_{2}(x)y\left(x_{2}\right)+B_{3}(x)y\left(x_{3}\right)+
+B4(x)y(x4)+R1(x)\displaystyle+B_{4}(x)y\left(x_{4}\right)+R_{1}(x) (92)

in which the polynomialsB0(x),B1(x),B2(x),B3(x),B4(x)B_{0}(x),B_{1}(x),B_{2}(x),B_{3}(x),B_{4}(x)are given by formulas (72), the restR1(x)R_{1}(x)is

R1(x)=C1(x)x0x4Φ1(x)f4[x,y(x)]𝑑x+C2(x)x0x4Φ2(x)f5[x,y(x)]𝑑x+\displaystyle R_{1}(x)=C_{1}(x)\int_{x_{0}}^{x_{4}}\Phi_{1}(x)f_{4}[x,y(x)]dx+C_{2}(x)\int_{x_{0}}^{x_{4}}\Phi_{2}(x)f_{5}[x,y(x)]dx+
+x0x(xS)22!f2[S,y(S)]𝑑S\displaystyle+\int_{x_{0}}^{x}\frac{(x-s)^{2}}{2!}f_{2}[s,y(s)]ds (93)

in which the polynomialsC1(x),C2(x)C_{1}(x),C_{2}(x)are given by formulas (73).
We have the following evaluation for|R1(x)|\left|R_{1}(x)\right|

|R1(x)|C1(x)|F45!+|C2(x)|F56!+(xx0)33!F2.\left|R_{1}(x)\leqslant\left|C_{1}(x)\right|\frac{F_{4}}{5!}+\left|C_{2}(x)\right|\frac{F_{5}}{6!}+\frac{\left(x-x_{0}\right)^{3}}{3!}F_{2}.\right. (94)

To see the importance of the coefficients ofF2,F3,F4F_{2},F_{3},F_{4}from the evaluation (94) of|R1(x)|\left|R_{1}(x)\right|, we give a table relative toxx0=h2,3h2,5h2,7h2,9h2,5hx-x_{0}=\frac{h}{2},\frac{3h}{2},\frac{5h}{2},\frac{7h}{2},\frac{9h}{2},5h.

xx0x-x_{0} His evaluation|R1(x)|\left|R_{1}(x)\right|
h2\frac{h}{2} h348F2+h5240F4+h6120F5\frac{h^{3}}{48}F_{2}+\frac{h^{5}}{240}F_{4}+\frac{h^{6}}{120}F_{5}
3h2\frac{3h}{2} 27h348F2+153h5240F4+9h6120F5\frac{27h^{3}}{48}F_{2}+\frac{153h^{5}}{240}F_{4}+\frac{9h^{6}}{120}F_{5}
5h2\frac{5h}{2} 125h348F2+505h5240F4+25h6120F5\frac{125h^{3}}{48}F_{2}+\frac{505h^{5}}{240}F_{4}+\frac{25h^{6}}{120}F_{5}
7h2\frac{7h}{2} 343h348F2+1057h5240F4+49h6120F5\frac{343h^{3}}{48}F_{2}+\frac{1057h^{5}}{240}F_{4}+\frac{49h^{6}}{120}F_{5}
9h2\frac{9h}{2} 729h348F2+1809h5240F4+81h6120F5\frac{729h^{3}}{48}F_{2}+\frac{1809h^{5}}{240}F_{4}+\frac{81h^{6}}{120}F_{5}
5h5h 125h36+113h512F4+5h66F5\frac{125h^{3}}{6}+\frac{113h^{5}}{12}F_{4}+\frac{5h^{6}}{6}F_{5}

Forh=0,1h=0,1the previous painting becomes

xx0x-x_{0} His evaluation|R1(x)|\left|R_{1}(x)\right|
0.05 0,000021F2+0,000000042F4+0,00000000084F50,000021F_{2}+0,000000042F_{4}+0,00000000084F_{5}
0.15 0,000563F2+0,00000640,000563F_{2}+0,0000064 F4+0,000000075F_{4}+0,000000075 F5F_{5}
0.25 0.00265 F2+0,000022F_{2}+0,000022 F4+0,00000021F_{4}+0,00000021 F5F_{5}
0.35 0.00715 F2+0,0000441F_{2}+0,0000441 F4+0,00000041F_{4}+0,00000041 F5F_{5}
0.45 0.0152 F2+0,0000754F_{2}+0,0000754 F4+0,000000675F_{4}+0,000000675 F5F_{5}
0.50 0.021 F2+0,000095F_{2}+0,000095 F4+0,00000084F_{4}+0,00000084 F5F_{5}

22^{\circ}Let's assumen=2,p=2n=2,p=2and that the nodesx0,x1,x2x_{0},x_{1},x_{2}are in arithmetic progression with the ratiohhFrom formula (74) we derive the following formula for numerical integration of the differential equation (82)

y(x)=B0(x)y(x0)+B1(x)y(x1)+B2(x)y(x2)+R1(x),y(x)=B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+B_{2}(x)y\left(x_{2}\right)+R_{1}(x), (95)

in which the polynomialsB0(x),B1(x),B2(x)B_{0}(x),B_{1}(x),B_{2}(x)are given by formulas (75), and the restR1(x)R_{1}(x)is given by the formula

R1(x)=C1(x)x0x2Φ1(x)f2[x,y(x)]𝑑x+C2(x)x0x2Φ2(x)f3[x,y(n)]𝑑x+\displaystyle R_{1}(x)=C_{1}(x)\int_{x_{0}}^{x_{2}}\Phi_{1}(x)f_{2}[x,y(x)]dx+C_{2}(x)\int_{x_{0}}^{x_{2}}\Phi_{2}(x)f_{3}[x,y(n)]dx+
+x0x2(xS)22!f2[S,y(S)]𝑑S\displaystyle+\int_{x_{0}}^{x_{2}}\frac{(x-s)^{2}}{2!}f_{2}[s,y(s)]ds (96)

in which the polynomialsC1(x),C2(x)C_{1}(x),C_{2}(x)are given by formulas (76).
We have the following evaluation of|R1(x)|\left|R_{1}(x)\right|:

|R1(x)||C1(x)|F23!+|C2(x)|F34!+(xx0)33!F2\left|R_{1}(x)\right|\leqslant\left|C_{1}(x)\right|\frac{F_{2}}{3!}+\left|C_{2}(x)\right|\frac{F_{3}}{4!}+\frac{\left(x-x_{0}\right)^{3}}{3!}F_{2} (97)

We give his ratings|R1(x)|\left|R_{1}(x)\right|forxx0=h2,3h2,5h2x-x_{0}=\frac{h}{2},\frac{3h}{2},\frac{5h}{2}, 3h in the next tableau

xx0x-x_{0} His evaluation|R1(x)|\left|R_{1}(x)\right| His evaluation|R1(x)|\left|R_{1}(x)\right|forh=0,1h=0,1
h2\frac{h}{2} 13h348F2+h42F3\frac{13h^{3}}{48}F_{2}+\frac{h^{4}}{2}F_{3} 0,000271F2+0,00005F30,000271F_{2}+0,00005F_{3}
3h2\frac{3h}{2} 207h348F2+9h42F3\frac{207h^{3}}{48}F_{2}+\frac{9h^{4}}{2}F_{3} 0,00432F2+0,00045F30,00432\quad F_{2}+0,00045\quad F_{3}
5h2\frac{5h}{2} 785h348F2+25h42F3\frac{785h^{3}}{48}F_{2}+\frac{25h^{4}}{2}F_{3} 0,0164F2+0,00125F30,0164\quad F_{2}+0,00125F_{3}
3h3h 51h32F2+18h4F3\frac{51h^{3}}{2}F_{2}+18h^{4}F_{3} 0,0255F2+0,0018F30,0255\quad F_{2}+0,0018\quad F_{3}

33^{\circ}Let's assumen=2n=2andp=3p=3, and the nodesx0,x1,x2,x3x_{0},x_{1},x_{2},x_{3}in arithmetic progression with the ratio h. From formal (77) we deduce the following formula for numerical integration of the differential equation (82)

y(x)=B0(x)y(x0)+B1(x)y(x1)+B2(x)y(x2)+R1(x)y(x)=B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+B_{2}(x)y\left(x_{2}\right)+R_{1}(x) (98)

where the polynomialsB0(x),B1(x),B2(x)B_{0}(x),B_{1}(x),B_{2}(x)are given by formulas (75), and the restR1(x)R_{1}(x)is

R1(x)\displaystyle R_{1}(x) =C1(x)x0x3Φ1(x)f2[x,y(x)]𝑑x+C2(x)x0x2Φ2(x)f3[x,y(x)]𝑑x+\displaystyle=C_{1}(x)\int_{x_{0}}^{x_{3}}\Phi_{1}(x)f_{2}[x,y(x)]dx+C_{2}(x)\int_{x_{0}}^{x_{2}}\Phi_{2}(x)f_{3}[x,y(x)]dx+
+C3(x)x0x2Φ3(x)f4[x,y(x)]𝑑x+x0x(xS)33!f3[S,y(S)]𝑑S\displaystyle+C_{3}(x)\int_{x_{0}}^{x_{2}}\Phi_{3}(x)f_{4}[x,y(x)]dx+\int_{x_{0}}^{x}\frac{(x-s)^{3}}{3!}f_{3}[s,y(s)]ds (99)

in which the polynomialsC1(x),C2(x),C3(x)C_{1}(x),C_{2}(x),C_{3}(x)are given by formulas (78).
We have the following evaluation for|R1(x)|\left|R_{1}(x)\right|:

|R1(x)||C1(x)|F23!+|C2(x)|F34!+|C3(x)|F45!+(xx0)44!F3\left|R_{1}(x)\right|\leqslant\left|C_{1}(x)\right|\frac{F_{2}}{3!}+\left|C_{2}(x)\right|\frac{F_{3}}{4!}+\left|C_{3}(x)\right|\frac{F_{4}}{5!}+\frac{\left(x-x_{0}\right)^{4}}{4!}F_{3} (100)

following.

We give his ratings|R1(x)|\left|R_{1}(x)\right|forxx0=h2,3h2,5h2,3hx-x_{0}=\frac{h}{2},\frac{3h}{2},\frac{5h}{2},3hin the painting

xx0x-x_{0} His evaluation|R1(x)|\left|R_{1}(x)\right| His evaluation|R1(x)|\left|R_{1}(x)\right|forh=0,1h=0,1
h2\frac{h}{2} h316F2+49h4384F3+h54F4\frac{h^{3}}{16}F_{2}+\frac{49h^{4}}{384}F_{3}+\frac{h^{5}}{4}F_{4} 0,000063F2+0,0000128F3+0,0000025F40,000063F_{2}+0,0000128F_{3}+0,0000025F_{4}
3h2\frac{3h}{2} h316F1+2241h4384F3+27h54F4\frac{h^{3}}{16}F_{1}+\frac{2241h^{4}}{384}F_{3}+\frac{27h^{5}}{4}F_{4} 0,000063F2+0,000584F3+0,0000675F40,000063F_{2}+0,000584\quad F_{3}+0,0000675F_{4}
5h2\frac{5h}{2} 5h316F2+13825h4384F3+125h54F4\frac{5h^{3}}{16}F_{2}+\frac{13825h^{4}}{384}F_{3}+\frac{125h^{5}}{4}F_{4} 0,000313F2+0,0036003F3+0,0003125F40,000313F_{2}+0,0036003F_{3}+0,0003125F_{4}
3h h3F2+531h48F3+54h5F4h^{3}F_{2}+\frac{531h^{4}}{8}F_{3}+54h^{5}F_{4} 0,001F2+0,0066375F3+0,00054F40,001\quad F_{2}+0,0066375F_{3}+0,00054\quad F_{4}

§ 2. Numerical integration formulas resulting from the application of numerical derivative formulas (31)

  1. 18.

    The remainder in Lagrange's interpolation formula. Let us resume the numerical derivation formula (31) which we write in the form

f(p)(x0)p!=λ1μf(x0)+K1μf(x1)++Knμf(xn)+\displaystyle\frac{f^{(p)}\left(x_{0}\right)}{p!}=-\frac{\lambda_{1}}{\mu}f\left(x_{0}\right)+\frac{K_{1}}{\mu}f\left(x_{1}\right)+\ldots+\frac{K_{n}}{\mu}f\left(x_{n}\right)+
+(1)np+1μnp+1x0xnψp(x)f(n+1)(x)𝑑x\displaystyle\quad+(-1)^{n-p+1}\mu_{n-p+1}\int_{x_{0}}^{x_{n}}\psi_{p}(x)f^{(n+1)}(x)dx (101)

where

μ=(1)pμnp+1(x1x0,x2x0,,xnx0)\mu=\frac{(-1)^{p}}{\mu_{n-p+1}\left(x_{1}-x_{0},x_{2}-x_{0},\ldots,x_{n}-x_{0}\right)}

and where was it written shorter

μnp+1=μnp+1(x1x0,,xnx0)\mu_{n-p+1}=\mu_{n-p+1}\left(x_{1}-x_{0},\ldots,x_{n}-x_{0}\right)

and in the second member it was writtenψp(x)\psi_{p}(x)in his placeφ(x)\varphi(x), to take into account the orderppderivation from the first member.

It was shown that the functionψp(x)\psi_{p}(x)is positive in the interval (x0,xnx_{0},x_{n}) and that we have

x0xnψp(x)𝑑x=1(n+1)!\int_{x_{0}}^{x_{n}}\psi_{p}(x)dx=\frac{1}{(n+1)!} (102)

In formula (101) let us replacef(x)f(x)withy(x)y(x)and let's dop=1,2,,np=1,2,\ldots,nWe will obtain the following formulas:

y(x0)1!=K10y(x0)+K11y(x1)++K1ny(xn)+(1)nμnx0xnψ1(S)y(n+1)(S)𝑑S\displaystyle\frac{y^{\prime}\left(x_{0}\right)}{1!}=K_{10}y\left(x_{0}\right)+K_{11}y\left(x_{1}\right)+\ldots+K_{1n}y\left(x_{n}\right)+(-1)^{n}\mu_{n}\int_{x_{0}}^{x_{n}}\psi_{1}(s)y^{(n+1)}(s)ds
y"(x0)2!=K20y(x0)+K20y(x1)++K2ny(xn)+(1)n1μn1x0xnψ2(S)y(n+1)(S)𝑑S\displaystyle\frac{y^{\prime\prime}\left(x_{0}\right)}{2!}=K_{20}y\left(x_{0}\right)+K_{20}y\left(x_{1}\right)+\ldots+K_{2n}y\left(x_{n}\right)+(-1)^{n-1}\mu_{n-1}\int_{x_{0}}^{x_{n}}\psi_{2}(s)y^{(n+1)}(s)ds
y(n)(x0)n!=Kn0y(x0)+Kn1y(x1)++Knny(xn)+(1)μ1x0xnψn(S)y(n+1)(S)𝑑S\displaystyle\frac{y^{(n)}\left(x_{0}\right)}{n!}=K_{n0}y\left(x_{0}\right)+K_{n1}y\left(x_{1}\right)+\ldots+K_{nn}y\left(x_{n}\right)+(-1)\mu_{1}\int_{x_{0}}^{x_{n}}\psi_{n}(s)y^{(n+1)}(s)ds (103)

These formulas being specified, let us consider Taylor's formula

y(x)=y(x0)+xx01!y(x0)++(xx0)nn!y(n)(x0)+x0x(xS)nn!y(n+1)(S)𝑑Sy(x)=y\left(x_{0}\right)+\frac{x-x_{0}}{1!}y^{\prime}\left(x_{0}\right)+\ldots+\frac{\left(x-x_{0}\right)^{n}}{n!}y^{(n)}\left(x_{0}\right)+\int_{x_{0}}^{x}\frac{(x-s)^{n}}{n!}y^{(n+1)}(s)ds

and let's replacey(x0),y"(x0),,y(")(x0)y^{\prime}\left(x_{0}\right),y^{\prime\prime}\left(x_{0}\right),\ldots,y^{(\prime\prime)}\left(x_{0}\right)from the numerical derivation formulas (103). We will obtain a formula of the form

y(x)=B0(x)y(x0)+B1(x)y(x1)++Bn(x)y(xn)+R(x)y(x)=B_{0}(x)y\left(x_{0}\right)+B_{1}(x)y\left(x_{1}\right)+\ldots+B_{n}(x)y\left(x_{n}\right)+R(x) (105)

where

R(x)=x0xnψ(x,S)y(n+1)(S)𝑑S+x0x(xS)nn!y(n+1)(S)𝑑SR(x)=-\int_{x_{0}}^{x_{n}}\psi(x,s)y^{(n+1)}(s)ds+\int_{x_{0}}^{x}\frac{(x-s)^{n}}{n!}y^{(n+1)}(s)ds (106)

in which it was noted

ψ(x,S)=μ1ψn(S)(xx0)nμ2ψn1(S)(xx0)n1+\displaystyle\psi(x,s)=\mu_{1}\psi_{n}(s)\left(x-x_{0}\right)^{n}-\mu_{2}\psi_{n-1}(s)\left(x-x_{0}\right)^{n-1}+\ldots
+(1)n1μnψ1(S)(xx0)\displaystyle+(-1)^{n-1}\mu_{n}\psi_{1}(s)\left(x-x_{0}\right) (107)

It is easily shown that the sum of the firstn+1n+1terms in formula (105) is the Lagrange interpolation polynomial, on the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}, which means that formula (105) can also be written in the form

y(x)=IT[x0,x1,,xn;y(x)]+R(x)y(x)=L\left[x_{0},x_{1},\ldots,x_{n};y(x)\right]+R(x) (\prime)

which is Lagrange's interpolation formula, with its remainder written in the form (106).

If we note withMn+1M_{n+1}an upper edge of|y(n+1)(x)|\left|y^{(n+1)}(x)\right|in the interval[A,b][a,b]in which the knots were tiedx0,x1,,xnx_{0},x_{1},\ldots,x_{n}andxx, from formulas (106), (107) we deduce the following evaluation of|R(x)||R(x)|

|R(x)|Mn+1(n+1)![(xx0)n+1+μ1(xx0)n++μn(xx0)]|R(x)|\leqslant\frac{M_{n+1}}{(n+1)!}\left[\left(x-x_{0}\right)^{n+1}+\mu_{1}\left(x-x_{0}\right)^{n}+\ldots+\mu_{n}\left(x-x_{0}\right)\right]

or, taking into accountμ1,μ2,,μn\mu_{1},\mu_{2},\ldots,\mu_{n}, this is also written in the form

|R(x)|(xx0)[(xx0)+(x1x0)][(xx0)+(xnx0)]Mn+1(n3+1)!|R(x)|\leqslant\left(x-x_{0}\right)\left[\left(x-x_{0}\right)+\left(x_{1}-x_{0}\right)\right]\ldots\left[\left(x-x_{0}\right)+\left(x_{n}-x_{0}\right)\right]\frac{M_{n+1}}{\left(n_{3}+1\right)!} (108)

If the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}are in arithmetic progression with the ratiohh, then|R(x0+λh)|\left|R\left(x_{0}+\lambda h\right)\right|it is his orderhn+1h^{n+1}. This follows from formula (108). We will have

|R(x0+λh)|λ(λ+1)(λ+n)(n+1)!Mn+1hn+1\left|R\left(x_{0}+\lambda h\right)\right|\leqslant\frac{\lambda(\lambda+1)\ldots(\lambda+n)}{(n+1)!}M_{n+1}h^{n+1} (109)

To see how big his coefficient isMn+1M_{n+1}, we give a picture in case1n=5n=5, forλ=12,32,52,72,92,112,6\lambda=\frac{1}{2},\frac{3}{2},\frac{5}{2},\frac{7}{2},\frac{9}{2},\frac{11}{2},6for ahhsome and forh=0,1h=0,1.

λ\lambda His evaluation|R(x0+λh)|\left|R\left(x_{0}+\lambda h\right)\right| His evaluation|R(x0+λh)|\left|R\left(x_{0}+\lambda h\right)\right|forh=0,1h=0,1
12\frac{1}{2} 2311024h6M6\frac{231}{1024}h^{6}M_{6} 0,00000023M60,00000023M_{6}
32\frac{3}{2} 30031024h6M6\frac{3003}{1024}h^{6}M_{6} 0,00000294M60,00000294M_{6}
52\frac{5}{2} 150151024h6M6\frac{15015}{1024}h^{6}M_{6} 0,00001467M60,00001467M_{6}
72\frac{7}{2} 510511024h6M6\frac{51051}{1024}h^{6}M_{6} 0,00004986M60,00004986M_{6}
92\frac{9}{2} 1385671024h6M6\frac{138567}{1024}h^{6}M_{6} 0,00013532M60,00013532M_{6}
112\frac{11}{2} 3233231024h6M6\frac{323323}{1024}h^{6}M_{6} 0,00031575M60,00031575M_{6}
6 462h6M6462\quad h^{6}M_{6} 0,00046200M60,00046200M_{6}
  1. 19.

    Numerical integration formula for differential equations. Let's consider the differential equation

y=f(x,y)y^{\prime}=f(x,y) (110)

and suppose that the functionf(x,y)f(x,y)is continuous together with its partial derivatives with respect toxxandyy, until the ordernn, in the rectangleDDIn this case, successively derivingy(x)y(x), in relation toxx, we will obtain as in no. 16:

y"(x)=f1(x,y)\displaystyle y^{\prime\prime}(x)=f_{1}(x,y)
y′′′(x)=f2(x,y)\displaystyle y^{\prime\prime\prime}(x)=f_{2}(x,y) (111)
y(n+1)(x)=fn(x,y)\displaystyle y^{(n+1)}(x)=f_{n}(x,y)

functionsf1(x,y),f2(x,y),,fn(x,y)f_{1}(x,y),f_{2}(x,y),\ldots,f_{n}(x,y)being continuous in the rectangleDD.
Eithery(x)y(x)the integral of the differential equation (110) that satisfies the initial conditiony(x0)=y0y\left(x_{0}\right)=y_{0}and which we assume is known on the nodesx1,x2,,xnx_{1},x_{2},\ldots,x_{n}Then, applying Lagrange's interpolation formula (105') to this integral, we obtain

y(x)=IT[x0,x1,,xn;y(x)]+R2(x),y(x)=L\left[x_{0},x_{1},\ldots,x_{n};y(x)\right]+R_{2}(x), (112)

in which the restR2(x)R_{2}(x)is obtained from formula (106) by replacingy(n+1)(x)withfn[x,y(x)]y^{(n+1)}(x)\mathrm{cu}f_{n}[x,y(x)]from formulas (111). ForR2(x)R_{2}(x)we therefore have the following expression

R2(x)=x0xnψ(x,S)fn[S,y(S)]𝑑S+x0x(xS)nn!fn[S,y(S)]𝑑SR_{2}(x)=-\int_{x_{0}}^{x_{n}}\psi(x,s)f_{n}[s,y(s)]ds+\int_{x_{0}}^{x}\frac{(x-s)^{n}}{n!}f_{n}[s,y(s)]ds (113)

in which functionψ(x,S)\psi(x,s)is given by formula (107).
We can also give the following expression forR2(x)R_{2}(x), taking into account the properties of functionsψ1(S),,ψn(S)\psi_{1}(s),\ldots,\psi_{n}(s)

R2(x)=1(n+1)!\displaystyle R_{2}(x)=\frac{1}{(n+1)!} {fn[ξ0,y(ξ0)](xx0)n+1μ1fn[ξ1,y(ξ1)](xx0)n+\displaystyle\left\{f_{n}\left[\xi_{0},y\left(\xi_{0}\right)\right]\left(x-x_{0}\right)^{n+1}-\mu_{1}f_{n}\left[\xi_{1},y\left(\xi_{1}\right)\right]\left(x-x_{0}\right)^{n}+\right.
++(1)nμnfn[ξn,y(ξn)](xx0)}\displaystyle\left.+\ldots+(-1)^{n}\mu_{n}f_{n}\left[\xi_{n},y\left(\xi_{n}\right)\right]\left(x-x_{0}\right)\right\} (113)

whereξ0(x0,x)\xi_{0}\in\left(x_{0},x\right)andξ1,ξ2,,ξn(x0,xn)\xi_{1},\xi_{2},\ldots,\xi_{n}\in\left(x_{0},x_{n}\right)From
formula (113') the following evaluation is deduced for|R2(x)|\left|R_{2}(x)\right|

|R2(x)|(xx0)[(xx0)+(x1x0)][(xx0)+(xnx0)](n+1)!Fn\left|R_{2}(x)\right|\leqslant\frac{\left(x-x_{0}\right)\left[\left(x-x_{0}\right)+\left(x_{1}-x_{0}\right)\right]\ldots\left[\left(x-x_{0}\right)+\left(x_{n}-x_{0}\right)\right]}{(n+1)!}F_{n} (114)

whereFnF_{n}is an upper edge offn(x,y)\mid f_{n}(x,y)in the rectangleDDWe thus
obtained the numerical integration formula of the differential equation (110) in the form (112), in whichy(x)y(x)is approximately expressed by the Lagrange interpolation polynomial, relative to the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n},
which is a result we could have expected, but what is important in formula (112) is that we also determined its remainder in the form (113) or (113') and for which its absolute value has the evaluation (114).

If the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}are in arithmetic progression with the ratiohh, then|R2(x0+λh)|\left|R_{2}\left(x_{0}+\lambda h\right)\right|it is his orderhn+1h^{n+1}This results from formula (114) and we have

|R2(x0+λh)|λ(λ+1)(λ+n)(n+1)!Fnhn+1.\left|R_{2}\left(x_{0}+\lambda h\right)\right|\leqslant\frac{\lambda(\lambda+1)\ldots(\lambda+n)}{(n+1)!}F_{n}h^{n+1}. (115)

The table from the previous number gives in the casen=5n=5, the values ​​of the coefficients ofFnF_{n}forhhsome and forh=0,1h=0,1.
20. Adams' numerical integration formula and the rest ci. We will now give an Adams-type numerical integration formula in the most general form of the differential equation (110), with the assumptions made in no. 18, but changing thenninn+1n+1and using the results obtained by us relative to the remainder of the numerical integration formula (112), where the integraly(x)y(x)is approximately replaced by the interpolation polynomialIT[x0,x1,,xn;y(x)L\left[x_{0},x_{1},\ldots,x_{n};y(x)\right.relative to the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}We will denote this polynomial more briefly byITn(x)L_{n}(x)and we will write

y(x)=ITn(x)+R2(x)y(x)=L_{n}(x)+R_{2}(x) (116)

whereR2(x)R_{2}(x)is the remainder given by formula (113).
For this, we will apply the simple procedure for obtaining the actual Adams numerical integration formula (see [6]).

Whetherxn+1x_{n+1}a new node to his rightxnx_{n}andy(x)y(x)the integral of equation (110) which is known on the nodesx0,x1,xnx_{0},x_{1},\ldots x_{n}. Substituting in the differential equation (110) foryywithITn(x)+R2(x)L_{n}(x)+R_{2}(x), we will have

y=g(x)+h(x)y^{\prime}=g(x)+h(x) (117)

where was it noted

g(x)=f[x,ITn(x)],h(x)=f[x,ITn(x)+R2(x)]f[x,ITn(x)].g(x)=f\left[x,L_{n}(x)\right],h(x)=f\left[x,L_{n}(x)+R_{2}(x)\right]-f\left[x,L_{n}(x)\right]. (118)

We will assume for a moment that the curvey=ITn(x)y=L_{n}(x)is located in the rectangleDDand we will then return to the case when the curvey=ITn(x)y=L_{n}(x)comes out of the rectangleDD.

Integrating both members of formula (117) betweenxnx_{n}andxn+1x_{n+1}, we will deduce that

y(xn+1)=y(xn)+xnxn+1g(x)𝑑x+xnxn+1h(x)𝑑xy\left(x_{n+1}\right)=y\left(x_{n}\right)+\int_{x_{n}}^{x_{n+1}}g(x)dx+\int_{x_{n}}^{x_{n+1}}h(x)dx (119)

functiong(x)g(x)being known on the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}, to the first integral in formula (119) we will apply a quadrature formula with exterior nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}and the knotxnx_{n}[7].

It turns out that we have

xnxn+1g(x)𝑑x=B0[xn;g]\displaystyle\int_{x_{n}}^{x_{n+1}}g(x)dx=B_{0}\left[x_{n};g\right] +B1[xn1,xn;g]++Bn[x0,x1,,xn;g]\displaystyle+B_{1}\left[x_{n-1},x_{n};g\right]+\ldots+B_{n}\left[x_{0},x_{1},\ldots,x_{n};g\right]
+(1)n+1Bn+1g(n+1)(ξ)(n+1)!\displaystyle+(-1)^{n+1}B_{n+1}\frac{g^{(n+1)}(\xi)}{(n+1)!} (120)

whereξ(x0,xn+1)\xi\in\left(x_{0},x_{n+1}\right), and

B0=xnxn+1𝑑x,Bk=xnxn+1(xxn)(xxn1)(xxnk+1)𝑑xB_{0}=\int_{x_{n}}^{x_{n+1}}dx,\quad B_{k}=\int_{x_{n}}^{x_{n+1}}\left(x-x_{n}\right)\left(x-x_{n-1}\right)\ldots\left(x-x_{n-k+1}\right)dx (121)

fork=1,2,,n+1k=1,2,\ldots,n+1If
the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}are in arithmetic progression with the ratiohh, then formula (120) becomes

xnxn+1g(x)dx=h[g(xn)+J1Δg(xn1)+J2Δ2g(xn2)+\displaystyle\int_{x_{n}}^{x_{n+1}}g(x)dx=h\left[g\left(x_{n}\right)+J_{1}\Delta g\left(x_{n-1}\right)+J_{2}\Delta^{2}g\left(x_{n-2}\right)+\ldots\right.
+JnΔng(x0)]+(1)n+1Jn+1hn+2g(n+1)(ξ),\displaystyle\left.+J_{n}\Delta^{n}g\left(x_{0}\right)\right]+(-1)^{n+1}J_{n+1}h^{n+2}g^{(n+1)}(\xi), (122)

where

Jk=1k!01you(you+1)(you+k1)𝑑youJ_{k}=\frac{1}{k!}\int_{0}^{1}u(u+1)\cdots(u+k-1)du (123)

Formula (119) becomes the generalized Adams formula with the nodes anywayx0,x1,,xnx_{0},x_{1},\ldots,x_{n}

y(xn+1)=\displaystyle y\left(x_{n+1}\right)= y(xn)+B0[xn;f[x,ITn(x)]]+B1[xn1xn;f[x,ITn(x)]]\displaystyle y\left(x_{n}\right)+B_{0}\left[x_{n};f\left[x,L_{n}(x)\right]\right]+B_{1}\left[x_{n-1}x_{n};f\left[x,L_{n}(x)\right]\right]
++Bn[x0,x1,,xn;f[x,ITn(x)]]+R3\displaystyle+\ldots+B_{n}\left[x_{0},x_{1},\ldots,x_{n};f\left[x,L_{n}(x)\right]\right]+R_{3} (124)

where the restR3R_{3}is given by the formula

R3=(1)n+1Bn+1g(n+1)(ξ)(n+1)!+xnxn+1h(x)𝑑xR_{3}=(-1)^{n+1}B_{n+1}\frac{g^{(n+1)}(\xi)}{(n+1)!}+\int_{x_{n}}^{x_{n+1}}h(x)dx (125)

in whichg(x)g(x)andh(x)h(x)are given by the formulas (118).
We can give an evaluation of|R3|\left|R_{3}\right|From formula (125) we deduce that

|R3|Bn+1|g(n+1)(ξ)|(n+1)!+xnxn+1|h(x)|𝑑x\left|R_{3}\right|\leqslant B_{n+1}\frac{\left|g^{(n+1)}(\xi)\right|}{(n+1)!}+\int_{x_{n}}^{x_{n+1}}|h(x)|dx (126)

But

h(x)=ITn(x)ITn(x)+R2(x)fy(x,y)𝑑yh(x)=\int_{L_{n}(x)}^{L_{n}(x)+R_{2}(x)}\frac{\partial f}{\partial y}(x,y)dy

and so

|h(x)|K|R2(x)||h(x)|\leqslant K\left|R_{2}(x)\right|

whereKKis an upper edge of|fy|\left|\frac{\partial f}{\partial y}\right|in the rectangleDDWe will therefore have

xnxn+1|h(x)|𝑑xKxnxn+1|R2(x)|𝑑x\int_{x_{n}}^{x_{n+1}}|h(x)|dx\leqslant K\int_{x_{n}}^{x_{n+1}}\left|R_{2}(x)\right|dx

Taking into account formula (114), we deduce that

xnxn+1|h(x)|𝑑xKFn(n+1)!xnxn+1(xx0)[(xx0)+(x1x0)][(xx0)+(xnx0)]dx\begin{gathered}\int_{x_{n}}^{x_{n+1}}|h(x)|dx\leqslant\frac{KF_{n}}{(n+1)!}\int_{x_{n}}^{x_{n+1}}\left(x-x_{0}\right)\left[\left(x-x_{0}\right)+\left(x_{1}-x_{0}\right)\right]\ldots\\ {\left[\left(x-x_{0}\right)+\left(x_{n}-x_{0}\right)\right]dx}\end{gathered}

Noting withF¯n\bar{F}_{n}an upper edge of|g(n+1)(x)|\left|g^{(n+1)}(x)\right|in the interval[x0,x0+A]\left[x_{0},x_{0}+a\right], we will then deduce from formula (126) that

|R3|Hn(n+1)!\left|R_{3}\right|\leqslant\frac{H_{n}}{(n+1)!} (127)

where was it noted
Hn=F¯nBn+1+KFnxnxn+1(xx0)[(xx0)+(x1x0)][(xx0)+(xx0)]𝑑xH_{n}=\bar{F}_{n}B_{n+1}+KF_{n}\int_{x_{n}}^{x_{n+1}}\left(x-x_{0}\right)\left[\left(x-x_{0}\right)+\left(x_{1}-x_{0}\right)\right]\ldots\left[\left(x-x_{0}\right)+\left(x-x_{0}\right)\right]dxThus
we determined an evaluation of|R3|\left|R_{3}\right|in the generalized Adams formula with nodes anywayx0,x1,,xnx_{0},x_{1},\ldots,x_{n}.

The case when the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}are in arithmetic progression with the ratiohhIn this case, the numerical integration formula (124) is replaced, taking into account formula (122), with

y(xn+1)=1(xn)+h[g(xn)+J1Δg(xn1+J2Δ2g(xn2)+\displaystyle y\left(x_{n+1}\right)=1\left(x_{n}\right)+h\left[g\left(x_{n}\right)+J_{1}\Delta g\left(x_{n-1}+J_{2}\Delta^{2}g\left(x_{n-2}\right)+\ldots\right.\right.
+JnΔng(x0)]+R4\displaystyle\left.+J_{n}\Delta^{n}g\left(x_{0}\right)\right]+R_{4} (129)

where

R4=(1)n+1Jn+1hn+2g(n+1)(ξ)+xnxn+1h(x)𝑑xR_{4}=(-1)^{n+1}J_{n+1}h^{n+2}g^{(n+1)}(\xi)+\int_{x_{n}}^{x_{n+1}}h(x)dx

Proceeding as above, we will have for|R4|\left|R_{4}\right|

|R4|Jn+1F¯nhn+2+Kxnxn+1|R2(x)|𝑑x\left|R_{4}\right|\leqslant J_{n+1}\bar{F}_{n}h^{n+2}+K\int_{x_{n}}^{x_{n+1}}\left|R_{2}(x)\right|dx

or

|R4|Jn+1F¯nhn+2++KFn(n+1)!xnxn+1(xx0)[(xx0)+(x1x0)][(xx0)+(xnx0)]𝑑x\begin{gathered}\left|R_{4}\right|\leqslant J_{n+1}\bar{F}_{n}h^{n+2}+\\ +\frac{KF_{n}}{(n+1)!}\int_{x_{n}}^{x_{n+1}}\left(x-x_{0}\right)\left[\left(x-x_{0}\right)+\left(x_{1}-x_{0}\right)\right]\ldots\left[\left(x-x_{0}\right)+\left(x_{n}-x_{0}\right)\right]dx\end{gathered}

If the change is made in the integral in the second member

x=x0+nh+hyou,x=x_{0}+nh+hu,

HAVE

xnxn+1(xx0)[(xx0)+(x1x0)][(xx0)+(xnx0)]𝑑x==hn+201(you+n)(you+n+1)(you+2n)𝑑you\begin{gathered}\int_{x_{n}}^{x_{n+1}}\left(x-x_{0}\right)\left[\left(x-x_{0}\right)+\left(x_{1}-x_{0}\right)\right]\ldots\left[\left(x-x_{0}\right)+\left(x_{n}-x_{0}\right)\right]dx=\\ =h^{n+2}\int_{0}^{1}(u+n)(u+n+1)\ldots(u+2n)du\end{gathered}

so we will finally have

|R4|H¯nhn+2,\left|R_{4}\right|\leqslant\bar{H}_{n}h^{n+2}, (130)

where was it noted

H¯n=Jn+1F¯n+KFn(n+1)!01(you+n)(you+n+1)(you+2n)𝑑you\bar{H}_{n}=J_{n+1}\bar{F}_{n}+\frac{KF_{n}}{(n+1)!}\int_{0}^{1}(u+n)(u+n+1)\ldots(u+2n)du (131)

Thus it was proven that the remainder in Adams' formula with the nodes in arithmetic progressionx0,x1,,xn,xn+1x_{0},x_{1},\ldots,x_{n},x_{n+1}, with the ratiohh, it is of the order ofhn+2h^{n+2}

It is very important to compare this result with the restR2(xn+1)R_{2}\left(x_{n+1}\right)when the integraly(x)y(x)of the differential equation is replaced by the Lagrange polynomial relative to the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}, which according to formula (115) is of the order ofhn+2h^{n+2}.

From this comparison it follows that if the numerical integration formula (112) is applied, taking as an approximate value of the integraly(x)y(x)Lagrange's polynomial relative to the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}, the rest in the nodexn+1x_{n+1}it is his orderhn+1h^{n+1}, while if Adams' numerical integration formula (129) is applied, the remainder is of the order ofhn+2h^{n+2}.

In the case ofn=5n=5, which corresponds to the actual numerical integration formula of Adams, the remainder in the nodex6x_{6}it is his orderh6h^{6}in the
numerical integration formula (112), while in Adams' formula it is of the order ofh7h^{7}.

We recall that W. To11mien [8] established that the remainder in Adams' numerical integration formula is of the order ofh7h^{7}What we have shown above constitutes a generalization of this result for any number of nodes in arithmetic progression.

In another paper we will show how to construct numerical integration formulas of the Adams type in general, for which the remainder in the case of nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}in arithmetic progression, it is of the order ofhn+qh^{n+q}, whereq>2q>2.
21. The case when the curvey=ITn(x)y=L_{n}(x)comes out of the rectangleDDIn this case, we will extend the functionf(x,y)f(x,y)above and below the sides of the rectangleDD, parallel to the axisAxOx, in the following way, as he didAOCopper [9].

The function is considered

F(x,y)=φn(x)(yβ+y0)nn!+φn1(x)(yβ+y0)n1(n1)!+\displaystyle F^{\prime}(x,y)=\varphi_{n}(x)\frac{\left(y-\beta+y_{0}\right)^{n}}{n!}+\varphi_{n-1}(x)\frac{\left(y-\beta+y_{0}\right)^{n-1}}{(n-1)!}+
++φ0(x)\displaystyle+\ldots+\varphi_{0}(x) (132)

defined for|xx0|α\left|x-x_{0}\right|\leqslant\alphaandyy0βy-y_{0}\geqslant\beta. We determine the functionsφ0(x)\varphi_{0}(x),φ1(x),,φn(x)\varphi_{1}(x),\ldots,\varphi_{n}(x)so that

kFyk|y=y0+β=kfyk|y=y0+β\left.\frac{\partial^{k}F^{\prime}}{\partial y^{k}}\right|_{y=y_{0}+\beta}=\left.\frac{\partial^{k}f}{\partial y^{k}}\right|_{y=y_{0}+\beta}

fork=0,1,,nk=0,1,\ldots,nIt will be enough to take

φk(x)=kfyk|y=y0+β(k=0,1,,n).\varphi_{k}(x)=\left.\frac{\partial^{k}f}{\partial y^{k}}\right|_{y=y_{0}+\beta}\quad(k=0,1,\ldots,n).

From formulas (133) we deduce that we will also have

jFxandkyk|y=y0+S=jfxjkyk|y=y0+β\left.\frac{\partial^{j}F^{\prime}}{\partial x^{i-k}\partial y^{k}}\right|_{y=y_{0}+s}=\left.\frac{\partial^{j}f}{\partial x^{j-k}\partial y^{k}}\right|_{y=y_{0}+\beta} (134)

forj=k+1,k+2,..nj=k+1,k+2,..nandk=0,1,2,,n1k=0,1,2,\ldots,n-1.
The function can also be considered
F"(x,y)=ψn(x)(y+βy0)nn!+ψn1(x)(y+βy0)n1(n1)!++ψ0(x)F^{\prime\prime}(x,y)=\psi_{n}(x)\frac{\left(y+\beta-y_{0}\right)^{n}}{n!}+\psi_{n-1}(x)\frac{\left(y+\beta-y_{0}\right)^{n-1}}{(n-1)!}+\cdots+\psi_{0}(x), where

ψk(x)=kfyk|y=y0β(k=0,1,,n).\psi_{k}(x)=\left.\frac{\partial^{k}f}{\partial y^{k}}\right|_{y=y_{0}-\beta}\quad(k=0,1,\ldots,n).

It turns out that we have

jF"xjkyk|y=y0β=andfxjkyk|y=y0β\left.\frac{\partial^{j}F^{\prime\prime}}{\partial x^{j-k}\partial y^{k}}\right|_{y=y_{0}-\beta}=\left.\frac{\partial^{i}f}{\partial x^{j-k}\partial y^{k}}\right|_{y=y_{0}-\beta}

forj=k,k+1,,nj=k,k+1,\ldots,nandk=0,1,,nk=0,1,\ldots,n.

Whethery=ITn(x)y=L_{n}(x)Lagrange's polynomial of the integraly(x)y(x)of the differential equationy=f(x,y)y^{\prime}=f(x,y), which takes the valuesy0,y1,,yny_{0},y_{1},\ldots,y_{n}on the nodesx0,x1,,xnx_{0},x_{1},\ldots,x_{n}If the curvey=ITn(x)y=L_{n}(x)comes out of the rectangleDD, we denote byβ\beta^{\prime}an upper edge ofITn(x)L_{n}(x)and withβ"\beta^{\prime\prime}a lower edge ofITn(x)L_{n}(x)in the interval[x0,x0+A]\left[x_{0},x_{0}+a\right]We denote byβ\beta^{*}the largest of the numbersβy0,y0β"\beta^{\prime}-y_{0},y_{0}-\beta^{\prime\prime}In the rectangleDD^{*}defined by

|xx0|α,|yy0|β\left|x-x_{0}\right|\leqslant\alpha,\quad\left|y-y_{0}\right|\leqslant\beta^{*}

we consider the function

f(x,y)={F(x,y) if yβy0f(x,y) if |yy0|βF"(x,y) if yy0βf^{*}(x,y)=\begin{cases}F^{\prime}(x,y)&\text{ dacă }y\geqslant\beta-y_{0}\\ f(x,y)&\text{ dacă }\left|y-y_{0}\right|\leqslant\beta\\ F^{\prime\prime}(x,y)&\text{ dacă }y\leqslant y_{0}-\beta\end{cases}

which is continuous, together with its partial derivatives with respect toxxandyyuntil orderednn.

Let us consider the differential equation

Y=f(x,Y)Y^{\prime}=f^{*}(x,Y) (136)

with the initial conditionY(x0)=y0Y\left(x_{0}\right)=y_{0}. Considering the definition of the functionf(x,y)f^{*}(x,y), given by formula (135), and by the differential equation (110) with the same initial conditiony(x0)=y0y\left(x_{0}\right)=y_{0}, it follows that in the interval1[x0,x0+A]\left[x_{0},x_{0}+a\right], on which it was proven that there exist integralsy(x)y(x), we haveY(x)=y(x)Y(x)=y(x).

For the differential equation (136), the curvey=ITn(x)y=L_{n}(x), which coincides with the curvey=ITn(x)y=L_{n}(x)relative to equation (110); does not leave the rectangleDD^{*}. So everything said in no. 19 remains valid provided that the rectangle is replacedDDwithDD^{*}and the functionf(x,y)f(x,y)with the functionf(x,y)f^{*}(x,y)In particular, formulas (128), (131) remain valid, but replacingFnF_{n}andKKwith the corresponding values ​​relative to the rectangleDD^{*}.

 Babes-Bolyai University, Cluj  Department of Differential Equations \begin{gathered}\text{ Universilatea Babeş - Bolyai, Cluj }\\ \text{ Catedra de ecuații diferentiale }\end{gathered}

BIBLIOGRAPHY

  1. 1.

    J. Radon, Restausdrücke bei Interpolations und Quadratur Formeln durch bestimmte Integralen, Monatshefte für Math. und Phys. 42, 389, (1935).

  2. 2.

    DV Ionescu, Numerical Quadratures, Chapter III, §5. Technical Publishing House, Bucharest 1957.

  3. 3.

    T. Popoviciu, On the remainder in some numerical derivation theorems, Studii si Cerc. Mathem. (Bucharest), III, 1-2, 53-122 (1952).

  4. 4.

    G. Kowalewski, Remarque sur l'interpolation Newtonienne, CR de l'Acad. often Sci. Paris, 227, 21-23 (1948).

  5. 5.

    G. Sansone, Equazioni differenciali nel campo reale, Parte seconda, Bologna, 1949.

  6. 6.

    DV Ionescu, Quadrature formulas with exterior nodes, Studies and Research in Mathematics (Cluj), IX, 45-135 (1958).

  7. 7.

    W. Tollmien, Uber die Fehlerabschätzung bei Adamschen Verfahren zur Integration gewöhnlicher Differential Gleihungen, Zeitschr. for ang. Math. und Mech., 18, 83-90 (1938).

  8. 8.

    O. Aramă, On the rest of some Runge-Kutta type numerical integration formulas of differential equations, Studii și Cerc. de Mat. (Cluj), (in press) (1960).

1959

Related Posts