Laplace Transform Visualizer
See \(\mathcal{L}\{f(t)\}(s)\) as a signed area - watch the integrand accumulate and read the exact formula.
This tool makes the Laplace transform visible as a signed area integral.
The three plots
- Left - \(f(t)\): the original function with the decaying weight \(e^{-st}\) overlaid (dashed).
- Centre - integrand \(f(t)\cdot e^{-st}\): green areas add to \(F(s)\); red areas subtract.
- Right - \(F(s)\): the transform as a function of \(s\). The blue dot marks the current \(s\).
Convolution pairs
When a convolution pair \(f * g\) is selected, the visualized function is \(h(t)=(f*g)(t)\) and the transform shown is \(H(s)=F(s)\cdot G(s)\), illustrating the Convolution Theorem.
Numerical method - Gauss–Laguerre quadrature
The transform value \(F(s)\) is computed directly on the half-line with Gauss–Laguerre quadrature, which builds the \(e^{-st}\) weight into the rule. The substitution \(t=u/s\) places the nodes correctly for every \(s\):
There is no upper limit to choose: the infinite tail is handled analytically by the weight, so no truncation is involved. The nodes \(x_k/s\) move with \(s\), which keeps the sampling aligned with where the integrand actually lives.
Gauss–Laguerre assumes the smooth factor \(f(u/s)\) is analytic; a jump or kink — a Heaviside step \(u_a(t)\), or the corner of \(u_a(t)*1\) — destroys that and drops the accuracy to first order. So when \(f\) is non-smooth at a point \(a\), we split the integral there rather than let a node straddle it: the tail is shifted with \(t=a+v/s\) so the break lands at an endpoint, \(\int_a^\infty\! e^{-st}f(t)\,dt=\dfrac{e^{-as}}{s}\sum_k w_k\,f(a+x_k/s)\), with Gauss–Legendre on any finite panels before it. That restores full accuracy on the step examples.
A rapidly oscillating factor, \(\sin(\omega t)\) or \(\cos(\omega t)\), breaks the analytic assumption in a different way: once \(\omega\gtrsim s\) there are many wiggles between Laguerre nodes and the accuracy collapses (at \(s=0.5,\ \omega=4\) the plain rule is off by more than \(100\%\)). For these we switch to the Ooura–Mori double-exponential formula for Fourier integrals: writing \(e^{-st}f(t)\) as a sum of \(q(t)e^{-\lambda t}\{\sin,\cos\}(\omega t)\) pieces, each oscillatory piece \(\int_0^\infty g(x)\sin(\omega x)\,dx\) is evaluated with the substitution \(\omega x = M\varphi(t)\), whose nodes march toward the zeros \(k\pi/\omega\) so the transformed integrand decays double-exponentially. Accuracy then holds up as \(\omega\) grows — back to machine precision on the oscillatory examples.
Custom \(f(t)\)
Pick Custom from the function menu to type your own \(f(t)\) (in \(t\), e.g. 1/(1+t^2), exp(-t)sin(3t), sqrt(t)). Since an arbitrary \(f\) has no closed-form transform, \(F(s)\) is computed purely by the Gauss–Laguerre quadrature above and the \(F(s)\) plot traces that numerical value — the exact-value and relative-error cells are hidden, because there is nothing to compare against. Convergence needs \(f(t)e^{-st}\to0\); if a value looks unstable, raise \(s\).
Shifting theorems
- First (\(s\)-shift): \(\mathcal{L}\{e^{at}f(t)\} = F(s-a)\).
- Second (\(t\)-shift): \(\mathcal{L}\{u_c(t)f(t-c)\} = e^{-cs}F(s)\).
Convolution theorem
- \(\mathcal{L}\{(f*g)(t)\} = F(s)\cdot G(s)\) where \((f*g)(t)=\int_0^t f(\tau)g(t-\tau)\,d\tau\).
Convolution Theorem
If \(\mathcal{L}\{f\}=F(s)\) and \(\mathcal{L}\{g\}=G(s)\), then the transform of their convolution is the product of their individual transforms. Selecting a convolution pair below visualizes \(h(t)=(f*g)(t)\) and plots \(H(s)=F(s)\cdot G(s)\).
- \(\mathcal{L}\{u_a(t)*1\} = \dfrac{e^{-as}}{s}\cdot\dfrac{1}{s} = \dfrac{e^{-as}}{s^2}\)
- \(\mathcal{L}\{\sin(\omega t)*1\} = \dfrac{\omega}{s^2+\omega^2}\cdot\dfrac{1}{s} = \dfrac{\omega}{s(s^2+\omega^2)}\)
- \(\mathcal{L}\{e^{at}*e^{bt}\} = \dfrac{1}{s-a}\cdot\dfrac{1}{s-b} = \dfrac{1}{(s-a)(s-b)}\quad(a\ne b)\)
- \(\mathcal{L}\{e^{at}*\sin(\omega t)\} = \dfrac{1}{s-a}\cdot\dfrac{\omega}{s^2+\omega^2} = \dfrac{\omega}{(s-a)(s^2+\omega^2)}\)
First Shifting Theorem (\(s\)-shift)
Multiplying \(f\) by \(e^{at}\) shifts \(F(s)\) right by \(a\); the ROC becomes \(s>a\).
- \(\mathcal{L}\{e^{at}\sin\omega t\} = \dfrac{\omega}{(s-a)^2+\omega^2}\)
- \(\mathcal{L}\{e^{at}\cos\omega t\} = \dfrac{s-a}{(s-a)^2+\omega^2}\)
- \(\mathcal{L}\{t^n e^{at}\} = \dfrac{n!}{(s-a)^{n+1}}\)
Second Shifting Theorem (\(t\)-shift)
Delaying \(f\) by \(c\) (with step \(u_c\)) multiplies \(F(s)\) by \(e^{-cs}\).
- \(\mathcal{L}\{u_c(t)\} = \dfrac{e^{-cs}}{s}\)
- \(\mathcal{L}\{u_c(t)(t-c)\} = \dfrac{e^{-cs}}{s^2}\)
- \(\mathcal{L}\{u_c(t)\sin\omega(t-c)\} = \dfrac{\omega e^{-cs}}{s^2+\omega^2}\)
| \(f(t)\) | \(\mathcal{L}\{f(t)\} = F(s)\) | ROC | Visualize |
|---|
Cite this tool
Kapita, S. (2026). Laplace Transform Visualizer. Math Tools. https://doi.org/10.5281/zenodo.20981249
Kapita, Shelvean. "Laplace Transform Visualizer." Math Tools, 2026, doi.org/10.5281/zenodo.20981249.
@online{kapita2026laplace,
author = {Shelvean Kapita},
title = {{Laplace Transform Visualizer}},
year = {2026},
organization = {Math Tools},
doi = {10.5281/zenodo.20981249},
url = {https://doi.org/10.5281/zenodo.20981249}
}