24.1.2 problem 1(b)

Internal problem ID [4191]
Book : Elementary Differential equations, Chaundy, 1969
Section : Exercises 3, page 60
Problem number : 1(b)
Date solved : Monday, January 27, 2025 at 08:41:39 AM
CAS classification : [[_linear, `class A`]]

\begin{align*} y^{\prime }-y&=x^{3} \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x)-y(x)=x^3,y(x), singsol=all)
 
\[ y \left (x \right ) = -x^{3}-3 x^{2}-6 x -6+{\mathrm e}^{x} c_{1} \]

Solution by Mathematica

Time used: 0.047 (sec). Leaf size: 26

DSolve[D[y[x],x]-y[x]==x^3,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -x^3-3 x^2-6 x+c_1 e^x-6 \]