1
$\begingroup$

(sorry, I really couldn't make a better title while still descriptive)

There is a box of $X$ red and $Y$ blue balls. There are $n$ labels, named $1,2, \ldots,n$.

We must put $x$ of those on red balls and $y$ of those on blue, where $x+y = n$.

In how many different ways can that be done.

We do distinguish between different balls of the same color.

  • 0
    If$X$is the same thing as$x$and$Y$is the same thing as y, then look at Aslan986's answer; otherwise, look at mine.2011-12-30

2 Answers 2

4

(I'm going to assume this isn't homework.)

First, choose the $x$ red balls which we're going to label: $\binom{X}{x}$. Then, choose the y blue balls which we're going to label: $\binom{Y}{y}$. Now, we've got all our labels. Since everything is distinguishable, we now have to choose what order to put them in: $n!$.

Multiplying, there are a total of $\binom{X}{x}\binom{Y}{y}n!$ ways.

  • 0
    Not hand-in homework, but a question that I asked myself during exam preparation for a simple prob/stat course in uni.2011-12-31
0

If you distinguish you can assign the labels in n! differents way.

You can order the balls, then you can choose beetwen n labels for the first, (n-1) for the second, and so on..