1. 정의
The set of  is the set of all n-dimensional vectors   such that
 
2. 대체 정의 (Alternative definition)

The  can definition as the set of vectors x such that




문제.

Consider a binary memory-less source where P(0) = p and P(1) = q = 1 - p. In a sequence of n symbols, the share of 1s tends to q as n becomes large.

a) How many sequences of length n has the share of ones equal to q? 
b) Show that as   the number bits per source symbol required to represent the sequences in a) is the entropy, h(q) = h(p)


 풀이

a) n과 q를 곱하면 정수가 아닌 경우가 생기니까 반올림을 해주어 계산해야된다. 그러니까 nq가 아니라 [nq]. 확률계산이므로 그냥  이걸 계산하면 된다.


 
b)
a번처럼 nq나 np가 정수가 아닐 수 있는데 그냥 근사값을 가진다고 
예상하고   라고 책에서 친절하게 설명해놨으므로 -_-; 엔트로피 공식에 충실하게 계산하면 된다. 계산과정은 다음과 같다.


증명 문제풀이 포인트는 주어진 레퍼런스를 이용해서 잘 끼워맞추는거 아닐까. 

+ Recent posts