2.1.50 Problem 50

Solved as second order missing x ode
Maple
Mathematica
Sympy

Internal problem ID [9121]
Book : Second order enumerated odes
Section : section 1
Problem number : 50
Date solved : Sunday, March 30, 2025 at 02:08:05 PM
CAS classification : [[_2nd_order, _missing_x], [_2nd_order, _reducible, _mu_x_y1], [_2nd_order, _reducible, _mu_y_y1]]

Solved as second order missing x ode

Time used: 0.475 (sec)

Solve

yy+y3=0

This is missing independent variable second order ode. Solved by reduction of order by using substitution which makes the dependent variable y an independent variable. Using

y=p

Then

y=dpdx=dpdydydx=pdpdy

Hence the ode becomes

yp(y)(ddyp(y))+p(y)3=0

Which is now solved as first order ode for p(y).

The ode

(1)p=p2y

is separable as it can be written as

p=p2y=f(y)g(p)

Where

f(y)=1yg(p)=p2

Integrating gives

1g(p)dp=f(y)dy1p2dp=1ydy
1p=ln(1y)+c1

We now need to find the singular solutions, these are found by finding for what values g(p) is zero, since we had to divide by this above. Solving g(p)=0 or

p2=0

for p gives

p=0

Now we go over each such singular solution and check if it verifies the ode itself and any initial conditions given. If it does not then the singular solution will not be used.

Therefore the solutions found are

1p=ln(1y)+c1p=0

For solution (1) found earlier, since p=y then we now have a new first order ode to solve which is

1y=ln(1y)+c1

Integrating gives

(ln(1y)c1)dy=dxy(ln(1y)+c1+1)=x+c2

For solution (2) found earlier, since p=y then we now have a new first order ode to solve which is

y=0

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

dy=0dx+c3y=c3

Will add steps showing solving for IC soon.

Solving for y from the above solution(s) gives (after possible removing of solutions that do not verify)

y=c3y=x+c2LambertW((x+c2)e1c1)

Summary of solutions found

y=c3y=x+c2LambertW((x+c2)e1c1)

Maple. Time used: 0.032 (sec). Leaf size: 27
ode:=y(x)*diff(diff(y(x),x),x)+diff(y(x),x)^3 = 0; 
dsolve(ode,y(x), singsol=all);
 
y=0y=c1y=c2+xLambertW((c2+x)ec11)

Maple trace

Methods for second order ODEs: 
--- Trying classification methods --- 
trying 2nd order Liouville 
trying 2nd order WeierstrassP 
trying 2nd order JacobiSN 
differential order: 2; trying a linearization to 3rd order 
trying 2nd order ODE linearizable_by_differentiation 
trying 2nd order, 2 integrating factors of the form mu(x,y) 
trying differential order: 2; missing variables 
-> Calling odsolve with the ODE, diff(_b(_a),_a)*_b(_a)+_b(_a)^3/_a = 0, _b(_a) 
   *** Sublevel 2 *** 
   Methods for first order ODEs: 
   --- Trying classification methods --- 
   trying a quadrature 
   trying 1st order linear 
   trying Bernoulli 
   <- Bernoulli successful 
<- differential order: 2; canonical coordinates successful 
<- differential order 2; missing variables successful
 

Maple step by step

Let’s solvey(x)(ddxddxy(x))+(ddxy(x))3=0Highest derivative means the order of the ODE is2ddxddxy(x)Define new dependent variableuu(x)=ddxy(x)Computeddxddxy(x)ddxu(x)=d2dx2y(x)Use chain rule on the lhs(ddxy(x))(ddyu(y))=d2dx2y(x)Substitute in the definition ofuu(y)(ddyu(y))=d2dx2y(x)Make substitutionsddxy(x)=u(y),ddxddxy(x)=u(y)(ddyu(y))to reduce order of ODEyu(y)(ddyu(y))+u(y)3=0Solve for the highest derivativeddyu(y)=u(y)2ySeparate variablesddyu(y)u(y)2=1yIntegrate both sides with respect toyddyu(y)u(y)2dy=1ydy+C1Evaluate integral1u(y)=ln(y)+C1Solve foru(y)u(y)=1ln(y)C1Redefine the integration constant(s)u(y)=1ln(y)+C1Solve 1st ODE foru(y)u(y)=1ln(y)+C1Revert to original variables with substitutionu(y)=ddxy(x),y=y(x)ddxy(x)=1ln(y(x))+C1Solve for the highest derivativeddxy(x)=1ln(y(x))+C1Separate variables(ddxy(x))(ln(y(x))+C1)=1Integrate both sides with respect tox(ddxy(x))(ln(y(x))+C1)dx=1dx+C2Evaluate integraly(x)C1+y(x)ln(y(x))y(x)=x+C2Solve fory(x)y(x)=eLambertW((x+C2)eC11)C1+1Simplifyy(x)=x+C2LambertW((x+C2)eC11)Redefine the integration constant(s)y(x)=x+C2LambertW((x+C2)C1)
Mathematica. Time used: 60.104 (sec). Leaf size: 26
ode=y[x]*D[y[x],{x,2}]+D[y[x],x]^3==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
y(x)x+c2W(e1c1(x+c2))
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(y(x)*Derivative(y(x), (x, 2)) + Derivative(y(x), x)**3,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
NotImplementedError : The given ODE (-y(x)*Derivative(y(x), (x, 2)))**(1/3)/2 - sqrt(3)*I*(-y(x)*Derivative(y(x), (x, 2)))**(1/3)/2 + Derivative(y(x), x) cannot be solved by the factorable group method