2.2.13 Problem 14

Maple
Mathematica
Sympy

Internal problem ID [9136]
Book : Second order enumerated odes
Section : section 2
Problem number : 14
Date solved : Sunday, March 30, 2025 at 02:23:07 PM
CAS classification : [_Liouville, [_2nd_order, _reducible, _mu_x_y1], [_2nd_order, _reducible, _mu_xy]]

Maple. Time used: 0.005 (sec). Leaf size: 38
ode:=10*diff(diff(y(x),x),x)+(exp(x)+3*x)*diff(y(x),x)+3/sin(y(x))*exp(y(x))*diff(y(x),x)^2 = 0; 
dsolve(ode,y(x), singsol=all);
 
ye3e_bcsc(_b)d_b10d_bc1e3x220ex10dxc2=0

Maple trace

Methods for second order ODEs: 
--- Trying classification methods --- 
trying 2nd order Liouville 
<- 2nd_order Liouville successful
 

Mathematica. Time used: 33.212 (sec). Leaf size: 71
ode=10*D[y[x],{x,2}]+(Exp[x]+3*x)*D[y[x],x]+3/Sin[y[x]]*Exp[y[x]]*(D[y[x],x])^2==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
y(x)InverseFunction[1#1exp(1K[2]310eK[1]csc(K[1])dK[1])dK[2]&][1xe120(3K[3]22eK[3])c1dK[3]+c2]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq((3*x + exp(x))*Derivative(y(x), x) + 3*exp(y(x))*Derivative(y(x), x)**2/sin(y(x)) + 10*Derivative(y(x), (x, 2)),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
PolynomialDivisionFailed : couldnt reduce degree in a polynomial division algorithm when dividing [[], [], [], []] by [[ANP([mpq(1,1)], [mpq(1,1), mpq(0,1), mpq(1,1)], QQ)], [ANP([mpq(-1,1), mpq(-1,1)], [mpq(1,1), mpq(0,1), mpq(1,1)], QQ)]]. This can happen when its not possible to detect zero in the coefficient domain. The domain of computation is QQ<I>. Zero detection is guaranteed in this coefficient domain. This may indicate a bug in SymPy or the domain is user defined and doesnt implement zero detection properly.