T. Popoviciu,Über die Verwendung der Tabellen spezieller Funktionen, Numerische Methoden der Approximationstheorie, Band 2 (Tagung, Math. Forschungsinst., Oberwolfach, 1973), pp. 101-109. Internat. Schriftenreihe Numer. Math., Band 26, Birkhäuser, Basel, 1975 (in German).
1975 c -Popoviciu- Numer. Meth. Approximation theory - On the use of tables of special
Original text
Rate this translation
Your feedback will be used to help improve Google Translate
On the use of tables of special functions by T. Popoviciu in Cluj
Given a table containing the values ​​of a real functionffthe real variablesxxfor a finite numberm > 1m>1of valuesx_(1),x_(2),dots,x_(m)x_{1}, x_{2}, \ldots, x_{m}which contains independent variables.
The task is to expand the table by interpolation for other values ​​ofxtox \mathrm{to}To solve this problem, one usually starts with a linear interpolation in the successive intervals defined by the pointsx_(i)x_{i},i=1,2,dots,mi=1,2, \ldots, mare intended. It is assumed thatx_(1) < x_(2) < dots < x_(m)x_{1}<x_{2}<\ldots<x_{m}holds, the linear interpolation consists in using the functionffin the completed interval[x_(1),x_(m)]\left[x_{1}, x_{m}\right]the polygonal functionPPused, which is in the curvey=f(x)quady=f(x) \quadis inscribed and the corners (x_(i),f(x_(i))x_{i}, f\left(x_{i}\right)),i=1,2,dots,mi=1,2, \ldots, mExpressed analytically, this means that the functionffin each interval[x_(i),x_(i+1)]\left[x_{i}, x_{i+1}\right]by the first-degree Lagrange polynomialL(x_(i),x_(i+1);f)L\left(x_{i}, x_{i+1} ; f\right)which is replaced in the endpointsx_(i),x_(i+1)x_{i}, x_{i+1}the same values ​​as the functionffaccepts.
Since we have assumed that the values ​​of the functionffoutside the pointsx_(i)x_{i},i=1,2,dots,mi=1,2, \ldots, mare not known, we cannot generally say anything about the quality of the approximation
wherexxis a point that lies between the pointsx_(i)x_{i}andx_(i+1)x_{i+1}The task posed at the beginning is treated quite differently if it
is also known that the functionffhas a certain behavior; e.g., if the functionffis positive, then the approximation functionsL(x_(i),x_(i+1);f)L\left(x_{i}, x_{i+1} ; f\right), in the interval [x_(i),x_(i+1)]\left[x_{i}, x_{i+1}\right]for eachi=1,2,dots,m-1i=1,2, \ldots, m-1positive. If the functionffincreasing, the above approximation functions (for allxx), and also the polygonal function mentioned abovePP, increasing etc.
We will examine another important special case of such behavior below.
It should be noted that the tables commonly used do not contain the exact values ​​of the function represented, but rather approximate values. This is the case, for example, with logarithmic tables. We will continue to bear this fact in mind.
2. We now want to consider the interpolation problem for the case of a functionffwhich in one the pointsx_(i),i=1,2,dots,mx_{i}, i=1,2, \ldots, m, is continuous and concave. For such a function, the divided differences of second order are negative. This is the case, for example, for a function whose second derivative is negative. This case is, for example, for the functionln x\ln xbefore, which (forx > 0x>0) is concave, so that the following can be applied to the logarithm tables.
The problem to be investigated can then be formulated as follows:
Let it be a continuous concave functionffin an interval that contains the pointsa,b(a < b)a, b(a<b)The approximation of this function by a polynomial of degree 1 in the interval [a,ba, b] should be examined.
The Lagrange polynomialL=L(a,b;f)L=L(a, b ; f), which represents the values ​​offfin the endpointsa,ba, byields such an approximation. The approximation off(x)f(x)throughL(a,b;f)(x)quadL(a, b ; f)(x) \quadis for everyx in[a,b]x \in[a, b]an approximation from below. To obtain a better approximation, one tries to use the polynomialLLto be replaced by another approximation polynomial.
According to an idea by EV VORONOVSKAIA [3], instead ofLLtake the first-degree polynomial that best approximates the function in the sense of Chebyshev. This choice is justified by the fact that this polynomial, due to the special behavior (concavity) of the function,fffrom the polynomialLLonly by a positive constant. More precisely: the Chebyshev polynomial in question is equal toL+rhoL+\rho, where
applies. The pointxi in]a,b[(a < xi < b)\xi \in] a, b[(a<\xi<b)is uniquely determined. If the functionffdifferentiable, it is the only root of the equation
However, the calculation of the number p is generally too complicated to be used in numerical calculations. For example, let us assume that we have a table showing the values ​​of the functionln x\ln xfor the natural numbers up to a sufficiently large number, and we seta=n,b=n+1a=n, b=n+1, wherenndenotes a natural number, then
cannot be obtained by rational operations from the data in the table.
Therefore, it is more sensible to modify the approximation polynomialL+rhoL+\rhoThere are several ways to make such a change. The ones we will discuss below seem to be the simplest.
3. Let us take the polynomialL+lambdaL+\lambdawherelambda\lambdais a positive constant given by the equation
is intended.cca given number witha < c < ba<c<b. It then applieso < lambda <= rhoo<\lambda \leq \rho. Equalitylambda=rho\lambda=\rhoonly occurs in casec=xic=\xiIf a positive numberlambda\lambdaspecified which is smaller thanrho\rhothere are two pointscc, for which equation (4) exists.rho\rhoandxi\xihave the meaning given in the preceding section.
The tendony=L(x)y=L(x)parallel liney=L(x)+lambday=L(x)+\lambdacuts the bowy=f(x)y=f(x)in two points(a_(1),f(a_(1))),quad(b_(1),f(b_(1)))\left(a_{1}, f\left(a_{1}\right)\right), \quad\left(b_{1}, f\left(b_{1}\right)\right), wherea < a_(1) < b_(1) < ba<a_{1}<b_{1}<b. The abscissasa_(1)a_{1}andb_(1)b_{1}However, you cannot even use simple functionsffdetermine exactly.
Example 1. The functionx(1-x)x(1-x)is in the interval[0,1][0,1]concave. We choosea=0a=0, b=1b=1. The Chebyshev polynomial of first degree is then the constant(1)/(8)\frac{1}{8}. The roots(1)/(2)-(1)/(2sqrt2),(1)/(2)+(1)/(2sqrt2)\frac{1}{2}-\frac{1}{2 \sqrt{2}}, \frac{1}{2}+\frac{1}{2 \sqrt{2}}the equationx(1-x)=(1)/(8)x(1-x)=\frac{1}{8}, which in this case are the abscissasa_(1),b_(1)a_{1}, b_{1}cannot be calculated from the data of the problem using rational operations. However, the abscissasa^('),b^(')a^{\prime}, b^{\prime}the intersection points of the linesy=L(x)+lambday=L(x)+\lambdawith the straight liney=L(a,c;f)(x)y=L(a, c ; f)(x)ory=L(c,b;f)(x)y=L(c, b ; f)(x)can be easily determined.
A simple calculation givesa^(')=(a+c)/(2),quadb^(')=(c+b)/(2)a^{\prime}=\frac{a+c}{2}, \quad b^{\prime}=\frac{c+b}{2}and because of the concavity of the functionffappliesa < a_(1) < a^(') < c < b^(') < b_(1) < ba<a_{1}<a^{\prime}<c<b^{\prime}<b_{1}<b.
From this follows:
I. In the interval[a^('),b^(')]\left[a^{\prime}, b^{\prime}\right], which is the length(b-a)/(2)\frac{b-a}{2}, the approximation off(x)f(x)throughL(x)+lambdaL(x)+\lambdaalso an approximation from below, but better than the approximation off(x)f(x)throughL(x)L(x).
This property also applies tox in]a_(1),b_(1)[x \in] a_{1}, b_{1}[, but, as noted earlier, the endpoints of this interval are difficult to calculate.
4. Outside the interval]a_(1),b_(1)[] a_{1}, b_{1}[, so forx in[a,b]\\]a_(1),b_(1)[x \in[a, b] \backslash] a_{1}, b_{1}[resultsL(x)+lambdaL(x)+\lambdaan approximation from above forf(x)f(x).
There are now ({:a_(2),f(a_(2))),(b_(2),f(b_(2)))\left.a_{2}, f\left(a_{2}\right)\right),\left(b_{2}, f\left(b_{2}\right)\right), wherea < a_(2) < b_(2) < ba<a_{2}<b_{2}<bis the intersection points of the linesy=L(x)+(1)/(2)lambday=L(x)+\frac{1}{2} \lambdawith the bowy=f(x)y=f(x), anda^('')a^{\prime \prime}orb^('')b^{\prime \prime}the abscissa of the intersection point of this line and the liney=L(a,c;f)(x)y=L(a, c ; f)(x)ory=L(c,b;f)(x)y=L(c, b ; f)(x)As in the case ofa_(1),b_(1)a_{1}, b_{1}the abscissas cana_(2),b_(2)a_{2}, b_{2}in general cannot be explicitly calculated by rational operations from the data of the problem.
Example 2, For the function considered in Example 1x(1-x)x(1-x)isa_(2)=(1)/(2)-(sqrt3)/(4),quadb_(2)=(1)/(2)+(sqrt3)/(4)a_{2}=\frac{1}{2}-\frac{\sqrt{3}}{4}, \quad b_{2}=\frac{1}{2}+\frac{\sqrt{3}}{4}.
It appliesa^(n)=(3a+c)/(4),b^(n)=(c+3b)/(4)a^{n}=\frac{3 a+c}{4}, b^{n}=\frac{c+3 b}{4}. Furthermore,a < a_(2) < a_(1) < b_(1) < b_(2) < ba<a_{2}<a_{1}<b_{1}<b_{2}<banda < a^('') < a^(') < c < b^(') < b^('') < ba<a^{\prime \prime}<a^{\prime}<c<b^{\prime}<b^{\prime \prime}<b. On the one hand, if one considers thata_(1) < xi < b_(1)a_{1}<\xi<b_{1}is, wherexi\xiis the point determined by (2), and on the other hand known properties of the concave functions, it follows that the functionffon the interval [a,xia, \xi] rising and on the interval[xi,b][\xi, b]This function also has the same monotonicity properties on the interval[a,a_(1)]\left[a, a_{1}\right]or [b_(1),bb_{1}, b]. This means:
II. In the interval [a^(n),b^(n)a^{n}, b^{n}], which is the length(3)/(4)\frac{3}{4}(ba), the approximation off(x)f(x)throughL(x)+lambdaL(x)+\lambdaan absolute error that is smaller than that of the approximation off(x)f(x)throughL(x)L(x).
This property also applies tox in]a_(2),b_(2)[:}x \in] a_{2}, b_{2}\left[\right., but regarding the endpointsa_(2),b_(2)a_{2}, b_{2}the same remark as the one abouta_(1)a_{1}andb_(1)b_{1}5. To illustrate
an application, we return to the natural logarithm table, which contains values ​​for a sufficiently large number of consecutive natural numbers.
To determine the value ofln(n+r)\ln (n+r)(witho < r < 1o<r<1), one usually interpolates linearly betweennnandn+1n+1using the Lagrange polynomial. One then obtains
If we apply the theory presented in the previous sections andc=(2n+1)/(2)c=\frac{2 n+1}{2}set (i.e.ccas the midpoint of the interval [n,n+1n, n+1]), we get the approximation
In this case,a^(')=n+(1)/(4),b^(')=n+(3)/(4),a^('')=n+(1)/(8),b^('')=n+(7)/(8)a^{\prime}=n+\frac{1}{4}, b^{\prime}=n+\frac{3}{4}, a^{\prime \prime}=n+\frac{1}{8}, b^{\prime \prime}=n+\frac{7}{8}
Approximation (6) is a bottom-up approximation that is(1)/(4) <= r <= (3)/(4)\frac{1}{4} \leq r \leq \frac{3}{4}is better than (5) and for(1)/(8) <= r <= (7)/(8)\frac{1}{8} \leq r \leq \frac{7}{8}an approximation with a smaller absolute error than (5).
Note that for a rational numberrrthe approximate value given in (6) can be calculated using elementary operations, namelyln n,ln(n+1)\ln n, \ln (n+1)andln((2n+1)/(2))=ln(2n+1)-ln 2\ln \frac{2 n+1}{2}=\ln (2 n+1)-\ln 2, values ​​that are either given in the table or can be determined immediately from the data in the table.
From (7) it follows that the value oflambda_(1)\lambda_{1}with increasingnnfalls and forn rarr+oon \rightarrow+\inftytends towards zero. Furthermore,
andn(n+1)lambda_(1)rarr(1)/(16)n(n+1) \lambda_{1} \rightarrow \frac{1}{16}forn rarr+oon \rightarrow+\infty, solambda_(1)\lambda_{1}asymptotically equal(1)/(16 n(n+1))\frac{1}{16 n(n+1)}.
Example 3. Letn=2,r=(3)/(8)=o,375n=2, r=\frac{3}{8}=o, 375. From a logarithmic table with 10 decimal places we take the values
ln 2,375~~0,8376965961+0,0103054986=0,847902 o 947.\ln 2,375 \approx 0,8376965961+0,0103054986=0,847902 o 947 .
In the same table we find the valueln 2,375=0,8649975374\ln 2,375=0,8649975374; so we have an exact decimal place forln 2,375\ln 2,3756.
A formula similar to formula (6) can be obtained as follows. We start from the interpolation formula
{:(9)f(x)-L(x)=(x-a)(x-b)[a","b","x;f]quad(a < x < b):}\begin{equation*}
f(x)-L(x)=(x-a)(x-b)[a, b, x ; f] \quad(a<x<b) \tag{9}
\end{equation*}
where[a,b,x;f][a, b, x ; f]the second-order divided difference of the interval[a,b][a, b]concave functionffregarding the pointsa,b,xa, b, xreferred to. Isfftwice differentiable and the second derivative (negative)<= -M\leq-Mon the interval[a,b][a, b], whereMMis a positive constant, we get from (2)
In the case of the functionln x\ln xisM=(1)/((n+1)^(2))M=\frac{1}{(n+1)^{2}}, if youa=n,b=n+1quada=n, b=n+1 \quadselects, while the value ofxi\xiis given by (3). Considering exercise I-168 from the well-known collection of exercises by G. PÓLYA and G. SZEGÖ [1], it turns out that the sequence((1+(1)/(n))^(n+(1)/(2)))_(n=1)^(+oo)\left(\left(1+\frac{1}{n}\right)^{n+\frac{1}{2}}\right)_{n=1}^{+\infty}is falling^(1)){ }^{1)}To prove this statement, one can use the functiony=(x+(1)/(2))ln(1+(1)/(x))y=\left(x+\frac{1}{2}\right) \ln \left(1+\frac{1}{x}\right)use for they^(')=ln(1+(1)/(x))-(2x+1)/(x(x+1))y^{\prime}=\ln \left(1+\frac{1}{x}\right)-\frac{2 x+1}{x(x+1)}andy^('')=(1)/(2x^(2)(x+1)^(2)) > 0y^{\prime \prime}=\frac{1}{2 x^{2}(x+1)^{2}}>0
This results inlim_(x rarr+oo)y^(')=0;quad\lim _{x \rightarrow+\infty} y^{\prime}=0 ; \quadsoy^(') < 0quady^{\prime}<0 \quadforx > 0x>0.
Using the functiony=(x+(1)/(3))ln(1+(1)/(x))y=\left(x+\frac{1}{3}\right) \ln \left(1+\frac{1}{x}\right)one can show that the sequence((1+(1)/(n))^(n+(1)/(3)))_(n=1)^(+oo)\left(\left(1+\frac{1}{n}\right)^{n+\frac{1}{3}}\right)_{n=1}^{+\infty}Both consequences have increased the numbereeas the limit. We therefore obtain
n+(1)/(3) < xi < n+(1)/(2) < n+(2)/(3).n+\frac{1}{3}<\xi<n+\frac{1}{2}<n+\frac{2}{3} .
This value differs only by0,0041 < (1)/(200)0,0041<\frac{1}{200}from the value calculated using formula (6).
Finally, it should be noted that it can be shown that for a given numberk > 16k>16in (12) instead of the value oflambda_(2)\lambda_{2}the value(1)/(k(n+1)^(2))\frac{1}{k(n+1)^{2}}can be used ifnnis sufficiently large.
7. In a previous paper [2], we presented a method for calculating natural logarithms by quadratic interpolation. The results obtained in this way can be better than those obtained by the linear interpolation discussed in this paper.
Example 5. Let us calculateln 2,5\ln 2,5using formula (6), we get
However, the procedure described in [2] yieldsln 2,5~~0,9167130679\ln 2,5 \approx 0,9167130679; a value that much more closely approximates the value 0.9162907319 given in the same table.
FOOTNOTE
^(1)){ }^{1)}In our further remarks we only need to note that the consequence((1+(1)/(n))^(n+(2)/(3)))_(n=1)^(+oo)\left(\left(1+\frac{1}{n}\right)^{n+\frac{2}{3}}\right)_{n=1}^{+\infty}However, if one considers the monotonicity of the sequence((1+(1)/(n))^(n+(1)/(2)))_(n=1)^(+oo)\left(\left(1+\frac{1}{n}\right)^{n+\frac{1}{2}}\right)_{n=1}^{+\infty}. this gives a more accurate upper estimate forxi\xi.
LITERATURE
PÓLYA, G. and G. SZEGÖ: Problems and Theorems from Analysis I. Berlin 1925.
POPOVICIU, T.: On the approximation of functions and solutions of an equation by quadratic interpolation. Methods of Approximation Theory, Vol. 1 (1972), 155-163.
VORONOVSKAIA, EV: O vidoizmenenii metoda Ciaplighina dlia differentialnih uravnenii pervovo poriadka.Prikladnaia matematika i mehanika, XIX, (1955), 121-126.