<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" xmlns:md="http://cnx.rice.edu/mdml/0.4" id="id2255528">
  <name>Discrete-Time Signals</name>
  <metadata>
  <md:version>1.1</md:version>
  <md:created>2008/06/09 10:12:39.552 GMT-5</md:created>
  <md:revised>2008/06/24 00:00:23.604 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="cburrus">
      <md:firstname>C.</md:firstname>
      <md:othername>Sidney</md:othername>
      <md:surname>Burrus</md:surname>
      <md:email>csb@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="dcwill">
      <md:firstname>Daniel</md:firstname>
      <md:othername>Collins</md:othername>
      <md:surname>Williamson</md:surname>
      <md:email>dwilliamson1285@gmail.com</md:email>
    </md:maintainer>
    <md:maintainer id="cburrus">
      <md:firstname>C.</md:firstname>
      <md:othername>Sidney</md:othername>
      <md:surname>Burrus</md:surname>
      <md:email>csb@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract/>
</metadata>
  <content>
    <para id="id2255546">Although the discrete-time signal <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> could be any ordered
sequence of numbers, they are usually samples of a continuous-time
signal. In this case, the real or imaginary valued mathematical
function <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> of the integer <m:math overflow="scroll"><m:mi>n</m:mi></m:math> is not used as an analogy of a
physical signal, but as some representation of it (such as samples).
In some cases, the term <emphasis>digital</emphasis> signal is used
interchangeably with discrete-time signal, or the label digital
signal may be use if the function is not real valued but takes
values consistent with some hardware system.</para>
    <para id="id2255608">Indeed, our very use of the term “discrete-time" indicates the
probable origin of the signals when, in fact, the independent
variable could be length or any other variable or simply an ordering
index. The term “digital" indicates the signal is probably going to
be created, processed, or stored using digital hardware. As in the
continuous-time case, the Fourier transform will again be our
primary tool <cnxn target="bid0"/>, <cnxn target="bid1"/>, <cnxn target="bid2"/>.</para>
    <para id="id2255638">Notation has been an important element in mathematics. In some
cases, discrete-time signals are best denoted as a sequence of
values, in other cases, a vector is created with elements which are
the sequence values. In still other cases, a polynomial is formed
with the sequence values as coefficients for a complex variable. The
vector formulation allows the use of linear algebra and the
polynomial formulation allows the use of complex variable theory.</para>
    <section id="uid1">
      <name>The Discrete Fourier Transform</name>
      <para id="id2255660">The description of signals in terms of their sinusoidal frequency content
has proven to be as powerful and informative for discrete-time signals as
it has for continuous-time signals. It is also probably the most powerful
computational tool we will use. We now develop the basic
discrete-time methods starting with the discrete Fourier transform (DFT)
applied to finite length signals, followed by the discrete-time Fourier
transform (DTFT) for infinitely long signals, and ending with the
z-transform which uses the powerful tools of complex variable theory.</para>
      <section id="uid3">
        <name>Definition of the DFT</name>
        <para id="id2255679">It is assumed that the signal <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> to be analyzed is a sequence of <m:math overflow="scroll"><m:mi>N</m:mi></m:math>
real or complex values which are a function of the integer variable <m:math overflow="scroll"><m:mi>n</m:mi></m:math>.
The DFT of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math>, also called the spectrum of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math>, is a length <m:math overflow="scroll"><m:mi>N</m:mi></m:math>
sequence of complex numbers denoted <m:math overflow="scroll"><m:mrow><m:mi>C</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:math> and defined by</para>
        <equation id="uid4">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>C</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>k</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>n</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>0</m:mn>
                </m:mrow>
                <m:mrow>
                  <m:mi>N</m:mi>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:munderover>
              <m:mi>x</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mi>j</m:mi>
                  <m:mfrac>
                    <m:mrow>
                      <m:mn>2</m:mn>
                      <m:mi>π</m:mi>
                    </m:mrow>
                    <m:mi>N</m:mi>
                  </m:mfrac>
                  <m:mi>n</m:mi>
                  <m:mi>k</m:mi>
                </m:mrow>
              </m:msup>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2255875">using the usual engineering notation: <m:math overflow="scroll"><m:mrow><m:mi>j</m:mi><m:mo>=</m:mo><m:msqrt><m:mrow><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msqrt></m:mrow></m:math>. The inverse
transform (IDFT) which retrieves <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> from <m:math overflow="scroll"><m:mrow><m:mi>C</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:math> is given
by</para>
        <equation id="uid5">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>x</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mfrac>
                <m:mn>1</m:mn>
                <m:mi>N</m:mi>
              </m:mfrac>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>k</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>0</m:mn>
                </m:mrow>
                <m:mrow>
                  <m:mi>N</m:mi>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:munderover>
              <m:mi>C</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>k</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mi>j</m:mi>
                  <m:mfrac>
                    <m:mrow>
                      <m:mn>2</m:mn>
                      <m:mi>π</m:mi>
                    </m:mrow>
                    <m:mi>N</m:mi>
                  </m:mfrac>
                  <m:mi>n</m:mi>
                  <m:mi>k</m:mi>
                </m:mrow>
              </m:msup>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2256024">which is easily verified by substitution into (1). Indeed, this
verification will require using the orthogonality of the basis function of
the DFT which is</para>
        <equation id="uid6">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>k</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>0</m:mn>
                </m:mrow>
                <m:mrow>
                  <m:mi>N</m:mi>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:munderover>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mi>j</m:mi>
                  <m:mfrac>
                    <m:mrow>
                      <m:mn>2</m:mn>
                      <m:mi>π</m:mi>
                    </m:mrow>
                    <m:mi>N</m:mi>
                  </m:mfrac>
                  <m:mi>m</m:mi>
                  <m:mi>k</m:mi>
                </m:mrow>
              </m:msup>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mi>j</m:mi>
                  <m:mfrac>
                    <m:mrow>
                      <m:mn>2</m:mn>
                      <m:mi>π</m:mi>
                    </m:mrow>
                    <m:mi>N</m:mi>
                  </m:mfrac>
                  <m:mi>n</m:mi>
                  <m:mi>k</m:mi>
                </m:mrow>
              </m:msup>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mfenced separators="" open="{" close="">
                <m:mtable>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mi>N</m:mi>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mtext>if</m:mtext>
                        <m:mspace width="4.pt"/>
                        <m:mrow>
                          <m:mi>n</m:mi>
                          <m:mo>=</m:mo>
                          <m:mi>m</m:mi>
                        </m:mrow>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mn>0</m:mn>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mtext>if</m:mtext>
                        <m:mspace width="4.pt"/>
                        <m:mrow>
                          <m:mi>n</m:mi>
                          <m:mo>≠</m:mo>
                          <m:mi>m</m:mi>
                        </m:mrow>
                        <m:mo>.</m:mo>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2256416">The exponential basis functions, <m:math overflow="scroll"><m:msup><m:mi>e</m:mi><m:mrow><m:mo>-</m:mo><m:mi>j</m:mi><m:mfrac><m:mrow><m:mn>2</m:mn><m:mi>π</m:mi></m:mrow><m:mi>N</m:mi></m:mfrac><m:mi>k</m:mi></m:mrow></m:msup></m:math>, for <m:math overflow="scroll"><m:mrow><m:mi>k</m:mi><m:mo>∈</m:mo><m:mo>{</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mi>N</m:mi><m:mo>-</m:mo><m:mn>1</m:mn><m:mo>}</m:mo></m:mrow></m:math>, are the <m:math overflow="scroll"><m:mi>N</m:mi></m:math> values of the <m:math overflow="scroll"><m:mi>N</m:mi></m:math>th roots of unity (the N zeros of
the polynomial <m:math overflow="scroll"><m:msup><m:mrow><m:mo>(</m:mo><m:mi>s</m:mi><m:mo>-</m:mo><m:mn>1</m:mn><m:mo>)</m:mo></m:mrow><m:mi>N</m:mi></m:msup></m:math>). This property
is what connects the DFT to convolution and allows efficient algorithms
for calculation to be developed <cnxn target="bid3"/>. They are used so often that the
following notation is defined by</para>
        <equation id="uid7">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mi>W</m:mi>
                <m:mi>N</m:mi>
              </m:msub>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mi>j</m:mi>
                  <m:mfrac>
                    <m:mrow>
                      <m:mn>2</m:mn>
                      <m:mi>π</m:mi>
                    </m:mrow>
                    <m:mi>N</m:mi>
                  </m:mfrac>
                </m:mrow>
              </m:msup>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2256573">with the subscript being omitted if the sequence length is obvious from
context. Using this notation, the DFT becomes</para>
        <equation id="uid8">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>C</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>k</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>n</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>0</m:mn>
                </m:mrow>
                <m:mrow>
                  <m:mi>N</m:mi>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:munderover>
              <m:mi>x</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:msubsup>
                <m:mi>W</m:mi>
                <m:mi>N</m:mi>
                <m:mrow>
                  <m:mi>n</m:mi>
                  <m:mi>k</m:mi>
                </m:mrow>
              </m:msubsup>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2256658">One should notice that with the finite summation of the DFT, there is no
question of convergence or of the ability to interchange the order of
summation. No “delta functions” are needed and the <m:math overflow="scroll"><m:mi>N</m:mi></m:math> transform values
can be calculated exactly (within the accuracy of the computer or
calculator used) from the <m:math overflow="scroll"><m:mi>N</m:mi></m:math> signal values with a finite number of
arithmetic operations.</para>
      </section>
      <section id="uid9">
        <name>Matrix Formulation of the DFT</name>
        <para id="id2256696">There are several advantages to using a matrix formulation of the DFT.
This is given by writing (<cnxn target="uid4"/>) or (<cnxn target="uid8"/>) in matrix operator form as</para>
        <equation id="uid10">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>C</m:mi>
                        <m:mn>0</m:mn>
                      </m:msub>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>C</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>C</m:mi>
                        <m:mn>2</m:mn>
                      </m:msub>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mo>⋮</m:mo>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>C</m:mi>
                        <m:mrow>
                          <m:mi>N</m:mi>
                          <m:mo>-</m:mo>
                          <m:mn>1</m:mn>
                        </m:mrow>
                      </m:msub>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>0</m:mn>
                      </m:msup>
                    </m:mtd>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>0</m:mn>
                      </m:msup>
                    </m:mtd>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>0</m:mn>
                      </m:msup>
                    </m:mtd>
                    <m:mtd>
                      <m:mo>⋯</m:mo>
                    </m:mtd>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>0</m:mn>
                      </m:msup>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>0</m:mn>
                      </m:msup>
                    </m:mtd>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>1</m:mn>
                      </m:msup>
                    </m:mtd>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>2</m:mn>
                      </m:msup>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd/>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>0</m:mn>
                      </m:msup>
                    </m:mtd>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>2</m:mn>
                      </m:msup>
                    </m:mtd>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>4</m:mn>
                      </m:msup>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd/>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mo>⋮</m:mo>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd/>
                    <m:mtd/>
                    <m:mtd>
                      <m:mo>⋮</m:mo>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mn>0</m:mn>
                      </m:msup>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd>
                      <m:mo>⋯</m:mo>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd>
                      <m:msup>
                        <m:mi>W</m:mi>
                        <m:mrow>
                          <m:mo>(</m:mo>
                          <m:mi>N</m:mi>
                          <m:mo>-</m:mo>
                          <m:mn>1</m:mn>
                          <m:mo>)</m:mo>
                          <m:mo>(</m:mo>
                          <m:mi>N</m:mi>
                          <m:mo>-</m:mo>
                          <m:mn>1</m:mn>
                          <m:mo>)</m:mo>
                        </m:mrow>
                      </m:msup>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>x</m:mi>
                        <m:mn>0</m:mn>
                      </m:msub>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>x</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>x</m:mi>
                        <m:mn>2</m:mn>
                      </m:msub>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mo>⋮</m:mo>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>x</m:mi>
                        <m:mrow>
                          <m:mi>N</m:mi>
                          <m:mo>-</m:mo>
                          <m:mn>1</m:mn>
                        </m:mrow>
                      </m:msub>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2257001">or</para>
        <equation id="uid11">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mrow>
                <m:mi mathvariant="bold">C</m:mi>
                <m:mspace width="0.277778em"/>
                <m:mo>=</m:mo>
                <m:mspace width="0.277778em"/>
                <m:mi mathvariant="bold">Fx</m:mi>
              </m:mrow>
              <m:mo>.</m:mo>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2257037">The orthogonality of the basis function in (<cnxn target="uid4"/>) shows up in this matrix
formulation by the columns of <m:math overflow="scroll"><m:mi>F</m:mi></m:math>
 being orthogonal to each other as
are the rows. This means that <m:math overflow="scroll"><m:mrow><m:mrow><m:msup><m:mi mathvariant="bold">F</m:mi><m:mi mathvariant="bold">T</m:mi></m:msup><m:mi mathvariant="bold">F</m:mi><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/></m:mrow><m:mi>k</m:mi><m:mi mathvariant="bold">I</m:mi></m:mrow></m:math>, where <m:math overflow="scroll"><m:mi>k</m:mi></m:math> is a
scalar constant, and, therefore, <m:math overflow="scroll"><m:mrow><m:mrow><m:msup><m:mi mathvariant="bold">F</m:mi><m:mi mathvariant="bold">T</m:mi></m:msup><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/></m:mrow><m:mi>k</m:mi><m:msup><m:mi mathvariant="bold">F</m:mi><m:mrow><m:mo>-</m:mo><m:mn mathvariant="bold">1</m:mn></m:mrow></m:msup></m:mrow></m:math>. This is
called a unitary operator.</para>
        <para id="id2257152">The definition of the DFT in (<cnxn target="uid4"/>) emphasizes the fact that each of
the <m:math overflow="scroll"><m:mi>N</m:mi></m:math> DFT values are the sum of <m:math overflow="scroll"><m:mi>N</m:mi></m:math> products. The matrix formulation in
(<cnxn target="uid10"/>) has two interpretations. Each <m:math overflow="scroll"><m:mi>k</m:mi></m:math>-th DFT term is the inner
product of two vectors, <m:math overflow="scroll"><m:mi>k</m:mi></m:math>-th row of <m:math overflow="scroll"><m:mi mathvariant="bold">F</m:mi></m:math> and <m:math overflow="scroll"><m:mi mathvariant="bold">x</m:mi></m:math>; or, the DFT
vector, <m:math overflow="scroll"><m:mi mathvariant="bold">C</m:mi></m:math> is a weighted sum of the <m:math overflow="scroll"><m:mi>N</m:mi></m:math> columns of <m:math overflow="scroll"><m:mi mathvariant="bold">F</m:mi></m:math> with
weights being the elements of the signal vector <m:math overflow="scroll"><m:mi mathvariant="bold">x</m:mi></m:math>. A third view
of the DFT is the operator view which is simply the single matrix equation
(<cnxn target="uid11"/>).</para>
        <para id="id2257272">It is instructive at this point to write a computer program to calculate
the DFT of a signal. In Matlab <cnxn target="bid4"/>, there is a pre-programmed
function to calculate the DFT, but that hides the scalar operations. One
should program the transform in the scalar interpretive language of Matlab
or some other lower level language such as FORTRAN, C, BASIC, Pascal, etc.
This will illustrate how many multiplications and additions and
trigonometric evaluations are required and how much memory is needed. Do
not use a complex data type which also hides arithmetic, but use Euler's
relations</para>
        <equation id="uid12">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mi>j</m:mi>
                  <m:mi>x</m:mi>
                </m:mrow>
              </m:msup>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mo form="prefix">cos</m:mo>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>x</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>+</m:mo>
              <m:mi>j</m:mi>
              <m:mo form="prefix">sin</m:mo>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>x</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2257348">to explicitly calculate the real and imaginary part of <m:math overflow="scroll"><m:mrow><m:mi>C</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:math>.</para>
        <para id="id2257370">If Matlab is available, first program the DFT using only scalar
operations. It will require two nested loops and will run rather
slowly because the execution of loops is interpreted. Next, program
it using vector inner products to calculate each <m:math overflow="scroll"><m:mrow><m:mi>C</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:math> which will
require only one loop and will run faster. Finally, program it
using a single matrix multiplication requiring no loops and running
much faster. Check the memory requirements of the three approaches.</para>
        <para id="id2257398">The DFT and IDFT are a completely well-defined, legitimate transform pair
with a sound theoretical basis that do not need to be derived from or
interpreted as an approximation to the continuous-time Fourier series or
integral. The discrete-time and continuous-time transforms and other
tools are related and have parallel properties, but neither depends on the
other.</para>
        <para id="id2257407">The notation used here is consistent with most of the literature and with
the standards given in <cnxn target="bid5"/>. The independent index variable
<m:math overflow="scroll"><m:mi>n</m:mi></m:math> of the signal <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is an integer, but it is usually interpreted as
time or, occasionally, as distance. The independent index variable <m:math overflow="scroll"><m:mi>k</m:mi></m:math> of
the DFT <m:math overflow="scroll"><m:mrow><m:mi>C</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:math> is also an integer, but it is generally considered as
frequency. The DFT is called the spectrum of the signal and the magnitude
of the complex valued DFT is called the magnitude of that spectrum and the
angle or argument is called the phase.</para>
      </section>
      <section id="uid13">
        <name>Extensions of <!--Math is not currently allowed in CNXML section title.--></name>
        <para id="id2257495">Although the finite length signal <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is defined only over the
interval <m:math overflow="scroll"><m:mrow><m:mo>{</m:mo><m:mn>0</m:mn><m:mo>≤</m:mo><m:mi>n</m:mi><m:mo>≤</m:mo><m:mo>(</m:mo><m:mi>N</m:mi><m:mo>-</m:mo><m:mn>1</m:mn><m:mo>)</m:mo><m:mo>}</m:mo></m:mrow></m:math>, the IDFT of <m:math overflow="scroll"><m:mrow><m:mi>C</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:math> can be
evaluated outside this interval to give well defined values. Indeed,
this process gives the periodic property 4. There are two ways of
formulating this phenomenon. One is to periodically extend <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> to
<m:math overflow="scroll"><m:mrow><m:mo>-</m:mo><m:mi>∞</m:mi></m:mrow></m:math> and <m:math overflow="scroll"><m:mrow><m:mo>+</m:mo><m:mi>∞</m:mi></m:mrow></m:math> and work with this new signal. A second
more general way is evaluate all indices <m:math overflow="scroll"><m:mi>n</m:mi></m:math> and <m:math overflow="scroll"><m:mi>k</m:mi></m:math> modulo <m:math overflow="scroll"><m:mi>N</m:mi></m:math>.
Rather than considering the periodic extension of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> on the line
of integers, the finite length line is formed into a circle or a
line around a cylinder so that after counting to <m:math overflow="scroll"><m:mrow><m:mi>N</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:math>, the next
number is zero, not a periodic replication of it. The periodic
extension is easier to visualize initially and is more commonly used
for the definition of the DFT, but the evaluation of the indices by
residue reduction modulo <m:math overflow="scroll"><m:mi>N</m:mi></m:math> is a more general definition and can be
better utilized to develop efficient algorithms for calculating the
DFT <cnxn target="bid3"/>.</para>
        <para id="id2257690">Since the indices are evaluated only over the basic interval, any
values could be assigned <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> outside that interval. The periodic
extension is the choice most consistent with the other properties of
the transform, however, it could be assigned to zero <cnxn target="bid0"/>. An
interesting possibility is to artificially create a length <m:math overflow="scroll"><m:mrow><m:mn>2</m:mn><m:mi>N</m:mi></m:mrow></m:math>
sequence by appending <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mo>-</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> to the end of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math>. This would
remove the discontinuities of periodic extensions of this new length
<m:math overflow="scroll"><m:mrow><m:mn>2</m:mn><m:mi>N</m:mi></m:mrow></m:math> signal and perhaps give a more accurate measure of the
frequency content of the signal with no artifacts caused by “end
effects". Indeed, this modification of the DFT gives what is called
the discrete cosine transform (DCT) <cnxn target="bid6"/>. We will assume the
implicit periodic extensions to <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> with no special notation
unless this characteristic is important, then we will use the
notation <m:math overflow="scroll"><m:mrow><m:mover accent="true"><m:mi>x</m:mi><m:mo>˜</m:mo></m:mover><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math>.</para>
      </section>
      <section id="uid14">
        <name>Convolution</name>
        <para id="id2257845">Convolution is an important operation in signal processing that is
in some ways more complicated in discrete-time signal processing
than in continuous-time signal processing and in other ways easier.
The basic input-output relation for a discrete-time system is given
by so-called linear or non-cyclic convolution defined and denoted by</para>
        <equation id="uid15">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>y</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>m</m:mi>
                  <m:mo>=</m:mo>
                  <m:mo>-</m:mo>
                  <m:mi>∞</m:mi>
                </m:mrow>
                <m:mi>∞</m:mi>
              </m:munderover>
              <m:mi>h</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>m</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:mi>x</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>-</m:mo>
                <m:mi>m</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mi>h</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>*</m:mo>
              <m:mi>x</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2257961">where <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is the perhaps infinitely long input discrete-time signal,
<m:math overflow="scroll"><m:mrow><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is the perhaps infinitely long impulse response of the system, and
<m:math overflow="scroll"><m:mrow><m:mi>y</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is the output. The DFT is, however, intimately related to cyclic
convolution, not non-cyclic convolution. Cyclic convolution is defined
and denoted by</para>
        <equation id="uid16">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mover accent="true">
                <m:mi>y</m:mi>
                <m:mo>˜</m:mo>
              </m:mover>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>m</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>0</m:mn>
                </m:mrow>
                <m:mrow>
                  <m:mi>N</m:mi>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:munderover>
              <m:mover accent="true">
                <m:mi>h</m:mi>
                <m:mo>˜</m:mo>
              </m:mover>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>m</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:mover accent="true">
                <m:mi>x</m:mi>
                <m:mo>˜</m:mo>
              </m:mover>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>-</m:mo>
                <m:mi>m</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mi>h</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>∘</m:mo>
              <m:mi>x</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2258151">where either all of the indices or independent integer variables are
evaluated modulo <m:math overflow="scroll"><m:mi>N</m:mi></m:math> or all of the signals are periodically extended
outside their length <m:math overflow="scroll"><m:mi>N</m:mi></m:math> domains.</para>
        <para id="id2258178">This cyclic (sometimes called circular) convolution can be expressed as a
matrix operation by converting the signal <m:math overflow="scroll"><m:mrow><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> into a matrix operator as</para>
        <equation id="uid17">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi mathvariant="bold">H</m:mi>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mn>0</m:mn>
                      </m:msub>
                    </m:mtd>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mrow>
                          <m:mi>L</m:mi>
                          <m:mo>-</m:mo>
                          <m:mn>1</m:mn>
                        </m:mrow>
                      </m:msub>
                    </m:mtd>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mrow>
                          <m:mi>L</m:mi>
                          <m:mo>-</m:mo>
                          <m:mn>2</m:mn>
                        </m:mrow>
                      </m:msub>
                    </m:mtd>
                    <m:mtd>
                      <m:mo>⋯</m:mo>
                    </m:mtd>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                    </m:mtd>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mn>0</m:mn>
                      </m:msub>
                    </m:mtd>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mrow>
                          <m:mi>L</m:mi>
                          <m:mo>-</m:mo>
                          <m:mn>1</m:mn>
                        </m:mrow>
                      </m:msub>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd/>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mn>2</m:mn>
                      </m:msub>
                    </m:mtd>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                    </m:mtd>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mn>0</m:mn>
                      </m:msub>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd/>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mo>⋮</m:mo>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd/>
                    <m:mtd/>
                    <m:mtd>
                      <m:mo>⋮</m:mo>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mrow>
                          <m:mi>L</m:mi>
                          <m:mo>-</m:mo>
                          <m:mn>1</m:mn>
                        </m:mrow>
                      </m:msub>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd>
                      <m:mo>⋯</m:mo>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd>
                      <m:msub>
                        <m:mi>h</m:mi>
                        <m:mn>0</m:mn>
                      </m:msub>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mo>,</m:mo>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2258388">The cyclic convolution can then be written in matrix notation as</para>
        <equation id="uid18">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi mathvariant="bold">Y</m:mi>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mi mathvariant="bold">H</m:mi>
              <m:mi mathvariant="bold">X</m:mi>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2258430">where <m:math overflow="scroll"><m:mi mathvariant="bold">X</m:mi></m:math> and <m:math overflow="scroll"><m:mi mathvariant="bold">Y</m:mi></m:math> are column matrices or vectors of the input
and output values respectively.</para>
        <para id="id2258460">Because non-cyclic convolution is often what you want to do and cyclic
convolution is what is related to the powerful DFT, we want to develop a
way of doing non-cyclic convolution by doing cyclic convolution.</para>
        <para id="id2258467">The convolution of a length <m:math overflow="scroll"><m:mi>N</m:mi></m:math> sequence with a length <m:math overflow="scroll"><m:mi>M</m:mi></m:math> sequence yields
a length <m:math overflow="scroll"><m:mrow><m:mi>N</m:mi><m:mo>+</m:mo><m:mi>M</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:math> output sequence. The calculation of non-cyclic
convolution by using cyclic convolution requires modifying the signals by
appending zeros to them. This will be developed later.</para>
      </section>
      <section id="uid19">
        <name>Properties of the DFT</name>
        <para id="id2258523">The properties of the DFT are extremely important in applying it to signal
analysis and to interpreting it. The main properties are given here
using the notation that the DFT of a length-<m:math overflow="scroll"><m:mi>N</m:mi></m:math> complex sequence <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is
<m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>C</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:math>.</para>
        <list id="id2258598" type="enumerated">
          <item id="uid21">Linear Operator: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>+</m:mo><m:mi>y</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mo>+</m:mo><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>y</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo></m:mrow></m:math></item>
          <item id="uid22">Unitary Operator: <m:math overflow="scroll"><m:mrow><m:mrow><m:msup><m:mi mathvariant="bold">F</m:mi><m:mrow><m:mo>-</m:mo><m:mn mathvariant="bold">1</m:mn></m:mrow></m:msup><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/></m:mrow><m:mfrac><m:mn>1</m:mn><m:mi>N</m:mi></m:mfrac><m:msup><m:mi mathvariant="bold">F</m:mi><m:mi mathvariant="bold">T</m:mi></m:msup></m:mrow></m:math></item>
          <item id="uid23">Periodic Spectrum: <m:math overflow="scroll"><m:mrow><m:mi>C</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>C</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>+</m:mo><m:mi>N</m:mi><m:mo>)</m:mo></m:mrow></m:math></item>
          <item id="uid24">Periodic Extensions of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math>: <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>+</m:mo><m:mi>N</m:mi><m:mo>)</m:mo></m:mrow></m:math></item>
          <item id="uid25">Properties of Even and Odd Parts: <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>u</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>+</m:mo><m:mi>j</m:mi><m:mi>v</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> and
<m:math overflow="scroll"><m:mrow><m:mi>C</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>A</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo><m:mo>+</m:mo><m:mi>j</m:mi><m:mi>B</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:math><table id="id2258973">
<tgroup cols="6" colsep="0" rowsep="0"><colspec colnum="1" colsep="0"/>
<colspec colnum="2" colsep="1"/>
<colspec colnum="3" colsep="0"/>
<colspec colnum="4" colsep="1"/>
<colspec colnum="5" colsep="0"/>
<colspec colnum="6" colsep="1"/>
<tbody>
<row rowsep="1"><entry><m:math overflow="scroll"><m:mi>u</m:mi></m:math></entry><entry><m:math overflow="scroll"><m:mi>v</m:mi></m:math></entry><entry><m:math overflow="scroll"><m:mi>A</m:mi></m:math></entry><entry><m:math overflow="scroll"><m:mi>B</m:mi></m:math></entry><entry><m:math overflow="scroll"><m:mrow><m:mo>|</m:mo><m:mi>C</m:mi><m:mo>|</m:mo></m:mrow></m:math></entry><entry><m:math overflow="scroll"><m:mi>θ</m:mi></m:math></entry></row><row><entry>even</entry><entry>0</entry><entry>even</entry><entry>0</entry><entry>even</entry><entry>0</entry></row><row><entry>odd</entry><entry>0</entry><entry>0</entry><entry>odd</entry><entry>even</entry><entry><m:math overflow="scroll"><m:mrow><m:mi>π</m:mi><m:mo>/</m:mo><m:mn>2</m:mn></m:mrow></m:math></entry></row><row><entry>0</entry><entry>even</entry><entry>0</entry><entry>even</entry><entry>even</entry><entry><m:math overflow="scroll"><m:mrow><m:mi>π</m:mi><m:mo>/</m:mo><m:mn>2</m:mn></m:mrow></m:math></entry></row><row><entry>0</entry><entry>odd</entry><entry>odd</entry><entry>0</entry><entry>even</entry><entry>0</entry></row></tbody>
</tgroup>
</table></item>
          <item id="uid26">Cyclic Convolution: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>∘</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo></m:mrow></m:math></item>
          <item id="uid27">Multiplication: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mo>∘</m:mo><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo></m:mrow></m:math></item>
          <item id="uid28">Parseval: <m:math overflow="scroll"><m:mrow><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>n</m:mi><m:mo>=</m:mo><m:mn>0</m:mn></m:mrow><m:mrow><m:mi>N</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msubsup><m:msup><m:mrow><m:mo>|</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>|</m:mo></m:mrow><m:mn>2</m:mn></m:msup><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mfrac><m:mn>1</m:mn><m:mi>N</m:mi></m:mfrac><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>k</m:mi><m:mo>=</m:mo><m:mn>0</m:mn></m:mrow><m:mrow><m:mi>N</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msubsup><m:msup><m:mrow><m:mo>|</m:mo><m:mi>C</m:mi><m:mrow><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow><m:mo>|</m:mo></m:mrow><m:mn>2</m:mn></m:msup></m:mrow></m:math></item>
          <item id="uid29">Shift: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>-</m:mo><m:mi>M</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>C</m:mi><m:mrow><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow><m:msup><m:mi>e</m:mi><m:mrow><m:mo>-</m:mo><m:mi>j</m:mi><m:mn>2</m:mn><m:mi>π</m:mi><m:mi>M</m:mi><m:mi>k</m:mi><m:mo>/</m:mo><m:mi>N</m:mi></m:mrow></m:msup></m:mrow></m:math></item>
          <item id="uid30">Modulate: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:msup><m:mi>e</m:mi><m:mrow><m:mi>j</m:mi><m:mn>2</m:mn><m:mi>π</m:mi><m:mi>K</m:mi><m:mi>n</m:mi><m:mo>/</m:mo><m:mi>N</m:mi></m:mrow></m:msup><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>C</m:mi><m:mrow><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>-</m:mo><m:mi>K</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math></item>
          <item id="uid31">Down Sample or Decimate: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>K</m:mi><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mfrac><m:mn>1</m:mn><m:mi>K</m:mi></m:mfrac><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>m</m:mi><m:mo>=</m:mo><m:mn>0</m:mn></m:mrow><m:mrow><m:mi>K</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msubsup><m:mi>C</m:mi><m:mrow><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>+</m:mo><m:mi>L</m:mi><m:mi>m</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> where <m:math overflow="scroll"><m:mrow><m:mi>N</m:mi><m:mo>=</m:mo><m:mi>L</m:mi><m:mi>K</m:mi></m:mrow></m:math></item>
          <item id="uid32">Up Sample or Stretch: If <m:math overflow="scroll"><m:mrow><m:msub><m:mi>x</m:mi><m:mi>s</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mn>2</m:mn><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> for integer <m:math overflow="scroll"><m:mi>n</m:mi></m:math> and
zero otherwise,
then <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:msub><m:mi>x</m:mi><m:mi>s</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>C</m:mi><m:mrow><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math>,
for <m:math overflow="scroll"><m:mrow><m:mi>k</m:mi><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>1</m:mn><m:mo>,</m:mo><m:mn>2</m:mn><m:mo>,</m:mo><m:mo>.</m:mo><m:mo>.</m:mo><m:mo>.</m:mo><m:mo>,</m:mo><m:mn>2</m:mn><m:mi>N</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:math></item>
          <item id="uid33">N Roots of Unity: <m:math overflow="scroll"><m:mrow><m:msup><m:mrow><m:mo>(</m:mo><m:msubsup><m:mi>W</m:mi><m:mi>N</m:mi><m:mi>k</m:mi></m:msubsup><m:mo>)</m:mo></m:mrow><m:mi>N</m:mi></m:msup><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mn>1</m:mn></m:mrow></m:math> for <m:math overflow="scroll"><m:mrow><m:mi>k</m:mi><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>1</m:mn><m:mo>,</m:mo><m:mn>2</m:mn><m:mo>,</m:mo><m:mo>.</m:mo><m:mo>.</m:mo><m:mo>.</m:mo><m:mo>,</m:mo><m:mi>N</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:math></item>
          <item id="uid34">Orthogonality:
<equation id="uid35"><m:math mode="display" overflow="scroll"><m:mrow><m:munderover><m:mo>∑</m:mo><m:mrow><m:mi>k</m:mi><m:mo>=</m:mo><m:mn>0</m:mn></m:mrow><m:mrow><m:mi>N</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:munderover><m:msup><m:mi>e</m:mi><m:mrow><m:mo>-</m:mo><m:mi>j</m:mi><m:mn>2</m:mn><m:mi>π</m:mi><m:mi>m</m:mi><m:mi>k</m:mi><m:mo>/</m:mo><m:mi>N</m:mi></m:mrow></m:msup><m:msup><m:mi>e</m:mi><m:mrow><m:mi>j</m:mi><m:mn>2</m:mn><m:mi>π</m:mi><m:mi>n</m:mi><m:mi>k</m:mi><m:mo>/</m:mo><m:mi>N</m:mi></m:mrow></m:msup><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mfenced separators="" open="{" close=""><m:mtable><m:mtr><m:mtd columnalign="left"><m:mi>N</m:mi></m:mtd><m:mtd columnalign="left"><m:mrow><m:mtext>if</m:mtext><m:mspace width="4.pt"/><m:mrow><m:mi>n</m:mi><m:mo>=</m:mo><m:mi>m</m:mi></m:mrow></m:mrow></m:mtd></m:mtr><m:mtr><m:mtd columnalign="left"><m:mn>0</m:mn></m:mtd><m:mtd columnalign="left"><m:mrow><m:mtext>if</m:mtext><m:mspace width="4.pt"/><m:mrow><m:mi>n</m:mi><m:mo>≠</m:mo><m:mi>m</m:mi></m:mrow><m:mo>.</m:mo></m:mrow></m:mtd></m:mtr></m:mtable></m:mfenced></m:mrow></m:math></equation></item>
          <item id="uid36">Diagonalization of Convolution: If cyclic convolution is expressed as a matrix
operation by <m:math overflow="scroll"><m:mrow><m:mi mathvariant="bold">y</m:mi><m:mo>=</m:mo><m:mi mathvariant="bold">Hx</m:mi></m:mrow></m:math> with <m:math overflow="scroll"><m:mi mathvariant="bold">H</m:mi></m:math> given by (<cnxn target="uid17"/>),
the DFT operator diagonalizes the convolution operator <m:math overflow="scroll"><m:mi mathvariant="bold">H</m:mi></m:math>, or
<m:math overflow="scroll"><m:mrow><m:msup><m:mi mathvariant="bold">F</m:mi><m:mi mathvariant="bold">T</m:mi></m:msup><m:mi mathvariant="bold">HF</m:mi><m:mo>=</m:mo><m:msub><m:mi mathvariant="bold">H</m:mi><m:mi mathvariant="bold">d</m:mi></m:msub></m:mrow></m:math> where <m:math overflow="scroll"><m:msub><m:mi mathvariant="bold">H</m:mi><m:mi mathvariant="bold">d</m:mi></m:msub></m:math> is a diagonal matrix with
the <m:math overflow="scroll"><m:mi>N</m:mi></m:math> values of the DFT of <m:math overflow="scroll"><m:mrow><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> on the diagonal. This is a matrix
statement of Property 6. Note the columns of <m:math overflow="scroll"><m:mi mathvariant="bold">F</m:mi></m:math> are the <m:math overflow="scroll"><m:mi>N</m:mi></m:math>
eigenvectors of <m:math overflow="scroll"><m:mi mathvariant="bold">H</m:mi></m:math>, independent of the values of <m:math overflow="scroll"><m:mrow><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math>.
</item>
        </list>
        <para id="id2260446">One can show that any “kernel" of a transform that would support cyclic,
length-N convolution must be the N roots of unity. This says the DFT is
the only transform over the complex number field that will support
convolution. However, if one considers various finite fields or rings, an
interesting transform, called the Number Theoretic Transform, can be
defined and used because the roots of unity are simply two raised to a
powers which is a simple word shift for certain binary number
representations <cnxn target="bid7"/>, <cnxn target="bid8"/>.</para>
      </section>
      <section id="uid37">
        <name>Examples of the DFT</name>
        <para id="id2260478">It is very important to develop insight and intuition into the DFT or
spectral characteristics of various standard signals. A few DFT's of
standard signals together with the above properties will give a fairly
large set of results. They will also aid in quickly obtaining the DFT of
new signals. The discrete-time impulse <m:math overflow="scroll"><m:mrow><m:mi>δ</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is defined by</para>
        <equation id="uid38">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>δ</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mfenced separators="" open="{" close="">
                <m:mtable>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mn>1</m:mn>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mspace width="4.pt"/>
                        <m:mtext>when</m:mtext>
                        <m:mspace width="4.pt"/>
                        <m:mrow>
                          <m:mi>n</m:mi>
                          <m:mo>=</m:mo>
                          <m:mn>0</m:mn>
                        </m:mrow>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mn>0</m:mn>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mspace width="4.pt"/>
                        <m:mtext>otherwise</m:mtext>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2260588">The discrete-time pulse <m:math overflow="scroll"><m:mrow><m:msub><m:mo>⊓</m:mo><m:mi>M</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> is defined by</para>
        <equation id="uid39">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mo>⊓</m:mo>
                <m:mi>M</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mfenced separators="" open="{" close="">
                <m:mtable>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mn>1</m:mn>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mspace width="4.pt"/>
                        <m:mtext>when</m:mtext>
                        <m:mspace width="4.pt"/>
                        <m:mrow>
                          <m:mi>n</m:mi>
                          <m:mo>=</m:mo>
                          <m:mn>0</m:mn>
                          <m:mo>,</m:mo>
                          <m:mn>1</m:mn>
                          <m:mo>,</m:mo>
                          <m:mo>⋯</m:mo>
                          <m:mo>,</m:mo>
                          <m:mi>M</m:mi>
                          <m:mo>-</m:mo>
                          <m:mn>1</m:mn>
                        </m:mrow>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mn>0</m:mn>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mspace width="4.pt"/>
                        <m:mtext>otherwise</m:mtext>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2260724">Several examples are:</para>
        <list id="id2260730" type="bulleted">
          <item id="uid40"><m:math overflow="scroll"><m:mrow><m:mi>D</m:mi><m:mi>F</m:mi><m:mi>T</m:mi><m:mo>{</m:mo><m:mi>δ</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mn>1</m:mn></m:mrow></m:math>, The DFT of an impulse is a constant.
</item>
          <item id="uid41"><m:math overflow="scroll"><m:mrow><m:mi>D</m:mi><m:mi>F</m:mi><m:mi>T</m:mi><m:mo>{</m:mo><m:mn>1</m:mn><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>N</m:mi><m:mi>δ</m:mi><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:math>, The DFT of a constant is an impulse.
</item>
          <item id="uid42">
            <equation id="id2260836">
              <m:math overflow="scroll">
                <m:mrow>
                  <m:mi>D</m:mi>
                  <m:mi>F</m:mi>
                  <m:mi>T</m:mi>
                  <m:mrow>
                    <m:mo>{</m:mo>
                    <m:msup>
                      <m:mi>e</m:mi>
                      <m:mrow>
                        <m:mi>j</m:mi>
                        <m:mn>2</m:mn>
                        <m:mi>π</m:mi>
                        <m:mi>K</m:mi>
                        <m:mi>n</m:mi>
                        <m:mo>/</m:mo>
                        <m:mi>N</m:mi>
                      </m:mrow>
                    </m:msup>
                    <m:mo>}</m:mo>
                  </m:mrow>
                  <m:mspace width="0.277778em"/>
                  <m:mo>=</m:mo>
                  <m:mspace width="0.277778em"/>
                  <m:mi>N</m:mi>
                  <m:mi>δ</m:mi>
                  <m:mrow>
                    <m:mo>(</m:mo>
                    <m:mi>k</m:mi>
                    <m:mo>-</m:mo>
                    <m:mi>K</m:mi>
                    <m:mo>)</m:mo>
                  </m:mrow>
                </m:mrow>
              </m:math>
            </equation>
          </item>
          <item id="uid43">
            <equation id="id2260911">
              <m:math overflow="scroll">
                <m:mrow>
                  <m:mi>D</m:mi>
                  <m:mi>F</m:mi>
                  <m:mi>T</m:mi>
                  <m:mo>{</m:mo>
                  <m:mo form="prefix">cos</m:mo>
                  <m:mrow>
                    <m:mo>(</m:mo>
                    <m:mn>2</m:mn>
                    <m:mi>π</m:mi>
                    <m:mi>M</m:mi>
                    <m:mi>n</m:mi>
                    <m:mo>/</m:mo>
                    <m:mi>N</m:mi>
                    <m:mo>)</m:mo>
                  </m:mrow>
                  <m:mspace width="0.277778em"/>
                  <m:mo>=</m:mo>
                  <m:mspace width="0.277778em"/>
                  <m:mfrac>
                    <m:mi>N</m:mi>
                    <m:mn>2</m:mn>
                  </m:mfrac>
                  <m:mrow>
                    <m:mo>[</m:mo>
                    <m:mi>δ</m:mi>
                    <m:mrow>
                      <m:mo>(</m:mo>
                      <m:mi>k</m:mi>
                      <m:mo>-</m:mo>
                      <m:mi>M</m:mi>
                      <m:mo>)</m:mo>
                    </m:mrow>
                    <m:mo>+</m:mo>
                    <m:mi>δ</m:mi>
                    <m:mrow>
                      <m:mo>(</m:mo>
                      <m:mi>k</m:mi>
                      <m:mo>+</m:mo>
                      <m:mi>M</m:mi>
                      <m:mo>)</m:mo>
                    </m:mrow>
                    <m:mo>]</m:mo>
                  </m:mrow>
                </m:mrow>
              </m:math>
            </equation>
          </item>
          <item id="uid44">
            <equation id="id2261009">
              <m:math overflow="scroll">
                <m:mrow>
                  <m:mi>D</m:mi>
                  <m:mi>F</m:mi>
                  <m:mi>T</m:mi>
                  <m:mrow>
                    <m:mo>{</m:mo>
                    <m:msub>
                      <m:mo>⊓</m:mo>
                      <m:mi>M</m:mi>
                    </m:msub>
                    <m:mrow>
                      <m:mo>(</m:mo>
                      <m:mi>n</m:mi>
                      <m:mo>)</m:mo>
                    </m:mrow>
                    <m:mo>}</m:mo>
                  </m:mrow>
                  <m:mspace width="0.277778em"/>
                  <m:mo>=</m:mo>
                  <m:mspace width="0.277778em"/>
                  <m:mfrac>
                    <m:mrow>
                      <m:mo form="prefix">sin</m:mo>
                      <m:mo>(</m:mo>
                      <m:mfrac>
                        <m:mi>π</m:mi>
                        <m:mi>N</m:mi>
                      </m:mfrac>
                      <m:mi>M</m:mi>
                      <m:mi>k</m:mi>
                      <m:mo>)</m:mo>
                    </m:mrow>
                    <m:mrow>
                      <m:mo form="prefix">sin</m:mo>
                      <m:mo>(</m:mo>
                      <m:mfrac>
                        <m:mi>π</m:mi>
                        <m:mi>N</m:mi>
                      </m:mfrac>
                      <m:mi>k</m:mi>
                      <m:mo>)</m:mo>
                    </m:mrow>
                  </m:mfrac>
                </m:mrow>
              </m:math>
            </equation>
          </item>
        </list>
        <para id="id2261098">These examples together with the properties can generate a still larger
set of interesting and enlightening examples. Matlab can be used to
experiment with these results and to gain insight and intuition.</para>
      </section>
    </section>
    <section id="uid45">
      <name>The Discrete-Time Fourier Transform</name>
      <para id="id2261117">In addition to finite length signals, there are many practical problems
where we must be able to analyze and process essentially infinitely long
sequences. For continuous-time signals, the Fourier series is used for
finite length signals and the Fourier transform or integral is used for
infinitely long signals. For discrete-time signals, we have the DFT for
finite length signals and we now present the discrete-time Fourier
transform (DTFT) for infinitely long signals or signals that are longer
than we want to specify <cnxn target="bid0"/>. The DTFT can be developed as an
extension of the DFT as <m:math overflow="scroll"><m:mi>N</m:mi></m:math> goes to infinity or the DTFT can be
independently defined and then the DFT shown to be a special case of it.
We will do the latter.</para>
      <section id="uid47">
        <name>Definition of the DTFT</name>
        <para id="id2261154">The DTFT of a possibly infinitely long real (or complex) valued sequence
<m:math overflow="scroll"><m:mrow><m:mi>f</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is defined to be</para>
        <equation id="uid48">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>F</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>ω</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mi>∞</m:mi>
                </m:mrow>
                <m:mi>∞</m:mi>
              </m:munderover>
              <m:mi>f</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mi>j</m:mi>
                  <m:mi>ω</m:mi>
                  <m:mi>n</m:mi>
                </m:mrow>
              </m:msup>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2261249">and its inverse denoted IDTFT is given by</para>
        <equation id="uid49">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>f</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mfrac>
                <m:mn>1</m:mn>
                <m:mrow>
                  <m:mn>2</m:mn>
                  <m:mi>π</m:mi>
                </m:mrow>
              </m:mfrac>
              <m:msubsup>
                <m:mo>∫</m:mo>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mi>π</m:mi>
                </m:mrow>
                <m:mi>π</m:mi>
              </m:msubsup>
              <m:mi>F</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>ω</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mi>j</m:mi>
                  <m:mi>ω</m:mi>
                  <m:mi>n</m:mi>
                </m:mrow>
              </m:msup>
              <m:mspace width="0.166667em"/>
              <m:mi>d</m:mi>
              <m:mi>ω</m:mi>
              <m:mo>.</m:mo>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2261347">Verification by substitution is more difficult than for the DFT. Here
convergence and the interchange of order of the sum and
integral are serious questions and have been the topics of research over
many years. Discussions of the Fourier transform and series for
engineering applications can be found in <cnxn target="bid1"/>, <cnxn target="bid2"/>. It is necessary
to allow distributions or delta functions to be used to gain the full
benefit of the Fourier transform.</para>
        <para id="id2261371">Note that the definition of the DTFT and IDTFT are the same as the
definition of the IFS and FS respectively. Since the DTFT is a continuous
periodic function of <m:math overflow="scroll"><m:mi>ω</m:mi></m:math>, its Fourier series is a discrete set of
values which turn out to be the original signal. This duality can be
helpful in developing properties and gaining insight into various
problems. The conditions on a function to determine if it can be expanded
in a FS are exactly the conditions on a desired frequency response or
spectrum that will determine if a signal exists to realize or approximate
it.</para>
      </section>
      <section id="uid50">
        <name>Properties</name>
        <para id="id2261400">The properties of the DTFT are similar to those for the DFT and are
important in the analysis and interpretation of long signals. The main
properties are given here using the notation that the DTFT of a
complex sequence <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>X</m:mi><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo></m:mrow></m:math>.</para>
        <list id="id2261467" type="enumerated">
          <item id="uid51">Linear Operator: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>+</m:mo><m:mi>y</m:mi><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>}</m:mo><m:mo>+</m:mo><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>y</m:mi><m:mo>}</m:mo></m:mrow></m:math></item>
          <item id="uid52">Periodic Spectrum: <m:math overflow="scroll"><m:mrow><m:mi>X</m:mi><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>X</m:mi><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>+</m:mo><m:mn>2</m:mn><m:mi>π</m:mi><m:mo>)</m:mo></m:mrow></m:math></item>
          <item id="uid53">Properties of Even and Odd Parts: <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>u</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>+</m:mo><m:mi>j</m:mi><m:mi>v</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> and
<m:math overflow="scroll"><m:mrow><m:mi>X</m:mi><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>A</m:mi><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo><m:mo>+</m:mo><m:mi>j</m:mi><m:mi>B</m:mi><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo></m:mrow></m:math><table id="id2261696"><tgroup cols="6"><tbody><row><entry><m:math overflow="scroll"><m:mi>u</m:mi></m:math></entry><entry><m:math overflow="scroll"><m:mi>v</m:mi></m:math></entry><entry><m:math overflow="scroll"><m:mi>A</m:mi></m:math></entry><entry><m:math overflow="scroll"><m:mi>B</m:mi></m:math></entry><entry><m:math overflow="scroll"><m:mrow><m:mo>|</m:mo><m:mi>X</m:mi><m:mo>|</m:mo></m:mrow></m:math></entry><entry><m:math overflow="scroll"><m:mi>θ</m:mi></m:math></entry></row><row><entry>even</entry><entry>0</entry><entry>even</entry><entry>0</entry><entry>even</entry><entry>0</entry></row><row><entry>odd</entry><entry>0</entry><entry>0</entry><entry>odd</entry><entry>even</entry><entry>0</entry></row><row><entry>0</entry><entry>even</entry><entry>0</entry><entry>even</entry><entry>even</entry><entry><m:math overflow="scroll"><m:mrow><m:mi>π</m:mi><m:mo>/</m:mo><m:mn>2</m:mn></m:mrow></m:math></entry></row><row><entry>0</entry><entry>odd</entry><entry>odd</entry><entry>0</entry><entry>even</entry><entry><m:math overflow="scroll"><m:mrow><m:mi>π</m:mi><m:mo>/</m:mo><m:mn>2</m:mn></m:mrow></m:math></entry></row></tbody></tgroup></table></item>
          <item id="uid54">Convolution: If non-cyclic or linear convolution is defined by:
<equation id="id2262006"><m:math overflow="scroll"><m:mrow><m:mi>y</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>h</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>*</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>m</m:mi><m:mo>=</m:mo><m:mo>-</m:mo><m:mi>∞</m:mi></m:mrow><m:mi>∞</m:mi></m:msubsup><m:mi>h</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>-</m:mo><m:mi>m</m:mi><m:mo>)</m:mo></m:mrow><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>m</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>k</m:mi><m:mo>=</m:mo><m:mo>-</m:mo><m:mi>∞</m:mi></m:mrow><m:mi>∞</m:mi></m:msubsup><m:mi>h</m:mi><m:mrow><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>-</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math></equation>
then <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>*</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo></m:mrow></m:math></item>
          <item id="uid55">Multiplication: If cyclic convolution is defined by:
<equation id="id2262254"><m:math overflow="scroll"><m:mrow><m:mi>Y</m:mi><m:mrow><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>H</m:mi><m:mrow><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo></m:mrow><m:mo>∘</m:mo><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:msubsup><m:mo>∫</m:mo><m:mn>0</m:mn><m:mi>T</m:mi></m:msubsup><m:mover accent="true"><m:mi>H</m:mi><m:mo>˜</m:mo></m:mover><m:mrow><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>-</m:mo><m:mi>Ω</m:mi><m:mo>)</m:mo></m:mrow><m:mover accent="true"><m:mi>X</m:mi><m:mo>˜</m:mo></m:mover><m:mrow><m:mo>(</m:mo><m:mi>Ω</m:mi><m:mo>)</m:mo></m:mrow><m:mi>d</m:mi><m:mi>Ω</m:mi></m:mrow></m:math></equation><equation id="id2262369"><m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mrow><m:mo>{</m:mo><m:mi>h</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mfrac><m:mn>1</m:mn><m:mrow><m:mn>2</m:mn><m:mi>π</m:mi></m:mrow></m:mfrac><m:mi mathvariant="script">F</m:mi><m:mrow><m:mo>{</m:mo><m:mi>h</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mo>∘</m:mo><m:mi mathvariant="script">F</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow></m:mrow></m:math></equation></item>
          <item id="uid56">Parseval: <m:math overflow="scroll"><m:mrow><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>n</m:mi><m:mo>=</m:mo><m:mo>-</m:mo><m:mi>∞</m:mi></m:mrow><m:mi>∞</m:mi></m:msubsup><m:msup><m:mrow><m:mo>|</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>|</m:mo></m:mrow><m:mn>2</m:mn></m:msup><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mfrac><m:mn>1</m:mn><m:mrow><m:mn>2</m:mn><m:mi>π</m:mi></m:mrow></m:mfrac><m:msubsup><m:mo>∫</m:mo><m:mrow><m:mo>-</m:mo><m:mi>π</m:mi></m:mrow><m:mi>π</m:mi></m:msubsup><m:msup><m:mrow><m:mo>|</m:mo><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo></m:mrow><m:mo>|</m:mo></m:mrow><m:mn>2</m:mn></m:msup><m:mi>d</m:mi><m:mi>ω</m:mi></m:mrow></m:math></item>
          <item id="uid57">Shift: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>-</m:mo><m:mi>M</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo></m:mrow><m:msup><m:mi>e</m:mi><m:mrow><m:mo>-</m:mo><m:mi>j</m:mi><m:mi>ω</m:mi><m:mi>M</m:mi></m:mrow></m:msup></m:mrow></m:math></item>
          <item id="uid58">Modulate: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:msup><m:mi>e</m:mi><m:mrow><m:mi>j</m:mi><m:msub><m:mi>ω</m:mi><m:mn>0</m:mn></m:msub><m:mi>n</m:mi></m:mrow></m:msup><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>-</m:mo><m:msub><m:mi>ω</m:mi><m:mn>0</m:mn></m:msub><m:mo>)</m:mo></m:mrow></m:mrow></m:math></item>
          <item id="uid59">Sample: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>K</m:mi><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mfrac><m:mn>1</m:mn><m:mi>K</m:mi></m:mfrac><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>m</m:mi><m:mo>=</m:mo><m:mn>0</m:mn></m:mrow><m:mrow><m:mi>K</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msubsup><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>+</m:mo><m:mi>L</m:mi><m:mi>m</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math>
where <m:math overflow="scroll"><m:mrow><m:mi>N</m:mi><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>L</m:mi><m:mi>K</m:mi></m:mrow></m:math></item>
          <item id="uid60">Stretch: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">F</m:mi><m:mo>{</m:mo><m:msub><m:mi>x</m:mi><m:mi>s</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>ω</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math>, for <m:math overflow="scroll"><m:mrow><m:mo>-</m:mo><m:mi>K</m:mi><m:mi>π</m:mi><m:mo>≤</m:mo><m:mi>ω</m:mi><m:mo>≤</m:mo><m:mi>K</m:mi><m:mi>π</m:mi></m:mrow></m:math>
where <m:math overflow="scroll"><m:mrow><m:msub><m:mi>x</m:mi><m:mi>s</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>K</m:mi><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> for integer <m:math overflow="scroll"><m:mi>n</m:mi></m:math> and zero otherwise.
</item>
          <item id="uid61">Orthogonality: <m:math overflow="scroll"><m:mrow><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>n</m:mi><m:mo>=</m:mo><m:mo>-</m:mo><m:mi>∞</m:mi></m:mrow><m:mi>∞</m:mi></m:msubsup><m:msup><m:mi>e</m:mi><m:mrow><m:mo>-</m:mo><m:mi>j</m:mi><m:msub><m:mi>ω</m:mi><m:mn>1</m:mn></m:msub><m:mi>n</m:mi></m:mrow></m:msup><m:msup><m:mi>e</m:mi><m:mrow><m:mo>-</m:mo><m:mi>j</m:mi><m:msub><m:mi>ω</m:mi><m:mn>2</m:mn></m:msub><m:mi>n</m:mi></m:mrow></m:msup><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mn>2</m:mn><m:mi>π</m:mi><m:mi>δ</m:mi><m:mrow><m:mo>(</m:mo><m:msub><m:mi>ω</m:mi><m:mn>1</m:mn></m:msub><m:mo>-</m:mo><m:msub><m:mi>ω</m:mi><m:mn>2</m:mn></m:msub><m:mo>)</m:mo></m:mrow></m:mrow></m:math></item>
        </list>
      </section>
      <section id="uid62">
        <name>Evaluation of the DTFT by the DFT</name>
        <para id="id2263123">If the DTFT of a finite sequence is taken, the result is a continuous
function of <m:math overflow="scroll"><m:mi>ω</m:mi></m:math>. If the DFT of the same sequence is taken, the
results are <m:math overflow="scroll"><m:mi>N</m:mi></m:math> evenly spaced samples of the DTFT. In other words, the
DTFT of a finite signal can be evaluated at <m:math overflow="scroll"><m:mi>N</m:mi></m:math> points with the DFT.</para>
        <equation id="uid63">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>X</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>ω</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mi>D</m:mi>
              <m:mi>T</m:mi>
              <m:mi>F</m:mi>
              <m:mi>T</m:mi>
              <m:mrow>
                <m:mo>{</m:mo>
                <m:mi>x</m:mi>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>n</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mo>}</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>n</m:mi>
                  <m:mo>=</m:mo>
                  <m:mo>-</m:mo>
                  <m:mi>∞</m:mi>
                </m:mrow>
                <m:mi>∞</m:mi>
              </m:munderover>
              <m:mi>x</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mi>j</m:mi>
                  <m:mi>ω</m:mi>
                  <m:mi>n</m:mi>
                </m:mrow>
              </m:msup>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2263269">and because of the finite length</para>
        <equation id="uid64">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>X</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>ω</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>n</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>0</m:mn>
                </m:mrow>
                <m:mrow>
                  <m:mi>N</m:mi>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:munderover>
              <m:mi>x</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mi>j</m:mi>
                  <m:mi>ω</m:mi>
                  <m:mi>n</m:mi>
                </m:mrow>
              </m:msup>
              <m:mo>.</m:mo>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2263358">If we evaluate <m:math overflow="scroll"><m:mi>ω</m:mi></m:math> at <m:math overflow="scroll"><m:mi>N</m:mi></m:math> equally space points, this becomes</para>
        <equation id="uid65">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>X</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mfrac>
                  <m:mrow>
                    <m:mn>2</m:mn>
                    <m:mi>π</m:mi>
                  </m:mrow>
                  <m:mi>N</m:mi>
                </m:mfrac>
                <m:mi>k</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>n</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>0</m:mn>
                </m:mrow>
                <m:mrow>
                  <m:mi>N</m:mi>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:munderover>
              <m:mi>x</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:msup>
                <m:mi>e</m:mi>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mi>j</m:mi>
                  <m:mfrac>
                    <m:mrow>
                      <m:mn>2</m:mn>
                      <m:mi>π</m:mi>
                    </m:mrow>
                    <m:mi>N</m:mi>
                  </m:mfrac>
                  <m:mi>k</m:mi>
                  <m:mi>n</m:mi>
                </m:mrow>
              </m:msup>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2263483">which is the DFT of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math>. By adding zeros to the end of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> and
taking a longer DFT, any density of points can be evaluated. This is
useful in interpolation and in plotting the spectrum of a finite length
signal. This is discussed further in Chapter4 <cnxn target=""/><!--Sampling, Up-Sampling, Down-Sampling, and Multi-Rate Processing-->.</para>
        <para id="id2263531">There is an interesting variation of the Parseval's theorem for the DTFT
of a finite length-<m:math overflow="scroll"><m:mi>N</m:mi></m:math> signal. If <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>≠</m:mo><m:mn>0</m:mn></m:mrow></m:math> for <m:math overflow="scroll"><m:mrow><m:mn>0</m:mn><m:mo>≥</m:mo><m:mi>n</m:mi><m:mo>≥</m:mo><m:mi>N</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:math>,
and if <m:math overflow="scroll"><m:mrow><m:mi>L</m:mi><m:mo>≥</m:mo><m:mi>N</m:mi></m:mrow></m:math>, then</para>
        <equation id="uid66">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>n</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>0</m:mn>
                </m:mrow>
                <m:mrow>
                  <m:mi>N</m:mi>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:munderover>
              <m:msup>
                <m:mrow>
                  <m:mo>|</m:mo>
                  <m:mi>x</m:mi>
                  <m:mrow>
                    <m:mo>(</m:mo>
                    <m:mi>n</m:mi>
                    <m:mo>)</m:mo>
                  </m:mrow>
                  <m:mo>|</m:mo>
                </m:mrow>
                <m:mn>2</m:mn>
              </m:msup>
              <m:mspace width="0.166667em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.166667em"/>
              <m:mfrac>
                <m:mn>1</m:mn>
                <m:mi>L</m:mi>
              </m:mfrac>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>k</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>0</m:mn>
                </m:mrow>
                <m:mrow>
                  <m:mi>L</m:mi>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:munderover>
              <m:msup>
                <m:mrow>
                  <m:mo>|</m:mo>
                  <m:mi>X</m:mi>
                  <m:mrow>
                    <m:mo>(</m:mo>
                    <m:mn>2</m:mn>
                    <m:mi>π</m:mi>
                    <m:mi>k</m:mi>
                    <m:mo>/</m:mo>
                    <m:mi>L</m:mi>
                    <m:mo>)</m:mo>
                  </m:mrow>
                  <m:mo>|</m:mo>
                </m:mrow>
                <m:mn>2</m:mn>
              </m:msup>
              <m:mspace width="0.166667em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.166667em"/>
              <m:mfrac>
                <m:mn>1</m:mn>
                <m:mi>π</m:mi>
              </m:mfrac>
              <m:msubsup>
                <m:mo>∫</m:mo>
                <m:mn>0</m:mn>
                <m:mi>π</m:mi>
              </m:msubsup>
              <m:msup>
                <m:mrow>
                  <m:mo>|</m:mo>
                  <m:mi>X</m:mi>
                  <m:mrow>
                    <m:mo>(</m:mo>
                    <m:mi>ω</m:mi>
                    <m:mo>)</m:mo>
                  </m:mrow>
                  <m:mo>|</m:mo>
                </m:mrow>
                <m:mn>2</m:mn>
              </m:msup>
              <m:mspace width="0.166667em"/>
              <m:mi>d</m:mi>
              <m:mi>ω</m:mi>
              <m:mo>.</m:mo>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2263781">The second term in (<cnxn target="uid66"/>) says the Riemann sum is equal to its limit in this
case.</para>
      </section>
      <section id="uid67">
        <name>Examples of DTFT</name>
        <para id="id2263800">As was true for the DFT, insight and intuition is developed by
understanding the properties and a few examples of the DTFT. Several
examples are given below and more can be found in the literature
<cnxn target="bid0"/>, <cnxn target="bid1"/>, <cnxn target="bid2"/>. Remember that while in the case of the DFT signals
were defined on the region <m:math overflow="scroll"><m:mrow><m:mo>{</m:mo><m:mn>0</m:mn><m:mo>≤</m:mo><m:mi>n</m:mi><m:mo>≤</m:mo><m:mo>(</m:mo><m:mi>N</m:mi><m:mo>-</m:mo><m:mn>1</m:mn><m:mo>)</m:mo><m:mo>}</m:mo></m:mrow></m:math> and values outside
that region were periodic extensions, here the signals are defined over
all integers and are not periodic unless explicitly stated. The spectrum
is periodic with period <m:math overflow="scroll"><m:mrow><m:mn>2</m:mn><m:mi>π</m:mi></m:mrow></m:math>.</para>
        <list id="id2263873" type="bulleted">
          <item id="uid68"><m:math overflow="scroll"><m:mrow><m:mi>D</m:mi><m:mi>T</m:mi><m:mi>F</m:mi><m:mi>T</m:mi><m:mo>{</m:mo><m:mi>δ</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mn>1</m:mn></m:mrow></m:math> for all frequencies.
</item>
          <item id="uid69">
            <equation id="id2263931">
              <m:math overflow="scroll">
                <m:mrow>
                  <m:mi>D</m:mi>
                  <m:mi>T</m:mi>
                  <m:mi>F</m:mi>
                  <m:mi>T</m:mi>
                  <m:mo>{</m:mo>
                  <m:mn>1</m:mn>
                  <m:mo>}</m:mo>
                  <m:mspace width="0.277778em"/>
                  <m:mo>=</m:mo>
                  <m:mspace width="0.277778em"/>
                  <m:mn>2</m:mn>
                  <m:mi>π</m:mi>
                  <m:mi>δ</m:mi>
                  <m:mo>(</m:mo>
                  <m:mi>ω</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
              </m:math>
            </equation>
          </item>
          <item id="uid70">
            <equation id="id2263984">
              <m:math overflow="scroll">
                <m:mrow>
                  <m:mi>D</m:mi>
                  <m:mi>T</m:mi>
                  <m:mi>F</m:mi>
                  <m:mi>T</m:mi>
                  <m:mrow>
                    <m:mo>{</m:mo>
                    <m:msup>
                      <m:mi>e</m:mi>
                      <m:mrow>
                        <m:mi>j</m:mi>
                        <m:msub>
                          <m:mi>ω</m:mi>
                          <m:mn>0</m:mn>
                        </m:msub>
                        <m:mi>n</m:mi>
                      </m:mrow>
                    </m:msup>
                    <m:mo>}</m:mo>
                  </m:mrow>
                  <m:mspace width="0.277778em"/>
                  <m:mo>=</m:mo>
                  <m:mspace width="0.277778em"/>
                  <m:mn>2</m:mn>
                  <m:mi>π</m:mi>
                  <m:mi>δ</m:mi>
                  <m:mrow>
                    <m:mo>(</m:mo>
                    <m:mi>ω</m:mi>
                    <m:mo>-</m:mo>
                    <m:msub>
                      <m:mi>ω</m:mi>
                      <m:mn>0</m:mn>
                    </m:msub>
                    <m:mo>)</m:mo>
                  </m:mrow>
                </m:mrow>
              </m:math>
            </equation>
          </item>
          <item id="uid71">
            <equation id="id2264066">
              <m:math overflow="scroll">
                <m:mrow>
                  <m:mi>D</m:mi>
                  <m:mi>T</m:mi>
                  <m:mi>F</m:mi>
                  <m:mi>T</m:mi>
                  <m:mrow>
                    <m:mo>{</m:mo>
                    <m:mo form="prefix">cos</m:mo>
                    <m:mrow>
                      <m:mo>(</m:mo>
                      <m:msub>
                        <m:mi>ω</m:mi>
                        <m:mn>0</m:mn>
                      </m:msub>
                      <m:mi>n</m:mi>
                      <m:mo>)</m:mo>
                    </m:mrow>
                    <m:mo>}</m:mo>
                  </m:mrow>
                  <m:mspace width="0.277778em"/>
                  <m:mo>=</m:mo>
                  <m:mspace width="0.277778em"/>
                  <m:mi>π</m:mi>
                  <m:mrow>
                    <m:mo>[</m:mo>
                    <m:mi>δ</m:mi>
                    <m:mrow>
                      <m:mo>(</m:mo>
                      <m:mi>ω</m:mi>
                      <m:mo>-</m:mo>
                      <m:msub>
                        <m:mi>ω</m:mi>
                        <m:mn>0</m:mn>
                      </m:msub>
                      <m:mo>)</m:mo>
                    </m:mrow>
                    <m:mo>+</m:mo>
                    <m:mi>δ</m:mi>
                    <m:mrow>
                      <m:mo>(</m:mo>
                      <m:mi>ω</m:mi>
                      <m:mo>+</m:mo>
                      <m:msub>
                        <m:mi>ω</m:mi>
                        <m:mn>0</m:mn>
                      </m:msub>
                      <m:mo>)</m:mo>
                    </m:mrow>
                    <m:mo>]</m:mo>
                  </m:mrow>
                </m:mrow>
              </m:math>
            </equation>
          </item>
          <item id="uid72">
            <equation id="id2264174">
              <m:math overflow="scroll">
                <m:mrow>
                  <m:mi>D</m:mi>
                  <m:mi>T</m:mi>
                  <m:mi>F</m:mi>
                  <m:mi>T</m:mi>
                  <m:mrow>
                    <m:mo>{</m:mo>
                    <m:msub>
                      <m:mo>⊓</m:mo>
                      <m:mi>M</m:mi>
                    </m:msub>
                    <m:mrow>
                      <m:mo>(</m:mo>
                      <m:mi>n</m:mi>
                      <m:mo>)</m:mo>
                    </m:mrow>
                    <m:mo>}</m:mo>
                  </m:mrow>
                  <m:mspace width="0.277778em"/>
                  <m:mo>=</m:mo>
                  <m:mspace width="0.277778em"/>
                  <m:mfrac>
                    <m:mrow>
                      <m:mo form="prefix">sin</m:mo>
                      <m:mo>(</m:mo>
                      <m:mi>ω</m:mi>
                      <m:mi>M</m:mi>
                      <m:mi>k</m:mi>
                      <m:mo>/</m:mo>
                      <m:mn>2</m:mn>
                      <m:mo>)</m:mo>
                    </m:mrow>
                    <m:mrow>
                      <m:mo form="prefix">sin</m:mo>
                      <m:mo>(</m:mo>
                      <m:mi>ω</m:mi>
                      <m:mi>k</m:mi>
                      <m:mo>/</m:mo>
                      <m:mn>2</m:mn>
                      <m:mo>)</m:mo>
                    </m:mrow>
                  </m:mfrac>
                </m:mrow>
              </m:math>
            </equation>
          </item>
        </list>
      </section>
    </section>
    <section id="uid73">
      <name>The Z-Transform</name>
      <para id="id2264277">The z-transform is an extension of the DTFT in a way that is analogous to
the Laplace transform for continuous-time signals being an extension of the
Fourier transform. It allows the use of complex variable theory and is
particularly useful in analyzing and describing systems. The question of
convergence becomes still more complicated and depends on values of <m:math overflow="scroll"><m:mi>z</m:mi></m:math>
used in the inverse transform which must be in the “region of
convergence" (ROC).</para>
      <section id="uid75">
        <name>Definition of the Z-Transform</name>
        <para id="id2264306">The z-transform (ZT) is defined as a polynomial in the complex variable
<m:math overflow="scroll"><m:mi>z</m:mi></m:math> with the discrete-time signal values as its coefficients
<cnxn target="bid9"/>, <cnxn target="bid10"/>, <cnxn target="bid0"/>. It is given by</para>
        <equation id="uid76">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>F</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>z</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>n</m:mi>
                  <m:mo>=</m:mo>
                  <m:mo>-</m:mo>
                  <m:mi>∞</m:mi>
                </m:mrow>
                <m:mi>∞</m:mi>
              </m:munderover>
              <m:mi>f</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:msup>
                <m:mi>z</m:mi>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mi>n</m:mi>
                </m:mrow>
              </m:msup>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2264410">and the inverse transform (IZT) is</para>
        <equation id="uid77">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>f</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mfrac>
                <m:mn>1</m:mn>
                <m:mrow>
                  <m:mn>2</m:mn>
                  <m:mi>π</m:mi>
                  <m:mi>j</m:mi>
                </m:mrow>
              </m:mfrac>
              <m:msub>
                <m:mo>∮</m:mo>
                <m:mrow>
                  <m:mi>R</m:mi>
                  <m:mi>O</m:mi>
                  <m:mi>C</m:mi>
                </m:mrow>
              </m:msub>
              <m:mi>F</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>z</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:msup>
                <m:mi>z</m:mi>
                <m:mrow>
                  <m:mi>n</m:mi>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:msup>
              <m:mi>d</m:mi>
              <m:mi>z</m:mi>
              <m:mo>.</m:mo>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2264504">The inverse transform can be derived by using the residue theorem
<cnxn target="bid11"/>, <cnxn target="bid1"/> from complex variable theory to find <m:math overflow="scroll"><m:mrow><m:mi>f</m:mi><m:mo>(</m:mo><m:mn>0</m:mn><m:mo>)</m:mo></m:mrow></m:math> from
<m:math overflow="scroll"><m:mrow><m:msup><m:mi>z</m:mi><m:mrow><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msup><m:mi>F</m:mi><m:mrow><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math>, <m:math overflow="scroll"><m:mrow><m:mi>f</m:mi><m:mo>(</m:mo><m:mn>1</m:mn><m:mo>)</m:mo></m:mrow></m:math> from <m:math overflow="scroll"><m:mrow><m:mi>F</m:mi><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow></m:math>, <m:math overflow="scroll"><m:mrow><m:mi>f</m:mi><m:mo>(</m:mo><m:mn>2</m:mn><m:mo>)</m:mo></m:mrow></m:math> from <m:math overflow="scroll"><m:mrow><m:mi>z</m:mi><m:mi>F</m:mi><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow></m:math>, and in general, <m:math overflow="scroll"><m:mrow><m:mi>f</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math>
from <m:math overflow="scroll"><m:mrow><m:msup><m:mi>z</m:mi><m:mrow><m:mi>n</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msup><m:mi>F</m:mi><m:mrow><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math>. Verification by substitution is more difficult than
for the DFT or DTFT. Here convergence and the interchange of order of the
sum and integral is a serious question that involves values of the complex
variable <m:math overflow="scroll"><m:mi>z</m:mi></m:math>. The complex contour integral in (<cnxn target="uid77"/>) must be taken in the
ROC of the z plane.</para>
        <para id="id2264700">A unilateral z-transform is sometimes needed where the definition (<cnxn target="uid77"/>) uses a
lower limit on the transform summation of zero. This allow the transformation
to converge for some functions where the regular bilateral transform does
not, it provides a straightforward way to solve initial condition
difference equation problems, and it simplifies the question of finding
the ROC. The bilateral z-transform is used more for signal analysis and
the unilateral transform is used more for system description and analysis.
Unless stated otherwise, we will be using the bilateral z-transform.</para>
      </section>
      <section id="uid78">
        <name>Properties</name>
        <para id="id2264720">The properties of the ZT are similar to those for the DTFT and DFT and are
important in the analysis and interpretation of long signals and in the
analysis and description of discrete-time systems. The main
properties are given here using the notation that the ZT of a
complex sequence <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mo>=</m:mo><m:mi>X</m:mi><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow></m:math>.</para>
        <list id="id2255426" type="enumerated">
          <item id="uid79">Linear Operator: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>+</m:mo><m:mi>y</m:mi><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi mathvariant="script">Z</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>}</m:mo><m:mo>+</m:mo><m:mi mathvariant="script">Z</m:mi><m:mo>{</m:mo><m:mi>y</m:mi><m:mo>}</m:mo></m:mrow></m:math></item>
          <item id="uid80">Relationship of ZT to DTFT: <m:math overflow="scroll"><m:mrow><m:msub><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>}</m:mo></m:mrow><m:mo>|</m:mo></m:mrow><m:mrow><m:mi>z</m:mi><m:mo>=</m:mo><m:msup><m:mi>e</m:mi><m:mrow><m:mi>j</m:mi><m:mi>ω</m:mi></m:mrow></m:msup></m:mrow></m:msub><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi mathvariant="script">DTFT</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>}</m:mo></m:mrow></m:mrow></m:math></item>
          <item id="uid81">Periodic Spectrum: <m:math overflow="scroll"><m:mrow><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:msup><m:mi>e</m:mi><m:mrow><m:mi>j</m:mi><m:mi>ω</m:mi></m:mrow></m:msup><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:msup><m:mi>e</m:mi><m:mrow><m:mi>j</m:mi><m:mi>ω</m:mi><m:mo>+</m:mo><m:mn>2</m:mn><m:mi>π</m:mi></m:mrow></m:msup><m:mo>)</m:mo></m:mrow></m:mrow></m:math></item>
          <item id="uid82">Properties of Even and Odd Parts: <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>u</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>+</m:mo><m:mi>j</m:mi><m:mi>v</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> and
<m:math overflow="scroll"><m:mrow><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:msup><m:mi>e</m:mi><m:mrow><m:mi>j</m:mi><m:mi>ω</m:mi></m:mrow></m:msup><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>A</m:mi><m:mrow><m:mo>(</m:mo><m:msup><m:mi>e</m:mi><m:mrow><m:mi>j</m:mi><m:mi>ω</m:mi></m:mrow></m:msup><m:mo>)</m:mo></m:mrow><m:mo>+</m:mo><m:mi>j</m:mi><m:mi>B</m:mi><m:mrow><m:mo>(</m:mo><m:msup><m:mi>e</m:mi><m:mrow><m:mi>j</m:mi><m:mi>ω</m:mi></m:mrow></m:msup><m:mo>)</m:mo></m:mrow></m:mrow></m:math><equation id="uid83"><m:math mode="display" overflow="scroll"><m:mtable><m:mtr><m:mtd><m:mi>u</m:mi></m:mtd><m:mtd><m:mi>v</m:mi></m:mtd><m:mtd><m:mi>A</m:mi></m:mtd><m:mtd><m:mi>B</m:mi></m:mtd></m:mtr><m:mtr><m:mtd/><m:mtd/><m:mtd/><m:mtd/></m:mtr><m:mtr><m:mtd><m:mrow><m:mi>e</m:mi><m:mi>v</m:mi><m:mi>e</m:mi><m:mi>n</m:mi></m:mrow></m:mtd><m:mtd><m:mn>0</m:mn></m:mtd><m:mtd><m:mrow><m:mi>e</m:mi><m:mi>v</m:mi><m:mi>e</m:mi><m:mi>n</m:mi></m:mrow></m:mtd><m:mtd><m:mn>0</m:mn></m:mtd></m:mtr><m:mtr><m:mtd><m:mrow><m:mi>o</m:mi><m:mi>d</m:mi><m:mi>d</m:mi></m:mrow></m:mtd><m:mtd><m:mn>0</m:mn></m:mtd><m:mtd><m:mn>0</m:mn></m:mtd><m:mtd><m:mrow><m:mi>o</m:mi><m:mi>d</m:mi><m:mi>d</m:mi></m:mrow></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>0</m:mn></m:mtd><m:mtd><m:mrow><m:mi>e</m:mi><m:mi>v</m:mi><m:mi>e</m:mi><m:mi>n</m:mi></m:mrow></m:mtd><m:mtd><m:mn>0</m:mn></m:mtd><m:mtd><m:mrow><m:mi>e</m:mi><m:mi>v</m:mi><m:mi>e</m:mi><m:mi>n</m:mi></m:mrow></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>0</m:mn></m:mtd><m:mtd><m:mrow><m:mi>o</m:mi><m:mi>d</m:mi><m:mi>d</m:mi></m:mrow></m:mtd><m:mtd><m:mrow><m:mi>o</m:mi><m:mi>d</m:mi><m:mi>d</m:mi></m:mrow></m:mtd><m:mtd><m:mn>0</m:mn></m:mtd></m:mtr></m:mtable></m:math></equation></item>
          <item id="uid84">Convolution: If discrete non-cyclic convolution is defined by
<equation id="id2265413"><m:math overflow="scroll"><m:mrow><m:mi>y</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>h</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>*</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>m</m:mi><m:mo>=</m:mo><m:mo>-</m:mo><m:mi>∞</m:mi></m:mrow><m:mi>∞</m:mi></m:msubsup><m:mi>h</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>-</m:mo><m:mi>m</m:mi><m:mo>)</m:mo></m:mrow><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>m</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>k</m:mi><m:mo>=</m:mo><m:mo>-</m:mo><m:mi>∞</m:mi></m:mrow><m:mi>∞</m:mi></m:msubsup><m:mi>h</m:mi><m:mrow><m:mo>(</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>-</m:mo><m:mi>k</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math></equation>
then <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mo>{</m:mo><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>*</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi mathvariant="script">Z</m:mi><m:mo>{</m:mo><m:mi>h</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mi mathvariant="script">Z</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo></m:mrow></m:math></item>
          <item id="uid85">Shift: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>+</m:mo><m:mi>M</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:msup><m:mi>z</m:mi><m:mi>M</m:mi></m:msup><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math></item>
          <item id="uid86">Shift (unilateral): <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>+</m:mo><m:mi>m</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:msup><m:mi>z</m:mi><m:mi>m</m:mi></m:msup><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow><m:mo>-</m:mo><m:msup><m:mi>z</m:mi><m:mi>m</m:mi></m:msup><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mn>0</m:mn><m:mo>)</m:mo></m:mrow><m:mo>-</m:mo><m:msup><m:mi>z</m:mi><m:mrow><m:mi>m</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msup><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mn>1</m:mn><m:mo>)</m:mo></m:mrow><m:mo>-</m:mo><m:mo>⋯</m:mo><m:mo>-</m:mo><m:mi>z</m:mi><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>m</m:mi><m:mo>-</m:mo><m:mn>1</m:mn><m:mo>)</m:mo></m:mrow></m:mrow></m:math></item>
          <item id="uid87">Shift (unilateral): <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mrow><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>-</m:mo><m:mi>m</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:msup><m:mi>z</m:mi><m:mrow><m:mo>-</m:mo><m:mi>m</m:mi></m:mrow></m:msup><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow><m:mo>-</m:mo><m:msup><m:mi>z</m:mi><m:mrow><m:mo>-</m:mo><m:mi>m</m:mi><m:mo>+</m:mo><m:mn>1</m:mn></m:mrow></m:msup><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mo>-</m:mo><m:mn>1</m:mn><m:mo>)</m:mo></m:mrow><m:mo>-</m:mo><m:mo>⋯</m:mo><m:mo>-</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mo>-</m:mo><m:mi>m</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math></item>
          <item id="uid88">Modulate: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mo>{</m:mo><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:msup><m:mi>a</m:mi><m:mi>n</m:mi></m:msup><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>/</m:mo><m:mi>a</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math></item>
          <item id="uid89">Time mult.: <m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mrow><m:mo>{</m:mo><m:msup><m:mi>n</m:mi><m:mi>m</m:mi></m:msup><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:msup><m:mrow><m:mo>(</m:mo><m:mo>-</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow><m:mi>m</m:mi></m:msup><m:mfrac><m:mrow><m:msup><m:mi>d</m:mi><m:mi>m</m:mi></m:msup><m:mi>X</m:mi><m:mrow><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow></m:mrow><m:mrow><m:mi>d</m:mi><m:msup><m:mi>z</m:mi><m:mi>m</m:mi></m:msup></m:mrow></m:mfrac></m:mrow></m:math></item>
          <item id="uid90">Evaluation: The ZT can be evaluated on the unit circle in the
z-plane by taking the DTFT of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> and if the signal is finite in
length, this can be evaluated at sample points by the DFT.
</item>
        </list>
      </section>
      <section id="uid91">
        <name>Examples of the Z-Transform</name>
        <para id="id2266174">A few examples together with the above properties will enable one to solve
and understand a wide variety of problems. These use the unit step
function to remove the negative time part of the signal. This function is
defined as</para>
        <equation id="uid92">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>u</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>n</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mfenced separators="" open="{" close="">
                <m:mtable>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mn>1</m:mn>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mspace width="4.pt"/>
                        <m:mtext>if</m:mtext>
                        <m:mspace width="4.pt"/>
                        <m:mrow>
                          <m:mi>n</m:mi>
                          <m:mo>≥</m:mo>
                          <m:mn>0</m:mn>
                        </m:mrow>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mn>0</m:mn>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mspace width="4.pt"/>
                        <m:mtext>if</m:mtext>
                        <m:mspace width="4.pt"/>
                        <m:mrow>
                          <m:mi>n</m:mi>
                          <m:mo>&lt;</m:mo>
                          <m:mn>0</m:mn>
                        </m:mrow>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2266275">and several bilateral z-transforms are given by</para>
        <list id="id2266281" type="bulleted">
          <item id="uid93"><m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mo>{</m:mo><m:mi>δ</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo><m:mo>}</m:mo><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mn>1</m:mn></m:mrow></m:math> for all <m:math overflow="scroll"><m:mi>z</m:mi></m:math>.
</item>
          <item id="uid94"><m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mrow><m:mo>{</m:mo><m:mi>u</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mfrac><m:mi>z</m:mi><m:mrow><m:mi>z</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:mfrac></m:mrow></m:math> for <m:math overflow="scroll"><m:mrow><m:mo>|</m:mo><m:mi>z</m:mi><m:mo>|</m:mo><m:mo>&gt;</m:mo><m:mn>1</m:mn></m:mrow></m:math>.
</item>
          <item id="uid95"><m:math overflow="scroll"><m:mrow><m:mi mathvariant="script">Z</m:mi><m:mrow><m:mo>{</m:mo><m:mi>u</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:msup><m:mi>a</m:mi><m:mi>n</m:mi></m:msup><m:mo>}</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mfrac><m:mi>z</m:mi><m:mrow><m:mi>z</m:mi><m:mo>-</m:mo><m:mi>a</m:mi></m:mrow></m:mfrac></m:mrow></m:math> for <m:math overflow="scroll"><m:mrow><m:mo>|</m:mo><m:mi>z</m:mi><m:mo>|</m:mo><m:mo>&gt;</m:mo><m:mo>|</m:mo><m:mi>a</m:mi><m:mo>|</m:mo></m:mrow></m:math>.
</item>
        </list>
        <para id="id2266504">Notice that these are similar to but not the same as a term of a partial
fraction expansion.</para>
      </section>
      <section id="uid96">
        <name>Inversion of the Z-Transform</name>
        <para id="id2266517">The z-transform can be inverted in three ways. The first two have similar
procedures with Laplace transformations and the third has no counter part.</para>
        <list id="id2266522" type="bulleted">
          <item id="uid97">The z-transform can be inverted by the defined contour integral in
the ROC of the complex <m:math overflow="scroll"><m:mi>z</m:mi></m:math> plane. This integral can be evaluated using the
residue theorem <cnxn target="bid11"/>, <cnxn target="bid1"/>.
</item>
          <item id="uid98">The z-transform can be inverted by expanding <m:math overflow="scroll"><m:mrow><m:mfrac><m:mn>1</m:mn><m:mi>z</m:mi></m:mfrac><m:mi>F</m:mi><m:mrow><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> in a
partial fraction expansion followed by use of tables for the first or
second order terms.
</item>
          <item id="uid99">The third method is not analytical but numerical. If <m:math overflow="scroll"><m:mrow><m:mi>F</m:mi><m:mrow><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:mfrac><m:mrow><m:mi>P</m:mi><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow><m:mrow><m:mi>Q</m:mi><m:mo>(</m:mo><m:mi>z</m:mi><m:mo>)</m:mo></m:mrow></m:mfrac></m:mrow></m:math>, <m:math overflow="scroll"><m:mrow><m:mi>f</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> can be obtained as the coefficients of long
division.
</item>
        </list>
        <para id="id2266673">For example</para>
        <equation id="uid100">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mfrac>
                <m:mi>z</m:mi>
                <m:mrow>
                  <m:mi>z</m:mi>
                  <m:mo>-</m:mo>
                  <m:mi>a</m:mi>
                </m:mrow>
              </m:mfrac>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mn>1</m:mn>
              <m:mo>+</m:mo>
              <m:mi>a</m:mi>
              <m:mspace width="0.166667em"/>
              <m:msup>
                <m:mi>z</m:mi>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
              </m:msup>
              <m:mo>+</m:mo>
              <m:msup>
                <m:mi>a</m:mi>
                <m:mn>2</m:mn>
              </m:msup>
              <m:msup>
                <m:mi>z</m:mi>
                <m:mrow>
                  <m:mo>-</m:mo>
                  <m:mn>2</m:mn>
                </m:mrow>
              </m:msup>
              <m:mo>+</m:mo>
              <m:mo>⋯</m:mo>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2266753">which is <m:math overflow="scroll"><m:mrow><m:mi>u</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.166667em"/><m:msup><m:mi>a</m:mi><m:mi>n</m:mi></m:msup></m:mrow></m:math> as used in the examples above.</para>
        <para id="id2266788">We must understand the role of the ROC in the convergence and inversion of
the z-transform. We must also see the difference between the one-sided and
two-sided transform.</para>
      </section>
      <section id="uid101">
        <name>Solution of Difference Equations using the Z-Transform</name>
        <para id="id2266803">The z-transform can be used to convert a difference equation into an algebraic
equation in the same manner that the Laplace converts a differential
equation in to an algebraic equation. The one-sided transform is
particularly well suited for solving initial condition problems. The two
unilateral shift properties explicitly use the initial values of the
unknown variable.</para>
        <para id="id2266813">A difference equation DE contains the unknown function <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> and shifted
versions of it such as <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>-</m:mo><m:mn>1</m:mn><m:mo>)</m:mo></m:mrow></m:math> or <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>+</m:mo><m:mn>3</m:mn><m:mo>)</m:mo></m:mrow></m:math>. The solution of the equation
is the determination of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>t</m:mi><m:mo>)</m:mo></m:mrow></m:math>. A linear DE has only simple linear
combinations of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> and its shifts. An example of a linear second order
DE is</para>
        <equation id="uid102">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>a</m:mi>
              <m:mspace width="0.166667em"/>
              <m:mi>x</m:mi>
              <m:mo>(</m:mo>
              <m:mi>n</m:mi>
              <m:mo>)</m:mo>
              <m:mo>+</m:mo>
              <m:mi>b</m:mi>
              <m:mspace width="0.166667em"/>
              <m:mi>x</m:mi>
              <m:mo>(</m:mo>
              <m:mi>n</m:mi>
              <m:mo>-</m:mo>
              <m:mn>1</m:mn>
              <m:mo>)</m:mo>
              <m:mo>+</m:mo>
              <m:mi>c</m:mi>
              <m:mspace width="0.166667em"/>
              <m:mi>x</m:mi>
              <m:mo>(</m:mo>
              <m:mi>n</m:mi>
              <m:mo>-</m:mo>
              <m:mn>2</m:mn>
              <m:mo>)</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mo>=</m:mo>
              <m:mspace width="0.277778em"/>
              <m:mi>f</m:mi>
              <m:mo>(</m:mo>
              <m:mi>n</m:mi>
              <m:mo>)</m:mo>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2266996">A time invariant or index invariant DE requires the coefficients not
be a function of <m:math overflow="scroll"><m:mi>n</m:mi></m:math> and the linearity requires that they not be a
function of <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math>. Therefore, the coefficients are constants.</para>
        <para id="id2267031">This equation can be analyzed using classical methods completely analogous
to those used with differential equations. A solution of the form <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mo>=</m:mo><m:mi>K</m:mi><m:msup><m:mi>λ</m:mi><m:mi>n</m:mi></m:msup></m:mrow></m:math> is substituted into the homogeneous difference equation
resulting in a second order characteristic equation whose two roots give
a solution of the form <m:math overflow="scroll"><m:mrow><m:msub><m:mi>x</m:mi><m:mi>h</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.277778em"/><m:mo>=</m:mo><m:mspace width="0.277778em"/><m:msub><m:mi>K</m:mi><m:mn>1</m:mn></m:msub><m:msubsup><m:mi>λ</m:mi><m:mn>1</m:mn><m:mi>n</m:mi></m:msubsup><m:mo>+</m:mo><m:msub><m:mi>K</m:mi><m:mn>2</m:mn></m:msub><m:msubsup><m:mi>λ</m:mi><m:mn>2</m:mn><m:mi>n</m:mi></m:msubsup></m:mrow></m:math>. A
particular solution of a form determined by <m:math overflow="scroll"><m:mrow><m:mi>f</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math> is found by the method
of undetermined coefficients, convolution or some other means. The
total solution is the particular solution plus the solution of the
homogeneous equation and the three unknown constants <m:math overflow="scroll"><m:msub><m:mi>K</m:mi><m:mi>i</m:mi></m:msub></m:math> are determined
from three initial conditions on <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>(</m:mo><m:mi>n</m:mi><m:mo>)</m:mo></m:mrow></m:math>.</para>
        <para id="id2267192">It is possible to solve this difference equation using z-transforms in a
similar way to the solving of a differential equation by use of the
Laplace transform. The z-transform converts the difference equation into
an algebraic equation. Taking the ZT of both sides of the DE gives</para>
        <equation id="uid103">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>a</m:mi>
              <m:mspace width="0.166667em"/>
     