Internal
problem
ID
[17958]
Book
:
V.V.
Stepanov,
A
course
of
differential
equations
(in
Russian),
GIFML.
Moscow
(1958)
Section
:
All
content
Problem
number
:
166
(page
240)
Date
solved
:
Monday, March 31, 2025 at 04:52:30 PM
CAS
classification
:
[[_2nd_order, _exact, _linear, _nonhomogeneous]]
ode:=x^2*diff(diff(y(x),x),x)-2*y(x) = x^2+1/x; dsolve(ode,y(x), singsol=all);
ode=x^2*D[y[x],{x,2}]-2*y[x]==x^2+1/x; 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)) - x**2 - 2*y(x) - 1/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)