Convolution of Functions and Sequences
- 22Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
22 questions
- 1In convolution, the second array is_____before sliding across the first.
Hint
Think about the dice example where one row was reversed.
Answer
flipped
- 2The n-th element of the convolution of sequences a and b is a sum of pairwise products over all pairs (i,j) such that_____.
Hint
Consider the indices from the two sequences.
Answer
i+j=n
- 3The convolution of the lists [1,2,3] and [4,5,6] gives the first term_____.
Hint
Start with the flipped second list all the way to the left.
Answer
4
- 4The convolution of the lists [1,2,3] and [4,5,6] gives the last term_____.
Hint
Slide until only the last element of the first list overlaps with the last of the flipped second.
Answer
18
- 5For two arrays of size n, the direct convolution algorithm requires O(_____) operations.
Hint
Think about filling in the multiplication table of pairwise products.
Answer
n2
- 6In the probability example, the probability of getting a sum s when rolling two dice is the sum of products of probabilities for each die where the sum of the faces is_____.
Hint
Consider all pairs (face1, face2) that add up to the desired sum.
Answer
s
- 7In a moving average convolution, the values in the kernel must sum to_____to preserve the overall scale of the data.
Hint
Think about the average of a constant signal.
Answer
1
- 8In image blurring with a 3×3 kernel of all 91, each output pixel is the_____of the 9 surrounding pixels.
Hint
Remember the moving average analogy.
Answer
average
- 9A Gaussian blur kernel gives more weight to the_____pixel compared to edge pixels.
Hint
Think about the shape of a bell curve.
Answer
central
- 10An edge detection kernel (e.g., Sobel) has a sum of_____so that uniform areas produce zero output.
Hint
Consider what happens when the kernel is on a constant patch.
Answer
zero
- 11A kernel with positive values on the left and negative on the right detects_____edges in an image.
Hint
The variation is from left to right.
Answer
vertical
- 12The smaller grid of values used in image processing convolutions is called a_____.
Hint
It is the filter that slides over the image.
Answer
kernel
- 13Convolving the coefficient lists of two polynomials gives the coefficient list of their_____.
Hint
Think about expanding (a0+a1x+…)(b0+b1x+…).
Answer
product
- 14When convolving two sequences of length n via the direct polynomial multiplication view, you must compute a_____grid of pairwise products.
Hint
Consider the number of terms in the expanded product.
Answer
n×n
- 15To use the FFT for convolution, first compute the DFT of each sequence, then_____the results pointwise, then compute the inverse DFT.
Hint
The key step mirrors polynomial multiplication via evaluation and interpolation.
Answer
multiply
- 16The FFT computes the discrete Fourier transform in O(_____) operations.
Hint
It is much faster than the naive O(n2).
Answer
nlogn
- 17The roots of unity are complex numbers that sit evenly spaced on the_____.
Hint
Think about complex numbers with absolute value 1.
Answer
unit circle
- 18Convolution of the digit sequences of two numbers is the core step in_____(the arithmetic operation).
Hint
Remember the standard multiplication algorithm.
Answer
multiplication
- 19In the dice example, flipping the second row aligns pairs of faces whose sum is a constant; for sum 7, the aligned pairs are_____.
Hint
All pairs that add to 7.
Answer
(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)
- 20If sequence a has length M and sequence b has length N, their convolution (full) has length_____.
Hint
Think about the number of diagonals in the multiplication table.
Answer
M+N−1
- 21In the image processing example, after convolution with an edge detection kernel, negative values are colored_____.
Hint
Observe the color scheme used in the description.
Answer
red
- 22The FFT algorithm exploits_____in the system of equations to reduce computations.
Hint
There are repeating patterns when evaluating at roots of unity.
Answer
redundancy

Ask anything
We've read this whole study set, so questions about it get the best answers.