Internal
problem
ID
[9129]
Book
:
Second
order
enumerated
odes
Section
:
section
2
Problem
number
:
6
Date
solved
:
Sunday, March 30, 2025 at 02:17:13 PM
CAS
classification
:
[[_2nd_order, _missing_x], [_2nd_order, _reducible, _mu_x_y1]]
Time used: 1.831 (sec)
Solve
This is missing independent variable second order ode. Solved by reduction of order by using substitution which makes the dependent variable
Then
Hence the ode becomes
Which is now solved as first order ode for
The ode
is separable as it can be written as
Where
Integrating gives
For solution (1) found earlier, since
Let
Solving for
This has the form
Where
Taking derivative of (*) w.r.t.
Comparing the form
Hence (2) becomes
The singular solution is found by setting
Solving the above for
Substituting these in (1A) and keeping singular solution that verifies the ode gives
The general solution is found when
This ODE is now solved for
Unable to integrate (or intergal too complicated), and since no initial conditions are given, then the result can be written as
Singular solutions are found by solving
for
Substituing the above solution for
Will add steps showing solving for IC soon.
The solution
was found not to satisfy the ode or the IC. Hence it is removed.
Summary of solutions found
Time used: 2.149 (sec)
Solve
Multiplying the ode by
Integrating the above w.r.t
Which is now solved for
Solving for
This has the form
Where
Taking derivative of (*) w.r.t.
Comparing the form
Hence (2) becomes
The singular solution is found by setting
Solving the above for
Substituting these in (1A) and keeping singular solution that verifies the ode gives
The general solution is found when
This ODE is now solved for
Unable to integrate (or intergal too complicated), and since no initial conditions are given, then the result can be written as
Singular solutions are found by solving
for
Substituing the above solution for
Will add steps showing solving for IC soon.
The solution
was found not to satisfy the ode or the IC. Hence it is removed.
Summary of solutions found
ode:=diff(y(x),x)*diff(diff(y(x),x),x)+y(x)^n = 0; dsolve(ode,y(x), singsol=all);
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 -> Computing symmetries using: way = 3 -> Calling odsolve with the ODE, diff(_b(_a),_a)*_b(_a)+_a^n/_b(_a) = 0, _b(_a) , HINT = [[-3/(n-2)*_a, -_b*(1+n)/(n-2)]] *** Sublevel 2 *** symmetry methods on request 1st order, trying reduction of order with given symmetries: [-3/(n-2)*_a, -_b*(1+n)/(n-2)] 1st order, trying the canonical coordinates of the invariance group -> Calling odsolve with the ODE, diff(y(x),x) = 1/3*y(x)*(1+n)/x, y(x) *** Sublevel 3 *** Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful <- 1st order, canonical coordinates successful <- differential order: 2; canonical coordinates successful <- differential order 2; missing variables successful
ode=D[y[x],{x,2}]*D[y[x],x]+y[x]^n==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") n = symbols("n") y = Function("y") ode = Eq(y(x)**n + Derivative(y(x), x)*Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE y(x)**n/Derivative(y(x), (x, 2)) + Derivative(y(x), x) cannot be solved by the factorable group method