2.1.49 Problem 49

Solved using first_order_ode_parametric method
Maple
Mathematica
Sympy

Internal problem ID [9032]
Book : First order enumerated odes
Section : section 1
Problem number : 49
Date solved : Friday, April 25, 2025 at 05:34:46 PM
CAS classification : [_quadrature]

Solved using first_order_ode_parametric method

Time used: 0.121 (sec)

Solve

y2=x

Let y be a parameter λ. The ode becomes

λ2x=0

Isolating x gives

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

Now we generate an ode in y(λ) using

ddλy(λ)=λFλ1Fy=2λ2=2λ2

Which is now solved for y.

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

dy=2λ2dλy=2λ33+c1

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

y=2λ33+c1x=λ2

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

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

Summary of solutions found

y(x)=c12x3/23y(x)=2x3/23+c1
Maple. Time used: 0.026 (sec). Leaf size: 21
ode:=diff(y(x),x)^2 = x; 
dsolve(ode,y(x), singsol=all);
 
y=2x3/23+c1y=2x3/23+c1

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

Let’s solve(ddxy(x))2=xHighest derivative means the order of the ODE is1ddxy(x)Solve for the highest derivative[ddxy(x)=x,ddxy(x)=x]Solve the equationddxy(x)=xIntegrate both sides with respect tox(ddxy(x))dx=xdx+_C1Evaluate integraly(x)=2x3/23+_C1Solve the equationddxy(x)=xIntegrate both sides with respect tox(ddxy(x))dx=xdx+_C1Evaluate integraly(x)=2x3/23+_C1Set of solutions{y(x)=2x3/23+C1,y(x)=2x3/23+C1}
Mathematica. Time used: 0.004 (sec). Leaf size: 33
ode=(D[y[x],x])^2==x; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
y(x)2x3/23+c1y(x)2x3/23+c1
Sympy. Time used: 0.352 (sec). Leaf size: 24
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x + Derivative(y(x), x)**2,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
[y(x)=C12x323, y(x)=C1+2x323]