Sum of 3 random numbers < 1

What is the probability that 3 randomly chosen real numbers between 0 and 1 have a sum less than 1? Assume that the random numbers are uniformly distributed over (0,1) and are independent.

0.111 0.5 0.167 0.333

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.

2 solutions

Chris Lewis
Mar 18, 2019

Call the three values x , y , z x,y,z . We can treat these as coordinates. The sample space is the unit cube with vertices ( 0 , 0 , 0 ) , ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) , ( 0 , 0 , 1 ) , ( 0 , 1 , 1 ) , ( 1 , 0 , 1 ) , ( 1 , 1 , 0 ) , ( 1 , 1 , 1 ) (0,0,0),(1,0,0),(0,1,0),(0,0,1),(0,1,1),(1,0,1),(1,1,0),(1,1,1) , which has volume 1 1 . The region we are interested in is the intersection of this cube with the region x + y + z 1 x+y+z \le 1 . This intersection is the tetrahedron with vertices ( 0 , 0 , 0 ) , ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) , ( 0 , 0 , 1 ) (0,0,0),(1,0,0),(0,1,0),(0,0,1) . The volume of this tetrahedron - which, since the sample space has volume 1 1 , is also the required probability, is 1 6 \boxed{\frac{1}{6}} .

Srinivasa Gopal
Mar 18, 2019

Theorm : The Probability of the sum of n random numbers less than or equal to s is (s^n)/n! where s is <=1 , hence the probability that the sum of 3 random numbers with values between (0,1) is 1/n! where n = 3 or is equal to 1/6.

Verified via Simulating the occurence of the event (r1+r2+r3 < 1) by generating a large number of random numbers. Here r1,r2 and r3 are random numbers

Sub randsum()

'rcount = 0

For i = 1 To 10000000

r1 = Rnd()

r2 = Rnd()

r3 = Rnd()

If (r1 + r2 + r3) < 1 Then

rcount = rcount + 1

End If

Next i

p = rcount / 10000000

MsgBox p

End Sub

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...