ArticleslgStudy

mathematics

DFT matrix

DFT matrix is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand DFT matrix rather than just read about it. In short: In applied mathematics, a DFT matrix is a square matrix as an expression of a discrete Fourier transform (DFT) as a transformation matrix, which can be applied to a signal through matrix multiplication. Definition An N-point DFT is expressed as the multiplication X=Wx, where x is the original input signal, W is the N-by-N square DFT matrix, and X is the DFT of the signal.

DFT matrix — main illustration
DFT matrix — illustration

Key takeaways

  • DFT matrix belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect DFT matrix to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of DFT matrix from memory before moving on to harder problems.

Reference excerpt

In applied mathematics, a DFT matrix is a square matrix as an expression of a discrete Fourier transform (DFT) as a transformation matrix, which can be applied to a signal through matrix multiplication.

Definition An N-point DFT is expressed as the multiplication X=Wx, where x is the original input signal, W is the N-by-N square DFT matrix, and X is the DFT of the signal. The square matrix ensures the transformation is invertible. The transformation matrix W can be defined as W=(ωjkN)j,k=0,1,2…,N−3,N−2,N−1, or equivalently:

W=1N[1111⋯11ωω2ω3⋯ωN−11ω2ω4ω6⋯ω2(N−1)1ω3ω6ω9⋯ω3(N−1)⋮⋮⋮⋮⋱⋮1ωN−1ω2(N−1)ω3(N−1)⋯ω(N−1)(N−1)], where ω=e−2πi/N is a primitive Nth root of unity in which i2=−1. We can avoid writing large exponents for ω using the fact that for any exponent x we have the identity ωx=ωxmodN. This is the Vandermonde matrix for the roots of unity, up to the normalization factor. Note that the normalization factor in front of the sum ( 1/N ) and the sign of the exponent in ω are merely conventions, and differ in some treatments. All of the following discussion applies regardless of the convention, with at most minor adjustments. The only important thing is that the forward and inverse transforms have opposite-sign exponents, and that the product of their normalization factors be 1/N. However, the 1/N choice here makes the resulting DFT matrix unitary, which is convenient in many circumstances. Fast Fourier transform algorithms utilize the symmetries of the matrix to reduce the time of multiplying a vector by this matrix, from the usual O(N2). Similar techniques can be applied for multiplications by matrices such as Hadamard matrix and the Walsh matrix.

Examples

Two-point The two-point DFT is a simple case, in which the first entry is the DC (sum) and the second entry is the AC (difference).

W=12[111−1] The first row performs the sum, and the second row performs the difference. The factor of 1/2 is to make the transform unitary (see below).

Four-point The four-point clockwise DFT matrix is as follows:

W=14[ω0ω0ω0ω0ω0ω1ω2ω3ω0ω2ω4ω6ω0ω3ω6ω9]=14[11111−i−1i1−11−11i−1−i] where ω=e−2πi4=−i.

Eight-point The first non-trivial integer power of two case is for eight points:

W=18[ω0ω0ω0ω0ω0ω0ω0ω0ω0ω1ω2ω3ω4ω5ω6ω7ω0ω2ω4ω6ω8ω10ω12ω14ω0ω3ω6ω9ω12ω15ω18ω21ω0ω4ω8ω12ω16ω20ω24ω28ω0ω5ω10ω15ω20ω25ω30ω35ω0ω6ω12ω18ω24ω30ω36ω42ω0ω7ω14ω21ω28ω35ω42ω49]=18[111111111ω−i−iω−1−ωiiω1−i−1i1−i−1i1−iωiω−1iω−i−ω1−11−11−11−11−ω−iiω−1ωi−iω1i−1−i1i−1−i1iωi−ω−1−iω−iω] where

ω=e−2πi8=12−i2 (Note that ω8+n=ωn.) Evaluating for the value of ω, gives: W=18[1111111111−i2−i−1−i2−1−1+i2i1+i21−i−1i1−i−1i1−1−i2i1−i2−11+i2−i−1+i21−11−11−11−11−1+i2−i1+i2−11−i2i−1−i21i−1−i1i−1−i11+i2i−1+i2−1−1−i2−i1−i2]

The following image depicts the DFT as a matrix multiplication, with elements of the matrix depicted by samples of complex exponentials:

The real part (cosine wave) is denoted by a solid line, and the imaginary part (sine wave) by a dashed line. The top row is all ones (scaled by 1/8 for unitarity), so it "measures" the DC component in the input signal. The next row is eight samples of negative one cycle of a complex exponential, i.e., a signal with a fractional frequency of −1/8, so it "measures" how much "strength" there is at fractional frequency +1/8 in the signal. Recall that a matched filter compares the signal with a time reversed version of whatever we're looking for, so when we're looking for fractional frequency 1/8 we compare with fractional frequency −1/8 so that is why this row is a negative frequency. The next row is negative two cycles of a complex exponential, sampled in eight places, so it has a fractional frequency of −1/4, and thus "measures" the extent to which the signal has a fractional frequency of +1/4. The following summarizes how the 8-point DFT works, row by row, in terms of fractional frequency:

0 measures how much DC is in the signal −1/8 measures how much of the signal has a fractional frequency of +1/8 −1/4 measures how much of the signal has a fractional frequency of +1/4 −3/8 measures how much of the signal has a fractional frequency of +3/8 −1/2 measures how much of the signal has a fractional frequency of +1/2 −5/8 measures how much of the signal has a fractional frequency of +5/8 −3/4 measures how much of the signal has a fractional frequency of +3/4 −7/8 measures how much of the signal has a fractional frequency of +7/8 Equivalently the last row can be said to have a fractional frequency of +1/8 and thus measure how much of the signal has a fractional frequency of −1/8. In this way, it could be said that the top rows of the matrix "measure" positive frequency content in the signal and the bottom rows measure negative frequency component in the signal.

Unitary transform The DFT is (or can be, through appropriate selection of scaling) a unitary transform, i.e., one that preserves energy. The appropriate choice of scaling to achieve unitarity is 1/N, so that the energy in the physical domain will be the same as the energy in the Fourier domain, i.e., to satisfy Parseval's theorem. (Other, non-unitary, scalings, are also commonly used for computational convenience; e.g., the convolution theorem takes on a slightly simpler form with the scaling shown in the discrete Fourier transform article.)

Other properties For other properties of the DFT matrix, including its eigenvalues, connection to convolutions, applications, and so on, see the discrete Fourier transform article.

A limiting case: The Fourier operator

The notion of a Fourier transform is readily generalized. One such formal generalization of the N-point DFT can be imagined by taking N arbitrarily large. In the limit, the rigorous mathematical machinery treats such linear operators as so-called integral transforms. In this case, if we make a very large matrix with complex exponentials in the rows (i.e., cosine real parts and sine imaginary parts), and increase the resolution without bound, we approach the kernel of the Fredholm integral equation of the 2nd kind, namely the Fourier operator that defines the continuous Fourier transform. A rectangular portion of this continuous Fourier operator can be displayed as an image, analogous to the DFT matrix, as shown at right, where greyscale pixel value denotes numerical quantity.

See also Multidimensional transform Clock and shift matrices Chebotarev theorem on roots of unity

References

External links

Fourier Operator and Decimation In Time (DIT)

Illustrations

DFT matrix illustration
DFT matrix illustration

Worked examples

Example 1 — a first encounter with DFT matrix

Start with the simplest possible case. Write down what DFT matrix claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to DFT matrix before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about DFT matrix ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of DFT matrix

In research
DFT matrix appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses DFT matrix in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
DFT matrix is common in secondary-school and first-year university syllabi. It links to neighbouring topics Digital signal processing, Fourier analysis, Matrices (mathematics), so understanding it makes those chapters shorter.
In everyday life
Look for DFT matrix outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “DFT matrix” →

How to study DFT matrix in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what DFT matrix means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain DFT matrix out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is DFT matrix in simple terms?

In applied mathematics, a DFT matrix is a square matrix as an expression of a discrete Fourier transform (DFT) as a transformation matrix, which can be applied to a signal through matrix multiplication. Definition An N-point DFT is expressed as the multiplication X=Wx, where x is the original input…

Why does DFT matrix matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study DFT matrix?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on DFT matrix.

Tags

  • Digital signal processing
  • Fourier analysis
  • Matrices (mathematics)

Keep exploring