Internal
problem
ID
[6415]
Book
:
Basic
Training
in
Mathematics.
By
R.
Shankar.
Plenum
Press.
NY.
1995
Section
:
Chapter
10,
Differential
equations.
Section
10.4,
ODEs
with
variable
Coefficients.
Second
order
and
Homogeneous.
page
318
Problem
number
:
10.4.9
(i)
Date
solved
:
Wednesday, March 05, 2025 at 12:39:35 AM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)-2*y(x)/x-x^2 = 0; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]-2*y[x]/x-x^2==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 + Derivative(y(x), x) - 2*y(x)/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)