颜色切换期望
Expected number of color changes in 50 black & 50 white draws
题目详情
盒子里有 50 个黑球和 50 个白球,不放回依次抽出直至抽完。一旦相邻两次抽取的颜色发生变化,就记为一次“颜色切换”。
问:颜色切换次数的期望是多少?
英文原题
Same as the “runs” question with 50 black and 50 white marbles, drawn without replacement. A “color change” occurs when consecutive draws switch color. What is the expected number of changes?
解析
令 表示第 次与第 次抽取颜色不同的指示变量()。则切换次数为 。
在随机排列的模型下,任意相邻位置出现“黑白”或“白黑”的概率为
因此期望切换次数为
英文解析
Let represent the indicator variable () that is different in color from theanddraws. The toggle count is.
Under the randomly arranged model, the probability of "black and white" or "white and black" in any adjacent position is
Therefore, the expected number of switches is