wu :: forums
« wu :: forums - Fifteen marbles »

Welcome, Guest. Please Login or Register.
Apr 28th, 2024, 6:22pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   easy
(Moderators: towr, Icarus, SMQ, Eigenray, Grimbal, william wu, ThudnBlunder)
   Fifteen marbles
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Fifteen marbles  (Read 1013 times)
NickH
Senior Riddler
****





   
WWW

Gender: male
Posts: 341
Fifteen marbles  
« on: Jan 7th, 2003, 5:36am »
Quote Quote Modify Modify

A boy has six red marbles and nine blue marbles.  He arranges his fifteen marbles randomly in a row.  What is the  
probability that no red marble lies next to another?
IP Logged

Nick's Mathematical Puzzles
william wu
wu::riddles Administrator
*****





   
WWW

Gender: male
Posts: 1291
Re: Fifteen marbles  
« Reply #1 on: Jan 7th, 2003, 1:39pm »
Quote Quote Modify Modify

Here's my answer ... (highlight below area with mouse pointer to see)
 

We will compute this probability p using a counting approach. We will count the number of distinct marble arrangements which satisfy the condition that no red marbles lie next to each other, and then divide this number by the total number of distinct marble arrangements.
 
The total number of distinct marble arrangements is C(15,6), where C(n,k) = n! / (k! (n-k)!) = number of ways to choose k elements out of n elements.  
 
On to the numerator. First observe that if no red marble touches each other, there must be at least one blue marble between every two would-be adjacent red marbles. Visually speaking, this much is true:
 
R  B  R  B  R  B  R  B  R  B  R
 
Remember that we have 9 blue marbles in total. Having fixed the positions of 5 blue marbles, only 4 blue marbles are left for us to play with, each of which can be placed either alongside one of the 4 blue marbles in the row shown above, or at the front or back ends of the row. Thus there are a total of 7 distinct locations each blue marble can be placed in. How many distinct ways are there to distribute 4 indistinguishable blue marbles amongst 7 locations? (How many ways are there to distribute 4 indistinguishable balls in 7 bins?)
 
A stars-and-bars counting technique can be helpful here. We will represent a blue marble by a "star" (*), and the dividing line between two adjacent locations by a "bar" (|). So you would interpret the string
 
* | * | | * * | | |
 
as saying "There are seven locations. 1st and 2nd locations both have one marble. 4th location has two marbles. Rest have zero marbles." Note that if there are 7 locations, 6 bars are needed to establish them. Thus we wish to count the number of stars-and-bar strings like the one above. Well, there are a total of 4 + 6 = 10 symbols in the string, and 4 of them must be stars. Thus the answer is C(10,4).
 
Conclusively, p = C(10,4) / C(15,6) ~= .042
 

 
« Last Edit: Jan 8th, 2003, 12:36pm by william wu » IP Logged


[ wu ] : http://wuriddles.com / http://forums.wuriddles.com
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board