4.0 KB · commit a9602da
Given a set of values of x and y, the process of finding the value of x for a certain value of y is called inverse interpolation. When the values of x are at unequal intervals, the most obvious way of performing this process is by interchanging x and y in Lagrange's or Aitken's methods. Use of Lagrange's formula was already illustrated in Example 3.14. We will now solve the same example by means of Aitken's and Neville's schemes.
Aitken's scheme (see Table 3.8) is
| y | x | ||
|---|---|---|---|
| 4 | 1 | ||
| 1.750 | |||
| 12 | 3 | 1.857 | |
| 1.600 | |||
| 19 | 4 |
whereas Neville's scheme (see Table 3.9) gives
| y | x | ||
|---|---|---|---|
| 4 | 1 | ||
| 1.750 | |||
| 12 | 3 | 1.857 | |
| 2.286 | |||
| 19 | 4 |
Hence both the schemes lead to the same result ultimately. In practice, however, Neville's scheme should be preferred for the simple reason that in this scheme those points which are nearest to xr are used for interpolation at x=xr. It is, of course, important to remember that inverse interpolation is, in general, meaningful only if the function is single-valued in the interval.
When the values of x are equally spaced, the method of successive approximations, described below, should be used.
We start with Newton's forward difference formula [see Eq. (3.10), Section 3.6] written as yu=y0+uΔy0+2u(u−1)Δ2y0+6u(u−1)(u−2)Δ3y0+…(3.73) From this, we obtain u=Δy01[yu−y0−2u(u−1)Δ2y0−6u(u−1)(u−2)Δ3y0−…].(3.74) Neglecting the second and higher differences, we obtain the first approximation to u and this, we write, as follows u1=Δy01(yu−y0).(3.75) Next, we obtain the second approximation to u by including the term containing the second differences. Thus, u2=Δy01[yu−y0−2u1(u1−1)Δ2y0],(3.76) where we have used the value of u1 for u in the coefficient of Δ2y0. Similarly, we obtain u3=Δy01[yu−y0−2u2(u2−1)Δ2y0−6u2(u2−1)(u2−2)Δ3y0](3.77)
and so on. This process should be continued till two successive approximations to u agree with each other to the required accuracy. The method is illustrated by means of the following example.
This example demonstrates the relationship between the inverse interpolation and the solution of algebraic equations.