<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Let's twist again</title>
    <link>http://www.mapleprimes.com/questions/127142-Lets-Twist-Again</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Sun, 14 Jun 2026 02:44:31 GMT</lastBuildDate>
    <pubDate>Sun, 14 Jun 2026 02:44:31 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Let's twist again</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Let's twist again</title>
      <link>http://www.mapleprimes.com/questions/127142-Lets-Twist-Again</link>
    </image>
    <item>
      <title>result?</title>
      <link>http://www.mapleprimes.com/questions/127142-Lets-Twist-Again?ref=Feed:MaplePrimes:Let's twist again:Comments#answer127145</link>
      <itunes:summary>&lt;p&gt;Is the result zero?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Is the result zero?&lt;/p&gt;</description>
      <guid>127145</guid>
      <pubDate>Fri, 28 Oct 2011 22:54:11 Z</pubDate>
      <itunes:author>Pseudomodo</itunes:author>
      <author>Pseudomodo</author>
    </item>
    <item>
      <title>another way</title>
      <link>http://www.mapleprimes.com/questions/127142-Lets-Twist-Again?ref=Feed:MaplePrimes:Let's twist again:Comments#answer127202</link>
      <itunes:summary>&lt;p&gt;Since cos is invertible over that interval one can try:&lt;/p&gt;
&lt;pre&gt;Int(cos(a*x)*cos(x)^(a-2), x = 0 .. (1/2)*Pi);&lt;br&gt;Change(%, x=arccos(t),t);&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/pre&gt;
&lt;p&gt;It seems that M15 does not find an anti-derivative here?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Since cos is invertible over that interval one can try:&lt;/p&gt;
&lt;pre&gt;Int(cos(a*x)*cos(x)^(a-2), x = 0 .. (1/2)*Pi);&lt;br&gt;Change(%, x=arccos(t),t);&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/pre&gt;
&lt;p&gt;It seems that M15 does not find an anti-derivative here?&lt;/p&gt;</description>
      <guid>127202</guid>
      <pubDate>Sun, 30 Oct 2011 19:06:15 Z</pubDate>
      <itunes:author>Axel Vogt</itunes:author>
      <author>Axel Vogt</author>
    </item>
    <item>
      <title>This is one of hypotheses</title>
      <link>http://www.mapleprimes.com/questions/127142-Lets-Twist-Again?ref=Feed:MaplePrimes:Let's twist again:Comments#comment127146</link>
      <itunes:summary>&lt;p&gt;As far as I know, this integral&amp;nbsp; equals zero under&amp;nbsp; the assumptions a::posint and a&amp;gt;1. In other cases the numerical calculation produces a very close to zero real number. But there is a chance that the integral under consideration takes very small values depending on a.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;As far as I know, this integral&amp;nbsp; equals zero under&amp;nbsp; the assumptions a::posint and a&amp;gt;1. In other cases the numerical calculation produces a very close to zero real number. But there is a chance that the integral under consideration takes very small values depending on a.&lt;/p&gt;</description>
      <guid>127146</guid>
      <pubDate>Fri, 28 Oct 2011 23:11:16 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>I see.</title>
      <link>http://www.mapleprimes.com/questions/127142-Lets-Twist-Again?ref=Feed:MaplePrimes:Let's twist again:Comments#comment127147</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/127142-Lets-Twist-Again#comment127146"&gt;@Markiyan Hirnyk&lt;/a&gt; Is part of this invalid, ie. expansion of integrand, or the methods?&lt;/p&gt;
&lt;p&gt;I'd be willing to believe that :-limit might be accidentally producing a wrong intermediate result, somewhere deep inside int. The same result is not obtained from int (for the definite integral, I mean, rather than the manual FTOC application) when :-limit is replaced by MultiSeries:-limit before the int computation.&lt;/p&gt;
&lt;pre&gt;&amp;gt; restart:

&amp;gt; int(expand(cos(a*x)*cos(x)^(a-2)),x=0..Pi/2,method=[_RETURNVERBOSE]) assuming a&amp;gt;1;

[ftocms = 0, ftoc = 0, FAILS = (distribution, piecewise, series, 

  o, polynomial, ln, lookup, cook, ratpoly, elliptic, 

  elliptictrig, meijergspecial, improper, asymptotic, meijerg, 

  contour)]

&amp;gt; AD:=int(expand(cos(a*x)*cos(x)^(a-2)),x) assuming a&amp;gt;1:

&amp;gt; limit(AD,x=Pi/2) assuming a&amp;gt;1;

                               0

&amp;gt; limit(AD,x=0) assuming a&amp;gt;1;

                               0
&amp;gt; infolevel[int]:=1: #2;

&amp;gt; int(expand(cos(a*x)*cos(x)^(a-2)),x=0..Pi/2,method=[ftocms]) assuming a&amp;gt;1;

int/indef1: first-stage indefinite integration
int/indef2: second-stage indefinite integration
int/trigon: case of integrand containing trigs
int/indef1: first-stage indefinite integration
int/indef1: first-stage indefinite integration
int/indef2: second-stage indefinite integration
int/trigon: case of integrand containing trigs
int/rischnorm: enter Risch-Norman integrator
int/rischnorm: exit Risch-Norman integrator
int/risch: enter Risch integration
int/risch: exit Risch integration
                               0
&lt;/pre&gt;
&lt;p&gt;When you ask how to show it with Maple which parts are we allowed to trust for this? Are you looking for a separate analysis?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/127142-Lets-Twist-Again#comment127146"&gt;@Markiyan Hirnyk&lt;/a&gt; Is part of this invalid, ie. expansion of integrand, or the methods?&lt;/p&gt;
&lt;p&gt;I'd be willing to believe that :-limit might be accidentally producing a wrong intermediate result, somewhere deep inside int. The same result is not obtained from int (for the definite integral, I mean, rather than the manual FTOC application) when :-limit is replaced by MultiSeries:-limit before the int computation.&lt;/p&gt;
&lt;pre&gt;&amp;gt; restart:

&amp;gt; int(expand(cos(a*x)*cos(x)^(a-2)),x=0..Pi/2,method=[_RETURNVERBOSE]) assuming a&amp;gt;1;

[ftocms = 0, ftoc = 0, FAILS = (distribution, piecewise, series, 

  o, polynomial, ln, lookup, cook, ratpoly, elliptic, 

  elliptictrig, meijergspecial, improper, asymptotic, meijerg, 

  contour)]

&amp;gt; AD:=int(expand(cos(a*x)*cos(x)^(a-2)),x) assuming a&amp;gt;1:

&amp;gt; limit(AD,x=Pi/2) assuming a&amp;gt;1;

                               0

&amp;gt; limit(AD,x=0) assuming a&amp;gt;1;

                               0
&amp;gt; infolevel[int]:=1: #2;

&amp;gt; int(expand(cos(a*x)*cos(x)^(a-2)),x=0..Pi/2,method=[ftocms]) assuming a&amp;gt;1;

int/indef1: first-stage indefinite integration
int/indef2: second-stage indefinite integration
int/trigon: case of integrand containing trigs
int/indef1: first-stage indefinite integration
int/indef1: first-stage indefinite integration
int/indef2: second-stage indefinite integration
int/trigon: case of integrand containing trigs
int/rischnorm: enter Risch-Norman integrator
int/rischnorm: exit Risch-Norman integrator
int/risch: enter Risch integration
int/risch: exit Risch integration
                               0
&lt;/pre&gt;
&lt;p&gt;When you ask how to show it with Maple which parts are we allowed to trust for this? Are you looking for a separate analysis?&lt;/p&gt;</description>
      <guid>127147</guid>
      <pubDate>Fri, 28 Oct 2011 23:51:07 Z</pubDate>
      <itunes:author>Pseudomodo</itunes:author>
      <author>Pseudomodo</author>
    </item>
    <item>
      <title>That is a help!</title>
      <link>http://www.mapleprimes.com/questions/127142-Lets-Twist-Again?ref=Feed:MaplePrimes:Let's twist again:Comments#comment127174</link>
      <itunes:summary>&lt;p&gt;Thank you for the interest to my question and the deep and comprehensive answer. Sorry for the delay in my reply: I was in the highlands today and just returned. Now I only vote up. I will give a detailed opinion as soon as possible. I need some time to think about this.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thank you for the interest to my question and the deep and comprehensive answer. Sorry for the delay in my reply: I was in the highlands today and just returned. Now I only vote up. I will give a detailed opinion as soon as possible. I need some time to think about this.&lt;/p&gt;</description>
      <guid>127174</guid>
      <pubDate>Sat, 29 Oct 2011 20:48:55 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>Opinion</title>
      <link>http://www.mapleprimes.com/questions/127142-Lets-Twist-Again?ref=Feed:MaplePrimes:Let's twist again:Comments#comment127189</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/127142-Lets-Twist-Again#comment127147"&gt;@Pseudomodo&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think that all three approaches are valid. The coincidence of the outputs isn't accidental.&amp;nbsp;The keypoint of your solution is the usage of the expand command. This insight is difficult to invent. Now let's see a blot on the landscape. I think the&amp;nbsp;method=[_RETURNVERBOSE] option is not documented so a little user can't reach it. Next, I unsuccessfully tried to verify AD:&lt;br&gt;&amp;gt; is(diff(AD, x) = expand(cos(a*x)*cos(x)^(a-2)));&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FAIL&lt;br&gt;I didn't also succeed in this verification by hand.&lt;br&gt;The command&lt;br&gt;&amp;gt;int(expand(cos(a*x)*cos(x)^(a-2)),x=0..Pi/2,method=[ftocms]) assuming a&amp;gt;1;&lt;br&gt;doesn't work in Maple 13. I think the one works in Maple 14 or 15.&lt;br&gt;I don't understand your doubt concerning the limit command. Up to &lt;a href="http://www.maplesoft.com/support/help/search.aspx?term=int/methods"&gt;?int/methods&lt;/a&gt; the method FTOCMS does the same, but uses the limit implementation in MultiSeries. This method produces the right answer. The question belongs to mathematical folklore and originates from &lt;a href="http://en.wikipedia.org/wiki/Moscow_Institute_of_Physics_and_Technology"&gt;http://en.wikipedia.org/wiki/Moscow_Institute_of_Physics_and_Technology&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/127142-Lets-Twist-Again#comment127147"&gt;@Pseudomodo&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think that all three approaches are valid. The coincidence of the outputs isn't accidental.&amp;nbsp;The keypoint of your solution is the usage of the expand command. This insight is difficult to invent. Now let's see a blot on the landscape. I think the&amp;nbsp;method=[_RETURNVERBOSE] option is not documented so a little user can't reach it. Next, I unsuccessfully tried to verify AD:&lt;br&gt;&amp;gt; is(diff(AD, x) = expand(cos(a*x)*cos(x)^(a-2)));&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FAIL&lt;br&gt;I didn't also succeed in this verification by hand.&lt;br&gt;The command&lt;br&gt;&amp;gt;int(expand(cos(a*x)*cos(x)^(a-2)),x=0..Pi/2,method=[ftocms]) assuming a&amp;gt;1;&lt;br&gt;doesn't work in Maple 13. I think the one works in Maple 14 or 15.&lt;br&gt;I don't understand your doubt concerning the limit command. Up to &lt;a href="http://www.maplesoft.com/support/help/search.aspx?term=int/methods"&gt;?int/methods&lt;/a&gt; the method FTOCMS does the same, but uses the limit implementation in MultiSeries. This method produces the right answer. The question belongs to mathematical folklore and originates from &lt;a href="http://en.wikipedia.org/wiki/Moscow_Institute_of_Physics_and_Technology"&gt;http://en.wikipedia.org/wiki/Moscow_Institute_of_Physics_and_Technology&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>127189</guid>
      <pubDate>Sun, 30 Oct 2011 11:22:41 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
  </channel>
</rss>