In this section we will discuss the main DFT properties. We will see that most of these properties look similar to the properties of other Fourier transforms however there are some important differences which are caused by the fact that the DFT is a periodic, or circular, operation.
Circular shift
As one of the first consequences of the periodic behavior we need to pay special attention to the shift operation.
Comparison shift and circular shift.
The two figures at the left hand side of Fig. 1 show a signals x[n] and its shifted version x[n−1] which has been shifted over one sample to the right. More specifically the red sample at index n=0 moves to index n=1 and the blue sample at index n=3 moves to index n=4.
The two figures at the right hand side of Fig. 1 shows the Periodic Extended signal xp[n], with period N=4 samples, and its shifted version xp[n−1]. From these figures it is clear that xp[n−1] and x[n−1] are not the same. More specifically for xp[n−1] the blue sample at index n=3 is moved out the FP at the right hand side while it enters again at the left hand side at index n=0. This circular, or periodic, behavior can be represented by using modulo counting as follows: The samples denoted by xp[(n−1)modN] represent the samples in the FP of xp[n] which has been shifted over one sample.
For the proof of the circular shift property, we need an explicit expression for this modulo representation, which can be derived as follows:
Fig. 2 represents the time index axis n which ranges from −∞ until +∞. One interval of the periodic extended signal xp[n] consists of N samples and the indices of the FP range from 0 until N−1. Now we shift xp[n] over n0 samples, in which we assume for simplicity n0≤0.
Circular shift as modulo counting.
An explicit expression for the indices of the samples of xp[n−n0] within the FP can be found as follows:
As a first step we can represent the shifted sample at index −n0 within the FP by adding λ times N, with λ∈N. Then we must try to map N consecutive samples into the FP. The samples in the red area map into the red area at the right hand side of the FP. In this range the samples are indexed by n−n0+λN, as denoted in the following equation:
xp[(n−n0)mod(N)]={xp[n−n0+λN]index ∈−xp[n−n0+λN−N]index ∈−
In order to map the other samples, indicated in the blue area, inside the FP, an extra N samples must be subtract, as denoted in the equation above.
The circular shift property states that a circular shift in time domain results in a multiplication with a complex exponent in frequency domain:
xp[n−n0]∘−∘e−j2πNkn0⋅Xp[k]
Proof of circular shift property
The DFT of the shifted samples xp[n−n0] is denoted as:
Y[k]=N−1∑n=0xp[n−n0]e−j2πNkn.
Now we can use the indexing as discussed above: Split the indices in a red and blue part. The red part contains the samples which are at the right end side of the FP and the blue part contains samples that are shifted outside the FP at the right end side and entering the FP again at the left end side:
Y[k]=∑∈−xp[n−n0+λN]e−j2πNkn+∑∈−xp[n−n0+λN−N]e−j2πNkn
Substitute a new index m and replace the index n with this new index in the complex exponent of both summations:
Y[k]=∑m∈−xp[m]e−j2πNk(m+n0−λN)+∑m∈−xp[m]e−j2πNk(m+n0−λN+N)
The complex exponent with index n0 can be taken outside brackets:
Y[k]=(∑m∈−xp[m]e−j2πNkmej2πNkλN+∑m∈−xp[m]e−j2πNkmej2πNk(λ−1)N)e−j2πNkn0=(∑m∈−xp[m]e−j2πNkm+∑m∈−xp[m]e−j2πNkm)⋅e−j2πNkn0
The resulting two summations are the same but each of the indices run over a different part of the FP. When concatenating these two summations the result between brackets writes as the DFT result Xp[k], which end the proof:
Y[k]=(∑m∈ FPxp[m]e−j2πNkm)⋅e−j2πNkn0=Xp[k]⋅e−j2πNkn0
Try to prove yourself that, in a similar way, it can be shown that a circular shift in frequency domain results in a multiplication with a complex exponent in time domain:
ej2πNnk0⋅xp[n]∘−∘Xp[k−k0]
Example
The values within the FI of the 5-point DFT of xp[n] are:
Xp[k]=⎧⎪
⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪
⎪⎩5for k=06for k=11for k=22for k=39for k=4
A new signal is defined as yp[n]=W−2n5xp[n], with twiddle factor W5=ej2π5. Calculate within the Fundamental Interval the values of Yp[k] which is the 5-point DFT of this new signal yp[n].
According to the shift property we obtain:
yp[n]=e−j2π52n⋅xp[n]∘−∘Yp[k]=Xp[k+2]]
resulting into the following values with the FI:
Yp[k]=⎧⎪
⎪
⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪
⎪
⎪⎩Xp[2]=1for k=0Xp[3]=2for k=1Xp[4]=9for k=2Xp[0]=5for k=3Xp[1]=6for k=4
Circular convolution
The circular convolution, indicated by the symbol ⊛, between the two periodic extended signals xp[n] and hp[n], both with an FP of N samples, is defined as follows:
xp[n]⊛hp[n]=N−1∑i=0xp[i]hp[n−i]=N−1∑i=0xp[n−i]hp[i]
The different steps of the circular procedure are as follows:
Eventually pad zeros in order to make the period of both periodic extended signals xp[n] and hp[n] the same.
Plot one of the signals, e.g. hp[n], as function of another index, e.g. hp[i].
Flip hp[i] to obtain hp[−i].
For n=0,1,⋯,N−1:
Calculate y_p[n]=∑N−1i=0xp[i]hp[n−i].
As an example the circular convolution result yp[n]=xp[n]⊛hp[n]
is depicted in Fig. 3.
Circular convolution.
Within the FP these Periodic Extended signals are defined as:
xp[n]=δ[n]+δ[n−1]+δ[n−2]+12δ[n−3]hp[n]=δ[n]+34δ[n−1]+12δ[n−2]+14δ[n−3]
resulting in:
yp[n]=xp[n]⊛hp[n]=178δ[n]+188δ[n−1]+198δ[n−2]+168δ[n−3]
Example
Compute yp[n]=xp[n]⊛hp[n] with
xp[n]=δ[nmod(4)]+2δ[(n−1)mod(4)]+δ[(n−2)mod(4)]−δ[(n−3)mod(4)]hp[n]=13δ[(n−1)mod(4)]−13δ[(n−2)mod(4)]+13δ[(n−3)mod(4)]
A matlab animation is to be added.
As in the FTD case it can be shown that for the DFT a circular convolution in time domain is equivalent to a circular multiplication in frequency domain:
xp[n]⊛hp[n]∘−∘Xp[k]⋅Hp[k]
Proof of circular convolution property
For the proof of this property we first apply the DFT operation to the circular convolution and then switch the order of the two summations:
Y[k]=DFT{xp[n]⊛hp[n]}=N−1∑n=0(N−1∑i=0xp[i]hp[n−i])e−j(2π/N)kn=N−1∑i=0xp[i]⋅{N−1∑n=0hp[n−i]e−j(2π/N)kn}
In between brackets we recognize the DFT of hp[n] which has been shifted in time domain. As shown in the previous subsection the time domain shift results in a multiplication with a complex exponent in frequency domain:
Y[k]=N−1∑i=0xp[i]⋅{Hp[k]⋅e−j(2π/N)ki}
Moving the complex exponent forward finalizes the proof:
Y[k]=(N−1∑i=0xp[i]e−j(2π/N)ki)⋅Hp[k]=Xp[k]⋅Hp[k]
Try to prove yourself that, in a similar way, that a circular convolution in frequency domain is equivalent to a multiplication in time domain:
xp[n]⋅hp[n]∘−∘Xp[k]⊛Hp[k]
Example
Given the same 4-point periodic extended signals as in the previous example:
xp[n]=δ[nmod(4)]+2δ[(n−1)mod(4)]+δ[(n−2)mod(4)]−δ[(n−3)mod(4)]hp[n]=13δ[(n−1)mod(4)]−13δ[(n−2)mod(4)]+13δ[(n−3)mod(4)]
Furthermore we have the following 4-point DFT's: Xp[k]∘−∘xp[n] and Hp[k]∘−∘hp[n]. Calculate Yp[k]=Xp[k]⋅Hp[k]
From the circular convolution property it follows that
Yp[k]=Xp[k]⋅Hp[k]∘−∘yp[n]=xp[n]⊛hp[n]
From the previous example we have yp[n]=xp[n]⊛hp[n]=δ[(n−1)mod(4)].
Thus the answer equals the 4-point DFT of yp[n]:
Yp[k]=DFT{δ[(n−1)mod(4)]}=e−j2π4k.
Another way to find the solution is to write out the product of the two 4-point DFT's:
Xp[k]=1+2e−j2π4k+e−j2π42k−e−j2π43kHp[k]=13{e−j2π4k−e−j2π42k+e−j2π43k}
resulting in Yp[k]=Xp[k]⋅Hp[k]=e−j2π4k.
Complex conjugation
The periodic behavior of the DFT operation leads to a special result of the complex conjugation operation:
x∗p[n]∘−∘X∗p[N−k]
Proof of complex conjugation property
In the first step of the proof we apply the DFT operation to the complex conjugated samples and take the complex operation outside the brackets and multiply with 1:
Y[k]=N−1∑n=0x∗p[n]e−j2πNkn=(N−1∑n=0xp[n]ej2πNkn)∗=(N−1∑n=0xp[n]ej2πNkn⋅1)∗
The number 1 can be expressed as complex exponent e−j2πNNn:
Y[k]=(N−1∑n=0xp[n]ej2πNkn⋅e−j2πNNn)∗
Combining the two exponents finalizes the proof:
(N−1∑n=0xp[n]e−j2πN(N−k)n)∗=X∗p[N−k]
As a result of this property we can derive the following property when signal x[n] is real:
x[n] real ⇒Xp[k]=X∗p[N−k].
Thus when x[n] is real we only need to calculate half of the DFT components, the other half can by obtained from the resulting symmetry property. More specifically the range of DFT coefficients that we need to calculate for a real signal is as follows:
0≤k≤(N−1)/2, for Nodd
0≤k≤N/2, for Neven
Note that for N even the coefficient Xp[N/2]=X∗p[N/2]. In other words Xp[N/2] is a real number.
Example
The even samples of the 9-point DFT Xp[k] of a real signal xp[n] are given as follows:
Xp[0]=1 ; Xp[2]=5−2j ; Xp[4]=−3e−jπ10 ; Xp[6]=7 ; Xp[8]=2+5j
Calculate the odd values of Xp[k].
Signal xp[n] is real thus we have Xp[k]=X∗[N−k] which results in this case, with N=9, in:
Xp[1]=X∗p[8]=2−5j ; Xp[3]=X∗p[6]=7 ; Xp[5]=X∗p[4]=−3ejπ10 ; Xp[7]=X∗p[2]=5+2j
Example
Given the N-point DFT
Xp[k]=ejθ0δ[(k−1)mod(N)]+e−jθ0δ[(k−(N−1))mod(N)]
in which θ0 is some fixed value.
Calculate xp[n] the N-point IDFT. The answer should be a formula for xp[n] in terms of n and N. Is xp[n] a real valued signal? If so simplify the resulting formula in such a way that it does not contain j=√−1.
The resulting signal xp[n] will be real since Xp[k]=X∗p[N−k] and can be expressed as follows:
xp[n]=ejθ0⋅ej2πNn+e−jθ0⋅ej2πN(N−1)n=ejθ0⋅ej2πNn+e−jθ0⋅e−j2πNn=2cos(2πNn+θ0)
Preserve energy (Parceval)
N−1∑n=0|xp[n]|2=1NN−1∑k=0|Xp[k]|2
Proof of Parceval property
Parceval has shown that the Fourier transform preserves energy. Here we will show that this property also holds for the DFT. First we write out according to the DFT definition the term X∗p[k]:
Y[k]=1NN−1∑k=0Xp[k]⋅X∗p[k]=1NN−1∑k=0Xp[k]⋅(N−1∑n=0xp[n]e−j2πNkn)∗
Then bring the complex conjugation operation inside the brackets, change the order of the summations and combine the factor 1N before the second summation:
Y[k]=1NN−1∑k=0Xp[k]⋅(N−1∑n=0x∗p[n]ej2πNkn)=N−1∑n=0x∗p[n]⋅{1NN−1∑k=0Xp[k]ej2πNkn}
The second summation represents the Inverse DFT operation resulting in xp[n] which finalizes the proof:
Y[k]=N−1∑n=0x∗p[n]⋅{xp[n]}=N−1∑n=0|xp[n]|2
Note that it seems as if there is a difference of a factor 1N between the energy in time- and frequency domain. However this is the result of the way that the DFT and Inverse DFT operations have been defined.
Example
Show the Parceval relation for the 4-point Periodic Extended signal
xp[n]=δ[nmod(4)]+δ[(n−1)mod(4)]+δ[(n−2)mod(4)]+δ[(n−3)mod(4)].
First we calculate the 4-point DFT:
Xp[k]=3∑n=0xp[n]e−j2π4kn=3∑n=0e−j2π4kn=4δ[kmod(4)]
The energy in time- and frequency domain can be calculated as follows:
Time:3∑n=0|xp[n]|2=(12+12+12+12)=4Frequency:143∑k=0|Xp[k]|2=14(42)=4
which proves that the Parceval relation is indeed correct.