5.12 problem Exercise 11.11, page 97

Internal problem ID [3998]

Book: Ordinary Differential Equations, By Tenenbaum and Pollard. Dover, NY 1963
Section: Chapter 2. Special types of differential equations of the first kind. Lesson 11, Bernoulli Equations
Problem number: Exercise 11.11, page 97.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, class A]]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.048 (sec). Leaf size: 26

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

\begin{align*} y(x)\to \frac {2 \sin (x)}{5}-\frac {\cos (x)}{5}+c_1 e^{-2 x} \\ \end{align*}