<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, f(x) = x^2 ln x</title>
    <link>http://www.mapleprimes.com/questions/39824-Fx--X2-Ln-X</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Fri, 12 Jun 2026 22:12:53 GMT</lastBuildDate>
    <pubDate>Fri, 12 Jun 2026 22:12:53 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, f(x) = x^2 ln x</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, f(x) = x^2 ln x</title>
      <link>http://www.mapleprimes.com/questions/39824-Fx--X2-Ln-X</link>
    </image>
    <item>
      <title>Check your answers, not ours</title>
      <link>http://www.mapleprimes.com/questions/39824-Fx--X2-Ln-X?ref=Feed:MaplePrimes:f(x) = x^2 ln x:Comments#answer72949</link>
      <itunes:summary>&lt;p&gt;So, what are your answers?&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;So, what are your answers?&lt;/p&gt;</description>
      <guid>72949</guid>
      <pubDate>Sun, 09 Mar 2008 23:29:10 Z</pubDate>
      <itunes:author>Robert Israel</itunes:author>
      <author>Robert Israel</author>
    </item>
    <item>
      <title>FunctionAdvisor</title>
      <link>http://www.mapleprimes.com/questions/39824-Fx--X2-Ln-X?ref=Feed:MaplePrimes:f(x) = x^2 ln x:Comments#answer72896</link>
      <itunes:summary>&lt;p&gt;The FuctionAdvisor is very interesting.&amp;nbsp; But it only work with known functions as you can see with:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="file:///C:/DOCUME~1/Mario/LOCALS~1/Temp/moz-screenshot-7.jpg" /&gt;&lt;img alt="" src="file:///C:/DOCUME~1/Mario/LOCALS~1/Temp/moz-screenshot-8.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;FunctionAdvisor(known_functions)&lt;/p&gt;
&lt;p&gt;but not for a contruction like x^2*ln(x).&lt;/p&gt;
&lt;p&gt;If it could be algorithmic, I would be very interested to know how if this is not too complicated for no too nasty nesting.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Mario Lemelin&lt;/p&gt;
&lt;p&gt;mario.lemelin@cgocable.ca&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;The FuctionAdvisor is very interesting.&amp;nbsp; But it only work with known functions as you can see with:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="file:///C:/DOCUME~1/Mario/LOCALS~1/Temp/moz-screenshot-7.jpg" /&gt;&lt;img alt="" src="file:///C:/DOCUME~1/Mario/LOCALS~1/Temp/moz-screenshot-8.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;FunctionAdvisor(known_functions)&lt;/p&gt;
&lt;p&gt;but not for a contruction like x^2*ln(x).&lt;/p&gt;
&lt;p&gt;If it could be algorithmic, I would be very interested to know how if this is not too complicated for no too nasty nesting.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Mario Lemelin&lt;/p&gt;
&lt;p&gt;mario.lemelin@cgocable.ca&lt;/p&gt;</description>
      <guid>72896</guid>
      <pubDate>Wed, 12 Mar 2008 23:02:34 Z</pubDate>
      <itunes:author>lemelinm</itunes:author>
      <author>lemelinm</author>
    </item>
    <item>
      <title>Domains</title>
      <link>http://www.mapleprimes.com/questions/39824-Fx--X2-Ln-X?ref=Feed:MaplePrimes:f(x) = x^2 ln x:Comments#answer72890</link>
      <itunes:summary>&lt;p&gt;Implicit in all of this is that the domain of a function is subset of the complex numbers.&lt;/p&gt;
&lt;p&gt;But...if&amp;nbsp; I define&lt;/p&gt;
&lt;p&gt;f:=x-&amp;gt;x^2;&lt;/p&gt;
&lt;p&gt;and then ask for f(Wisconsin)&lt;/p&gt;
&lt;p&gt;then Maple returns Wisconsin^2. Since an output is associated with the input, I must conclude that Wisconsin is in the domain of f.&lt;/p&gt;
&lt;p&gt;Of course, to some extent, this is silly, but it points out why the &amp;quot;domain&amp;quot; question really is subtle.&lt;/p&gt;
&lt;p&gt;When mathematicians define a function, they know that they are obligated to state the domain. But when we use Maple to define a function, we are glad that we are under no such obligation.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Implicit in all of this is that the domain of a function is subset of the complex numbers.&lt;/p&gt;
&lt;p&gt;But...if&amp;nbsp; I define&lt;/p&gt;
&lt;p&gt;f:=x-&amp;gt;x^2;&lt;/p&gt;
&lt;p&gt;and then ask for f(Wisconsin)&lt;/p&gt;
&lt;p&gt;then Maple returns Wisconsin^2. Since an output is associated with the input, I must conclude that Wisconsin is in the domain of f.&lt;/p&gt;
&lt;p&gt;Of course, to some extent, this is silly, but it points out why the &amp;quot;domain&amp;quot; question really is subtle.&lt;/p&gt;
&lt;p&gt;When mathematicians define a function, they know that they are obligated to state the domain. But when we use Maple to define a function, we are glad that we are under no such obligation.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>72890</guid>
      <pubDate>Thu, 13 Mar 2008 03:02:51 Z</pubDate>
      <itunes:author>Alex
 Smith
</itunes:author>
      <author>Alex
 Smith
</author>
    </item>
    <item>
      <title>Maple functions are not functions</title>
      <link>http://www.mapleprimes.com/questions/39824-Fx--X2-Ln-X?ref=Feed:MaplePrimes:f(x) = x^2 ln x:Comments#answer72882</link>
      <itunes:summary>&lt;p&gt;So what is the domain of this Maple function?&lt;/p&gt;
&lt;p&gt;f:=proc(s) :: type(s,set);&lt;/p&gt;
&lt;p&gt;combinat[powerset](s);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;end;&lt;/p&gt;
&lt;p&gt;A powerful aspect of Maple is that we do not have to define the domain of a proc in order to properly define a proc.&lt;/p&gt;
&lt;p&gt;And so we should not expect an algorithm to exist that will determine the domain of a proc. &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;So what is the domain of this Maple function?&lt;/p&gt;
&lt;p&gt;f:=proc(s) :: type(s,set);&lt;/p&gt;
&lt;p&gt;combinat[powerset](s);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;end;&lt;/p&gt;
&lt;p&gt;A powerful aspect of Maple is that we do not have to define the domain of a proc in order to properly define a proc.&lt;/p&gt;
&lt;p&gt;And so we should not expect an algorithm to exist that will determine the domain of a proc. &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>72882</guid>
      <pubDate>Thu, 13 Mar 2008 06:37:44 Z</pubDate>
      <itunes:author>Alex
 Smith
</itunes:author>
      <author>Alex
 Smith
</author>
    </item>
    <item>
      <title>If you read</title>
      <link>http://www.mapleprimes.com/questions/39824-Fx--X2-Ln-X?ref=Feed:MaplePrimes:f(x) = x^2 ln x:Comments#comment83947</link>
      <itunes:summary>&lt;p&gt;you will realize that the subject of this thread is not procedures with parameters of type set or procedures in general. So, nobody has written here about an algorithm that will determine the domain of a general proc.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;you will realize that the subject of this thread is not procedures with parameters of type set or procedures in general. So, nobody has written here about an algorithm that will determine the domain of a general proc.&lt;/p&gt;</description>
      <guid>83947</guid>
      <pubDate>Thu, 13 Mar 2008 08:21:40 Z</pubDate>
      <itunes:author>jakubi</itunes:author>
      <author>jakubi</author>
    </item>
    <item>
      <title>Strange return type assertion</title>
      <link>http://www.mapleprimes.com/questions/39824-Fx--X2-Ln-X?ref=Feed:MaplePrimes:f(x) = x^2 ln x:Comments#comment83942</link>
      <itunes:summary>&lt;p&gt;Is the type assertion of the return value intentional?&amp;nbsp; That is really strange, and I haven't figured out why it doesn't generate an error (with kernelopts(assertlevel=2)).&amp;nbsp; I could understand&lt;/p&gt;
&lt;pre&gt;
f := proc(s) :: set; combinat:-powerset(s); end proc:
&lt;/pre&gt;
&lt;p&gt;but how can a set have the type 'type(s,set)'?&amp;nbsp; That makes no sense, it seems equivalent to doing&lt;/p&gt;
&lt;pre&gt;
type({{},{a}}, 'type'({a},set))
&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;postpost:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;I now understand what is going on.&amp;nbsp; The return assertion `type(s,set)' is, indeed, equivalent to&lt;/p&gt;
&lt;pre&gt;
ASSERT(type(output, 'type'(s,set)))
&lt;/pre&gt;
&lt;p&gt;assuming output is the returned value.&amp;nbsp; So the assertion, which must be true to avoid an error, is that&lt;/p&gt;
&lt;pre&gt;
type(output, 'type'(s,set))
&lt;/pre&gt;
&lt;p&gt;Maple's 'type' type ignores arguments (s and set) and interprets this as&lt;/p&gt;
&lt;p&gt;type(output, 'type')&lt;/p&gt;
&lt;p&gt;That is, it is true whenever the output is a valid type.&amp;nbsp; I had only tested the procedure with a set of integers.&amp;nbsp; The generate output from that is a set of sets of integers, which is a valid Maple type.&lt;/p&gt;
&lt;pre&gt;
type({{},{1},{1,2}}, 'type');
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; true
&lt;/pre&gt;
&lt;p&gt;If a symbol is included, then the resulting powerset is not a valid Maple type, and an error is generated:&lt;/p&gt;
&lt;pre&gt;
kernelopts(assertlevel=2):
f := proc(s) :: type(s,set); combinat:-powerset(s); end proc:
f({1,a});
Error, (in f) assertion failed: f expects its return value to be of type
type({1, a},set), but computed {{}, {1}, {a}, {1, a}}
&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;Is the type assertion of the return value intentional?&amp;nbsp; That is really strange, and I haven't figured out why it doesn't generate an error (with kernelopts(assertlevel=2)).&amp;nbsp; I could understand&lt;/p&gt;
&lt;pre&gt;
f := proc(s) :: set; combinat:-powerset(s); end proc:
&lt;/pre&gt;
&lt;p&gt;but how can a set have the type 'type(s,set)'?&amp;nbsp; That makes no sense, it seems equivalent to doing&lt;/p&gt;
&lt;pre&gt;
type({{},{a}}, 'type'({a},set))
&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;postpost:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;I now understand what is going on.&amp;nbsp; The return assertion `type(s,set)' is, indeed, equivalent to&lt;/p&gt;
&lt;pre&gt;
ASSERT(type(output, 'type'(s,set)))
&lt;/pre&gt;
&lt;p&gt;assuming output is the returned value.&amp;nbsp; So the assertion, which must be true to avoid an error, is that&lt;/p&gt;
&lt;pre&gt;
type(output, 'type'(s,set))
&lt;/pre&gt;
&lt;p&gt;Maple's 'type' type ignores arguments (s and set) and interprets this as&lt;/p&gt;
&lt;p&gt;type(output, 'type')&lt;/p&gt;
&lt;p&gt;That is, it is true whenever the output is a valid type.&amp;nbsp; I had only tested the procedure with a set of integers.&amp;nbsp; The generate output from that is a set of sets of integers, which is a valid Maple type.&lt;/p&gt;
&lt;pre&gt;
type({{},{1},{1,2}}, 'type');
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; true
&lt;/pre&gt;
&lt;p&gt;If a symbol is included, then the resulting powerset is not a valid Maple type, and an error is generated:&lt;/p&gt;
&lt;pre&gt;
kernelopts(assertlevel=2):
f := proc(s) :: type(s,set); combinat:-powerset(s); end proc:
f({1,a});
Error, (in f) assertion failed: f expects its return value to be of type
type({1, a},set), but computed {{}, {1}, {a}, {1, a}}
&lt;/pre&gt;</description>
      <guid>83942</guid>
      <pubDate>Thu, 13 Mar 2008 20:10:09 Z</pubDate>
      <itunes:author>Joe
 Riel
</itunes:author>
      <author>Joe
 Riel
</author>
    </item>
  </channel>
</rss>