Internal
problem
ID
[13505]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
6,
Series
solutions
of
linear
differential
equations.
Section
6.1.
Exercises
page
232
Problem
number
:
17
Date
solved
:
Monday, March 31, 2025 at 07:59:51 AM
CAS
classification
:
[[_Emden, _Fowler]]
Using series method with expansion around
With initial conditions
Order:=6; ode:=x*diff(diff(y(x),x),x)+diff(y(x),x)+2*y(x) = 0; ic:=y(1) = 2, D(y)(1) = 4; dsolve([ode,ic],y(x),type='series',x=1);
ode=x*D[y[x],{x,2}]+D[y[x],x]+2*y[x]==0; ic={y[1]==2,Derivative[1][y][1]==4}; AsymptoticDSolveValue[{ode,ic},y[x],{x,1,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), (x, 2)) + 2*y(x) + Derivative(y(x), x),0) ics = {y(1): 2, Subs(Derivative(y(x), x), x, 1): 4} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_ordinary",x0=1,n=6)