Internal
problem
ID
[19500]
Book
:
A
Text
book
for
differentional
equations
for
postgraduate
students
by
Ray
and
Chaturvedi.
First
edition,
1958.
BHASKAR
press.
INDIA
Section
:
Book
Solved
Excercises.
Chapter
VI.
Homogeneous
linear
equations
with
variable
coefficients
Problem
number
:
Ex
2
page
80
Date
solved
:
Thursday, March 13, 2025 at 02:42:55 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)