nm

11643 Reputation

20 Badges

13 years, 144 days

MaplePrimes Activity


These are questions asked by nm

Could someone please check if Maple 2025.1 gives this error?  I only have Maple 2025.2 (is there a way to install Maple 2025.1 on same PC, after installing Maple 2025.2? Will Maple complain or remove Maple 2025.2 if I do this? Can I use same activation key to do this? I only have one.

Will call support and ask them on monday. This way I can check myself from now on.

Calling dsolve on an ode gives Error, (in dsolve) improper op or subscript selector which comes from 

             Computing canonical coordinates for the symmetry [x*(x^2+y^2+a), -y*(-x^2-y^2+a)]

Worksheet below. 

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.2, Windows 10, November 11 2025 Build ID 1971053`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1881 and is the same as the version installed in this computer, created 2025, October 7, 16:4 hours Pacific Time.`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

libname;

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Users\me\maple\toolbox\2025\Maple Customer Support Updates\lib", "C:\Program Files\Maple 2025\lib"

ode:=x*y(x)*diff(y(x),x)^2+(a+x^2-y(x)^2)*diff(y(x),x)-y(x)*x = 0;

x*y(x)*(diff(y(x), x))^2+(a+x^2-y(x)^2)*(diff(y(x), x))-y(x)*x = 0

dsolve(ode);

Error, (in dsolve) improper op or subscript selector

infolevel[dsolve]:=5;

5

dsolve(ode);

Methods for first order ODEs:

   *** Sublevel 2 ***

   Methods for first order ODEs:

   -> Solving 1st order ODE of high degree, 1st attempt

   trying 1st order WeierstrassP solution for high degree ODE

   trying 1st order WeierstrassPPrime solution for high degree ODE

   trying 1st order JacobiSN solution for high degree ODE

   trying 1st order ODE linearizable_by_differentiation

   trying differential order: 1; missing variables

   trying simple symmetries for implicit equations

   Successful isolation of dy/dx: 2 solutions were found. Trying to solve each resulting ODE.

      *** Sublevel 3 ***

      Methods for first order ODEs:

      --- Trying classification methods ---

      trying homogeneous types:

      trying exact

      Looking for potential symmetries

      trying an equivalence to an Abel ODE

      trying 1st order ODE linearizable_by_differentiation

   -> Solving 1st order ODE of high degree, Lie methods, 1st trial

    -> Computing symmetries using: way = 3

[x^3+x*y^2+a*x, x^2*y+y^3-a*y]

    <- successful computation of symmetries.

 1st order, trying reduction of order with given symmetries:

[x*(x^2+y^2+a), -y*(-x^2-y^2+a)]

   1st order, trying the canonical coordinates of the invariance group

   -> Computing canonical coordinates for the symmetry [x*(x^2+y^2+a), -y*(-x^2-y^2+a)]

Error, (in dsolve) improper op or subscript selector

 

 

Download dsolve_gives_parsing_error_maple_2025_2_nov_20_2025.mw

This internal error happens even if Physics or Support tools are not in libname.

Do not know if this is new or not.

I have found about 12 Maple crashes so far in just 2 days running a test in Maple 2025.2

But this one I am not sure if it is new or not as never seen it before.

Could someone please just run this in Maple 2025.1 and see if you get same crash? So I know if it is new or not. Only have Maple 2025.2 on this new PC.

Calling solve causes Maple server to crash. Save your work before just in case.

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.2, Windows 10, November 11 2025 Build ID 1971053`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1881 and is the same as the version installed in this computer, created 2025, October 7, 16:4 hours Pacific Time.`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

sol:=ln( (y-1)^(1/3)* (y^2+y+1)^(1/3) ) - ln(y) = 2/5* ln(t^2+1)+_C1;

ln((y-1)^(1/3)*(y^2+y+1)^(1/3))-ln(y) = (2/5)*ln(t^2+1)+_C1

infolevel[solve]:=5;

5

solve( sol,y);

Main: Entering solver with 1 equation in 1 variable

Dispatch: dispatching to Radicals handler

Transformer:   solving for linear equation in y

Recurse: recursively solving 1 equations and 4 inequations in 1 variables

Dispatch: dispatching to ln handler (extension)

Dispatch: logarithm substitution _S000002 = ln(_S000001)

Recurse: recursively solving 1 equations and 4 inequations in 1 variables

Dispatch: dispatching to ln handler (extension)

Dispatch: logarithm substitution _S000003 = ln(t^2+1)

Transformer:   solving for linear equation in _S000003

Recurse: recursively solving 1 equations and 3 inequations in 1 variables

Dispatch: dispatching to ln handler (extension)

Dispatch: logarithm substitution _S000004 = ln(exp(_S000002)^3+1)

Recurse: recursively solving 2 equations and 3 inequations in 2 variables

Dispatch: dispatching to ln handler (extension)

Dispatch: logarithm substitution _S000005 = ln(exp(_S000002)^6+3*exp(_S000002)^3+3)

Recurse: recursively solving 3 equations and 3 inequations in 3 variables

Dispatch: dispatching to Exponentials handler

Transformer:   solving for linear equation in _S000005

Recurse: recursively solving 3 equations and 4 inequations in 4 variables

Dispatch: dispatching to Exponentials handler

Transformer:   solving for linear equation in _S000004

Recurse: recursively solving 3 equations and 5 inequations in 5 variables

Dispatch: dispatching to Exponentials handler

Transformer:   solving for linear equation in _S000002

Recurse: recursively solving 3 equations and 6 inequations in 6 variables

Dispatch: dispatching to Rename handler

Dispatch: renaming exp(5/2*_C1) = _S000012, exp(-5/2*_C1) = 1/_S000012

Recurse: recursively solving 3 equations and 6 inequations in 6 variables

Dispatch: handling polynomials of the form a*x^n-b

Dispatch: dispatching to PolynomialSystem handler

Main: polynomial system split into 1 parts under preprocessing

Main: using RegularChains based methods

SolverVariableOrder: using the variable order  _S000008 > _S000006 > _S000010

TriangularDecomposition: using deterministic algorithm for decomposition

Download calling_solve_crashes_maple_2025_2_nov_28_2025.mw

Note that this crash happens even when removing Physics update and SupportTools from libname.

I only have Maple 2025.2 on this new PC. Could someone just run this code on earlier Maple version and see if they get same crash?

I am finding many crashes in Maple 2025.2 (3 so far) and I am only 25% in my test.  But not sure if this is new or was there in Maple 2025.1 or earlier. 

I am trying to document all the new problems in Maple 2025.2.

Here is the worksheet (save all your work just in case).

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.2, Windows 10, November 11 2025 Build ID 1971053`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1881 and is the same as the version installed in this computer, created 2025, October 7, 16:4 hours Pacific Time.`

ode:=(4+2*x-y(x))*diff(y(x),x)+5+x-2*y(x) = 0;

(4+2*x-y(x))*(diff(y(x), x))+5+x-2*y(x) = 0

sol:=y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)
*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)
*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*
_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-\
14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*
exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^
4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*
exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp
(6*_C1));

y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp(6*_C1))

infolevel[odetest]:=5;

5

odetest(sol,ode);

odetest: Performing an implicit solution test

odetest: Trying to eliminate constants using the order: [_C1]

odetest: Trying to eliminate _C1

 

 

Download maple_crash_odetest_2025_2_nov_26_2025.mw

Update

Based on comment below, I just checked. If I remove "C:Usersmemaple\toolbox2025Maple Customer Support Updateslib" and "C:Usersmemaple\toolbox2025Physics Updateslib"  from libname, then the crash goes away !

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.2, Windows 10, November 11 2025 Build ID 1971053`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1881 and is the same as the version installed in this computer, created 2025, October 7, 16:4 hours Pacific Time.`

libname

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Users\me\maple\toolbox\2025\Maple Customer Support Updates\lib", "C:\Program Files\Maple 2025\lib"

libname:=libname[3];

"C:\Program Files\Maple 2025\lib"

ode:=(4+2*x-y(x))*diff(y(x),x)+5+x-2*y(x) = 0;

(4+2*x-y(x))*(diff(y(x), x))+5+x-2*y(x) = 0

sol:=y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)
*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)
*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*
_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-\
14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*
exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^
4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*
exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp
(6*_C1));

y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp(6*_C1))

infolevel[odetest]:=5;

5

odetest(sol,ode);

odetest: Performing an implicit solution test

odetest: Trying to eliminate constants using the order: [_C1]

odetest: Trying to eliminate _C1

odetest: Successful elimination of c__1

odetest: length of implicit solutions after isolating _Cn constants: 164

odetest: length after collecting objects and simplifying coefficients: 126

odetest: length after Solve w.r.t yn: 66

odetest: length after collect @ normal @ eval the ODE at the implicit solution: 0

Successful implicit test

0

 

 

Download maple_crash_odetest_2025_2_nov_26_2025_V2.mw

I also checked if libname had PHYSICS on it but no SUPPORT tools, and the crash also goes away. So the bug seems to be when adding SUPPORT tools. 


 

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.2, Windows 10, November 11 2025 Build ID 1971053`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1881 and is the same as the version installed in this computer, created 2025, October 7, 16:4 hours Pacific Time.`

libname

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Users\me\maple\toolbox\2025\Maple Customer Support Updates\lib", "C:\Program Files\Maple 2025\lib"

libname:=libname[1],libname[3]

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Program Files\Maple 2025\lib"

libname

"C:\Users\me\maple\toolbox\2025\Physics Updates\lib", "C:\Program Files\Maple 2025\lib"

ode:=(4+2*x-y(x))*diff(y(x),x)+5+x-2*y(x) = 0;

(4+2*x-y(x))*(diff(y(x), x))+5+x-2*y(x) = 0

sol:=y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)
*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)
*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*
_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-\
14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*
exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^
4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*
exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp
(6*_C1));

y(x) = ((2*(x+11)*(x+1)^4*exp(12*_C1)-29*(x+103/29)*(x+1)^2*exp(6*_C1)+27*x+81)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(-2*(x-4)*(x+1)^4*exp(12*_C1)-34*(x+1)^2*(x+67/17)*exp(6*_C1)+54*x+162)*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2-(x-1)*(x+1)^4*exp(12*_C1)-14*(x+1)^2*(x+29/7)*exp(6*_C1)+27*x+81)/((10*(x+1)^4*exp(12*_C1)+27-37*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^4+(5*(x+1)^4*exp(12*_C1)+54-50*(x+1)^2*exp(6*_C1))*RootOf(2+(exp(6*_C1)*x^2+2*exp(6*_C1)*x+exp(6*_C1)-1)*_Z^6+3*_Z^2)^2+(x+1)^4*exp(12*_C1)+27-22*(x+1)^2*exp(6*_C1))

infolevel[odetest]:=5;

5

odetest(sol,ode);

odetest: Performing an implicit solution test

odetest: Trying to eliminate constants using the order: [_C1]

odetest: Trying to eliminate _C1

odetest: Successful elimination of c__1

odetest: length of implicit solutions after isolating _Cn constants: 164

odetest: length after collecting objects and simplifying coefficients: 126

odetest: length after Solve w.r.t yn: 66

odetest: length after collect @ normal @ eval the ODE at the implicit solution: 0

Successful implicit test

0

 

 

Download maple_crash_odetest_2025_2_nov_26_2025_V3.mw

The crash only happens when SUPPORT tools is added:

Using Maple 2025.2, I need to run my test in command line (for other reasons).

Only problem is that plottools:-exportplot does not work as well as in the GUI.  The gridlines do not show.

I reported this to Maplesoft years ago. Was hoping may be it is fixed in Maple 2025.2 but it does not seem to be.

Anyone knows of a trick to show gridlines in plot (2D) when using cmaple.exe?

Here is example. Started cmaple.exe from command line (which on windows is 

c:/Program Files/Maple 2025/bin.X86_64_WINDOWS/cmaple.exe
> p:=plot(x^3, x = -8 .. 8, color = "blue",axis=[gridlines=[10,color="red"]]):
> plottools:-exportplot("filename2.png",p);

You might want to use setdirectory() to some folder such as c:\tmp to save the plot to.

But the plot is missing the gridlines

In the UI it looks like this

This is really a big problem for me. I have to run the program in command line, but the plots geneated from command line do not look as good as when running the same program in maplew.exe vs. cmaple.exe.

This is a problem in Maple for years and years and no one in Maplesoft seems to care to fix it.

So I am asking hoping someone will have a trick to make gridline show using cmaple.exe.

Updated

I just found the case number. Actually I only reported this to Maplesoft 6 months ago. I thought it was longer than this.

Maybe they will fix it in Maple 2026?

I know Maplesoft is very busy with A.I. stuff these days, but hopefully someone will be able to have 1-2 hrs spare time from AI work and look at this and fix it.

It should not be hard to fix I would imagine, since code works in worksheet so someone just needs to use /copy same code that works in worksheet and make sure it works in cmaple.exe

Case - 00177734 | exporting plot using command line maple 2025 losses gridlines.

Hello,

Thank you for contacting Maplesoft.

I have forwarded this inquiry to our Math Team / R&D Team. Once they review the situation and provide any further updates and/or insights, we will contact you. Thank you for your patience.

Best Regards,

Harish
Technical Support Analyst
Maplesoft
https://www.maplesoft.com

--------------- Original Message ---------------
Sent: 2025-04-01, 3:34 a.m.
To: support@maplesoft.com
Subject: exporting plot using command line maple 2025 losses gridlines.

When I export a plot to postscript using command line Maple 2025,
the generated plot is missing gridlines.

Same exact code executed inside GUI Maple 2025 shows the grid lines
as expected.

What to do to obtain same plot from command line Maple as from
the GUI?

I am using Linux Arch based distribution with Maple 2025 linux.

Here is the command I used

/home/me/maple2025/bin/maple A.mpl

Here is A.mpl

----------------------
p:=plot(25*t^2+10*t+20,
axes=boxed,
labels=[t,x(t)],
axis=[gridlines=[color=lightblue]],
'color' = 'red'):

plotsetup(ps, plotoutput="p.ps",plotoptions=`color,noborder`);
print(p);
------------------------

If you run the above, you will see p.ps file generated.
But looking at the plot inside it, shows no gridlines.

Could this be fixed or do I need different options to
make gridlines show running command line Maple?

I am trying to see if installing Physics update package will fix a problem I am having as described here by having a fix that maybe not included in Maple 2025.2

But I do not know how to do that. When doing Physics:-Version(); or Physics:-Version(latest); Maple says

             `The "Physics Updates" package is not available for the version of Maple under development`

Does this mean Physics update package is not needed in Maple 2025.2?  Otherwise, what are the instructions to install Physics package now?

May be someone could clarify the status of Physics package and if it is something that one should still install along with SupportTools which in Maple 2025.2 was there automatically and did not need to install it.

Update 

JUst verified that Physics update package V 1881 is still needed in Maple 2025.2 as it has important fixes not merged in Maple 2025.2.

To install Physics package in Maple 2025.2 had to click on the top right corner of the worksheet (the down arrow) near the "sign in".

Then go down to "packages" and select and click on the install button next to Physics package.  (first in list).

This will download and install it.

Now closed all of Maple and restarted it.

Now Physics package V 1881 is installed and have fixes in it that are missing from Maple 2025.2.  This is why my test was failing. Now the test do not fail.

So first time, the command Physics:-Version(latest) does not work. But from now on it should work.

I would have expected all fixes made in Physics update to have been merged into the new Maple release.

1 2 3 4 5 6 7 Last Page 2 of 205