Internal
problem
ID
[3338]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
40,
page
186
Problem
number
:
4
Date
solved
:
Tuesday, September 30, 2025 at 06:36:44 AM
CAS
classification
:
[_linear]
Using series method with expansion around
With initial conditions
Order:=5; ode:=diff(y(x),x) = 3*x+y(x)/x; ic:=[y(1) = 3]; dsolve([ode,op(ic)],y(x),type='series',x=1);
ode=D[y[x],x]==3*x+y[x]/x; ic={y[1]==3}; AsymptoticDSolveValue[{ode,ic},y[x],{x,1,4}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-3*x + Derivative(y(x), x) - y(x)/x,0) ics = {y(1): 3} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=1,n=5)