1.7 problem 21

Internal problem ID [12580]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 1. Introduction. Exercises page 14
Problem number: 21.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }-\frac {y}{x}=1} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 10

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

\[ y \left (x \right ) = \left (\ln \left (x \right )+c_{1} \right ) x \]

Solution by Mathematica

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

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

\[ y(x)\to x (\log (x)+c_1) \]