2.10 problem 35

Internal problem ID [2790]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 2
Problem number: 35.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y^{\prime }-\left (a +\cos \left (\ln \relax (x )\right )+\sin \left (\ln \relax (x )\right )\right ) y=0} \end {gather*}

Solution by Maple

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

dsolve(diff(y(x),x) = (a+cos(ln(x))+sin(ln(x)))*y(x),y(x), singsol=all)
 

\[ y \relax (x ) = c_{1} {\mathrm e}^{x \left (\sin \left (\ln \relax (x )\right )+a \right )} \]

Solution by Mathematica

Time used: 0.051 (sec). Leaf size: 22

DSolve[y'[x]==(a+Cos[Log[x]]+Sin[Log[x]]) y[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to c_1 e^{x (a+\sin (\log (x)))} \\ y(x)\to 0 \\ \end{align*}