Skip to main content

Convolution Calculator

Work out (f * g)(t) exactly with the convolution theorem, see every step, and watch the flip and slide. Free.

Convolution Calculator

(f * g)(t) for functions that start at t = 0

Use * for multiplication and ^ for powers. u(t-a) is a unit step and delta(t-a) an impulse.

Examples:

Two ways to convolve

  • The integral: (f * g)(t) = ∫₀ᵗ f(τ) g(t − τ) dτ. Flip g, slide it to t, multiply by f, and add up the overlap. The picture above shows this for every t.
  • The convolution theorem: ℒ{f * g} = F(s)·G(s). Transform, multiply, use partial fractions, and transform back. No integral needed, and it is how LapCalc finds the exact answer.
  • Why engineers care: for a linear system with impulse response h(t), the output for an input x(t) is y = x * h. Convolution with a unit step gives the step response.

Worked examples

Type any of these into the calculator above to see every step. All are checked against the integral with SymPy.

f * g(f * g)(t), t ≥ 0
e^(−t) * e^(−2t)e^(−t) − e^(−2t)
t * sin tt − sin t
1 * e^(−3t)(1 − e^(−3t))/3
sin t * cos t(t sin t)/2
t * tt³/6
u(t − 1) * e^(−t)(1 − e^(−(t−1)))·u(t − 1)
pulse * same pulse (width 1)triangle: t − 2(t − 1)u(t − 1) + (t − 2)u(t − 2)
t·e^(−t) * e^(−t)t²e^(−t)/2

Common questions

What is convolution?

The convolution of two functions that start at t = 0 is (f * g)(t) = ∫₀ᵗ f(τ) g(t − τ) dτ. Flip g, slide it to time t, multiply it by f and add up the overlap. In a linear system, the output is the input convolved with the impulse response.

What is the convolution theorem?

The Laplace transform turns convolution into multiplication: ℒ{f * g} = F(s)·G(s). So instead of working out the integral, you can transform f and g, multiply, and transform the product back. LapCalc shows every step of that.

How does LapCalc check the result?

After finding the exact answer with the convolution theorem, LapCalc also works out the integral numerically at several values of t. The green "Checked against the integral" badge shows that they match. Results with impulses are not checked this way, because δ is not an ordinary function.

Can I use steps, pulses and impulses?

Yes. Write u(t-a) for a unit step at t = a, u(t) - u(t-1) for a pulse, and delta(t-a) for an impulse. The answer uses u(t − a) to show when each part switches on.

Is it free?

Yes. The result, every step and the flip-and-slide picture are free.

Learn more

Partial Fraction Calculator · ODE Solver with Laplace · Laplace Transform Calculator