Two numbers x and y are chosen independently at random from the interval [ 0 , 1 ] . What is the probability that there exists an obtuse triangle with side lengths x , y , 1 ?
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.
How did you immediately know that for it to be obtuse, it must be x 2 + y 2 ≤ 1 ? I did the cosine rule thing, what's yours?
Log in to reply
Yes, I deduced that fact in the same way; I just took it as a matter of common knowledge when I should have offered an explanation. I've edited my solution to be (slightly) more informative. :)
I missed the first inequality where x+y>1. So silly.
Let's take a more rigorous approach here! By the Law of Cosines we desire 1 = x 2 + y 2 − 2 x y ⋅ c o s ( θ ) , and solving for θ gives:
c o s ( θ ) = 2 x y x 2 + y 2 − 1 (i)
and if we require an obtuse triangle, then:
− 1 < 2 x y x 2 + y 2 − 1 < 0
which results in: x 2 + y 2 < 1 ⇒ y < 1 − x 2 AND − 2 x y < x 2 + y 2 − 1 ⇒ 1 < ( x + y ) 2 ⇒ 1 < x + y
of which the latter satisfies the Triangle Inequality. If x , y are each independent & uniformly distributed over [ 0 , 1 ] , then their pdf's both equal f X ( x ) = f Y ( y ) = 1 − 0 1 = 1 . Finally, the required probability we seek:
P = ∫ 0 1 ∫ 1 − x 1 − x 2 f X ( x ) ⋅ f Y ( y ) d y d x = ∫ 0 1 ∫ 1 − x 1 − x 2 d y d x = ∫ 0 1 1 − x 2 − 1 + x d x ;
or 2 x 1 − x 2 + 2 1 a r c s i n ( x ) − x + 2 x 2 ∣ 0 1 ;
or 4 π − 2 1 .
Problem Loading...
Note Loading...
Set Loading...
The uniform sample space involved here is the unit square with lower left corner ( 0 , 0 ) and upper right corner ( 1 , 1 ) .
Now by the triangle inequality we know that in order for a triangle to be formed at all we require that ( x + y ) ≥ 1 .
Next, for a triangle to be obtuse we will require that ( x 2 + y 2 ) ≤ 1 , (as x , y ≤ 1 ).
The desired probability is then the area of the region of overlap of these two inequalities, which will be that of a quarter-circle of radius 1 minus that of a right, isosceles triangle of side length 1 , i.e., 4 π − 2 1 = 0 . 2 8 5 to 3 decimal places.