A unit square is drawn in the Cartesian plane with vertices at ( 0 , 0 ) , ( 0 , 1 ) , ( 1 , 0 ) , ( 1 , 1 ) . Two points P , Q are chosen uniformly at random, P from the boundary of the square and Q from the interior of the square. The line L 1 through P and Q is drawn. The probability that the points ( 0 , 0 ) and ( 1 , 1 ) are both on the same side of L 1 can be expressed as b a where a and b are coprime positive integers. What is the value of a + b ?
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.
Many people got the correct answer to this problem while not correctly solving it.
A common claim was that if you draw the line sgement between the points ( 0 , 0 ) and ( 1 , 1 ) , then those points would be on the same side of the line P Q when P and Q are on the same side of the first line. This is not the case. Can you find a pair of points P and Q for which this is not true?
The second compounding mistake was calculating that the probability of this occuring was 4 1 . The probability is actually 2 1 . Can you see why?
If you had difficulty approaching this problem, you should read the Brilliant Blog about Geometric Probability
Label A = ( 0 , 0 ) , B = ( 0 , 1 ) , C = ( 1 , 1 ) , D = ( 0 , 1 ) . The situation of Q on the four sides are symmetrical with respect to the diagonal A C , therefore we can assume Q to be randomly chosen just from one side, e.g. the segment A B .
When Q = ( x , 0 ) , the points P such that A and C are on the same side of the line P Q are those points that are in the triangle Q B C , with area x / 2 . So the desired probability is
∫ 0 1 [ A B C D ] [ Q B C ] d x = ∫ 0 1 2 x d x = 4 1 .
For simplicity let us denote the corners of the square as: O = ( 0 , 0 ), N = ( 0 , 1 ) , M = ( 1 , 1 ) , and L = ( 1 , 0 ) .
We are concerned with the probability of event A where A is the event that O and M are on the same side of the line L 1 determined by P and Q .
We note that P is equally likely to be on each side, i.e, if P R S is the event that P is on side R S , then P ( P R S ) = 4 1 for R S ∈ Ω = { L M , M N , N O , O L } . The P R S 's also form a partition of our probability space.
Let us denote by A R S the probability that O and M are on the same side of L 1 given that P is on R S ∈ Ω ⇒ P ( A R S ) = P ( A ∣ P R S ) = P ( P R S ) P ( A ∩ P R S ) ⇒ P ( A ∩ P R S ) = P ( A R S ) × P ( P R S ) . It should be noted that P ( A ) = R S ∈ Ω ∑ P ( A ∩ P R S )
Let us consider that P is on M N . Then P ( x , 1 ) for x ∈ [ 0 , 1 ] . Now, we place Q . The event A M N is then equivalent to the event that Q is inside the region Δ N O P . The area of Δ N O P is 2 x . Then, P ( A M N ) = ∫ 0 1 2 x d x since the area of the square is 1 .
Thus, P ( A M N ) = 4 1 ⇒ P ( A ∩ P M N ) = 1 6 1 . In a similar fashion, by considering Δ L O P , P ( A L M ) = 4 1 ⇒ P ( A ∩ P L M ) = 1 6 1 .
Likewise, let us consider that P is on O N with P ( 0 , y ) for y ∈ [ 0 , 1 ] . The event A O N is then equivalent to the event that Q is inside the region Δ P M N with area 2 1 − y ⇒ P ( A O N ) = ∫ 0 1 ( 2 1 − 2 y ) d y = 4 1 ⇒ P ( A ∩ P O N ) = 1 6 1 . Again, we can obtain P ( A ∩ P O L ) = 1 6 1 in a similar way.
Therefore, P ( A ) = 4 × 1 6 1 = 4 1 and the answer to the question, 5 , follows.
Name the points (0,0) as A, (1,0) as B, (1,1) as C and (0,1) as D. So for (1,1) and (0,0) to lie on 1 side of L 1 , there has to 2 cases:
We know that that AB=BC=CD=AD=1 and area △ ABC=area △ ADC =1/2.
Favourable cases for △ ABC:
(P lying on AB × Q lying in △ ABC) + (P lying on BC × Q lying in △ ABC) =
(length of AB × area of △ ABC) + (length of BC × area of △ ABC) =
[(1 × 2 1 ) + (1 × 2 1 )] / 2 = 2 1
It is to be noted that the equation is further divided by 2, since it includes each case of L 1 twice. As L 1 intersects both AB and BC, both the intersecting points can be taken as P, therefore the cases are halved to eliminate redundancy when P is on AB or BC.
Similarly favourable cases for △ ADC):
(P lying on AD × Q lying in △ ADC) + (P lying on CD × Q lying in △ ADC) =
(length of AD × area of △ ADC) + (length of CD × area of △ ADC) =
[(1 × 2 1 ) + (1 × 2 1 )] / 2 = 2 1
Therefore total favourable cases by adding we have 2 1 + 2 1 = 1.
For total cases in square ABCD: (P lying on AB × Q lying in ABCD) + (P lying on BC × Q lying in ABCD) + (P lying on CD × Q lying in ABCD) + (P lying on AD × Q lying in ABCD) =
(length of AB × area of ABCD) + (length of BC × area of ABCD) + (length of CD × area of ABCD) + (length of AD × area of ABCD) =
(1 × 1) + (1 × 1) + (1 × 1) + (1 × 1) =
1+1+1+1=4 = Total cases.
Probability = T o t a l C a s e s F a v o u r a b l e C a s e s = 4 1 .
Since 1 & 4 are coprime, their sum, i.e ans = 1+4 =5
Since both halves of the square divided by the line (0,0) (1,1) are the same, the probabilities are the same. So, we assume that that P is on the point x on line (1,0) to (0,0). It doesn't matter since (1,0) to (0,0) is the same length as (1,0) to (1,1). Then, we see that the maximum "boundary" Q can be on is point (1,1) itself. thus the summation of the area that point Q can be drawn is \frac {1}{2} \times 1 \times x which is \frac {x}{2}. thus we integrate \frac {x}{2} from 1 to zero and we get \frac {1}{4} and 1 + 4 =5
We may ignore the case when ( 0 , 0 ) or ( 1 , 1 ) is on the line L 1 , since this happens with probability 0.
By symmetry, we may assume that P lies on the x -axis. Let p be the y - coordinate of P . If we draw the line L 2 from ( 1 , 1 ) to P , we will have ( 0 , 0 ) and ( 1 , 1 ) on the same side of L 1 if and only if Q is to the right of line L 2 . The area of this triangle is 2 1 − p .
We can construct a new unit square where the x -axis represents the value of the point p and the y -coordinate represents the probability that Q will make L 1 have the desired property. The square in the figure below represents this, and the green region represents when the line L 1 will have the desired property. This area is 4 1 the area of the square, so the probability is 4 1 , and a + b = 1 + 4 = 5 .
After we draw the square with given points on the coordinate plane,it is clear that the points (0,0) & (1,1) are both on the same side of L1 only when both points P & Q are on the same side of the diagonal joining (0,0)& (1,1).It means point P must lie on two adjacent sides,whose probability= 2/4 = 1/2.Now point Q must lie on either side of the diagonal joining (0,0) & (1,1),whose probability =1/2.Hence net probability = (1/2) *(1/2) =1/4 which implies that a+b=1+4=5
We are asked to find the probability that the points (0,0) and (1,1) are both on the same side of L1, so, the point P and Q should be at the same side of the diagonal joining (0,0) and (1,1) The point P must lie on either on the side joining (0,1) and (1,1) or on the side joining (0,0) and (1,0), so we have 2 ways for this or its probability is 2/4 or 1/2 Now, the point Q must either lie on the upper part of the diagonal or on the lower part of the diagonal, so its probability is 1/2
Thus, the required probability is 1/2*1/2=1/4 so, a+b=1+4=5
THE POINTS (0,0) AND (1,1) WILL BE ON THE SAME SIDE OF THE LINE (L 1) WHEN THE POINT P AND Q BOTH ARE PRESENT ON THE SAME SIDE OF THE DIAGONAL JOINING (0,0),(1,1).THEN THE POINT P MUST LIE ON THE TWO ADJACENT SIDES i.e 2/4 = 1/2
now q must lie on either one half of the diagonal so as the diagonal divides the square in 2 equal halves so probability is 1/2.
now net probability = (1/2) *(1/2)
Problem Loading...
Note Loading...
Set Loading...
Put A ( 0 , 0 ) ; B ( 1 , 0 ) ; C ( 1 , 1 ) ; D ( 0 , 1 ) . Assume P is on A B such that B A B P = k , where k ∈ [ 0 , 1 ] . Then C and A are on the same side of P Q if and only if Q is contained in the triangle B P C , which occurs with probability p = [ A B C D ] [ B P C ] = 2 k . This is the same as the uniform distribution on [ 0 , 1 ] , so the probability is the same as the expected value of [ A B C D ] [ B P C ] . The expected value of [ B P C ] is 2 1 [ B A C ] so the probability is 2 [ A B C D ] [ B A C ] = 4 1 . We follow the same deduction for P on B C , C D , D A and have the same reesult.