1.2 problem 1(b)

Internal problem ID [2521]

Book: Elementary Differential equations, Chaundy, 1969
Section: Exercises 3, page 60
Problem number: 1(b).
ODE order: 1.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime }-y-x^{3}=0} \end {gather*}

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 \relax (x ) = -x^{3}-3 x^{2}-6 x -6+c_{1} {\mathrm e}^{x} \]

Solution by Mathematica

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

DSolve[y'[x]-y[x]==x^3,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -x (x (x+3)+6)+c_1 e^x-6 \\ \end{align*}