50 黑 50 白抽取:颜色切换次数期望
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?
解析
令 表示第 次与第 次抽取颜色不同的指示变量()。则切换次数为 。
在随机排列的模型下,任意相邻位置出现“黑白”或“白黑”的概率为
因此期望切换次数为