Internal
problem
ID
[17119]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Chapter
2
(Higher
order
ODEs).
Section
18.1
Integration
of
differential
equation
in
series.
Power
series.
Exercises
page
171
Problem
number
:
724
Date
solved
:
Thursday, March 13, 2025 at 09:16:33 AM
CAS
classification
:
[_linear]
Using series method with expansion around
With initial conditions
Order:=6; ode:=diff(y(x),x) = 1-x*y(x); ic:=y(0) = 0; dsolve([ode,ic],y(x),type='series',x=0);
ode=D[y[x],x]==1-x*y[x]; ic={y[0]==0}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*y(x) + Derivative(y(x), x) - 1,0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)