<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - comments on Post, Integration anomaly</title>
    <link>http://www.mapleprimes.com/posts/129832-Integration-Anomaly</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 18:34:09 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 18:34:09 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest comments added to the Post, Integration anomaly</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - comments on Post, Integration anomaly</title>
      <link>http://www.mapleprimes.com/posts/129832-Integration-Anomaly</link>
    </image>
    <item>
      <title>interesting example</title>
      <link>http://www.mapleprimes.com/posts/129832-Integration-Anomaly?ref=Feed:MaplePrimes:Integration anomaly:Comments#comment129963</link>
      <itunes:summary>&lt;p&gt;For whatever it's worth&lt;/p&gt;
&lt;pre&gt;&amp;gt; f := s -&amp;gt; (1-s^2)/((1+s^2)*sqrt(1+s^4)):

&amp;gt; &amp;gt; value(Int(f(s), s = -1 .. 1)); # the problem (or, using just `int`)

                           1     (1/2)
                         - - Pi 2     
                           4          

&amp;gt; IntegrationTools:-Split(Int(f(s), s = -1 .. 1), 0);

             /  /0                          \
             | |                2           |
             | |           1 - s            |
             | |   ---------------------- ds|
             | |                    (1/2)   |
             |/-1  /     2\ /     4\        |
             \     \1 + s / \1 + s /        /

                  /  /1                          \
                  | |                2           |
                  | |           1 - s            |
                + | |   ---------------------- ds|
                  | |                    (1/2)   |
                  |/0   /     2\ /     4\        |
                  \     \1 + s / \1 + s /        /

&amp;gt; map(value, %);

                          1     (1/2)
                          - Pi 2     
                          4          
&lt;/pre&gt;
&lt;p&gt;Whether it is practical to attempt to program such a correction is a harder queestion. Without any kind of check for validity or attempt at general correctness ( ie. just for this example!)&lt;/p&gt;
&lt;pre&gt;&amp;gt; q := int(f(s), s = 1 .. x);

               /        (1/2)       \                     
               |/     4\       (1/2)|                     
       1       |\1 + x /      2     |  (1/2)   1     (1/2)
     - - arctan|--------------------| 2      + - Pi 2     
       2       \        2 x         /          8
          
&amp;gt; d := [discont(q, x)[]];

                              [0]

d := select(z -&amp;gt; -1 &amp;lt; z and z &amp;lt; 1, d); # might need `is`, or might fail!

                              [0]

&amp;gt; value(IntegrationTools:-Split(Int(f(s), s = -1 .. 1), d));

                          1     (1/2)
                          - Pi 2     
                          4          
&lt;/pre&gt;</itunes:summary>
      <description>The latest comments added to the Post, Integration anomaly</description>
      <guid>129963</guid>
      <pubDate>Mon, 23 Jan 2012 20:43:42 Z</pubDate>
      <itunes:author>pagan</itunes:author>
      <author>pagan</author>
    </item>
    <item>
      <title>you may want to tag it as bug</title>
      <link>http://www.mapleprimes.com/posts/129832-Integration-Anomaly?ref=Feed:MaplePrimes:Integration anomaly:Comments#comment129967</link>
      <itunes:summary>&lt;p&gt;you may want to tag it as bug&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, Integration anomaly</description>
      <guid>129967</guid>
      <pubDate>Mon, 23 Jan 2012 22:45:02 Z</pubDate>
      <itunes:author>Axel Vogt</itunes:author>
      <author>Axel Vogt</author>
    </item>
  </channel>
</rss>