Internal
problem
ID
[10378]
Book
:
Second
order
enumerated
odes
Section
:
section
1
Problem
number
:
19
Date
solved
:
Monday, March 09, 2026 at 03:39:23 AM
CAS
classification
:
[[_2nd_order, _missing_y]]
0.739 (sec)
Entering second order ode missing \(y\) solverThis is second order ode with missing dependent variable \(y\). Let
Then
Hence the ode becomes
Which is now solved for \(u(x)\) as first order ode.
Entering first order ode dAlembert solverLet \(p=u^{\prime }\left (x \right )\) the ode becomes
Solving for \(u \left (x \right )\) from the above results in
This has the form
Where \(f,g\) are functions of \(p=u'(x)\). The above ode is dAlembert ode which is now solved.
Taking derivative of (*) w.r.t. \(x\) gives
Comparing the form \(u \left (x \right )=x f + g\) to (1A) shows that
Hence (2) becomes
The singular solution is found by setting \(\frac {dp}{dx}=0\) in the above which gives
Solving the above for \(p\) results in
Substituting these in (1A) and keeping singular solution that verifies the ode gives
The general solution is found when \( \frac { \mathop {\mathrm {d}p}}{\mathop {\mathrm {d}x}}\neq 0\). From eq. (2A). This results in
This ODE is now solved for \(p \left (x \right )\). No inversion is needed.
Integrating gives
Singular solutions are found by solving
for \(p \left (x \right )\). This is because of dividing by the above earlier. This gives the following singular solution(s), which also has to satisfy the given ODE.
Substituing the above solution for \(p\) in (2A) gives
Simplifying the above gives
In summary, these are the solution found for \(y\)
For solution \(u \left (x \right ) = x -1\), since \(u=y^{\prime }\) then the new first order ode to solve is
Entering first order ode quadrature solverSince the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
In summary, these are the solution found for \((y)\)
For solution \(u \left (x \right ) = -{\left (\operatorname {LambertW}\left ({\mathrm e}^{-1-\frac {c_1}{2}-\frac {x}{2}}\right )+1\right )}^{2}+x\), since \(u=y^{\prime }\) then the new first order ode to solve is
Entering first order ode quadrature solverSince the ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
In summary, these are the solution found for \((y)\)
Summary of solutions found
ode:=diff(diff(y(x),x),x)^2+diff(y(x),x) = x; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for second order ODEs: Successful isolation of d^2y/dx^2: 2 solutions were found. Trying to solve each\ resulting ODE. *** Sublevel 2 *** 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) = (_a-_b(_a))^(1/2), _b(_a) , HINT = [[1, 1]] *** Sublevel 3 *** symmetry methods on request 1st order, trying reduction of order with given symmetries: [1, 1] 1st order, trying the canonical coordinates of the invariance group -> Calling odsolve with the ODE, diff(y(x),x) = 1, y(x) *** Sublevel 4 *** Methods for first order ODEs: --- Trying classification methods --- trying a quadrature <- quadrature successful <- 1st order, canonical coordinates successful <- differential order: 2; canonical coordinates successful <- differential order 2; missing variables successful ------------------- * Tackling next ODE. *** Sublevel 2 *** 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) = -(_a-_b(_a))^(1/2), _b(_a ), HINT = [[1, 1]] *** Sublevel 3 *** symmetry methods on request 1st order, trying reduction of order with given symmetries: [1, 1] 1st order, trying the canonical coordinates of the invariance group <- 1st order, canonical coordinates successful <- differential order: 2; canonical coordinates successful <- differential order 2; missing variables successful
ode=(D[y[x],{x,2}])^2+D[y[x],x]==x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x + Derivative(y(x), x) + Derivative(y(x), (x, 2))**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : multiple generators [log(sqrt(-_X0 + x) + 1), sqrt(-_X0 + x)] No algorithms ar
Python version: 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0] Sympy version 1.14.0
classify_ode(ode,func=y(x)) ('nth_order_reducible',)