3.22 problem 23

Internal problem ID [48]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.4. Separable equations. Page 43
Problem number: 23.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {1+y^{\prime }-2 y=0} \end {gather*} With initial conditions \begin {align*} [y \relax (1) = 1] \end {align*}

Solution by Maple

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

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

\[ y \relax (x ) = \frac {1}{2}+\frac {{\mathrm e}^{2 x -2}}{2} \]

Solution by Mathematica

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

DSolve[{1+y'[x] == 2*y[x],y[1]==1},y[x],x,IncludeSingularSolutions -> True]
 

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