Example 2.  Find the rational approximation [Graphics:Images/RationalApproxMod_gr_113.gif]for [Graphics:Images/RationalApproxMod_gr_114.gif] over the interval [-1,1].
2 (b).  Use Chebyshev interpolation nodes.

Solution 2 (b).

Set up the formula for  [Graphics:../Images/RationalApproxMod_gr_153.gif].

[Graphics:../Images/RationalApproxMod_gr_154.gif]



[Graphics:../Images/RationalApproxMod_gr_155.gif]


Calculate the values for the  [Graphics:../Images/RationalApproxMod_gr_156.gif] Chebyshev interpolation nodes.   

[Graphics:../Images/RationalApproxMod_gr_157.gif]

[Graphics:../Images/RationalApproxMod_gr_158.gif]

Form the  [Graphics:../Images/RationalApproxMod_gr_159.gif] ordinates.  

[Graphics:../Images/RationalApproxMod_gr_160.gif]

[Graphics:../Images/RationalApproxMod_gr_161.gif]

Form the set of  [Graphics:../Images/RationalApproxMod_gr_162.gif] equations to solve and find the solution.

[Graphics:../Images/RationalApproxMod_gr_163.gif]



[Graphics:../Images/RationalApproxMod_gr_164.gif]


Form the Chebyshev rational approximation.

[Graphics:../Images/RationalApproxMod_gr_165.gif]



[Graphics:../Images/RationalApproxMod_gr_166.gif]


Plot graphs of the function and its Chebyshev rational approximation over the interval  [-1,1].  But we will draw the graphs over [-2,2].

[Graphics:../Images/RationalApproxMod_gr_167.gif]


[Graphics:../Images/RationalApproxMod_gr_168.gif]

[Graphics:../Images/RationalApproxMod_gr_169.gif]


Find the error  over the interval  [-1,1].  

[Graphics:../Images/RationalApproxMod_gr_170.gif]


[Graphics:../Images/RationalApproxMod_gr_171.gif]

[Graphics:../Images/RationalApproxMod_gr_172.gif]


Comparison with the Taylor approximation.  

There were 9 coefficients to determine for the rational approximation, and a Maclaurin polynomial of degree 8 requires 9 coefficients.
Compare with the error in a [Graphics:../Images/RationalApproxMod_gr_173.gif] degree Maclaurin polynomial over the interval  [Graphics:../Images/RationalApproxMod_gr_174.gif].  

[Graphics:../Images/RationalApproxMod_gr_175.gif]


[Graphics:../Images/RationalApproxMod_gr_176.gif]

[Graphics:../Images/RationalApproxMod_gr_177.gif]



[Graphics:../Images/RationalApproxMod_gr_178.gif]


[Graphics:../Images/RationalApproxMod_gr_179.gif]

[Graphics:../Images/RationalApproxMod_gr_180.gif]


We can determine how much smaller the error is for the Chebyshev rational approximation.

[Graphics:../Images/RationalApproxMod_gr_181.gif]



[Graphics:../Images/RationalApproxMod_gr_182.gif]


Comparison with the Padé approximation.  

[Graphics:../Images/RationalApproxMod_gr_183.gif]


[Graphics:../Images/RationalApproxMod_gr_184.gif]

[Graphics:../Images/RationalApproxMod_gr_185.gif]


[Graphics:../Images/RationalApproxMod_gr_186.gif]

[Graphics:../Images/RationalApproxMod_gr_187.gif]

[Graphics:../Images/RationalApproxMod_gr_188.gif]

We can determine how much smaller the error is for the Chebyshev rational approximation.

[Graphics:../Images/RationalApproxMod_gr_189.gif]



[Graphics:../Images/RationalApproxMod_gr_190.gif]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004