$X$ and $Y$ are independent uniformly distributed on $[a,b]$ random variables.
How to calculate $$ P (Y<X \, | \, X>\frac{a+b}{2})? $$ My calculations: $$ P (Y<X \, | \, X>\frac{a+b}{2})=\frac{P(X>Y,X>\frac{a+b}{2})}{P(X>\frac{a+b}{2})}= \frac{P(X>\max\{Y,\frac{a+b}{2}\})}{P(X>\frac{a+b}{2})}. $$ It is obviously that the denominator $$ P(X>\frac{a+b}{2})=\frac{1}{2}. $$ But how to calculate the numerator?
I think there is a nice way to find this probability graphically. Unfortunately, my computer drawing skills are terrible. But the picture is as follows.
The rectangle represents all possible outcomes. The vertical line in the middle splits the outcomes into two parts: $X<(a+b)/2$ on the left and $X>(a+b)/2$ on the right. The diagonal line splits the outcomes again into two parts: $X>Y$ below the line and $X<Y$ above the line. Hence, $$ P(Y<X\mid X>(a+b)/2)=\frac34. $$