Internal
problem
ID
[19413]
Book
:
A
Text
book
for
differentional
equations
for
postgraduate
students
by
Ray
and
Chaturvedi.
First
edition,
1958.
BHASKAR
press.
INDIA
Section
:
Chapter
VIII.
Linear
equations
of
second
order.
Excercise
at
end
of
chapter
VIII.
Page
141
Problem
number
:
2
(iii)
Date
solved
:
Monday, March 31, 2025 at 07:12:59 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
ode:=diff(diff(y(x),x),x)-2*diff(y(x),x)/x+(n^2+2/x^2)*y(x) = 0; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-2/x*D[y[x],x]+(n^2+2/x^2)*y[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") n = symbols("n") y = Function("y") ode = Eq((n**2 + 2/x**2)*y(x) + Derivative(y(x), (x, 2)) - 2*Derivative(y(x), x)/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)