Simple problem involving permutations

  • Thread starter erogard
  • Start date
  • #1
62
0
Hi, here's the question, I just need someone to confirm that I'm doing it right (been a while since my last stat class):

Let's say I have 30 balls all of different colors. I want to know in how many different ways I can align 5 balls picked at random (thus ordering matters). Note that one must be blue, one red and one yellow.

So let's start with the blue one. I have 5 different ways to arrange it (either place it first in line, or second, or third etc.). Then let's say I'm looking a the red one: I have 4 ways left to arrange it. Finally I have 3 slots left for the yellow one. Now for the remaining 2 balls, I still have 27 balls to choose from.

Would the answer be 5*4*3*(27 Permute 2)?

Thanks.
 

Answers and Replies

  • #2
chiro
Science Advisor
4,790
132
Hey erogard.

That looks right to me.

Also if you want to test things like this, what I recommend you do is simulate the stochastic process in a computer package like R and then look at the probability of the event happening over say 10,000 or 100,000 iterations (which is quick with modern day computers).

This is always a good way for you to independently verify your own work.
 
  • #3
43
0
How many balls are blue, red, and yellow within the 30 balls?
 

Related Threads on Simple problem involving permutations

  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
1
Views
6K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
0
Views
2K
  • Last Post
Replies
14
Views
8K
  • Last Post
Replies
5
Views
3K
Replies
2
Views
3K
Replies
1
Views
6K
Replies
0
Views
699
  • Last Post
Replies
1
Views
2K
Top