<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!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:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="m10089">
  
  <name>Dirichlet Conditions</name>
  
  <metadata>
  <md:version>2.8</md:version>
  <md:created>2001/06/13</md:created>
  <md:revised>2003/07/24 10:47:53 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="rars">
      <md:firstname>Ricardo</md:firstname>
      <md:othername>Anthony</md:othername>
      <md:surname>Radaelli-Sanchez</md:surname>
      <md:email>ricky@alumni.rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="mselik">
      <md:firstname>Melissa</md:firstname>
      
      <md:surname>Selik</md:surname>
      <md:email>mselik@alumni.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="rars">
      <md:firstname>Ricardo</md:firstname>
      <md:othername>Anthony</md:othername>
      <md:surname>Radaelli-Sanchez</md:surname>
      <md:email>ricky@alumni.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="jrom">
      <md:firstname>Justin</md:firstname>
      
      <md:surname>Romberg</md:surname>
      <md:email>jrom@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="richb">
      <md:firstname>Richard</md:firstname>
      <md:othername>G.</md:othername>
      <md:surname>Baraniuk</md:surname>
      <md:email>richb@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="mjhaag">
      <md:firstname>Michael</md:firstname>
      
      <md:surname>Haag</md:surname>
      <md:email>mjhaag@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="mariyah">
      <md:firstname>Mariyah</md:firstname>
      
      <md:surname>Poonawala</md:surname>
      <md:email>mariyah@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="prash">
      <md:firstname>Prashant</md:firstname>
      
      <md:surname>Singh</md:surname>
      <md:email>prash@ece.rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>dirichlet conditions</md:keyword>
    <md:keyword>fourier</md:keyword>
    <md:keyword>fourier series</md:keyword>
    <md:keyword>fourier transform</md:keyword>
    <md:keyword>strong dirichlet condition</md:keyword>
    <md:keyword>weak dirichlet condition</md:keyword>
  </md:keywordlist>

  <md:abstract>The Dirichlet conditions are the sufficient conditions to guarantee existence and convergence of the Fourier series or the Fourier transform.

</md:abstract>
</metadata>


  <content>
    <para id="p1">
      Named after the German mathematician, Peter Dirichlet, the
      <term>Dirichlet conditions</term> are the sufficient conditions
      to guarantee <term>existence</term> and <term>convergence</term>
      of the <cnxn document="m10496" strength="8">Fourier series</cnxn>
      or the <cnxn document="m0046" strength="8">Fourier
      transform</cnxn>.
    </para>
    
    <section id="sec1">
      <name>The Weak Dirichlet Condition for the Fourier Series</name>
      <rule type="condition" id="rule1">
	<name>The Weak Dirichlet Condition</name>
	<statement>
	  <para id="p2">
	    For the Fourier Series to exist, the Fourier coefficients
	    must be finite.  The <term>Weak Dirichlet Condition</term>
	    guarantees this existence.  It essentially says that the
	    integral of the absolute value of the signal must be
	    finite.  The limits of integration are different for the
	    Fourier Series case than for the Fourier Transform case.
	    This is a direct result of the differing definitions of
	    the two.
	  </para>
	</statement>

	<proof>
	  <para id="p3">
	    The Fourier Series exists (the coefficients are finite) if

	    <equation id="eqn1">
	      <name>
		Weak Dirichlet Condition for the Fourier Series
	      </name>
	      <m:math>
		<m:apply>
		  <m:lt/>
		  <m:apply>
		    <m:int/>
		    <m:bvar>
		      <m:ci>t</m:ci>
		    </m:bvar>
		    <m:lowlimit>
		      <m:cn>0</m:cn>
		    </m:lowlimit>
		    <m:uplimit>
		      <m:ci>T</m:ci>
		    </m:uplimit>
		    <m:apply>
		      <m:abs/>
		      <m:apply>
			<m:ci type="fn">f</m:ci>
			<m:ci>t</m:ci>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		  <m:infinity/>
		</m:apply>
	      </m:math>
	    </equation>

	    This can be shown from the initial condition that the Fourier
	    Series coefficients be finite.

	    <equation id="eqn2">
	      <m:math display="display">
		<m:apply>
		  <m:leq/>
		  <m:apply>
		    <m:eq/>
		    <m:apply>
		      <m:abs/>
		      <m:apply>
			<m:ci>
			  <m:msub>
			    <m:mi>c</m:mi>
			    <m:mi>n</m:mi>
			  </m:msub>
			</m:ci>
		      </m:apply>
		    </m:apply>
		    <m:apply>
		      <m:abs/>
		      <m:apply>
			<m:times/>
			<m:apply>
			  <m:divide/>
			  <m:cn>1</m:cn>
			  <m:ci>T</m:ci>
			</m:apply>
			<m:apply>
			  <m:int/>
			  <m:bvar>
			    <m:ci>t</m:ci>
			  </m:bvar>
			  <m:lowlimit>
			    <m:cn>0</m:cn>
			  </m:lowlimit>
			  <m:uplimit>
			    <m:ci>T</m:ci>
			  </m:uplimit>
			  <m:apply>
			    <m:times/>
			    <m:apply>
			      <m:ci type="fn">f</m:ci>
			      <m:ci>t</m:ci>
			    </m:apply>
			    <m:apply>
			      <m:exp/>
			      <m:apply>
				<m:minus/>
				<m:apply>
				  <m:times/>
				  <m:imaginaryi/>
				  <m:apply>
				    <m:ci>
				      <m:msub>
					<m:mi>ω</m:mi>
					<m:mn>0</m:mn>
				      </m:msub>
				    </m:ci>
				  </m:apply>
				  <m:ci>n</m:ci>
				  <m:ci>t</m:ci>
				</m:apply>
			      </m:apply>
			    </m:apply>
			  </m:apply>
			</m:apply>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		  <m:apply>
		    <m:times/>
		    <m:apply>
		      <m:divide/>
		      <m:cn>1</m:cn>
		      <m:ci>T</m:ci>
		    </m:apply>
		    <m:apply>
		      <m:int/>
		      <m:bvar>
			<m:ci>t</m:ci>
		      </m:bvar>
		      <m:lowlimit>
			<m:cn>0</m:cn>
		      </m:lowlimit>
		      <m:uplimit>
			<m:ci>T</m:ci>
		      </m:uplimit>
		      <m:apply>
			<m:times/>
			<m:apply>
			  <m:abs/>
			  <m:apply>
			    <m:ci type="fn">f</m:ci>
			    <m:ci>t</m:ci>
			  </m:apply>
			</m:apply>
			<m:apply>
			  <m:abs/>
			  <m:apply>
			    <m:exp/>
			    <m:apply>
			      <m:minus/>
			      <m:apply>
				<m:times/>
				<m:imaginaryi/>
				<m:apply>
				  <m:ci>
				    <m:msub>
				      <m:mi>ω</m:mi>
				      <m:mn>0</m:mn>
				    </m:msub>
				  </m:ci>
				</m:apply>
				<m:ci>n</m:ci>
				<m:ci>t</m:ci>
			      </m:apply>
			    </m:apply>
			  </m:apply>
			</m:apply>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:math>
	    </equation>

	    Remembering our <cnxn document="m10060" strength="7">complex
	    exponentials</cnxn>, we know that in the above equation
	    <m:math display="inline">
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:abs/>
		  <m:apply>
		    <m:exp/>
		    <m:apply>
		      <m:minus/>
		      <m:apply>
			<m:times/>
			<m:imaginaryi/>
			<m:apply>
			  <m:ci>
			    <m:msub>
			      <m:mi>ω</m:mi>
			      <m:mn>0</m:mn>
			    </m:msub>
			  </m:ci>
			</m:apply>
			<m:ci>n</m:ci>
			<m:ci>t</m:ci>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		</m:apply>
		<m:cn>1</m:cn>
	      </m:apply>
	    </m:math>, which gives us
	    
	    <equation id="eqn4">
	      <m:math display="display">
		<m:apply>
		  <m:eq/>
		  <m:apply>
		    <m:times/>
		    <m:apply>
		      <m:divide/>
		      <m:cn>1</m:cn>
		      <m:ci>T</m:ci>
		    </m:apply>
		    <m:apply>
		      <m:int/>
		      <m:bvar>
			<m:ci>t</m:ci>
		      </m:bvar>
		      <m:lowlimit>
			<m:cn>0</m:cn>
		      </m:lowlimit>
		      <m:uplimit>
			<m:ci>T</m:ci>
		      </m:uplimit>
		      <m:apply>
			<m:abs/>
			<m:apply>
			  <m:ci type="fn">f</m:ci>
			  <m:ci>t</m:ci>
			</m:apply>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:math>
	    </equation>

	    <equation id="eqn5">
	      <m:math display="display">
		<m:apply>
		  <m:lt/>
		  <m:infinity/>
		</m:apply>
	      </m:math>
	    </equation>
	  </para>
	</proof>
      </rule>

      <para id="sec2_p1">
	<note type="note">
	  If we have the function:
	  
	  <m:math display="block">
	    <m:apply>
	      <m:forall/>
	      <m:bvar>
		<m:ci>t</m:ci>
	      </m:bvar>
	      <m:condition>
		<m:apply>
		  <m:leq/>
		  <m:apply>
		    <m:lt/>
		    <m:cn>0</m:cn>
		    <m:ci>t</m:ci>
		  </m:apply>
		  <m:ci>T</m:ci>
		</m:apply>
	      </m:condition>
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:ci type="fn">f</m:ci>
		  <m:ci>t</m:ci>
		</m:apply>
		<m:apply>
		  <m:divide/>
		  <m:cn>1</m:cn>
		  <m:ci>t</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>

	  then you should note that this functions
	  <emphasis>fails</emphasis> the above condition.
	</note>
      </para>
   
      <section id="sec2">
	<name>The Weak Dirichlet Condition for the Fourier Transform</name>
	<rule type="condition" id="rule2">
	  <statement>
	    <para id="p4">
	      The Fourier Transform exists if
	      <equation id="eqn6">
		<name>Weak Dirichlet Condition for the Fourier Transform</name>
		<m:math display="display">
		  <m:apply>
		    <m:lt/>
		    <m:apply>
		      <m:int/>
		      <m:bvar>
			<m:ci>t</m:ci>
		      </m:bvar>
		      <m:lowlimit>
			<m:apply>
			  <m:minus/>
			  <m:infinity/>
			</m:apply>
		      </m:lowlimit>
		      <m:uplimit>
			<m:infinity/>
		      </m:uplimit>
		      <m:apply>
			<m:abs/>
			<m:apply>
			  <m:ci type="fn">f</m:ci>
			  <m:ci>t</m:ci>
			</m:apply>
		      </m:apply>
		    </m:apply>
		    <m:infinity/>
		  </m:apply>
		</m:math>
	      </equation>

	      This can be derived the same way the weak Dirichlet for the
	      Fourier Series was derived, by beginning with the definition
	      and showing that the Fourier Transform must be less than
	      infinity everywhere.
	    </para>
	  </statement>
	</rule>
      </section>
    </section>

    <section id="sec3">
      <name>The Strong Dirichlet Conditions</name>
      <para id="p5">
	The Fourier Transform exists if the signal has a finite number
	of discontinuities and a finite number of <term>maxima</term>
	and <term>minima</term>.  For the Fourier Series to exist, the
	following two conditions must be satisfied (along with the Weak
	Dirichlet Condition):

	<list id="list1" type="enumerated">
	  <item>
	    In one period, 
	    <m:math>
	      <m:apply>
		<m:ci type="fn">f</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	    </m:math> has only a finite number of minima and maxima.
	  </item>
	  <item>
	    In one period, 
	    <m:math>
	      <m:apply>
		<m:ci type="fn">f</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	    </m:math> has only a finite number of discontinuities and
	    each one is finite.
	  </item>
	</list>

	These are what we refer to as the <term>Strong
	Dirichlet Conditions</term>.  In theory we can think of
	signals that violate these conditions,
	<m:math display="inline">
	  <m:apply>
	    <m:sin/>
	    <m:apply>
	      <m:log/>
	      <m:ci>t</m:ci>
	    </m:apply>
	  </m:apply>
	</m:math>
	for instance.  However, it is not possible to create a signal
	that violates these conditions in a lab.  Therefore, any
	real-world signal will have a Fourier representation.
      </para>

		
      <section id="eg_sub">
	<name>Example</name>
	<para id="p1_egs">
	  Let us assume we have the following function and equality:

	  <equation id="eq_eg1">
	    <m:math>
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:diff/>
		  <m:apply>
		    <m:ci type="fn">f</m:ci>
		    <m:ci>t</m:ci>
		  </m:apply>
		</m:apply>
		<m:apply>
		  <m:limit/>
		  <m:bvar>
		    <m:ci>N</m:ci>
		  </m:bvar>
		  <m:lowlimit>
		    <m:infinity/>
		  </m:lowlimit>
		  <m:apply>
		    <m:diff/>
		    <m:apply>
		      <m:ci type="fn">
			<m:msub>
			  <m:mi>f</m:mi>
			  <m:mi>N</m:mi>
			</m:msub>
		      </m:ci>
		      <m:ci>t</m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:math>
	  </equation>

	  If 
	  <m:math>
	    <m:apply>
	      <m:ci type="fn">f</m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	  </m:math> meets all three conditions of the Strong Dirichlet
	  Conditions, then

	  <m:math display="block">
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:ci type="fn">f</m:ci>
		<m:ci>τ</m:ci>
	      </m:apply>
	      <m:apply>
		<m:diff/>
		<m:apply>
		  <m:ci type="fn">f</m:ci>
		  <m:ci>τ</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>

	  at every <m:math><m:ci>τ</m:ci></m:math> at which
	   <m:math>
	    <m:apply>
	      <m:ci type="fn">f</m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	  </m:math> is continuous.  And where
	  <m:math>
	    <m:apply>
	      <m:ci type="fn">f</m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	  </m:math> is discontinuous, 
	   <m:math>
	    <m:apply>
	      <m:diff/>
	      <m:apply>
		<m:ci type="fn">f</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	    </m:apply>
	  </m:math> is the <emphasis>average</emphasis> of the values
	  on the right and left.  See <cnxn target="figs"/> as an example:
	</para>

	<figure orient="horizontal" id="figs">
	  <subfigure id="subf1">
	    <media type="image/png" src="dircond1.png"/>
	  </subfigure>
	  <subfigure id="subf2">
	    <media type="image/png" src="dircond2.png"/>
	  </subfigure>
	  <caption>
	    Discontinuous functions, 
	    <m:math>
	      <m:apply>
		<m:ci type="fn">f</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	    </m:math>.		      
	  </caption>
	</figure>

	<para id="pfin">
	  <note type="note">
	    The functions that fail the Dirchlet conditions are pretty
	    pathological - as engineers, we are not too interested in
	    them. 
	  </note>
	</para>

      </section>

    </section>

  </content>
</document>
