1. Home
  2. Explore
  3. Mathematics
  4. Convolution of Functions and Sequences

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Convolution of Functions and Sequences

  • 22Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Convolution Basics
In convolution, the second array is
before sliding across the first.

22 questions

  1. 1
    In convolution, the second array is
    _____
    before sliding across the first.
    Hint

    Think about the dice example where one row was reversed.

    Answer

    flipped

  2. 2
    The nnn-th element of the convolution of sequences aaa and bbb is a sum of pairwise products over all pairs (i,j)(i, j)(i,j) such that
    _____
    .
    Hint

    Consider the indices from the two sequences.

    Answer

    i+j=ni+j=ni+j=n

  3. 3
    The convolution of the lists [1,2,3][1,2,3][1,2,3] and [4,5,6][4,5,6][4,5,6] gives the first term
    _____
    .
    Hint

    Start with the flipped second list all the way to the left.

    Answer

    4

  4. 4
    The convolution of the lists [1,2,3][1,2,3][1,2,3] and [4,5,6][4,5,6][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

  5. 5
    For two arrays of size nnn, the direct convolution algorithm requires OOO(
    _____
    ) operations.
    Hint

    Think about filling in the multiplication table of pairwise products.

    Answer

    n2n^2n2

  6. 6
    In the probability example, the probability of getting a sum sss 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

  7. 7
    In 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

  8. 8
    In image blurring with a 3×33 \times 33×3 kernel of all 19\frac{1}{9}91​, each output pixel is the
    _____
    of the 9 surrounding pixels.
    Hint

    Remember the moving average analogy.

    Answer

    average

  9. 9
    A Gaussian blur kernel gives more weight to the
    _____
    pixel compared to edge pixels.
    Hint

    Think about the shape of a bell curve.

    Answer

    central

  10. 10
    An 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

  11. 11
    A 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

  12. 12
    The smaller grid of values used in image processing convolutions is called a
    _____
    .
    Hint

    It is the filter that slides over the image.

    Answer

    kernel

  13. 13
    Convolving the coefficient lists of two polynomials gives the coefficient list of their
    _____
    .
    Hint

    Think about expanding (a0+a1x+… )(b0+b1x+… )(a_0 + a_1 x + \dots)(b_0 + b_1 x + \dots)(a0​+a1​x+…)(b0​+b1​x+…).

    Answer

    product

  14. 14
    When convolving two sequences of length nnn 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×nn \times nn×n

  15. 15
    To 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

  16. 16
    The FFT computes the discrete Fourier transform in OOO(
    _____
    ) operations.
    Hint

    It is much faster than the naive O(n2)O(n^2)O(n2).

    Answer

    nlog⁡nn \log nnlogn

  17. 17
    The roots of unity are complex numbers that sit evenly spaced on the
    _____
    .
    Hint

    Think about complex numbers with absolute value 1.

    Answer

    unit circle

  18. 18
    Convolution of the digit sequences of two numbers is the core step in
    _____
    (the arithmetic operation).
    Hint

    Remember the standard multiplication algorithm.

    Answer

    multiplication

  19. 19
    In 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)(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)

  20. 20
    If sequence aaa has length MMM and sequence bbb has length NNN, their convolution (full) has length
    _____
    .
    Hint

    Think about the number of diagonals in the multiplication table.

    Answer

    M+N−1M+N-1M+N−1

  21. 21
    In 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

  22. 22
    The FFT algorithm exploits
    _____
    in the system of equations to reduce computations.
    Hint

    There are repeating patterns when evaluating at roots of unity.

    Answer

    redundancy

1 of 22
Question 1 of 22

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent