Internal
problem
ID
[24234]
Book
:
Elementary
Differential
Equations.
By
Lee
Roy
Wilcox
and
Herbert
J.
Curtis.
1961
first
edition.
International
texbook
company.
Scranton,
Penn.
USA.
CAT
number
61-15976
Section
:
Chapter
7.
Series
Methods.
Exercises
at
page
226
Problem
number
:
4
Date
solved
:
Thursday, October 02, 2025 at 10:01:08 PM
CAS
classification
:
[[_linear, `class A`]]
Using series method with expansion around
With initial conditions
Order:=6; ode:=diff(y(x),x)-y(x) = x^2+1; ic:=[y(0) = -3]; dsolve([ode,op(ic)],y(x),type='series',x=0);
ode=D[y[x],{x,1}]-y[x]==1+x^2; ic={y[0]==-3}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 - y(x) + Derivative(y(x), x) - 1,0) ics = {y(0): -3} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)