3.8 problem 8

Internal problem ID [34]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.4. Separable equations. Page 43
Problem number: 8.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y^{\prime }-2 x \sec \relax (y)=0} \end {gather*}

Solution by Maple

Time used: 0.015 (sec). Leaf size: 12

dsolve(diff(y(x),x) = 2*x*sec(y(x)),y(x), singsol=all)
 

\[ y \relax (x ) = \arcsin \left (x^{2}+2 c_{1}\right ) \]

Solution by Mathematica

Time used: 0.441 (sec). Leaf size: 12

DSolve[y'[x]==2*x*Sec[y[x]],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \text {ArcSin}\left (x^2+c_1\right ) \\ \end{align*}