Doodle Probability

Two points are randomly selected on a square sheet of paper and are joined to form a line segment.

This process is repeated to obtain another line segment.

What is the probability that the two lines intersect?

25 108 \dfrac{25}{108} 25 106 \dfrac{25}{106} 25 104 \dfrac{25}{104} 25 102 \dfrac{25}{102}

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Digvijay Singh
Jun 2, 2018

Without the loss of generality, let's assume the side length of the square to be 1 1

We start by selecting four points inside the square.

The figure on left shows the cases where the four points have a concave hull (It can be seen that none of the colored configurations intersect).

The figure on right shows the cases where the four points have a convex hull (It can be seen that one out of the three colored configurations intersect).

Hence, the lines segments will intersect if and only if the four points form a convex figure (i.e none of the selected points is inside the triangle formed by the other three)

Let P convex P_{\text{convex}} be the probability that the four points form a convex figure.

If a convex figure is obtained, then the probability that the line segments intersect is 1 3 \dfrac{1}{3} .

If a concave figure is obtained, then the probability that the line segments intersect is 0 0 .

Hence the probability we are looking for is P = 1 3 × P convex P=\dfrac{1}{3}\times P_{\text{convex}} .

Now we need to find P convex P_{\text{convex}} .

First, Let's calculate the probability P α P_\alpha that the first point is inside the triangle formed by the other three.

P α = E ( Δ Triangle ) Δ Square P_\alpha=\dfrac{\mathrm{E}\left(\Delta_\text{Triangle}\right)}{\Delta_\text{Square}}

where E ( Δ Triangle ) \mathrm{E}\left(\Delta_\text{Triangle}\right) is the expected value of the area of the triangle formed by the three points, and Δ Square \Delta_\text{Square} is the area of the square.

Same goes for P β , P γ P_\beta, P_\gamma and P δ P_\delta . Obviously P α = P β = P γ = P δ P_\alpha=P_\beta=P_\gamma=P_\delta .

Probability that any point is inside of triangle formed by other three is P α + P β + P γ + P δ = 4 P α P_\alpha+P_\beta+P_\gamma+P_\delta=4P_\alpha because no more than one of these outcomes can happen simultaneously.

P convex = 1 4 P α = 1 4 E ( Δ Triangle ) P_{\text{convex}}=1-4P_\alpha=1-4\mathrm{E}\left(\Delta_\text{Triangle}\right)

Now, we only need to find E ( Δ Triangle ) \mathrm{E}\left(\Delta_\text{Triangle}\right) , which is given by

E ( Δ Triangle ) = 0 1 0 1 0 1 0 1 0 1 0 1 Δ d x 1 d x 2 d x 3 d y 1 d y 2 d y 3 0 1 0 1 0 1 0 1 0 1 0 1 d x 1 d x 2 d x 3 d y 1 d y 2 d y 3 \displaystyle\mathrm{E}\left(\Delta_\text{Triangle}\right)=\dfrac{\displaystyle\int_0^1\int_0^1\int_0^1\int_0^1\int_0^1\int_0^1|\Delta|dx_1dx_2dx_3dy_1dy_2dy_3}{\displaystyle\int_0^1\int_0^1\int_0^1\int_0^1\int_0^1\int_0^1dx_1dx_2dx_3dy_1dy_2dy_3}

= 0 1 0 1 0 1 0 1 0 1 0 1 x 2 y 1 + x 3 y 1 + x 1 y 2 x 3 y 2 x 1 y 3 + x 2 y 3 2 d x 1 d x 2 d x 3 d y 1 d y 2 d y 3 = 11 144 =\displaystyle\int_0^1\int_0^1\int_0^1\int_0^1\int_0^1\int_0^1\dfrac{\left|-x_2y_1+x_3y_1+x_1y_2-x_3y_2-x_1y_3+x_2y_3\right|}{2}\,dx_1dx_2dx_3dy_1dy_2dy_3=\dfrac{11}{144}

Here, ( x i , y i ) (x_i,y_i) represent the polygon vertices of the triangle for i = 1 , 2 , 3 i=1, 2, 3 , and the (signed) area of these triangles is given by the determinant

Δ = 1 2 ! x 1 y 1 1 x 2 y 2 1 x 3 y 3 1 = 1 2 ( x 2 y 1 + x 3 y 1 + x 1 y 2 x 3 y 2 x 1 y 3 + x 2 y 3 ) \Delta=\dfrac{1}{2!} \left|\begin{matrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{matrix}\right|=\dfrac{1}{2}\left(-x_2y_1+x_3y_1+x_1y_2-x_3y_2-x_1y_3+x_2y_3\right)

E ( Δ Triangle ) = 11 144 \implies\displaystyle\mathrm{E}\left(\Delta_\text{Triangle}\right)=\dfrac{11}{144}

P convex = 1 4 E ( Δ Triangle ) = 25 36 \implies P_{\text{convex}}=1-4\mathrm{E}\left(\Delta_\text{Triangle}\right)=\dfrac{25}{36}

P = 1 3 × P convex = 25 108 \implies P=\dfrac{1}{3}\times P_{\text{convex}}=\boxed{\dfrac{25}{108}}


A better approach on finding E ( Δ Triangle ) \mathrm{E}\left(\Delta_\text{Triangle}\right) can be found here and here

Click here for more information.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...