Differential Equations · Undergraduate

Solving Initial Value Problems with Laplace Transforms

Quick answer

The Laplace method solves a linear initial value problem in three moves. Transform both sides, using L{y′} = sY − y(0) and L{y″} = s²Y − sy(0) − y′(0), so the initial conditions enter immediately. Solve the resulting algebraic equation for Y(s). Then split Y(s) into table entries, usually with partial fractions, and transform back to get y(t). There is no general solution to find first and no constants to fit afterward.

What you'll learn

  • Transform a linear initial value problem into an equation for Y(s)
  • Solve for Y(s) algebraically
  • Use partial fractions to split Y(s) into table entries
  • Invert to find y(t) and check the initial conditions

Three moves: transform, solve, invert

Solve y′′−3y′+2y=0y'' - 3y' + 2y = 0 with y(0)=1y(0) = 1, y′(0)=0y'(0) = 0.

Transform. Using the derivative rules:

(s2Y−s⋅1−0)−3(sY−1)+2Y=0\big(s^2Y - s \cdot 1 - 0\big) - 3\big(sY - 1\big) + 2Y = 0

Solve for YY. Collect the YY terms: (s2−3s+2)Y=s−3(s^2 - 3s + 2)Y = s - 3, so

Y=s−3(s−1)(s−2)Y = \frac{s - 3}{(s - 1)(s - 2)}

Invert. Partial fractions split this as 2s−1−1s−2\tfrac{2}{s - 1} - \tfrac{1}{s - 2}, and the table turns each piece back:

y=2et−e2ty = 2e^t - e^{2t}

Check: y(0)=2−1=1y(0) = 2 - 1 = 1 and y′(0)=2−2=0y'(0) = 2 - 2 = 0.

Why the method needs no constants

The usual approach finds a general solution with two constants, then fits them to y(0)y(0) and y′(0)y'(0). The Laplace method feeds y(0)y(0) and y′(0)y'(0) into the transformed equation at the very first step, through sY−y(0)sY - y(0) and s2Y−sy(0)−y′(0)s^2Y - sy(0) - y'(0). Because the initial values are already inside Y(s)Y(s), the function that comes back is the one particular solution that fits them. The calculus has been replaced by algebra and a table lookup.

Worked examples

Common mistakes

Practice problems

  1. Solve y′+3y=0y' + 3y = 0 with y(0)=2y(0) = 2.

    Answer

    y=2e−3ty = 2e^{-3t}

    Full solution

    sY−2+3Y=0sY - 2 + 3Y = 0 gives Y=2s+3Y = \tfrac{2}{s + 3}.

  2. Solve y′−2y=4y' - 2y = 4 with y(0)=1y(0) = 1.

    Answer

    y=−2+3e2ty = -2 + 3e^{2t}

    Full solution

    sY−1−2Y=4ssY - 1 - 2Y = \tfrac{4}{s}, so Y=s+4s(s−2)=−2s+3s−2Y = \tfrac{s + 4}{s(s - 2)} = -\tfrac{2}{s} + \tfrac{3}{s - 2}.

  3. Solve y′′−y=0y'' - y = 0 with y(0)=0y(0) = 0, y′(0)=2y'(0) = 2.

    Answer

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

    Full solution

    Y=2s2−1=1s−1−1s+1Y = \tfrac{2}{s^2 - 1} = \tfrac{1}{s - 1} - \tfrac{1}{s + 1}.

  4. Solve y′′+9y=9y'' + 9y = 9 with y(0)=0y(0) = 0, y′(0)=0y'(0) = 0.

    Answer

    y=1−cos⁡(3t)y = 1 - \cos(3t)

    Full solution

    Y=9s(s2+9)=1s−ss2+9Y = \tfrac{9}{s(s^2 + 9)} = \tfrac{1}{s} - \tfrac{s}{s^2 + 9}.

  5. Find Y(s)Y(s), without inverting, for y′′+5y′+6y=e−ty'' + 5y' + 6y = e^{-t} with y(0)=1y(0) = 1, y′(0)=0y'(0) = 0.

    Answer

    Y=s+5+1s+1s2+5s+6Y = \displaystyle\frac{s + 5 + \frac{1}{s + 1}}{s^2 + 5s + 6}

    Full solution

    (s2Y−s)+5(sY−1)+6Y=1s+1(s^2Y - s) + 5(sY - 1) + 6Y = \tfrac{1}{s + 1}, so (s2+5s+6)Y=s+5+1s+1(s^2 + 5s + 6)Y = s + 5 + \tfrac{1}{s + 1}.

  6. Split s+2(s+1)2\tfrac{s + 2}{(s + 1)^2} into partial fractions.

    Answer

    1s+1+1(s+1)2\tfrac{1}{s + 1} + \tfrac{1}{(s + 1)^2}

    Full solution

    Write s+2=(s+1)+1s + 2 = (s + 1) + 1 and divide by (s+1)2(s + 1)^2.

  7. Check that y=2et−e2ty = 2e^t - e^{2t} solves y′′−3y′+2y=0y'' - 3y' + 2y = 0.

    Answer

    y′=2et−2e2ty' = 2e^t - 2e^{2t} and y′′=2et−4e2ty'' = 2e^t - 4e^{2t}; the combination is 00.

    Full solution

    (2−6+4)et+(−4+6−2)e2t=0(2 - 6 + 4)e^t + (-4 + 6 - 2)e^{2t} = 0.

  8. A student transforms y′′+4y=0y'' + 4y = 0, y(0)=1y(0) = 1, y′(0)=2y'(0) = 2, as s2Y+4Y=0s^2Y + 4Y = 0 and gets y=0y = 0. What went wrong?

    Answer

    The initial-value terms were dropped; it should be s2Y−s−2+4Y=0s^2Y - s - 2 + 4Y = 0, giving y=cos⁡2t+sin⁡2ty = \cos 2t + \sin 2t.

    Full solution

    Without them, the transformed equation describes a mass that starts at rest at 00, which never moves.

Frequently asked questions

What are the steps of the Laplace method?

Transform both sides of the equation, solve the algebraic equation for Y(s), and take the inverse transform of Y(s) to get y(t).

Where do the initial conditions go?

Into the transforms of the derivatives: L{y′} = sY − y(0) and L{y″} = s²Y − sy(0) − y′(0). They are used in the first step.

Why use partial fractions?

Y(s) is usually a ratio of polynomials that is not in the table. Partial fractions split it into simple pieces such as A/(s − a) whose inverses are known.

What is the advantage over undetermined coefficients?

The initial conditions are handled automatically, and the same steps work for any right side that has a transform, including ones that switch on and off.

How do you check the answer?

Substitute y(t) into the equation and confirm that y(0) and y′(0) match the given values.

What to learn next