Two points P , Q are chosen uniformly at random from the interior of the square A B C D . The line L 1 through P and Q is drawn. The probability that the points A and C are on different sides 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.
Consider the square in a Cartesian coordinate system. Without loss of generality, let points A, B, C, D be at (0,0), (1,0), (1,1) and (0,1) respectively.
Now consider the case when P lies in ABC. Join line AP to meet BC at D, and join line CP to meet AB at E. Then A and C will be on the same side as PQ if and only if Q lies within triangle BPD or triangle APE. If point P is at (X,Y), then we can find the equations of lines AP and CP to be y = X Y x and y = 1 − X 1 − Y x + 1 − 1 − X 1 − Y respectively. This would allow us to find the coordinates of D and E to be ( 1 , X Y ) and ( 1 − 1 − Y 1 − X , 0 ) respectively. The area of triangle APE will thus be 2 1 ( 1 − 1 − Y 1 − X ) ( Y ) while the area of triangle BPD is 2 1 ( 1 − X Y ) ( 1 − X ) . Since the total area of ABCD is 1, the probability that A and C are on the same side as Q is thus the sum of these two areas, which is 2 1 ( 1 − X − X Y + 2 Y − 1 − Y Y ( 1 − X ) ) . Since X varies from 0 to 1 and Y varies from 0 to X (given that P is in ABC), we have the probability that A and C are on the same side of PQ given that P is in ABC being 2 1 ∫ 0 1 ∫ 0 X 2 1 ( 1 − X − X Y + 2 Y − 1 − Y Y ( 1 − X ) ) d Y d X . The denominator is 2 1 because point P is only chosen from ABC, which has area 2 1 . This fraction is equal to ∫ 0 1 ∫ 0 X ( 1 − X − X Y + 2 Y − 1 − Y Y ( 1 − X ) ) d Y d X .
Using simple integration for the first 4 terms in the integrand and integration by parts for the final term, we can evaluate the integral to be ∫ 0 1 2 3 X − X 2 + ( 1 − X ) l n ( 1 − X ) d X . Again, using simple integration for the first two terms and integration by parts for the final term in the integrand, we obtain [ − 3 1 X 3 + X 2 − 2 1 X − 2 1 ( X 2 + 1 ) l n ( 1 − X ) ] 0 1 . Keeping in mind that X → 1 lim [ ( X 2 + 1 ) l n ( 1 − X ) ] = 0 , we can evaluate this integral to be 6 1 . This is the probability that A and C are on the same side of PQ given that P is in ABC.
If P is in ADC, it is easy to realise that we are faced with a similar situation as when P is in ABC, so the probability that A and C are on the same side of PQ given that P is in ADC is also 6 1 . Thus, the probability that A and C are on the same side of PQ is 6 1 , and the probability that A and C are on different sides of PQ is 6 5 . Our desired answer is thus 5 + 6 = 1 1 .
WLOG set ABCD has area 1.
We'll calculate the probability that A and C are on the same side of L 1 , and then subtract from 1 to find out the answer. We'll do this assuming that P lies in ABC, because the situation is symmetric
Suppose that P lies within triangle ABC. Say AP meets BC at M, and CP meets AB at N. So the event that A and C are on the same side of L 1 corresponds to the statement that Q lies within triangle PNA or PMC. Thus, it has probability equal to the area of those triangles.
Now, say that the perpendicular distances from P to BC and AB are x and y. So the area of PMC is 2 ( 1 − x ) x ( 1 − x − y ) . So, to work out the probability that Q lies within PMC, we must integrate ( 1 − x ) x ( 1 − x − y ) over the triangle, where we've multiplied by 2 because P is distributed uniformly on ABC with area 2 1 .
We do the y integral from 0 to 1-x first to get 2 x ( 1 − x ) and then we do the x integral from 0 to 1 and it comes out to 1 2 1 . Finally, we double this because Q could have been within PNA, to get final probability 6 1 .
Finally, we subtract from 1 to get answer 6 5 .
One randomly chooses one point P ( x , y ) . Besides, let the length of one side be 1 . Further f is the line connecting A and P , E is the intesection of f with side B C . g is the line connecting C and P and F the intersection of g with side C D .
Obviously, the second point Q has to be in the area A P C D or F C E P to fulfill the condition that A and C lie on different sides on the line P Q .
One can easily calculate the sum of these areas: A = 1 − 2 x ( 1 − x ) ( x − y ) − 2 1 y ( 1 − 1 − y 1 − x )
Hence the probability is: p = ∫ 0 1 ∫ 0 1 1 − 2 x ( 1 − x ) ( x − y ) − 2 1 y ( 1 − 1 − y 1 − x ) d x d y = 6 5
So, the answer is 5 + 6 = 1 1 .
First, draw A C . Without a loss of generality, let P be in △ A B C . Extend A P to meet B C at E , and extend C P to meet A B at F . It can be easily seen that the locus of points Q that satisfy the conditions are the interiors of the quadrilaterals A D C P and B E P F . The ratio of the area of the locus to the area of the square is then the probability.
For now, we will disregard △ A D C (since that is in common to all of the loci), and focus on △ A B C .
Let the area of a locus at a point P be denoted as [ L ] P . Draw the medians A X , B Y , and C Z of △ A B C . We note that at the median G of △ A B C , [ L ] = 3 2 [ A B C ] . Further, if P is located in △ C M Y , △ Y M A , △ M B X , or △ M B Z (let these points be called P 1 ), 3 2 [ A B C ] ≤ [ L P 1 ] ≤ [ A B C ] . However, if P is located in △ C M X or △ A M Z (let these points be called P 2 ), we know that 0 ≤ [ L ] ≤ 3 2 [ A B C ] .
Since [ L ] is continuous throughout the triangle, we may map any point P 2 to a point P 1 and its reflection across B Y (we will call this P 1 ′ ), such that [ L P 2 ] + [ L P 1 ] + [ L P 1 ′ ] = [ L P 2 ] + 2 [ L P 1 ] = 2 [ A B C ] ( 1 ) . Likewise, we may map any point P 1 to its reflection across B Y and a point P 2 , with the same condition as above.
Next, we note that [ C M Y ] + [ Y M A ] + [ M B X ] + [ M B Z ] = 2 ( [ C M X ] + [ A M Z ] ) . Since we are mapping two points of P 1 to one point in P 2 , we can create a "bijection" between these sets that satisfy ( 1 ) because the sets are of proportional areas. Thus, the expected value of [ L ] for all points is 3 2 [ A B C ] = 3 1 [ A B C D ] (only considering △ A B C ).
The same is true if P is located in △ A D C , so the probability that A and C are on opposite sides of P Q is [ A B C D ] 3 1 [ A B C D ] + 2 1 [ A B C D ] = 6 5 , where the 2 1 [ A B C D ] comes from the triangle we ignored earlier. Therefore, the answer is 5 + 6 = 1 1 .
We will assume that the square has unit side length. By symmetry, we may assume the point P is contained in triangle A B C . Let X be the point where the line through A and P intersects B C , and Y the point where the line through C and P intersects A B . We see that when Q is in P X C or P Y A that the line through P and Q has A and C on the same side of it, and when Q is in B X P Y or P C D A , the line through P and Q has A and C on opposite sides.
The desired answer follows from the following two lemmas (the proofs are left as exercises to the reader):
Lemma 1. Let S be a point chosen at random from triangle T U V . Then the expected value E ( [ S T U ] ) = 3 [ T U V ] .
Lemma 2. Let
S
be a point chosen at random from triangle
T
U
V
and
W
the point where the line through
S
and
T
intersects
U
V
.
Then the expected value
E
(
[
T
W
U
]
)
=
2
[
T
U
V
]
.
From Lemma 1, we see that E ( [ A P C ] ) = 3 [ A B C ] = 6 1 . From Lemma 2, we see that E ( [ A X C ] ) = 2 [ A B C ] = 4 1 . Combining these, and using Linearity of expectation, we have that E ( [ P X C ] ) = 1 2 1 . By symmetry, we also get that E ( [ P Y A ] ) = 1 2 1 . Thus, the probability that the line does not separate A and C is 6 1 , so the probability that it does is 6 5 , and so a + b = 5 + 6 = 1 1 .
Problem Loading...
Note Loading...
Set Loading...
*Solution. * Suppose P is any point in the interior of the triangle A B C . The criteria of point Q so that A and C are on the same side of P Q is when the line P Q does not intersect the segment A C . Connect and extend the line A P such that it intersects the side B C at point E . Also, connect and extend the line C P such that it intersects the side A C at point F . Then the set of point Q that satisfies the criteria is just the union of the two triangles C P E and A P F . We denote by [ X Y Z ] the area of a triangle X Y Z .
We use a coordinate system so that A = ( 0 , 1 ) , B = ( 0 , 0 ) , C = ( 1 , 0 ) , D = ( 1 , 1 ) , and let P = ( x , y ) ∈ △ A B C .
Then, notice that
[ A P C ] [ C P E ] = A P P E = 1 − x x , [ A P C ] [ A P F ] = C P P F = 1 − y y , [ A P C ] = 2 1 − x − y
we have [ C P E ] + [ A P F ] = 2 1 ( 1 − x − y ) ( 1 − x x + 1 − y y ) = : f ( x , y ) .
Therefore the probability that P is in triangle A B C and A , C lie on the same side of P Q is I : = ∫ ∫ ( x , y ) ∈ △ A B C f ( x , y ) d x d y .
By symmetry, the probability that P lies in the triangle A D C and that A , C lie on the same side of P Q is also I . So the final answer is 1 − 2 I . Now we calculate 2 I . Note that
2 f ( x , y ) = x + y − 1 − x x y − 1 − y x y = 2 x + y ( 1 − 1 − x x ) − 1 − y x
So
2 I = ∫ 0 1 d x ∫ 0 1 − x [ 2 x + y ( 1 − 1 − x x ) − 1 − y x ] d y = ∫ 0 1 [ 2 x ( 1 − x ) + ( 1 − 1 − x x ) ⋅ 2 ( 1 − x ) 2 + x ln ( 1 − ( 1 − x ) ) ] d x = ∫ 0 1 [ 2 3 x ( 1 − x ) + 2 ( 1 − x ) 2 + x ln x ] d x = 2 1 ∫ 0 1 [ − 2 x 2 + 1 + ( 2 x ln x + x ) ] d x = 2 1 ∫ x = 0 1 d [ − 3 2 x 3 + x + x 2 ln x ] = 2 1 ( − 3 2 + 1 + 0 ) = 6 1 .
Therefore 1 − 2 I = 6 5 .