<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Maximizing a derivative in Maple</title>
    <link>http://www.mapleprimes.com/questions/140402-Maximizing-A-Derivative-In-Maple</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 14:15:06 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 14:15:06 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Maximizing a derivative in Maple</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Maximizing a derivative in Maple</title>
      <link>http://www.mapleprimes.com/questions/140402-Maximizing-A-Derivative-In-Maple</link>
    </image>
    <item>
      <title>Numerical approach</title>
      <link>http://www.mapleprimes.com/questions/140402-Maximizing-A-Derivative-In-Maple?ref=Feed:MaplePrimes:Maximizing a derivative in Maple:Comments#answer140416</link>
      <itunes:summary>&lt;p&gt;You must use a numerical approach. One that seems to work OK here is infnorm from the numapprox package.&lt;/p&gt;
&lt;p&gt;infnorm finds the maximum of the absolute value, so you have to take care of that problem:&lt;/p&gt;
&lt;p&gt;restart;&lt;br&gt;u:=diff(ln(cosh(t)),t$15);&lt;br&gt;Digits:=20: &lt;br&gt;M:=numapprox:-infnorm(u,t=0..50,'tm');&lt;br&gt;tm;&lt;br&gt;eval(u,t=%);&lt;br&gt;#The infnorm was attained at a value of t for which u is negative. Therefore the next step:&lt;br&gt;numapprox:-infnorm(u+M,t=0..50,'tm')-M;&lt;br&gt;tm;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;You must use a numerical approach. One that seems to work OK here is infnorm from the numapprox package.&lt;/p&gt;
&lt;p&gt;infnorm finds the maximum of the absolute value, so you have to take care of that problem:&lt;/p&gt;
&lt;p&gt;restart;&lt;br&gt;u:=diff(ln(cosh(t)),t$15);&lt;br&gt;Digits:=20: &lt;br&gt;M:=numapprox:-infnorm(u,t=0..50,'tm');&lt;br&gt;tm;&lt;br&gt;eval(u,t=%);&lt;br&gt;#The infnorm was attained at a value of t for which u is negative. Therefore the next step:&lt;br&gt;numapprox:-infnorm(u+M,t=0..50,'tm')-M;&lt;br&gt;tm;&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description>
      <guid>140416</guid>
      <pubDate>Fri, 16 Nov 2012 05:38:21 Z</pubDate>
      <itunes:author>Preben Alsholm</itunes:author>
      <author>Preben Alsholm</author>
    </item>
    <item>
      <title>exact?</title>
      <link>http://www.mapleprimes.com/questions/140402-Maximizing-A-Derivative-In-Maple?ref=Feed:MaplePrimes:Maximizing a derivative in Maple:Comments#answer140424</link>
      <itunes:summary>&lt;p&gt;It looks doubtful that an exact result is forthcoming. But (effectively) you can compute an arbitrary number digits of an approximate floating-point solution.&lt;/p&gt;
&lt;pre&gt;restart:

r:=arccosh(RootOf(8*_Z^7-65532*_Z^6+7108920*_Z^5-123513390*_Z^4
                  +697296600*_Z^3-1645944300*_Z^2+1702701000*_Z
                  -638512875, index = 2)^(1/2)):

evalf[20](r);

                           0.47649585654800266209

u:=diff(ln(cosh(t)),t$15):

evalf[100]( eval(u,t=r) ): # for better accuracy

evalf[10](%); # and displayed shorter

                                             7
                               9.858206439 10 

Optimization:-Maximize( u, t=0..50, method=branchandbound,
                        evaluationlimit=1000 );

               [                   7                         ]
               [9.85820643880540 10 , [t = 0.476495856343965]]
&lt;/pre&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;It looks doubtful that an exact result is forthcoming. But (effectively) you can compute an arbitrary number digits of an approximate floating-point solution.&lt;/p&gt;
&lt;pre&gt;restart:

r:=arccosh(RootOf(8*_Z^7-65532*_Z^6+7108920*_Z^5-123513390*_Z^4
                  +697296600*_Z^3-1645944300*_Z^2+1702701000*_Z
                  -638512875, index = 2)^(1/2)):

evalf[20](r);

                           0.47649585654800266209

u:=diff(ln(cosh(t)),t$15):

evalf[100]( eval(u,t=r) ): # for better accuracy

evalf[10](%); # and displayed shorter

                                             7
                               9.858206439 10 

Optimization:-Maximize( u, t=0..50, method=branchandbound,
                        evaluationlimit=1000 );

               [                   7                         ]
               [9.85820643880540 10 , [t = 0.476495856343965]]
&lt;/pre&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>140424</guid>
      <pubDate>Fri, 16 Nov 2012 12:15:37 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>polynomial</title>
      <link>http://www.mapleprimes.com/questions/140402-Maximizing-A-Derivative-In-Maple?ref=Feed:MaplePrimes:Maximizing a derivative in Maple:Comments#answer140436</link>
      <itunes:summary>&lt;pre&gt;'diff(ln(cosh(t)),t$15)'; &lt;br&gt;`` = convert(%, tanh);&lt;br&gt;&lt;br&gt;subs(tanh(t)=x, %): factor(%): sort(%); &lt;br&gt;P:=unapply(rhs(%),x);&lt;br&gt;plot(P(x), x=-1 .. 1);&lt;br&gt;&lt;br&gt;Now find the maximum in x = tanh(t), which means to find D(P)(x)=0&lt;br&gt;and then test for the second derivative.&lt;br&gt;&lt;br&gt;I get x0 = -RootOf(-929569+50307087*_Z-507350025*_Z^2+2087700615*_Z^3-&lt;br&gt;4339860525*_Z^4+4838508675*_Z^5-2766889125*_Z^6+638512875*_Z^7,index = 1)^(1/2)&lt;br&gt;&lt;br&gt;and the maximum as ~ 184543792.966350, x0 ~ -0.15, t0 ~ -.153487305042586.&lt;br&gt;&lt;br&gt;The derivative of P is irreducible (in terms of x^2), so the root will not be&lt;br&gt;in more simple form without a good idea.&lt;/pre&gt;</itunes:summary>
      <description>&lt;pre&gt;'diff(ln(cosh(t)),t$15)'; &lt;br&gt;`` = convert(%, tanh);&lt;br&gt;&lt;br&gt;subs(tanh(t)=x, %): factor(%): sort(%); &lt;br&gt;P:=unapply(rhs(%),x);&lt;br&gt;plot(P(x), x=-1 .. 1);&lt;br&gt;&lt;br&gt;Now find the maximum in x = tanh(t), which means to find D(P)(x)=0&lt;br&gt;and then test for the second derivative.&lt;br&gt;&lt;br&gt;I get x0 = -RootOf(-929569+50307087*_Z-507350025*_Z^2+2087700615*_Z^3-&lt;br&gt;4339860525*_Z^4+4838508675*_Z^5-2766889125*_Z^6+638512875*_Z^7,index = 1)^(1/2)&lt;br&gt;&lt;br&gt;and the maximum as ~ 184543792.966350, x0 ~ -0.15, t0 ~ -.153487305042586.&lt;br&gt;&lt;br&gt;The derivative of P is irreducible (in terms of x^2), so the root will not be&lt;br&gt;in more simple form without a good idea.&lt;/pre&gt;</description>
      <guid>140436</guid>
      <pubDate>Fri, 16 Nov 2012 19:10:41 Z</pubDate>
      <itunes:author>Axel Vogt</itunes:author>
      <author>Axel Vogt</author>
    </item>
  </channel>
</rss>