<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Why won't Maple use my assumptions in a double integral?</title>
    <link>http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Wed, 10 Jun 2026 20:58:51 GMT</lastBuildDate>
    <pubDate>Wed, 10 Jun 2026 20:58:51 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Why won't Maple use my assumptions in a double integral?</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Why won't Maple use my assumptions in a double integral?</title>
      <link>http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In</link>
    </image>
    <item>
      <title>assume or assuming?</title>
      <link>http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In?ref=Feed:MaplePrimes:Why won't Maple use my assumptions in a double integral?:Comments#answer142906</link>
      <itunes:summary>&lt;p&gt;How are you making the assumptions, with &lt;strong&gt;assume&lt;/strong&gt; or &lt;strong&gt;assuming&lt;/strong&gt;? And does the variable upon which the assumptions are made come from a function call, but other than as a parameter to that function? If you're using &lt;strong&gt;assuming&lt;/strong&gt;, then that's the problem.&amp;nbsp; For example, the following works:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;restart;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;assume(k&amp;lt;0);&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;f:= x-&amp;gt; exp(k*x): # k in function, but is not a parameter&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;int(f(x), x= 0..infinity);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;-1/k&lt;/p&gt;
&lt;p&gt;But in the following, the assumption is ignored:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;restart;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;f:= x-&amp;gt; exp(k*x): # k in function, but is not a parameter&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;int(f(x), x= 0..infinity) assuming k &amp;lt; 0;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;limit((exp(k*x)-1)/k, x = infinity)&lt;/p&gt;
&lt;p&gt;The assumptions made with &lt;strong&gt;assuming&amp;nbsp; &lt;/strong&gt;are only applied to variables which appear in the expression before it is evaluated. &lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;How are you making the assumptions, with &lt;strong&gt;assume&lt;/strong&gt; or &lt;strong&gt;assuming&lt;/strong&gt;? And does the variable upon which the assumptions are made come from a function call, but other than as a parameter to that function? If you're using &lt;strong&gt;assuming&lt;/strong&gt;, then that's the problem.&amp;nbsp; For example, the following works:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;restart;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;assume(k&amp;lt;0);&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;f:= x-&amp;gt; exp(k*x): # k in function, but is not a parameter&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;int(f(x), x= 0..infinity);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;-1/k&lt;/p&gt;
&lt;p&gt;But in the following, the assumption is ignored:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;restart;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;f:= x-&amp;gt; exp(k*x): # k in function, but is not a parameter&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;int(f(x), x= 0..infinity) assuming k &amp;lt; 0;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;limit((exp(k*x)-1)/k, x = infinity)&lt;/p&gt;
&lt;p&gt;The assumptions made with &lt;strong&gt;assuming&amp;nbsp; &lt;/strong&gt;are only applied to variables which appear in the expression before it is evaluated. &lt;/p&gt;</description>
      <guid>142906</guid>
      <pubDate>Fri, 01 Feb 2013 05:35:15 Z</pubDate>
      <itunes:author>Carl Love</itunes:author>
      <author>Carl Love</author>
    </item>
    <item>
      <title>Need "additionally"</title>
      <link>http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In?ref=Feed:MaplePrimes:Why won't Maple use my assumptions in a double integral?:Comments#answer142909</link>
      <itunes:summary>&lt;p&gt;Your &lt;strong&gt;assume(Rmin &amp;lt; Rmax) &lt;/strong&gt;needs to be replaced with&lt;strong&gt; &lt;strong&gt;additionally(Rmin &lt;/strong&gt;&amp;lt; Rmax)&lt;/strong&gt;. Multiple assume commands on the same variable are not cumulative. I tested this on your code snippet, and with the &lt;strong&gt;additionally&lt;/strong&gt; it integrates fine. So, no need to upload tomorrow.&lt;/p&gt;
&lt;p&gt;But, In the future, please cut-and-paste at least a snippet of code into your original posts, or upload a worksheet. Even a poorly written question with a code example is easier to answer than a well-written question with no code example.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Your &lt;strong&gt;assume(Rmin &amp;lt; Rmax) &lt;/strong&gt;needs to be replaced with&lt;strong&gt; &lt;strong&gt;additionally(Rmin &lt;/strong&gt;&amp;lt; Rmax)&lt;/strong&gt;. Multiple assume commands on the same variable are not cumulative. I tested this on your code snippet, and with the &lt;strong&gt;additionally&lt;/strong&gt; it integrates fine. So, no need to upload tomorrow.&lt;/p&gt;
&lt;p&gt;But, In the future, please cut-and-paste at least a snippet of code into your original posts, or upload a worksheet. Even a poorly written question with a code example is easier to answer than a well-written question with no code example.&lt;/p&gt;</description>
      <guid>142909</guid>
      <pubDate>Fri, 01 Feb 2013 06:02:52 Z</pubDate>
      <itunes:author>Carl Love</itunes:author>
      <author>Carl Love</author>
    </item>
    <item>
      <title>I'm using "assume"</title>
      <link>http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In?ref=Feed:MaplePrimes:Why won't Maple use my assumptions in a double integral?:Comments#comment142907</link>
      <itunes:summary>&lt;p&gt;Carl:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm using "assume"&amp;nbsp; Here's the code and the output&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; restart:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; assume(Rmin&amp;gt;0):assume(Rmax&amp;gt;0):assume(Rmin&amp;lt;Rmax):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; DiceZero:=(Rmin,Rmax)-&amp;gt;2/(Rmax-Rmin)^2*int(int(r0^3/(r0^3+r1^3),r0=Rmin..r1),r1=Rmin..Rmax);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;DiceZero := proc (Rmin, Rmax) options operator, arrow; 2*(int(int(r0^3/(r0^3+r1^3), r0 = Rmin .. r1), r1 = Rmin .. Rmax))/(Rmax-Rmin)^2 end proc&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; DiceZero(Rmin,Rmax);#doesn't work despite adequate assumptions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;undefined/(Rmax-Rmin)^2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can upload the real mw-file tomorrow&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Carl:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm using "assume"&amp;nbsp; Here's the code and the output&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; restart:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; assume(Rmin&amp;gt;0):assume(Rmax&amp;gt;0):assume(Rmin&amp;lt;Rmax):&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; DiceZero:=(Rmin,Rmax)-&amp;gt;2/(Rmax-Rmin)^2*int(int(r0^3/(r0^3+r1^3),r0=Rmin..r1),r1=Rmin..Rmax);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;DiceZero := proc (Rmin, Rmax) options operator, arrow; 2*(int(int(r0^3/(r0^3+r1^3), r0 = Rmin .. r1), r1 = Rmin .. Rmax))/(Rmax-Rmin)^2 end proc&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;gt; DiceZero(Rmin,Rmax);#doesn't work despite adequate assumptions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;undefined/(Rmax-Rmin)^2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can upload the real mw-file tomorrow&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;</description>
      <guid>142907</guid>
      <pubDate>Fri, 01 Feb 2013 05:49:33 Z</pubDate>
      <itunes:author>spradlig</itunes:author>
      <author>spradlig</author>
    </item>
    <item>
      <title>Thanks</title>
      <link>http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In?ref=Feed:MaplePrimes:Why won't Maple use my assumptions in a double integral?:Comments#comment142911</link>
      <itunes:summary>&lt;p&gt;Thanks, I'll try that.&amp;nbsp; I thought I cut-and-pasted the file into a Word document and uploaded it, but maybe I goofed.&amp;nbsp; I'll make sure to do that the first time I post next time.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Works like a charm.&amp;nbsp; Thanks for your prompt and perfect solution.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks, I'll try that.&amp;nbsp; I thought I cut-and-pasted the file into a Word document and uploaded it, but maybe I goofed.&amp;nbsp; I'll make sure to do that the first time I post next time.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Works like a charm.&amp;nbsp; Thanks for your prompt and perfect solution.&lt;/p&gt;</description>
      <guid>142911</guid>
      <pubDate>Fri, 01 Feb 2013 06:41:12 Z</pubDate>
      <itunes:author>spradlig</itunes:author>
      <author>spradlig</author>
    </item>
    <item>
      <title>No Word docs, please</title>
      <link>http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In?ref=Feed:MaplePrimes:Why won't Maple use my assumptions in a double integral?:Comments#comment142912</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In#comment142911"&gt;@spradlig&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Plain text is easiest to work with. Use one of the three clipboard icons on the toolbar in MaplePrimes to cut-and-paste directly into your post. Maple understands plaintext, but not Word AFAIK. Or upload a worksheet. Why take the extra step of going through Word?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;. &lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In#comment142911"&gt;@spradlig&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Plain text is easiest to work with. Use one of the three clipboard icons on the toolbar in MaplePrimes to cut-and-paste directly into your post. Maple understands plaintext, but not Word AFAIK. Or upload a worksheet. Why take the extra step of going through Word?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;. &lt;/p&gt;</description>
      <guid>142912</guid>
      <pubDate>Fri, 01 Feb 2013 07:01:28 Z</pubDate>
      <itunes:author>Carl Love</itunes:author>
      <author>Carl Love</author>
    </item>
    <item>
      <title>Thanks, I won't do it again.</title>
      <link>http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In?ref=Feed:MaplePrimes:Why won't Maple use my assumptions in a double integral?:Comments#comment142925</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In#comment142912"&gt;@Carl &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks, I won't upload a Word doc again.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;GS&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/142898-Why-Wont-Maple-Use-My-Assumptions-In#comment142912"&gt;@Carl &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks, I won't upload a Word doc again.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;GS&lt;/p&gt;</description>
      <guid>142925</guid>
      <pubDate>Fri, 01 Feb 2013 17:35:38 Z</pubDate>
      <itunes:author>spradlig</itunes:author>
      <author>spradlig</author>
    </item>
  </channel>
</rss>