

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


ECE542, Spring 2004 HW#8 Solutions
1) Consider an all-zero codeword consisting of k bits. There is a total 2 k -1 error
patters. On the other hand, the total number of bit errors is (^) = 1 = 2 −^1
k k i (^) i k
k i. Thus, by
assuming that all symbols are equally probable, the average number of bit errors per symbol error is k 2 k -1^ / 2 k -1 (bit errors/per symbol error). Now let P (^) b be the probability of a bit error. Then, the average number of bit errors per symbol error is kP (^) b. But, this number is also equal to the probability of symbol error, P (^) S , times k 2 k -1^ / 2 k -1, which establishes the desired relationship.
2) In the case of gray coding, we only need to consider one-bit symbol errors and ignore all other symbol errors. With this assumption and by assuming as before that we consider the all-zero codeword, there will be a total of k symbol errors. Now note that in this case the total number of bit errors is also k , since each symbol error results in only one bit error. Hence, the average number of bit errors per symbol error is 1. Thus, by examining the average number of bit errors per symbol error (as in Problem
3) Part I: Pick ε>0. There exists δ >0 such that | f ( x )- f ( y )|< ε whenever | x - y |< δ. Assume x (^) n converges to x. Then, we can choose an integer n 0 , depending on δ, so that | x (^) n - x |< δ whenever n > n 0. Thus, | f ( x )- f ( x (^) n )|< ε for all n > n 0 , or stated differently: f ( x (^) n )→ f ( x ).
Part II: Let A be a closed and bounded set. Put B = f ( A ) and consider a convergent sequence y (^) n ∈ B. Let y = lim i →∞ y (^) n. We need to show that y ∈ B. Note that y (^) n = f ( x (^) n ) for some x (^) n ∈ A. Since A is bounded, the sequence x (^) n has a convergent subsequence sequence x (^) n,i. Moreover, since A is closed, lim i →∞ x (^) n,i lies in A. Let x = lim i →∞ x (^) n,i. Since f is continuous, lim i →∞ f ( x (^) n,i ) = f ( x ). But x ∈ A , which implies that f ( x ) ∈ B (since x ∈ A ). But y = lim n →∞ y (^) n = lim n →∞ f ( x (^) n ) = lim i →∞ f ( x (^) n,i ) = f ( x ) ∈ B , which proves that B is closed.
Proof that B is bounded (by contradiction): Assume that B is unbounded. This means that we can find an increasing sequence y (^) n ∈ B with lim i →∞ y (^) n = ∞. Consider the sequence x (^) n ∈ A defined by y (^) n = f ( x (^) n ). Since A is bounded, the sequence x (^) n has a convergent subsequence x (^) n,i , and lim i →∞ x (^) n,i ≡ x ∈ A since A is closed. By continuity, however, lim i →∞ y (^) n,i = lim i →∞ f ( x (^) n,i ) = f ( x ), and f ( x )< ∞ by definition of a function over A. This contradicts the assumption that y (^) n,i is divergent. Hence, B is bounded.
4) Pick a convergent sequence of vectors x m from the prescribed set, which we will call E. Namely, x m → x. We need to show that x is in the set E. This means that || x m - x|| → 0 as m → ∞, where ||.|| denote Euclidean norm. This m-dimensional
convergence also implies convergence component-wise. To see this, let x (^) m , k and x (^) k denote the k th component of x m and x , respectively. The property follows from the simple fact that | x (^) m , k - x (^) k | 2 ≤ || x m - x||^2. Since x ∈ A , x (^) m ,1 + ... + x (^) m , n = 1. Now take the limit of both sides to obtain x 1 + ... + x (^) n = 1, where x (^) i is the i th component of x. This establishes that x ∈ E and that E is closed.
To see that E is bounded, note that each component of any member of E can be at most 1 since the components are all nonnegative. Thus, || x || ≤ n 1/2^ , for any x in E.
5) Suppose that the alphabet set for both input and output of the DMC is of size n. Recall that the average mutual information is I ( X ; Y ) =
= =
n
i
n
j (^) j
j i j i i p y
p y x p y x p x 1 1 ( )
( | ) ( )log. Now fix the channel, which we define by the
conditional probability mass function p ( y (^) j | x (^) i ). We will first establish that p ( y (^) j ) is a continuous function of the vector [ p ( x 1 ), ..., p ( x (^) n )]. To check this, note that
=
n
i
p yj p yj xi p xi 1
( ) ( | ) ( ) , which is simply a linear transformation of the vector
[ p ( x 1 ), ..., p ( x (^) n )]. Note that the average mutual information is a linear function of the vector [ p ( x 1 ), ..., p ( x (^) n )] and a continuous (logarithmic) function of the vector [ p ( y 1 ), ..., p ( y (^) n )]. This along with the earlier fact makes I ( X ; Y ) a continuous function of the vector [ p ( x 1 ), ..., p ( x (^) n )] for each fixed channel. Since the vector [ p ( x 1 ), ..., p ( x (^) n )] lives in the set E , a closed and bounded set, the image of E under I ( X ; Y ) is also closed and bounded.
Let α be sup (^) [ p ( x 1), ..., p ( xn )] ∈ E I ( X ; Y ). This means that there is a sequence in E , say p k ,
under I ( X ; Y ) is closed, α ∈ image of E under I ( X ; Y ), which means that for some p ∈ E , I ( X ; Y )| (^) [ p ( x 1), ..., p ( xn )]= p = α. In summary, the supremum of the mutual information is achieved by a member of E. The definition of the channel capacity as a maximum is therefore proper.