Internal
problem
ID
[9094]
Book
:
Second
order
enumerated
odes
Section
:
section
1
Problem
number
:
23
Date
solved
:
Sunday, March 30, 2025 at 02:06:52 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
Time used: 1.880 (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
In canonical form, the ODE is
This is a Bernoulli ODE.
The standard Bernoulli ODE has the form
Comparing this to (1) shows that
The first step is to divide the above equation by
The next step is use the substitution
This method is now applied to the ODE at hand. Comparing the ODE (1) With (2) Shows that
Dividing both sides of ODE (1) by
Let
Taking derivative of equation (5) w.r.t
Substituting equations (5) and (6) into equation (4) gives
The above now is a linear ODE in
In canonical form a linear first order is
Comparing the above to the given ode shows that
The integrating factor
The ode becomes
Integrating gives
Dividing throughout by the integrating factor
The substitution
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. The solution
was found not to satisfy the ode or the IC. Hence it is removed.
Summary of solutions found
ode:=diff(diff(y(x),x),x)+diff(y(x),x)^2+y(x) = 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 -> Computing symmetries using: way = exp_sym -> Calling odsolve with the ODE, diff(_b(_a),_a)*_b(_a)+_b(_a)^2+_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
ode=D[y[x],{x,2}]+(D[y[x],x])^2+y[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) + Derivative(y(x), x)**2 + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE -sqrt(-y(x) - Derivative(y(x), (x, 2))) + Derivative(y(x), x) cannot be solved by the factorable group method