5.12 problem Exercise 11.11, page 97

Internal problem ID [3997]

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`]]

\[ \boxed {y^{\prime }+2 y-\sin \left (x \right )=0} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.041 (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*}