2.1.47 Problem 47

2.1.47.1 Maple
2.1.47.2 Mathematica
2.1.47.3 Sympy

Internal problem ID [10305]
Book : First order enumerated odes
Section : section 1
Problem number : 47
Date solved : Monday, December 08, 2025 at 08:01:59 PM
CAS classification : [_quadrature]

\begin{align*} {y^{\prime }}^{n}&=0 \\ \end{align*}
Solving for the derivative gives these ODE’s to solve
\begin{align*} \tag{1} y^{\prime }&=0 \\ \end{align*}
Now each of the above is solved separately.

Solving Eq. (1)

Entering first order ode quadrature solverSince the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).

\begin{align*} \int {dy} &= \int {0\, dx} + c_1 \\ y &= c_1 \end{align*}
Figure 2.55: Slope field \(y^{\prime } = 0\)
2.1.47.1 Maple. Time used: 0.003 (sec). Leaf size: 5
ode:=diff(y(x),x)^n = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = c_1 \]

Maple trace

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 
<- differential order: 1; missing  y(x)  successful
 

Maple step by step

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & \left (\frac {d}{d x}y \left (x \right )\right )^{10305}=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & \frac {d}{d x}y \left (x \right ) \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y \left (x \right )=0 \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \left (\frac {d}{d x}y \left (x \right )\right )d x =\int 0d x +\mathit {C1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & y \left (x \right )=\mathit {C1} \end {array} \]
2.1.47.2 Mathematica. Time used: 0.003 (sec). Leaf size: 15
ode=(D[y[x],x])^n==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to 0^{\frac {1}{n}} x+c_1 \end{align*}
2.1.47.3 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: n > 1