1.1 problem 1.1.1

Internal problem ID [9582]

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

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

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

\[ y \relax (x ) = c_{1}+\int f \relax (x )d x \]

Solution by Mathematica

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

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

\begin{align*} y(x)\to \int _1^xf(K[1])dK[1]+c_1 \\ \end{align*}