Question: dsolve gives division by zero when using Lie method

DO not know if this is new in Maple 2025.2 or not as I have not looked yet if it is possible to install Maple 2025.1 on my new PC given Maple 2025.2 is already installed.

Found That Maple 2025.2 gives "Error, (in dsolve) numeric exception: division by zero" when asked to solve this ode using Lie symmetry.  The error comes when it tried to 

                        Computing canonical coordinates for the symmetry 

Even if this problem was in earlier Maple versions, this ofcourse should not happen.

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 1882 and is the same as the version installed in this computer, created 2025, December 1, 6:58 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"

restart;

ode:=sin(x)*diff(y(x), x, x) + (2*sin(x) - cos(x))*diff(y(x), x) + (sin(x) - cos(x))*y(x) = exp(-x);

sin(x)*(diff(diff(y(x), x), x))+(2*sin(x)-cos(x))*(diff(y(x), x))+(sin(x)-cos(x))*y(x) = exp(-x)

dsolve(ode)

y(x) = exp(arcsin(cos(x)))*c__2+exp(arcsin(cos(x)))*cos(x)*c__1+exp(arcsin(cos(x)))*(-(Int(csc(x)^2*exp(-arcsin(cos(x))-x), x))*cos(x)+Int(cot(x)*csc(x)*exp(-arcsin(cos(x))-x), x))

dsolve(ode,Lie)

Error, (in dsolve) numeric exception: division by zero

 


 

Download division_by_zero_dsolve_maple_2025_2_on_dec_2_2025.mw

 

Please Wait...