22.1 problem 31.6 (a)

22.1.1 Existence and uniqueness analysis
22.1.2 Solving as laplace ode
22.1.3 Maple step by step solution

Internal problem ID [13891]
Internal file name [OUTPUT/13063_Friday_February_23_2024_06_54_28_AM_88293758/index.tex]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 31. Delta Functions. Additional Exercises. page 572
Problem number: 31.6 (a).
ODE order: 1.
ODE degree: 1.

The type(s) of ODE detected by this program : "quadrature"

Maple gives the following as the ode type

[_quadrature]

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

22.1.1 Existence and uniqueness analysis

This is a linear ODE. In canonical form it is written as \begin {align*} y^{\prime } + p(t)y &= q(t) \end {align*}

Where here \begin {align*} p(t) &=0\\ q(t) &=3 \delta \left (-2+t \right ) \end {align*}

Hence the ode is \begin {align*} y^{\prime } = 3 \delta \left (-2+t \right ) \end {align*}

The domain of \(p(t)=0\) is \[ \{-\infty

22.1.2 Solving as laplace ode

Solving using the Laplace transform method. Let \[ \mathcal {L}\left (y\right ) =Y(s) \] Taking the Laplace transform of the ode and using the relations that \begin {align*} \mathcal {L}\left (y^{\prime }\right )&= s Y(s) - y \left (0\right ) \end {align*}

The given ode now becomes an algebraic equation in the Laplace domain \begin {align*} s Y \left (s \right )-y \left (0\right ) = 3 \,{\mathrm e}^{-2 s}\tag {1} \end {align*}

Replacing initial condition gives \begin {align*} s Y \left (s \right ) = 3 \,{\mathrm e}^{-2 s} \end {align*}

Solving for \(Y(s)\) gives \begin {align*} Y(s) = \frac {3 \,{\mathrm e}^{-2 s}}{s} \end {align*}

Taking the inverse Laplace transform gives \begin {align*} y&= \mathcal {L}^{-1}\left (Y(s)\right )\\ &= \mathcal {L}^{-1}\left (\frac {3 \,{\mathrm e}^{-2 s}}{s}\right )\\ &= 3 \operatorname {Heaviside}\left (-2+t \right ) \end {align*}

Converting the above solution to piecewise it becomes \[ y = \left \{\begin {array}{cc} 0 & t <2 \\ 3 & 2\le t \end {array}\right . \]

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= \left \{\begin {array}{cc} 0 & t <2 \\ 3 & 2\le t \end {array}\right . \\ \end{align*}

Verification of solutions

\[ y = \left \{\begin {array}{cc} 0 & t <2 \\ 3 & 2\le t \end {array}\right . \] Verified OK.

22.1.3 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & \left [y^{\prime }=3 \mathit {Dirac}\left (-2+t \right ), y \left (0\right )=0\right ] \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} t \\ {} & {} & \int y^{\prime }d t =\int 3 \mathit {Dirac}\left (-2+t \right )d t +c_{1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & y=3 \mathit {Heaviside}\left (-2+t \right )+c_{1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=3 \mathit {Heaviside}\left (-2+t \right )+c_{1} \\ \bullet & {} & \textrm {Use initial condition}\hspace {3pt} y \left (0\right )=0 \\ {} & {} & 0=c_{1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} c_{1} \\ {} & {} & c_{1} =0 \\ \bullet & {} & \textrm {Substitute}\hspace {3pt} c_{1} =0\hspace {3pt}\textrm {into general solution and simplify}\hspace {3pt} \\ {} & {} & y=3 \mathit {Heaviside}\left (-2+t \right ) \\ \bullet & {} & \textrm {Solution to the IVP}\hspace {3pt} \\ {} & {} & y=3 \mathit {Heaviside}\left (-2+t \right ) \end {array} \]

Maple trace

`Methods for first order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
<- quadrature successful`
 

Solution by Maple

Time used: 5.0 (sec). Leaf size: 10

dsolve([diff(y(t),t)=3*Dirac(t-2),y(0) = 0],y(t), singsol=all)
 

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

Solution by Mathematica

Time used: 0.006 (sec). Leaf size: 11

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

\[ y(t)\to 3 \theta (t-2) \]