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