Professional Documents
Culture Documents
See also:
Dan Boneh
http://en.wikibooks.org/High_School_Mathematics_Extensions/Discrete_Probability
Introduction
P(x) = 1 xU
for all xU: P(x) = 1/|U|
1. Uniform distribution:
Dan Boneh
Events
For a set A U: Pr[A] =
P(x) xA
Example:
A1 = { all x in {0,1}n s.t lsb2(x)=11
} ;
Random Variables
Def: a random variable X is a function X:UV
V 0 1
More generally: rand. var. X induces a distribution on V: Pr[ X=v ] := Pr[ X-1(v) ]
Dan Boneh
Pr[ r = a ] = 1/|U|
Hint:
Randomized algorithms
inputs
outputs
Deterministic algorithm:
y A(m)
m
A(m)
A(m)
R y A( m )
Dan Boneh
End of Segment
Dan Boneh