1.1 problem 2(a)

Internal problem ID [1923]

Book: Elementary Differential Equations, Martin, Reissner, 2nd ed, 1961
Section: Exercis 2, page 5
Problem number: 2(a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {y^{\prime }-2=0} \end {gather*}

Solution by Maple

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

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

\[ y \relax (x ) = 2 x +c_{1} \]

Solution by Mathematica

Time used: 0.002 (sec). Leaf size: 11

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

\begin{align*} y(x)\to 2 x+c_1 \\ \end{align*}