2.4.33 Problem 29

Solved using first_order_ode_dAlembert
Maple
Mathematica
Sympy

Internal problem ID [8922]
Book : Own collection of miscellaneous problems
Section : section 4.0
Problem number : 29
Date solved : Sunday, March 30, 2025 at 01:54:02 PM
CAS classification : [[_1st_order, _with_linear_symmetries], _dAlembert]

Solved using first_order_ode_dAlembert

Time used: 0.212 (sec)

Solve

(y2xy)2=y3

Let p=y the ode becomes

(2xp+y)2=p3

Solving for y from the above results in

(1)y=2xp+p3/2(2)y=2xpp3/2

This has the form

(*)y=xf(p)+g(p)

Where f,g are functions of p=y(x). Each of the above ode’s is dAlembert ode which is now solved.

Solving ode 1A

Taking derivative of (*) w.r.t. x gives

p=f+(xf+g)dpdx(2)pf=(xf+g)dpdx

Comparing the form y=xf+g to (1A) shows that

f=2pg=p3/2

Hence (2) becomes

(2A)p=(2x+3p2)p(x)

The singular solution is found by setting dpdx=0 in the above which gives

p=0

Solving the above for p results in

p1=0

Substituting these in (1A) and keeping singular solution that verifies the ode gives

y=0

The general solution is found when dpdx0. From eq. (2A). This results in

(3)p(x)=p(x)2x+3p(x)2

Inverting the above ode gives

(4)ddpx(p)=2x(p)+3p2p

This ODE is now solved for x(p). The integrating factor is

μ=e2pdpμ=p2(5)μ=p2

Integrating gives

x(p)=1μ(μ(32p)dp+c1)=1μ(3p5/2+5c15p2+c1)(5)=3p5/2+5c15p2

Now we need to eliminate p between the above solution and (1A). The first method is to solve for p from Eq. (1A) and substitute the result into Eq. (5). The Second method is to solve for p from Eq. (5) and substitute the result into (1A).

Eliminating p from the following two equations

x=3p5/2+5c15p2y=2xp+p3/2

results in

p=RootOf(3_Z5+5x_Z45c1)2

Substituting the above into Eq (1A) and simplifying gives

y=2xRootOf(3_Z5+5x_Z45c1)2+(RootOf(3_Z5+5x_Z45c1)2)3/2

Solving ode 2A

Taking derivative of (*) w.r.t. x gives

p=f+(xf+g)dpdx(2)pf=(xf+g)dpdx

Comparing the form y=xf+g to (1A) shows that

f=2pg=p3/2

Hence (2) becomes

(2A)p=(2x3p2)p(x)

The singular solution is found by setting dpdx=0 in the above which gives

p=0

Solving the above for p results in

p1=0

Substituting these in (1A) and keeping singular solution that verifies the ode gives

y=0

The general solution is found when dpdx0. From eq. (2A). This results in

(3)p(x)=p(x)2x3p(x)2

Inverting the above ode gives

(4)ddpx(p)=2x(p)3p2p

This ODE is now solved for x(p). The integrating factor is

μ=e2pdpμ=p2(5)μ=p2

Integrating gives

x(p)=1μ(μ(32p)dp+c2)=1μ(3p5/2+5c25p2+c2)(5)=3p5/2+5c25p2

Now we need to eliminate p between the above solution and (1A). The first method is to solve for p from Eq. (1A) and substitute the result into Eq. (5). The Second method is to solve for p from Eq. (5) and substitute the result into (1A).

Eliminating p from the following two equations

x=3p5/2+5c25p2y=2xpp3/2

results in

p=RootOf(3_Z55x_Z4+5c2)2

Substituting the above into Eq (1A) and simplifying gives

y=2xRootOf(3_Z55x_Z4+5c2)2(RootOf(3_Z55x_Z4+5c2)2)3/2

Which simplifies to

y=0y=RootOf(3_Z5+5x_Z45c1)2(RootOf(3_Z5+5x_Z45c1)2+2x)y=2xRootOf(3_Z55x_Z4+5c2)2(RootOf(3_Z55x_Z4+5c2)2)3/2

The solution

y=RootOf(3_Z5+5x_Z45c1)2(RootOf(3_Z5+5x_Z45c1)2+2x)

was found not to satisfy the ode or the IC. Hence it is removed. The solution

y=2xRootOf(3_Z55x_Z4+5c2)2(RootOf(3_Z55x_Z4+5c2)2)3/2

was found not to satisfy the ode or the IC. Hence it is removed.

Summary of solutions found

y=0
Maple. Time used: 0.189 (sec). Leaf size: 73
ode:=(y(x)-2*diff(y(x),x)*x)^2 = diff(y(x),x)^3; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= 0 \\ \left [x \left (\textit {\_T} \right ) &= \frac {3 \textit {\_T}^{{5}/{2}}+5 c_1}{5 \textit {\_T}^{2}}, y \left (\textit {\_T} \right ) = \frac {\textit {\_T}^{{5}/{2}}+10 c_1}{5 \textit {\_T}}\right ] \\ \left [x \left (\textit {\_T} \right ) &= \frac {-3 \textit {\_T}^{{5}/{2}}+5 c_1}{5 \textit {\_T}^{2}}, y \left (\textit {\_T} \right ) = \frac {-\textit {\_T}^{{5}/{2}}+10 c_1}{5 \textit {\_T}}\right ] \\ \end{align*}

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 
trying simple symmetries for implicit equations 
Successful isolation of dy/dx: 3 solutions were found. Trying to solve each res\ 
ulting ODE. 
   *** Sublevel 2 *** 
   Methods for first order ODEs: 
   --- Trying classification methods --- 
   trying homogeneous types: 
   trying exact 
   Looking for potential symmetries 
   trying an equivalence to an Abel ODE 
   trying 1st order ODE linearizable_by_differentiation 
-> Solving 1st order ODE of high degree, Lie methods, 1st trial 
   -> Computing symmetries using: way = 2 
   -> Computing symmetries using: way = 2 
-> Solving 1st order ODE of high degree, 2nd attempt. Trying parametric methods 
trying dAlembert 
<- dAlembert successful 
<- dAlembert successful
 

Maple step by step

Let’s solve(y(x)2x(ddxy(x)))2=(ddxy(x))3Highest derivative means the order of the ODE is1ddxy(x)Solve for the highest derivative[ddxy(x)=(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/366(4y(x)x316x49)(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/3+4x23,ddxy(x)=(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/312+3(4y(x)x316x49)(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/3+4x23I3((576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/36+6(4y(x)x316x49)(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/3)2,ddxy(x)=(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/312+3(4y(x)x316x49)(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/3+4x23+I3((576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/36+6(4y(x)x316x49)(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/3)2]Solve the equationddxy(x)=(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/366(4y(x)x316x49)(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/3+4x23Solve the equationddxy(x)=(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/312+3(4y(x)x316x49)(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/3+4x23I3((576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/36+6(4y(x)x316x49)(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/3)2Solve the equationddxy(x)=(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/312+3(4y(x)x316x49)(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/3+4x23+I3((576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/36+6(4y(x)x316x49)(576y(x)x3+108y(x)2+512x6+1296y(x)3x3+81y(x)4)1/3)2Set of solutions{workingODE,workingODE,workingODE}
Mathematica. Time used: 91.539 (sec). Leaf size: 32354
ode=(y[x]-2*x*D[y[x],x])^2== D[y[x],x]^3; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Too large to display

Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq((-2*x*Derivative(y(x), x) + y(x))**2 - Derivative(y(x), x)**3,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out