2.23 problem 27

Internal problem ID [4463]

Book: Fundamentals of Differential Equations. By Nagle, Saff and Snider. 9th edition. Boston. Pearson 2018.
Section: Chapter 2, First order differential equations. Section 2.3, Linear equations. Exercises. page 54
Problem number: 27.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }+y \sqrt {1+\sin \left (x \right )^{2}}-x=0} \] With initial conditions \begin {align*} [y \left (0\right ) = 2] \end {align*}

Solution by Maple

Time used: 0.469 (sec). Leaf size: 48

dsolve([diff(y(x),x)+y(x)*sqrt(1+sin(x)^2)=x,y(0) = 2],y(x), singsol=all)
 

\[ y \left (x \right ) = \left (\int _{0}^{x}\textit {\_z1} \,{\mathrm e}^{-\operatorname {EllipticE}\left (\cos \left (\textit {\_z1} \right ), \frac {\sqrt {2}}{2}\right ) \operatorname {csgn}\left (\sin \left (\textit {\_z1} \right )\right ) \sqrt {2}}d \textit {\_z1} +2\right ) {\mathrm e}^{\operatorname {csgn}\left (\sin \left (x \right )\right ) \operatorname {EllipticE}\left (\cos \left (x \right ), \frac {\sqrt {2}}{2}\right ) \sqrt {2}} \]

Solution by Mathematica

Time used: 0.211 (sec). Leaf size: 31

DSolve[{y'[x]+y[x]*Sqrt[1+Sin[x]^2]==x,{y[0]==2}},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to e^{-E(x|-1)} \left (\int _0^xe^{E(K[1]|-1)} K[1]dK[1]+2\right ) \\ \end{align*}