myLearning

Topic 3 of 6

Step 20 · Differential equations topics

Turn a differential equation into an algebra problem with the Laplace transform, solve it, and transform back using a table.

Transforming functions

The Laplace transform turns a function of time f(t) into a function F(s) by an integral. You rarely work out the integral: a short table covers most needs.

F(s)=L{f(t)}=∫0∞e−stf(t) dtF(s) = \mathcal{L}\{f(t)\} = \int_{0}^{\infty} e^{-st} f(t)\,dt
f(t)F(s)
11s\frac{1}{s}
tnt^{n}n!sn+1\frac{n!}{s^{n+1}}
eate^{at}1s−a\frac{1}{s - a}
sin⁡bt\sin btbs2+b2\frac{b}{s^{2} + b^{2}}
cos⁡bt\cos btss2+b2\frac{s}{s^{2} + b^{2}}

Example: From the definition

Find L{e2t}\mathcal{L}\{e^{2t}\} from the definition.

  1. ∫0∞e−ste2t dt=∫0∞e−(s−2)t dt\int_{0}^{\infty} e^{-st}e^{2t}\,dt = \int_{0}^{\infty} e^{-(s - 2)t}\,dt.
  2. For s > 2 this is 1 ÷ (s − 2).

Answer1s−2\frac{1}{s - 2}

Example: Linearity

Find L{3+5sin⁡2t}\mathcal{L}\{3 + 5\sin 2t\}.

  1. The transform of a sum is the sum of the transforms, and constants come out.
  2. 3s+5⋅2s2+4\frac{3}{s} + 5 \cdot \frac{2}{s^{2} + 4}.

Answer3s+10s2+4\frac{3}{s} + \frac{10}{s^{2} + 4}

Transforming derivatives

Integrating by parts in the definition shows that a derivative becomes multiplication by s, minus the starting value. So derivatives turn into algebra, and the starting values come along automatically.

L{y′}=sY−y(0)L{y′′}=s2Y−sy(0)−y′(0)\mathcal{L}\{y'\} = sY - y(0) \qquad \mathcal{L}\{y''\} = s^{2}Y - sy(0) - y'(0)

Example: A first-order equation

Transform y′ + 3y = 0 with y(0) = 2, and solve.

  1. sY − 2 + 3Y = 0.
  2. So Y = 2 ÷ (s + 3).

AnswerY=2s+3Y = \frac{2}{s + 3}, so y=2e−3ty = 2e^{-3t}

Solving with transforms

  • Transform both sides, using the starting values.
  • Solve the algebra for Y(s).
  • Split Y into table entries, often with partial fractions.
  • Transform back with the table.

Example: A second-order equation

Solve y″ − y = 0 with y(0) = 0 and y′(0) = 2.

  1. Transform: s2Y−2−Y=0s^{2}Y - 2 - Y = 0, so Y=2s2−1Y = \frac{2}{s^{2} - 1}.
  2. Partial fractions: 2s2−1=1s−1−1s+1\frac{2}{s^{2} - 1} = \frac{1}{s - 1} - \frac{1}{s + 1}.
  3. Back with the table: et−e−te^{t} - e^{-t}.

Answery=et−e−ty = e^{t} - e^{-t}

Example: With a force

Solve y′ + y = 1 with y(0) = 0.

  1. Transform: sY+Y=1ssY + Y = \frac{1}{s}, so Y=1s(s+1)Y = \frac{1}{s(s + 1)}.
  2. Split: 1s−1s+1\frac{1}{s} - \frac{1}{s + 1}.

Answery=1−e−ty = 1 - e^{-t}

Try it yourself

Work each one on paper first, then open the answer to check.

  1. Find L{t2}\mathcal{L}\{t^{2}\}.

    Show answer

    2s3\frac{2}{s^{3}}

  2. Find L{e−4t}\mathcal{L}\{e^{-4t}\}.

    Show answer

    1s+4\frac{1}{s + 4}

  3. Find L{cos⁡3t}\mathcal{L}\{\cos 3t\}.

    Show answer

    ss2+9\frac{s}{s^{2} + 9}

  4. Which function has transform 5s\frac{5}{s}?

    Show answer

    The constant 5

  5. Transform y′ − 2y = 0 with y(0) = 4, and solve.

    Show answer

    y=4e2ty = 4e^{2t}

  6. Which function has transform 3s2+9\frac{3}{s^{2} + 9}?

    Show answer

    sin 3t

What next?