2.1.45 Problem 45

Solved using first_order_ode_dAlembert
Maple
Mathematica
Sympy

Internal problem ID [8757]
Book : Own collection of miscellaneous problems
Section : section 1.0
Problem number : 45
Date solved : Sunday, March 30, 2025 at 01:30:31 PM
CAS classification : [_dAlembert]

Solved using first_order_ode_dAlembert

Time used: 0.141 (sec)

Solve

yy=1xy3

Let p=y the ode becomes

py=xp3+1

Solving for y from the above results in

(1)y=p2x+1p

This has the form

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

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

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=p2g=1p

Hence (2) becomes

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

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

p2+p=0

Solving the above for p results in

p1=1p2=0

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

y=x1

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

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

Inverting the above ode gives

(4)ddpx(p)=2x(p)p1p2p2+p

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

μ=e2p+1dpμ=(p+1)2(5)μ=(p+1)2

Integrating gives

x(p)=1μ(μ(1p3(p+1))dp+c1)=1μ(12p2+1p+c1(p+1)2+c1)(5)=12p2+1p+c1(p+1)2

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=12p2+1p+c1(p+1)2y=p2x+1p

results in

p=RootOf(1+2x_Z4+4x_Z3+(2c1+2x)_Z22_Z)

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

y=xRootOf(1+2x_Z4+4x_Z3+(2c1+2x)_Z22_Z)31RootOf(1+2x_Z4+4x_Z3+(2c1+2x)_Z22_Z)

Summary of solutions found

y=xRootOf(1+2x_Z4+4x_Z3+(2c1+2x)_Z22_Z)31RootOf(1+2x_Z4+4x_Z3+(2c1+2x)_Z22_Z)y=x1
Maple. Time used: 0.072 (sec). Leaf size: 1791
ode:=y(x)*diff(y(x),x) = 1-x*diff(y(x),x)^3; 
dsolve(ode,y(x), singsol=all);
 
Solution too large to show

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 dAlembert 
<- dAlembert successful
 

Maple step by step

Let’s solve(ddxy(x))y(x)=1x(ddxy(x))3Highest derivative means the order of the ODE is1ddxy(x)Solve for the highest derivative[ddxy(x)=((1234y(x)3+27xx+108)x2)1/36x2y(x)((1234y(x)3+27xx+108)x2)1/3,ddxy(x)=((1234y(x)3+27xx+108)x2)1/312x+y(x)((1234y(x)3+27xx+108)x2)1/3I3(((1234y(x)3+27xx+108)x2)1/36x+2y(x)((1234y(x)3+27xx+108)x2)1/3)2,ddxy(x)=((1234y(x)3+27xx+108)x2)1/312x+y(x)((1234y(x)3+27xx+108)x2)1/3+I3(((1234y(x)3+27xx+108)x2)1/36x+2y(x)((1234y(x)3+27xx+108)x2)1/3)2]Solve the equationddxy(x)=((1234y(x)3+27xx+108)x2)1/36x2y(x)((1234y(x)3+27xx+108)x2)1/3Solve the equationddxy(x)=((1234y(x)3+27xx+108)x2)1/312x+y(x)((1234y(x)3+27xx+108)x2)1/3I3(((1234y(x)3+27xx+108)x2)1/36x+2y(x)((1234y(x)3+27xx+108)x2)1/3)2Solve the equationddxy(x)=((1234y(x)3+27xx+108)x2)1/312x+y(x)((1234y(x)3+27xx+108)x2)1/3+I3(((1234y(x)3+27xx+108)x2)1/36x+2y(x)((1234y(x)3+27xx+108)x2)1/3)2Set of solutions{workingODE,workingODE,workingODE}
Mathematica. Time used: 86.107 (sec). Leaf size: 20717
ode=D[y[x],x]*y[x]==1-x*(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(x*Derivative(y(x), x)**3 + y(x)*Derivative(y(x), x) - 1,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out