Internal problem ID [3012]
Book: Theory and solutions of Ordinary Differential equations, Donald Greenspan,
1960
Section: Exercises, page 14
Problem number: 2(a).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }-y \tan \left (x \right )=x} \] With initial conditions \begin {align*} [y \left (0\right ) = 0] \end {align*}
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 14
dsolve([diff(y(x),x)-y(x)*tan(x)=x,y(0) = 0],y(x), singsol=all)
\[ y \left (x \right ) = 1+\tan \left (x \right ) x -\sec \left (x \right ) \]
✓ Solution by Mathematica
Time used: 0.048 (sec). Leaf size: 15
DSolve[{y'[x]-y[x]*Tan[x]==x,y[0]==0},y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to x \tan (x)-\sec (x)+1 \]