2.8 KB · commit a9602da
Difference tables can be used to check errors in tabular values. Suppose that there is an error of +1 unit in a certain tabular value. As higher differences are formed, the error spreads out fanwise, and is at the same time, considerably magnified, as shown in Table 3.5.
Table 3.5 Detection of Errors using Difference Table
| y | Δ | Δ2 | Δ3 | Δ4 | Δ5 |
|---|---|---|---|---|---|
| 0 | |||||
| 0 | |||||
| 0 | 0 | ||||
| 0 | 0 | ||||
| 0 | 0 | 0 | |||
| 0 | 0 | 1 | |||
| 0 | 0 | 1 | |||
| 0 | 1 | −5 | |||
| 0 | 1 | −4 | |||
| 1 | −3 | 10 | |||
| 1 | −2 | 6 | |||
| −1 | 3 | −10 | |||
| 0 | 1 | −4 | |||
| 0 | −1 | 5 | |||
| 0 | 0 | −1 | |||
| 0 | 0 | −1 | |||
| 0 | 0 | 0 | |||
| 0 | 0 | ||||
| 0 | 0 | ||||
| 0 | |||||
| 0 |
This table shows the following characteristics: (i) The effect of the error increases with the order of the differences. (ii) The errors in any one column are the binomial coefficients with alternating signs. (iii) The algebraic sum of the errors in any difference column is zero, and (iv) The maximum error occurs opposite the function value containing the error. These facts can be used to detect errors by difference tables. We illustrate this by means of an example.
If an error is present in a given data, the differences of some order will become alternating in sign. Hence, higher-order differences should be formed till the error is revealed as in the above example. If there are errors in several tabular values, then it is not easy to detect the errors by differencing.