Difference between revisions of "Laplace Transform"

From PrattWiki
Jump to navigation Jump to search
(Example)
(Example)
Line 78: Line 78:
 
</html>
 
</html>
 
The steps are as follows:
 
The steps are as follows:
* Determine the period.  In this case, the period $$T=11$$ s\
+
* Determine the period.  In this case, the period $$T=11$$ s
 
* Find a formula for $$\hat{f}(t)$$, the function that handles the first period of $$f(t)$$.  Based on the value and slope changes in the function,
 
* Find a formula for $$\hat{f}(t)$$, the function that handles the first period of $$f(t)$$.  Based on the value and slope changes in the function,
 
<center><math>
 
<center><math>

Revision as of 22:19, 27 November 2023

This page is a collection of links and other things to support learning about and using Laplace Transforms.

Tips

Steps and Ramps

Time Shifts

If there are time shifts, the shift in the argument of the step must match the shift in the function by which it is multiplied. If not, you need to manipulate things so that the function by each step is multiplied matches the shift in the step. Here are some examples:

No shift in step

You probably just need to distribute things out:

$$ \begin{align*} x(t)&=(t-4)\,u(t)\\ &=t\,u(t)-4\,u(t)\\ X(s)&=\frac{1}{s^2}-4\frac{1}{s} \end{align*} $$

Shift in step

You may need to "complete the shift" for functions outside of the argument of the step to match the shift inside the argument of the step:

$$ \begin{align*} y(t)&=t\,u(t-4)\\ &=\left(t-{\color{red} 4}+{\color{blue} 4}\right)\,u(t-4)\\ &=\left(t-{\color{red} 4}\right)\,u(t-4)+{\color{blue} 4}\,u(t-4)\\ Y(s)&=\frac{e^{-4s}}{s^2}+4\frac{e^{-4s}}{s} \end{align*} $$

Shift in step redux

You may need to "complete the shift" for functions outside of the argument of the step to match the shift inside the argument of the step; this must include every instance of $$t$$:

$$ \begin{align*} z(t)&=te^{-2t}\,u(t-4)\\ &=\left(t-{\color{red} 4}+{\color{blue} 4}\right)e^{-2(t-{\color{green} 4}+{\color{purple} 4})}\,u(t-4)\\ &=\left(t-{\color{red} 4}\right)e^{-2(t-{\color{green} 4})}e^{-{\color{purple} 8}}\,u(t-4)+{\color{blue} 4}e^{-2(t-{\color{green} 4})}e^{-{\color{purple} 8}}\,u(t-4)\\ Z(s)&=\frac{e^{-4s}e^{-8}}{(s+2)^2}+4\frac{e^{-4s}e^{-8}}{s+2} \end{align*} $$

"Periodic" Signals

There is no Laplace Transform for a truly periodic signal, because there is no region of convergence, but if a signal is periodic in a half-plane (typically the right-half-plane), there will be a Laplace Transform as long as the signal has finite values.

Assume you have some signal $$f(t)$$ that is 0 for all times $$t<0$$, $$\hat{f}(t)$$ for times $$0\leq t < T$$, and $$\hat{f}(t-nT)$$ for all $$t \geq T$$ where $$n$$ is an integer chosen such that the argument $$0\leq (t-nT) < T$$. That is, $$\hat{f}(t)$$ represents the formula for the signal between times 0 and $$T$$, and that repeats as $$t$$ increases. If $$\hat{F}(s)=\mathcal{L}\left\{\hat{f}(t)\right\}$$, then $$F(s)=\frac{\hat{F}(s)}{1-e^{-sT}}$$ with a region of convergence of $\sigma>0$.

If the signal does not "start" at time 0, use the time shift property to accommodate the shift.

Table

Here are some of the pairs and properties that would be useful to memorize:

$$ \begin{array}{c|c} f(t) & F(s) / \mathcal{F}(s) \\ \hline \delta(t) & 1 \\ u(t) & \frac{1}{s}\\ r(t)=t\,u(t) & \frac{1}{s^2}\\ \cos(\omega t+\theta)\,u(t)=\cos(\omega t)\cos(\theta)\,u(t)-\sin(\omega t)\sin(\theta)\,u(t) & \frac{s\cos(\theta)-\omega\sin(\theta)}{(s+a)^2+\omega^2}\\ \sin(\omega t+\theta)\,u(t)=\cos(\omega t)\sin(\theta)\,u(t)+\sin(\omega t)\cos(\theta)\,u(t) & \frac{s\sin(\theta)+\omega\cos(\theta)}{(s+a)^2+\omega^2}\\ e^{-at}\left(A\cos(\omega t)+B\sin(\omega t)\right)\,u(t) &\frac{A(s+a)+B\omega}{(s+a)^2+\omega^2}\\ e^{-at}\left(A\cosh(k t)+B\sinh(k t)\right)\,u(t) &\frac{A(s+a)+Bk}{(s+a)^2-k^2}\\ \end{array} $$
$$ \begin{array}{c|c|c} g(t) & G(s) & \mathcal{G}(s)\\ \hline f(t-t_0) & F(s)e^{-st_0} & \mathcal{F}(s)e^{-st_0}\mbox{ iff }f(t-t_0)=f(t-t_0) \,u(t-t_0) \\ e^{-at}f(t) & F(s+a) & \mathcal{F}(s+a)\\ \frac{df(t)}{dt} & sF(s)& s\mathcal{F}(s)-f(0^-)\\ \frac{d^2f(t)}{dt^2} & s^2F(s)& s^2\mathcal{F}(s)-\dot{f}(0^-)-sf(0^-)\\ \int_{-\infty}^{t}f(\tau)\,d\tau & \frac{F(s)}{s} & \frac{\mathcal{F}(s)}{s}\\ tf(t) &-\frac{dF(s)}{ds} &-\frac{d\mathcal{F}(s)}{ds}\mbox{ iff }f(t)=0\,\forall\,t<0^-\\ \sum_{k=0}^{\infty}\hat{f}(t-kT) & \frac{\hat{F}(s)}{1-e^{-sT}} & \frac{\hat{\mathcal{F}}(s)}{1-e^{-sT}} \end{array} $$

Example

Imagine you want to find the Laplace transform of the right-sided periodic function plotted in the second plot below: The steps are as follows:

  • Determine the period. In this case, the period $$T=11$$ s
  • Find a formula for $$\hat{f}(t)$$, the function that handles the first period of $$f(t)$$. Based on the value and slope changes in the function,
\( \hat{f}(t)=2\,u(t)+\frac{1}{4}\,r(t)-2\,u(t-4)-2\,u(t-8)-\frac{1}{4}\,r(t-8) \)
  • Find a formula for $$\hat{F}(s)$$, the Laplace transform of $$\hat{f}(t)$$. Using the time-shift property and the Laplace transforms for steps and ramps, this would give:
\( \begin{align*} \hat{F}(s)&=\frac{2}{s}+\frac{\frac{1}{4}}{s^2}-\frac{2e^{-4s}}{s}-\frac{2e^{-8s}}{s}-\frac{\frac{1}{4}e^{-8s}}{s^2}\\ \hat{F}(s)&=\frac{1}{4}\left(\frac{8s+1-8se^{-4s}-8se^{-8s}-e^{-8s}}{s^2}\right) \end{align*} \)
  • Use the property that the Laplace transform of the right-sided periodic signal $$f(t)$$ is the Laplace transform of the first period divided by $$1-e^{-sT}$$
\( \begin{align*} F(s)&=\frac{\hat{F}(s)}{1-e^{-sT}}=\frac{\hat{F}(s)}{1-e^{-11s}}\\ F(s)&=\frac{8s+1-8se^{-4s}-8se^{-8s}-e^{-8s}}{4s^2(1-e^{-11s})} \end{align*} \)