<?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 14 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Shannon's_source_coding_theorem&amp;p=13">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Shannon%27s_source_coding_theorem&amp;p=15">3.Next</a>
</p>

<p>so that</p>

<p>
:</p>

<p>and so</p>

<p>
:</p>

<p>and</p>

<p>
:</p>

<p>and so by Kraft's inequality there exists a prefix-free code having those word lengths. Thus the minimal  satisfies</p>

<p>
:</p>

<p><big>Extension to non-stationary independent sources </big></p>
<p><big> Fixed rate lossless source coding for discrete time non-stationary independent sources</big></p>
<p>Define typical set  as:</p>

<p>
:</p>

<p>Then, for given , for  large enough, . Now we just encode the sequences in the typical set, and usual methods in source coding show that the</p><p>
<a accesskey="1" href="page.php?w=Shannon's_source_coding_theorem&amp;p=13">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Shannon%27s_source_coding_theorem&amp;p=15">3.Next</a>
</p>

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

</card>
</wml>
