9.3. Relationship
of
sine
and
cosine
series
to the
full Fourier
series
415
(a)
Reasoning
as in
Section 9.2.4, show
how the DCT can be
used
to
estimate
the
Fourier cosine
coefficients
of a
function
in
C[0,£j.
(b)
Reasoning
as in
Section 9.2.4, show
how the DCT can be
used
to
estimate
a
function
from
its
Fourier cosine
coefficients.
(c)
Modifying
the
technique presented
in
Section 9.2.5, show
how to
compute
the DCT
using
the DFT
(and hence
the
FFT). (Hint: Given
{fj}?
=0
,
define
{&*£„
by
and
treat
{fj}^-^
N
by the
three step process
on
page 405.)
(d)
Show
that
the DCT is its own
inverse,
up to a
constant
multiple.
To be
precise,
show
that
if the DCT is
applied
to a
given sequence
and
then
the
DCT
is
applied
to the
result,
one
obtains
IN
times
the
original sequence.
9.3
Relationship
of
sine
and
cosine
series
to the
full
Fourier
series
In
Section
9.1,
we
showed
that
the
complex
and
full
Fourier series
are
equivalent
for
a
real-valued
function.
We
will
now
show
that
both
the
Fourier cosine
and the
Fourier sine series
can be
recognized
as
special cases
of the
full
Fourier series
and
hence
of the
complex Fourier series.
This
will show
that
the
complex Fourier series
is
the
most general concept.
To
understand
the
relationships between
the
various Fourier series
for
real-
valued functions,
we
must understand
the
following
terms:
Definition
9.5.
Let f
:
R
->•
R.
Then
f is
1.
odd
if
f(-x)
=
—f(x)
for all x
G
R;
2.
even
if
f(—x)
—
j(x]
for all x 6 R;
3.
periodic with period
T
if
T >
0,
f(x
+ T) =
f(x]
for all x
e
R
;
and
this
condition
does
not
hold
for any
smaller positive value
ofT.
Examples
of odd
functions include polynomials with only
odd
powers
and
sin
(x).
Polynomials with only even powers
and cos (x) are
examples
of
even
func-
tions, while sine
and
cosine
are the
prototypical periodic functions (both have period
2?r).
The
algebraic properties
defining
odd and
even functions
imply
that
the
graph
of
an odd
function
is
symmetric through
the
origin, while
the
graph
of an
even
function
is
symmetric across
the
y-axis
(see Figure 9.5).
We
will
show
that
the
full
Fourier series
of an odd
function reduces
to a
sine
series,
and
that
the
full
Fourier series
of an
even function reduces
to a
cosine series.
We
need this preliminary result:
9.3. Relationship of sine and cosine series
to
the
full
Fourier series
415
(a) Reasoning as in Section 9.2.4, show how the
neT
can be used to estimate
the
Fourier cosine coefficients of a function in
C[O,
fl.
(b) Reasoning as in Section 9.2.4, show how the
neT
can be used
to
estimate
a function from its Fourier cosine coefficients.
(c)
Modifying the technique presented in Section 9.2.5, show how
to
compute
the
neT
using
the
nFT
(and hence
the
FFT).
(Hint: Given
{f;}.f=o,
-
N-l
define
{fj}
j=-N by
jj=fljl,
j=-N,-N+1,
...
,N-1,
and
treat
{jj}f=-l-N by the three step process on page 405.)
(d) Show
that
the
neT
is
its own inverse, up
to
a constant multiple.
To
be
precise, show
that
if the
neT
is
applied
to
a given sequence and then the
neT
is
applied
to
the result, one obtains
2N
times the original sequence.
9.3 Relationship
of
sine
and
cosine
series
to
the full
Fourier
series
In Section 9.1,
we
showed
that
the complex and full Fourier series are equivalent
for a real-valued function.
We
will now show
that
both
the Fourier cosine and
the
Fourier sine series can be recognized as special cases of the full Fourier series and
hence of the complex Fourier series. This will show
that
the complex Fourier series
is
the most general concept.
To
understand the relationships between the various Fourier series for real-
valued functions,
we
must understand the following terms:
Definition
9.5.
Let
f : R -+
R.
Then f is
1.
odd
if
f(
-x)
= -
f(x)
for all x E
R;
2.
even
if
f(
-x)
=
f(x)
for all x E
R;
3.
periodic with period T
if
T >
0,
f(x
+
T)
=
f(x)
for all x E
R,
and this
condition does
not
hold for any smaller positive value
of
T.
Examples of odd functions include polynomials with only odd powers
and
sin (x). Polynomials with only even powers and
cos
(x)
are examples of even func-
tions, while sine and cosine are the prototypical periodic functions (both have period
27f).
The algebraic properties defining odd and even functions imply
that
the graph
of
an
odd function
is
symmetric through the origin, while the graph of
an
even
function
is
symmetric across the y-axis (see Figure 9.5).
We
will show
that
the full Fourier series of an odd function reduces to a sine
series, and
that
the full Fourier series of an even function reduces
to
a cosine series.
We
need this preliminary result: