2.29 problem 29

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.469 (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.0 (sec). Leaf size: 0

DSolve[{y'[x]-y[x]*Cot[x]==y[x]^2*Sec[x]^2,{y[Pi/2]==-1}},y[x],x,IncludeSingularSolutions -> True]
 

{}