UNIHIVE

Study Hub UNIPORT MTH 250

MTH 250 · Elementary Differential Equations

Solving initial value problems with Laplace transforms

The step-by-step method for first- and second-order IVPs, discontinuous forcing, and checking the answer.

Our notes

1 min read

Method

  1. Take the Laplace transform of both sides, using L{y′} and L{y″} with the initial values.
  2. Solve the algebraic equation for Y(s).
  3. Break Y(s) into partial fractions.
  4. Invert to get y(t).
  5. Check the initial conditions and the equation.

The initial conditions are built in: there are no constants to find at the end.

Example 1. y′ − y = 1, y(0) = 0.

  • sY − 0 − Y = 1/s → Y = 1/(s(s − 1)) = −1/s + 1/(s − 1).
  • y = e^t − 1. Check: y(0) = 0 ✓; y′ − y = e^t − (e^t − 1) = 1 ✓.

Example 2. y″ + 3y′ + 2y = 0, y(0) = 1, y′(0) = 0.

  • [s²Y − s − 0] + 3[sY − 1] + 2Y = 0 → Y(s² + 3s + 2) = s + 3.
  • Y = (s + 3)/((s + 1)(s + 2)) = 2/(s + 1) − 1/(s + 2).
  • y = 2e^(−t) − e^(−2t).

Check: y(0) = 2 − 1 = 1 ✓; y′ = −2e^(−t) + 2e^(−2t), y′(0) = 0 ✓; y″ = 2e^(−t) − 4e^(−2t); y″ + 3y′ + 2y = (2 − 6 + 4)e^(−t) + (−4 + 6 − 2)e^(−2t) = 0 ✓.

Example 3 (forced). y″ + y = 1, y(0) = 0, y′(0) = 0.

  • s²Y + Y = 1/s → Y = 1/(s(s² + 1)) = 1/s − s/(s² + 1).
  • y = 1 − cos t. Check: y″ = cos t; y″ + y = cos t + 1 − cos t = 1 ✓; y(0) = 0, y′(0) = sin 0 = 0 ✓.

Discontinuous forcing

A force switched on at t = a: g(t) = u(t − a). Its transform e^(−as)/s and the second shift theorem handle it.
Example 4. y′ + y = u(t − 2), y(0) = 0.

  • (s + 1)Y = e^(−2s)/s → Y = e^(−2s)[1/s − 1/(s + 1)].
  • y = u(t − 2)[1 − e^(−(t − 2))]: zero until t = 2, then rising towards 1.

Why engineers like it

Circuits and mechanical systems with switches, impulses and step inputs; the "transfer function" Y(s)/G(s) in control engineering comes from this method.

Exams usually ask: solve first- and second-order IVPs by Laplace transforms; problems with step functions.

Common mistake: errors in partial fractions. Check by recombining the fractions or by substituting values of s.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 250 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.