Internal
problem
ID
[24232]
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
:
2
Date
solved
:
Thursday, October 02, 2025 at 10:01:07 PM
CAS
classification
:
[[_linear, `class A`]]
Using series method with expansion around
With initial conditions
Order:=6; ode:=diff(y(x),x) = 2*y(x)+x; ic:=[y(0) = 2]; dsolve([ode,op(ic)],y(x),type='series',x=0);
ode=D[y[x],{x,1}]==x+2*y[x]; ic={y[0]==2}; 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),0) ics = {y(0): 2} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)