2.1.10 Problem 10

Solved as second order missing y ode
Solved using first_order_ode_parametric method
Maple
Mathematica
Sympy

Internal problem ID [9080]
Book : Second order enumerated odes
Section : section 1
Problem number : 10
Date solved : Friday, April 25, 2025 at 05:40:21 PM
CAS classification : [[_2nd_order, _quadrature]]

Solved as second order missing y ode

Time used: 0.478 (sec)

Solve

y2=x

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

u(x)=y

Then

u(x)=y

Hence the ode becomes

u(x)2x=0

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

Solved using first_order_ode_parametric method

Time used: 0.109 (sec)

Let u be a parameter λ. The ode becomes

λ2x=0

Isolating x gives

x=λ2x=F(u,λ)

Now we generate an ode in u(λ) using

ddλu(λ)=λFλ1Fu=2λ2=2λ2

Which is now solved for u.

Since the ode has the form u=f(λ), then we only need to integrate f(λ).

du=2λ2dλu=2λ33+c1

Now that we have found solution u, we have two equations with parameter λ. They are

u=2λ33+c1x=λ2

Eliminating λ gives the solution for u. Solving for u(x) gives

u(x)=c12x3/23u(x)=c1+2x3/23

Summary of solutions found

u(x)=c12x3/23u(x)=c1+2x3/23

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

u(x)=c12x3/23u(x)=c1+2x3/23

For solution u(x)=c12x3/23, since u=ddxy(x) then we now have a new first order ode to solve which is

ddxy(x)=c12x3/23

Since the ode has the form y=f(x), then we only need to integrate f(x).

dy=c12x3/23dxy=c1x4x5/215+c2

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

y=c1x4x5/215+c2

For solution u(x)=c1+2x3/23, since u=y then we now have a new first order ode to solve which is

y=c1+2x3/23

Since the ode has the form y=f(x), then we only need to integrate f(x).

dy=c1+2x3/23dxy=c1x+4x5/215+c3

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

y=c1x+4x5/215+c3

Summary of solutions found

y=c1x4x5/215+c2y=c1x+4x5/215+c3

Maple. Time used: 0.018 (sec). Leaf size: 27
ode:=diff(diff(y(x),x),x)^2 = x; 
dsolve(ode,y(x), singsol=all);
 
y=4x5/215+c1x+c2y=4x5/215+c1x+c2

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]
 
y(x)4x5/215+c2x+c1y(x)4x5/215+c2x+c1
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)
 
[y(x)=C1+C2x4x5215, y(x)=C1+C2x+4x5215]