2.1.35 Problem 36

Solved using first_order_ode_clairaut
Maple
Mathematica
Sympy

Internal problem ID [8747]
Book : Own collection of miscellaneous problems
Section : section 1.0
Problem number : 36
Date solved : Sunday, March 30, 2025 at 01:29:53 PM
CAS classification : [_Clairaut]

Solved using first_order_ode_clairaut

Time used: 0.067 (sec)

Solve

xff=f2(1fλ)2λ2

This is Clairaut ODE. It has the form

f=xf+g(f)

Where g is function of f(x). Let p=f the ode becomes

xpf=p2(1pλ)2λ2

Solving for f from the above results in

(1A)f=p(p2λpλ2x2pλp+p)λ2

The above ode is a Clairaut ode which is now solved.

We start by replacing f by p which gives

f=xpp2(p2λ2pλ+1)λ2=xpp2(p2λ2pλ+1)λ2

Writing the ode as

f=xp+g(p)

We now write gg(p) to make notation simpler but we should always remember that g is function of p which in turn is function of x. Hence the above becomes

(1)f=xp+g

Then we see that

g=p2(p2λ2pλ+1)λ2

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

p=ddx(xp+g)p=(p+xdpdx)+(gdpdx)p=p+(x+g)dpdx0=(x+g)dpdx

Where g is derivative of g(p) w.r.t. p.

The general solution is given by

dpdx=0p=c1

Substituting this in (1) gives the general solution as

f=c2xc22(c22λ2c2λ+1)λ2

The singular solution is found from solving for p from

x+g(p)=0

And substituting the result back in (1). Since we found above that g=p2(p2λ2pλ+1)λ2, then the above equation becomes

x+g(p)=x2p(p2λ2pλ+1)λ2p2(2p2λλp2pλλp)λ2=0

Unable to solve for p. No singular solutions can be found.

Which simplifies to

f=c2x+c22(c22λ+2c2λ1)λ2

Summary of solutions found

f=c2x+c22(c22λ+2c2λ1)λ2
Maple. Time used: 0.276 (sec). Leaf size: 318
ode:=diff(f(x),x)*x-f(x) = diff(f(x),x)^2/lambda^2*(1-diff(f(x),x)^lambda)^2; 
dsolve(ode,f(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 
<- 1st order, parametric methods successful 
<- dAlembert successful
 

Maple step by step

Let’s solvex(ddxf(x))f(x)=(ddxf(x))2(1(ddxf(x))λ)2λ2Highest derivative means the order of the ODE is1ddxf(x)Solve for the highest derivativeddxf(x)=RootOf((_Zλ)2_Z2x_Zλ2+f(x)λ22_Zλ_Z2+_Z2)
Mathematica. Time used: 15.191 (sec). Leaf size: 30
ode=x*D[ f[x],x]-f[x]==D[ f[x],x]^2/\[Lambda]^2*(1-D[ f[x],x]^\[Lambda])^2; 
ic={}; 
DSolve[{ode,ic},f[x],x,IncludeSingularSolutions->True]
 
f(x)c1(xc1(1+c1λ)2λ2)f(x)0
Sympy
from sympy import * 
x = symbols("x") 
lambda_ = symbols("lambda_") 
f = Function("f") 
ode = Eq(x*Derivative(f(x), x) - f(x) - (1 - Derivative(f(x), x)**lambda_)**2*Derivative(f(x), x)**2/lambda_**2,0) 
ics = {} 
dsolve(ode,func=f(x),ics=ics)
 
NotImplementedError : multiple generators [_X0, _X0**lambda_] 
No algorithms are implemented to solve equation -_X0**2*_X0**(2*lambda_) + 2*_X0**2*_X0**lambda_ - _X0**2 + _X0*lambda_**2*x - lambda_**2*f(x)