1.35 problem 35

Internal problem ID [7424]

Book: Second order enumerated odes
Section: section 1
Problem number: 35.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _missing_y]]

\[ \boxed {y^{\prime \prime }+y^{\prime }=x^{3}+x^{2}+x +1} \]

Solution by Maple

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

dsolve(diff(y(x),x$2)+diff(y(x),x)=1+x+x^2+x^3,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {x^{4}}{4}-{\mathrm e}^{-x} c_{1} +\frac {5 x^{2}}{2}-\frac {2 x^{3}}{3}-4 x +c_{2} \]

Solution by Mathematica

Time used: 0.131 (sec). Leaf size: 41

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

\[ y(x)\to \frac {x^4}{4}-\frac {2 x^3}{3}+\frac {5 x^2}{2}-4 x-c_1 e^{-x}+c_2 \]