Next revision
|
Previous revision
|
math121a-f23:october_16_monday [2023/10/13 09:04] pzhou created |
math121a-f23:october_16_monday [2023/10/14 00:21] (current) pzhou |
====== October 13 (Friday) ====== | ====== October 16 (Monday) ====== |
| |
* What is Laplace transform? | * What is Laplace transform? |
* f(t)=eat, F(p)=1/(p−a),valid for Re(p−a)>0. | * f(t)=eat, F(p)=1/(p−a),valid for Re(p−a)>0. |
* f(t)=cos(at), $F(p) = (1/2)[1/(p-ia) + 1/(p+ia)] = p/(p^2 + a^2). validforRe(p)>0ifa$ is real. | * f(t)=cos(at), $F(p) = (1/2)[1/(p-ia) + 1/(p+ia)] = p/(p^2 + a^2). validforRe(p)>0ifa$ is real. |
| |
| That was about function with (linear) exponential decay or growth at infinty |
| |
| How about Gaussian? |
| * If f(t)=e−t2, then |
| F(p) = \int_0^\infty e^{-t^2} e^{-pt} dt = \int_0^\infty e^{-(t+p/2)^2 + p^2/4} dt = e^{p^2/4} \int_{p/2}^\infty e^{-t^2} dt. |
| OK, that's not nice, you can express the result using Gaussian error function, which is about ∫0ae−t2dt, 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)>0$. |
| |
| |
==== properties ==== | ==== properties ==== |
| |
We can do integration by part | We can do integration by part |
LT(f') = \int_0^\infty e^{-pt} (d/dt) f(t) dt = \int_{t=0}^{t=\infty} e^{-pt} df = \int_{t=0}^{t=\infty} d[e^{-pt} f] - d[e^{-pt}] f= e^{-pt} f(t)|_0^\infty + \int_0^\infty p e^{-pt} f(t) dt = -f(0) + pF(p). | LT(f') = \int_0^\infty e^{-pt} \frac{df}{dt} dt = \int_{t=0}^{t=\infty} e^{-pt} df = \int_{t=0}^{t=\infty} d[e^{-pt} f] - d[e^{-pt}] f= e^{-pt} f(t)|_0^\infty + \int_0^\infty p e^{-pt} f(t) dt = -f(0) + pF(p). |
| |
| ==== inverse? ==== |
| f(t)=2πi1∫c−i∞c+i∞eptF(p)dp.c≫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)=eat 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,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)⇒F(p)=p(p+1)3+p |
| |
| Then, we may apply the inverse Laplace transformation, to get |
| f(t)=Resp=0(eptp(p+1)3+p)+Resp=−1(eptp(p+1)3+p)=0+1e0t(3+0)+e1t−13−1=−2e−t+3. |
| Double check |
| f′(t)+f(t)=2e−t+(−2e−t+3)=3,f(0)=1. |
| yeah. |
| |
| |