58.1.3 problem 3

Internal problem ID [9074]
Book : Second order enumerated odes
Section : section 1
Problem number : 3
Date solved : Wednesday, March 05, 2025 at 07:19:05 AM
CAS classification : [[_2nd_order, _quadrature]]

\begin{align*} {y^{\prime \prime }}^{n}&=0 \end{align*}

Maple. Time used: 0.006 (sec). Leaf size: 9
ode:=diff(diff(y(x),x),x)^n = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_{1} x +c_{2} \]
Mathematica. Time used: 0.004 (sec). Leaf size: 24
ode=(D[y[x],{x,2}])^n==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \frac {1}{2} 0^{\frac {1}{n}} x^2+c_2 x+c_1 \]
Sympy
from sympy import * 
x = symbols("x") 
n = symbols("n") 
y = Function("y") 
ode = Eq(Derivative(y(x), (x, 2))**n,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
TypeError : cannot determine truth value of Relational