Internal
problem
ID
[8852]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
2.0
Problem
number
:
47
Date
solved
:
Thursday, March 13, 2025 at 06:16:42 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Solve
Time used: 7.030 (sec)
Writing the ode as
Let the solution be
Where
The generalized form of Bessel ode is given by Bowman (1958) as the following
With the standard solution
Comparing (3) to (1) and solving for
Substituting all the above into (4) gives the solution as
Therefore the homogeneous solution
The particular solution
Where
In the Variation of parameters
Where
Which gives
Therefore
Which simplifies to
Which simplifies to
Therefore Eq. (2) becomes
Which simplifies to
Hence
And Eq. (3) becomes
Which simplifies to
Hence
Therefore the particular solution, from equation (1) is
Which simplifies to
Therefore the general solution is
Will add steps showing solving for IC soon.
Summary of solutions found
ode:=diff(diff(y(x),x),x)-diff(y(x),x)/x-x*y(x)-x^2-1/x = 0; dsolve(ode,y(x), singsol=all);
Maple trace
`Methods for second order ODEs: --- Trying classification methods --- trying a quadrature trying high order exact linear fully integrable trying differential order: 2; linear nonhomogeneous with symmetry [0,1] trying a double symmetry of the form [xi=0, eta=F(x)] -> Try solving first the homogeneous part of the ODE checking if the LODE has constant coefficients checking if the LODE is of Euler type trying a symmetry of the form [xi=0, eta=F(x)] checking if the LODE is missing y -> Trying a Liouvillian solution using Kovacics algorithm <- No Liouvillian solutions exists -> Trying a solution in terms of special functions: -> Bessel <- Bessel successful <- special function solution successful <- solving first the homogeneous part of the ODE successful`
ode=D[y[x],{x,2}]-1/x*D[y[x],x]-x*y[x]-x^2-1/x==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 - x*y(x) + Derivative(y(x), (x, 2)) - Derivative(y(x), x)/x - 1/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE x**3 + x**2*y(x) - x*Derivative(y(x), (x, 2)) + Derivative(y(x), x) + 1 cannot be solved by the factorable group method