Exercise 3.  Find the rational approximation [Graphics:Images/RationalApproxMod_gr_216.gif]for [Graphics:Images/RationalApproxMod_gr_217.gif]  over the interval [-1,1].  
3 (b).  Use Chebyshev interpolation nodes.

Solution 3 (b).

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

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



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


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

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

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

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

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

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

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

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



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


Form the Chebyshev rational approximation.

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



[Graphics:../Images/RationalApproxMod_gr_269.gif]
[Graphics:../Images/RationalApproxMod_gr_270.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_271.gif]


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

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


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

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


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

[Graphics:../Images/RationalApproxMod_gr_276.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_277.gif] degree Maclaurin polynomial over the interval  [Graphics:../Images/RationalApproxMod_gr_278.gif].  

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



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

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



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


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

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


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

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



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


Comparison with the Padé approximation.  

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


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

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


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

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

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


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

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



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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004