AICC II

113 flashcards · Mathematics · by Athena Papkouf

  1. Probability distribution (probability mass function) p:

    A function p:Ω→[0,1]p: \Omega \rightarrow[0,1]p:Ω→[0,1] such that ∑ω∈Ωp(ω)=1 \sum_{\omega \in \Omega} p(\omega)=1∑ω∈Ω​p(ω)=1

  2. If E1 and E2 are disjoint events then p(E1∪E2)p(E_1 \cup E_2)p(E1​∪E2​) ===

    p(E1)+P(E2)p(E_1) + P(E_2)p(E1​)+P(E2​)

  3. Law of Total Probability:

    For any F ⊆ Ω and its complement Fc, p(E) = p(E|F )p(F ) + p(E|Fc )p(Fc ).

  4. Bayes’ Rule

    p(F∣E)=p(E∣F)p(F)p(E)p(F \mid E)=\frac{p(E \mid F) p(F)}{p(E)}p(F∣E)=p(E)p(E∣F)p(F)​

  5. Probability distribution pX

    pX (y) is the probability that X = y, i.e. the probability of the event E=ω∈Ω:X(ω)=yE={ω∈Ω:X(ω)=y}E=ω∈Ω:X(ω)=y Hence, pX(y)=∑ω∈Ep(ω)p_{X}(y)=\sum_{\omega \in E} p(\omega)pX​(y)=∑ω∈E​p(ω)

  6. Expected Value E[X] of a random variable X : Ω → R:

    E[X]=∑ωX(ω)p(ω) or, equivalently, E[X]=∑xxpX(x)\begin{aligned} &\mathbb{E}[X]=\sum_{\omega} X(\omega) p(\omega)\\ &\text { or, equivalently, }\\ &\mathbb{E}[X]=\sum_{x} x p_{X}(x) \end{aligned}​E[X]=ω∑​X(ω)p(ω) or, equivalently, E[X]=x∑​xpX​(x)​

  7. E and F are independent iff

    p(E|F ) = p(E) or iff p(E ∩ F ) = p(E)p(F )

  8. Two random variables X and Y are independent iff

    p({X = x} ∩ {Y = y }) = p({X = x})p({Y = y }), or iff p X ,Y (x, y ) = p X (x)p Y (y ).

  9. Entropy definition

    0\right\} \end{array}"> Hb(S):=−∑s∈ supp (pS)pS(s)log⁡bps(s) where supp⁡(pS)={s:pS(s)>0}\begin{array}{r} H_{b}(S):=-\sum_{s \in \text { supp }\left(p_{S}\right)} p_{S}(s) \log _{b} p_{s}(s) \\ \text { where } \operatorname{supp}\left(p_{S}\right)=\left\{s: p_{S}(s)>0\right\} \end{array}Hb​(S):=−∑s∈ supp (pS​)​pS​(s)logb​ps​(s) where supp(pS​)={s:pS​(s)>0}​ H(S)=E[−logpS(S)].H(S) = E[− log p_S (S)].H(S)=E[−logpS​(S)].

  10. binary entropy function.

    h(p):=−plog2p−(1−p)log2(1−p)h(p) := −p log_2 p − (1 − p) log_2 (1 − p)h(p):=−plog2​p−(1−p)log2​(1−p)

  11. IT inequality

    For a positive real number rrr , logbr≤(r−1)logb(e)log_b r \leq (r − 1) log_b (e)logb​r≤(r−1)logb​(e) , with equality iff r=1r = 1r=1

  12. Entropy bounds

    The entropy of a discrete random variable S∈AS \in AS∈A satisfies 0≤Hb(S)≤logb∣A∣ 0 ≤ H_b (S) ≤ log_b |A|0≤Hb​(S)≤logb​∣A∣ , with equality on the left iff pS(s)=1p_S (s) = 1pS​(s)=1 for some s, and with equality on the right iff pS(s)=1∣A∣∀sp_S(s) = \frac{1}{|A|} \forall spS​(s)=∣A∣1​∀s

  13. Entropy bounds of discrete random variables

  14. uniquely decodable code

    The code is uniquely decodable if every concatenation of codewords has a unique parsing into a sequence of codewords.

  15. prefix free codes

    If no codeword is a prefix of another codeword, the code is said to be prefix-free.

  16. if the reverse of a code is prefixfree

    the code is uniquely decodable

  17. instantaneous code

    A prefix-free code is also called instantaneous code.

  18. Kraft’s inequality

  19. Kraft’s inequality and prefix free codes

  20. consequences of Kraft-McMillan

  21. Average codeword length

  22. Relation between entropy and average codeword length

  23. D-ary Shannon-Fano codes

  24. average codeword-length of a D-ary Shannon-Fano code

    The average codeword-length of a D-ary Shannon-Fano code for the random variable S fulfills

  25. average path length of a tree with probabilities

    sum of the probabilities of the intermediate nodes (root included)

  26. length of Huffman's codes

  27. conditional entropy

  28. relation between conditioning and entropy

  29. Chain rule for entropies

  30. H(X , Y)

  31. regular source

  32. entropy of symbol and entropy rate

    For a regular source S, H(S) is called the entropy of a symbol, and H∗ (S) the entropy rate.

  33. stationary source

  34. stationary source entropy rate and entropy of a symbol relation

  35. Cesaro means theorem

  36. theorem about stationary and regular sources

  37. average codeword-length per symbol of a uniquely decodable code

  38. perfect secrecy

    A cryptosystem has perfect secrecy if the plaintext T and the cryptogram C are statistically independent.

  39. perfect secrecy and entropy of plaintext and key

  40. Division Algorithm

  41. congruent modulo m integers

  42. equivalence relation

  43. rest after division of a decimal number by 9

    To obtain the rest after division of a decimal number by 9, we can substitute the number with the sum of its digits.

  44. prime factorisation theorem

    Every integer greater than 1 has a unique prime factorization (except for order).

  45. a divides b iff

    Let a and b be positive integers. a divides b iff all prime factors of a are present in the prime factorization of b with an equal or greater exponent.

  46. greatest common divisor and prime factorisation

  47. coprimality

    gcd(a, b) = 1

  48. congruence class

  49. multiplicative inverse

  50. condition for existence of multiplicative inverse

  51. multiplicative inverse of a congruence class with prime modulo

  52. euclidean algorithm for greatest common divisor

  53. Bezout's identity

  54. commutative group must satisfy the following axioms

  55. which group is commutative for every integer m > 1 ?

  56. ∀nϕ(n)\forall n \phi (n) ∀nϕ(n)

    where p is a prime factor of n

  57. isomorphism

  58. order of element of commutative group

  59. condition for isomorphism (order)

    Two finite commutative groups are isomorphic iff they have the same set of orders.

  60. when does an integer k satisfy a*a*...*a=e ?

  61. Lagrange theorem

    Let (G, *) be a finite commutative group of cardinality n. The order of each of its elements divides n.

  62. Euler's theorem corollary

  63. Fermat's theorem corollary

  64. Chinese remainders theorem

  65. ([a]pq)lk+1([a]_{pq})^{lk+1}([a]pq​)lk+1

  66. RSA high level

    integer m (modulus), integer e (encoding exponent), integer d (decoding exponent), such that, for all integers t ∈ Z/mZ (plaintext) the receiver generates m, e, d (m, e) is the public encoding key (m, d) is the private decoding key — d never leaves the receiver. the encoder forms the cryptogram c = te mod m The intended decoder performs cd mod m and obtains the plaintext t.

  67. Hash function

    a many-to-one function, used to map a sequence of arbitrary length to a fixed-length bit sequence of, say, 200 bits even the smallest change in the input produces a different output

  68. cyclic group of order n generator

    Any finite group of cardinality n, that consists of the cycle of a group element g

  69. cyclic group

    Given a finite commutative group (G, ?), we can take any of its elements, say g ∈ G, and compute g2 , g3 , . . . , until for some n (the order of g), gn = e, where e is the identity in G. The result is the group H = {e, g, g2 , . . . , gn−1 }.

  70. erasure/error weight p

    the total number of erasures (resp. errors).

  71. information bits per codeword

  72. entropy rate per symbol of an (n,k) block code

  73. Hamming distance

    The Hamming distance d(x, y ) between two n-tuples x and y is the number of positions in which they differ

  74. minimum-distance decoder

  75. minimum distance of a code C

  76. error detection theorem

  77. erasure correction theorem

  78. A minimum-distance decoder for a code C corrects all channel errors of weight p iff

  79. Singleton bound

  80. cardinality of a finite field

    The cardinality of a finite field is an integer power of its characteristic. (Hence all finite fields have cardinality p m for some prime p and some positive integer m.)

  81. All finite fields of the same cardinality are

    isomorphic.

  82. For every prime number p and positive integer m, there is a finite field of cardinality

    pmp^mpm

  83. rank of the matrix

  84. linear code

  85. (Hamming) weight of ~x

  86. The minimum distance of a linear code C

  87. generator matrix

  88. systematic form

  89. parity-check matrix H for a linear (n, k ) code

    an (n − k ) × n matrix that contains the coefficients of a system of homogeneous linear equations that defines the code.

  90. If G = (I k , P), where P is a k × (n − k ) matrix, is a generator matrix (in systematic form) of a linear (n, k ) block code, then what is the parity check matrix of the same code?

  91. syndrome

  92. minimum distance of a linear code (parity check matrix)

    Let H be any parity-check matrix of a linear code. The minimum distance of the code is the smallest positive integer d such that there are d columns of H that are linearly dependent.

  93. Standard Array