Internal
problem
ID
[8781]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
69
Date
solved
:
Friday, February 21, 2025 at 08:30:54 PM
CAS
classification
:
[[_2nd_order, _missing_x], [_2nd_order, _reducible, _mu_x_y1]]
Solve
Time used: 1.405 (sec)
This is missing independent variable second order ode. Solved by reduction of order by using substitution which makes the dependent variable \(y\) an independent variable. Using
Then
Hence the ode becomes
Which is now solved as first order ode for \(p(y)\).
The ode
is separable as it can be written as
Where
Integrating gives
Solving for \(p\) gives
For solution (1) found earlier, since \(p=y^{\prime }\) then we now have a new first order ode to solve which is
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 \(y\). This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.
For solution (2) found earlier, since \(p=y^{\prime }\) then we now have a new first order ode to solve which is
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 \(y\). This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.
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
`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)+(_a^2*b-c)/(_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`
Solving time : 0.032
(sec)
Leaf size : 76
dsolve(a*y(x)^2*diff(diff(y(x),x),x)+b*y(x)^2 = c,y(x),singsol=all)
Solving time : 0.85
(sec)
Leaf size : 346
DSolve[{a*y[x]^2*D[y[x],{x,2}]+b*y[x]^2==c,{}},y[x],x,IncludeSingularSolutions->True]
Solving time : 95.329
(sec)
Leaf size : 48
Python version: 3.13.1 (main, Dec 4 2024, 18:05:56) [GCC 14.2.1 20240910] Sympy version 1.13.3
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") c = symbols("c") y = Function("y") ode = Eq(a*y(x)**2*Derivative(y(x), (x, 2)) + b*y(x)**2 - c,0) ics = {} dsolve(ode,func=y(x),ics=ics)
[Eq(Integral(1/sqrt(C1 - 2*(_u*b + c/_u)/a), (_u, y(x))), C2 + x), Eq(Integral(1/sqrt(C1 - 2*(_u*b + c/_u)/a), (_u, y(x))), C2 - x)]