2.1.10 Problem 10

Solved as second order missing y ode
Maple
Mathematica
Sympy

Internal problem ID [9081]
Book : Second order enumerated odes
Section : section 1
Problem number : 10
Date solved : Sunday, March 30, 2025 at 02:06:27 PM
CAS classification : [[_2nd_order, _quadrature]]

Solved as second order missing y ode

Time used: 0.363 (sec)

Solve

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

This is second order ode with missing dependent variable \(y\). Let

\begin{align*} u(x) &= y^{\prime } \end{align*}

Then

\begin{align*} u'(x) &= y^{\prime \prime } \end{align*}

Hence the ode becomes

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

Which is now solved for \(u(x)\) as first order ode.

Solving for the derivative gives these ODE’s to solve

\begin{align*} \tag{1} u^{\prime }&=\sqrt {x} \\ \tag{2} u^{\prime }&=-\sqrt {x} \\ \end{align*}

Now each of the above is solved separately.

Solving Eq. (1)

Since the ode has the form \(u^{\prime }=f(x)\), then we only need to integrate \(f(x)\).

\begin{align*} \int {du} &= \int {\sqrt {x}\, dx}\\ u &= \frac {2 x^{{3}/{2}}}{3} + c_1 \end{align*}

Solving Eq. (2)

Since the ode has the form \(u^{\prime }=f(x)\), then we only need to integrate \(f(x)\).

\begin{align*} \int {du} &= \int {-\sqrt {x}\, dx}\\ u &= -\frac {2 x^{{3}/{2}}}{3} + c_2 \end{align*}

In summary, these are the solution found for \(u(x)\)

\begin{align*} u &= \frac {2 x^{{3}/{2}}}{3}+c_1 \\ \end{align*}

For solution \(u = \frac {2 x^{{3}/{2}}}{3}+c_1\), since \(u=y^{\prime }\left (x \right )\) then we now have a new first order ode to solve which is

\begin{align*} y^{\prime }\left (x \right ) = \frac {2 x^{{3}/{2}}}{3}+c_1 \end{align*}

Since the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).

\begin{align*} \int {dy} &= \int {\frac {2 x^{{3}/{2}}}{3}+c_1\, dx}\\ y &= c_1 x +\frac {4 x^{{5}/{2}}}{15} + c_3 \end{align*}

In summary, these are the solution found for \((y)\)

\begin{align*} y &= c_1 x +\frac {4 x^{{5}/{2}}}{15}+c_3 \\ \end{align*}

Will add steps showing solving for IC soon.

Summary of solutions found

\begin{align*} y &= c_1 x +\frac {4 x^{{5}/{2}}}{15}+c_3 \\ \end{align*}

Maple. Time used: 0.018 (sec). Leaf size: 27
ode:=diff(diff(y(x),x),x)^2 = x; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= \frac {4 x^{{5}/{2}}}{15}+c_1 x +c_2 \\ y &= -\frac {4 x^{{5}/{2}}}{15}+c_1 x +c_2 \\ \end{align*}

Maple trace

Methods for second order ODEs: 
Successful isolation of d^2y/dx^2: 2 solutions were found. Trying to solve each\ 
 resulting ODE. 
   *** Sublevel 2 *** 
   Methods for second order ODEs: 
   --- Trying classification methods --- 
   trying a quadrature 
   <- quadrature successful 
------------------- 
* Tackling next ODE. 
   *** Sublevel 2 *** 
   Methods for second order ODEs: 
   --- Trying classification methods --- 
   trying a quadrature 
   <- quadrature successful
 

Mathematica. Time used: 0.007 (sec). Leaf size: 41
ode=(D[y[x],{x,2}])^2==x; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to -\frac {4 x^{5/2}}{15}+c_2 x+c_1 \\ y(x)\to \frac {4 x^{5/2}}{15}+c_2 x+c_1 \\ \end{align*}
Sympy. Time used: 0.373 (sec). Leaf size: 31
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x + Derivative(y(x), (x, 2))**2,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \left [ y{\left (x \right )} = C_{1} + C_{2} x - \frac {4 x^{\frac {5}{2}}}{15}, \ y{\left (x \right )} = C_{1} + C_{2} x + \frac {4 x^{\frac {5}{2}}}{15}\right ] \]