Fourier Analysis of Stochastic Processes
1. Time series
Given a discrete time process (X n ) n2Z , with X n : ! R or X n : ! C 8n 2 Z, we de…ne time series a realization of the process, that is to say a series (x n ) n2Z of real or complex numbers where x n = X n (!)8n 2 Z. In some cases we will use the notation x(n) instead of x n , with the same meaning.
For convenience, we introduce the space l 2 of the time series such that P
n2Z jx n j 2 < 1. The …nite value of the sum can be sometimes interpreted as a form of the energy, and the time series belonging to l 2 are called …nite energy time series. Another important set is the space l 1 of the time series such that P
n2Z jx n j < 1. Notice that the assumption P
n2Z jx n j < 1 implies P
n2Z jx n j 2 < 1, because P
n2Z jx n j 2 sup n2Z jx n j P
n2Z jx n j and sup n2Z jx n j is bounded when P
n2Z jx n j converges.
Given two time series f (n) and g(n), we de…ne the convolution of the two time series as h(n) = (f g)(n) = X
k2Z
f (n k) g (k)
2. Discrete time Fourier transform
Given the realization of a process (x n ) n2Z 2 l 2 , we introduce the discrete time Fourier transform (DTFT), indicated either by the notation b x (!) or F [x] (!) and de…ned by
b
x (!) = F [x] (!) = 1 p 2
X
n2Z
e i!n x n ; ! 2 [0; 2 ] :
Note that the symbol b is used to indicate both DTFT and empirical estimates of process parame- ters; the variable ! is used to indicate both the independent variable of the DTFT and the outcomes (elementary events) in a set of events. Which of the two meanings is the correct one will be always evident in both cases.
The sequence x n can be reconstructed from its DTFT by means of the inverse Fourier transform x n = 1
p 2 Z 2
0
e i!n x (!) d!: b
In fact, assuming that it is allowed to interchange the in…nite summation with the integration, we have p 1
2 Z 2
0
e i!n x (!) d! = b 1 2
Z 2 0
e i!n X
k2Z
x k e i!k d! = 1 2
X
k2Z
x k Z 2
0
e i!(n k) d! = 1 2
X
k2Z
x k 2 (n k) = x n Remark 1. In the de…nition using i!n as exponent, the increment of the independent variable between two consecutive samples is assumed to be 1. If the independent variable is time t and the
i
time interval between two consecutive samples is t, in order to change the time scale, the exponent becomes i!n t. The quantity 1
t is called sampling frequency.
Remark 2. The function b x (!) can be considered for all ! 2 R, but it is 2 -periodic or 2
t -periodic.
In the last case, ! is called angular frequency.
Remark 3. Sometimes (in particular by physicists), DTFT is de…ned without the sign at the exponent; in this case the sign is obviously present in the inverse transform.
Remark 4. Sometimes the factor p 1 2 is not included in the de…nition; in our de…nition the factor
p 1
2 is included for symmetry with the inverse transform or the Plancherel formula (without p 1 2 , a factor 2 1 appears in one of them).
Remark 5. Sometimes, it is preferable to use the variant b
x (f ) = 1 p 2
X
n2Z
e 2 if n x n ; f 2 [0; 1] :
where f = !
2 . When the factor t is present in the exponent, f 2 0; 1
t is called frequency.
In the following, we will use our de…nition of DTFT, independently of the fact that in certain applications it is customary or convenient to make other choices. The reader is warned!!
Of course, in practical cases, in…nite sampling times do not exist. Let us therefore introduce a sampling window of width 2N contaning 2N + 1 samples from time N to time N (also called boxcar window) 1 [ N;N ] (n) =
( 1 if N n N
0 otherwise and the truncation x 2N (n) of the time series x n de…ned as x 2N (n) = x n 1 [ N;N ] (n) =
( x n if N n N
0 otherwise . The DTFT of the truncated time series is de…ned as
b
x 2N (!) = 1 p 2
X
jnj N
e i!n x n :
Remark 6. In order to de…ne properly the DTFT for a process, we must assure that it is possible to calculate the DTFT of “every” of its realization. Therefore the above de…nition, involving only a
…nite summation, can be used also to de…ne the truncated DTFT of a process:
X b 2N (!) = 1 p 2
X
jnj N
e i!n X n :
In fact, each realization x b 2N of a truncated process b X 2N is a …nite-energy time series that admits
DTFT. We underline that b X 2N (!) is a random variable for every ! 2 [0; 2 ], while b x 2N (!) is a
function of !. The de…nition of truncated DTFT for a process will be used in the proof of Wiener-
Khinchine theorem. Processes whose realizations are l 2 or l 1 time series are never stationary.
2. DISCRETE TIME FOURIER TRANSFORM iii
Properties of DTFT
1) The L 2 -theory of Fourier series guarantees that the series P
n2Z e i!n x n converges in mean square with respect to !, namely, there exists a square integrable function x (!) such that b
N !1 lim Z 2
0 jb x 2N (!) x (!)j b 2 d! = 0:
2) Plancherel formula
X
n2Z
jx n j 2 = Z 2
0 jb x (!)j 2 d!
Proof.
Z 2
0 jb x (!)j 2 d! = Z 2
0 b x (!) ( x (!)) d! = b 1 2
Z 2 0
X
n2Z
e i!n x n
! X
m2Z
e i!m x m
! d! = 1
2 Z 2
0
0
@ X
n;m2Z
x n x m e i!n e i!m 1
A d! = 1 2
X
n;m2Z
x n x m Z 2
0
e i!(n m) d! = 1 2
X
n;m2Z
x n x m 2 (n m) = X
n2Z
x n x n = X
n2Z
jx n j 2 assuming that it is correct to interchange the in…nite summation with the inte- gration.
The meaning of Plancherel formula is that the energy “contained”in a time series and the energy
“contained” in its DTFT is the same (a factor 2 can appear in one of the two members when a di¤ernt detinition of DTFT is used).
3) If the time series g(n) is real, then bg ( !) = bg (!).
Proof. bg ( !)= 1 p 2
X
n2Z
g(n)e i( !)n = 1 p 2
X
n2Z
g(n) e i!n = 1 p 2
X
n2Z
g(n)e i!n
!
= g (!)
4) The DTFT of the convolution of two time series corresponds (a factor can be present,depending on the de…nition of DTFT) to the product of the DTFT of the two time series
F [f g] (!) = p
2 b f (!) bg (!) : Proof. F[f g] (!) = 1
p 2 X
n2Z
(f g)(n)e i!n = 1 p 2
X
n2Z
X
k2Z
f (n k)g(k)
!
e i!n = p 1
2 X
k2Z
g(k)e i!k X
n2Z
f (n k)e i!(n k) = 1 p 2
X
k2Z
g(k)e i!k X
m2Z
f (m)e i!m = X
k2Z
g(k)e i!k f (!) = b p 2 b f (!) bg(!), assuming that it is correct to commute the two in…nite summations. The p
2 is not present when the de…nition of DTFT without p 1
2 is used.
6) Combining properties 4) and 5), we obtain F
"
X
k2Z
f (n + k) g (k)
#
(!) = F
"
X
k2Z
f (n k) g ( k)
#
(!) = b f (!) bg( !) = p
2 b f (!) bg (!), where
the last equality is valid only for a real time series g. This property is used in the calculation of DTFT of correlation function. Again, the presence of factor p
2 depends on the de…nition of DTFT adopted.
7) When X
n2Z
jx n j < 1, then the series P
n2Z e i!n x n is absolutely convergent, uniformly in ! 2 [0; 2 ], simply because
X
n2Z
sup
!2[0;2 ]
e i!n x n = X
n2Z
sup
!2[0;2 ]
e i!n jx n j = X
n2Z
jx n j < 1:
In this case, we may also say that x (!) is a bounded continuous function, not only square integrable. b 3. Generalized discrete time Fourier transform
One can do the DTFT also for sequences which do not satisfy the assumption P
n2Z jx n j 2 < 1, in special cases. Consider for instance the sequence
x n = a sin (! 1 n) : Compute the DFTT of the truncated sequence
b
x 2N (!) = 1 p 2
X
jnj N
e i!n a sin (! 1 n) : Recall that
sin t = e it e it 2i : Hence sin (! 1 n) = e
i!1n2i e
i!1nX
jnj N
e i!n a sin (! 1 n) = 1 2i
X
jnj N
e i(! !
1)n 1 2i
X
jnj N
e i(!+!
1)n :
The next lemma makes use of the concept of generalized function or distribution, which is outside the scope of these notes. We still given the result, to be understood in some intuitive sense. We use the generalized function (t) called Dirac delta (not to be confused with the dircrete time de…ned in example 1 for white noise), which is characterized by the property
(3.1)
Z 1
1
(t t 0 ) f (t) dt = f (t 0 )
for all continuous compact support functions f . No usual function has this property. A way to get intuition is the following one. Consider a function n (t) which is equal to zero for t outside 2n 1 ; 2n 1 , interval of length n 1 around the origin; and equal to n in 2n 1 ; 2n 1 . Hence n (t t 0 ) is equal to zero for t outside t 0 1
2n ; t 0 + 2n 1 , equal to n in t 0 1
2n ; t 0 + 2n 1 . We have Z 1
1
n (t) dt = 1:
3. GENERALIZED DISCRETE TIME FOURIER TRANSFORM v
Now, Z 1
1
n (t t 0 ) f (t) dt = n
Z t
0+
2n1t
0 12n