Internal problem ID [6300]
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]
\[ \boxed {y^{\prime }-1-\frac {\sec \left (x \right )}{x}=0} \]
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 15
dsolve(diff(y(x),x) = 1+sec(x)/x,y(x), singsol=all)
\[ y \left (x \right ) = \int \frac {\sec \left (x \right )}{x}d x +x +c_{1} \]
✓ Solution by Mathematica
Time used: 0.747 (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*}