14.8: A First Order Differential Equation
( \newcommand{\kernel}{\mathrm{null}\,}\)
Example 14.8.1
Solve ˙y+2y=3tet with initial condition y0=0.
Solution
If you are in good practice with solving this type of equation, you will probably multiply it through by e2t, so that it becomes
ddt(ye2t)=3te3t,
from which
y=(t−13)et+Ce−2t.
(You can now substitute this back into the original differential equation, to verify that it is indeed the correct solution.)
With the given initial condition, it is quickly found that C=13 so that the solution is
y=tet−13et+13e−2t.
Now, here's the same solution, using Laplace transforms.
We take the Laplace transform of both sides of the original differential equation:
sˉy+2ˉy=3L(tet)=3(s−1)2.
Thus
ˉy=3(s+2)(s−1)2.
Partial fractions:
ˉy=13(1s+2)−13(1s−1)+1(s−1)2.
Inverse transforms:
y=13e−2t−13et+tet.
You will probably admit that you can follow this, but will say that you can do this at speed only after a great deal of practice with many similar equations. But this is equally true of the first method, too.