<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Shannon&#039;s source coding theorem - Page 13 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Shannon's_source_coding_theorem&amp;p=12">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Shannon%27s_source_coding_theorem&amp;p=14">3.Next</a>
</p>
<p>of size smaller than  (in the sense of exponent) would cover a set of probability bounded away from .</p>

<p><big> Proof: Source coding theorem for symbol codes </big></p>
<p>For  let  denote the word length of each possible . Define , where  is chosen so that .  Then</p>

<p>
:</p>

<p>where the second line follows from <a href="page.php?w=Gibbs%27_inequality">Gibbs' inequality</a> and the fifth line follows from <a href="page.php?w=Kraft%27s_inequality">Kraft's inequality</a>:</p>

<p>
:</p>

<p>so .</p>

<p>For the second inequality we may set</p>

<p>
:</p><p>
<a accesskey="1" href="page.php?w=Shannon's_source_coding_theorem&amp;p=12">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Shannon%27s_source_coding_theorem&amp;p=14">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
