Internal
problem
ID
[9116]
Book
:
Second
order
enumerated
odes
Section
:
section
1
Problem
number
:
45
Date
solved
:
Sunday, March 30, 2025 at 02:07:32 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
Time used: 6.700 (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
Solving for the derivative gives these ODE’s to solve
Now each of the above is solved separately.
Solving Eq. (1)
To solve an ode of the form
We assume there exists a function
Hence
But since
If the above condition is satisfied, then the original ode is called exact. We still need to determine
Therefore
Comparing (1A) and (2A) shows that
The next step is to determine if the ODE is is exact or not. The ODE is exact when the following condition is satisfied
Using result found above gives
And
Since
Since
Since
The result of integrating gives
And
So now a modified ODE is obtained from the original ODE which will be exact and can be solved using the standard method. The modified ODE is
The following equations are now set up to solve for the function
Integrating (2) w.r.t.
Where
But equation (1) says that
Solving equation (5) for
Integrating the above w.r.t
Where
But since
Solving Eq. (2)
To solve an ode of the form
We assume there exists a function
Hence
But since
If the above condition is satisfied, then the original ode is called exact. We still need to determine
Therefore
Comparing (1A) and (2A) shows that
The next step is to determine if the ODE is is exact or not. The ODE is exact when the following condition is satisfied
Using result found above gives
And
Since
Since
Since
The result of integrating gives
And
So now a modified ODE is obtained from the original ODE which will be exact and can be solved using the standard method. The modified ODE is
The following equations are now set up to solve for the function
Integrating (2) w.r.t.
Where
But equation (1) says that
Solving equation (5) for
Integrating the above w.r.t
Where
But since
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
Integrating gives
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:=y(x)*diff(diff(y(x),x),x)^2+diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for second order ODEs: *** Sublevel 2 *** Methods for second order ODEs: Successful isolation of d^2y/dx^2: 2 solutions were found. Trying to solve e\ ach resulting ODE. *** Sublevel 3 *** 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)-1/_a*(-_a*_b(_a)) ^(1/2) = 0, _b(_a), HINT = [[_a, 1/3*_b]] *** Sublevel 4 *** symmetry methods on request 1st order, trying reduction of order with given symmetries: [_a, 1/3*_b] 1st order, trying the canonical coordinates of the invariance group -> Calling odsolve with the ODE, diff(y(x),x) = 1/3*y(x)/x, y(x) *** Sublevel 5 *** 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 ------------------- * Tackling next ODE. *** Sublevel 3 *** 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)+1/_a*(-_a*_b(_a)) ^(1/2) = 0, _b(_a), HINT = [[_a, 1/3*_b]] *** Sublevel 4 *** symmetry methods on request 1st order, trying reduction of order with given symmetries: [_a, 1/3*_b] 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 -> Calling odsolve with the ODE, diff(y(x),x) = 0, y(x), singsol = none *** Sublevel 2 *** Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful
ode=y[x]*D[y[x],{x,2}]^2+D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
Too large to display
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)*Derivative(y(x), (x, 2))**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : solve: Cannot solve y(x)*Derivative(y(x), (x, 2))**2 + Derivative(y(x), x)