1.10 problem 10

Internal problem ID [6301]

Book: Own collection of miscellaneous problems
Section: section 1.0
Problem number: 10.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

Time used: 0.002 (sec). Leaf size: 17

dsolve(diff(y(x),x) = 1+sec(x)/x,y(x), singsol=all)
 

\[ y \relax (x ) = \int \frac {1}{\cos \relax (x ) x}d x +x +c_{1} \]

Solution by Mathematica

Time used: 0.486 (sec). Leaf size: 25

DSolve[y'[x] == 1+Sec[x]/x,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \int _1^x\left (\frac {\sec (K[1])}{K[1]}+1\right )dK[1]+c_1 \\ \end{align*}