<?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="m10179">

  <name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Typical Sequences</name>
  <metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2.10</md:version>
  <md:created xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2001/07/11</md:created>
  <md:revised xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">2005/10/26 21:02:21.823 GMT-5</md:revised>
  <md:authorlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
      <md:author xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="aaz">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Behnaam</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Aazhang</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">aaz@ece.rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="rha">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Roy</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Ha</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">rha@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="dinesh">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Dinesh</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Rajan</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">dinesh@ece.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="mohammad">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Mohammad</md:firstname>
      <md:othername xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Jaber</md:othername>
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Borran</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">mohammad@ece.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="aaz">
      <md:firstname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Behnaam</md:firstname>
      
      <md:surname xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">Aazhang</md:surname>
      <md:email xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">aaz@ece.rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">entropy</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">information theory</md:keyword>
    <md:keyword xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">typical sequence</md:keyword>
  </md:keywordlist>

  <md:abstract xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">A description of typical sequences.</md:abstract>
</metadata>



  <content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/">

    <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para0">
      If the binary symmetric channel has crossover probability
      <m:math><m:ci>ε</m:ci></m:math> then if <m:math display="inline"><m:ci type="vector">x</m:ci></m:math> is
      transmitted then by the Law of Large Numbers the output <m:math display="inline"><m:ci type="vector">y</m:ci></m:math> is
      different from <m:math><m:ci type="vector">x</m:ci></m:math> in
      <m:math display="inline">
	<m:apply>
	  <m:times/>
          <m:ci>n</m:ci>
          <m:ci>ε</m:ci>
	</m:apply>
      </m:math>
      places if <m:math><m:ci>n</m:ci></m:math> is very large.
      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="wk">
	<m:math display="block">
	  <m:apply>
	    <m:approx/>
            <m:apply>
              <m:ci type="fn">
		<m:msub>
                  <m:mi>d</m:mi>
                  <m:mi>H</m:mi>
                </m:msub>
              </m:ci>
              <m:ci type="vector">x</m:ci>
              <m:ci type="vector">y</m:ci>
            </m:apply>
            <m:apply>
              <m:times/>
	      <m:ci>n</m:ci>
	      <m:ci>ε</m:ci>
            </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      The number of sequences of length <m:math><m:ci>n</m:ci></m:math>
      that are different from <m:math><m:ci type="vector">x</m:ci></m:math> of length
      <m:math><m:ci>n</m:ci></m:math> at
      <m:math display="inline">
	<m:apply>
	  <m:times/>
          <m:ci>n</m:ci>
          <m:ci>ε</m:ci>
	</m:apply>
      </m:math>
      is
      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eqwk2">
	<m:math display="block">
	  <m:apply>
	    <m:eq/>
            <m:apply>
              <m:csymbol definitionURL="http://www.openmath.org/cd/combinat1.ocd"/>
              <m:ci>n</m:ci>
              <m:apply>
                <m:times/>
		<m:ci>n</m:ci>
		<m:ci>ε</m:ci>
              </m:apply>
            </m:apply>
            <m:apply>
              <m:divide/>
	      <m:apply>
		<m:factorial/>
		<m:ci>n</m:ci>
	      </m:apply>
	      <m:apply>
		<m:times/>
		<m:apply>
		  <m:factorial/>
		  <m:apply>
		    <m:times/>
		    <m:ci>n</m:ci>
		    <m:ci>ε</m:ci>
		  </m:apply>
		</m:apply>
		<m:apply>
		  <m:factorial/>
		  <m:apply>
		    <m:minus/>
		    <m:ci>n</m:ci>
		    <m:apply>
		      <m:times/>
		      <m:ci>n</m:ci>
		      <m:ci>ε</m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
            </m:apply>
	  </m:apply>
	</m:math>
      </equation>
    </para>


    <example xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="example1">

      <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para1">
	<m:math display="inline">
	  <m:apply>
	    <m:eq/>
            <m:ci type="vector">x</m:ci>
            <m:vector>
              <m:cn>0</m:cn>
              <m:cn>0</m:cn>
              <m:cn>0</m:cn>
            </m:vector>
	  </m:apply>
	</m:math>
	and
	<m:math display="inline">
	  <m:apply>
	    <m:eq/>
            <m:ci>ε</m:ci>
            <m:apply>
              <m:divide/>
	      <m:cn>1</m:cn>
	      <m:cn>3</m:cn>
            </m:apply>
	  </m:apply>
	</m:math>
	and
	<m:math display="inline">
	  <m:apply>
	    <m:eq/>
            <m:apply>
              <m:times/>
	      <m:ci>n</m:ci>
	      <m:ci>ε</m:ci>
            </m:apply>
            <m:apply>
              <m:times/>
	      <m:cn>3</m:cn>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:cn>3</m:cn>
	      </m:apply>
            </m:apply>
	  </m:apply>
	</m:math>.
	The number of output sequences different from
	<m:math display="inline"><m:ci type="vector">x</m:ci></m:math>
	by one element:
	<m:math display="inline">
	  <m:apply>
	    <m:eq/>
            <m:apply>
              <m:divide/>
	      <m:apply>
		<m:factorial/>
		<m:cn>3</m:cn>
	      </m:apply>
	      <m:apply>
		<m:times/>
		<m:apply>
		  <m:factorial/>
		  <m:cn>1</m:cn>
		</m:apply>
		<m:apply>
		  <m:factorial/>
		  <m:cn>2</m:cn>
		</m:apply>
	      </m:apply>
            </m:apply>
            <m:apply>
              <m:divide/>
	      <m:apply>
		<m:times/>
		<m:cn>3</m:cn>
		<m:cn>2</m:cn>
		<m:cn>1</m:cn>
	      </m:apply>
	      <m:apply>
		<m:times/>
		<m:cn>1</m:cn>
		<m:cn>2</m:cn>
	      </m:apply>
            </m:apply>
            <m:cn>3</m:cn>
	  </m:apply>
	</m:math>
	given by
	<m:math display="inline">
	  <m:vector>
	    <m:cn>1</m:cn>
	    <m:cn>0</m:cn>
	    <m:cn>1</m:cn>
	  </m:vector>
	</m:math>,
	<m:math display="inline">
	  <m:vector>
	    <m:cn>0</m:cn>
	    <m:cn>1</m:cn>
	    <m:cn>1</m:cn>
	  </m:vector>
	</m:math>, and
	<m:math display="inline">
	  <m:vector>
	    <m:cn>0</m:cn>
	    <m:cn>0</m:cn>
	    <m:cn>0</m:cn>
	  </m:vector>
	</m:math>.
      </para>
    </example>

    <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para2">
      Using Stirling's approximation
      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eq01">
	<m:math display="block">
	  <m:apply>
	    <m:approx/>
            <m:apply>
              <m:factorial/>
	      <m:ci>n</m:ci>
            </m:apply>
            <m:apply>
              <m:times/>
	      <m:apply>
		<m:power/>
		<m:ci>n</m:ci>
		<m:ci>n</m:ci>
	      </m:apply>
	      <m:apply>
		<m:exp/>
		<m:apply>
		  <m:minus/>
		  <m:ci>n</m:ci>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:root/>
		<m:apply>
		  <m:times/>
		  <m:cn>2</m:cn>
		  <m:pi/>
		  <m:ci>n</m:ci>
		</m:apply>
	      </m:apply>                        
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      we can approximate
      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eq02">
	<m:math display="block">
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:approx/>
	      <m:apply>
		<m:csymbol definitionURL="http://www.openmath.org/cd/combinat1.ocd"/>
		<m:ci>n</m:ci>
		<m:apply>
		  <m:times/>
                  <m:ci>n</m:ci>
                  <m:ci>ε</m:ci>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:power/>
                <m:cn>2</m:cn>
                <m:apply>
                  <m:times/>
		  <m:cn>n</m:cn>
		  <m:apply>
		    <m:minus/>
		    <m:apply>
		      <m:minus/>
		      <m:apply>
			<m:times/>
			<m:ci>ε</m:ci>
			<m:apply>
			  <m:log/>
			  <m:logbase>
			    <m:cn>2</m:cn>
			  </m:logbase>
			  <m:ci>ε</m:ci>
			</m:apply>
		      </m:apply>
		    </m:apply>
		    <m:apply>
		      <m:times/>
		      <m:apply>
			<m:minus/>
			<m:cn>1</m:cn>
			<m:ci>ε</m:ci>
		      </m:apply>
		      <m:apply>
			<m:log/>
			<m:logbase>
			  <m:cn>2</m:cn>
			</m:logbase>
			<m:apply>
			  <m:minus/>
			  <m:cn>1</m:cn>
			  <m:ci>ε</m:ci>
			</m:apply>
		      </m:apply>
		    </m:apply>
		  </m:apply>
                </m:apply>
	      </m:apply>
	    </m:apply>
	    <m:apply>
              <m:power/>
	      <m:cn>2</m:cn>
	      <m:apply>
		<m:times/>
		<m:ci>n</m:ci>
		<m:apply>
		  <m:ci type="fn">
		    <m:msub>
		      <m:mi>H</m:mi>
		      <m:mi>b</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:ci>ε</m:ci>
		</m:apply>
	      </m:apply>
            </m:apply>
	  </m:apply>
	</m:math>
      </equation>

      where
      <m:math display="inline">
	<m:apply>
	  <m:equivalent/>
          <m:apply>
            <m:ci type="fn">
              <m:msub>
                <m:mi>H</m:mi>
                <m:mi>b</m:mi>
              </m:msub>
            </m:ci>
            <m:ci>ε</m:ci>
          </m:apply>
          <m:apply>
            <m:minus/>
	    <m:apply>
	      <m:minus/>
	      <m:apply>
		<m:times/>
		<m:ci>ε</m:ci>
		<m:apply>
		  <m:log/>
		  <m:logbase>
		    <m:cn>2</m:cn>
		  </m:logbase>
		  <m:ci>ε</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	    <m:apply>
	      <m:times/>
	      <m:apply>
		<m:minus/>
		<m:cn>1</m:cn>
		<m:ci>ε</m:ci>
	      </m:apply>
	      <m:apply>
		<m:log/>
		<m:logbase>
		  <m:cn>2</m:cn>
		</m:logbase>
		<m:apply>
		  <m:minus/>
		  <m:cn>1</m:cn>
		  <m:ci>ε</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
          </m:apply>
	</m:apply>
      </m:math>
      is the entropy of a binary memoryless source. For any
      <m:math display="inline"><m:ci type="vector">x</m:ci></m:math>
      there are
      <m:math display="inline">
	<m:apply>
	  <m:power/>
          <m:cn>2</m:cn>
          <m:apply>
            <m:times/>
	    <m:ci>n</m:ci>
	    <m:apply>
	      <m:ci type="fn">
		<m:msub>
		  <m:mi>H</m:mi>
		  <m:mi>b</m:mi>
		</m:msub>
	      </m:ci>
	      <m:ci>ε</m:ci>
	    </m:apply>
          </m:apply>
	</m:apply>
      </m:math>
      highly probable outputs that correspond to this input.
    </para>

    <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para3">
      Consider the output vector
      <m:math display="inline"><m:ci type="vector">Y</m:ci></m:math>
      as a very long random vector with entropy
      <m:math display="inline">
	<m:apply>
	  <m:times/>
          <m:ci>n</m:ci>
          <m:apply>
            <m:ci type="fn">H</m:ci>
            <m:ci>Y</m:ci>
          </m:apply>
	</m:apply>
      </m:math>.  As discussed <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" document="m10162" target="example1">earlier</cnxn>, the number of typical
      sequences (or highly probably) is roughly
      <m:math display="inline">
	<m:apply>
	  <m:power/>
          <m:cn>2</m:cn>
          <m:apply>
            <m:times/>
	    <m:ci>n</m:ci>
	    <m:apply>
	      <m:ci type="fn">H</m:ci>
	      <m:ci>Y</m:ci>
	    </m:apply>
          </m:apply>
	</m:apply>
      </m:math>.
      Therefore,
      <m:math display="inline">
	<m:apply>
	  <m:power/>
          <m:cn>2</m:cn>
          <m:ci>n</m:ci>
	</m:apply>
      </m:math>
      is the total number of binary sequences,
      <m:math display="inline">
	<m:apply>
	  <m:power/>
          <m:cn>2</m:cn>
          <m:apply>
            <m:times/>
	    <m:ci>n</m:ci>
	    <m:apply>
	      <m:ci type="fn">H</m:ci>
	      <m:ci>Y</m:ci>
	    </m:apply>
          </m:apply>
	</m:apply>
      </m:math>
      is the number of typical sequences, and
      <m:math display="inline">
	<m:apply>
	  <m:power/>
          <m:cn>2</m:cn>
          <m:apply>
            <m:times/>
	    <m:ci>n</m:ci>
	    <m:apply>
	      <m:ci type="fn">
		<m:msub>
		  <m:mi>H</m:mi>
		  <m:mi>b</m:mi>
		</m:msub>
	      </m:ci>
	      <m:ci>ε</m:ci>
	    </m:apply>
          </m:apply>
	</m:apply>
      </m:math>
      is the number of elements in a group of possible outputs for one
      input vector.  The maximum number of input sequences that
      produce nonoverlapping output sequences
      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eq04">
	<m:math display="block">
	  <m:apply>
	    <m:eq/>
            <m:ci>M</m:ci>
            <m:apply>
              <m:divide/>
	      <m:apply>
		<m:power/>
		<m:cn>2</m:cn>
		<m:apply>
		  <m:times/>
		  <m:ci>n</m:ci>
		  <m:apply>
		    <m:ci type="fn">H</m:ci>
		    <m:ci>Y</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:power/>
		<m:cn>2</m:cn>
		<m:apply>
		  <m:times/>
		  <m:ci>n</m:ci>
		  <m:apply>
		    <m:ci type="fn">
		      <m:msub>
			<m:mi>H</m:mi>
			<m:mi>b</m:mi>
		      </m:msub>
		    </m:ci>
		    <m:ci>ε</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
            </m:apply>
            <m:apply>
              <m:power/>
	      <m:cn>2</m:cn>
	      <m:apply>
		<m:times/>
		<m:ci>n</m:ci>
		<m:apply>
		  <m:minus/>
		  <m:apply>
		    <m:ci type="fn">H</m:ci>
		    <m:ci>Y</m:ci>
		  </m:apply>
		  <m:apply>
		    <m:ci type="fn">
		      <m:msub>
			<m:mi>H</m:mi>
			<m:mi>b</m:mi>
		      </m:msub>
		    </m:ci>
		    <m:ci>ε</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
            </m:apply>
	  </m:apply>
	</m:math>
      </equation>
    </para>

    <figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="fig2">
      <media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Figure7-38.png"/>
    </figure>

    <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para4">
      The number of distinguishable input sequences of length
      <m:math><m:ci>n</m:ci></m:math> is
      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eq05">
	<m:math display="block">
	  <m:apply>
	    <m:power/>
            <m:cn>2</m:cn>
            <m:apply>
              <m:times/>
	      <m:ci>n</m:ci>
	      <m:apply>
		<m:minus/>
		<m:apply>
		  <m:ci type="fn">H</m:ci>
		  <m:ci>Y</m:ci>
		</m:apply>
		<m:apply>
		  <m:ci type="fn">
		    <m:msub>
		      <m:mi>H</m:mi>
		      <m:mi>b</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:ci>ε</m:ci>
		</m:apply>
	      </m:apply>
            </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      The number of information bits that can be sent across the
      channel reliably per <m:math><m:ci>n</m:ci></m:math> channel
      uses
      <m:math display="inline">
	<m:apply>
	  <m:times/>
          <m:ci>n</m:ci>
          <m:apply>
            <m:minus/>
	    <m:apply>
	      <m:ci type="fn">H</m:ci>
	      <m:ci>Y</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:ci type="fn">
		<m:msub>
		  <m:mi>H</m:mi>
		  <m:mi>b</m:mi>
		</m:msub>
	      </m:ci>
	      <m:ci>ε</m:ci>
	    </m:apply>
          </m:apply>
	</m:apply>
      </m:math>
      The maximum reliable transmission rate per channel use
      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eq06">
	<m:math display="block">
	  <m:apply>
	    <m:eq/>
            <m:ci>R</m:ci>
            <m:apply>
              <m:divide/>
	      <m:apply>
		<m:log/>
		<m:logbase>
		  <m:cn>2</m:cn>
		</m:logbase>
		<m:ci>M</m:ci>
	      </m:apply>
	      <m:ci>n</m:ci>
            </m:apply>
            <m:apply>
              <m:divide/>
	      <m:apply>
		<m:times/>
		<m:ci>n</m:ci>
		<m:apply>
		  <m:minus/>
		  <m:apply>
		    <m:ci type="fn">H</m:ci>
		    <m:ci>Y</m:ci>
		  </m:apply>
		  <m:apply>
		    <m:ci type="fn">
		      <m:msub>
			<m:mi>H</m:mi>
			<m:mi>b</m:mi>
		      </m:msub>
		    </m:ci>
		    <m:ci>ε</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:ci>n</m:ci>
            </m:apply>
	    <m:apply>
              <m:minus/>
	      <m:apply>
		<m:ci type="fn">H</m:ci>
		<m:ci>Y</m:ci>
	      </m:apply>
	      <m:apply>
		<m:ci type="fn">
		  <m:msub>
		    <m:mi>H</m:mi>
		    <m:mi>b</m:mi>
		  </m:msub>
		</m:ci>
		<m:ci>ε</m:ci>
	      </m:apply>
            </m:apply>
	  </m:apply>
	</m:math>
      </equation>

      The maximum rate can be increased by increasing
      <m:math display="inline">
	<m:apply>
	  <m:ci type="fn">H</m:ci>
	  <m:ci>Y</m:ci>
	</m:apply>
      </m:math>.
      Note that 
      <m:math display="inline">
	<m:apply>
	  <m:ci type="fn">
	    <m:msub>
	      <m:mi>H</m:mi>
	      <m:mi>b</m:mi>
	    </m:msub>
	  </m:ci>
	  <m:ci>ε</m:ci>
	</m:apply>
      </m:math>
      is only a function of the crossover probability and can not be minimized
      any further.
    </para>

    <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para5">
      The entropy of the channel output is the entropy of a binary random 
      variable.  If the input is chosen to be uniformly distributed with
      <m:math display="inline">
	<m:apply>
	  <m:eq/>
          <m:apply>
            <m:ci type="fn">
              <m:msub>
                <m:mi>p</m:mi>
                <m:mi>X</m:mi>
              </m:msub>
            </m:ci>
            <m:cn>0</m:cn>
          </m:apply>
          <m:apply>
            <m:ci type="fn">
              <m:msub>
                <m:mi>p</m:mi>
                <m:mi>X</m:mi>
              </m:msub>
            </m:ci>
            <m:cn>1</m:cn>
          </m:apply>
          <m:apply>
            <m:divide/>
	    <m:cn>1</m:cn>
	    <m:cn>2</m:cn>
          </m:apply>
	</m:apply>
      </m:math>.
    </para>

    <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para6">
      Then
      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eq08">
	<m:math display="block">
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:ci type="fn">
		<m:msub>
		  <m:mi>p</m:mi>
		  <m:mi>Y</m:mi>
		</m:msub>
	      </m:ci>
	      <m:cn>0</m:cn>
	    </m:apply>
	    <m:apply>
	      <m:plus/>
              <m:apply>
                <m:times/>
		<m:apply>
		  <m:minus/>
		  <m:cn>1</m:cn>
		  <m:ci>ε</m:ci>
		</m:apply>
		<m:apply>
		  <m:ci type="fn">
		    <m:msub>
		      <m:mi>p</m:mi>
		      <m:mi>X</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:cn>0</m:cn>
		</m:apply>
              </m:apply>
              <m:apply>
                <m:times/>
		<m:ci>ε</m:ci>
		<m:apply>
		  <m:ci type="fn">
		    <m:msub>
		      <m:mi>p</m:mi>
		      <m:mi>X</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:cn>1</m:cn>
		</m:apply>
              </m:apply>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
              <m:cn>1</m:cn>
              <m:cn>2</m:cn>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>

      and

      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eq09">
	<m:math display="block">
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:ci type="fn">
		<m:msub>
		  <m:mi>p</m:mi>
		  <m:mi>Y</m:mi>
		</m:msub>
	      </m:ci>
	      <m:cn>1</m:cn>
	    </m:apply>
	    <m:apply>
	      <m:plus/>
              <m:apply>
                <m:times/>
		<m:apply>
		  <m:minus/>
		  <m:cn>1</m:cn>
		  <m:ci>ε</m:ci>
		</m:apply>
		<m:apply>
		  <m:ci type="fn">
		    <m:msub>
		      <m:mi>p</m:mi>
		      <m:mi>X</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:cn>1</m:cn>
		</m:apply>
              </m:apply>
              <m:apply>
                <m:times/>
		<m:ci>ε</m:ci>
		<m:apply>
		  <m:ci type="fn">
		    <m:msub>
		      <m:mi>p</m:mi>
		      <m:mi>X</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:cn>0</m:cn>
		</m:apply>
              </m:apply>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
              <m:cn>1</m:cn>
              <m:cn>2</m:cn>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      Then,
      <m:math display="inline">
	<m:apply>
	  <m:ci type="fn">H</m:ci>
	  <m:ci>Y</m:ci>
	</m:apply>
      </m:math>
      takes its maximum value of 1.  Resulting in a maximum rate
      <m:math display="inline">
	<m:apply>
	  <m:eq/>
          <m:ci>R</m:ci>
          <m:apply>
            <m:minus/>
	    <m:ci>1</m:ci>
	    <m:apply>
	      <m:ci type="fn">
		<m:msub>
		  <m:mi>H</m:mi>
		  <m:mi>b</m:mi>
		</m:msub>
	      </m:ci>
	      <m:ci>ε</m:ci>
	    </m:apply>
          </m:apply>
	</m:apply>
      </m:math>
      when
      <m:math display="inline">
	<m:apply>
	  <m:eq/>
          <m:apply>
            <m:ci type="fn">
              <m:msub>
                <m:mi>p</m:mi>
                <m:mi>X</m:mi>
              </m:msub>
            </m:ci>
            <m:cn>0</m:cn>
          </m:apply>
          <m:apply>
            <m:ci type="fn">
              <m:msub>
                <m:mi>p</m:mi>
                <m:mi>X</m:mi>
              </m:msub>
            </m:ci>
            <m:cn>1</m:cn>
          </m:apply>
          <m:apply>
            <m:divide/>
	    <m:cn>1</m:cn>
	    <m:cn>2</m:cn>
          </m:apply>
	</m:apply>
      </m:math>.
      This result says that ordinarily one bit is transmitted across a BSC with
      reliability 
      <m:math display="inline">
	<m:apply>
	  <m:minus/>
          <m:cn>1</m:cn>
          <m:ci>ε</m:ci>
	</m:apply>
      </m:math>.
      If one needs to have probability of error to reach zero then one
      should reduce transmission of information to 
      <m:math display="inline">
	<m:apply>
	  <m:minus/>
          <m:cn>1</m:cn>
          <m:apply>
            <m:ci type="fn">
              <m:msub>
                <m:mi>H</m:mi>
                <m:mi>b</m:mi>
              </m:msub>
            </m:ci>
            <m:ci>ε</m:ci>
          </m:apply>
	</m:apply>
      </m:math>
      and add redundancy.
    </para>

    <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para7">
      Recall that for Binary Symmetric Channels (BSC)
      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eq10">
	<m:math display="block">
	  <m:apply>
	    <m:eq/>
            <m:apply>
              <m:ci type="fn">H</m:ci>
              <m:ci>
                <m:mrow>
                  <m:mi>Y</m:mi>
                  <m:mo>|</m:mo>
                  <m:mi>X</m:mi>
                </m:mrow>
              </m:ci>
            </m:apply>
            <m:apply>
              <m:plus/>
	      <m:apply>
		<m:times/>
		<m:apply>
		  <m:ci type="fn">
		    <m:msub>
		      <m:mi>p</m:mi>
		      <m:mi>x</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:cn>0</m:cn>
		</m:apply>
		<m:apply>
		  <m:ci type="fn">H</m:ci>
		  <m:ci>
		    <m:mrow>
		      <m:mi>Y</m:mi>
		      <m:mo>|</m:mo>
		      <m:mrow>
			<m:mi>X</m:mi>
			<m:mo>=</m:mo>
			<m:mn>0</m:mn>
		      </m:mrow>
		    </m:mrow>
		  </m:ci>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:times/>
		<m:apply>
		  <m:ci type="fn">
		    <m:msub>
		      <m:mi>p</m:mi>
		      <m:mi>x</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:cn>1</m:cn>
		</m:apply>
		<m:apply>
		  <m:ci type="fn">H</m:ci>
		  <m:ci>
		    <m:mrow>
		      <m:mi>Y</m:mi>
		      <m:mo>|</m:mo>
		      <m:mrow>
			<m:mi>X</m:mi>
			<m:mo>=</m:mo>
			<m:mn>1</m:mn>
		      </m:mrow>
		    </m:mrow>
		  </m:ci>
		</m:apply>
	      </m:apply>
            </m:apply>

            <m:apply>
              <m:plus/>
	      <m:apply>
		<m:times/>
		<m:apply>
		  <m:ci type="fn">
		    <m:msub>
		      <m:mi>p</m:mi>
		      <m:mi>x</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:cn>0</m:cn>
		</m:apply>
		<m:apply>
		  <m:minus/>
		  <m:apply>
		    <m:minus/>
		    <m:apply>
		      <m:times/>
		      <m:apply>
			<m:minus/>
			<m:cn>1</m:cn>
			<m:ci>ε</m:ci>
		      </m:apply>
		      <m:apply>
			<m:log/>
			<m:logbase>
			  <m:cn>2</m:cn>
			</m:logbase>
			<m:apply>
			  <m:minus/>
			  <m:cn>1</m:cn>
			  <m:ci>ε</m:ci>
			</m:apply>
		      </m:apply>
		    </m:apply>
		    <m:apply>
		      <m:times/>
		      <m:ci>ε</m:ci>
		      <m:apply>
			<m:log/>
			<m:logbase>
			  <m:cn>2</m:cn>
			</m:logbase>
			<m:ci>ε</m:ci>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:times/>
		<m:apply>
		  <m:ci type="fn">
		    <m:msub>
		      <m:mi>p</m:mi>
		      <m:mi>x</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:cn>1</m:cn>
		</m:apply>
		<m:apply>
		  <m:minus/>
		  <m:apply>
		    <m:minus/>
		    <m:apply>
		      <m:times/>
		      <m:apply>
			<m:minus/>
			<m:cn>1</m:cn>
			<m:ci>ε</m:ci>
		      </m:apply>
		      <m:apply>
			<m:log/>
			<m:logbase>
			  <m:cn>2</m:cn>
			</m:logbase>
			<m:apply>
			  <m:minus/>
			  <m:cn>1</m:cn>
			  <m:ci>ε</m:ci>
			</m:apply>
		      </m:apply>
		    </m:apply>
		    <m:apply>
		      <m:times/>
		      <m:ci>ε</m:ci>
		      <m:apply>
			<m:log/>
			<m:logbase>
			  <m:cn>2</m:cn>
			</m:logbase>
			<m:ci>ε</m:ci>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
            </m:apply>

            <m:apply>
              <m:minus/>
	      <m:apply>
		<m:minus/>
		<m:apply>
		  <m:times/>
		  <m:apply>
		    <m:minus/>
		    <m:cn>1</m:cn>
		    <m:ci>ε</m:ci>
		  </m:apply>
		  <m:apply>
		    <m:log/>
		    <m:logbase>
		      <m:cn>2</m:cn>
		    </m:logbase>
		    <m:apply>
		      <m:minus/>
		      <m:cn>1</m:cn>
		      <m:ci>ε</m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:times/>
		<m:ci>ε</m:ci>
		<m:apply>
		  <m:log/>
		  <m:logbase>
		    <m:cn>2</m:cn>
		  </m:logbase>
		  <m:ci>ε</m:ci>
		</m:apply>
	      </m:apply>
            </m:apply>
            <m:apply>
              <m:ci type="fn">
                <m:msub>
                  <m:mi>H</m:mi>
                  <m:mi>b</m:mi>
                </m:msub>
              </m:ci>
              <m:ci>ε</m:ci>
            </m:apply>
	  </m:apply>
	</m:math>
      </equation>

      Therefore, the maximum rate indeed was

      <equation xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="eq13">
	<m:math display="block">
	  <m:apply>
	    <m:eq/>
            <m:ci>R</m:ci>
            <m:apply>
              <m:minus/>
	      <m:apply>
		<m:ci type="fn">H</m:ci>
		<m:ci>Y</m:ci>
	      </m:apply>
	      <m:apply>
		<m:ci type="fn">H</m:ci>
		<m:ci>
		  <m:mrow>
		    <m:mi>Y</m:mi>
		    <m:mo>|</m:mo>
		    <m:mi>X</m:mi>
		  </m:mrow>
		</m:ci>
	      </m:apply>
            </m:apply>
            <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#mutualinformation"/>
              <m:ci>X</m:ci>
	      <m:ci>Y</m:ci>
            </m:apply>
	  </m:apply>
	</m:math>
      </equation>

    </para>

    <example xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="example2">
      <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para8">
	The maximum reliable rate for a BSC is 
	<m:math display="inline">
	  <m:apply>
	    <m:minus/>
            <m:cn>1</m:cn>
            <m:apply>
              <m:ci type="fn">
                <m:msub>
                  <m:mi>H</m:mi>
                  <m:mi>b</m:mi>
                </m:msub>
              </m:ci>
              <m:ci>ε</m:ci>
            </m:apply>
	  </m:apply>
	</m:math>.
	The rate is 1 when
	<m:math display="inline">
	  <m:apply>
	    <m:eq/>
            <m:ci>ε</m:ci>
            <m:cn>0</m:cn> 
	  </m:apply>
	</m:math>
	or 
	<m:math display="inline">
	  <m:apply>
	    <m:eq/>
            <m:ci>ε</m:ci>
            <m:cn>1</m:cn> 
	  </m:apply>
	</m:math>.
	The rate is 0 when
	<m:math display="inline">
	  <m:apply>
	    <m:eq/>
            <m:ci>ε</m:ci>
            <m:apply>
              <m:divide/>
	      <m:cn>1</m:cn> 
	      <m:cn>2</m:cn>
            </m:apply>
	  </m:apply>
	</m:math>
      </para>

      <figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="fig6">
	<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Figure7-41.png"/>
      </figure>

    </example>

    <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="para9">
      This module provides background information necessary for an 
      understanding of <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" document="m10180" strength="7">Shannon's Noisy
	Channel Coding Theorem</cnxn>.  It is also closely related to material
      presented in <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" document="m10178" strength="7">Mutual 
	Information</cnxn>.
    </para>

  </content>
</document>
