Probability of 3 numbers chosen between 0 and 10 being within 1 of each other

Mariyah Bell

Mariyah Bell

Answered question

2022-10-12

Probability of 3 numbers chosen between 0 and 10 being within 1 of each other
I was trying to find the probability that 3 real numbers uniformly chosen from 0 to 10 are within 1 of each other (the largest number minus the smallest number is at most 1).
I tried using geometric probability, and I got a region that looks like what you would get if you put one vertex of a unit cube at the origin (and orient the edges such that they line up with the positive axes), and move the corner at the origin from (0,0,0) to (9,9,9) (is this region correct?). I calculated the volume by finding the area of the one of the faces of the cube (which is 1), and multiplying it by the distance it moved (which is 9). Since there are three of these squares, the volume is 27. I then add this to the volume of the cube, which results in 28. The total volume is 10 3 = 1000, so the probability is 28 / 1000 = 7 / 250.

Answer & Explanation

Tirioliwo

Tirioliwo

Beginner2022-10-13Added 12 answers

Step 1
I agree that choosing uniformly at random 3 integers between 0 and 10 is equivalent to choosing a point in the cube (0,0,0) (10,10,10). The 3 numbers belonging to a range of size 1 does not give a simple volume easy to compute. The volume is generated by a translation of the unit cube along the global diagonal of the larger cube. This volume is not as trivial as you seem to think. It is not generated by the translation of the face of a cube along the global diagonal. The perspective is such that the object is way more complex. The object has 6 side faces and a hexagonal based pyramid. The vertices of the pyramid base are not even all of the same length.
Step 2
The probability you are looking for can be computed like this:
1 10 3 0 10 m a x ( 0 , x 1 ) m i n ( 10 , x + 1 ) m a x ( 0 , x 1 , y 1 ) m i n ( 10 , x + 1 , y + 1 ) d z d y d x
You could derive a similar integral to compute the volume of the object we describe previously and it will be as if not more complex.
Brianna Schmidt

Brianna Schmidt

Beginner2022-10-14Added 6 answers

Step 1
We have to determine the volume of a particular subset B [ 0 , 10 ] 3 . Your computation of this volume is audacious, but absolutely correct! Here is another way:
The set A of the ( x 1 , x 2 , x 3 ) B satisfying x 1 < x 2 < x 3 comprises a sixth of this volume. In order to determine vol(A) we let x 2 =: λ [ 0 , 10 ], and then have to find the area a ( λ ) of the set A λ in the ( x 1 , x 3 )-plane determined by the conditions x 1 < λ , x 3 > λ , x 3 x 1 < 1   .
Step 2
Inspecting a figure shows the following: For λ < 1 and 9 < λ < 10 the set A λ is a trapezoid, and for 1 < λ < 9 the set A λ is a triangle of area 1 2 . It follows that
v o l ( A ) = 2 0 1 a ( λ ) d λ + 8 1 2 = 0 1 λ ( 1 λ ) + 1 2 d λ + 4 = 28 6   .
In this way the probability p we are looking for becomes p = v o l ( B ) 10 3 = 6 v o l ( A ) 10 3 = 0.028   .

Do you have a similar question?

Recalculate according to your conditions!

New Questions in High school geometry

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?