This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
math121a-f23:october_16_monday [2023/10/13 16:04] pzhou created |
math121a-f23:october_16_monday [2026/02/21 14:41] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== October | + | ====== October |
| * What is Laplace transform? | * What is Laplace transform? | ||
| Line 15: | Line 15: | ||
| * $f(t) = e^{a t}$, $F(p) = 1/(p-a), $valid for $Re(p-a) > 0$. | * $f(t) = e^{a t}$, $F(p) = 1/(p-a), $valid for $Re(p-a) > 0$. | ||
| * $f(t) = \cos(at)$, | * $f(t) = \cos(at)$, | ||
| + | |||
| + | That was about function with (linear) exponential decay or growth at infinty | ||
| + | |||
| + | How about Gaussian? | ||
| + | * If $f(t) = e^{-t^2}$, then | ||
| + | $$ F(p) = \int_0^\infty e^{-t^2} e^{-pt} dt = \int_0^\infty e^{-(t+p/ | ||
| + | OK, that's not nice, you can express the result using Gaussian error function, which is about $\int_0^a e^{-t^2} dt$, but let's not worry about it. | ||
| + | |||
| + | How about rational function? | ||
| + | * If $f(t) = 1/(1+t)$, we know $F(p)$ exists, and it is holomorphic (at least) for $Re(p)> | ||
| + | |||
| ==== properties ==== | ==== properties ==== | ||
| Line 20: | Line 31: | ||
| We can do integration by part | We can do integration by part | ||
| - | $$ LT(f') = \int_0^\infty e^{-pt} | + | $$ LT(f') = \int_0^\infty e^{-pt} |
| + | ==== inverse? ==== | ||
| + | $$ f(t) = \frac{1}{2\pi i} \int_{c - i\infty}^{c+i \infty} e^{pt} F(p) dp. \quad c \gg 0$$ | ||
| + | We want to take $c$ large enough so that there is no singularity of $F(p)$ for $Re(p) > c$. | ||
| + | |||
| + | For example, if $F(p) = 1/p$, or $1/(p-a)$, we can get $f(t) = 1$ and $f(t)=e^{at}$ respectively. | ||
| + | |||
| + | ===== What's Laplace transformation good for? ===== | ||
| + | If you have a differential equation about $f(t)$ on some domain $t > 0$, and you know the initial conditions, say $f(t=0)$ etc, then you can use it to compute the Laplace transform of $f$. We have | ||
| + | |||
| + | Example | ||
| + | $$ f'(t) + f(t) = 3, \quad f(0) = 1 $$ | ||
| + | We apply Laplace transform to the equation, we get | ||
| + | $$ pF(p) - f(0) + F(p) = 3 / p. $$ | ||
| + | Then, we get | ||
| + | $$ F(p) (p+1) = (3/p + 1) \Rightarrow F(p) = \frac{3+p} {p (p+1)} $$ | ||
| + | |||
| + | Then, we may apply the inverse Laplace transformation, | ||
| + | $$ f(t) = Res_{p=0} (e^{pt} \frac{3+p} {p (p+1)}) + Res_{p=-1} (e^{pt} \frac{3+p} {p (p+1)}) = \frac{e^{0t} (3+0)}{0+1} + e^{1t} \frac{3-1} {-1} = -2 e^{-t} + 3. $$ | ||
| + | Double check | ||
| + | $$ f'(t) + f(t) = 2 e^{-t} + (-2 e^{-t} + 3)=3, \quad f(0) = 1. $$ | ||
| + | yeah. | ||
| + | |||
| + | |||