33.2 problem 831

Internal problem ID [15554]

Book: A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section: Chapter 3. Section 24.2. Solving the Cauchy problem for linear differential equation with constant coefficients. Exercises page 249
Problem number: 831.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {x^{\prime }-3 x=3 t^{3}+3 t^{2}+2 t +1} \] With initial conditions \begin {align*} [x \left (0\right ) = -1] \end {align*}

Solution by Maple

Time used: 0.359 (sec). Leaf size: 15

dsolve([diff(x(t),t)-3*x(t)=3*t^3+3*t^2+2*t+1,x(0) = -1],x(t), singsol=all)
 

\[ x \left (t \right ) = -\left (t +1\right ) \left (t^{2}+t +1\right ) \]

Solution by Mathematica

Time used: 0.136 (sec). Leaf size: 20

DSolve[{x'[t]-3*x[t]==3*t^3+3*t^2+2*t+1,{x[0]==-1}},x[t],t,IncludeSingularSolutions -> True]
 

\[ x(t)\to -t^3-2 t^2-2 t-1 \]