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

The unit step and discontinuous inputs

The Laplace transform handles jumps well. The unit step u(t) is 0 for t < 0 and 1 for t > 0; u(t − a) jumps at a, and the unit box u(t − a) − u(t − b) is 1 between a and b, so multiplying a function by it keeps only that piece. Because the transform ignores negative t, u(t) and 1 have the same transform 1/s; to make inverse transforms unique, the inverse of F(s) is taken to be u(t)f(t). There is no formula for the transform of f(t − a) alone, but the t-axis translation formula gives L(u(t − a)f(t − a)) = e^(−as)F(s), or, in the form needed in practice, L(u(t − a)f(t)) = e^(−as)L(f(t + a)). An exponential factor e^(−as) in a transform marks a switch-on point t = a, where the function or one of its derivatives may jump: the inverse of (1 + e^(−πs))/(s² + 1) is sin t up to π and 0 afterwards.

You need this first

Full reading path (34 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)
On this page · 5 sections
  1. Steps and boxes
  2. Making inverse transforms unique
  3. The t-axis translation formula
  4. Examples
  5. Summary

One of the reasons engineers like the Laplace transform is that it handles functions with jumps very nicely (transcript, p. 1). The lecture calls it the last serious topic on the transform; it follows convolution.

Steps and boxes#

The unit step function is 0 for t<0t < 0 and 1 for t>0t > 0 (transcript, p. 1):

Unit step
u(t)={0,t<01,t>0u(t) = \begin{cases} 0, & t < 0 \\ 1, & t > 0 \end{cases}
In words

u(t) equals 0, when t less than 0; or 1, when t greater than 0

Its value at 0 is left undefined: some make it 0, some 1 (p. 1). A step at aa is the translate ua(t)=u(t−a)u_a(t) = u(t - a), and the unit box, equal to 1 between aa and bb and 0 elsewhere, is a step up at aa followed by a step down at bb (pp. 1–2):

Unit box
uab(t)=u(t−a)−u(t−b)u_{ab}(t) = u(t - a) - u(t - b)
In words

u sub a b (t) equals u the quantity t minus a, all minus u the quantity t minus b

Writing everything in terms of uu makes the transforms easy (p. 2). Multiplying a function by the unit box wipes away its graph except the piece between aa and bb (pp. 2–3).

Making inverse transforms unique#

L(u(t))=∫0∞e−stu(t) dt=1s\mathcal{L}(u(t)) = \int_0^\infty e^{-st}u(t)\,dt = \frac{1}{s} for s>0s > 0, the same as L(1)\mathcal{L}(1): the transform does not look at negative tt (transcript, p. 3). So which function is the inverse transform of 1s\frac1s? The same problem arises for every inverse transform: any function with any tail for t<0t < 0 has the same transform (pp. 3–4). Usually it does not matter, since the Laplace transform is used for problems that start now and run into the future; problems that need the past call for the Fourier transform (p. 4). Where it matters, the convention is to make the function zero for negative tt (p. 4):

Convention for inverse transforms
L−1(F(s))=u(t) f(t)\mathcal{L}^{-1}(F(s)) = u(t)\,f(t)
In words

script L to the power minus 1 ( capital F (s)) equals u(t) f(t)

The t-axis translation formula#

Is there a formula for the transform of f(t−a)f(t - a), the graph shifted right by a>0a > 0, in terms of F(s)F(s)? No (transcript, pp. 5–6). Shifting brings the part of ff for −a<t<0-a < t < 0 into view, and the transform of ff threw that part away (p. 6). What can be done is to cut it off again, multiplying by u(t−a)u(t - a) (pp. 5–6). The textbook calls the result the t-axis translation formula (p. 7):

t-axis translation formula
L(u(t−a) f(t−a))=e−as F(s)\mathcal{L}\big(u(t - a)\,f(t - a)\big) = e^{-as}\,F(s)
In words

script L (u the quantity t minus a, f of the quantity t minus a, ) equals e to the power minus a s capital F (s)

In practice the function will be given as something like t2t^2 or sin⁡t\sin t, not in terms of t−at - a. Then use the second form (p. 7):

Second form
L(u(t−a) f(t))=e−as L(f(t+a))\mathcal{L}\big(u(t - a)\,f(t)\big) = e^{-as}\,\mathcal{L}\big(f(t + a)\big)
In words

script L (u the quantity t minus a, f(t) ) equals e to the power minus a s script L (f of the quantity t plus a, )

Here F(s)F(s) notation no longer works (p. 7). The formula is dual to the exponential shift formula, which translates on the ss-axis and multiplies by an exponential on the tt side; this one translates on the tt-axis and multiplies by an exponential on the ss side (pp. 7–8).

Proof (pp. 8–10). Substitute t1=t−at_1 = t - a, so t=t1+at = t_1 + a and dt1=dtdt_1 = dt; the lower limit becomes −a-a:

Change of variable
∫0∞e−stu(t−a)f(t−a) dt=e−as∫−a∞e−st1u(t1)f(t1) dt1=e−as∫0∞e−st1f(t1) dt1\int_0^{\infty}e^{-st}u(t - a)f(t - a)\,dt = e^{-as}\int_{-a}^{\infty}e^{-st_1}u(t_1)f(t_1)\,dt_1 = e^{-as}\int_0^{\infty}e^{-st_1}f(t_1)\,dt_1
In words

the integral from 0 to infinity of e to the power minus s t u of the quantity t minus a, f of the quantity t minus a, d t equals e to the power minus a s the integral from minus a to infinity of e to the power minus s t one u( t one )f( t one ) d t one equals e to the power minus a s the integral from 0 to infinity of e to the power minus s t one f( t one ) d t one

since u(t1)=0u(t_1) = 0 for t1<0t_1 < 0 and 1 after; the last integral is F(s)F(s), whatever the dummy variable is called (pp. 9–10). For the second form, write f(t)=f((t−a)+a)f(t) = f((t - a) + a) and apply the first: replacing tt by t+at + a turns it into f(t+a)f(t + a) (pp. 10–11).

Examples#

The unit box (pp. 11–12). With L(u(t))=1s\mathcal{L}(u(t)) = \frac1s:

Transform of the unit box
L(uab(t))=e−as−e−bss\mathcal{L}(u_{ab}(t)) = \frac{e^{-as} - e^{-bs}}{s}
In words

script L( u sub a b (t)) equals the quantity e to the power minus a s minus e to the power minus b s, all over s

t2t^2 switched on at 1 (pp. 12–13). By the second form, with a=1a = 1:

A switched-on parabola
L(u(t−1) t2)=e−s L((t+1)2)=e−s(2s3+2s2+1s)\mathcal{L}\big(u(t - 1)\,t^2\big) = e^{-s}\,\mathcal{L}\big((t + 1)^2\big) = e^{-s}\left(\frac{2}{s^3} + \frac{2}{s^2} + \frac{1}{s}\right)
In words

script L (u the quantity t minus 1, t squared ) equals e to the power minus s script L ( the quantity t plus 1, all squared ) equals e to the power minus s the quantity 2 over s cubed plus 2 over s squared plus 1 over s

The function is discontinuous at 1, and the factor e−se^{-s} is what records where (pp. 13–14).

An inverse transform (pp. 14–16). Exponential factors in a transform mean the answer is made of pieces switched on at different times: separate the pieces that go with each exponential (p. 14). (The lecture says the answer is discontinuous; here the function itself is continuous at π\pi, and only its derivative jumps.) 1s2+1\frac{1}{s^2 + 1} comes from u(t)sin⁡tu(t)\sin t; here the u(t)u(t) must be kept, or the formula will not work (p. 14). Multiplying by e−πse^{-\pi s} shifts it (p. 15):

Inverse with a jump
L−1(1+e−πss2+1)=u(t)sin⁡t+u(t−π)sin⁡(t−π)={sin⁡t,0≤t<π0,t≥π\mathcal{L}^{-1}\left(\frac{1 + e^{-\pi s}}{s^2 + 1}\right) = u(t)\sin t + u(t - \pi)\sin(t - \pi) = \begin{cases} \sin t, & 0 \le t < \pi \\ 0, & t \ge \pi \end{cases}
In words

script L to the power minus 1 ( the quantity 1 plus e to the power minus pi s, all over the quantity s squared plus 1, ) equals u(t) sine t plus u of the quantity t minus pi, sine of the quantity t minus pi, equals sine t, when 0 is less than or equal to t less than pi; or 0, when t is greater than or equal to pi

since sin⁡(t−π)=−sin⁡t\sin(t - \pi) = -\sin t. The answer must be given in this cases form to be intelligible (pp. 15–16).

The inverse transform of (1+e−πs)/(s2+1)(1 + e^{-\pi s})/(s^2 + 1), computed from its cases form: one arch of sin⁡t\sin t, then 0. Dashed: the solution u(t−1)(1−e−(t−1))u(t - 1)(1 - e^{-(t - 1)}) of y′+y=u(t−1)y' + y = u(t - 1) from the worked example, which stays 0 until the input switches on at t=1t = 1.
Worked example

Switching on and off

(a) Find the transform of the box u(t−2)−u(t−4)u(t - 2) - u(t - 4). (b) Find L(u(t−2)et)\mathcal{L}(u(t - 2)e^t). (c) Solve y′+y=u(t−1)y' + y = u(t - 1), y(0)=0y(0) = 0. (d) Find the inverse transform of e−3ss2\frac{e^{-3s}}{s^2}.

(a) A box

e−2s−e−4ss\frac{e^{-2s} - e^{-4s}}{s}.

(b) An exponential switched on at 2

e−2sL(et+2)=e−2s⋅e2s−1e^{-2s}\mathcal{L}(e^{t + 2}) = e^{-2s}\cdot\frac{e^2}{s - 1}, for s>1s > 1.

(c) A step input

The lecture solves no equation; this one uses the transform of a derivative. sY+Y=e−sssY + Y = \frac{e^{-s}}{s}, so Y=e−s⋅1s(s+1)=e−s(1s−1s+1)Y = e^{-s}\cdot\frac{1}{s(s + 1)} = e^{-s}\left(\frac1s - \frac{1}{s + 1}\right). The bracket comes from 1−e−t1 - e^{-t}, and e−se^{-s} shifts it: y=u(t−1)(1−e−(t−1))y = u(t - 1)\left(1 - e^{-(t - 1)}\right), zero until t=1t = 1, then rising towards 1.

(d) A delayed ramp

1s2\frac{1}{s^2} comes from u(t) tu(t)\,t, so e−3ss2\frac{e^{-3s}}{s^2} comes from u(t−3)(t−3)u(t - 3)(t - 3): zero until 3, then a ramp of slope 1.

Summary#

  • u(t)u(t) jumps from 0 to 1 at 0; the unit box u(t−a)−u(t−b)u(t - a) - u(t - b) keeps only the piece between aa and bb.
  • The inverse transform is made unique by taking it to be zero for t<0t < 0.
  • L(u(t−a)f(t−a))=e−asF(s)\mathcal{L}(u(t - a)f(t - a)) = e^{-as}F(s), or L(u(t−a)f(t))=e−asL(f(t+a))\mathcal{L}(u(t - a)f(t)) = e^{-as}\mathcal{L}(f(t + a)); there is no formula for f(t−a)f(t - a) alone.
  • A factor e−ase^{-as} in a transform marks a switch-on at t=at = a, where the function or a derivative may jump; write the answer in cases form.

Symbols on this page

Show the 22 symbols used here
π\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”.
⋅\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”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
aa a.
The time at which a step or box switches on (a > 0). Say it: “a”.
yy y.
The solution of the worked example's equation. Say it: “y”.
tt t.
Time; the transform uses only t ≥ 0. Say it: “t”.
dd d.
The d of dt. Say it: “d”.
ee e.
Euler's number, 2.718… Say it: “e”.
ff f.
A function of t to be switched on, shifted or transformed. Say it: “f”.
FF F.
The Laplace transform of f. Say it: “capital F”.
bb b.
The time at which a box switches off. Say it: “b”.
ss s.
The transform variable. Say it: “s”.
y′y' y prime.
The derivative of y. Say it: “y prime”.
t1t_{1} t one.
The shifted variable t − a used in the proof. Say it: “t one”.
uu u.
The unit step function: 0 for t < 0, 1 for t > 0. Say it: “u”.
YY Y.
The Laplace transform of y. Say it: “capital Y”.
uau_{a} u sub a.
The unit step shifted to jump at t = a: u(t − a). Say it: “u sub a”.
uabu_{\text{ab}} u sub a b.
The unit box: 1 between a and b, 0 elsewhere. Say it: “u sub a b”.

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

Words on this page

Show the 19 words used here

New here

unit step function.
The function that is 0 before time zero and 1 after it, used to switch inputs on.
unit box.
A function equal to 1 between two times and 0 at all other times: a step up followed by a step down.

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.
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.
graph.
The picture of a function: the curve y = f(x) for one variable, or the surface z = f(x, y) for two. Explained in Graphs, straight lines and slope.
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.
Fourier transform.
A way of writing a signal as a sum of pure waves, giving how much of each frequency it contains. Explained in The Fourier transform and AM radio.
proof.
A chain of reasoning showing beyond doubt that a statement follows from definitions and results already known. Explained in Limits and continuity.
limits of integration.
The two end values, lower and upper, between which a definite integral is taken: the a and b in the integral from a to b. Explained in The second fundamental theorem of calculus.
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.
dummy variable.
The variable inside an integral or sum, which could be renamed without changing the result, like the t in ∫ f(t) dt. Explained in The second fundamental theorem of calculus.
discontinuity.
A point where a function is not continuous: its graph jumps, has a hole or shoots off to infinity there. Explained in Curve sketching with the first and second derivative.
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.
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.

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
convention.
An agreed choice, such as which direction counts as positive, that could have been made differently.
in practice.
In reality, as things are actually done or measured, rather than in theory.
notation.
A system of symbols used to write ideas down briefly, such as dy/dx for a derivative.

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 the unit box u(t−a)−u(t−b)u(t - a) - u(t - b)?
  2. Which is the correct t-axis translation formula?
  3. What is the inverse transform of e−3ss2\frac{e^{-3s}}{s^2}?
0 of 3 answered

Flashcards

1 / 3