Internal
problem
ID
[8320]
Book
:
DIFFERENTIAL
EQUATIONS
with
Boundary
Value
Problems.
DENNIS
G.
ZILL,
WARREN
S.
WRIGHT,
MICHAEL
R.
CULLEN.
Brooks/Cole.
Boston,
MA.
2013.
8th
edition.
Section
:
CHAPTER
6
SERIES
SOLUTIONS
OF
LINEAR
EQUATIONS.
CHAPTER
6
IN
REVIEW.
Page
271
Problem
number
:
18
Date
solved
:
Wednesday, March 05, 2025 at 05:35:03 AM
CAS
classification
:
[[_2nd_order, _exact, _linear, _homogeneous]]
Using series method with expansion around
With initial conditions
Order:=8; ode:=diff(diff(y(x),x),x)+x*diff(y(x),x)+y(x) = 0; ic:=y(1) = -6, D(y)(1) = 3; dsolve([ode,ic],y(x),type='series',x=1);
ode=D[y[x],{x,2}]+x*D[y[x],x]+y[x]==0; ic={y[1]==-6,Derivative[1][y][1]==3}; AsymptoticDSolveValue[{ode,ic},y[x],{x,1,7}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), x) + y(x) + Derivative(y(x), (x, 2)),0) ics = {y(1): -6, Subs(Derivative(y(x), x), x, 1): 3} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_ordinary",x0=1,n=8)