IVP's with Laplace Transforms | Differential EquationsIVP's with Laplace Transforms
Sharan Sajiv Menon - November 15th, 2021
You can use Laplace Transforms to solve Initial Value Problems. Let's start off with some examples.
Read the previous article on Laplace Transforms if you havent already read that.
Example 1: Solve the following IVP using Laplace Transforms.
y′′−10y′+9y=5t,y(0)=−1,y′(0)=2
Solution:
The first step is to take the Laplace Transform of both sides.
L{y′′−10y′+9y}=L{5t}→L{y′′}−L{10y′}+L{9y}=L{5t}
Use the table of Laplace transforms
s2Y(s)−sy(0)−y′(0)−10sY(s)−y(0)+9Y(s)=s25
Plug in the initial contidions
s2Y(s)+s−2−10sY(s)+1+9Y(s)=s25
Collect all the Y(s) terms.
Y(s)(s2−10s+9)+s−1=s25→Y(s)(s−9)(s−1)+s−1=s25
Solve for Y(s)
Y(s)=s2(s−9)(s−1)5+12s2−s3
Now, we have to take the inverse Laplace transform of Y(s) to find y(t), but it is easier first to use decomposition of partial fractions to decompose Y(s) into partial fractions. This makes it a lot easier to take the inverse transform
You should know how to take the partial fraction decomposition of a function
Our partial fraction will look like the following.
Y(s)=sA+s2B+(s−9)C+(s−1)D
Set the numerators equal
5+12s2−s3=As(s−9)(s−1)+B(s−9)(s−1)+Cs2(s−1)+Ds2(s−9)
Plug in the different values of S to get the coefficents
- s=0→9B=5→B=95
- s=1→−8D=16→D=−2
- s=9→648C=248→C=8131
Setting s=0,1,9 all remove the A term, so we use a different number, like s=2 now that we have our coefficents B, C, D.
s=2→45=−14A+814345→A=8150
Plug in the 4 constants to get the following
Y(s)=s8150+s295+(s−9)8131+(s−1)−2
Taking the Inverse Laplace Transform of this is a lot easier.
y(t)=L{s8150}+L{s295}+L{(s−9)8131}+L{(s−1)−2}
Simplify and you get the solution to the IVP.
y(t)=8150+95t+8131e9t−2et