Tutorial 1
Tutorial 1
For example:
● For a set A ⊆ U:
U={0,1}8
Pr(A)=
Def: a random variable X is a function X:U⟶V
Then Pr[X=2] =
Independence:
Same goes for random variables, random variables X,Y taking values in V are
independent if ∀a,b∈V: Pr[ X=a and Y=b] = Pr[X=a] ∙ Pr[Y=b]
Example:
Proof:
For n=1
pr(Z=0)=
Modular arithmetic
Modular arithmetic/clock arithmetic: A system of arithmetic for integers.
33≡3(mod 10)
a≡b(mod m)
a=km+b
Properties of modular arithmetic:
For example:
For example:
4. Inverse: for every g∈G there exists g-1∈G such that g⬤g-1=g-1⬤g=e
a=3