I've already searched and don't find this particular case in XValidated.
Statement:
"Electricity is turned on uniform-randomly at a given time of day (in 24 hour window). Once it has been turned on, the turn-off time is uniform-randomly chosen as well (chosen from the remaining hours left in the day). What is the probability that the electricity will be on for at least 12 hours during the day".
The "at least 12 hours" condition means that electricity must be turned on before/at noon"(otherwise there's no way it could have been on for at least 1/2 the day.
Breiman, Leo "Probability and Stochastic Processes" (1969) presents the answer to this as:
0.5 - 0.5 Ln(2)
I just don't see that - is there a clear derivation of this? Unable to find it (Breiman's book doesn't have the answer for the problem).
Edit: Almost have it.
The answer involves a double integral over the space (T_on, T_off)
where
0 <= T_on <= 0.5 (power turn-on must be noon or earlier for 1/2 day condition
T_on + 0.5 <= T_off <= 1 (power needs to be on for at least 1/2 day past turn-on time)
I can't quite see why the integrand is 1/y - that's the only place that a Log can result from an integration.