IAE Academy

FOUNDATION · CHAPTER 4 OF 8

Convolution, slowly

This chapter works convolution out by hand: flip and slide with every interval written down, discrete convolution as polynomial multiplication, and the three laws read as cascaded and parallel systems. An engineer needs it because an LTI system's output is its input convolved with its impulse response.

Updated 12 Oct 2026

What you will be able to do

You will compute the convolution of two short sequences by hand and as a polynomial product. You will predict the length and the support of the result before you start. You will carry out flip-and-slide for two pulses with every interval written out. You will read the three laws of convolution as statements about cascaded and parallel systems, and get the step response as a running sum.

Before you start

  1. Chapter 3, What a system is, and why linear and time-invariant matter

  2. Sums with a variable upper limit and the geometric series

  3. Definite integrals of a constant over an interval, and a change of index in a sum

  4. Multiplying two polynomials term by term

Convolution of sequences, by hand

Chapter 3 showed that an LTI system with impulse response turns an input into a sum of shifted copies of , one per input sample, each scaled by that sample. Written out for one output instant, that is a sum over the input index. Here means convolution, and discrete time uses square brackets.

DISCRETE CONVOLUTION

Holds for each integer at which the sum converges; with finitely many nonzero samples it always does. is the input sample at index . is flipped (the index runs backwards) and slid so that its origin sits at . carries the unit of times the unit of .

For sequences with a handful of nonzero samples there is a faster route. Give each sequence a placeholder and write it as a polynomial whose coefficient of is the sample at index (a negative index gives a negative power). Multiplying two polynomials collects, in the coefficient of , every product with . That is exactly the sum above.

CONVOLUTION AS POLYNOMIAL MULTIPLICATION

Holds for sequences with finitely many nonzero samples, so every sum is finite; negative indices give negative powers of . The coefficient of on the right is because the powers add: . is only a bookkeeping symbol.

LENGTH AND SUPPORT OF THE RESULT

Holds for sequences of finite length. By the polynomial rule, the lowest power of in the product is and the highest is : samples, with , . The end samples are and ; interior samples can still be zero.

WORKED EXAMPLE

Let for and zero elsewhere, and let for and zero elsewhere. Find .

Solution
  1. Support first. lives on (3 samples) and on (2 samples), so lives on , which is samples.

  2. Write the polynomials: and . Each sample becomes the coefficient of the power of that matches its index.

  3. Multiply 's polynomial by each term of in turn. By : . By : . There is one row per term of .

  4. Add like powers: . So .

  5. Check one value with the sum: . It matches.

  6. Check the totals: setting in the product shows . Here and .

Answer: for and zero elsewhere.

Flip and slide for continuous time

In continuous time the sum becomes an integral and the dummy index becomes . Continuous time uses round brackets, . The picture is the same. Flip about , shift it right by , multiply it with point by point, and take the area of the product. The answer at time is that area. The work is in finding, for each , where the two shapes overlap.

CONTINUOUS CONVOLUTION

Holds for each at which the integral converges. is the integration variable, in seconds like . If is nonzero only for , then , its flipped copy shifted right by , is nonzero only for . carries the unit of times that of times seconds.

  1. Write the support of and, in terms of , the support of .

  2. Slide from . Find the value of at which the two supports first touch. Before it, .

  3. Each time an edge of the sliding shape passes an edge of the fixed shape, a new interval begins. For shapes made of pieces, a point where the formula changes counts as an edge. Write down every such value of .

  4. On each interval write the limits of the integral as the overlap, and integrate.

  5. After the last overlap ends, again. So is zero outside the range from the sum of the left edges to the sum of the right edges.

WATCH OUT FOR

Confusion: sliding , which is not flipped, instead of . Test: at the sliding shape must be , the mirror image of .

WORKED EXAMPLE

Let for and zero elsewhere, and let for and zero elsewhere, with in seconds and , dimensionless. Find on every interval.

Solution
  1. is on . is when , that is on . So the product is only where these two ranges overlap, and elsewhere.

  2. The supports first touch at and last touch at . These are the sums of the left edges () and of the right edges (). So for and for .

  3. For the sliding window has its left edge below , so the overlap is . Then , in seconds.

  4. For the window's right edge is beyond , so the overlap is . Then , in seconds.

  5. Check at : both formulas give s, so has no jump there. This is the peak, where the window covers the whole pulse: area s.

Answer: for ; for ; for ; for ( in seconds). It is a triangle of height 1 s and base 2 s.

The three laws as systems, and the step response

The algebra of convolution is the algebra of connecting systems. Each law below is a fact about LTI boxes with impulse responses and . Each holds for sequences with finitely many nonzero samples. For longer sequences it holds whenever every sum involved stays finite when each term is replaced by its absolute value. The continuous versions follow the same steps with integrals.

COMMUTATIVE LAW

Substitute in . As runs over all integers so does , giving . Reading: input to a system gives the same output as input to a system . So you may flip and slide either signal: flip the simpler one.

ASSOCIATIVE LAW AND THE CASCADE

For finite sequences it follows from the polynomial rule: a product of three polynomials does not depend on the grouping. Reading: through and then equals through one LTI system with . Since , swapping the two stages leaves the output unchanged.

DISTRIBUTIVE LAW AND THE PARALLEL PAIR

Distribute and split the sum in two. Reading: two LTI systems fed the same input, with their outputs added, act as one system with . In series the impulse responses convolve; in parallel they add.

Now feed the unit step , which is for and for . By the commutative law the output is . The factor is exactly when and otherwise. So the sum keeps every up to index and drops the rest.

STEP RESPONSE AS A RUNNING SUM

Holds for each at which the sum converges; when for it runs from to , a finite sum. is the output for input . Subtracting from leaves the single term . In continuous time the same steps give where it converges.

WATCH OUT FOR

Confusion: swapping stages when one is not LTI. The swap rests on , so it is guaranteed only when both stages are LTI. Test: one short input that gives different outputs in the two orders shows the swap fails.

WORKED EXAMPLE

A moving average has for and zero elsewhere. Find its step response for all .

Solution
  1. Use . This is valid because exactly when .

  2. For no nonzero has , so .

  3. For the sum contains only: .

  4. For the sum contains both and : . No further samples of exist to add.

  5. Recover from as a check: , , . This is the original .

Answer: for , and for .

Check yourself

CHECK YOURSELF 1

A sequence is zero outside , with and nonzero. A sequence is zero outside , with and nonzero. What are the first and last indices at which is nonzero?

  1. (A)

    and

  2. (B)

    and

  3. (C)

    and

  4. (D)

    and

Answer and solution

Answer: (A)

  1. is zero outside the sums of the end indices: and .

  2. and are products of nonzero samples, so both are nonzero.

  3. Check the count: samples, and to has samples.

CHECK YOURSELF 2

Let and , each for and zero elsewhere. Find where .

Answer and solution

Answer: (accepted range )

  1. Use with .

  2. .

  3. .

  4. . The total is .

CHECK YOURSELF 3One or more options are correct

Two LTI systems have impulse responses and , each with finitely many nonzero samples. Which statements are true?

  1. (A)

    Connected in cascade, they act as one LTI system with impulse response .

  2. (B)

    In a cascade, swapping the order of the two systems changes the output for some inputs.

  3. (C)

    Fed the same input with their outputs added, they act as one LTI system with impulse response .

  4. (D)

    Fed the same input with their outputs added, they act as one LTI system with impulse response .

Answer and solution

Answer: (A), (C)

  1. A is true by the associative law: .

  2. B is false: , so for two LTI stages the order does not matter.

  3. C is true by the distributive law: , which also makes D false.

CHECK YOURSELF 4

Let for and zero elsewhere, and for and zero elsewhere, with in seconds and , dimensionless. Find at s, in seconds, where .

Answer and solution

Answer: (accepted range )

  1. , and when .

  2. At s that window is . The signal is only for .

  3. The overlap is , a width of s. So s.

Used in these GATE topics