Internal
problem
ID
[8975]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
5.0
Problem
number
:
14
Date
solved
:
Sunday, March 30, 2025 at 01:57:40 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Solve
Using series expansion around
The type of the expansion point is first determined. This is done on the homogeneous part of the ODE.
The following is summary of singularities for the above ode. Writing the ode as
Where
Combining everything together gives the following summary of singularities for the ode as
Regular singular points :
Irregular singular points :
Since
Order:=6; ode:=diff(diff(y(x),x),x)+diff(y(x),x)+y(x) = 1/x; dsolve(ode,y(x),type='series',x=0);
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 <- constant coefficients successful <- solving first the homogeneous part of the ODE successful
Maple step by step
ode=D[y[x],{x,2}]+D[y[x],x]+y[x]==1/x; ic={}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) + Derivative(y(x), x) + Derivative(y(x), (x, 2)) - 1/x,0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_regular",x0=0,n=6)
ValueError : ODE y(x) + Derivative(y(x), x) + Derivative(y(x), (x, 2)) - 1/x does not match hint 2nd_power_series_regular