3.15 problem Problem 15

Internal problem ID [2653]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.6, First-Order Linear Differential Equations. page 59
Problem number: Problem 15.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }+\frac {m y}{x}=\ln \left (x \right )} \]

Solution by Maple

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

dsolve(diff(y(x),x)+m/x*y(x)=ln(x),y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {c_{1} \left (m +1\right )^{2} x^{-m}+x \left (-1+\left (m +1\right ) \ln \left (x \right )\right )}{\left (m +1\right )^{2}} \]

Solution by Mathematica

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

DSolve[y'[x]+m/x*y[x]==Log[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {x ((m+1) \log (x)-1)}{(m+1)^2}+c_1 x^{-m} \]