[_separable]
Book solution method
No Missing Variables ODE, Solve for
Mathematica ✓
cpu = 0.032357 (sec), leaf count = 31
Maple ✓
cpu = 0.107 (sec), leaf count = 91
DSolve[-y[x]^2 + 2*Cot[x]*y[x]*y'[x] + y'[x]^2 == 0,y[x],x]
Mathematica raw output
{{y[x] -> C[1]*Csc[x/2]^2}, {y[x] -> C[1]*Sec[x/2]^2}}
Maple raw input
dsolve(diff(y(x),x)^2+2*y(x)*diff(y(x),x)*cot(x)-y(x)^2 = 0, y(x),'implicit')
Maple raw output
y(x)-_C1/(1/(tan(x)^2+1)^(1/2)+1)*(1-1/(tan(x)^2+1))^(1/2)*(tan(x)^2+1)^(1/2)/ta
n(x) = 0, y(x)-_C1*(1/(tan(x)^2+1)^(1/2)+1)/(1-1/(tan(x)^2+1))^(1/2)*(tan(x)^2+1
)^(1/2)/tan(x) = 0