1.2 problem 1.1.2

Internal problem ID [9583]

Book: Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section: Chapter 1, First-Order differential equations
Problem number: 1.1.2.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {y^{\prime }-f \relax (y)=0} \end {gather*}

Solution by Maple

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

dsolve(diff(y(x),x)=f(y(x)),y(x), singsol=all)
 

\[ x -\left (\int _{}^{y \relax (x )}\frac {1}{f \left (\textit {\_a} \right )}d \textit {\_a} \right )+c_{1} = 0 \]

Solution by Mathematica

Time used: 0.285 (sec). Leaf size: 33

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

\begin{align*} y(x)\to \text {InverseFunction}\left [\int _1^{\text {$\#$1}}\frac {1}{f(K[1])}dK[1]\&\right ][x+c_1] \\ y(x)\to f^{(-1)}(0) \\ \end{align*}