BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Impulse inputs, the delta function and the weight function

The impulse of a force over a time interval is its integral; a constant force 1/h acting from 0 to h is a unit impulse, the box (1/h)(u(t) − u(t − h)), with transform (1 − e^(−hs))/(hs). As h → 0 the transform tends to 1, and the limit of the boxes, infinitely high and infinitely narrow, is Dirac's delta function δ(t): not really a function, but declared to have transform 1 and total integral 1. It acts as the identity for convolution, f ∗ δ = f, and behaves like the derivative of the unit step. A spring released from 1 and kicked with impulse A at t = π/2, y″ + y = Aδ(t − π/2), moves as cos t and then as (1 − A) cos t, so A = 1 stops it dead. For y″ + ay′ + by = f(t) starting at rest, Y = F(s)W(s) with the transfer function W(s) = 1/(s² + as + b), so y = f ∗ w, where the weight function w(t) is the response to a unit kick at time 0.

You need this first

Full reading path (35 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Curve sketching with the first and second derivative (18.01)
  9. Sketching strategy and maximum–minimum problems (18.01)
  10. More max–min, and related rates (18.01)
  11. A ring on a string, and Newton's method (18.01)
  12. The mean value theorem and inequalities (18.01)
  13. Differentials and antiderivatives (18.01)
  14. Differential equations and separation of variables (18.01)
  15. Direction fields, isoclines and integral curves (18.03)
  16. Euler's method and better numerical methods (18.03)
  17. First-order linear equations and integrating factors (18.03)
  18. Substitutions: scaling, Bernoulli and homogeneous equations (18.03)
  19. Autonomous equations, critical points and stability (18.03)
  20. Complex numbers and complex exponentials (18.03)
  21. Constant coefficients: steady state, superposition and sinusoidal input (18.03)
  22. Combining sine and cosine; models for first-order linear equations (18.03)
  23. Second-order linear equations with constant coefficients (18.03)
  24. Complex characteristic roots and damped oscillations (18.03)
  25. Linear operators, the Wronskian and normalized solutions (18.03)
  26. Inhomogeneous equations, particular solutions and stability (18.03)
  27. Particular solutions: the exponential input theorem (18.03)
  28. Resonance and beats (18.03)
  29. Introduction to Fourier series (18.03)
  30. Fourier series: even and odd functions, convergence and other periods (18.03)
  31. Particular solutions via Fourier series, and how we hear (18.03)
  32. Introduction to the Laplace transform (18.03)
  33. Laplace transforms of derivatives and solving initial value problems (18.03)
  34. The convolution formula (18.03)
  35. The unit step and discontinuous inputs (18.03)
On this page · 5 sections
  1. Unit impulses
  2. The delta function
  3. Kicking the spring
  4. Transfer function and weight function
  5. Summary

The last lecture on the Laplace transform covers one more kind of input that other courses will expect you to know: the impulse (transcript, p. 1). It builds on step functions and the t-axis translation formula.

Unit impulses#

For a force f(t)f(t) acting along a line, physicists define the impulse over [a,b][a, b] as ∫abf(t) dt\int_a^bf(t)\,dt; for a constant force FF it is just F(b−a)F(b - a) (transcript, p. 1). Push the undamped spring–mass system with a constant force from time 0 to time hh, say with an electromagnet (pp. 1–2). For a unit impulse the area must be 1, so the force is 1h\frac1h: the narrower the box, the higher (p. 2). In terms of the unit step (pp. 2–4):

Unit impulse over [0, h]
1h u0h(t)=1h(u(t)−u(t−h)),L(1h u0h(t))=1−e−hshs\frac{1}{h}\,u_{0h}(t) = \frac{1}{h}\big(u(t) - u(t - h)\big), \qquad \mathcal{L}\left(\frac{1}{h}\,u_{0h}(t)\right) = \frac{1 - e^{-hs}}{hs}
In words

1 over h, times u sub zero h (t) equals 1 over h the quantity u(t) minus u of the quantity t minus h, script L ( 1 over h, times u sub zero h (t) ) equals the quantity 1 minus e to the power minus h s, all over the quantity h s

using L(u)=1s\mathcal{L}(u) = \frac1s and the t-axis translation formula (pp. 3–4).

The delta function#

Now let h→0h \to 0 (transcript, p. 4). With v=hsv = hs and L'Hôpital's rule, lim⁡v→01−e−vv=lim⁡v→0e−v=1\lim_{v \to 0}\frac{1 - e^{-v}}{v} = \lim_{v \to 0}e^{-v} = 1 (pp. 4–5). Meanwhile the boxes become zero everywhere except at 0, where they are infinitely high (p. 5). That limit is not a function; mathematicians call it a generalized function. The physicist Dirac brought it into wide use (Mattuck jokes that such people name things with their own initial; the usual account is that the δ echoes the Kronecker delta): the delta function δ(t)\delta(t) (pp. 5–6). From here on everything is in figurative quotation marks: it is declared to have the properties the limit suggests (p. 6):

Delta function
L(δ(t))=1,∫−∞∞δ(t) dt=1\mathcal{L}(\delta(t)) = 1, \qquad \int_{-\infty}^{\infty}\delta(t)\,dt = 1
In words

script L( delta (t)) equals 1, the integral from minus infinity to infinity of delta (t) d t equals 1

the second saying that it is a unit impulse (p. 6).

Identity for convolution (p. 7). Assuming it obeys the laws of the transform, L(f∗δ)=F(s)⋅1=F(s)\mathcal{L}(f * \delta) = F(s)\cdot 1 = F(s), so with ff made zero for t<0t < 0,

Convolution with δ
f(t)∗δ(t)=f(t)f(t) * \delta(t) = f(t)
In words

f(t) * delta (t) equals f(t)

Convolution is commutative and linear, much like multiplication, and δ\delta is its identity element (p. 7). One more property, by an equally loose argument: the unit step has derivative 0 except at 0, where it goes straight up, so u′(t)=δ(t)u'(t) = \delta(t); in solving equations it behaves as if that were true (p. 8).

Kicking the spring#

The undamped spring starts at rest at position 1 and is kicked with impulse AA at time π2\frac{\pi}{2}, just as it passes equilibrium (transcript, pp. 8–9):

A kicked spring
y′′+y=A δ ⁣(t−π2),y(0)=1,y′(0)=0y'' + y = A\,\delta\!\left(t - \frac{\pi}{2}\right), \qquad y(0) = 1, \quad y'(0) = 0
In words

y double prime plus y equals capital A delta the quantity t minus pi over 2, y(0) equals 1, y prime (0) equals 0

Transforming, with the translation formula on the right (pp. 9–10): s2Y−s+Y=Ae−πs/2s^2Y - s + Y = Ae^{-\pi s/2}, so Y=ss2+1+Ae−πs/2s2+1Y = \frac{s}{s^2 + 1} + \frac{Ae^{-\pi s/2}}{s^2 + 1}. Inverting (p. 10):

Solution
y=cos⁡t+u ⁣(t−π2)Asin⁡ ⁣(t−π2)y = \cos t + u\!\left(t - \frac{\pi}{2}\right)A\sin\!\left(t - \frac{\pi}{2}\right)
In words

y equals cos t plus u the quantity t minus pi over 2, capital A sine the quantity t minus pi over 2

In cases form, since sin⁡(t−π2)=−cos⁡t\sin(t - \frac{\pi}{2}) = -\cos t (p. 11):

Solution in cases
y={cos⁡t,0≤t<π/2(1−A)cos⁡t,t≥π/2y = \begin{cases} \cos t, & 0 \le t < \pi/2 \\ (1 - A)\cos t, & t \ge \pi/2 \end{cases}
In words

y equals cos t, when 0 is less than or equal to t less than pi over 2; or the quantity 1 minus capital A, cos t, when t is greater than or equal to pi over 2

The two pieces agree at π2\frac{\pi}{2}, where both are 0: the solution is continuous but, for A≠0A \ne 0, not differentiable there (p. 11). If A>1A > 1 the mass reverses direction; if 0<A<10 < A < 1 it carries on, with a smaller amplitude; and if A=1A = 1 it stops dead (pp. 11–12). The lecture demonstrated this with a pendulum and a student swatting it; a colleague who has practised for years can stop it dead with a little mallet (pp. 12–14).

The spring kicked at t=π/2t = \pi/2 with impulse AA, computed from y=cos⁡ty = \cos t, then (1−A)cos⁡t(1 - A)\cos t: a smaller oscillation for A=0.5A = 0.5, a dead stop for A=1A = 1, and a reversal for A=2A = 2.

Transfer function and weight function#

Some engineering vocabulary, used by everyone who uses the transform (transcript, p. 14). For a system y′′+ay′+by=f(t)y'' + ay' + by = f(t) starting at rest, y(0)=y′(0)=0y(0) = y'(0) = 0 (pp. 14–15), the transform gives s2Y+asY+bY=F(s)s^2Y + asY + bY = F(s), so

Transfer function
Y=F(s) W(s),W(s)=1s2+as+bY = F(s)\,W(s), \qquad W(s) = \frac{1}{s^2 + as + b}
In words

capital Y equals capital F (s) capital W (s), capital W (s) equals 1 over the quantity s squared plus a s plus b

W(s)W(s) depends only on the system (the damping and spring constants), not on the input: the transfer function (p. 15). Its inverse transform w(t)w(t) is the weight function, and by the convolution formula (pp. 15–16)

Solution as a convolution
y(t)=f(t)∗w(t)=∫0tf(u) w(t−u) duy(t) = f(t) * w(t) = \int_0^{t}f(u)\,w(t - u)\,du
In words

y(t) equals f(t) * w(t) equals the integral from 0 to t of f(u) w of the quantity t minus u, d u

The solution for any input is a definite integral (p. 16). What is ww? Feed in a kick, f=δ(t)f = \delta(t): then Y=W(s)Y = W(s), so the weight function is the response of the system at rest to a unit impulse at time 0 (pp. 16–17). (The rest conditions hold just before the kick: right after it the velocity is 1, not 0. That is the technical difficulty for which the lecture kicked the spring at π2\frac{\pi}{2} rather than at 0, p. 8.) The notes explain the solution as a superposition of many such kicks (p. 17).

Worked example

Weight functions and a kick

(a) Find the weight function of y′′+4y=f(t)y'' + 4y = f(t). (b) For y′′+3y′+2y=f(t)y'' + 3y' + 2y = f(t) at rest, find w(t)w(t) and use it to find the response to f=1f = 1. (c) The spring of the lecture starts instead at y(0)=2y(0) = 2. What impulse at t=π2t = \frac{\pi}{2} stops it?

(a) An undamped spring

W(s)=1s2+4W(s) = \frac{1}{s^2 + 4}, so w(t)=12sin⁡2tw(t) = \frac{1}{2}\sin 2t: a kick sets it oscillating.

(b) A damped system

W(s)=1(s+1)(s+2)=1s+1−1s+2W(s) = \frac{1}{(s + 1)(s + 2)} = \frac{1}{s + 1} - \frac{1}{s + 2}, so w=e−t−e−2tw = e^{-t} - e^{-2t}. Then y=1∗w=∫0t(e−u−e−2u) du=12−e−t+12e−2ty = 1 * w = \int_0^t(e^{-u} - e^{-2u})\,du = \frac{1}{2} - e^{-t} + \frac{1}{2}e^{-2t}, which tends to the steady state 12\frac{1}{2}.

(c) Stopping it

Now y=2cos⁡ty = 2\cos t until π2\frac{\pi}{2}, where the velocity is −2-2, and (2−A)cos⁡t(2 - A)\cos t afterwards. So A=2A = 2 stops it: the impulse must cancel the momentum, here with unit mass.

Summary#

  • A unit impulse is a force of total integral 1; the box 1h(u(t)−u(t−h))\frac{1}{h}(u(t) - u(t - h)) has transform 1−e−hshs→1\frac{1 - e^{-hs}}{hs} \to 1.
  • The delta function: L(δ)=1\mathcal{L}(\delta) = 1, ∫δ=1\int\delta = 1, f∗δ=ff * \delta = f, and formally u′=δu' = \delta.
  • A kick Aδ(t−a)A\delta(t - a) enters the transform as Ae−asAe^{-as}; the kicked spring stops when the impulse cancels its momentum.
  • Transfer function W(s)=1s2+as+bW(s) = \frac{1}{s^2 + as + b}; weight function ww = response to a unit kick; y=f∗wy = f * w.

Symbols on this page

Show the 33 symbols used here
δ\delta delta.
Dirac's delta function: a unit impulse at t = 0, with transform 1 and total integral 1. Say it: “delta”.
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
∞\infty infinity.
Infinity: larger than any number. Say it: “infinity”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
≥\ge greater than or equal.
Is greater than or equal to. Say it: “is greater than or equal to”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
lim⁡\lim limit.
Limit: the value approached as the variable written below approaches its target. Say it: “the limit”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
aa a.
The damping coefficient of y′ in the system; also the start time of a translated impulse. Say it: “a”.
yy y.
The response of the spring or system. Say it: “y”.
tt t.
Time. Say it: “t”.
dd d.
The d of dt and du. Say it: “d”.
ee e.
Euler's number, 2.718… Say it: “e”.
ff f.
A force or input function of t. Say it: “f”.
FF F.
A constant force; also the Laplace transform F(s) of the input. Say it: “capital F”.
vv v.
The substitution v = hs in the limit. Say it: “v”.
AA A.
The size of the impulse that kicks the spring. Say it: “capital A”.
bb b.
The coefficient of y in the system; also the end of a time interval. Say it: “b”.
ss s.
The transform variable. Say it: “s”.
hh h.
The duration of the unit-impulse box. Unit: s. Say it: “h”.
f′f' f prime.
The derivative of f (a wrong answer in the quiz). Say it: “f prime”.
y′y' y prime.
The derivative of y. Say it: “y prime”.
uu u.
The unit step function; in the convolution integral, the dummy variable. Say it: “u”.
ww w.
The weight function: the response of the system at rest to a unit impulse at t = 0. Say it: “w”.
WW W.
The transfer function W(s) = 1/(s² + as + b). Say it: “capital W”.
y′′y'' y double prime.
The second derivative of y. Say it: “y double prime”.
YY Y.
The Laplace transform of y. Say it: “capital Y”.
u′u' u prime.
The derivative of the unit step, formally δ. Say it: “u prime”.
u0hu_{0h} u sub 0 h.
The unit box from 0 to h. Say it: “u sub zero h”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 32 words used here

New here

impulse.
A very short, sharp input to a system whose total size, its integral over time, is fixed; modelled by the delta function.
delta function.
An idealised spike: zero everywhere except at one point, yet with total area one. It describes a sudden kick or a point source.
transfer function.
For a linear system, the function that multiplies the transform of the input to give the transform of the response.
weight function.
A linear system's response to a sudden unit kick at time zero; adding up delayed copies of it, weighted by the input, gives any response.

Also used

Laplace transform.
A way of turning a function of time into a function of a new variable s, which changes differential equations into algebra. Explained in Introduction to the Laplace transform.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
undamped.
With no damping at all, so an oscillation keeps the same size for ever. Explained in Complex characteristic roots and damped oscillations.
unit step function.
The function that is 0 before time zero and 1 after it, used to switch inputs on. Explained in The unit step and discontinuous inputs.
L'Hôpital's rule.
A rule for limits of the form 0/0 or ∞/∞: the limit of f/g equals the limit of f′/g′, if that exists. Explained in Indeterminate forms and L'Hôpital's rule.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
Kronecker delta.
A symbol with two indices that equals 1 when the two indices are the same and 0 when they differ. Explained in Rotations in index notation.
convolution.
A way of combining two functions by sliding one across the other and adding up their overlapping products at each shift. Explained in The convolution formula.
commutative.
Of an operation: giving the same result in either order, as in a + b = b + a. Explained in Vectors.
linear.
The property that sums and multiples of solutions are again solutions, so the responses to separate inputs simply add. Explained in First-order linear equations and integrating factors.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
equilibrium.
A state that does not change by itself, because the influences acting on it balance. Explained in Newton's first law: inertia.
continuous.
Without breaks, gaps or jumps: a continuous graph can be drawn without lifting the pen; a continuous quantity can take every value in a range. Explained in The rocket equation.
differentiable.
Having a derivative: at that point the graph has a single, definite, non-vertical tangent line, with no corner or break. Explained in The mean value theorem and inequalities.
amplitude.
The size of an oscillation or wave: the largest distance from its middle position, or the number multiplying the sine. Explained in Oscillations and simple harmonic motion.
damping.
The gradual loss of energy from an oscillation or wave, by friction, resistance or radiation, so that its size dies away. Explained in The pendulum and energy in oscillations.
spring constant.
The stiffness k of a spring: the force it gives per metre of stretch, in newtons per metre. Explained in Springs and Hooke's law.
inverse.
The thing that undoes another: a matrix times its inverse gives the identity matrix, as a function followed by its inverse gives back the start. Explained in Planes through three points, and matrices.
definite integral.
The integral of a function between two limits, a single number: the area under the graph between them, with parts below the axis counted negative. Explained in Definite integrals and Riemann sums.
velocity.
How fast and in which direction something moves: the change in position in each unit of time. Explained in Speed and velocity.
superposition.
Adding effects: the total force, field or wave from several sources is the sum of what each would give alone. Explained in Superposition and standing waves.
steady state.
A condition that no longer changes with time, or for a driven system the lasting motion left once start-up effects die away. Explained in Driven oscillators and resonance.
momentum.
Mass times velocity: a vector that measures a body's quantity of motion and keeps its total when no outside force acts. Explained in Momentum and impulse.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
assumption.
Something accepted as true, without proof, so that an argument or calculation can proceed; to assume is to accept it so.
argument.
A chain of reasoning that leads to a conclusion; in maths also the input of a function, such as x in sin x.
formally.
Following the rules or symbols exactly as written, sometimes without checking that each step makes sense.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. What is the Laplace transform of δ(t−a)\delta(t - a) (a>0a > 0)?
  2. What is f∗δf * \delta (for ff zero when t<0t < 0)?
  3. For y′′+ay′+by=f(t)y'' + ay' + by = f(t) with y(0)=y′(0)=0y(0) = y'(0) = 0, the weight function w(t)w(t) is…
0 of 3 answered

Flashcards

1 / 3