<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Padé Approximants</title>
    <link>http://www.mapleprimes.com/questions/39580-Pad-Approximants</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 09:46:56 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 09:46:56 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Padé Approximants</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Padé Approximants</title>
      <link>http://www.mapleprimes.com/questions/39580-Pad-Approximants</link>
    </image>
    <item>
      <title>I tried it</title>
      <link>http://www.mapleprimes.com/questions/39580-Pad-Approximants?ref=Feed:MaplePrimes:Padé Approximants:Comments#answer72295</link>
      <itunes:summary>&lt;p&gt;I have tried your suggestion.&amp;nbsp; Of course, this was my mistake about&amp;nbsp; collecting x^k.&lt;/p&gt;
&lt;p&gt;But even then, I still unable to reproduce the answer of Maple.&amp;nbsp; PLease help me solve this one as an example and if as a bonus you have a simple application, I will be very thankfull.&lt;/p&gt;
&lt;p&gt;&lt;a href="mailto:mario.lemelin@cgocable.ca"&gt;mario.lemelin@cgocable.ca&lt;/a&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I have tried your suggestion.&amp;nbsp; Of course, this was my mistake about&amp;nbsp; collecting x^k.&lt;/p&gt;
&lt;p&gt;But even then, I still unable to reproduce the answer of Maple.&amp;nbsp; PLease help me solve this one as an example and if as a bonus you have a simple application, I will be very thankfull.&lt;/p&gt;
&lt;p&gt;&lt;a href="mailto:mario.lemelin@cgocable.ca"&gt;mario.lemelin@cgocable.ca&lt;/a&gt;&lt;/p&gt;</description>
      <guid>72295</guid>
      <pubDate>Wed, 16 Apr 2008 18:39:33 Z</pubDate>
      <itunes:author>lemelinm</itunes:author>
      <author>lemelinm</author>
    </item>
    <item>
      <title>Pade</title>
      <link>http://www.mapleprimes.com/questions/39580-Pad-Approximants?ref=Feed:MaplePrimes:Padé Approximants:Comments#answer72310</link>
      <itunes:summary>&lt;p&gt;You should be using the coefficients of (x-4)^n in fx*qx - px, not the coefficients of&lt;br /&gt;
x^n.&amp;nbsp; You could use a change of variables t = x-4, or series(fx*qx-px, x=4, ...).&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;You should be using the coefficients of (x-4)^n in fx*qx - px, not the coefficients of&lt;br /&gt;
x^n.&amp;nbsp; You could use a change of variables t = x-4, or series(fx*qx-px, x=4, ...).&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;</description>
      <guid>72310</guid>
      <pubDate>Wed, 16 Apr 2008 23:35:20 Z</pubDate>
      <itunes:author>Robert Israel</itunes:author>
      <author>Robert Israel</author>
    </item>
    <item>
      <title>Thanks!</title>
      <link>http://www.mapleprimes.com/questions/39580-Pad-Approximants?ref=Feed:MaplePrimes:Padé Approximants:Comments#answer72285</link>
      <itunes:summary>&lt;p&gt;I have learn a lot in the way you have done it. Since I want to show it to students,&amp;nbsp; I will try to do it without &amp;quot;taylor(qx*fx - px, x=4, 9)&amp;quot;.&amp;nbsp; Do you know (or someone else) a simple application of the use of the Pad&amp;eacute; Approximant?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I have learn a lot in the way you have done it. Since I want to show it to students,&amp;nbsp; I will try to do it without &amp;quot;taylor(qx*fx - px, x=4, 9)&amp;quot;.&amp;nbsp; Do you know (or someone else) a simple application of the use of the Pad&amp;eacute; Approximant?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description>
      <guid>72285</guid>
      <pubDate>Thu, 17 Apr 2008 00:55:47 Z</pubDate>
      <itunes:author>lemelinm</itunes:author>
      <author>lemelinm</author>
    </item>
    <item>
      <title>problem with chebpade?</title>
      <link>http://www.mapleprimes.com/questions/39580-Pad-Approximants?ref=Feed:MaplePrimes:Padé Approximants:Comments#answer72240</link>
      <itunes:summary>I was looking for a simple example of a function defined by a numerical
integral and calculated for it a 'pade' and a 'chebpade' approximant:

&lt;pre&gt;
with(numapprox):
with(orthopoly):
J:=Int(sin(u^3)*tan(u),u=0..x);
f:=x-&gt;evalf(Int(sin(u^3)*tan(u),u=0..x)):
&lt;/pre&gt;

&lt;maple&gt;
J := Int(sin(u^3)*tan(u),u = 0 .. x);
&lt;/maple&gt;

This is a toy example and here 'f' evaluates fast:

&lt;pre&gt;
f(.1);
                                         -5
                          0.2004776617 10
&lt;/pre&gt;

I get these approximants:

&lt;pre&gt;
p:=pade(f(x), x, [5,5]);

            5
           x
-------------------------
  /          2    23   4\
5 |1 - 5/21 x  - ---- x |
  \              1323   /
&lt;/pre&gt;


&lt;pre&gt;
chp:=chebpade(f(x), x, [5,5]);

                                     3                 5
-0.0001075954404 x + 0.002076036171 x  + 0.2184405434 x
--------------------------------------------------------
                                2                 4
    1.148539583 - 0.3990232808 x  + 0.1359254864 x
&lt;/pre&gt;


Now, their evaluation at the same point gives:

&lt;pre&gt;
evalf(eval(p,x=.1));
                                         -5
                          0.2004776764 10

evalf(eval(chp,x=.1));
                                          -5
                          -0.5678239432 10
&lt;/pre&gt;

So, something seems to be wrong with this 'chebpade' approximant in this region:

&lt;pre&gt;
plot([f(x),p,chp],x=0..0.2,color=[red,green,blue]);
&lt;/pre&gt;

What?
</itunes:summary>
      <description>I was looking for a simple example of a function defined by a numerical
integral and calculated for it a 'pade' and a 'chebpade' approximant:

&lt;pre&gt;
with(numapprox):
with(orthopoly):
J:=Int(sin(u^3)*tan(u),u=0..x);
f:=x-&gt;evalf(Int(sin(u^3)*tan(u),u=0..x)):
&lt;/pre&gt;

&lt;maple&gt;
J := Int(sin(u^3)*tan(u),u = 0 .. x);
&lt;/maple&gt;

This is a toy example and here 'f' evaluates fast:

&lt;pre&gt;
f(.1);
                                         -5
                          0.2004776617 10
&lt;/pre&gt;

I get these approximants:

&lt;pre&gt;
p:=pade(f(x), x, [5,5]);

            5
           x
-------------------------
  /          2    23   4\
5 |1 - 5/21 x  - ---- x |
  \              1323   /
&lt;/pre&gt;


&lt;pre&gt;
chp:=chebpade(f(x), x, [5,5]);

                                     3                 5
-0.0001075954404 x + 0.002076036171 x  + 0.2184405434 x
--------------------------------------------------------
                                2                 4
    1.148539583 - 0.3990232808 x  + 0.1359254864 x
&lt;/pre&gt;


Now, their evaluation at the same point gives:

&lt;pre&gt;
evalf(eval(p,x=.1));
                                         -5
                          0.2004776764 10

evalf(eval(chp,x=.1));
                                          -5
                          -0.5678239432 10
&lt;/pre&gt;

So, something seems to be wrong with this 'chebpade' approximant in this region:

&lt;pre&gt;
plot([f(x),p,chp],x=0..0.2,color=[red,green,blue]);
&lt;/pre&gt;

What?
</description>
      <guid>72240</guid>
      <pubDate>Sat, 19 Apr 2008 20:25:06 Z</pubDate>
      <itunes:author>jakubi</itunes:author>
      <author>jakubi</author>
    </item>
    <item>
      <title>chebpade</title>
      <link>http://www.mapleprimes.com/questions/39580-Pad-Approximants?ref=Feed:MaplePrimes:Padé Approximants:Comments#answer72237</link>
      <itunes:summary>&lt;p&gt;I tried your example above on my laptop at home, where I am running Maple 9.52.&amp;nbsp; The line with chebpade gave me the following error:&lt;/p&gt;
&lt;p&gt;chp:=chebpade(f(x), x, [5,5]);&lt;br /&gt;
Error, (in numapprox:-chebpade) singularity in or near interval&lt;/p&gt;
&lt;p&gt;I'm wondering if this is the cause of the difference that you are observing between the two approximations.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;address&gt;Regards,&lt;br /&gt;
Georgios Kokovidis&lt;/address&gt;
&lt;address&gt;Dr&amp;auml;ger Medical&lt;/address&gt;
&lt;pre&gt;

&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;I tried your example above on my laptop at home, where I am running Maple 9.52.&amp;nbsp; The line with chebpade gave me the following error:&lt;/p&gt;
&lt;p&gt;chp:=chebpade(f(x), x, [5,5]);&lt;br /&gt;
Error, (in numapprox:-chebpade) singularity in or near interval&lt;/p&gt;
&lt;p&gt;I'm wondering if this is the cause of the difference that you are observing between the two approximations.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;address&gt;Regards,&lt;br /&gt;
Georgios Kokovidis&lt;/address&gt;
&lt;address&gt;Dr&amp;auml;ger Medical&lt;/address&gt;
&lt;pre&gt;

&lt;/pre&gt;</description>
      <guid>72237</guid>
      <pubDate>Sun, 20 Apr 2008 07:07:10 Z</pubDate>
      <itunes:author>gkokovidis</itunes:author>
      <author>gkokovidis</author>
    </item>
    <item>
      <title>rounding problems?</title>
      <link>http://www.mapleprimes.com/questions/39580-Pad-Approximants?ref=Feed:MaplePrimes:Padé Approximants:Comments#answer72235</link>
      <itunes:summary>&lt;p&gt;using 14 Digits in Maple 11 i have no problems, however chebpade has larger approximation error in the plotted range&lt;/p&gt;
&lt;p&gt;I think one should specify a range, chpp:=chebpade(f(x), x=0 .. 1/3, [5,5]) works quite well&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;using 14 Digits in Maple 11 i have no problems, however chebpade has larger approximation error in the plotted range&lt;/p&gt;
&lt;p&gt;I think one should specify a range, chpp:=chebpade(f(x), x=0 .. 1/3, [5,5]) works quite well&lt;/p&gt;</description>
      <guid>72235</guid>
      <pubDate>Sun, 20 Apr 2008 12:52:54 Z</pubDate>
      <itunes:author>Axel Vogt</itunes:author>
      <author>Axel Vogt</author>
    </item>
  </channel>
</rss>