2.1.48 problem 48

Solved as first order quadrature ode
Solved as first order homogeneous class D2 ode
Maple step by step solution
Maple trace
Maple dsolve solution
Mathematica DSolve solution

Internal problem ID [8708]
Book : First order enumerated odes
Section : section 1
Problem number : 48
Date solved : Tuesday, December 17, 2024 at 12:58:12 PM
CAS classification : [_quadrature]

Solve

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

Solved as first order quadrature ode

Time used: 0.026 (sec)

Since 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.75: Slope field plot
\(x {y^{\prime }}^{n} = 0\)

Summary of solutions found

\begin{align*} y &= c_1 \\ \end{align*}
Solved as first order homogeneous class D2 ode

Time used: 0.155 (sec)

Applying change of variables \(y = u \left (x \right ) x\), then the ode becomes

\begin{align*} x \left (u^{\prime }\left (x \right ) x +u \left (x \right )\right )^{n} = 0 \end{align*}

Which is now solved The ode \(u^{\prime }\left (x \right ) = -\frac {u \left (x \right )}{x}\) is separable as it can be written as

\begin{align*} u^{\prime }\left (x \right )&= -\frac {u \left (x \right )}{x}\\ &= f(x) g(u) \end{align*}

Where

\begin{align*} f(x) &= -\frac {1}{x}\\ g(u) &= u \end{align*}

Integrating gives

\begin{align*} \int { \frac {1}{g(u)} \,du} &= \int { f(x) \,dx}\\ \int { \frac {1}{u}\,du} &= \int { -\frac {1}{x} \,dx}\\ \ln \left (u \left (x \right )\right )&=\ln \left (\frac {1}{x}\right )+c_1 \end{align*}

We now need to find the singular solutions, these are found by finding for what values \(g(u)\) is zero, since we had to divide by this above. Solving \(g(u)=0\) or \(u=0\) for \(u \left (x \right )\) gives

\begin{align*} u \left (x \right )&=0 \end{align*}

Now we go over each such singular solution and check if it verifies the ode itself and any initial conditions given. If it does not then the singular solution will not be used.

Therefore the solutions found are

\begin{align*} \ln \left (u \left (x \right )\right ) = \ln \left (\frac {1}{x}\right )+c_1\\ u \left (x \right ) = 0 \end{align*}

Solving for \(u \left (x \right )\) gives

\begin{align*} u \left (x \right ) &= 0 \\ u \left (x \right ) &= \frac {{\mathrm e}^{c_1}}{x} \\ \end{align*}

Converting \(u \left (x \right ) = 0\) back to \(y\) gives

\begin{align*} y = 0 \end{align*}

Converting \(u \left (x \right ) = \frac {{\mathrm e}^{c_1}}{x}\) back to \(y\) gives

\begin{align*} y = {\mathrm e}^{c_1} \end{align*}
Figure 2.76: Slope field plot
\(x {y^{\prime }}^{n} = 0\)

Summary of solutions found

\begin{align*} y &= 0 \\ y &= {\mathrm e}^{c_1} \\ \end{align*}
Maple step by step solution
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & x \left (\frac {d}{d x}y \left (x \right )\right )^{n}=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} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} y \left (x \right ) \\ {} & {} & y \left (x \right )=\mathit {C1} \end {array} \]

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 dsolve solution

Solving time : 0.005 (sec)
Leaf size : 5

dsolve(x*diff(y(x),x)^n = 0, 
       y(x),singsol=all)
 
\[ y = c_{1} \]
Mathematica DSolve solution

Solving time : 0.003 (sec)
Leaf size : 15

DSolve[{x*(D[y[x],x])^n==0,{}}, 
       y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to 0^{\frac {1}{n}} x+c_1 \]