1. Home
  2. Explore
  3. Computer Science
  4. Fast Fourier Transform

Study methods

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

Fast Fourier Transform

  • 62Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Polynomial Basics
A polynomial with n terms has a highest exponent, or degree, of
.

62 questions

  1. 1
    A polynomial with n terms has a highest exponent, or degree, of
    _____
    .
    Hint

    The constant term is counted as the first of the n terms.

    Answer

    n minus 1

    Explanation

    With exponents starting at zero, n terms run from the constant term through the term with exponent n minus 1.

  2. 2
    In coefficient notation, the coefficient of the term with exponent k is written
    _____
    .
    Hint

    It is the coefficient paired with the variable raised to the k-th power.

    Answer

    a_k

    Explanation

    A polynomial can be written as a sum of terms in which each coefficient a_k multiplies x to the power k.

  3. 3
    A one-dimensional data set of real-valued samples can be represented as a
    _____
    of coefficients.
    Hint

    It is an ordered sequence of values.

    Answer

    vector

    Explanation

    A sequence of real numbers, such as audio samples measured over time, can be represented by a vector and also interpreted as polynomial coefficients.

  4. 4
    To evaluate a polynomial at a specified value, substitute that value for the variable and
    _____
    the resulting terms.
    Hint

    The polynomial's terms each produce a number after substitution.

    Answer

    add

    Explanation

    Evaluation at a specified input means computing the terms at that input and adding their values.

  5. 5
    By reusing a computed power, each next power of the input can be found with one
    _____
    operation.
    Hint

    To advance from one exponent to the next, combine the previous power with the input.

    Answer

    multiplication

    Explanation

    Once a power of x is known, multiplying it by x produces the next power, allowing all needed powers to be computed in linear time.

  6. 6
    Horner's Rule rewrites a polynomial in nested form so its evaluation takes order n arithmetic
    _____
    .
    Hint

    The lecture counts additions and multiplications in its running-time model.

    Answer

    operations

    Explanation

    Horner's Rule performs a linear number of additions and multiplications by nesting the polynomial expression.

  7. 7
    In the lecture's arithmetic-operation model, adding or multiplying two real numbers takes
    _____
    time.
    Hint

    The model treats basic arithmetic on numbers as a single operation.

    Answer

    constant

    Explanation

    The running-time analysis assumes each addition or multiplication of two real numbers costs constant time.

  8. 8
    When two polynomials are added in coefficient form, each resulting coefficient is the sum of the
    _____
    coefficients.
    Hint

    Combine the coefficients that belong to the same exponent.

    Answer

    corresponding

    Explanation

    For every exponent, the coefficient in the sum is obtained by adding the two input coefficients at that same position.

  9. 9
    Adding two coefficient vectors of length n takes
    _____
    time.
    Hint

    Each pair of corresponding coefficients is processed once.

    Answer

    linear

    Explanation

    Polynomial addition requires one addition for each coefficient, so its running time is linear in the number of terms.

  10. 10
    A polynomial of degree n minus 1 is uniquely determined by its values at n
    _____
    x-coordinates.
    Hint

    Repeated input positions would not provide n separate constraints.

    Answer

    distinct

    Explanation

    A degree n minus 1 polynomial is uniquely determined by n samples when all the x-coordinates are distinct.

  11. 11
    A polynomial representation that records input-output pairs on the polynomial is called a
    _____
    representation.
    Hint

    It stores selected points rather than the polynomial's coefficients.

    Answer

    sample

    Explanation

    A sample representation records values of the polynomial at chosen, distinct input positions.

  12. 12
    In a sample representation, adding two polynomials at the same sample positions amounts to adding their
    _____
    at each position.
    Hint

    The sample outputs for the two polynomials can be combined directly.

    Answer

    values

    Explanation

    At every shared input position, the sum polynomial's value is the sum of the two input polynomials' values.

  13. 13
    In a sample representation, multiplying two polynomials at the same sample positions amounts to multiplying their
    _____
    at each position.
    Hint

    The product at a particular input can be computed from the two outputs there.

    Answer

    values

    Explanation

    At every shared input position, the product polynomial's value is the product of the two input polynomials' values.

  14. 14
    Recovering a polynomial from its values at sample positions is called polynomial
    _____
    .
    Hint

    This process goes from sample values back to a polynomial representation.

    Answer

    interpolation

    Explanation

    Polynomial interpolation constructs a polynomial from its values at chosen input positions; in general, the best known algorithms discussed take quadratic time.

  15. 15
    In coefficient form, polynomial evaluation at one input takes linear time, while adding two polynomials also takes
    _____
    time.
    Hint

    Both operations process a number of entries proportional to the number of coefficients.

    Answer

    linear

    Explanation

    Evaluation can use Horner's Rule, and addition combines corresponding coefficients, so each takes linear time in coefficient form.

  16. 16
    When a polynomial is represented by its roots, multiplying two polynomials can be done by
    _____
    their root lists.
    Hint

    The roots of the product are gathered from the roots of both factors.

    Answer

    concatenating

    Explanation

    The root representation makes multiplication easy because the product's root list consists of the roots from both polynomials, including multiplicities.

  17. 17
    For a polynomial of degree five or greater, roots cannot in general be computed using only the permitted arithmetic operations and radicals; the lecture describes this as
    _____
    time in that model.
    Hint

    The lecture contrasts this with the available formulas for degrees two, three, and four.

    Answer

    infinite

    Explanation

    There is no general quintic formula using the listed arithmetic operations and radicals, so converting coefficient form to roots is impossible in that model.

  18. 18
    A polynomial of degree n has exactly n roots when roots are counted with
    _____
    .
    Hint

    A repeated root contributes more than one occurrence to the count.

    Answer

    multiplicity

    Explanation

    The fundamental theorem of algebra gives n roots for a degree n polynomial when repeated roots are counted according to their multiplicities.

  19. 19
    The coefficient of exponent k in the product of two polynomials is found by summing products of coefficients whose exponents add to
    _____
    .
    Hint

    Each pair of terms contributes to the power obtained when their powers are multiplied.

    Answer

    k

    Explanation

    Multiplying a term of exponent j by a term of exponent k minus j produces a term of exponent k, so the coefficient is the sum of those products.

  20. 20
    Computing the coefficient of exponent k by the direct coefficient-summing method takes order
    _____
    time.
    Hint

    The sum includes one contribution for each eligible exponent up to k.

    Answer

    k

    Explanation

    The coefficient at exponent k is computed from a sum with a number of terms proportional to k.

  21. 21
    Computing all product coefficients directly by coefficient summation takes order
    _____
    time.
    Hint

    The total work adds up the costs of computing each coefficient.

    Answer

    n squared

    Explanation

    Summing the per-coefficient costs across the polynomial yields quadratic time for the naive multiplication algorithm.

  22. 22
    The goal of the fast polynomial multiplication algorithm is to reduce the running time to order
    _____
    .
    Hint

    This is the divide-and-conquer target, faster than quadratic time.

    Answer

    n log n

    Explanation

    The lecture develops a method for multiplying polynomials in order n log n arithmetic operations.

  23. 23
    In polynomial multiplication, pairs of terms contribute to the same resulting coefficient when their exponents
    _____
    to the target exponent.
    Hint

    The exponent rule for multiplying powers combines the exponents.

    Answer

    add

    Explanation

    Multiplying powers of the variable adds their exponents, which is why each product coefficient sums contributions from matching exponent pairs.

  24. 24
    The operation on vectors that computes dot products across all possible shifts is called
    _____
    .
    Hint

    It is closely related to multiplying polynomial coefficient vectors.

    Answer

    convolution

    Explanation

    Convolution takes one vector, shifts it through the other, and computes a dot product at each shift; polynomial multiplication yields the same coefficient-sum structure, with a reversal and boundary details.

  25. 25
    To compute one dot product in convolution, multiply corresponding positions and then
    _____
    the results.
    Hint

    This is the standard definition of a dot product.

    Answer

    add

    Explanation

    A dot product is formed by multiplying corresponding entries and summing those products.

  26. 26
    Convolution is used for operations such as audio processing and image smoothing, including a
    _____
    blur.
    Hint

    The lecture relates this filter to a bell-shaped function.

    Answer

    Gaussian

    Explanation

    A Gaussian blur is an image-processing example of convolution, and related convolution operations are used in audio and other signal-processing contexts.

  27. 27
    Convolution can be computed efficiently by converting the vectors into sample form, multiplying corresponding samples, and converting the result
    _____
    to coefficient form.
    Hint

    The fast method uses a representation change before and after pointwise multiplication.

    Answer

    back

    Explanation

    The algorithm transforms coefficient vectors to samples, multiplies the values pointwise, and then applies the inverse transformation to recover coefficients.

  28. 28
    The matrix whose row j and column k entry is the j-th sample position raised to the k-th power is the
    _____
    matrix.
    Hint

    It represents polynomial evaluation as a matrix-vector product.

    Answer

    Vandermonde

    Explanation

    The Vandermonde matrix encodes the powers of the sample positions, so multiplying it by the coefficient vector produces the sample values.

  29. 29
    Multiplying a Vandermonde matrix by a coefficient vector computes the polynomial's
    _____
    at the selected positions.
    Hint

    The output entries are the polynomial evaluated at each chosen input.

    Answer

    samples

    Explanation

    Each row of the Vandermonde matrix forms the dot product that evaluates the polynomial at one sample position.

  30. 30
    Without choosing special sample positions, computing all polynomial samples through the Vandermonde matrix takes order
    _____
    time.
    Hint

    The matrix has a quadratic number of entries, and the direct matrix-vector product is quadratic.

    Answer

    n squared

    Explanation

    The ordinary coefficient-to-sample conversion requires quadratic time when performed with the Vandermonde matrix directly.

  31. 31
    The divide-and-conquer method separates polynomial coefficients into the
    _____
    -indexed and odd-indexed entries.
    Hint

    The two groups alternate through the coefficient vector.

    Answer

    even

    Explanation

    The algorithm forms two smaller polynomials by splitting the coefficients according to whether their indices are even or odd.

  32. 32
    The even-coefficient polynomial can be evaluated using the original input raised to the power
    _____
    .
    Hint

    This converts powers indexed by twice an index into ordinary powers of the smaller polynomial.

    Answer

    two

    Explanation

    Substituting the square of the input into the even-coefficient polynomial produces the even-power terms of the original polynomial.

  33. 33
    After evaluating the odd-coefficient polynomial at the squared input, its contribution to the original polynomial is multiplied by the original input and then
    _____
    to the even contribution.
    Hint

    The original expression is the combination of its even and odd terms.

    Answer

    added

    Explanation

    The odd terms have one extra factor of the input, so the original polynomial equals the even part plus the input times the odd part, both evaluated at the squared input.

  34. 34
    The divide-and-conquer recurrence has two subproblems, each with half as many coefficients, and a nonrecursive cost of order
    _____
    when the number of requested positions is also n.
    Hint

    Splitting and combining each require work proportional to the input size in this case.

    Answer

    n

    Explanation

    The recurrence is two subproblems of size n over two plus linear work, which leads to order n log n when the sample set shrinks appropriately.

  35. 35
    For the recursion to achieve order n log n time, squaring the set of evaluation positions must reduce its size by a factor of
    _____
    at each level.
    Hint

    The two recursive calls each need a set half the size of the preceding one.

    Answer

    two

    Explanation

    When the squared evaluation set has half as many distinct values, both the coefficient count and the position-set size shrink together, giving the merge-sort-style recurrence.

  36. 36
    A set of evaluation positions is called collapsing when squaring its elements produces a set of half the size, with the same property holding
    _____
    .
    Hint

    The size reduction must continue through all levels, not occur only once.

    Answer

    recursively

    Explanation

    A collapsing set maintains the halving property at successive squaring steps until reaching the single-position base case.

  37. 37
    The complex numbers are needed because repeatedly taking square roots of roots of unity can produce values that are not
    _____
    .
    Hint

    The square root of negative one is an example.

    Answer

    real

    Explanation

    Repeated square roots of unity include values such as i, so the algorithm uses complex numbers rather than restricting itself to real numbers.

  38. 38
    In the complex plane, a complex number has a real part on the horizontal axis and an imaginary part on the
    _____
    axis.
    Hint

    It is the axis perpendicular to the real-number line.

    Answer

    vertical

    Explanation

    The complex plane represents the real part horizontally and the imaginary part vertically.

  39. 39
    The complex conjugate of a plus i times b is a minus i times
    _____
    .
    Hint

    Conjugation reflects the point across the real axis and changes the sign of the imaginary component.

    Answer

    b

    Explanation

    For a complex number with real part a and imaginary part b, its conjugate retains a and negates the imaginary part.

  40. 40
    The n-th roots of unity are complex numbers whose n-th power equals
    _____
    .
    Hint

    Unity is another word for this number.

    Answer

    one

    Explanation

    A root of unity is a number that becomes one when raised to the specified power.

  41. 41
    The n-th roots of unity are uniformly spaced around the complex
    _____
    circle.
    Hint

    Each point is at distance one from the origin.

    Answer

    unit

    Explanation

    The roots of unity lie evenly around the circle of radius one in the complex plane.

  42. 42
    Euler's formula expresses the trigonometric quantity cosine theta plus i sine theta as e raised to i times
    _____
    .
    Hint

    It is the angle that determines the point's position on the unit circle.

    Answer

    theta

    Explanation

    Euler's formula states that e to the i theta equals cosine theta plus i sine theta.

  43. 43
    Squaring a point on the complex unit circle doubles its angle relative to the
    _____
    axis.
    Hint

    The angle is measured from the real-number direction in the complex plane.

    Answer

    x

    Explanation

    By Euler's formula, squaring e to the i theta gives e to the i times two theta, which doubles the angle on the circle.

  44. 44
    Angles that differ by a whole number of turns describe the same point on the circle because e raised to i times tau equals
    _____
    .
    Hint

    A complete revolution returns to the starting point.

    Answer

    one

    Explanation

    Since e to the i tau equals one, adding a multiple of tau to an angle does not change the corresponding complex number.

  45. 45
    When n is a power of two, squaring the n-th roots of unity maps them to the roots of unity for a set of size
    _____
    .
    Hint

    Squaring doubles angles, so pairs of points map to the same resulting point.

    Answer

    n over two

    Explanation

    For powers of two, the roots of unity form a collapsing set: squaring maps the n points onto the n over two roots of unity.

  46. 46
    Choosing the n-th roots of unity as evaluation positions makes the divide-and-conquer transform run in order
    _____
    time.
    Hint

    The collapsing property gives the recurrence with two half-size subproblems.

    Answer

    n log n

    Explanation

    Because repeated squaring halves the number of distinct positions, the recurrence has two subproblems of half the coefficient size plus linear work, yielding order n log n time.

  47. 47
    The mathematical transformation from coefficients to values at the chosen roots of unity is the discrete Fourier
    _____
    .
    Hint

    Its algorithmic implementation is the fast version of this transformation.

    Answer

    transform

    Explanation

    The discrete Fourier transform is the mathematical mapping from a coefficient vector to its values at roots of unity.

  48. 48
    The fast Fourier transform is an
    _____
    for computing the discrete Fourier transform efficiently.
    Hint

    The word fast refers to the method used to calculate the transformation.

    Answer

    algorithm

    Explanation

    The FFT is a divide-and-conquer algorithm that computes the DFT in order n log n time.

  49. 49
    In matrix form, the discrete Fourier transform uses entries built from powers of e raised to i times the product of the row and column indices and tau divided by
    _____
    .
    Hint

    This value is the number of sample positions around the unit circle.

    Answer

    n

    Explanation

    The Vandermonde matrix for the chosen roots of unity has entries of the form e to the i times the row index times the column index times tau over n.

  50. 50
    To multiply polynomials using FFT, transform both coefficient vectors, multiply corresponding transformed values, and then apply the
    _____
    FFT.
    Hint

    This final step returns the result to coefficient form.

    Answer

    inverse

    Explanation

    The inverse FFT converts the pointwise product in sample form back into the coefficients of the product polynomial.

  51. 51
    The inverse of the Fourier matrix is its complex conjugate divided by
    _____
    .
    Hint

    The normalization uses the transform's number of positions.

    Answer

    n

    Explanation

    For the Fourier matrix in the lecture, multiplying by its complex-conjugate matrix gives n times the identity, so the inverse is the conjugate matrix divided by n.

  52. 52
    The inverse FFT can use the same transform algorithm after changing the sign of the exponent and dividing the result by
    _____
    .
    Hint

    This is the normalization factor in the inverse matrix.

    Answer

    n

    Explanation

    Using the negated exponent gives the conjugate Fourier matrix; dividing the resulting vector by n produces the inverse transform.

  53. 53
    In the Fourier-matrix product, diagonal entries equal n because they sum n copies of the value
    _____
    .
    Hint

    On the diagonal, the exponent in each summand becomes zero.

    Answer

    one

    Explanation

    When the row and column indices match, each term is e to the zero, which equals one, and there are n such terms.

  54. 54
    Off the diagonal, the relevant matrix-product sum is a finite
    _____
    series whose terms cancel to zero.
    Hint

    Each successive term is obtained by multiplying by a fixed ratio.

    Answer

    geometric

    Explanation

    For unequal row and column indices, the sum is a geometric series; its numerator becomes zero because the relevant power of e to the i tau equals one.

  55. 55
    In audio analysis, the original sequence of microphone measurements is in the
    _____
    domain.
    Hint

    Its positions correspond to when the samples were recorded.

    Answer

    time

    Explanation

    The time-domain signal records the microphone membrane's movement at successive sampling times.

  56. 56
    After Fourier transformation, vector positions correspond to
    _____
    rather than time.
    Hint

    The transformed representation describes the signal's oscillatory components.

    Answer

    frequency

    Explanation

    The Fourier transform changes a time-based signal into a representation indexed by frequency.

  57. 57
    In the frequency representation, the magnitude of a complex entry indicates how much of that
    _____
    is present.
    Hint

    Magnitude measures the size of the component at a particular frequency.

    Answer

    frequency

    Explanation

    The magnitude of the complex value represents the amount of the corresponding frequency component in the signal.

  58. 58
    In the frequency representation, the angle of a complex entry indicates how the corresponding trigonometric component is shifted in
    _____
    .
    Hint

    It describes the component's phase offset relative to the signal.

    Answer

    time

    Explanation

    The angle, or phase, specifies the time shift of the trigonometric function associated with that frequency.

  59. 59
    A high-pass filter removes the
    _____
    frequencies from a signal.
    Hint

    Its name identifies the range that it removes.

    Answer

    high

    Explanation

    A high-pass filter suppresses high-frequency components, while a low-pass filter suppresses low-frequency components.

  60. 60
    A pure tone appears in frequency space with nonzero content at its single present frequency and zeros at
    _____
    frequencies.
    Hint

    A pure tone consists of one frequency component.

    Answer

    other

    Explanation

    A pure sine-like tone concentrates its Fourier representation at the frequency it contains, with no components at the other frequencies.

  61. 61
    To filter selected frequency components, transform the signal, set unwanted components to zero, and transform
    _____
    to the time domain.
    Hint

    The inverse transformation recovers a time-based signal after editing its frequency representation.

    Answer

    back

    Explanation

    Frequency-domain filtering modifies the transformed vector and then uses the inverse Fourier transform to return to the time domain.

  62. 62
    A practical FFT software implementation mentioned in the lecture is called
    _____
    .
    Hint

    Its name expands to the fastest Fourier transform in the west.

    Answer

    FFTW

    Explanation

    FFTW is a fast Fourier transform implementation used in software; FFT methods are also used in applications such as MP3 encoding and noise-cancelling headsets.

1 of 62
Question 1 of 62

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent