Sharks, Dolphins and Whales

Probability Level pending

Five sharks, three dolphins, and four whales all line up in a random order to buy tickets for the opera.

The probability that all the dolphins are ahead of all of the whales is a b \frac{a}{b} , where a a and b b are coprime positive integers.

What is a + b a+b ?


The answer is 36.

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

Geoff Pilling
Jan 16, 2017

The positions of the sharks in the line is immaterial to the problem.

Since there are 3 dolphins and 4 whales, there are ( 4 + 3 3 ) \binom{4+3}{3} ways to arrange them (since we don't care about the relative order of the sharks or that of the whales), only one of which will put all 3 dolphins ahead of the whales.

So, the probability is:

P = 1 ( 7 3 ) = 1 35 P = \frac{1}{\binom{7}{3}} = \frac{1}{35}

1 + 35 = 36 1+35 = \boxed{36}

"The positions of the sharks in the line is immaterial ....".

If I were a dolphin I sure wouldn't want a shark next to me! :O

Which I suppose leads to the follow-up question: What is the probability that a line-up does not have a shark next to a dolphin?

Brian Charlesworth - 4 years, 4 months ago

Log in to reply

Haha... Yup! That would have likely been a much more interesting question!

Geoff Pilling - 4 years, 4 months ago

The total number of arrangements is 12 ! 5 ! 4 ! 3 ! = 27720 \dfrac{12!}{5! 4! 3!}=27720

Now arrange the dolphins and whales as shown in fig.

The 5 5 sharks can be distributed among the 8 8 available boxes

by stars and bars this can be done in

( n + k 1 n ) \dbinom{n+k-1}{n} ways where n is the number of objects and k the number of boxes

here n = 5 n=5 and k = 8 k=8 , thus we have ( 12 5 ) = 792 \dbinom{12}{5}=792 ways

the probability is 792 27720 = 792 792 × 35 = 1 35 \dfrac{792}{27720}=\dfrac{792}{792\times 35}=\dfrac{1}{35}

thus a + b = 35 + 1 = 36 a+b=35+1=\boxed{36}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...