The question:
$A, B\sim \textsf{U}_{[0,1]}$ are the moments two bulbs are ignited, they then are lit for respectively $S,T \sim \textsf{U}_{[0,2]}$. Find the probability two bulbs are lit at the same time.
So far I’ve managed to follow along with the solution: $$P(\text{two bulbs are lit at the same time}) = \underbrace{2}_{\text{symmetry}}P(\{A \leq B \} \cap \{A+S \geq B\} ) $$ which is then turned into the following integral which I do not understand: $$2\int_0^1\int_0^b {2 - (b-a) \over 2} \mathrm{d}b\mathrm{d}a$$ I know that ${2 - (b-a) \over 2}$ is the probability of $S \geq (b-a)$ since $S$’s pdf is $\frac12$, and that for the condition to be fulfilled $S$ needs to be from $(b-a)$ to $2$. what I don’t understand is how is this integral conceived - and how to graph the question since it was my first instinct but I just hadn’t been able to. Can you please fill in a bit of the intermediate steps and show me how to consult a graph in this question please.