Nylah has her living room lights on a timer. Each evening, the timer switches the lights on randomly at exactly 7:00 p.m., 7:30 p.m., 8:00 p.m., 8:30 p.m., or 9:00 p.m. Later in the evening, the timer switches the lights off at any random time between 11 p.m. and 1 a.m. For example, the lights could be switched on at exactly 7:30 p.m. and off at any one of the infinite number of possible times between 11 p.m. and 1 a.m. On a given night, Nylah’s lights are on for hours. What is the probability that ?
Problem 632
Pick one
Official solution
Nylah’s lights come on randomly at one of the times 7:00 p.m., 7:30 p.m., 8:00 p.m., 8:30 p.m., or 9:00 p.m., each with probability .
What is the probability that the lights come on at 7:00 p.m. and are on for hours with ?
If the lights come on at 7:00 p.m. and are on for between 4 and 5 hours, then they go off between 11:00 p.m. and 12:00 a.m.
Since the length of this interval is 1 hour and the length of the total interval of time in which the lights randomly go off is 2 hours (11:00 p.m. to 1:00 a.m.), then the probability that they go off between 11:00 p.m. and 12:00 a.m. is .
Therefore, the probability that the lights come on at 7:00 p.m. and are on for hours with is .
Similarly, if the lights come on at 7:30 p.m., they can go off between 11:30 p.m. and 12:30 a.m., and the probability of this combination of events is also .
Similarly again, the probability of the lights coming on at 8:00 p.m. and going off between 12:00 a.m. and 1:00 a.m. is also .
If the lights come on at 8:30 p.m., then to be on for between 4 and 5 hours, they must go off between 12:30 a.m. and 1:00 a.m. (They cannot stay on past 1:00 a.m.)
The probability of this combination is .
If the lights come on at 9:00 p.m., they cannot be on for more than 4 hours, since the latest that they can go off is 1:00 a.m.
Therefore, the probability that the lights are on for between 4 and 5 hours is .
(We note that we can safely ignore the question of whether the lights coming on at 7:30 p.m. and going off at exactly 11:30 p.m., for example, affects the probability calculation, because 11:30 p.m. is a single point in an interval containing an infinite number of points, and so does not affect the probability.)