You are reading a page from An Elementary Treatise on Actuarial Mathematics by Harry Freeman (1932)
Part of the American Term Life Insurance History Project
Term Life Insurance
CHAPTER IV
INTERPOLATION FOR UNEQUAL
INTERVALS
58    FINITE DIFFERENCES A numerical example will make this clear.
Example 1.
Take out the divided differences of ux given the following table:
    x    I    2    4    7    12
    
ux    22    30    82    1o6    206

The table is
x    ux    0'1[x    O'2ux    A'3ux    a'Qux
I    22
30-22=8 2 - I
z    30
26-8=6 4-I
82-30=26 4-2
-3.6-6=-16 7-1
4    82
8-26
=-36 7 -2
•51 - (- I'6)
I2-I

I.5-(-3.6)
=•51
I2-2
Io6-82_8 7-4
7
Io6
20-8 I2-4
206 - Io6 =20 I2-7
12 2o6
It is essential to arrange the work systematically if error is to be avoided. The numerators and denominators must be set out, either in parallel columns or in the form of fractions. Where there is ample space the columnar arrangement is better, especially where the divisors are cumbrous. It should be noted that while the numerators are the first differences of the preceding divided differences, the denominators are all formed directly from the arguments, differencing first in the ordinary way, then in pairs, then in triplets, ... and so on. It will also be seen that the divisor is always the difference between the values of x for the last and first ux involved in the difference.
3. Newton's divided difference formula.
An alternative notation for divided differences is as follows. Let the function be f (x) and the arguments x0, xi, x2, ... xT. Then the successive divided differences are

NEWTON'S DIVIDED DIFFERENCE FORMULA
f(xo,xl)=f(xo)-f(x1) xo—x1 '
f(xo,x1,x2)=f (4,x1)f(x1,x2) -
Xi) x2
...............
where the arguments are all different.
If we replace xo, x1, ... x, by x, ao, a1, ... an, we obtain a system that may be written
(x — ao) f (x, ao) = f (x) f (ao),
(x — a1)f (x, ao, a1) = f (x, ao) .f (ao, a1),
(x—an)f(x,ao,...an)=f(x,a0,...an_1)—f(a°,a1, ... an). From this we obtain in succession
f (x) = f (ao) + (x — ao) f (x, ao)
= f (ao) + (x — ao) f (ao , a1) + (x — ao) (x — a1) f (x, ao, a1)
and generally .f(x)=f(ao)+(x—ao)f(ao,a1)+(x—ao)(x—a1)f(ao,a1,a2)+...
+ (x — a0) (x — a1) ... (x — an_1) f (ao, a1, ... an) + R,
where
R= (x — ao) (x—a1)... (x—an)f (x,ao,a1, ... an).
This is Newton's formula with divided differences.
It should be noted that the term preceding R in the expansion is (x — ao) (x — a1) ... (x — an_1) f (ao, a1, ... an), there being n factors in the coefficient. In R, however, the coefficient has n + 1 factors, the new factor (x — an) being introduced.
Reverting to the notation
~~n—11!    ~~n—1Zf
,gnu =    arrl    ar
dr
an+r — a,.

6o    FINITE DIFFERENCES
For a further investigation of the remainder term R see the article "On certain Formulae of Approximate Summation, etc." in j.I.A. vol. LIII, by Prof. Steffensen, to whom the above proof is due.



NEWTON'S ADVANCING DIFFERENCE FORMULA    61 Example 2.
From the data in Ex. I, find u8.
Assuming fourth divided differences constant, the formula gives u8=u1+(8—I)A'u1+(8I)(82)ZS.2u1
+(8— I)(8—2)(8—4)A'3u1+(8— I)(8—2)(8—4)(8—7)A4uj = 111 + 7A'u1 + 42A'2u1 + 168A'3u1 + 168A'4u1
= 22 + 56 + 252 — 268.8 + 32'3
= 93
to the nearest integer.
6. Development of Newton's advancing difference formula. If the interval b — a = h, we have
,'Zla = (ub ua)/(b — a) = (ua±h — ua)/h = Iua/h; also if the interval c — b = the interval b — a = h,
0'211. _ /(1 (1'u, — A'ua)/(C — a)
(ua+2h ua+h)/h — (ua+h — Ua)lh

2h
(na+2h — 2ua+h + ua)/2h2 = A2z1a/2h2. Similarly, if the interval d — c is also h,
A'3ua = (z'2ub A'2ua)/(d — a)
(ua+3h — 2ua+2h + ua+h)/2h2 (ua42h — 2ua+h + ua)12h2
3h
= (ua+3h — 311a+2h + 3t1a+h — ua)/3.2h3 = A3ua/3 h3, and so on.
The formula for us in terms of ua and its leading divided differences is
ux=ua+ (x—a)+ (x — a) (x — b)I'2ua
+ (x—a) (x—b) (x—c)A'3ua+ •.•
+(x—a) (x—b) (.x—c)... (x—k)A'fdua. This becomes, on putting x — a = nh,
ua+nh = ua + tlhA'ua + nh [nh — (b — a)] ,'2110
+ nh [nh — (b — a)] [nh — (c — a)]A'3ua+.... If now we have equal intervals, so that
b — a = h, c — a= 2h,..., and so on,

62    FINITE DIFFERENCES nh0ua nh (nh h) 02ua
ua+nh=ua+ h +    2! h2
from the relations proved above,
i.e.    ua+nh = ua + niAua + n2L2ua + n3L 3ua + ...,
which is Newton's formula for advancing differences. 7. Lagrange's interpolation formula.
On the same assumption as has been made hitherto, namely that the function concerned is a rational integral function of x, an interpolation formula can be evolved which is equivalent to the process of splitting up an algebraic fraction into its partial fractions.
Let
n values of the function y = ux be given, so that u, is sup-posed to be a rational integral function of the (n — I)th degree in x, and let the given values of x be a, b, c, ... k.
Then we may write
ux=A(x—b)(x—c)...(x—k)+B(x—a)(x—c)...(x—k)+... +K(x—a) (x—b)... (x
where there are n terms each of degree n — i in x.
This is true for all values of x involved. Put therefore x = a.
Then    ua = A (a — b) (a — c) ... (a — k),
ua
`q    (a—b) (a-c) ... (a—k)'
Similarly, by putting x = b,
ub B _
(b—a)(b—c)...(b—k)'
In like manner all the coefficients can be found.
(x — b) (x — c) (x — k)    (x a) (x — c) (x — k)


.'. ux=ua(a—b) (a—c)... (a—k)+ub (b — a) (b—c)... (b—k) +.
(x—a)(x—b)(x—c)... +uk(k—a)(k—b)(k—c)...'
+nh(nh—h)(nh—2h)43ua+...
3!h3

LAGRANGE'S FORMULA    63
or otherwise
ux    _    ua    I
(x—a)(x—b)... (x—k) (a — b) (a — c) ... (a — k)x — a
ub
+(b—a) (b—c)... (b—k)x—b+
It is evident that this is exactly the same as splitting the fraction
ux
(x—a)(x—b)... (x — k) into partial fractions.
This alternative expression is due to Euler and was given earlier than Lagrange's formula.
It is interesting to note that Euler's form, when written as
    f (x)             - f (a)     +    .f (b)     + ...
(x—a)(x—b) ... (a — x) (a—b)...    (b — x) (b — a) ...
is an expression for the divided difference f (x, a, b, c, ... k). It follows therefore that Euler's formula (and consequently Lagrange's) can be evolved from the divided difference formula by equating the nth divided difference to zero.
8. Lagrange's formula is usually laborious to apply in practice and requires close attention to sign; it is generally simpler to employ other finite difference methods. Where the intervals are equal an advancing difference formula may be used, and for unequal intervals it is preferable to use divided differences.
The principles on which this formula has been developed are the same as those assumed for the difference formulae, namely that n values of the function being given, nth differences are assumed zero. The following examples show the application of the formula.
Example 3.
Given the data in Ex. I, obtain u8 by the use of Lagrange's formula.
+(4I)(4—2)(4 7)(4 12) 0 1 4)+...,

64
FINITE DIFFERENCES
22    30
7.6.4.1.(—4) (—1)(3)(—6)(—11).7+ I.(—2)(—5)(—Io).6
82    1o6
+ 3.2.(— 3) (— 8).4 + 6.5.3.(— 5).1
206
+ II.I0.8.5.(— 4)'
.', u8 = — io•666 ... + 33.6 — 95.666 ... + 158.293 ... + 7.865 = 93 (to the nearest integer) as in Ex. 2.
Example 4.
Find the form of the function y = us given that
uo = 8, ul = II, u4 = 68, u5 = 123. By Lagrange's formula :
4x(x—5) 4(x—1)(x—4)'
... ux = [(23x + 8) (x2 — 5x + 4) — (19x — 8) (x2 5x)]
=x3—x2+3x+8.
It is instructive to work out this example by divided differences, using two different orders for the values of x, thus illustrating the important principle that the order is indifferent.

    
(a) x    us    O'ux    A'2ux    O'3ux
    0    8
3 + I = 3
    I    I1    16-4=4
    4    68    57±3=19    36—4_9    5=5=1

55=1=55
    5    123
uR
x(x— 1) (x
us
8    I    II    I
-4)(x—5) (—1)(—4)(—5) x+1(—3)(—4) x—1
    
68    I    123    I
+ 4.3(— 1).x—4 + 5.4.1.x—5
2 I    11    I    68    1    123
5 XT 12x- I 12X—4+ 20 x—5
1 1 1 5 X + 4 0 1    57X 24
    20 x(x—5)    I2(X— 1)(x—4)
23X+8    19x'—8

ux=8+3x+4x(xI)+Ix(xI)(x4)=x3-x2+3x+8.

EXAMPLES    65
(b) x    ux    A'ux    A'3ux    A'3ux 5 123
9. Newton's formula for divided differences may be considered as the basic formula in finite differences. It has been shown that, by making the intervals equal, the ordinary advancing difference formula follows, and that Lagrange's formula can be evolved from the divided difference formula by equating the nth divided difference to zero. Moreover, by taking the limiting values when the intervals tend to zero, an important theorem known as Taylor's theorem follows. (See Chapter xi.)
EXAMPLES 4
66    FINITE DIFFERENCES
7. Find the first three divided differences of the function y = x-2 for the arguments x = 1, m, n, p.
Find by Lagrange's formula the value of
EXAMPLES    67