Processing math: 100%
Skip to main content

Posts

Showing posts from November, 2017

Solving IMO 1989 #6 using Probability and Expectation

IMO 1989 #6: A permutation {x1,x2,,xm} of the set {1,2,,2n}, where n is a positive integer, is said to have property P if |xixi+1|=n for at least one i in {1,2,...,2n1}. Show that for each n there are more permutations with property P than without. Solution: We first observe that the expected number of pairs {i,i+1} for which |xixi+1|=n is E=1. To see this note if j, 1jn, appears in position 1 or 2n it's adjacent to one number, otherwise two. Thus the probability it's adjacent to its partner j+n in a random permutation is ej=22n12n1+2n22n22n1=2(2n1)2n(2n1)=1n. By linearity of expectation we overall have the expected number of j adjacent to its partner j+n is \(\sum_{j=1}^{...