29.9.2 problem 242

Internal problem ID [4842]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 9
Problem number : 242
Date solved : Monday, January 27, 2025 at 09:42:22 AM
CAS classification : [_linear]

\begin{align*} \left (1-2 x \right ) y^{\prime }&=16+32 x -6 y \end{align*}

Solution by Maple

Time used: 0.003 (sec). Leaf size: 18

dsolve((1-2*x)*diff(y(x),x) = 16+32*x-6*y(x),y(x), singsol=all)
 
\[ y \left (x \right ) = \frac {4}{3}+8 x +\left (2 x -1\right )^{3} c_{1} \]

Solution by Mathematica

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

DSolve[(1-2 x)D[y[x],x]==2(8+16 x-3 y[x]),y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to 8 x+c_1 (2 x-1)^3+\frac {4}{3} \]