Professional Documents
Culture Documents
Mathematics of Chance
Fifty Challenging Problems in Probability
Concrete Mathematics
Some IMO books
Example: N = 12, m = 6, n = 6
A B
0 1 2
m na
= (N m) a
N a
=
2
A B
0 1 2
The Principle:
u+d = N
a + u d = a m + n 2
Solving this yields
u = n a 1, d = m + a + 1.
What is Pa,p,f ?
What is Pa,p,f ?
Remember that we know Pa,p .
Again, by the Theorem of Total Probability
X
Pa,p,f = Pa,p (N )fN
N =0
for i = 1, 2, . . . , n.
1
pn,n =
n!
Proof.
Let Ai,j be the event that there will be exactly i records in
the prefix X1 , . . . , Xj .
Let Bn be the event that Xn will be a record.
By Partition Theorem,
pr,n = Pr(Rn = r) = Pr(Ar,n1 Bnc ) + Pr(Ar1,n1 Bn ),
By Bayes Theorem,
Pr(Ar,n1 Bnc ) = Pr(Ar,n1 |Bnc ) Pr(Bnc ).
Unconditioning, we have
Pr(Ar,n1 |Bnc ) = Pr(Ar,n1 ) = pr,n1 .
Analogously,
Pr(Ar1,n1 Bn ) = Pr(Ar1,n1 |Bn ) Pr(Bn )
= Pr(Ar1,n1 ) Pr(Bn )
1
= pr1,n1 .
n
QED
Asymptotically speaking,
1
pr,n (ln n + )r1 .
(r 1)!n
for i = 1, 2, . . . , n.
Since
X1 2
2
,
i
i 6
we have
2
varRn ln n + .
6
Also, since
varYn 1
2
2
,
(ERn ) n(ln n)
we have
X varYn
Pn 2
< .
n=1
( i=1 EYi )
Industrial application:
If we want to know under which force a board breaks, we
must apply increasing stress until it really breaks.
What if we have 100 boards and we want to find the
weakest of them?
ER100 = H100 5.19
Industrial application:
If we want to know under which force a board breaks, we
must apply increasing stress until it really breaks.
What if we have 100 boards and we want to find the
weakest of them?
ER100 = H100 5.19
Since E1 = 1, we have
mk 1
Ek = 1 + m + m2 + + mk1 = .
m1
Probability Tricks p.48
A Simple Length of Sum
Assume n 2 to be interesting.
Clearly, E0 = 1.
If the sum first exceeds zero in the m-th draw, then zero
must be selected m 1 times in a row to start, followed by
a non-zero. This has probability
m1
1 n1
.
n n
Thus
m1
X 1 n1 X m
E0 = m = (n 1) m
.
m=1
n n m=1
n
X m n
(n 1) m
=
m=1
n n1
Since Ek (k + 1)E0 , we see that E1 , . . . , En1 are also
finite. Now,
k1
n 1 X
Ek = 1+ Ei .
n1 n i=0
Let 1 i n r + 1.
nr nr
X i+r1 X i+r1
= (n + 1) (i + r)
i=0
r1 i=0
r1
nr
n X i+r
= (n + 1) r
r i=0
r
n n+1 n+1
= (n + 1) r =
r r+1 r+1
n+1
r+1 n+1
EZ = n = .
r
r+1
Probability Tricks p.58
Life With Indicator Variables
Define M = n+1
and N = n
.
r+1 r
Observations:
On each row precisely one element is 1.
The number of 1s in the j-th column is equal to the
smallest element of Yj .
Probability Tricks p.60
Check
There are 52
ways the four Aces can occupy. We want
4
the minimum index. From our result, this is
52 + 1
.
4+1
A:
n+1
r+1
A:
n+1
r+1
A:
n+1
r+1
A:
n+1
n +1 Probability Tricks p.65
A Continuous Version
A: 1
r+1
Imagine the last dart, being too sharp, actually breaks the
circle. . .
Let q = 1 p, X 0 = X 1, Y 0 = Y 1, and
Z 0 = max(X 0 , Y 0 ). Note that now X 0 and Y 0 have
distribution Ge(p).
If j 6= 0, then
Pr(Z 0 = j) = Pr(Z 0 j) Pr(Z 0 j 1)
j+1 2 j 2
= (1 q ) (1 q )
= pq j (2 q j q j+1 ).
For j = 0, Pr(Z 0 = 0) = Pr(Z 0 0) = p2 .
0
X
0 q(2 + q)
EZ = j Pr(Z = j) = .
j=0
p(1 + q)
and so
1 + 2q
0
EZ = 1 + EZ = 2
.
1q
Probability Tricks p.73