Part 3 Lectures 2
Part 3 Lectures 2
All of these are for continuous-time signals. The next part of the course discusses spectra
of discrete-time signals.
Note:
Notes:
The remainder of these notes are intended to make progress on this question,
with occasional references to questions 1 and 2.
As in the text Section 3.1, we begin the discussion of how to assess a spectrum by
considering signals that are finite sums of sinusoids, as in
+ AN cos(2πfNt+φN)
where N, A0, A1, f1, φ1, ..., AN, fN, φN are parameters that specify x(t).
Using Euler's formula, we can rewrite x(t) as
N j2πfkt
x(t) = X0 + ∑ Re { X k e }
k=1
where
jφk
X k = Ak e
where α 0 = X0 = A0
X2k, k≥1
αk = X *
2k, k≤-1
The spectrum is
j(.1) -j(.1) -j(.3)
{(4,0), (1.5 e ,3), (1.5 e ,-3), (2.5 e ,7),
-j(.3) -j(.1+π) -j(.1+π)
(2.5 e ,-7),(2 e ,9),(2 e ,-9)}
Example: Given that the spectrum of the signal x(t) is shown below, find x(t).
Pick off and sum the exponential components. Simplify so as to write x(t)
as a sum of sinusoids in standard form. Plot x(t).
where
v(t) is the audio signal, which is scaled so that -1 ≤ v(t) ≤ 1 for all t
cos(2πfct) is the "carrier signal",
2πfc is usually a high freqeuncy, e.g. xxx khz., fc is the frequency in
hz to tune the radio to
v(t) → O
+→ O
X → x(t) → amplifier → antenna
| |
1 cos(2πfct)
Motivation:
Our audio signal is low frequency typically 0 to 5 khz.
Low frequencies don't propagate through the atmosphere.
Need to generate a high frequency signal that "carries" the audio signal.
cos(2πfct) is called the "carrier signal". It has high frequency.
x(t) is obtained by "modulating" the carrier signal by the audio signal
Specifically, x(t) = (v(t)+1) cos(2πfct)
v(t) becomes the envelope of x(t). (adding the +1 insures this
Problem:
Assuming v(t) = cos(2πfvt), find and plot the spectrum of x(t)?
(A real radio station is not usually interested in transmitting a sinusoidal
audio signal. The sinusoidal v(t) is just a stand-in for a genuine audio
signal. We're assuming this choice of v(t), because so far it's all that we can
analyze.)
Solution:
The spectrum has components at frequencies fc-fv, fc, fc+fv .
Find the actual components, plot the spectrum, discuss how it depends on fv
and fc, mention the "bandwidth".
Solution:
The spectrum of x1(t) has components at frequencies
fc,1-fa,1, fc,1, fc,1+f a,1 .
The spectrum of xc(t) has components at frequency has components at
frequencies
fc,2-fa,2, fc,2, fc,2+fa,2
We need to choose fc,1 and fc,2 so that
fc,1+fa,1 < fc,2-fa,2
i.e. so that
fc,2-fc,1 > fa,1+fa,2
In a practical AM system, the audio signal has spectrum ranging from 0 khz to
+5 khz. In fact they limit the audio signals to this range. So the AM radio
signal has "bandwidth" about 10khz --- from fc-5000 to fc+5000. Because of
this, AM radio stations are assigned frequencies increments of 10 khz. And the
FCC avoids having two stations in the same area being separated only by 10 khz.
This is because the limited audio signals don't actually have spectra fitting
exactly between 0 and +5 khz. And because even if they did, a radio receiver
cannot pick out the signal components in the range fc-5000 to fc+5000 without
also accepting at a least some signal components outside this band. Sometimes
you can hear two AM radio stations at once, especially if you've tuned to a weak
one and a powerful one is at transmitting at a frequency only 10 khz away,
especially if you have an old/cheap radio receiver.
The main point of this section is the following theorem, which we won't prove, but
which we will illustrate and use.
where
jφk
X0 = A0 and Xk = Ak e
Eqivalently,
∞ j2 πkt
x(t) = ∑ αk e T
k=-∞
where α 0 = X0 = A0
X2k, k≥1
αk = X *
2k, k≤-1
Notes:
• This is an amazing, surprising, and deep theorem. (When it was first
discovered, sime important mathematicians and scientists did not believe it.)
• The proof of the theorem is beyond the scope of this class, and EECS 306, too.
• The theorem says that ANY periodic signal can be represented as the sum of
sinusoids. But it may take an infinite number of them.
2π 2π
• Ak cos( T kt+φk) is the sinusoidal component of x(t) at frequency k.
T
2π
• Note that all sinusoids in the above have frequencies that are multiples of T .
• It also says that ANY periodic signal can be represented as a sum of complex
exponentials. (It may take an infinite number.)
j2πkt
• αk e T is the complex exponential component (equivalently, the spectra
2π
component) of x(t) at frequency T k.
• It follows from the theorem that the spectrum of a periodic signal with period T
is concentrated at frequencies
0, ±1/T, ±2/T, ±3/T, ...
• The three sums given above are considered to be three forms of the "Fourier
series". (A "series" is an infinite sum.)
• The book introduces the first two forms in Section 3.4 (equation (3.4.1)
• It is most common to use the third form, because it is easier to work with. We'll
primarily use the third form.
• The Ak's, φk's, Xk's and αk's are called "Fourier series coefficients" or just
"Fourier coefficients".
• The derivation of the analysis formula is well presented in the new section 3.4.5.
Reading it is strongly recommended.
• Since the integrand is periodic with period T, the integral in the analysis
formula could have limits consisting of any interval of length T.
2π
j kt
• Notice that αk is the correlation of x(t) with e T normalized by 1/T,
which is the energy of one period of the exponential.
• Suggested reading. The discussion of "signal components" at the end of Section
IIIB of "Introduction to Signals" by DLN.
Analysis Formula: shows how to compute the αk's, i.e. the Fourier coefficients
T
1 -j2πkt/T
αk = T
0
∫ x(t) e dt
Notes:
• Finding the spectrum of a periodic signal involves finding the period and the
α k's.
• Finding the αk's is often called "taking the Fourier series".
• There is a one-to-one relationship between periodic signals with period T and
sequences of Fourier coefficients.
In the Fourier series theorem, it can be shown that there is one and only one set
of coefficients that works in the synthesis formula, i.e.
there is one and only one set of coefficients {αk} such that
∞ 2π
j T kt
x(t) = ∑ αk e
k=-∞
∞ 2π
j T kt
Thus, if you find a set of coefficients αk such that x(t) = ∑ αk e .
k=-∞
Then these are necessarily the Fourier coefficients.
∞ j2Tπkt ∞ j 2Tπkt
Equivalently, if ∑ αk e = ∑ βk e , then α k = β k .
k=-∞ k=-∞
This means that in some cases, the Fourier coefficients can be found by
inspection.
Another statement of the one-to-oneness is that if x1(t) and x2(t) are distinct
signals1, each with period T, then for at least one k, αk for x1(t) does not
equal α k for x2(t).
• If a signal has period T, then it also has period 2T. So when applying Fourier
analysis, we have a choice as to T. Often, but certainly not always, we choose
T to equal the fundamental period. When we want to explicitly specify the
value of T used, we will say "the T-second Fourier series".
• If you wish to find the other forms of the Fourier series, use the formulas:
A 0 = α 0, Ak = |α k|, φk = angle(α k), k = 1, 2, ...
X 0 = α 0, Xk = 2α k, k = 1, 2, ...
More properties
• α0 = DC value (important)
• One can compute the Fourier coefficients by integrating over any time
interval of length T:
T
1 -j2πkt/T
αk = T ∫ x(t) e dt
0
a+T
1 -j2πkt/T
= T ∫ x(t) e dt for any value of a (important)
a
1 -j2πkt/T
= T ∫ x(t) e dt (new notation)
<T>
Derivation:
T T
* 1 -j2πkt/T * 1 j2πkt/T
αk = T ∫ x(t) e dt = T ∫ x*(t) e dt
0 0
T
1 j2π(-k)t/T
= T ∫ x(t) e dt because x*(t) = x(t)
0
= α -k
This property does not apply to complex signals.
Derivation:
j2πkt -j2πkt j2πkt 2π
* -j T kt
αk e T + α-k e T = αk e T + αk e by the previous property
j2πkt j2πkt *
= αk e T + α k e T
j2πkt
= 2 Re(αk e T )
2π
= 2 |αk| cos( T k t + angle(αk))
• Linearity: Suppose x(t) and y(t) are periodic with period T and with αk
and βk as their T-second Fourier coefficients, respectively. Then the T-
second Fourier coefficients of x(t) + y(t) are αk+βk. (useful)
∞ 2
= ∑ |α k |
k=-∞
Though useful, the remaining properties will not be emphasized in this class.
• Approximating the Fourier synthesis formula with a finite number of terms,
i.e.
N j2Tπkt
x(t) = ∑ αk e
k=-N
For practical reasons, this is necessary in many cases. It can be shown that
the difference signal
N 2π
j T kt
e(t) = x(t) - ∑ αk e
k=-N
∞ 2
has power 2 ∑ |α k | which goes to zero as N increases. If possible, we
k=N+1
choose N so large that this is small.
• Time shifting: If x(t) has Fourier coefficients αk, then x'(t) = x(t-to) has
Fourier coefficients
' -j2πkto
αk = α k e T
This shows, not surprisingly, that a time shift causes a phase shift of each
spectral component, where the phase shift is proportional to the frequency of
the component.
This shows that multiplying a signal by a complex exponential has the effect
of shifting the spectrum of the signal.
• Time scaling: Let a>0. If x(t) is periodic with period T with T-second
Fourier coefficients αk, then x'(t) = x(at) is periodic with period T/a and
T/a-second Fourier coefficients
'
αk = α k .
This shows that the Fourier coefficients are not affected by a time scaling.
However, a time scaling does affect the spectrum. Specifically, the Fourier
coefficients of x(t) are spaced at intervals of 1/T hz, whereas the Fourier
coefficients of x'(t) are spaced at intervals of a/T hz. For example, if a>1,
then the Fourier coefficients are more widely spaced, and consequently, the
spectrum of x'(t) is expanded towards higher frequencies. This is consistent
with the fact that making a > 1, means that x'(t) fluctuates more rapidly
than x(t).
• Technicalities (mostly a warning that there are such)
In order that the integral in the anslysis formula be well defined and thta the
synthesi formula holds, one needs to assume
T T
2
0
∫ |x(t)| dt < ∞ and/or ∫ |x(t)|
0
dt < ∞
T
2Dirichlet conditions: In addition to ∫ |x(t)| dt < ∞, in any one period x(t) has only a finite number of maxima and minimum
0
and only a finite number of discontinuities.
For example, what if the signal has finite support? Or what if the signal has infinite
support, but is not periodic?
Observation: The Fourier series analysis formula works with a finite segment of a
signal.
If the signal has finite support [t1,t2] apply the analysis formula
t2
1 -j2πkt/(t2-t1)
t2-t1 ∫
αk = x(t) e dt
t1
Now let
~ ∞ j2Tπkt
x(t) = ∑ αk e , where T = t2-t1.
k=-∞
~
Then x(t) is periodic with period T, and
~
x(t) = x(t) when t1 ≤ t ≤ t2
Therefore,
∞ j2Tπkt
x(t) = ∑ αk e , t1 ≤ t ≤ t 2
k=-∞
which is a synthesis formula for x(t) that works only for the support interval
t 1 ≤ t ≤ t2 .
~
x(t) is called the "periodic extension" of x(t).
If the signal has infinite support, choose a time interval length T, divide the
support interval into segments of length T, as in [0,T], [T,2T], [2T,3T], ....
Apply the previous approach to each segment. We obtain a sequence of spectra,
one for each segment. Notice that with this approach the spectra varies with
time. There are lots of issues here --- for example, what choice of T?
2. Find the To-second Fourier coefficients of the following signals, where To is the
fundamental period of the signal.
(a) x(t) = t, 0 ≤ t ≤ To
(b) x(t) = |sin(t)|
(c) x(t) = sin2(t)
3. Consider the signal x(t) whose spectrum is shown below. (All terms are real.)
3
1 1 1
ω rad/sec
-40 -30 -20 0 30 40
4. The nonnegative frequency portion of the spectrum of a signal x(t) is shown below
3
jπ/2
2e
-jπ/3
e
ω rad/sec
10 30
5. The nonnegative frequency portion of the spectrum of a signal x(t) is shown below
-jπ/3
2e
1
ω rad/sec
4π 15
7. Do the signals x(t) and y(t) given below have overlapping spectra? That is, is there a
spectral component of one whose frequency lies on top of one spectral component or
between the frequencies of two spectral components of the other?
y(t) = 2 + cos(10t)cos(11t)
8. Let x(t) be a periodic signal with fundamental period To, and let αk be the
To-second Fourier coefficients of x(t). Suppose we also calculate the 2To-second
2 2
Fourier coefficients, denoted αk. Derive an expression for α k in terms of α k.
9. (a) Show that if x(t) is an even periodic function, i.e. if x(-t) = x(t), then all of its
Fourier coefficients are real.
(a) Show that if x(t) is an odd periodic function, i.e. if x(-t) = -x(t), then all of its
Fourier coefficients are imaginary.
10. Let x(t) and y(t) be sinusoids with different frequencies and support (-∞,∞).
Show that the power of x(t)+y(t) equals the sum of the powers of x(t) and y(t).
(Do not assume that x(t) and y(t) are such that x(t)+y(t) is periodic. This fact
implies that Parseval's theorem can be used to compute the power of a sum of
sinusoids, even if the sum is not periodic.)
11. Derive the linearity property of Fourier series: Suppose x(t) and y(t) are periodic
with period T and with αk and βk as their T-second Fourier coefficients,
respectively. Then the T-second Fourier coefficients of x(t) + y(t) are αk+βk.
12. Derive the time-shifting property of Fourier series: If x(t) has Fourier coefficients
αk, then x'(t) = x(t-to) has Fourier coefficients
2π
' -j T kto
αk = α k e
13. Derive the frequency-shifting property of Fourier series: If x(t) has Fourier
j2πkot
coefficients αk, then x'(t) = x(t) e T has Fourier coefficients
'
αk = αk-ko .
14. Derive the time-scaling property of Fourier series: Let a>0. If x(t) is periodic
with period T with T-second Fourier coefficients αk, then x'(t) = x(at) is periodic
with period T/a and T/a-second Fourier coefficients
'
αk = α k .