Skip to content Skip to navigation

Connexions

You are here: Home » Content » Typical Sequences

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

      What are tags? tag icon

      Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

    • External bookmarks
  • E-mail the author
  • Rate this module (How does the rating system work?)

    Rating system

    Ratings

    Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

    How to rate a module

    Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

    (0 ratings)

Recently Viewed

This feature requires Javascript to be enabled.

Typical Sequences

Module by: Behnaam Aazhang

Summary: A description of typical sequences.

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

If the binary symmetric channel has crossover probability εε then if xx is transmitted then by the Law of Large Numbers the output yy is different from xx in nε n ε places if nn is very large.

d H xynε d H x y n ε (1)
The number of sequences of length nn that are different from xx of length nn at nε n ε is
nnε=n!nε!nnε! n n ε n n ε n n ε (2)

Example 1

x=000T x 0 0 0 and ε=13 ε 1 3 and nε=313 n ε 3 1 3 . The number of output sequences different from xx by one element: 3!1!2!=3×2×11×2=3 3 1 2 3 2 1 1 2 3 given by 101T 1 0 1 , 011T 0 1 1 , and 000T 0 0 0 .

Using Stirling's approximation

n!nn-n2πn n n n n 2 n (3)
we can approximate
nnε2n-εlog2ε1εlog21ε=2n H b ε n n ε 2 n ε 2 ε 1 ε 2 1 ε 2 n H b ε (4)
where H b ε-εlog2ε1εlog21ε H b ε ε 2 ε 1 ε 2 1 ε is the entropy of a binary memoryless source. For any xx there are 2n H b ε 2 n H b ε highly probable outputs that correspond to this input.

Consider the output vector YY as a very long random vector with entropy nHY n H Y . As discussed earlier, the number of typical sequences (or highly probably) is roughly 2nHY 2 n H Y . Therefore, 2n 2 n is the total number of binary sequences, 2nHY 2 n H Y is the number of typical sequences, and 2n H b ε 2 n H b ε 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

M=2nHY2n H b ε=2nHY H b ε M 2 n H Y 2 n H b ε 2 n H Y H b ε (5)

Figure 1
Figure 1 (Figure7-38.png)

The number of distinguishable input sequences of length nn is

2nHY H b ε 2 n H Y H b ε (6)
The number of information bits that can be sent across the channel reliably per nn channel uses nHY H b ε n H Y H b ε The maximum reliable transmission rate per channel use
R=log2Mn=nHY H b εn=HY H b ε R 2 M n n H Y H b ε n H Y H b ε (7)
The maximum rate can be increased by increasing HY H Y . Note that H b ε H b ε is only a function of the crossover probability and can not be minimized any further.

The entropy of the channel output is the entropy of a binary random variable. If the input is chosen to be uniformly distributed with p X 0= p X 1=12 p X 0 p X 1 1 2 .

Then

p Y 0=1ε p X 0+ε p X 1=12 p Y 0 1 ε p X 0 ε p X 1 1 2 (8)
and
p Y 1=1ε p X 1+ε p X 0=12 p Y 1 1 ε p X 1 ε p X 0 1 2 (9)
Then, HY H Y takes its maximum value of 1. Resulting in a maximum rate R=1 H b ε R 1 H b ε when p X 0= p X 1=12 p X 0 p X 1 1 2 . This result says that ordinarily one bit is transmitted across a BSC with reliability 1ε 1 ε . If one needs to have probability of error to reach zero then one should reduce transmission of information to 1 H b ε 1 H b ε and add redundancy.

Recall that for Binary Symmetric Channels (BSC)

H Y | X = p x 0H Y | X = 0 + p x 1H Y | X = 1 = p x 0-(1εlog21εεlog2ε)+ p x 1-(1εlog21εεlog2ε)=-1εlog21εεlog2ε= H b ε H Y | X p x 0 H Y | X = 0 p x 1 H Y | X = 1 p x 0 1 ε 2 1 ε ε 2 ε p x 1 1 ε 2 1 ε ε 2 ε 1 ε 2 1 ε ε 2 ε H b ε (10)
Therefore, the maximum rate indeed was
R=HYH Y | X =X;Y R H Y H Y | X X Y (11)

Example 2

The maximum reliable rate for a BSC is 1 H b ε 1 H b ε . The rate is 1 when ε=0 ε 0 or ε=1 ε 1 . The rate is 0 when ε=12 ε 1 2

Figure 2
Figure 2 (Figure7-41.png)

This module provides background information necessary for an understanding of Shannon's Noisy Channel Coding Theorem. It is also closely related to material presented in Mutual Information.

Comments, questions, feedback, criticisms?

Send feedback