## Section 6.4 Dirac delta and impulse response

¶### Subsection 6.4.1 Rectangular pulse

Often in applications we study a physical system by putting in a short pulse and then seeing what the system does. The resulting behavior is often called *impulse response*. Let us see what we mean by a pulse. The simplest kind of a pulse is a simple rectangular pulse defined by

See Figure 6.3 for a graph.

Notice that

where \(u(t)\) is the unit step function.

Let us take the Laplace transform of a square pulse,

For simplicity we let \(a=0\text{,}\) and it is convenient to set \(M = \nicefrac{1}{b}\) to have

That is, to have the pulse have “unit mass.” For such a pulse we compute

We generally want \(b\) to be very small. That is, we wish to have the pulse be very short and very tall. By letting \(b\) go to zero we arrive at the concept of the Dirac delta function.

### Subsection 6.4.2 The delta function

The *Dirac delta function*^{ 1 } is not exactly a function; it is sometimes called a *generalized function*. We avoid unnecessary details and simply say that it is an object that does not really make sense unless we integrate it. The motivation is that we would like a “function” \(\delta(t)\) such that for any continuous function \(f(t)\) we have

The formula should hold if we integrate over any interval that contains 0, not just \((-\infty,\infty)\text{.}\) So \(\delta(t)\) is a “function” with all its “mass” at the single point \(t=0\text{.}\) In other words, for any interval \([c,d]\)

Unfortunately there is no such function in the classical sense. You could informally think that \(\delta(t)\) is zero for \(t\not=0\) and somehow infinite at \(t=0\text{.}\)

A good way to think about \(\delta(t)\) is as a limit of short pulses whose integral is \(1\text{.}\) For example, suppose that we have a square pulse \(\varphi(t)\) as above with \(a=0\text{,}\) \(M=\nicefrac{1}{b}\text{,}\) that is \(\varphi(t) = \frac{u(t) - u(t-b)}{b}\text{.}\) Compute

If \(f(t)\) is continuous at \(t=0\text{,}\) then for very small \(b\text{,}\) the function \(f(t)\) is approximately equal to \(f(0)\) on the interval \([0,b]\text{.}\) We approximate the integral

Hence,

Let us therefore accept \(\delta(t)\) as an object that is possible to integrate. We often want to shift \(\delta\) to another point, for example \(\delta(t-a)\text{.}\) In that case we have

Note that \(\delta(a-t)\) is the same object as \(\delta(t-a)\text{.}\) In other words, the convolution of \(\delta(t)\) with \(f(t)\) is again \(f(t)\text{,}\)

As we can integrate \(\delta(t)\text{,}\) let us compute its Laplace transform.

In particular,

###### Remark 6.4.1.

Notice that the Laplace transform of \(\delta(t-a)\) looks like the Laplace transform of the derivative of the Heaviside function \(u(t-a)\text{,}\) if we could differentiate the Heaviside function. First notice

To obtain what the Laplace transform of the derivative would be we multiply by \(s\text{,}\) to obtain \(e^{-as}\text{,}\) which is the Laplace transform of \(\delta(t-a)\text{.}\) We see the same thing using integration,

So in a certain sense

This line of reasoning allows us to talk about derivatives of functions with jump discontinuities. We can think of the derivative of the Heaviside function \(u(t-a)\) as being somehow infinite at \(a\text{,}\) which is precisely our intuitive understanding of the delta function.

###### Example 6.4.1.

Let us compute \({\mathcal{L}}^{-1} \left\{ \frac{s+1}{s} \right\}\text{.}\) So far we have always looked at proper rational functions in the \(s\) variable. That is, the numerator was always of lower degree than the denominator. Not so with \(\frac{s+1}{s}\text{.}\) We write,

The resulting object is a generalized function and only makes sense when put underneath an integral.

### Subsection 6.4.3 Impulse response

As we said before, in the differential equation \(L x = f(t)\text{,}\) we think of \(f(t)\) as input, and \(x(t)\) as the output. Often it is important to find the response to an impulse, and then we use the delta function in place of \(f(t)\text{.}\) The solution to

is called the *impulse response*.

###### Example 6.4.2.

Solve (find the impulse response)

We first apply the Laplace transform to the equation. Denote the transform of \(x(t)\) by \(X(s)\text{.}\)

Taking the inverse Laplace transform we obtain

Let us notice something about the example above. We showed before that when the input is \(f(t)\text{,}\) then the solution to \(Lx = f(t)\) is given by

That is, the solution for an arbitrary input is given as convolution with the impulse response. Let us see why. The key is to notice that for functions \(x(t)\) and \(f(t)\text{,}\)

We simply differentiate twice under the integral^{ 2 }, the details are left as an exercise. If we convolve the entire equation (6.3), the left-hand side becomes

The right-hand side becomes

Therefore \(y(t) = (x * f)(t)\) is the solution to

This procedure works in general for other linear equations \(Lx = f(t)\text{.}\) If you determine the impulse response, you also know how to obtain the output \(x(t)\) for any input \(f(t)\) by simply convolving the impulse response and the input \(f(t)\text{.}\)

### Subsection 6.4.4 Three-point beam bending

Let us give another quite different example where delta functions turn up. In this case representing point loads on a steel beam. Suppose we have a beam of length \(L\text{,}\) resting on two simple supports at the ends. Let \(x\) denote the position on the beam, and let \(y(x)\) denote the deflection of the beam in the vertical direction. The deflection \(y(x)\) satisfies the *Euler–Bernoulli equation*^{ 3 },

where \(E\) and \(I\) are constants^{ 4 } and \(F(x)\) is the force applied per unit length at position \(x\text{.}\) The situation we are interested in is when the force is applied at a single point as in Figure 6.4.

In this case the equation becomes

where \(x=a\) is the point where the mass is applied. \(F\) is the force applied and the minus sign indicates that the force is downward, that is, in the negative \(y\) direction. The end points of the beam satisfy the conditions,

See Section 5.2 for further information about endpoint conditions applied to beams.

###### Example 6.4.3.

Suppose that length of the beam is 2, and suppose that \(EI=1\) for simplicity. Further suppose that the force \(F=1\) is applied at \(x=1\text{.}\) That is, we have the equation

and the endpoint conditions are

We could integrate, but using the Laplace transform is even easier. We apply the transform in the \(x\) variable rather than the \(t\) variable. Let us again denote the transform of \(y(x)\) as \(Y(s)\text{.}\)

We notice that \(y(0) = 0\) and \(y''(0) = 0\text{.}\) Let us call \(C_1 = y'(0)\) and \(C_2=y'''(0)\text{.}\) We solve for \(Y(s)\text{,}\)

We take the inverse Laplace transform utilizing the second shifting property (6.1) to take the inverse of the first term.

We still need to apply two of the endpoint conditions. As the conditions are at \(x=2\) we can simply replace \(u(x-1) = 1\) when taking the derivatives. Therefore,

and

Hence \(C_2 = \frac{1}{2}\) and solving for \(C_1\) using the first equation we obtain \(C_1 = \frac{-1}{4}\text{.}\) Our solution for the beam deflection is

### Subsection 6.4.5 Exercises

###### Exercise 6.4.1.

Solve (find the impulse response) \(x'' + x' + x = \delta(t)\text{,}\) \(x(0) = 0\text{,}\) \(x'(0)=0\text{.}\)

###### Exercise 6.4.2.

Solve (find the impulse response) \(x'' + 2 x' + x = \delta(t)\text{,}\) \(x(0) = 0\text{,}\) \(x'(0)=0\text{.}\)

###### Exercise 6.4.3.

A pulse can come later and can be bigger. Solve \(x'' + 4 x = 4\delta(t-1)\text{,}\) \(x(0) = 0\text{,}\) \(x'(0)=0\text{.}\)

###### Exercise 6.4.4.

Suppose that \(f(t)\) and \(g(t)\) are differentiable functions and suppose that \(f(t) = g(t) = 0\) for all \(t \leq 0\text{.}\) Show that

###### Exercise 6.4.5.

Suppose that \(L x = \delta(t)\text{,}\) \(x(0) = 0\text{,}\) \(x'(0) = 0\text{,}\) has the solution \(x = e^{-t}\) for \(t > 0\text{.}\) Find the solution to \(Lx = t^2\text{,}\) \(x(0) = 0\text{,}\) \(x'(0) = 0\) for \(t > 0\text{.}\)

###### Exercise 6.4.6.

Compute \({\mathcal{L}}^{-1} \left\{ \frac{s^2+s+1}{s^2} \right\}\text{.}\)

###### Exercise 6.4.7.

*(challenging)* Solve Example 6.4.3 via integrating 4 times in the \(x\) variable.

###### Exercise 6.4.8.

Suppose we have a beam of length \(1\) simply supported at the ends and suppose that force \(F=1\) is applied at \(x=\frac{3}{4}\) in the downward direction. Suppose that \(EI=1\) for simplicity. Find the beam deflection \(y(x)\text{.}\)

###### Exercise 6.4.101.

Solve (find the impulse response) \(x'' = \delta(t)\text{,}\) \(x(0) = 0\text{,}\) \(x'(0)=0\text{.}\)

\(x(t) = t\)

###### Exercise 6.4.102.

Solve (find the impulse response) \(x' + a x = \delta(t)\text{,}\) \(x(0) = 0\text{,}\) \(x'(0)=0\text{.}\)

\(x(t) = e^{-at}\)

###### Exercise 6.4.103.

Suppose that \(L x = \delta(t)\text{,}\) \(x(0) = 0\text{,}\) \(x'(0) = 0\text{,}\) has the solution \(x(t) = \cos(t)\) for \(t > 0\text{.}\) Find (in closed form) the solution to \(Lx = \sin(t)\text{,}\) \(x(0) = 0\text{,}\) \(x'(0) = 0\) for \(t > 0\text{.}\)

\(x(t) = (\cos * \sin)(t) = \frac{1}{2} t \sin(t)\)

###### Exercise 6.4.104.

Compute \({\mathcal{L}}^{-1} \left\{ \frac{s^2}{s^2+1} \right\}\text{.}\)

\(\delta(t) - \sin(t)\)

###### Exercise 6.4.105.

Compute \({\mathcal{L}}^{-1} \left\{ \frac{3 s^2 e^{-s} + 2}{s^2} \right\}\text{.}\)

\(3 \delta(t-1) + 2 t\)