Internal problem ID [5115]
Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY.
2001
Section: Program 24. First order differential equations. Further problems 24. page
1068
Problem number: 29.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_Bernoulli]
\[ \boxed {y^{\prime }-y \cot \left (x \right )-y^{2} \sec \left (x \right )^{2}=0} \] With initial conditions \begin {align*} \left [y \left (\frac {\pi }{4}\right ) = -1\right ] \end {align*}
✓ Solution by Maple
Time used: 0.89 (sec). Leaf size: 18
dsolve([diff(y(x),x)-y(x)*cot(x)=y(x)^2*sec(x)^2,y(1/4*Pi) = -1],y(x), singsol=all)
\[ y \left (x \right ) = \frac {2 \sin \left (x \right )}{\sqrt {2}-2 \sec \left (x \right )} \]
✓ Solution by Mathematica
Time used: 0.46 (sec). Leaf size: 22
DSolve[{y'[x]-y[x]*Cot[x]==y[x]^2*Sec[x]^2,{y[Pi/4]==-1}},y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {\sin (2 x)}{\sqrt {2} \cos (x)-2} \]