Professional Documents
Culture Documents
Introduccion A La Probabilidad Discreta PDF
Introduccion A La Probabilidad Discreta PDF
See also:
Dan Boneh
http://en.wikibooks.org/High_School_Mathematics_Extensions/Discrete_Probability
Introduction
Discrete Probability
(crash course)
Dan Boneh
such that
P(x) = 1
xU
Examples:
1. Uniform distribution:
Dan Boneh
Events
For a set A U:
Pr[A] =
P(x)
xA
[0,1]
note: Pr[U]=1
U = {0,1}8
Example:
A1 = { all x in {0,1}n s.t lsb2(x)=11
} ;
A2
Random Variables
Def: a random variable X is a function
X:UV
lsb=0
lsb=1
More generally:
rand. var. X induces a distribution on V:
Pr[ r = a ] = 1/|U|
Pr[X=2] =
Hint:
Randomized algorithms
inputs
Deterministic algorithm:
outputs
y A(m)
Randomized algorithm
R
y A( m ; r ) where r
{0,1}n
A(m)
A(m)
R
y
A( m )
Dan Boneh
End of Segment
Dan Boneh