1.18 problem 2(d)

Internal problem ID [5369]

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(d).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

Time used: 0.001 (sec). Leaf size: 14

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

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

Solution by Mathematica

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

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

\begin{align*} y(x)\to \frac {1}{2} \log \left (x^2+1\right )+c_1 \\ \end{align*}