Internal
problem
ID
[9430]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
4.
Power
Series
Solutions
and
Special
Functions.
Problems
for
review
and
discovert.
(A)
Drill
Exercises
.
Page
194
Problem
number
:
1(a)
Date
solved
:
Tuesday, September 30, 2025 at 06:18:43 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using series method with expansion around
Order:=8; ode:=diff(diff(y(x),x),x)+2*x*y(x) = x^2; dsolve(ode,y(x),type='series',x=0);
ode=D[y[x],{x,2}]+2*x*y[x]==x^2; ic={}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,7}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 + 2*x*y(x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_regular",x0=0,n=8)
ValueError : ODE -x**2 + 2*x*y(x) + Derivative(y(x), (x, 2)) does not match hint 2nd_power_series_regular