<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - Newest Questions and Posts</title>
    <link>http://www.mapleprimes.com</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Fri, 04 Sep 2026 21:56:42 GMT</lastBuildDate>
    <pubDate>Fri, 04 Sep 2026 21:56:42 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest questions and posts added to MaplePrimes</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - Newest Questions and Posts</title>
      <link>http://www.mapleprimes.com</link>
    </image>
    <item>
      <title>How to integrate the derivative of tanh</title>
      <link>http://www.mapleprimes.com/questions/243763-How-To-Integrate-The-Derivative-Of-Tanh?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;&lt;span style="font-size:16px;"&gt;I could not figure out why Maple does not return tanh. Instead a complex valued function for real arguments is returned.&amp;nbsp;This is not recent. I tried down to Maple 2020. &amp;nbsp;Is that correct? &lt;/span&gt;&lt;/p&gt;

&lt;form name="worksheet_form"&gt;&lt;input name="md.ref" type="hidden" value="3AF5310C2A80DEFF00030438D89D30D1"&gt;
&lt;table align="center" width="768"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;
			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#000000;font-size: 91%;font-family: DejaVu Sans;font-weight:normal;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;D(tanh);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;plot(%)&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="-tanh^2+1" height="27" src="/view.aspx?sf=243763_question/de762d9d8e2b0326912a63a880272bb9.gif" style="vertical-align:-6px" width="74"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img align="middle" height="500" src="/view.aspx?sf=243763_question/2a413cadc028447fa1ec5240ae077a6e.gif" style="border:none" width="500"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;int(D(tanh)(x),x);# I expected tanh&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;plot(%);# ok, no plot for real valued x&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="x+tanh(x)+(1/2)*ln(tanh(x)-1)-(1/2)*ln(tanh(x)+1)" height="42" src="/view.aspx?sf=243763_question/605091900227684907395f3c484eedab.gif" style="vertical-align:-16px" width="331"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;a href="http://www.maplesoft.com/support/help/errors/view.aspx?path=Warning,%20unable%20to%20evaluate%20the%20function%20to%20numeric%20values%20in%20the%20region%3B%20complex%20values%20were%20detected"&gt;&lt;span style="color:#0000ff;font-size: 100%;font-family: monospace,monospace;font-weight:normal;font-style:normal;"&gt;&lt;u&gt;Warning, unable to evaluate the function to numeric values in the region; complex values were detected&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;int(D(tanh)(x),x=0..infinity);# this result seems to be known in advance and fits to the above plot&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="1" height="23" src="/view.aspx?sf=243763_question/10fbd6384c2874ed544db80c49f21f09.gif" style="vertical-align:-6px" width="13"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(1)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;int(D(tanh)(x),x=a..b);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;eval(%,[a=0,b=infinity]);# I expected 1 from &lt;/span&gt;&lt;span style="color:#000000; font-weight:bold; font-style:normal;"&gt;(1)&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;eval(%%,[a=0,b=50.]);# retruns complex for small values&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="-a-tanh(a)-(1/2)*ln(tanh(a)-1)+(1/2)*ln(tanh(a)+1)+b+tanh(b)+(1/2)*ln(tanh(b)-1)-(1/2)*ln(tanh(b)+1)" height="42" src="/view.aspx?sf=243763_question/31e0e65446db91c8995a326a94b371cb.gif" style="vertical-align:-16px" width="694"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;a href="http://www.maplesoft.com/support/help/errors/view.aspx?path=Error,%20(in%20ln)%20numeric%20exception%3A%20division%20by%20zero"&gt;&lt;span style="color:#ab29cc;font-size: 100%;font-family: monospace,monospace;font-weight:normal;font-style:normal;"&gt;&lt;u&gt;Error, (in ln) numeric exception: division by zero&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="-Float(infinity)-((1/2)*I)*Pi" height="45" src="/view.aspx?sf=243763_question/975c0e0420c066f0a26ffef647f1f4a0.gif" style="vertical-align:-16px" width="119"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(2)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;evalf(int(D(tanh)(x),x=0..50))&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="1.000000000" height="23" src="/view.aspx?sf=243763_question/0e7a3df5a5b1765e3f1f6988742c3e7c.gif" style="vertical-align:-6px" width="84"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(3)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#000000;font-size: 91%;font-family: DejaVu Sans;font-weight:normal;font-style:normal;"&gt;Let&amp;#39;s try integrating the identical expression sech^2&lt;/span&gt;&lt;/p&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#000000;font-size: 91%;font-family: DejaVu Sans;font-weight:normal;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="tanh(x)" height="23" src="/view.aspx?sf=243763_question/3e7176d66ec7495048289fe1889bb5b0.gif" style="vertical-align:-6px" width="51"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(4)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;is((sech^2=1-tanh^2)(x));# check identity&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="true" height="23" src="/view.aspx?sf=243763_question/7c8c760c26e6bef85381bb9f40f4e9c4.gif" style="vertical-align:-6px" width="30"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(5)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;int(sech(x)^2,x);# what I expected&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="tanh(x)" height="23" src="/view.aspx?sf=243763_question/7169efc52240aa6c8592ebb2d061d370.gif" style="vertical-align:-6px" width="51"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(6)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;input name="sequence" type="hidden" value="1"&gt; &lt;input name="cmd" type="hidden" value="none"&gt;&lt;/form&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243763_question/Integrating_D_tanh.mw"&gt;Download Integrating_D_tanh.mw&lt;/a&gt;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;&lt;span style="font-size:16px;"&gt;I could not figure out why Maple does not return tanh. Instead a complex valued function for real arguments is returned.&amp;nbsp;This is not recent. I tried down to Maple 2020. &amp;nbsp;Is that correct? &lt;/span&gt;&lt;/p&gt;

&lt;form name="worksheet_form"&gt;&lt;input name="md.ref" type="hidden" value="3AF5310C2A80DEFF00030438D89D30D1"&gt;
&lt;table align="center" width="768"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;
			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#000000;font-size: 91%;font-family: DejaVu Sans;font-weight:normal;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;D(tanh);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;plot(%)&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="-tanh^2+1" height="27" src="/view.aspx?sf=243763_question/de762d9d8e2b0326912a63a880272bb9.gif" style="vertical-align:-6px" width="74"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img align="middle" height="500" src="/view.aspx?sf=243763_question/2a413cadc028447fa1ec5240ae077a6e.gif" style="border:none" width="500"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;int(D(tanh)(x),x);# I expected tanh&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;plot(%);# ok, no plot for real valued x&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="x+tanh(x)+(1/2)*ln(tanh(x)-1)-(1/2)*ln(tanh(x)+1)" height="42" src="/view.aspx?sf=243763_question/605091900227684907395f3c484eedab.gif" style="vertical-align:-16px" width="331"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;a href="http://www.maplesoft.com/support/help/errors/view.aspx?path=Warning,%20unable%20to%20evaluate%20the%20function%20to%20numeric%20values%20in%20the%20region%3B%20complex%20values%20were%20detected"&gt;&lt;span style="color:#0000ff;font-size: 100%;font-family: monospace,monospace;font-weight:normal;font-style:normal;"&gt;&lt;u&gt;Warning, unable to evaluate the function to numeric values in the region; complex values were detected&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;int(D(tanh)(x),x=0..infinity);# this result seems to be known in advance and fits to the above plot&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="1" height="23" src="/view.aspx?sf=243763_question/10fbd6384c2874ed544db80c49f21f09.gif" style="vertical-align:-6px" width="13"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(1)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;int(D(tanh)(x),x=a..b);&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;eval(%,[a=0,b=infinity]);# I expected 1 from &lt;/span&gt;&lt;span style="color:#000000; font-weight:bold; font-style:normal;"&gt;(1)&lt;/span&gt;&lt;br&gt;
						&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;eval(%%,[a=0,b=50.]);# retruns complex for small values&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="-a-tanh(a)-(1/2)*ln(tanh(a)-1)+(1/2)*ln(tanh(a)+1)+b+tanh(b)+(1/2)*ln(tanh(b)-1)-(1/2)*ln(tanh(b)+1)" height="42" src="/view.aspx?sf=243763_question/31e0e65446db91c8995a326a94b371cb.gif" style="vertical-align:-16px" width="694"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;a href="http://www.maplesoft.com/support/help/errors/view.aspx?path=Error,%20(in%20ln)%20numeric%20exception%3A%20division%20by%20zero"&gt;&lt;span style="color:#ab29cc;font-size: 100%;font-family: monospace,monospace;font-weight:normal;font-style:normal;"&gt;&lt;u&gt;Error, (in ln) numeric exception: division by zero&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="-Float(infinity)-((1/2)*I)*Pi" height="45" src="/view.aspx?sf=243763_question/975c0e0420c066f0a26ffef647f1f4a0.gif" style="vertical-align:-16px" width="119"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(2)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;evalf(int(D(tanh)(x),x=0..50))&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="1.000000000" height="23" src="/view.aspx?sf=243763_question/0e7a3df5a5b1765e3f1f6988742c3e7c.gif" style="vertical-align:-6px" width="84"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(3)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#000000;font-size: 91%;font-family: DejaVu Sans;font-weight:normal;font-style:normal;"&gt;Let&amp;#39;s try integrating the identical expression sech^2&lt;/span&gt;&lt;/p&gt;

			&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#000000;font-size: 91%;font-family: DejaVu Sans;font-weight:normal;font-style:normal;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="tanh(x)" height="23" src="/view.aspx?sf=243763_question/3e7176d66ec7495048289fe1889bb5b0.gif" style="vertical-align:-6px" width="51"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(4)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;is((sech^2=1-tanh^2)(x));# check identity&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="true" height="23" src="/view.aspx?sf=243763_question/7c8c760c26e6bef85381bb9f40f4e9c4.gif" style="vertical-align:-6px" width="30"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(5)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table style="margin-left:0px;margin-right:0px"&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/td&gt;
						&lt;td&gt;
						&lt;p align="left" style="margin:0 0 0 0; padding-top:3px; padding-bottom:3px"&gt;&lt;span style="color:#78000e;font-size: 100%;font-family: monospace,monospace;font-weight:bold;font-style:normal;"&gt;int(sech(x)^2,x);# what I expected&lt;/span&gt;&lt;/p&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="tanh(x)" height="23" src="/view.aspx?sf=243763_question/7169efc52240aa6c8592ebb2d061d370.gif" style="vertical-align:-6px" width="51"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(6)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;input name="sequence" type="hidden" value="1"&gt; &lt;input name="cmd" type="hidden" value="none"&gt;&lt;/form&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243763_question/Integrating_D_tanh.mw"&gt;Download Integrating_D_tanh.mw&lt;/a&gt;&lt;/p&gt;
</description>
      <guid>243763</guid>
      <pubDate>Thu, 03 Sep 2026 21:05:35 Z</pubDate>
      <itunes:author>C_R</itunes:author>
      <author>C_R</author>
    </item>
    <item>
      <title>Numeric formatting ignored</title>
      <link>http://www.mapleprimes.com/questions/243762-Numeric-Formatting-Ignored?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;I am experiencing what appears to be a problem with &lt;strong&gt;Numeric Formatting&lt;/strong&gt; in Maple 2026.&lt;/p&gt;

&lt;p&gt;I have a worksheet where I calculate a numerical value using &lt;code&gt;evalf&lt;/code&gt;, for example:&lt;/p&gt;

&lt;p&gt;evalf(1 - (3.7*90)/(10.4*3600))&lt;/p&gt;

&lt;p&gt;which returns&lt;/p&gt;

&lt;p&gt;0.4663461539&lt;/p&gt;

&lt;p&gt;When I select the output and use the &lt;strong&gt;Context Panel &amp;rarr; Numeric Format&lt;/strong&gt;, for example:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Percent&lt;/li&gt;
	&lt;li&gt;2 decimal places&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;the preview in the math container changes accordingly (e.g. showing something like &lt;code&gt;0.45&lt;/code&gt;), but the actual numerical output below still displays as&lt;/p&gt;

&lt;p&gt;0.4663461539&lt;/p&gt;

&lt;p&gt;Changing the number format, decimal places, scientific notation, etc. seems to have no effect on the displayed output.&lt;/p&gt;

&lt;p&gt;Even if not using&amp;nbsp; &lt;code&gt;evalf.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Is this the expected behavior in Maple 2026?&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Does Numeric&amp;nbsp;Formatting only apply to certain types of expressions or math containers?&lt;/li&gt;
	&lt;li&gt;Is there a known issue with formatting numerical output generated by &lt;code&gt;evalf&lt;/code&gt;?&lt;/li&gt;
	&lt;li&gt;Am I missing a setting that enables formatting of worksheet output?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I have attached a screenshot illustrating the problem.&lt;/p&gt;

&lt;p&gt;Any help or clarification would be appreciated.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;I am experiencing what appears to be a problem with &lt;strong&gt;Numeric Formatting&lt;/strong&gt; in Maple 2026.&lt;/p&gt;

&lt;p&gt;I have a worksheet where I calculate a numerical value using &lt;code&gt;evalf&lt;/code&gt;, for example:&lt;/p&gt;

&lt;p&gt;evalf(1 - (3.7*90)/(10.4*3600))&lt;/p&gt;

&lt;p&gt;which returns&lt;/p&gt;

&lt;p&gt;0.4663461539&lt;/p&gt;

&lt;p&gt;When I select the output and use the &lt;strong&gt;Context Panel &amp;rarr; Numeric Format&lt;/strong&gt;, for example:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Percent&lt;/li&gt;
	&lt;li&gt;2 decimal places&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;the preview in the math container changes accordingly (e.g. showing something like &lt;code&gt;0.45&lt;/code&gt;), but the actual numerical output below still displays as&lt;/p&gt;

&lt;p&gt;0.4663461539&lt;/p&gt;

&lt;p&gt;Changing the number format, decimal places, scientific notation, etc. seems to have no effect on the displayed output.&lt;/p&gt;

&lt;p&gt;Even if not using&amp;nbsp; &lt;code&gt;evalf.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Is this the expected behavior in Maple 2026?&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Does Numeric&amp;nbsp;Formatting only apply to certain types of expressions or math containers?&lt;/li&gt;
	&lt;li&gt;Is there a known issue with formatting numerical output generated by &lt;code&gt;evalf&lt;/code&gt;?&lt;/li&gt;
	&lt;li&gt;Am I missing a setting that enables formatting of worksheet output?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I have attached a screenshot illustrating the problem.&lt;/p&gt;

&lt;p&gt;Any help or clarification would be appreciated.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;
</description>
      <guid>243762</guid>
      <pubDate>Thu, 03 Sep 2026 09:03:51 Z</pubDate>
      <itunes:author>Thomasbk</itunes:author>
      <author>Thomasbk</author>
    </item>
    <item>
      <title>Eliminating a discontinuity in an integrand?</title>
      <link>http://www.mapleprimes.com/questions/243760-Eliminating-A-Discontinuity-In-An-Integrand?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;I would like to calculate a definite integral in the attached file. Doing so numerically is straightforward. However, a symbolic approach initially fails due to three points of discontinuity in the integrand. Yet, these points can be remedied by taking limits. How can the domain in Maple be extended using these limits to achieve continuity across the entire domain?&lt;/p&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243760_question/testint.mw"&gt;testint.mw&lt;/a&gt;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;I would like to calculate a definite integral in the attached file. Doing so numerically is straightforward. However, a symbolic approach initially fails due to three points of discontinuity in the integrand. Yet, these points can be remedied by taking limits. How can the domain in Maple be extended using these limits to achieve continuity across the entire domain?&lt;/p&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243760_question/testint.mw"&gt;testint.mw&lt;/a&gt;&lt;/p&gt;
</description>
      <guid>243760</guid>
      <pubDate>Wed, 02 Sep 2026 13:26:38 Z</pubDate>
      <itunes:author>Alfred_F</itunes:author>
      <author>Alfred_F</author>
    </item>
    <item>
      <title>Mathematical reformulation and performance</title>
      <link>http://www.mapleprimes.com/posts/235568-Mathematical-Reformulation-And-Performance?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;One thing I&amp;rsquo;ve been experimenting with recently is how much the &lt;em&gt;form&lt;/em&gt; of an expression can affect Maple&amp;rsquo;s performance.&lt;/p&gt;

&lt;p&gt;For example, two mathematically equivalent expressions can behave very differently when passed to &lt;code&gt;simplify&lt;/code&gt;, &lt;code&gt;solve&lt;/code&gt;, &lt;code&gt;dsolve&lt;/code&gt;, or numerical procedures.&lt;/p&gt;

&lt;p&gt;A useful workflow is to simplify and restructure the problem &lt;strong&gt;before&lt;/strong&gt; asking Maple to do the expensive part.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;pre&gt;
&lt;code&gt;restart:

expr := (x^2-1)/(x-1):

simplify(expr);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;gives a much simpler expression, but in larger problems the same idea can make a surprisingly big difference.&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;ve also found it useful to inspect intermediate expressions rather than immediately running a large command:&lt;/p&gt;

&lt;pre&gt;
&lt;code&gt;interface(showassumed=0):

simplify(expr, symbolic);
factor(expr);
expand(expr);
collect(expr, x);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The interesting part is that Maple isn&amp;#39;t necessarily &amp;ldquo;slow&amp;rdquo; because the underlying mathematics is difficult. Sometimes it is simply being asked to work with a representation that hides the structure of the problem.&lt;/p&gt;

&lt;p&gt;For large symbolic calculations, I now tend to think of Maple as having two stages:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Prepare the mathematics&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Reduce, factor, substitute, collect terms, exploit assumptions, and remove unnecessary complexity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Let Maple perform the expensive computation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Only after the expression has been put into a useful form.&lt;/p&gt;

&lt;p&gt;This seems particularly important with large nonlinear systems, symbolic integration, and differential equations.&lt;/p&gt;

&lt;p&gt;A small change in representation can sometimes turn a calculation that takes minutes into one that takes seconds.&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;d be interested in seeing more examples where Maple&amp;#39;s performance was improved simply by changing the mathematical representation of the problem.&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;One thing I&amp;rsquo;ve been experimenting with recently is how much the &lt;em&gt;form&lt;/em&gt; of an expression can affect Maple&amp;rsquo;s performance.&lt;/p&gt;

&lt;p&gt;For example, two mathematically equivalent expressions can behave very differently when passed to &lt;code inline=""&gt;simplify&lt;/code&gt;, &lt;code inline=""&gt;solve&lt;/code&gt;, &lt;code inline=""&gt;dsolve&lt;/code&gt;, or numerical procedures.&lt;/p&gt;

&lt;p&gt;A useful workflow is to simplify and restructure the problem &lt;strong&gt;before&lt;/strong&gt; asking Maple to do the expensive part.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;pre&gt;
&lt;code&gt;restart:

expr := (x^2-1)/(x-1):

simplify(expr);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;gives a much simpler expression, but in larger problems the same idea can make a surprisingly big difference.&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;ve also found it useful to inspect intermediate expressions rather than immediately running a large command:&lt;/p&gt;

&lt;pre&gt;
&lt;code&gt;interface(showassumed=0):

simplify(expr, symbolic);
factor(expr);
expand(expr);
collect(expr, x);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The interesting part is that Maple isn&amp;#39;t necessarily &amp;ldquo;slow&amp;rdquo; because the underlying mathematics is difficult. Sometimes it is simply being asked to work with a representation that hides the structure of the problem.&lt;/p&gt;

&lt;p&gt;For large symbolic calculations, I now tend to think of Maple as having two stages:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Prepare the mathematics&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Reduce, factor, substitute, collect terms, exploit assumptions, and remove unnecessary complexity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Let Maple perform the expensive computation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Only after the expression has been put into a useful form.&lt;/p&gt;

&lt;p&gt;This seems particularly important with large nonlinear systems, symbolic integration, and differential equations.&lt;/p&gt;

&lt;p&gt;A small change in representation can sometimes turn a calculation that takes minutes into one that takes seconds.&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;d be interested in seeing more examples where Maple&amp;#39;s performance was improved simply by changing the mathematical representation of the problem.&lt;/p&gt;
</description>
      <guid>235568</guid>
      <pubDate>Tue, 01 Sep 2026 17:02:32 Z</pubDate>
      <itunes:author>tommycoupe</itunes:author>
      <author>tommycoupe</author>
    </item>
    <item>
      <title>dsolve series, number of terms?</title>
      <link>http://www.mapleprimes.com/questions/243758-Dsolve-Series-Number-Of-Terms?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;I would like to solve a differential equation using a series expansion in the attached file for practice purposes. How can the number of terms in the series solution be adjusted? I couldn&amp;#39;t find anything about this in the help text.&lt;br&gt;
BTW:&lt;br&gt;
The differential equation is exceptionally tricky for a symbolic solution ;-) .&lt;/p&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243758_question/testdgl-1.mw"&gt;testdgl-1.mw&lt;/a&gt;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;I would like to solve a differential equation using a series expansion in the attached file for practice purposes. How can the number of terms in the series solution be adjusted? I couldn&amp;#39;t find anything about this in the help text.&lt;br&gt;
BTW:&lt;br&gt;
The differential equation is exceptionally tricky for a symbolic solution ;-) .&lt;/p&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243758_question/testdgl-1.mw"&gt;testdgl-1.mw&lt;/a&gt;&lt;/p&gt;
</description>
      <guid>243758</guid>
      <pubDate>Mon, 31 Aug 2026 08:46:20 Z</pubDate>
      <itunes:author>Alfred_F</itunes:author>
      <author>Alfred_F</author>
    </item>
    <item>
      <title>Drawing planes and points</title>
      <link>http://www.mapleprimes.com/questions/243757-Drawing-Planes-And-Points?ref=Feed:MaplePrimes:New%20Questions%20&amp;amp;%20Posts</link>
      <itunes:summary>&lt;p&gt;Dear Maple users&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;I wanted Maple to draw two planes in 3D with some points on each plane. Each plane are given by an equation of the form a*x+b*y+c*z+d=0.&amp;nbsp;I know there are a number of options. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe"&gt;1. i&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;mplicitplot3d.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;2. Isolate z in the equation in order to&amp;nbsp;plot the plane as the graph of a function of two variables using plot3d.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;3. Find two vectors orthogonal to the normal vector and create a plot of a parametrized surface using plot3d.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;4. Use the command PlanePlot from the Student:-LinearAlgebra package.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe"&gt;The first option delivers an ugly result due to the grid. It also requires quite a lot of computation internally. The second option can be used, but one need to isolate z in the equation (and what if the plane has the equation z = constant). Option three also is OK, but again require some calculations. The fourth option I just found and it is quite interesting. Unfortunately my points did fall beyond the small square representing the plane, and it seems like there is no way to enlarge this square.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe"&gt;I ended up choosing option 2 and put some transparency on each plane. I am just puzzled why it is so&amp;nbsp;&lt;/span&gt;laborious to plot those planes and points. GeoGebra could do it right away.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Or maybe I have overlooked something?&lt;/p&gt;

&lt;p&gt;KInd regards,&lt;/p&gt;

&lt;p&gt;Erik&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;Dear Maple users&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe" jsaction="mouseup:Sxi9L,BR6jm; mousedown:qjlr0e" jsname="jqKxS" lang="en"&gt;&lt;span class="jCAhz ChMk0b" jsaction="agoMJf:PFBcW;MZfLnc:P7O7bd;nt4Alf:pvnm0e,pfE8Hb,PFBcW;B01qod:dJXsye;H1e5u:iXtTIf;lYIUJf:hij5Wb;tSpjdb:qAKMYb" jscontroller="BiTO4b" jsname="txFAF"&gt;&lt;span class="ryNqvb" jsaction="click:PDNqTc,GFf3ac,qlVvte;contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:PDNqTc,c2aHje" jsname="W297wb"&gt;I wanted Maple to draw two planes in 3D with some points on each plane. Each plane are given by an equation of the form a*x+b*y+c*z+d=0.&amp;nbsp;I know there are a number of options. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe" jsaction="mouseup:Sxi9L,BR6jm; mousedown:qjlr0e" jsname="jqKxS" lang="en"&gt;1. i&lt;span class="jCAhz ChMk0b" jsaction="agoMJf:PFBcW;MZfLnc:P7O7bd;nt4Alf:pvnm0e,pfE8Hb,PFBcW;B01qod:dJXsye;H1e5u:iXtTIf;lYIUJf:hij5Wb;tSpjdb:qAKMYb" jscontroller="BiTO4b" jsname="txFAF"&gt;&lt;span class="ryNqvb" jsaction="click:PDNqTc,GFf3ac,qlVvte;contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:PDNqTc,c2aHje" jsname="W297wb"&gt;mplicitplot3d.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe" jsaction="mouseup:Sxi9L,BR6jm; mousedown:qjlr0e" jsname="jqKxS" lang="en"&gt;&lt;span class="jCAhz ChMk0b" jsaction="agoMJf:PFBcW;MZfLnc:P7O7bd;nt4Alf:pvnm0e,pfE8Hb,PFBcW;B01qod:dJXsye;H1e5u:iXtTIf;lYIUJf:hij5Wb;tSpjdb:qAKMYb" jscontroller="BiTO4b" jsname="txFAF"&gt;&lt;span class="ryNqvb" jsaction="click:PDNqTc,GFf3ac,qlVvte;contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:PDNqTc,c2aHje" jsname="W297wb"&gt;2. Isolate z in the equation in order to&amp;nbsp;plot the plane as the graph of a function of two variables using plot3d.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe" jsaction="mouseup:Sxi9L,BR6jm; mousedown:qjlr0e" jsname="jqKxS" lang="en"&gt;&lt;span class="jCAhz ChMk0b" jsaction="agoMJf:PFBcW;MZfLnc:P7O7bd;nt4Alf:pvnm0e,pfE8Hb,PFBcW;B01qod:dJXsye;H1e5u:iXtTIf;lYIUJf:hij5Wb;tSpjdb:qAKMYb" jscontroller="BiTO4b" jsname="txFAF"&gt;&lt;span class="ryNqvb" jsaction="click:PDNqTc,GFf3ac,qlVvte;contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:PDNqTc,c2aHje" jsname="W297wb"&gt;3. Find two vectors orthogonal to the normal vector and create a plot of a parametrized surface using plot3d.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe" jsaction="mouseup:Sxi9L,BR6jm; mousedown:qjlr0e" jsname="jqKxS" lang="en"&gt;&lt;span class="jCAhz ChMk0b" jsaction="agoMJf:PFBcW;MZfLnc:P7O7bd;nt4Alf:pvnm0e,pfE8Hb,PFBcW;B01qod:dJXsye;H1e5u:iXtTIf;lYIUJf:hij5Wb;tSpjdb:qAKMYb" jscontroller="BiTO4b" jsname="txFAF"&gt;&lt;span class="ryNqvb" jsaction="click:PDNqTc,GFf3ac,qlVvte;contextmenu:Nqw7Te,QP7LD; mouseout:Nqw7Te; mouseover:PDNqTc,c2aHje" jsname="W297wb"&gt;4. Use the command PlanePlot from the Student:-LinearAlgebra package.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe" jsaction="mouseup:Sxi9L,BR6jm; mousedown:qjlr0e" jsname="jqKxS" lang="en"&gt;The first option delivers an ugly result due to the grid. It also requires quite a lot of computation internally. The second option can be used, but one need to isolate z in the equation (and what if the plane has the equation z = constant). Option three also is OK, but again require some calculations. The fourth option I just found and it is quite interesting. Unfortunately my points did fall beyond the small square representing the plane, and it seems like there is no way to enlarge this square.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class="HwtZe" jsaction="mouseup:Sxi9L,BR6jm; mousedown:qjlr0e" jsname="jqKxS" lang="en"&gt;I ended up choosing option 2 and put some transparency on each plane. I am just puzzled why it is so&amp;nbsp;&lt;/span&gt;laborious to plot those planes and points. GeoGebra could do it right away.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Or maybe I have overlooked something?&lt;/p&gt;

&lt;p&gt;KInd regards,&lt;/p&gt;

&lt;p&gt;Erik&lt;/p&gt;
</description>
      <guid>243757</guid>
      <pubDate>Sat, 29 Aug 2026 21:56:03 Z</pubDate>
      <itunes:author>erik10</itunes:author>
      <author>erik10</author>
    </item>
  </channel>
</rss>