Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Shannon's source coding theorem
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Source coding theorem for symbol codes === Let {{math|Ξ£<sub>1</sub>, Ξ£<sub>2</sub>}} denote two finite alphabets and let {{math|Ξ£{{su|b=1|p=β}}}} and {{math|Ξ£{{su|b=2|p=β}}}} denote the [[Kleene star|set of all finite words]] from those alphabets (respectively). Suppose that {{mvar|X}} is a random variable taking values in {{math|Ξ£<sub>1</sub>}} and let {{math| ''f'' }} be a [[Variable-length code#Uniquely decodable codes|uniquely decodable]] code from {{math|Ξ£{{su|b=1|p=β}}}} to {{math|Ξ£{{su|b=2|p=β}}}} where {{math|{{!}}Ξ£<sub>2</sub>{{!}} {{=}} ''a''}}. Let {{mvar|S}} denote the random variable given by the length of codeword {{math| ''f'' (''X'')}}. If {{math| ''f'' }} is optimal in the sense that it has the minimal expected word length for {{mvar|X}}, then (Shannon 1948): :<math> \frac{H(X)}{\log_2 a} \leq \mathbb{E}[S] < \frac{H(X)}{\log_2 a} +1 </math> Where <math>\mathbb{E}</math> denotes the [[expected value]] operator.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)