[Math] Distance between $2$ random points in a segment.

geometric-probabilitygeometryprobability

On a straight line of length $10$ cm, two points A, B are selected at random uniformly and independently. What is the probability that the distance $AB > 4$ cm?

Edit: I edited the question to make it more clear. Note that apart from the clear answer to this question from mjqxxx, Gerry Myerson gives an answer to the question "If two numbers $a$ and $b$ are chosen uniformly and independently in $[0,10]$, what is the probability that the product $ab>4$". Both answers are nicely illustrated by Henry.
Gilles Bonnet 17.05.14.

Best Answer

Draw Cartesian axes labeled $A$ and $B$. You're asking about the fraction of the square $[0,10]\times[0,10]$ that is greater than $4$ units away (measured horizontally or vertically) from the diagonal $A=B$. Geometrically this region consists of two isosceles right triangles with side length $6$, so its total area is $36$. The desired probability is $0.36$.

Related Question