1.17 problem 2(c)

Internal problem ID [5368]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 1. What is a differential equation. Section 1.2 THE NATURE OF SOLUTIONS. Page 9
Problem number: 2(c).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {\left (1+x \right ) y^{\prime }-x=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.004 (sec). Leaf size: 15

DSolve[(1+x)*y'[x]==x,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to x-\log (x+1)+c_1 \\ \end{align*}