We know how to transform basic functions of t into the s-world, and now we want to transform an entire differential equation to solve for an unknown function y(t).
1
The Laplace Transform of a Derivative
To transform a differential equation like y′′−y′−6y=0, we first need to find what the Laplace integral does to a derivative, L{y′}.
The Laplace Transform of a Derivative
y′′−y′−6yL{y′}=0=?
Integration by parts moves the derivative off the unknown y′(t) and onto e−st, which brings down a factor of −s and evaluates e−sty(t) at t=0 and as t→∞:
This gives the rule for transforming a first derivative:
L{y′}=sY(s)−y(0)
See how shifting y(t) up or down changes sY(s) while −y(0) cancels that change, keeping L{y′}=sY(s)−y(0) the same for every starting height:
Shifting a curve up or down doesn't change its slope or the slope's transform, and subtracting the starting height cancels that shift out so the formula still matches.
2
Transforms of Second and Higher Derivatives
To transform a second-order equation, we need the Laplace transform of the second derivative, L{y′′}, along with the pattern for higher derivatives.
Transforms of Second and Higher Derivatives
L{y′}L{y′′}=sY(s)−y(0)=?
Because y′′(t) is the derivative of y′(t), applying the first-derivative rule to y′(t) multiplies L{y′} by s and subtracts where y′ starts at t=0:
Split into partial fractions and translate back to tBreak Y into separate fractions for s−1 and s+2, solve 5s+7=A(s+2)+B(s−1) at s=1 and s=−2, and translate each fraction into an exponential.
Yy(t)=s−1A+s+2B=s−14+s+21=4et+e−2t
So y(t)=4et+e−2t is the complete solution, and because y(0)=5 went in on the first step, y(0)=4(1)+1=5 is already satisfied without solving for +C.
4
Solving a Second-Order Initial Value Problem
Next, let's solve the second-order initial value problem:
y′′−y′−6yy(0)y′(0)=0,=4,=7
Solving a Second-Order Initial Value Problem
Text solution
Put brackets around each derivative's transform and plug in y(0)=4,y′(0)=7Put brackets around the entire transform of y′′ and y′ so the minus sign in front of y′ distributes to every term inside.
[s2Y−4s−7]−[sY−4]−6Y=0
Distribute signs and solve for YFlip the signs inside the second bracket, collect the Y terms, and factor the quadratic in the denominator.
Split into partial fractions and translate back to tSolve 4s+3=A(s+2)+B(s−3) at s=3 and s=−2 to get A=3 and B=1, then translate each fraction back to t.
Yy(t)=s−33+s+21=3e3t+e−2t
So y(t)=3e3t+e−2t is the exact curve that starts at height y(0)=3+1=4 with initial slope y′(0)=9−2=7.
Now vary the initial slope y′(0) for y′′−y′−6y=0 starting at y(0)=4, and see how it changes the numerator of Y(s) and the mix of e3t and e−2t, even canceling the growing e3t term completely at y′(0)=−8:
The differential equation fixes the denominator factors and the exponential terms, while the starting slope only changes the numerator to adjust their weights.
5
Initial Value Problems with Sines and Cosines
When the polynomial multiplying Y is a sum of squares like s2+4 that does not factor into real roots, sines and cosines show up in the solution. Let's solve
y′′+4yy(0)y′(0)=8,=1,=6
Here we need the transforms for cosine (which has s on top), sine (which has the number b on top), and a constant:
L{cos(bt)}L{sin(bt)}L{1}=s2+b2s,=s2+b2b,=s1
Initial Value Problems with Sines and Cosines
Text solution
Transform the equation and plug in y(0)=1,y′(0)=6Replace y′′ with s2Y−sy(0)−y′(0) and transform the constant 8 on the right side into s8.
s2Y−s−6+4Y=s8
Divide term by term by s2+4Move s+6 to the right side and divide each term separately by s2+4 rather than combining the right side into a single fraction.
(s2+4)YY=s+6+s8=s2+4s+s2+46+s(s2+4)8
Split only the third fraction and match b=2 for sineUse partial fractions on s(s2+4)8=s2−s2+42s, combine the s2+4s terms, and write 6=3⋅2 so the sine term has b=2 on top.
So y(t)=2−cos(2t)+3sin(2t) is the solution, oscillating around height 2 after starting at y(0)=2−1+0=1.
Key concepts
Solving an initial value problem with the Laplace transform always follows the same detour: transform each term into s, solve for Y, rewrite the fractions into forms we know how to transform back, and translate back to t.
Transforming derivatives puts the initial conditions right in
Every derivative multiplies Y by another s and subtracts the initial values at t=0, with the powers of s going down by one and the derivatives at t=0 going up by one:
L{y′}L{y′′}=sY−y(0),=s2Y−sy(0)−y′(0)
Always put brackets around a derivative's transform when it has a minus sign or a coefficient in front: for −y′ with y(0)=4, write −[sY−4]=−sY+4.
How the denominator of Y tells you how to set up the fractions
Factorable quadratic (s−r1)(s−r2)→ combine and use partial fractions for exponentials: Combine the right side over a common denominator before dividing, then split into s−r1A+s−r2B to translate with s−a1→eat (such as (s−3)(s+2)4s+3=s−33+s+21→3e3t+e−2t).
Sum of squares s2+b2→ keep terms separate for cosine and sine: Do not combine the entire right side into one fraction when s and constant terms sit next to a fraction. Divide term by term so the initial-condition terms immediately match s2+b2s→cos(bt) and s2+b2b→sin(bt) (such as (s2+4)Y=s+6+s8 giving s2+4s+3⋅s2+42 right away, leaving only s(s2+4)8 to split).
6
Practice
1
Transform the initial value problem y′′′−2y′′+5y′=0,y(0)=1,y′(0)=−3,y′′(0)=4 into the s-world and solve for Y(s).
Write out the transform of y′′′,y′′, and y′ inside brackets first: how do the powers of s go down in L{y′′′}=s3Y−s2y(0)−sy′(0)−y′′(0)?
Transform each derivative in brackets and plug in y(0)=1,y′(0)=−3, and y′′(0)=4:
[s3Y−s2(1)−s(−3)−4]−2[s2Y−s(1)−(−3)]+5[sY−1]=0
(Watch out: two common mistakes here are leaving the brackets off −2L{y′′} so −2 only multiplies s2Y, which gives s3−2s2+5ss2−2s+6, or missing the double negatives −sy′(0)=−s(−3)=+3s and −y′(0)=−(−3)=+3, which gives s3−2s2+5ss2+s+3.)
Distribute the coefficients and collect the Y terms:
Split into partial fractions using 4s+14=A(s+2)+B(s−1) at s=1 (A=6) and s=−2 (B=−2), then translate back:
Yy(t)=s−16−s+22=6et−2e−2t
Answery(t)=6et−2e−2t
3
Solve the initial value problem y′′−3y′−4y=0,y(0)=2,y′(0)=−7.
Put brackets around L{y′}=sY−2 before multiplying by −3, then factor the quadratic multiplying Y.
Transform each term with brackets around the derivatives and plug in y(0)=2,y′(0)=−7:
[s2Y−2s−(−7)]−3[sY−2]−4Y=0
(Watch out: forgetting brackets on −3[sY−2] and writing −3sY−2 or −3sY−6 instead of −3sY+6 turns the numerator into 2s−5 or 2s−1, giving 53e4t+57e−t or 57e4t+53e−t.)
Distribute, solve for Y, and factor the denominator: