Fourier series: review
A function or signal
is called
periodic with period
if
.
All “typical”
periodic function
with period
can be developed as follows
where the coefficients are computed as follows:
The natural interpretation of
[link] is as a decomposition
of the signal
into individual oscillations where
indicates the
amplitude of the even oscillation
of frequency
(meaning its
period is
), and
indicates the
amplitude of the odd oscillation
of frequency
.
For an audio signal
, frequency corresponds to how high a sound is and amplitude to
how loud it is. The oscillations appearing in the Fourier decomposition are oftenalso called harmonics (first, second, third harmonic etc).
Note: one can also integrate over
or any other interval of length
.
Note also, that the average value of
over one period is equal to
.
Complex representation of Fourier series
Often it is more practical to work with complex numbers in the area of Fourier analysis.
Using the famous formula
it is possible to simplify several formulas at the price of working
with complex numbers.Towards this end we write
From this we observe that we may replace
the cos and sin harmonics by a pair of exponential harmonicswith opposite frequencies and with complex amplitudes which
are conjugate complex to each other.In fact, we arrive at the more simple
complex Fourier series :
Note that
is complex, but
is real-valued (the imaginary parts of all
the terms in
add up to zero;
in other words, they cancel each other out). The absolute value of
gives
the amplitude of the complex harmonic with frequency
(meaning its
period is
); the argument of
provides the phase difference between
the complex harmonics.If
is even,
is real for all
and all harmonics are in phase.
To verify
[link] note that by
[link] and
[link] we have for positive
For negative
we note that
by
[link] ,
where
denotes
the conjugate complex. By
[link] ,
the
are exactly as they are supposed to be.
Properties
- Linearity: The Fourier coefficients of the signal
are simply
- Change of frequency: The signal
has the period
and has the same Fourier coefficients
as
— but they correspond to different
frequencies
:
The equation on the right allows to read off the Fourier coefficients and
to establish
. (For an alternative computation see
Comment 1 )
Comment 1
- Shift: The Fourier coefficients of
are simply
The modulation is much more simple in complex writing
then it would be with real coefficients.For the special shift by half a period, i.e.,
we have
.
- Derivative: The Fourier series of the derivative of
with development
[link] can be obtained simply by taking the derivative of
[link] term by term:
Short: when taking the derivative of a signal, the complex Fourier coefficients
get multiplied by
. Consequently, the coefficients of the
derivative decay slower.
Examples
- The pure oscillation (containing only one real but two complex
frequencies)
or
, or
, and all other coefficients are
zero.This formula can be obtained without computing integrals by noting
that
and setting
.
- Functions which are
time-limited , i.e., defined on a finite interval can be periodically
extended. Example with
:
and all other coefficients zero. Note that
is any constant; the value of
does not affect the coefficients
.
We have for
Note that for
the value of the series on the
right is 0, which is equal to
, the middle of the jump
of
at 0, no matter what
is. Similar for
.