4.1.14 \(y'(x)=y(x) \cot (x)\)

ODE
\[ y'(x)=y(x) \cot (x) \] ODE Classification

[_separable]

Book solution method
Separable ODE, Neither variable missing

Mathematica
cpu = 0.157863 (sec), leaf count = 10

\[\{\{y(x)\to c_1 \sin (x)\}\}\]

Maple
cpu = 0.013 (sec), leaf count = 8

\[[y \left (x \right ) = \textit {\_C1} \sin \left (x \right )]\] Mathematica raw input

DSolve[y'[x] == Cot[x]*y[x],y[x],x]

Mathematica raw output

{{y[x] -> C[1]*Sin[x]}}

Maple raw input

dsolve(diff(y(x),x) = y(x)*cot(x), y(x))

Maple raw output

[y(x) = _C1*sin(x)]