8.17 problem 30

Internal problem ID [13045]

Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 1. First-Order Differential Equations. Review Exercises for chapter 1. page 136
Problem number: 30.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

dsolve([diff(x(t),t)= -t*x(t),x(0) = exp(1)],x(t), singsol=all)
 

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

Solution by Mathematica

Time used: 0.038 (sec). Leaf size: 16

DSolve[{x'[t]==-t*x[t],{x[0]==Exp[1]}},x[t],t,IncludeSingularSolutions -> True]
 

\[ x(t)\to e^{1-\frac {t^2}{2}} \]