Fast Fourier Transform
- 50Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
A polynomial is written with n coefficients, from the constant term through the term in xn−1. What is its maximum possible degree?
A polynomial is written with n coefficients, from the constant term through the term in xn−1. What is its maximum possible degree?
50 questions
- 1
A polynomial is written with n coefficients, from the constant term through the term in xn−1. What is its maximum possible degree?
- A
n2
- B
n
- C
n−1
- D
2n−1
Correct answer
Cn−1
Explanation
With n terms indexed from 0 through n−1, the highest possible exponent is n−1.
- A
- 2
Why can a sampled audio waveform be treated as a coefficient vector for a polynomial?
- A
Both must describe a curve with exactly n roots.
- B
Both can only contain complex-valued entries.
- C
Both require the values to be sampled at equally spaced frequencies.
- D
Both can be represented as an ordered sequence of numbers.
Correct answer
DBoth can be represented as an ordered sequence of numbers.
Explanation
A coefficient vector and a sampled one-dimensional signal are both ordered sequences of values; the polynomial variable need not have direct physical meaning for this representation.
- A
- 3
When evaluating a polynomial at a fixed value, why is it more efficient to calculate successive powers rather than calculate each power independently?
- A
All powers can be obtained by adding the coefficients together.
- B
Independent power calculations require no arithmetic operations.
- C
The powers become equal after the first multiplication.
- D
Each next power can be obtained by one multiplication using the previous power.
Correct answer
DEach next power can be obtained by one multiplication using the previous power.
Explanation
After computing a power such as xk, compute xk+1 by multiplying it once by x. This lets all needed powers be generated in linear time.
- A
- 4
What is the key computational benefit of Horner's Rule for evaluating a polynomial?
- A
It converts any polynomial into a sample representation in constant time.
- B
It avoids all multiplications by using only additions.
- C
It finds every root of the polynomial in a linear number of operations.
- D
It evaluates the polynomial using a linear number of additions and multiplications.
Correct answer
DIt evaluates the polynomial using a linear number of additions and multiplications.
Explanation
Horner's Rule rewrites the polynomial in nested form, performing only a constant amount of arithmetic per coefficient, for an overall linear number of operations.
- A
- 5
If c(x)=a(x)+b(x) and both polynomials are given by their coefficients, how is each coefficient of c computed?
- A
By adding every coefficient of a to every coefficient of b.
- B
By multiplying the coefficients with the same exponent.
- C
By concatenating the coefficient lists.
- D
By adding the coefficients with the same exponent.
Correct answer
DBy adding the coefficients with the same exponent.
Explanation
For each exponent k, the coefficient is ck=ak+bk, so polynomial addition takes linear time.
- A
- 6
Why does multiplying polynomials require more than multiplying corresponding coefficients?
- A
A coefficient of the product can receive contributions from several pairs of input coefficients.
- B
The product has no coefficients until its roots are calculated.
- C
Polynomial multiplication is defined only for sample representations.
- D
Corresponding coefficients always have different exponents after multiplication.
Correct answer
AA coefficient of the product can receive contributions from several pairs of input coefficients.
Explanation
Terms with exponents that sum to the same value combine. For example, the coefficient of xk is ck=∑j=0kajbk−j.
- A
- 7
What is the time cost of the direct coefficient-by-coefficient convolution method for multiplying two polynomials with about n terms?
- A
O(1)
- B
O(nlogn)
- C
O(n)
- D
O(n2)
Correct answer
DO(n2)
Explanation
Computing coefficient ck takes a number of operations proportional to k; doing this for all coefficients gives quadratic time overall.
- A
- 8
In the vector interpretation of convolution, what is computed for each shift of one input vector?
- A
The coefficientwise difference between the vectors.
- B
The dot product of one vector with the shifted other vector.
- C
The roots of the polynomial represented by each vector.
- D
The sum of the two vector lengths multiplied together.
Correct answer
BThe dot product of one vector with the shifted other vector.
Explanation
Convolution computes a dot product for each possible relative shift of the vectors, which appears to require quadratic work if done directly.
- A
- 9
How is polynomial multiplication related to convolution of coefficient vectors?
- A
The product coefficients are formed from sums of pairwise coefficient products whose indices add to the output index.
- B
The product coefficients are obtained by sorting the two input vectors.
- C
The product coefficients are the roots of the two input polynomials combined.
- D
The product coefficients are the pairwise differences of input coefficients.
Correct answer
AThe product coefficients are formed from sums of pairwise coefficient products whose indices add to the output index.
Explanation
The product coefficient at index k is ck=∑j=0kajbk−j, the same index-combination pattern as convolution.
- A
- 10
Why does the convolution description require reversing one vector compared with the product coefficient formula?
- A
Reversal reduces the number of shifts to one.
- B
Reversal converts real entries into complex entries.
- C
Reversal makes all vector entries equal.
- D
Reversal changes the index relationship from a difference to a sum.
Correct answer
DReversal changes the index relationship from a difference to a sum.
Explanation
The product formula uses indices such as k−j, while the usual shifted-dot-product description can be expressed with summed indices after reversing one vector.
- A
- 11
What is the algorithmic significance of computing all shifts in a convolution using the fast Fourier transform?
- A
It removes the need to calculate any products of entries.
- B
It reduces the computation from quadratic time to O(nlogn) time.
- C
It makes the computation constant time regardless of vector length.
- D
It computes only the unshifted dot product.
Correct answer
BIt reduces the computation from quadratic time to O(nlogn) time.
Explanation
FFT-based methods compute the full convolution in O(nlogn) time rather than the direct method's quadratic time.
- A
- 12
Which example best describes convolution as a smoothing operation on a signal?
- A
Taking dot products with shifted copies of a Gaussian-shaped sequence.
- B
Sorting the signal values from smallest to largest.
- C
Finding the polynomial roots associated with each sample.
- D
Replacing every sample with the signal's largest value.
Correct answer
ATaking dot products with shifted copies of a Gaussian-shaped sequence.
Explanation
A Gaussian smoothing operation applies a shifted Gaussian kernel across the signal; each output combines the signal with a shifted copy of that kernel.
- A
- 13
How can a two-dimensional image operation such as Gaussian blur be related to convolution?
- A
Gaussian blur is performed by finding the image polynomial's roots.
- B
A two-dimensional image and blur kernel can be processed through a two-dimensional convolution.
- C
Image convolution requires every pixel to be replaced by its Fourier frequency.
- D
A two-dimensional image cannot be represented as a sequence of values.
Correct answer
BA two-dimensional image and blur kernel can be processed through a two-dimensional convolution.
Explanation
Gaussian blur is an example of convolution applied to image data with a two-dimensional Gaussian kernel.
- A
- 14
How many distinct sample points are sufficient to uniquely determine a polynomial of degree at most n−1?
- A
n distinct points
- B
One point, regardless of degree
- C
2n identical points
- D
n−1 distinct points
Correct answer
An distinct points
Explanation
A degree-at-most-n−1 polynomial is uniquely determined by its values at n distinct input points.
- A
- 15
What is the role of requiring the sample locations xk to be distinct?
- A
It makes the polynomial degree equal to the number of roots.
- B
It eliminates the need to know the sample values.
- C
It ensures that every sample value is zero.
- D
It ensures that the samples provide enough different constraints to determine one polynomial.
Correct answer
DIt ensures that the samples provide enough different constraints to determine one polynomial.
Explanation
Distinct sample locations make the n values independent interpolation constraints for a polynomial of degree at most n−1.
- A
- 16
What information does a polynomial's coefficient-vector representation store?
- A
The value of the polynomial only at its roots.
- B
The slope of the polynomial at each real input.
- C
The coefficient of each power of the variable.
- D
The locations and multiplicities of all roots.
Correct answer
CThe coefficient of each power of the variable.
Explanation
The coefficient representation lists values such as a0,a1,…,an−1 for the corresponding powers of x.
- A
- 17
What additional information is needed to describe a polynomial using its roots?
- A
A constant multiplier in addition to the roots.
- B
The derivative at every root.
- C
A separate sample location for every coefficient.
- D
The polynomial's value at every real number.
Correct answer
AA constant multiplier in addition to the roots.
Explanation
A polynomial can be written as a constant multiplier times factors such as (x−r0)(x−r1)⋯.
- A
- 18
Why is polynomial multiplication straightforward in a root representation?
- A
The roots of the product are the averages of the input roots.
- B
The coefficients of the product equal the concatenated root lists.
- C
The roots of the product are the roots of both factors combined, including multiplicity.
- D
Multiplication deletes all roots shared by the two factors.
Correct answer
CThe roots of the product are the roots of both factors combined, including multiplicity.
Explanation
Multiplying factored polynomials combines their factors, so the product's root list is the two root lists combined, with multiplicities retained.
- A
- 19
Why is root representation not a generally useful way to convert an arbitrary polynomial into a form suitable for computation?
- A
Root lists do not uniquely determine a polynomial, even with a multiplier.
- B
A polynomial can never have complex roots.
- C
Finding roots of degree-five-or-higher polynomials cannot generally be done using only arithmetic and radicals.
- D
Root representations cannot be used to evaluate a polynomial.
Correct answer
CFinding roots of degree-five-or-higher polynomials cannot generally be done using only arithmetic and radicals.
Explanation
The lecture notes that no general formula using arithmetic operations and radicals solves all degree-five-or-higher polynomials, making conversion to roots unsuitable in this model.
- A
- 20
What is the main advantage of representing a polynomial by samples when adding or multiplying two polynomials?
- A
The sample representation avoids requiring sample locations.
- B
The sample representation makes arbitrary polynomial evaluation constant time.
- C
The sample representation makes the roots of the result immediate.
- D
At shared sample locations, the result's values are obtained by adding or multiplying corresponding sample values.
Correct answer
DAt shared sample locations, the result's values are obtained by adding or multiplying corresponding sample values.
Explanation
If both polynomials are sampled at the same locations, their sum or product at each location is obtained directly from the corresponding values.
- A
- 21
What is the main drawback of the sample representation when evaluating a polynomial at a new, arbitrary location?
- A
The polynomial cannot be evaluated at complex locations.
- B
The new location must equal every existing sample location.
- C
The polynomial must be interpolated or otherwise reconstructed from the samples.
- D
The sample values must first be converted into roots.
Correct answer
CThe polynomial must be interpolated or otherwise reconstructed from the samples.
Explanation
A sample representation gives values only at its specified locations; evaluating elsewhere requires interpolation, which is generally quadratic by the methods described.
- A
- 22
What matrix maps polynomial coefficients to values at selected sample locations?
- A
The identity matrix
- B
The Vandermonde matrix
- C
The adjacency matrix
- D
The diagonal matrix of roots
Correct answer
BThe Vandermonde matrix
Explanation
The Vandermonde matrix has entries Vjk=xjk and maps the coefficient vector to the vector of polynomial values at the locations xj.
- A
- 23
Why does direct multiplication by a general Vandermonde matrix take quadratic time?
- A
It has a quadratic number of entries, and the matrix-vector product uses them across the rows.
- B
It has exponentially many rows for n samples.
- C
It requires solving for all polynomial roots first.
- D
It requires a cubic-time matrix inverse for every output value.
Correct answer
AIt has a quadratic number of entries, and the matrix-vector product uses them across the rows.
Explanation
An n-by-n Vandermonde matrix contains n2 entries, and a general matrix-vector product with it takes quadratic time.
- A
- 24
What does the fast Fourier transform compute when applied to a coefficient vector?
- A
The polynomial's complete list of roots.
- B
The coefficient vector sorted by magnitude.
- C
The polynomial's values at a carefully chosen set of sample points.
- D
The derivative at each coefficient index.
Correct answer
CThe polynomial's values at a carefully chosen set of sample points.
Explanation
The FFT efficiently converts a coefficient representation into sample values at roots of unity, which is the discrete Fourier transform.
- A
- 25
How does the divide step of the FFT polynomial-evaluation algorithm split the coefficients?
- A
Into coefficients above and below the polynomial's average value.
- B
Into the first and second halves of the sample locations only.
- C
Into coefficients with positive and negative values.
- D
Into the even-indexed coefficients and the odd-indexed coefficients.
Correct answer
DInto the even-indexed coefficients and the odd-indexed coefficients.
Explanation
The algorithm forms two smaller polynomials from the even-indexed and odd-indexed coefficients.
- A
- 26
If the even-indexed coefficients form aeven and the odd-indexed coefficients form aodd, how can the original polynomial be expressed?
- A
a(x)=aeven(x2)−xaodd(x)
- B
a(x)=x2aeven(x)+aodd(x)
- C
a(x)=aeven(x)+aodd(x)
- D
a(x)=aeven(x2)+xaodd(x2)
Correct answer
Da(x)=aeven(x2)+xaodd(x2)
Explanation
Even powers are obtained by substituting x2 into the even-coefficient polynomial; odd powers are obtained from the odd-coefficient polynomial with an additional factor of x.
- A
- 27
Why are the recursive calls in the FFT evaluation algorithm made at squared sample locations?
- A
The polynomial can only be evaluated at squared real numbers.
- B
Squaring turns every coefficient into a root.
- C
Squaring each location doubles the number of coefficients.
- D
Substituting x2 makes powers in the smaller polynomials match the even and odd powers of the original.
Correct answer
DSubstituting x2 makes powers in the smaller polynomials match the even and odd powers of the original.
Explanation
The identity x2k=(x2)k lets each smaller polynomial represent the even- or odd-indexed terms of the original polynomial.
- A
- 28
For the recursive evaluation algorithm, why does the set of sample locations need to shrink by half after squaring?
- A
It ensures that the degree of the polynomial doubles at every recursive call.
- B
It makes coefficient addition require no operations.
- C
It allows the algorithm to avoid combining the two recursive results.
- D
It keeps the recursive work proportional to the subproblem size, enabling an O(nlogn) recurrence.
Correct answer
DIt keeps the recursive work proportional to the subproblem size, enabling an O(nlogn) recurrence.
Explanation
With two half-size subproblems and a halved sample set at each level, the recurrence becomes T(n)=2T(n/2)+O(n), which is O(nlogn).
- A
- 29
What goes wrong in the recursion if the sample set stays size n while the coefficient count is repeatedly halved?
- A
The recursion has only one branch and becomes constant time.
- B
The sample set becomes empty after one squaring.
- C
The polynomial degree increases at every level.
- D
The per-level work remains proportional to n, producing quadratic total work.
Correct answer
DThe per-level work remains proportional to n, producing quadratic total work.
Explanation
If the sample count does not shrink, each of about logn levels has about n work at each of an increasing number of nodes, resulting in quadratic work.
- A
- 30
Which property of the selected sample set makes the divide-and-conquer recursion efficient?
- A
Its elements are all roots of the input polynomial.
- B
Adding its elements gives the original set back.
- C
Squaring its elements collapses the set to half as many distinct elements, recursively.
- D
Every element is a real number greater than one.
Correct answer
CSquaring its elements collapses the set to half as many distinct elements, recursively.
Explanation
A collapsing set satisfies that its squared values form a set half as large, and that this property continues recursively.
- A
- 31
If the desired number of samples is not a power of two, what adjustment does the described FFT approach use?
- A
Discard samples until the size is one.
- B
Pad the problem to the next power of two, increasing the size by at most a constant factor.
- C
Repeat each coefficient until the size is a power of three.
- D
Replace the polynomial with its root list.
Correct answer
BPad the problem to the next power of two, increasing the size by at most a constant factor.
Explanation
The divide-and-conquer construction is simplest for powers of two; rounding up to the next power of two increases the size by at most a factor of two.
- A
- 32
What is a root of unity?
- A
A complex number whose positive integer power equals 1.
- B
A coefficient that appears in every polynomial.
- C
A real number whose square equals 0.
- D
A sample point at which every polynomial evaluates to 1.
Correct answer
AA complex number whose positive integer power equals 1.
Explanation
An n-th root of unity is a complex number whose n-th power is 1.
- A
- 33
Where do the n-th roots of unity lie in the complex plane?
- A
At points whose distance from the origin increases with their index.
- B
At equally spaced points on the real axis only.
- C
At equally spaced points on the unit circle.
- D
At the vertices of a square centered at 1.
Correct answer
CAt equally spaced points on the unit circle.
Explanation
The n-th roots of unity are uniformly spaced around the complex unit circle.
- A
- 34
Which expression describes the n-th roots of unity using the circle angle τ=2π?
- A
eiknτ for integers k from 0 to n−1
- B
kτ/n for integers k from 1 to n
- C
eikτ/n for integers k from 0 to n−1
- D
eiτ/(kn) for integers k from 0 to n−1
Correct answer
Ceikτ/n for integers k from 0 to n−1
Explanation
The points eikτ/n have angles spaced by τ/n and cover the circle once for k=0,…,n−1.
- A
- 35
According to Euler's formula, what is eiθ?
- A
sinθ+icosθ
- B
θ+iθ
- C
cosθ+isinθ
- D
cosθ−icosθ
Correct answer
Ccosθ+isinθ
Explanation
Euler's formula states eiθ=cosθ+isinθ, connecting complex exponentials to points on the unit circle.
- A
- 36
What geometric effect does squaring a point on the unit circle have?
- A
It reflects the point across the real axis.
- B
It doubles the point's angle from the positive real axis.
- C
It moves the point to the center of the circle.
- D
It doubles the point's distance from the origin.
Correct answer
BIt doubles the point's angle from the positive real axis.
Explanation
If a unit-circle point is eiθ, its square is ei2θ, so its angle doubles while its magnitude remains one.
- A
- 37
Why does squaring the n-th roots of unity produce only n/2 distinct values when n is a power of two?
- A
Squaring maps each root to a unique value, but half the roots are discarded.
- B
All roots except the real roots become zero when squared.
- C
Every second root is not a complex number.
- D
Pairs of roots separated by half a circle have the same square.
Correct answer
DPairs of roots separated by half a circle have the same square.
Explanation
The angles double under squaring, so roots paired at angles differing by π map to the same point; the set of distinct squared values has half the size.
- A
- 38
Why are complex numbers essential to the FFT sample locations, even when the original coefficients are real?
- A
The FFT's even-odd split is valid only for complex coefficients.
- B
Repeated square roots of unity include non-real points such as i.
- C
Real polynomials cannot be evaluated at real numbers.
- D
Complex numbers make the coefficient vector shorter.
Correct answer
BRepeated square roots of unity include non-real points such as i.
Explanation
Constructing the collapsing sample sets requires successive roots of unity; these include non-real complex values such as i and its relatives.
- A
- 39
How does the FFT-based polynomial multiplication method combine the transformed inputs?
- A
It adds corresponding sample values, then sorts the result.
- B
It multiplies corresponding sample values, then applies the inverse transform.
- C
It multiplies every sample of one input by every sample of the other.
- D
It concatenates the two transformed vectors and finds their roots.
Correct answer
BIt multiplies corresponding sample values, then applies the inverse transform.
Explanation
In sample representation, the product is computed pointwise: ck∗=ak∗bk∗. The inverse transform then recovers the product coefficients.
- A
- 40
Why must the two input polynomials be evaluated at the same sample locations before pointwise multiplication?
- A
Different locations would make the input coefficient lists identical.
- B
Pointwise multiplication works only when the locations are roots of the input polynomials.
- C
The inverse transform only accepts real-valued samples.
- D
Their values at a shared location can be multiplied to obtain the product's value there.
Correct answer
DTheir values at a shared location can be multiplied to obtain the product's value there.
Explanation
At each common location xk, the product satisfies c(xk)=a(xk)b(xk), so corresponding samples must refer to the same xk.
- A
- 41
What is the stated relationship between the inverse of the Fourier Vandermonde matrix V and its complex conjugate?
- A
V−1=nV
- B
V−1=V/n
- C
V−1=V+n
- D
V−1=V2
Correct answer
BV−1=V/n
Explanation
For the roots-of-unity Vandermonde matrix, the inverse is its entrywise complex conjugate divided by n.
- A
- 42
How does the inverse FFT differ operationally from the forward FFT in the described method?
- A
It changes the even-odd split to a first-half-second-half split.
- B
It applies the forward transform twice without any scaling.
- C
It uses real roots instead of complex roots and multiplies by n.
- D
It reverses the sign in the exponential's angle and divides the output by n.
Correct answer
DIt reverses the sign in the exponential's angle and divides the output by n.
Explanation
The inverse uses the conjugate roots, equivalent to changing the sign in the exponent, and the resulting vector is divided by n.
- A
- 43
Why is the product of the Fourier matrix and its complex conjugate matrix a scalar multiple of the identity?
- A
Their entries are all identical, so every row product is equal.
- B
The matrices are triangular, so their product is automatically diagonal.
- C
Every entry in both matrices is zero except the diagonal.
- D
The diagonal sums contain n ones, while off-diagonal sums are geometric series that cancel to zero.
Correct answer
DThe diagonal sums contain n ones, while off-diagonal sums are geometric series that cancel to zero.
Explanation
When row and column indices match, the sum has n terms equal to one; otherwise a finite geometric series over roots of unity sums to zero. Thus the product is nI.
- A
- 44
What overall time complexity results from using FFTs to multiply two polynomials with about n coefficients?
- A
O(logn)
- B
O(nlogn)
- C
O(n3)
- D
O(n2)
Correct answer
BO(nlogn)
Explanation
The algorithm transforms both coefficient vectors in O(nlogn) time, multiplies samples in linear time, and applies an inverse transform in O(nlogn) time.
- A
- 45
In a Fourier representation of an audio signal, what does the magnitude of a complex frequency component indicate?
- A
The time at which the signal was sampled.
- B
The number of coefficients in the original polynomial.
- C
How much of that frequency is present in the signal.
- D
The direction in which the microphone membrane moved.
Correct answer
CHow much of that frequency is present in the signal.
Explanation
The magnitude, or length, of the complex value at a frequency indicates the amount of that frequency in the signal.
- A
- 46
In the same representation, what information is associated with the angle of a complex frequency component?
- A
The signal's largest sample value.
- B
The time shift or phase of that frequency component.
- C
The polynomial degree of the audio waveform.
- D
The total number of frequencies in the signal.
Correct answer
BThe time shift or phase of that frequency component.
Explanation
The angle of the complex value represents how the corresponding trigonometric component is shifted in time, also called its phase.
- A
- 47
What would the Fourier representation of an ideal pure tone contain?
- A
A nonzero component at its frequency and zero components at other frequencies.
- B
Only a constant component, regardless of the tone's pitch.
- C
Equal nonzero components at every frequency.
- D
The tone's roots and no frequency values.
Correct answer
AA nonzero component at its frequency and zero components at other frequencies.
Explanation
An ideal pure sine-wave tone is concentrated at its corresponding frequency, with no contribution at other frequencies; its phase affects the component's angle.
- A
- 48
How can a high-pass filter be implemented using the frequency representation?
- A
Calculate the roots of the signal's coefficient polynomial.
- B
Remove the high-frequency components, then transform back.
- C
Multiply every time-domain sample by its index.
- D
Remove or zero out the low-frequency components, then transform back.
Correct answer
DRemove or zero out the low-frequency components, then transform back.
Explanation
A high-pass filter retains high frequencies and removes low ones; after modifying the frequency components, the inverse transform returns the filtered signal.
- A
- 49
How can a low-pass filter be implemented using the frequency representation?
- A
Reverse the coefficient vector and leave the frequencies unchanged.
- B
Replace every frequency component with its magnitude.
- C
Remove or zero out the high-frequency components, then transform back.
- D
Remove the low-frequency components, then transform back.
Correct answer
CRemove or zero out the high-frequency components, then transform back.
Explanation
A low-pass filter retains low frequencies and removes high ones, after which the inverse Fourier transform converts the result back to the signal domain.
- A
- 50
Which set of applications is consistent with the uses of FFT and convolution described in the material?
- A
File compression without any signal transformation.
- B
Audio processing, image blurring, and frequency filtering.
- C
Polynomial differentiation, graph coloring, and database indexing.
- D
Root solving, matrix inversion, and sorting only.
Correct answer
BAudio processing, image blurring, and frequency filtering.
Explanation
FFT and convolution are used in digital audio and signal processing, in image operations such as Gaussian blur, and in filtering; MP3 compression is also cited as an application context.
- A

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