Having a problem with solving an IVP using Laplace involving Heavisides, work so far posted in a moment.
Use the Laplace Transform to solve the given Initial Value Problem. \[y' +y=f(t), \ \ \ y(0)=0 \]where \[f(t)= \begin{cases} 0, \ \ \ 0 \leq t<1 \\ 5, \ \ \ t \ge 1 \end{cases} \]
First, putting the whole thing in the form of a bunch of linear combinations (turning that f(t) into a bunch of heaviside-multiplied functions)
\[f(t)=5\mathcal{U}(t-1)\]
@perl @Concentrationalizing
\[y'+y=5 \ \mathcal{U}(t-1)\]
Taking the laplace of all of that:\[[sY(s)-y(0)]+Y(s)=\frac{5e^{-s}}{s}\]
\[Y(s)(s+1)=\frac{5e^{-s}}{s}\]
\[Y(s)=\frac{5e^{-s}}{s(s+1)}\]
\[\mathcal{L^{-1}}(Y(s))=5 \mathcal{L^{-1}}\left\{\vphantom{} \frac{e^{-s}}{s(s+1)} \right\}\]
By Partial Fraction Decomposition,
\[\frac{1}{s(s+1)}=\frac{1}{s}-\frac{1}{s+1}\]
By making the identification that,\[a=-1, \ \ \ f(t)=\Bigg[\frac{1}{s}-\frac{1}{s+1}\Bigg]\]We can figure out that our solution is going to be of the form,
\[f(t-1)\mathcal{U}(t-1)\]
\[\mathcal{L^{-1}}\left\{\Bigg[\frac{1}{s}-\frac{1}{s+1}\Bigg]\right\}=1-e^{-s}\]
Multiplying that by the transformed Unit Step and accounting for the shift, we have:\[5 \ \mathcal{U}(t-1)(1-e^{-s-1})\]?
Whoops, those last two variables supposed to be t's, not s's.
(Lol solved my own problem in the process, nvm, don't need help; I forgot about something early on that messed me up before the transform).
And the exponent is supposed to be,
\[e^{-(t-1)}\]
\[Y(s)=5e^{-s}\left( \dfrac{1}{s(s+1)}\right) \implies y(t) = 5\mathcal{U}(t-1)(1-e^{-(t-1)})\] like this ?
Yeah!
looks good to me
Join our real-time social learning platform and learn together with your friends!