6.15 problem 148

Internal problem ID [15041]

Book: A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section: Section 6. Linear equations of the first order. The Bernoulli equation. Exercises page 54
Problem number: 148.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {y^{\prime }-y \ln \left (2\right )=2^{\sin \left (x \right )} \left (\cos \left (x \right )-1\right ) \ln \left (2\right )} \]

Solution by Maple

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

dsolve(diff(y(x),x)-y(x)*ln(2)=2^(sin(x))*(cos(x)-1)*ln(2),y(x), singsol=all)
 

\[ y \left (x \right ) = 2^{x} c_{1} +2^{\sin \left (x \right )} \]

Solution by Mathematica

Time used: 0.368 (sec). Leaf size: 16

DSolve[y'[x]-y[x]*Log[2]==2^(Sin[x])*(Cos[x]-1)*Log[2],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to 2^{\sin (x)}+c_1 2^x \]