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

Laplace transforms of derivatives and solving initial value problems

The Laplace integral converges when f is of exponential type: |f(t)| ≤ ce^(kt) for all t ≥ 0. Sine and every power tⁿ qualify; 1/t does not (its integral diverges at 0), nor does e^(t²), which grows too fast. Integrating by parts gives L(f′) = sF(s) − f(0), and applying this twice, L(f″) = s²F(s) − sf(0) − f′(0), so the initial values enter the transform. To solve an initial value problem, transform the equation and the initial conditions, solve the resulting algebraic equation for Y(s), a rational function, and find the inverse transform by partial fractions. For y″ − y = e^(−t), y(0) = 1, y′(0) = 0, this gives y = (3/4)e^t + (1/4)e^(−t) − (1/2)te^(−t), with the constants already built in.

You need this first

Full reading path (32 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)
On this page · 5 sections
  1. Functions of exponential type
  2. The plan
  3. Transforms of derivatives
  4. An example
  5. Summary

This lecture shows how the Laplace transform solves linear equations with constant coefficients. That needs the transform of a derivative, and first a guarantee that transforms exist (transcript, p. 1).

Functions of exponential type#

The transform is an improper integral, and those need not converge: ∫0∞t dt\int_0^\infty t\,dt has no value (transcript, p. 1). The integral converges if ff does not grow so fast that e−ste^{-st} cannot pull it down (p. 1). The condition (p. 2): ff is of exponential type if

Exponential type
∣f(t)∣≤c ektfor all t≥0|f(t)| \le c\,e^{kt} \quad \text{for all } t \ge 0
In words

the absolute value of f(t) is less than or equal to c e to the power k t for all t is greater than or equal to 0

for some positive constants cc and kk. The absolute value is there because large negative values hurt too, and negative tt does not matter (p. 2). Such exponentials can grow very fast: e100te^{100t} looks vertical on any plot (p. 2).

Examples (pp. 2–5).

  • sin⁡t\sin t: ∣sin⁡t∣≤1|\sin t| \le 1, so c=1c = 1, k=0k = 0 (pp. 2–3).
  • tnt^n: tn≤Mett^n \le Me^t for some MM (p. 3). The ratio tn/ett^n/e^t is continuous, starts at 0, and tends to 0 as t→∞t \to \infty by nn applications of L'Hôpital's rule; so it has a maximum MM (pp. 3–4).
  • 1t\frac1t is not: near 0 the integral behaves like ∫dt/t\int dt/t, which diverges, so it has no Laplace transform (pp. 4–5).
  • et2e^{t^2} is not, because it grows too fast: whatever kk, t2>ktt^2 > kt once t>kt > k (p. 5). Mattuck says he has never seen such a function in a physical problem (p. 5). Its relative e−t2e^{-t^2}, the bell curve, is perfectly well behaved (p. 6).
Why t3t^3 is of exponential type: the ratio t3/ett^3/e^t, computed from the formula, starts at 0, returns towards 0, and has a maximum 27/e3≈1.3427/e^3 \approx 1.34 at t=3t = 3, so t3≤1.35 ett^3 \le 1.35\,e^t for all t≥0t \ge 0.

The plan#

The Laplace transform needs an initial value problem: an equation, say y′′+Ay′+By=h(t)y'' + Ay' + By = h(t), together with y(0)y(0) and y′(0)y'(0) (transcript, p. 6). If no values are given, call them aa and bb and carry them along (pp. 6–7). Then (pp. 7–8):

  1. Take the Laplace transform of the equation and the initial values. Out comes an algebraic equation for Y(s)Y(s), the transform of the solution: no derivatives at all.
  2. Solve it for YY. This is the easy step, and YY always comes out as a rational function of ss.
  3. Take the inverse transform to get y(t)y(t). This is the hard step: partial fractions and tables.

It looks like a detour round a mountain, but the direct path is the hard one (p. 8).

Transforms of derivatives#

Start from the definition and integrate by parts, integrating f′f' and differentiating e−ste^{-st} (transcript, pp. 8–10):

Integrating by parts
L(f′)=∫0∞e−stf′(t) dt=[e−stf(t)]0∞+s∫0∞e−stf(t) dt\mathcal{L}(f') = \int_0^{\infty}e^{-st}f'(t)\,dt = \Big[e^{-st}f(t)\Big]_0^{\infty} + s\int_0^{\infty}e^{-st}f(t)\,dt
In words

script L( f prime ) equals the integral from 0 to infinity of e to the power minus s t f prime (t) d t equals ( e to the power minus s t f(t) ) sub 0 to the power infinity plus s the integral from 0 to infinity of e to the power minus s t f(t) d t

At the upper limit, f(t)/est→0f(t)/e^{st} \to 0: exactly where exponential type is needed, for s>ks > k (p. 10). At the lower limit the bracket gives −f(0)-f(0), so the value at 0 must be known: that is why an initial value problem is required (p. 11). Hence (p. 11)

Transform of a derivative
L(f′)=s F(s)−f(0)\mathcal{L}(f') = s\,F(s) - f(0)
In words

script L( f prime ) equals s capital F (s) minus f(0)

Multiplying by ss corresponds to differentiating, with a correction for the starting value (p. 11). For the second derivative, do not integrate by parts twice; treat f′′f'' as the derivative of f′f' and use the formula twice (pp. 11–12):

Transform of a second derivative
L(f′′)=s L(f′)−f′(0)=s2F(s)−s f(0)−f′(0)\mathcal{L}(f'') = s\,\mathcal{L}(f') - f'(0) = s^2F(s) - s\,f(0) - f'(0)
In words

script L( f double prime ) equals s script L( f prime ) minus f prime (0) equals s squared capital F (s) minus s f(0) minus f prime (0)

The main term is s2F(s)s^2F(s); the rest are "fellow travellers", the initial values, which must not be forgotten (pp. 12–13).

An example#

Solve (transcript, pp. 13–19)

The initial value problem
y′′−y=e−t,y(0)=1,y′(0)=0y'' - y = e^{-t}, \qquad y(0) = 1, \quad y'(0) = 0
In words

y double prime minus y equals e to the power minus t, y(0) equals 1, y prime (0) equals 0

By operators this takes several steps: the complementary solution from ete^t and e−te^{-t}, a particular solution with the extra formula because −1-1 is a characteristic root, then two equations for the constants (pp. 13–14). Instead, transform (pp. 14–15): s2Y−s−0−Y=1s+1s^2Y - s - 0 - Y = \frac{1}{s + 1}. Group the YY terms and move the rest across, (s2−1)Y=1s+1+s(s^2 - 1)Y = \frac{1}{s + 1} + s, and factor the denominator fully (pp. 15–16):

Solving for Y
Y=s2+s+1(s+1)2(s−1)=−1/2(s+1)2+1/4s+1+3/4s−1Y = \frac{s^2 + s + 1}{(s + 1)^2(s - 1)} = \frac{-1/2}{(s + 1)^2} + \frac{1/4}{s + 1} + \frac{3/4}{s - 1}
In words

capital Y equals the quantity s squared plus s plus 1, all over the quantity the quantity s plus 1, all squared the quantity s minus 1, equals the quantity minus one half, all over the quantity s plus 1, all squared plus the quantity one quarter, all over the quantity s plus 1, plus the quantity three quarters, all over the quantity s minus 1

The cover-up method gives 34\frac{3}{4} (put s=1s = 1) and −12-\frac{1}{2} (cover (s+1)2(s + 1)^2, put s=−1s = -1). The coefficient of 1s+1\frac{1}{s + 1} cannot be found that way; substituting s=0s = 0 gives −1=−12+c−34-1 = -\frac{1}{2} + c - \frac{3}{4}, so c=14c = \frac{1}{4} (pp. 17–18). Using a separate term for each power of s+1s + 1 keeps the numerators constant (pp. 16–17). Finally, 1s2\frac{1}{s^2} is the transform of tt, and the shift formula turns 1(s+1)2\frac{1}{(s + 1)^2} into te−tte^{-t} (pp. 18–19):

Solution
y=34 et+14 e−t−12 t e−ty = \frac{3}{4}\,e^{t} + \frac{1}{4}\,e^{-t} - \frac{1}{2}\,t\,e^{-t}
In words

y equals three quarters e to the power t plus one quarter e to the power minus t minus one half t e to the power minus t

The last term is what the particular solution would have been; the others make up the complementary part, with the constants already supplied by the method (p. 19).

Worked example

Two more initial value problems

Solve by Laplace transform (a) y′′+4y=0y'' + 4y = 0, y(0)=2y(0) = 2, y′(0)=6y'(0) = 6; (b) y′+3y=6y' + 3y = 6, y(0)=1y(0) = 1. (c) Find a constant MM with t3≤Mett^3 \le Me^t for all t≥0t \ge 0.

(a) An oscillation

s2Y−2s−6+4Y=0s^2Y - 2s - 6 + 4Y = 0, so Y=2s+6s2+4=2⋅ss2+4+3⋅2s2+4Y = \frac{2s + 6}{s^2 + 4} = 2\cdot\frac{s}{s^2 + 4} + 3\cdot\frac{2}{s^2 + 4}, and y=2cos⁡2t+3sin⁡2ty = 2\cos 2t + 3\sin 2t.

(b) A first-order equation

sY−1+3Y=6ssY - 1 + 3Y = \frac6s, so Y=s+6s(s+3)Y = \frac{s + 6}{s(s + 3)}. Cover-up gives 2s−1s+3\frac{2}{s} - \frac{1}{s + 3}, so y=2−e−3ty = 2 - e^{-3t}. Check: y(0)=1y(0) = 1 and y′+3y=3e−3t+6−3e−3t=6y' + 3y = 3e^{-3t} + 6 - 3e^{-3t} = 6.

(c) A bound

t3e−tt^3e^{-t} has derivative (3t2−t3)e−t(3t^2 - t^3)e^{-t}, zero at t=3t = 3, where its value is 27e−3≈1.34427e^{-3} \approx 1.344. So M=1.35M = 1.35 works.

Summary#

  • ff is of exponential type if ∣f∣≤cekt|f| \le ce^{kt}; then F(s)F(s) exists for s>ks > k. Powers tnt^n (n≥0n \ge 0) and sinusoids qualify; 1/t1/t and et2e^{t^2} do not.
  • L(f′)=sF−f(0)\mathcal{L}(f') = sF - f(0), L(f′′)=s2F−sf(0)−f′(0)\mathcal{L}(f'') = s^2F - sf(0) - f'(0).
  • Transform the IVP, solve algebraically for Y(s)Y(s), invert with partial fractions; the initial values are built in.

Symbols on this page

Show the 31 symbols used here
∞\infty infinity.
Infinity: larger than any number. Say it: “infinity”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≤\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”.
→\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”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
aa a.
The initial value y(0) when none is given. Say it: “a”.
cc c.
A positive constant in the exponential-type bound. Say it: “c”.
kk k.
The growth rate in the exponential-type bound; the transform exists for s > k. Say it: “k”.
yy y.
The solution of the initial value problem. Say it: “y”.
tt t.
The original variable, t ≥ 0. Say it: “t”.
dd d.
The d of dt. Say it: “d”.
nn n.
A positive integer power. Say it: “n”.
ee e.
Euler's number, 2.718… Say it: “e”.
ff f.
A function of t ≥ 0 to be transformed. Say it: “f”.
FF F.
The Laplace transform of f. Say it: “capital F”.
AA A.
The constant coefficient of y′. Say it: “capital A”.
BB B.
The constant coefficient of y. Say it: “capital B”.
bb b.
The initial slope y′(0) when none is given. Say it: “b”.
ss s.
The transform variable. Say it: “s”.
hh h.
The input h(t) of the equation. Say it: “h”.
MM M.
A bound: the maximum of tⁿ/eᵗ. Say it: “M”.
f′f' f prime.
The derivative of f. Say it: “f prime”.
y′y' y prime.
The derivative of y. Say it: “y prime”.
y′′y'' y double prime.
The second derivative of the unknown y. Say it: “y double prime”.
YY Y.
The Laplace transform Y(s) of the solution y(t). Say it: “capital Y”.
f′′f'' f double prime.
The second derivative of f. Say it: “f double prime”.
F′F' F prime.
The derivative of F (a wrong answer in the quiz). Say it: “capital F prime”.

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

Words on this page

Show the 29 words used here

New here

exponential type.
Of a function: growing no faster than some exponential, so that its Laplace transform exists.

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.
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.
constant coefficients.
Of a linear differential equation: the numbers multiplying the unknown and its derivatives do not change with time. Explained in Constant coefficients: steady state, superposition and sinusoidal input.
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.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
improper integral.
An integral over an infinite range, or of a function that blows up, defined as a limit of ordinary integrals. Explained in Improper integrals.
converge.
To settle towards a definite finite value: an integral, series or sequence converges when its partial results approach a limit. Explained in Improper integrals.
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.
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.
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.
diverge.
To fail to settle on a finite value: a series or integral diverges when its partial results grow without limit or never settle. Explained in Improper integrals.
normal distribution.
The bell-shaped probability curve, highest at the average and falling off equally on both sides; it describes many sums of random effects. Explained in Differential equations and separation of variables.
initial value problem.
A differential equation together with the starting values that pick out one particular solution of it. Explained in Euler's method and better numerical methods.
initial condition.
The state of a system at the starting time, such as its position and speed, which picks out one solution of its equation. Explained in Introduction to first-order systems.
rational function.
A fraction whose top and bottom are both polynomials, such as (x + 1)/(x² − 4). Explained in Partial fractions.
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.
partial fractions.
Splitting a fraction of polynomials into a sum of simpler fractions, each easy to integrate. Explained in Partial fractions.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
differentiation.
Finding a derivative: working out how fast a function changes. Explained in The derivative: slope of the tangent line and rate of change.
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.
second derivative.
The derivative of a derivative: how fast a rate of change itself is changing. Explained in Acceleration in one dimension.
operator.
A rule that acts on a function, vector or state and turns it into another one, such as 'take the derivative'. Explained in The chain rule and higher derivatives.
complementary solution.
The general solution of the homogeneous equation, which is added to one particular solution to give every solution of the full equation. Explained in Inhomogeneous equations, particular solutions and stability.
particular solution.
Any one solution of the full equation, input term included; adding the complementary solution gives all the others. Explained in Inhomogeneous equations, particular solutions and stability.
cover-up method.
A quick way to find a coefficient in partial fractions: cover one factor of the denominator and put in the x that makes it zero. Explained in Partial fractions.
sinusoidal.
Shaped like a sine curve: rising and falling smoothly and regularly, with a fixed wavelength or period. Explained in Constant coefficients: steady state, superposition and sinusoidal input.

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
hence.
For this reason; as a result of what was just said.

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 L(f′)\mathcal{L}(f')?
  2. Which function is NOT of exponential type?
  3. Transforming y′′+4y=0y'' + 4y = 0, y(0)=2y(0) = 2, y′(0)=6y'(0) = 6 gives Y(s)=Y(s) = …
0 of 3 answered

Flashcards

1 / 3