AMC 12 Mock Exam 2 Problem 21
Problem 21 of 25
A panel has four light switches, all of which are initially off. Each minute, one of the four switches is chosen uniformly at random, independently of all earlier choices, and flipped (from off to on, or from on to off). What is the expected number of minutes until all four switches are on for the first time?
Answer choices
Show solution
Solution
Only the number of switches that are on matters. From state , the next flip moves to with probability and to with probability .
Let be the expected number of minutes to go from switches on to switches on for the first time. After one minute we either succeed, or (with probability ) we drop to , from which we need minutes to return to and then more. So Starting from : , , .
The expected total is .
(Ignoring the backward moves, as if each minute's flip were always useful until it hit a new switch, gives the coupon-collector value , which is far too small.)
Tagged: Markov chain expected hitting time