57.1.47 problem 47

Internal problem ID [9031]
Book : First order enumerated odes
Section : section 1
Problem number : 47
Date solved : Sunday, March 30, 2025 at 01:59:39 PM
CAS classification : [_quadrature]

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

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