Section6.6Rational Interpolation and Approximation
We now extend some of the ideas above to that using rational functions instead of polynomials. There are a lot of advantages to using rational functions. First recall that generally good approximate functions only use the four arithmetic operations and rational functions fit this.
Sometimes it seems more difficult to find the rational approximation. There isn’t the nice orthogonal polynomial theory that applies to rationals, but we can still use some of the ideas we’ve learned in this chapter.
The first rational approximation to a function that we will discuss is that of the Padé approximation. This is the equivalent of the Taylor Series to rational functions.
And it is noted that similar to Taylor’s series the approximation matches the function at the point of expansion—in this case at \(x=0\text{.}\) This can be see in the plot above by noticing that the function is very flat near this point.
Note also that since this is a rational function, there may be places where it is undefined. However, in this case, the zeros of the denominator are not real. The plot below shows that the approximation seems to pass the eyeball test within 2 units.
Hermite interpolation was studied in Section 4.4 and recall the resulting polynomial matches both the function value and its derivative. In this section, we do the same.
Equations (6.6.5) and (6.6.6) are linear equations in the coefficients of the polynomials \(P_m\) and \(Q_n\text{.}\) And we will show how to solve these equations through an example.
and it is noted that evaluated at the points \(x_k = -\sqrt{3}/2,0,-\sqrt{3}/2\) that these form 6 linear equations. Although the exact answer can be determined, we resort to floating point and the following is the result: