Internal
problem
ID
[4952]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Part
II.
Chapter
1.
THE
DIFFERENTIAL
EQUATION
IS
OF
FIRST
ORDER
AND
OF
FIRST
DEGREE,
page
223
Problem
number
:
331
Date
solved
:
Tuesday, September 30, 2025 at 09:04:09 AM
CAS
classification
:
[_linear]
ode:=2*x^2*diff(y(x),x)+x*cot(x)-1+2*x^2*y(x)*cot(x) = 0; dsolve(ode,y(x), singsol=all);
ode=2*x^2*D[y[x],x]+x*Cot[x]-1+2*x^2*y[x]*Cot[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x**2*y(x)/tan(x) + 2*x**2*Derivative(y(x), x) + x/tan(x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)