A function x(t) is periodic if ∃T such that ∀t,x(t−T)=x(t).
Definition 20
The fundamental period is the smallest such T which satisfies the periodicity property in Definition 19
Theorem 1
If x(t) and y(t) are functions with period T1 and T2 respectively, then x(t)+y(t) is periodic if ∃m,n∈Z such that mT1=nT2.
Definition 21
Given a periodic function x(t) with fundamental period T and fundamental frequency ω0=T2π, the Fourier Series of x is a weighted sum of the harmonic functions.
For a0, the DC offset term, this formula makes a lot of sense because it is just the average value of the function over one period.
will converge.
Theorem 2
These convergence requirements are for pointwise convergence only. They do not necessarily imply that the graphs of the Fourier Series and the original function will look the same.
Discrete Time
The definition for periodicity in discrete time is the exact same as the definition in continuous time.
Definition 22
Theorem 3
The sum of two discrete periodic signals is periodic
Theorem 3 is not always true in continuous time but it is in discrete time.
The Fourier Series in discrete time is the same idea as the Fourier series in continuous time: to express every signal as a linear combination of complex exponentials. The discrete time basis that we use are the Nth roots of unity.
Definition 23
Properties of the Fourier Series
Theorem 4 (Parseval's Theorem)
Interpreting the Fourier Series
Discrete Time
because we know the norms of two vectors in different bases must be equal.
Continuous Time
We can use this inner product to conduct the same proof as we did in discrete time.
a0=T1∫Tx(t)dt
Because the Fourier Series is an infinite sum, there is a worry that for some functions x(t), it will not converge. The Dirichlet Convergent Requirements tell us when the Fourier Series converges. More specificially, they tell us when
∀τ,limM→∞xM(τ)=x(τ)xM(t)=∑k=−MMakejkω0t
The Fourier Series of a continuous time periodic function x(t) will converge when x is piecewise continuous and dtdxis piecewise continuous.
If x is continuous at τ, limM→∞xM(τ)=x(τ)
If x is discontinuous at τ, then limM→∞xM(τ)=21(x(τ−)+x(τ+))
A function x[n] is periodic with period N∈Z if ∀n,x[n+N]=x[n]
However, there are some differences. For example, x[n]=cos(ω0n) is only periodic in discrete time if ∃N,M∈Z,ω0N=2πM.
ϕk[n]=ejkN2πn
ϕk[n] is perioidic in n (i.e ϕk[n+N]=ϕk[n])
ϕk[n] is periodic in k (i.e ϕk+N[n]=ϕk[n])
ϕk[n]⋅ϕm[n]=ϕk+m[n]
Notice that with this basis, there are only N unique functions that we can use. An additional property of the ϕk[n] is that
∑n=<N>ϕk[n]={N0if k=0,±N,±2N,⋯otherwise.
Given a periodic discrete-time function x[n] with period N, the Fourier series of the function is a weighted sum of the roots of unity basis functions.
x[n]=∑k=0N−1akϕk[n]
In order to find the values of ak, we can perform a similar process as in continuous time.
Linearity: If ak and bk are the coefficients of the Fourier Series of x(t) and y(t) respectively, then Aak+Bbk are the coefficients of the Fourier series of Ax(t)+By(t)
Time Shift: If ak are the coefficients of the Fourier Series of x(t), then bk=e−jkT2πt0ak are the coefficients of the Fourier Series of x^(t)=x(t−t0)
Time Reversal: If ak are the coefficients of the Fourier Series of x(t), then bk=a−k are the coefficients of the Fourier Series of x(−t)
Conjugate Symmetry: If ak are the coefficients of the Fourier Series of x(t), then ak∗ are the coefficients of the Fourier Series of x∗(t). This means that x(t) is a real valued signal, then ak=a−k∗
Continuous Time: T1∫∣x(t)∣2dt=∑k=−∞∞∣ak∣2
Discrete Time: N1∑n=<N>∣x[n]∣2=∑k=<N>∣ak∣2
A good way to interpret the Fourier Series is as a change of basis. In both the continuous and discrete case, we are projecting our signal x onto a set of basis functions, and the coefficients ak are the coordinates of our signal in the new space.
Since in discrete time, signal is peroidic in N, we can turn any it into a vector x∈CN.
x=x[0]x[1]⋮x[N−1]∈CN
We can use this to show that ϕk form an orthogonal basis. If we take two of them ϕk[n] and ϕM[n] (k=M) and compute their dot product of their vector forms, then
ϕk[n]⋅ϕM[n]=ϕM∗ϕk=∑<n>ϕk−M[n]=0
That means that ϕk and ϕM are orthogonal, and they are N of them, therefore they are a basis. If we compute their magnitudes, we see
ϕk⋅ϕk=∣∣ϕk∣∣2=N,∴∣∣ϕk∣∣=N
Finally, if we compute xϕM where x is the vector form of an N-periodic signal,
x⋅ϕM=(∑i=0N−1aiϕi)⋅ϕM=Nam
am=N1x⋅ϕM
This is exactly the equation we use for finding the Fourier Series coefficients, and notice that it is a projection since N=∣∣ϕm∣∣2. This gives a nice geometric intution for Parseval’s theorem
N1∑∣x[n]∣2=N1∣∣x∣∣2=∑∣ak∣2
In continuous time, our bases functions are ϕk(t)=ejkT2πt for k∈(−∞,∞) Since we can’t convert continuous functions into vectors, these ϕk are really a basis for the vector space of square integrable functions on the interval [0,T]. The inner product for this vector space is