21.1 problem 30.6 (a)

Internal problem ID [13884]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 30. Piecewise-defined functions and periodic functions. Additional Exercises. page 553
Problem number: 30.6 (a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

Time used: 4.735 (sec). Leaf size: 12

dsolve([diff(y(t),t)=Heaviside(t-3),y(0) = 0],y(t), singsol=all)
 

\[ y \left (t \right ) = \operatorname {Heaviside}\left (t -3\right ) \left (t -3\right ) \]

Solution by Mathematica

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

DSolve[{y'[t]==UnitStep[t-3],{y[0]==0}},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \begin {array}{cc} \{ & \begin {array}{cc} t-3 & t>3 \\ 0 & \text {True} \\ \end {array} \\ \end {array} \]