Let . In a uniformly shuffled deck, each labelled card is equally likely to occupy the first position, and exactly cards are red. Therefore . Equivalently, the red positions are a uniformly chosen -element subset of the positions.
Every position in the random permutation has the same marginal colour probability, so . One can verify this with the law of total probability, conditioning on the first card:Here because both colour counts are positive.
Let be the two red-card events. Sampling without replacement givesThis differs from the product , sinceThus the events are not independent, for every positive . A first red card reduces the remaining red fraction, a basic instance of how sampling without replacement need not be independent.
The red positions form a uniformly chosen subset of size , so there are equally likely colour patterns. A contiguous red block can start at positions , giving exactly favourable patterns. ThereforeIf the cards are regarded as individually labelled, each colour pattern corresponds to permutations, so the same counting argument still applies. In the edge case , the formula correctly gives probability one.
Conditional on a contiguous red block, its possible starting positions remain equally likely because their original colour patterns had equal probabilities. The first card is red exactly when that block starts at position . HenceThis also follows by dividing the probability of the single favourable block position, , by the probability of all block positions.
Articles by others on the same topic
There are currently no matching articles.