<< Chapter < Page Chapter >> Page >
I ( x i and x j ) = log 1 p ( x i and x j ) = log 1 p ( x i ) p ( x j ) = log 1 p ( x i ) + log 1 p ( x j ) = I ( x i ) + I ( x j ) .

The base of the logarithm can be any (positive) number. The most common choice is base 2, in which case the measurementof information is called bits . Unless otherwise stated explicitly, all logs in this chapter are assumed to be base 2.

Suppose there are N = 3 symbols in the alphabet, which are transmitted with probabilities p ( x 1 ) = 1 / 2 , p ( x 2 ) = 1 / 4 , and p ( x 3 ) = 1 / 4 . Then the information conveyed by receiving x 1 is 1 bit, since

I ( x 1 ) = log 1 p ( x 1 ) = log ( 2 ) = 1 .

Similarly, the information conveyed by receiving either x 2 or x 3 is I ( x 2 ) = I ( x 3 ) = log ( 4 ) = 2 bits.

Suppose that a length m binary sequence is transmitted, with all symbols equally probable. Thus N = 2 m , x i is the binary representation of the i th symbol for i = 1 , 2 , ... , N , and p ( x i ) = 2 - m . The information contained in the receipt of any given symbol is

I ( x i ) = log 1 p ( x i ) = log ( 2 m ) = m bits .

Consider a standard six-sided die. Identify N , x i , and p ( x i ) . How many bits of information are conveyed if a 3 is rolled. Now roll two dice, and suppose thetotal is 12. How many bits of information does this represent?

Consider transmitting a signal with values chosen from the six-level alphabet ± 1 , ± 3 , ± 5 .

  1. Suppose that all six symbols are equally likely. Identify N , x i and p ( x i ) , and calculate the information I ( x i ) associated with each i .
  2. Suppose instead that the symbols ± 1 occur with probability 1 / 4 each, ± 3 occur with probability 1 / 8 each, and 5 occurs with probability 1 / 4 . What percentage of the time is - 5 transmitted? What is the information conveyed by each of the symbols?

The 8-bit binary ASCII representation of any letter (or any character of the keyboard) can be found using the M atlab command dec2bin(text) where text is any string. Using ASCII, how much information is contained in the letter “a,”assuming that all the letters are equally probable?

Consider a decimal representation of π = 3 . 1415926 ... Calculate the information (number of bits) required to transmit successive digits of π , assuming that the digits are independent.Identify N , x i , and p ( x i ) . How much information is contained in the first million digits of π ?

There is an alternative definition of information (in common usage in the mathematical logic and computerscience communities) which defines information in terms of the complexity of representation,rather than in terms of the reduction in uncertainty. Informally speaking, this alternative defines thecomplexity (or information content) of a message by the length of the shortest computer program thatcan replicate the message. For many kinds of data, such as a sequence of random numbers, the two measuresagree because the shortest program that can represent the sequence is just a listing of thesequence. But in other cases, they can differ dramatically. Consider transmitting the first million digits of thenumber π . Shannon's definition gives a large information content (as in [link] ), while the complete sequence can, in principle, be transmittedwith a very short computer program.

Redundancy

All the examples in the previous section presume that there is no relationshipbetween successive symbols. (This was the independence assumption in [link] .) This section shows by example that real messages often have significantcorrelation between symbols, which is a kind of redundancy. Consider the following sentence from Shannon's paper A Mathematical Theory of Communication :

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Software receiver design. OpenStax CNX. Aug 13, 2013 Download for free at http://cnx.org/content/col11510/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Software receiver design' conversation and receive update notifications?

Ask