Differential EquationsThe Laplace Transform6 of 8
The Laplace Transform · 6

Impulses and the Dirac Delta

We know how to solve differential equations when an external force pushes smoothly or switches on, and now we need a way to handle a sudden hit, like a hammer strike, that delivers all its force in a single instant.

1

Impulse and the Dirac Delta

An impulse is the area under a force-versus-time graph, and for a mass of 11 it equals the total change in velocity that the force produces. The Dirac delta δ(t−a)\impulse{\delta(t - a)} is an idealized hit at time t=at = a with an area of 11 squeezed into a single instant.

Impulse and the Dirac Delta
y′′+4y=F(t)\htmlClass{lc-orange}{y''} + 4\htmlClass{lc-blue}{y} = \htmlClass{lc-green}{F(t)}
0\htmlClass{lc-mute}{0}
F\htmlClass{lc-green}{F}
3\htmlClass{lc-mute}{3}
t\htmlClass{lc-mute}{t}
?\htmlClass{lc-green}{?}

Because the hit happens in a single instant at t=at = a, δ(t−a)\impulse{\delta(t - a)} is not a regular function you can plug t=at = a into: the aa simply tells us when the hit happens, and the number in front tells us the area of the hit:

∫F(t) dt⏟impulse\displaystyle \impulse{\underbrace{\int F(t)\,dt}_{\text{impulse}}} =Δv,k δ(t−a)⏟impulse of area kat time t=a\displaystyle = \rate{\Delta v}, \qquad \impulse{\underbrace{k\,\delta(t - a)}_{\substack{\text{impulse of area } k \\ \text{at time } t = a}}}

As a rectangular force pulse at t=at = a gets narrower and taller with its shaded area fixed at 11, the spring's position graph y(t)\unknown{y(t)} settles onto a single limiting path with a sharp corner at t=at = a.

Squeeze a push of fixed area into a shorter and taller spike, and the spring's motion settles onto a single curve with a sharp corner.
2

How an Impulse Moves Through Derivatives

Now we want to see how a differential equation like y′′+4y=δ(t−a)\secondderiv{y''} + 4\unknown{y} = \impulse{\delta(t - a)} balances an infinite spike on the right-hand side. Because a physical mass cannot jump instantly to a new position, the spike cannot go into y\unknown{y}, and it cannot go into y′\rate{y'} either, since a spike in y′\rate{y'} would make y\unknown{y} jump. It must go into the highest derivative, y′′\secondderiv{y''}, which creates a sudden jump in velocity y′\rate{y'} and a sharp corner in position y\unknown{y}.

Spike, Jump, Corner
y′′+4y=δ(t−a)\htmlClass{lc-orange}{y''} + 4\htmlClass{lc-blue}{y} = \htmlClass{lc-green}{\delta(t - a)}
1\htmlClass{lc-green}{1}
a\htmlClass{lc-mute}{a}
t\htmlClass{lc-mute}{t}
y′′\htmlClass{lc-orange}{y''}
y′\htmlClass{lc-pink}{y'}
y\htmlClass{lc-blue}{y}
a\htmlClass{lc-mute}{a}
t\htmlClass{lc-mute}{t}
y′′\htmlClass{lc-orange}{y''}
y′\htmlClass{lc-pink}{y'}
y\htmlClass{lc-blue}{y}
a\htmlClass{lc-mute}{a}
t\htmlClass{lc-mute}{t}
Spike of area 1: δ(t−a)\htmlClass{lc-green}{\text{Spike of area } 1\text{: } \delta(t - a)}
Jump of 1: u(t−a)\htmlClass{lc-pink}{\text{Jump of } 1\text{: } u(t - a)}
Sharp corner:\text{Sharp corner:}
slope changes from 0 to 1\text{slope changes from } \htmlClass{lc-pink}{0} \text{ to } \htmlClass{lc-pink}{1}

Each integration smooths the impulse by one step:

Spike of area k in y′′  →integrate  Jump of size k in y′  →integrate  Corner of slope change k in y\displaystyle \text{Spike of area } k \text{ in } \secondderiv{y''} \;\xrightarrow{\text{integrate}}\; \text{Jump of size } k \text{ in } \rate{y'} \;\xrightarrow{\text{integrate}}\; \text{Corner of slope change } k \text{ in } \unknown{y}

When a mass sits completely still until the moment of the hit, we can use this velocity jump to solve the equation directly:

y′′+9y\displaystyle \secondderiv{y''} + 9\unknown{y} =2δ(t−5),y(0)\displaystyle = \impulse{2\delta(t - 5)}, \qquad \unknown{y(0)} =0,y′(0)\displaystyle = 0, \quad \rate{y'(0)} =0\displaystyle = 0
Solving an Impulse Problem with the Velocity Jump
y′′+9y\htmlClass{lc-orange}{y''} + 9\htmlClass{lc-blue}{y}
=2δ(t−5){}= \htmlClass{lc-green}{2\delta(t - 5)}
y(0)\htmlClass{lc-blue}{y(0)}
=0,y′(0)=0{}= 0,\quad \htmlClass{lc-pink}{y'(0)} = 0
y(t)\htmlClass{lc-blue}{y(t)}
=  ?{}= \;?
y\htmlClass{lc-blue}{y}
0\htmlClass{lc-mute}{0}
5\htmlClass{lc-mute}{5}
t\htmlClass{lc-mute}{t}
F\htmlClass{lc-green}{F}
2\htmlClass{lc-green}{2}
Text solution
Turn the impulse into initial conditions at t=5t = 5The mass stays at y(t)=0\unknown{y(t)} = 0 until t=5t = 5, when the impulse 2δ(t−5)\impulse{2\delta(t - 5)} jumps the velocity from 00 to 22 while the position stays connected at 00:
y′′+9y\displaystyle \secondderiv{y''} + 9\unknown{y} =0for t>5,y(5)\displaystyle = 0 \quad \text{for } t > 5, \qquad \unknown{y(5)} =0,y′(5)\displaystyle = 0, \quad \rate{y'(5)} =2\displaystyle = 2
Match the shifted sine and cosine at t=5t = 5Writing the general solution of y′′+9y=0\secondderiv{y''} + 9\unknown{y} = 0 shifted to t−5t - 5 lets us plug in t=5t = 5 directly to find c1c_1 and c2c_2:
y(t)=c1cos⁡(3(t−5))+c2sin⁡(3(t−5))y(5)=c1=0y′(t)=3c2cos⁡(3(t−5))y′(5)=3c2=2  ⟹  c2=23\displaystyle \begin{aligned} \unknown{y(t)} &= c_1\cos(3(t - 5)) + c_2\sin(3(t - 5)) \\ \unknown{y(5)} &= c_1 = 0 \\ \rate{y'(t)} &= 3c_2\cos(3(t - 5)) \\ \rate{y'(5)} &= 3c_2 = 2 \implies c_2 = \frac{2}{3} \end{aligned}
Switch the motion on at t=5t = 5 with u(t−5)u(t - 5)Multiplying by the unit step function u(t−5)u(t - 5) keeps the position at 00 before t=5t = 5 and turns on the sine wave from t=5t = 5 onward:
y(t)\displaystyle \unknown{y(t)} =23sin⁡(3(t−5)) u(t−5)\displaystyle = \impulse{\frac{2}{3}\sin(3(t - 5))\,u(t - 5)}

So the mass stays at 00 for the first 55 seconds, then turns a sharp corner at t=5t = 5 into a sine wave with initial slope 22 and amplitude 23\frac{2}{3}. Watch out for the chain rule when matching the velocity jump: an impulse of 22 makes the slope y′(5)\rate{y'(5)} equal to 22, not the amplitude c2c_2, because differentiating sin⁡(3(t−5))\sin(3(t - 5)) pulls out a factor of 33.

3

The Laplace Transform of the Dirac Delta

Treating an impulse as a velocity jump works cleanly when the mass is sitting still until the hit, but when the mass is already moving or damped by friction, piecing the solution together by hand at every hit gets tedious. To solve the whole equation at once with the Laplace transform, we need to evaluate an integral where a smooth function f(t)\unknown{f(t)} is multiplied by δ(t−a)\impulse{\delta(t - a)}:

∫−∞∞f(t) δ(t−a) dtandL{δ(t−a)}\displaystyle \int_{-\infty}^{\infty} \unknown{f(t)}\,\impulse{\delta(t - a)}\,dt \quad \text{and} \quad \mathcal{L}\{\impulse{\delta(t - a)}\} =∫0∞e−stδ(t−a) dt\displaystyle = \int_{0}^{\infty} \weight{e^{-st}}\impulse{\delta(t - a)}\,dt
The Laplace Transform of the Dirac Delta
∫−∞∞f(t) δ(t−a) dt=  ?\int_{-\infty}^{\infty} \htmlClass{lc-blue}{f(t)}\,\htmlClass{lc-green}{\delta(t - a)}\,dt = \;?
f(t)\htmlClass{lc-blue}{f(t)}
1\htmlClass{lc-green}{1}
a\htmlClass{lc-mute}{a}
t\htmlClass{lc-mute}{t}

Because δ(t−a)\impulse{\delta(t - a)} is zero everywhere except right at t=at = a, where its area is 11, multiplying it by f(t)\unknown{f(t)} gives an area equal to the height f(a)\unknown{f(a)} right at the spike.

Multiplying a curve by a narrow unit pulse zeroes it out everywhere else, leaving one thin sliver whose shaded area equals the curve's height right at the spike.

Applying this to f(t)=e−st\unknown{f(t)} = \weight{e^{-st}} inside the Laplace integral picks out the value of e−st\weight{e^{-st}} at t=at = a:

∫−∞∞f(t) δ(t−a) dt\displaystyle \int_{-\infty}^{\infty} \unknown{f(t)}\,\impulse{\delta(t - a)}\,dt =f(a),L{δ(t−a)}\displaystyle = \unknown{f(a)}, \qquad \mathcal{L}\{\impulse{\delta(t - a)}\} =e−as,L{δ(t)}\displaystyle = \weight{e^{-as}}, \qquad \mathcal{L}\{\impulse{\delta(t)}\} =1\displaystyle = 1
4

Solving a Second-Order Equation with an Impulse

Now we can use the Laplace transform to solve a damped spring equation where the mass is already oscillating from its initial conditions when the hammer hits at t=4t = 4:

y′′+2y′+10y\displaystyle \secondderiv{y''} + 2\rate{y'} + 10\unknown{y} =6δ(t−4),y(0)\displaystyle = \impulse{6\delta(t - 4)}, \qquad \unknown{y(0)} =1,y′(0)\displaystyle = 1, \quad \rate{y'(0)} =−1\displaystyle = -1

To transform the derivatives on the left, remember that each derivative multiplies Y(s)\unknown{Y(s)} by ss and subtracts the initial values: L{y′′}=s2Y(s)−sy(0)−y′(0)\mathcal{L}\{\secondderiv{y''}\} = s^2\unknown{Y(s)} - s\unknown{y(0)} - \rate{y'(0)} and L{y′}=sY(s)−y(0)\mathcal{L}\{\rate{y'}\} = s\unknown{Y(s)} - \unknown{y(0)}.

Solving a Second-Order Equation with an Impulse
y′′+2y′+10y\htmlClass{lc-orange}{y''} + 2\htmlClass{lc-pink}{y'} + 10\htmlClass{lc-blue}{y}
=6δ(t−4){}= \htmlClass{lc-green}{6\delta(t - 4)}
y(0)\htmlClass{lc-blue}{y(0)}
=1,y′(0)=−1{}= 1,\quad \htmlClass{lc-pink}{y'(0)} = -1
y(t)\htmlClass{lc-blue}{y(t)}
=  ?{}= \;?
y\htmlClass{lc-blue}{y}
0\htmlClass{lc-mute}{0}
4\htmlClass{lc-mute}{4}
t\htmlClass{lc-mute}{t}
F\htmlClass{lc-green}{F}
6\htmlClass{lc-green}{6}
Text solution
Transform the equation and solve for Y(s)\unknown{Y(s)}Substituting y(0)=1\unknown{y(0)} = 1 and y′(0)=−1\rate{y'(0)} = -1 and dividing by s2+2s+10s^2 + 2s + 10 separates Y(s)\unknown{Y(s)} into the motion from the initial conditions and the response to the hammer hit:
(s2Y(s)−s+1)+2(sY(s)−1)+10Y(s)=6e−4s(s2+2s+10)Y(s)−s−1=6e−4s(s2+2s+10)Y(s)=(s+1)+6e−4sY(s)=s+1s2+2s+10⏟original motion+6e−4s1s2+2s+10⏟response to thehammer hit\displaystyle \begin{aligned} \bigl(s^2\unknown{Y(s)} \original{- s + 1}\bigr) + 2\bigl(s\unknown{Y(s)} \original{- 1}\bigr) + 10\unknown{Y(s)} &= \impulse{6e^{-4s}} \\ (s^2 + 2s + 10)\unknown{Y(s)} \original{- s - 1} &= \impulse{6e^{-4s}} \\ (s^2 + 2s + 10)\unknown{Y(s)} &= \original{(s + 1)} + \impulse{6e^{-4s}} \\ \unknown{Y(s)} &= \original{\underbrace{\frac{s + 1}{s^2 + 2s + 10}}_{\text{original motion}}} \\ &\quad + \impulse{\underbrace{6e^{-4s}\frac{1}{s^2 + 2s + 10}}_{\substack{\text{response to the} \\ \text{hammer hit}}}} \end{aligned}
Complete the square in the denominatorRewriting s2+2s+10s^2 + 2s + 10 as (s+1)2+32(s + 1)^2 + 3^2 puts both fractions into shifted cosine and sine form:
s2+2s+10=(s2+2s+1)+9=(s+1)2+32Y(s)=s+1(s+1)2+32+6e−4s1(s+1)2+32\displaystyle \begin{aligned} s^2 + 2s + 10 &= (s^2 + 2s + 1) + 9 = (s + 1)^2 + 3^2 \\ \unknown{Y(s)} &= \original{\frac{s + 1}{(s + 1)^2 + 3^2}} + \impulse{6e^{-4s}\frac{1}{(s + 1)^2 + 3^2}} \end{aligned}
Invert the original motion and the delayed impulse responseShifting ss to s+1s + 1 multiplies the time function by e−te^{-t}, while multiplying by e−4s\impulse{e^{-4s}} delays the new sine wave to t−4t - 4 and switches it on with u(t−4)u(t - 4):
L−1{s+1(s+1)2+32}=e−tcos⁡(3t)L−1{6(s+1)2+32}=L−1{2⋅3(s+1)2+32}=2e−tsin⁡(3t)L−1{6e−4s1(s+1)2+32}=2e−(t−4)sin⁡(3(t−4)) u(t−4)y(t)=e−tcos⁡(3t)+2e−(t−4)sin⁡(3(t−4)) u(t−4)\displaystyle \begin{aligned} \mathcal{L}^{-1}\left\{\original{\frac{s + 1}{(s + 1)^2 + 3^2}}\right\} &= \original{e^{-t}\cos(3t)} \\ \mathcal{L}^{-1}\left\{\impulse{\frac{6}{(s + 1)^2 + 3^2}}\right\} &= \mathcal{L}^{-1}\left\{\impulse{2 \cdot \frac{3}{(s + 1)^2 + 3^2}}\right\} \\ &= \impulse{2e^{-t}\sin(3t)} \\ \mathcal{L}^{-1}\left\{\impulse{6e^{-4s}\frac{1}{(s + 1)^2 + 3^2}}\right\} \\ &= \impulse{2e^{-(t - 4)}\sin(3(t - 4))\,u(t - 4)} \\ \unknown{y(t)} &= \original{e^{-t}\cos(3t)} \\ &\quad + \impulse{2e^{-(t - 4)}\sin(3(t - 4))\,u(t - 4)} \end{aligned}

So the mass follows its original decaying wave e−tcos⁡(3t)\original{e^{-t}\cos(3t)} until t=4t = 4, where the hammer strike adds a new decaying sine wave 2e−(t−4)sin⁡(3(t−4))\impulse{2e^{-(t - 4)}\sin(3(t - 4))} right on top of it, bending the position graph at a sharp corner and jumping the velocity by 66. When e−4s\impulse{e^{-4s}} delays 2e−tsin⁡(3t)\impulse{2e^{-t}\sin(3t)} to t=4t = 4, make sure to replace tt with t−4t - 4 in the exponent e−(t−4)\impulse{e^{-(t - 4)}} as well as inside sin⁡(3(t−4))\impulse{\sin(3(t - 4))}: leaving e−te^{-t} unshifted would make the hit at t=4t = 4 already decayed by e−4e^{-4}.

Whenever the hammer strikes at t=at = a, it adds that same shifted wave to the original motion. This boosts the oscillation if the mass is moving with the hit, or can cancel part of the motion if the mass is moving against it.

No matter when the hammer hits, it adds the exact same decaying sine wave starting at the hit on top of whatever the spring is already doing.
5

Impulses in First-Order Equations

What changes when an impulse hits a first-order equation instead of a second-order equation? Let's solve:

y′+2y\displaystyle \rate{y'} + 2\unknown{y} =3δ(t−1),y(0)\displaystyle = \impulse{3\delta(t - 1)}, \qquad \unknown{y(0)} =4\displaystyle = 4

Because there is no y′′\secondderiv{y''} term, y′\rate{y'} is the highest derivative and takes the spike. That means y(t)\unknown{y(t)} itself jumps up by 33 at t=1t = 1, like dumping a 33-gallon bucket of water all at once into a leaking tank that started with 44 gallons.

Impulses in First-Order Equations
y′+2y\htmlClass{lc-pink}{y'} + 2\htmlClass{lc-blue}{y}
=3δ(t−1){}= \htmlClass{lc-green}{3\delta(t - 1)}
y(0)\htmlClass{lc-blue}{y(0)}
=4{}= 4
y(t)\htmlClass{lc-blue}{y(t)}
=  ?{}= \;?
3 gal\htmlClass{lc-green}{3\text{ gal}}
2y\htmlClass{lc-pink}{2}\htmlClass{lc-blue}{y}
y\htmlClass{lc-blue}{y}
0\htmlClass{lc-mute}{0}
1\htmlClass{lc-mute}{1}
t\htmlClass{lc-mute}{t}
Text solution
Transform the equation and split Y(s)\unknown{Y(s)} into two partsSubstituting y(0)=4\unknown{y(0)} = 4 into L{y′}=sY(s)−y(0)\mathcal{L}\{\rate{y'}\} = s\unknown{Y(s)} - \unknown{y(0)} separates the initial water draining away from the bucket dumped in at t=1t = 1:
sY(s)−4+2Y(s)=3e−s(s+2)Y(s)=4+3e−sY(s)=4s+2⏟original waterdraining+3e−s1s+2⏟bucket dumpedin at t=1\displaystyle \begin{aligned} s\unknown{Y(s)} \original{- 4} + 2\unknown{Y(s)} &= \impulse{3e^{-s}} \\ (s + 2)\unknown{Y(s)} &= \original{4} + \impulse{3e^{-s}} \\ \unknown{Y(s)} &= \original{\underbrace{\frac{4}{s + 2}}_{\substack{\text{original water} \\ \text{draining}}}} + \impulse{\underbrace{3e^{-s}\frac{1}{s + 2}}_{\substack{\text{bucket dumped} \\ \text{in at } t = 1}}} \end{aligned}
Invert each term to find y(t)\unknown{y(t)}The first fraction inverts to 4e−2t\original{4e^{-2t}}, and the factor e−s\impulse{e^{-s}} delays the second exponential 3e−2t\impulse{3e^{-2t}} to start at t=1t = 1:
L−1{4s+2}=4e−2tL−1{3e−s1s+2}=3e−2(t−1) u(t−1)y(t)=4e−2t+3e−2(t−1) u(t−1)\displaystyle \begin{aligned} \mathcal{L}^{-1}\left\{\original{\frac{4}{s + 2}}\right\} &= \original{4e^{-2t}} \\ \mathcal{L}^{-1}\left\{\impulse{3e^{-s}\frac{1}{s + 2}}\right\} &= \impulse{3e^{-2(t - 1)}\,u(t - 1)} \\ \unknown{y(t)} &= \original{4e^{-2t}} + \impulse{3e^{-2(t - 1)}\,u(t - 1)} \end{aligned}

So the amount of water decays along 4e−2t\original{4e^{-2t}} until t=1t = 1. Then the second term switches on at 3e0=3\impulse{3e^{0}} = 3, jumping y(t)\unknown{y(t)} straight up by 33 from 4e−24e^{-2} to 4e−2+34e^{-2} + 3 before both amounts drain away together.

Key concepts

Whenever δ(t−a)\impulse{\delta(t - a)} sits inside an integral, don't look for an antiderivative or integrate by parts: the spike at t=at = a simply picks out the value of the function multiplying it at t=at = a, so ∫−∞∞f(t) δ(t−a) dt=f(a)\int_{-\infty}^{\infty} \unknown{f(t)}\,\impulse{\delta(t - a)}\,dt = \unknown{f(a)} (for instance, ∫−∞∞(t2+1) δ(t−2) dt=22+1=5\int_{-\infty}^{\infty} \unknown{(t^2 + 1)}\,\impulse{\delta(t - 2)}\,dt = 2^2 + 1 = 5). Applying this to e−st\weight{e^{-st}} gives the Laplace transform L{kδ(t−a)}=ke−as\mathcal{L}\{\impulse{k\delta(t - a)}\} = k\weight{e^{-as}}, and when the hit happens right at the start (a=0a = 0), L{kδ(t)}=k\mathcal{L}\{\impulse{k\delta(t)}\} = k.

To solve a differential equation with an impulse kδ(t−a)\impulse{k\delta(t - a)}, check what else is happening in the system. If an undamped mass sits at rest (y(0)=0,y′(0)=0\unknown{y(0)} = 0, \rate{y'(0)} = 0) and gets hit once, you don't need the Laplace transform: just solve the unforced equation starting at t=at = a with position y(a)=0\unknown{y(a)} = 0 and velocity y′(a)=k\rate{y'(a)} = k, such as y′′+9y=2δ(t−5)\secondderiv{y''} + 9\unknown{y} = \impulse{2\delta(t - 5)} giving y(t)=23sin⁡(3(t−5)) u(t−5)\unknown{y(t)} = \impulse{\tfrac{2}{3}\sin(3(t - 5))\,u(t - 5)}. When the system is already moving from nonzero initial conditions, has damping y′\rate{y'}, or gets hit more than once, take the Laplace transform so Y(s)\unknown{Y(s)} splits automatically into the original motion plus the delayed impulse response ke−as1s2+bs+c\impulse{ke^{-as}\tfrac{1}{s^2 + bs + c}}. And if the impulse is kδ(t)\impulse{k\delta(t)} at t=0t = 0, its transform is just the number kk with no e−as\impulse{e^{-as}} factor, so you don't need a step function u(t−a)u(t - a): combine kk directly with the initial-condition numbers on the right-hand side.

Finally, you can always check your answer's behavior at t=at = a by seeing which derivative takes the spike. In a second-order equation (y′′+by′+cy=kδ(t−a)\secondderiv{y''} + b\rate{y'} + c\unknown{y} = \impulse{k\delta(t - a)}), the spike goes into y′′\secondderiv{y''}, so velocity y′(t)\rate{y'(t)} jumps by kk and position y(t)\unknown{y(t)} has a sharp corner (its delayed term starts at 00, the way a shifted sine wave starts at sin⁡(0)=0\sin(0) = 0). In a first-order equation (y′+cy=kδ(t−a)\rate{y'} + c\unknown{y} = \impulse{k\delta(t - a)}), the spike goes into y′\rate{y'}, so y(t)\unknown{y(t)} itself jumps straight up by kk at t=at = a (its delayed term is a shifted exponential ke−c(t−a)u(t−a)\impulse{ke^{-c(t - a)}u(t - a)}, which starts at ke0=kke^0 = k).

6

Practice

1

Evaluate ∫−∞∞(t2+1)cos⁡(πt) δ(t−2) dt\int_{-\infty}^{\infty} \unknown{(t^2 + 1)\cos(\pi t)}\,\impulse{\delta(t - 2)}\,dt and find the Laplace transform L{5δ(t−3)−δ(t)}\mathcal{L}\{\impulse{5\delta(t - 3)} - \impulse{\delta(t)}\}.

For the integral, what single value of tt does δ(t−2)\impulse{\delta(t - 2)} pick out of f(t)=(t2+1)cos⁡(πt)\unknown{f(t)} = \unknown{(t^2 + 1)\cos(\pi t)}? For the transform, check the time aa of the hit in each term, especially δ(t)\impulse{\delta(t)} where a=0a = 0.

In the integral, δ(t−2)\impulse{\delta(t - 2)} picks out the value of (t2+1)cos⁡(πt)\unknown{(t^2 + 1)\cos(\pi t)} at t=2t = 2:
∫−∞∞(t2+1)cos⁡(πt) δ(t−2) dt\displaystyle \int_{-\infty}^{\infty} \unknown{(t^2 + 1)\cos(\pi t)}\,\impulse{\delta(t - 2)}\,dt =(22+1)cos⁡(2π)\displaystyle = (2^2 + 1)\cos(2\pi) =5(1)\displaystyle = 5(1) =5\displaystyle = 5
For the Laplace transform, L{δ(t−a)}=e−as\mathcal{L}\{\impulse{\delta(t - a)}\} = \weight{e^{-as}} gives 5e−3s5e^{-3s} for the first term and e−0s=1e^{-0s} = 1 for δ(t)\impulse{\delta(t)} (watch out for writing L{δ(t)}=e−s\mathcal{L}\{\impulse{\delta(t)}\} = e^{-s} as if a=1a = 1, or dropping δ(t)\impulse{\delta(t)} as 00, which gives the wrong answer 5e−3s−e−s5e^{-3s} - e^{-s} or 5e−3s5e^{-3s}):
L{5δ(t−3)−δ(t)}\displaystyle \mathcal{L}\{\impulse{5\delta(t - 3)} - \impulse{\delta(t)}\} =5e−3s−1\displaystyle = 5e^{-3s} - 1
2

Solve y′′+16y=12δ(t−π)\secondderiv{y''} + 16\unknown{y} = \impulse{12\delta(t - \pi)}, y(0)=0\unknown{y(0)} = 0, y′(0)=0\rate{y'(0)} = 0, and give the jump in velocity y′(t)\rate{y'(t)} at t=πt = \pi.

The mass sits at rest until t=πt = \pi. When 12δ(t−π)\impulse{12\delta(t - \pi)} hits, how much does the velocity y′(π)\rate{y'(\pi)} jump, and what factor comes out when you differentiate sin⁡(4(t−π))\sin(4(t - \pi))?

The spike 12δ(t−π)\impulse{12\delta(t - \pi)} goes into y′′\secondderiv{y''}, so the velocity y′(t)\rate{y'(t)} jumps by 1212 at t=πt = \pi while the position remains y(π)=0\unknown{y(\pi)} = 0. Matching y′(π)=12\rate{y'(\pi)} = 12 on the shifted solution y(t)=c2sin⁡(4(t−π))\unknown{y(t)} = c_2\sin(4(t - \pi)) for t>πt > \pi (be careful not to set the amplitude c2c_2 directly to the impulse 1212, which misses the chain-rule factor of 44 from differentiating sin⁡(4(t−π))\sin(4(t - \pi)) and gives the wrong answer 12sin⁡(4(t−π)) u(t−π)12\sin(4(t - \pi))\,u(t - \pi)):
y′(t)=4c2cos⁡(4(t−π))y′(π)=4c2=12  ⟹  c2=3y(t)=3sin⁡(4(t−π)) u(t−π),velocity jump=12\displaystyle \begin{aligned} \rate{y'(t)} &= 4c_2\cos(4(t - \pi)) \\ \rate{y'(\pi)} &= 4c_2 = 12 \implies c_2 = 3 \\ \unknown{y(t)} &= \impulse{3\sin(4(t - \pi))\,u(t - \pi)}, \qquad \text{velocity jump} = 12 \end{aligned}
3

Solve y′+3y=5δ(t−2)\rate{y'} + 3\unknown{y} = \impulse{5\delta(t - 2)}, y(0)=2\unknown{y(0)} = 2, and find the value of y(t)\unknown{y(t)} just before and just after t=2t = 2.

Take the Laplace transform and split Y(s)\unknown{Y(s)} into the initial-condition term and the e−2s\impulse{e^{-2s}} term. When you invert the delayed term, remember to shift tt to t−2t - 2 inside the exponent.

Transforming both sides with y(0)=2\unknown{y(0)} = 2 gives:
sY(s)−2+3Y(s)=5e−2sY(s)=2s+3+5e−2s1s+3\displaystyle \begin{aligned} s\unknown{Y(s)} \original{- 2} + 3\unknown{Y(s)} &= \impulse{5e^{-2s}} \\ \unknown{Y(s)} &= \original{\frac{2}{s + 3}} + \impulse{5e^{-2s}\frac{1}{s + 3}} \end{aligned}
Inverting both terms delays the second exponential to t−2t - 2 (watch out for leaving the exponent unshifted as 5e−3tu(t−2)5e^{-3t}u(t - 2), which makes the jump at t=2t = 2 equal to 5e−65e^{-6} instead of 55):
y(t)=2e−3t+5e−3(t−2) u(t−2)y(2−)=2e−6,y(2+)=2e−6+5\displaystyle \begin{aligned} \unknown{y(t)} &= \original{2e^{-3t}} + \impulse{5e^{-3(t - 2)}\,u(t - 2)} \\ \unknown{y(2^-)} &= 2e^{-6}, \qquad \unknown{y(2^+)} = 2e^{-6} + 5 \end{aligned}
4

Solve y′′+4y′+4y=3δ(t)\secondderiv{y''} + 4\rate{y'} + 4\unknown{y} = \impulse{3\delta(t)}, y(0)=1\unknown{y(0)} = 1, y′(0)=−2\rate{y'(0)} = -2.

When the impulse 3δ(t)\impulse{3\delta(t)} happens right at t=0t = 0, what is L{3δ(t)}\mathcal{L}\{\impulse{3\delta(t)}\}? Combine that number with the initial-condition constants before dividing by s2+4s+4=(s+2)2s^2 + 4s + 4 = (s + 2)^2.

Transforming both sides with y(0)=1\unknown{y(0)} = 1, y′(0)=−2\rate{y'(0)} = -2, and L{3δ(t)}=3\mathcal{L}\{\impulse{3\delta(t)}\} = \impulse{3} (make sure to multiply −y(0)-\unknown{y(0)} by 44 in 4(sY(s)−y(0))4\bigl(s\unknown{Y(s)} - \unknown{y(0)}\bigr); forgetting to distribute the 44 leaves −s+1-s + 1 instead of −s−2-s - 2 on the left and leads to the wrong answer e−2te^{-2t}):
(s2Y(s)−s+2)+4(sY(s)−1)+4Y(s)=3(s2+4s+4)Y(s)−s−2=3(s+2)2Y(s)=(s+2)+3Y(s)=1s+2+3(s+2)2y(t)=e−2t+3te−2t\displaystyle \begin{aligned} \bigl(s^2\unknown{Y(s)} \original{- s + 2}\bigr) + 4\bigl(s\unknown{Y(s)} \original{- 1}\bigr) + 4\unknown{Y(s)} &= \impulse{3} \\ (s^2 + 4s + 4)\unknown{Y(s)} \original{- s - 2} &= \impulse{3} \\ (s + 2)^2\unknown{Y(s)} &= \original{(s + 2)} + \impulse{3} \\ \unknown{Y(s)} &= \original{\frac{1}{s + 2}} + \impulse{\frac{3}{(s + 2)^2}} \\ \unknown{y(t)} &= \original{e^{-2t}} + \impulse{3te^{-2t}} \end{aligned}
5

Solve y′′+6y′+13y=8δ(t−1)\secondderiv{y''} + 6\rate{y'} + 13\unknown{y} = \impulse{8\delta(t - 1)}, y(0)=1\unknown{y(0)} = 1, y′(0)=−1\rate{y'(0)} = -1.

Complete the square on s2+6s+13=(s+3)2+22s^2 + 6s + 13 = (s + 3)^2 + 2^2, then rewrite the numerator s+5s + 5 in terms of (s+3)(s + 3) so each piece matches a shifted cosine or sine.

Transforming both sides with y(0)=1\unknown{y(0)} = 1 and y′(0)=−1\rate{y'(0)} = -1 and completing the square in the denominator gives:
(s2Y(s)−s+1)+6(sY(s)−1)+13Y(s)=8e−s(s2+6s+13)Y(s)−s−5=8e−sY(s)=s+5(s+3)2+22+8e−s1(s+3)2+22\displaystyle \begin{aligned} \bigl(s^2\unknown{Y(s)} \original{- s + 1}\bigr) + 6\bigl(s\unknown{Y(s)} \original{- 1}\bigr) + 13\unknown{Y(s)} &= \impulse{8e^{-s}} \\ (s^2 + 6s + 13)\unknown{Y(s)} \original{- s - 5} &= \impulse{8e^{-s}} \\ \unknown{Y(s)} &= \original{\frac{s + 5}{(s + 3)^2 + 2^2}} + \impulse{8e^{-s}\frac{1}{(s + 3)^2 + 2^2}} \end{aligned}
Splitting s+5=(s+3)+2s + 5 = (s + 3) + 2 and writing 8=4⋅28 = 4 \cdot 2 to match the frequency 22 in the numerator of the sine transform (forgetting to divide 88 by 22 leaves 88 instead of 44 in front of the delayed sine term):
Y(s)=s+3(s+3)2+22+2(s+3)2+22+4e−s2(s+3)2+22y(t)=e−3tcos⁡(2t)+e−3tsin⁡(2t)+4e−3(t−1)sin⁡(2(t−1)) u(t−1)\displaystyle \begin{aligned} \unknown{Y(s)} &= \original{\frac{s + 3}{(s + 3)^2 + 2^2}} + \original{\frac{2}{(s + 3)^2 + 2^2}} + \impulse{4e^{-s}\frac{2}{(s + 3)^2 + 2^2}} \\ \unknown{y(t)} &= \original{e^{-3t}\cos(2t)} + \original{e^{-3t}\sin(2t)} + \impulse{4e^{-3(t - 1)}\sin(2(t - 1))\,u(t - 1)} \end{aligned}
6

A mass on an undamped spring starts at rest and is struck twice: y′′+4y=6δ(t−1)+kδ(t−1−π)\secondderiv{y''} + 4\unknown{y} = \impulse{6\delta(t - 1)} + \secondkick{k\delta(t - 1 - \pi)}, y(0)=0\unknown{y(0)} = 0, y′(0)=0\rate{y'(0)} = 0. Find y(t)\unknown{y(t)} in terms of kk, and find the value of kk that brings the mass to a complete stop for all t>1+πt > 1 + \pi.

Each impulse adds its own shifted sine wave of frequency 22. For t>1+πt > 1 + \pi, both step functions equal 11: distribute the 22 inside sin⁡(2(t−1−π))\secondkick{\sin(2(t - 1 - \pi))} to see how the two sine waves line up.

Each impulse starts a shifted sine wave of frequency 22 with amplitude equal to the impulse divided by 22:
Y(s)=6e−ss2+22+ke−(1+π)ss2+22y(t)=3sin⁡(2(t−1)) u(t−1)+k2sin⁡(2(t−1−π)) u(t−1−π)\displaystyle \begin{aligned} \unknown{Y(s)} &= \impulse{\frac{6e^{-s}}{s^2 + 2^2}} + \secondkick{\frac{ke^{-(1 + \pi)s}}{s^2 + 2^2}} \\ \unknown{y(t)} &= \impulse{3\sin(2(t - 1))\,u(t - 1)} + \secondkick{\frac{k}{2}\sin(2(t - 1 - \pi))\,u(t - 1 - \pi)} \end{aligned}
For t>1+πt > 1 + \pi, both step functions are 11, and distributing the 22 inside the second sine wave gives sin⁡(2(t−1)−2π)=sin⁡(2(t−1))\secondkick{\sin(2(t - 1) - 2\pi)} = \secondkick{\sin(2(t - 1))} because 2π2\pi is a full period (watch out for treating the time shift of π\pi as an angle shift of π\pi without multiplying by the frequency 22, which flips the sign of sine and gives the wrong answer k=6k = 6):
y(t)=(3+k2)sin⁡(2(t−1))=0for t>1+π3+k2=0  ⟹  k=−6\displaystyle \begin{aligned} \unknown{y(t)} &= \left(\impulse{3} + \secondkick{\frac{k}{2}}\right)\sin(2(t - 1)) = 0 \quad \text{for } t > 1 + \pi \\ \impulse{3} + \secondkick{\frac{k}{2}} &= 0 \implies k = -6 \end{aligned}