红蓝相邻异色对的期望个数
Expected Red-Blue Pairs
题目详情
将 个红球与 个蓝球(总数 )随机排成一行。求相邻两球颜色不同(红-蓝或蓝-红)的相邻对的期望数量。
You randomly place red balls and blue balls in a row (total balls ). What is the expected number of adjacent pairs of balls with different colors (red-blue or blue-red)?
解析
对每个相邻位置 (共 对)设指示变量 表示该对异色,则期望为
在随机排列中
因此
代回得到