# Question Video: Finding the Number of Ways to Choose 𝑛 out of 𝑚 Things Mathematics

The names of 4 students are each written on a piece of paper which are then placed in a hat. If 2 names are randomly selected from the hat, determine the number of all two-student selections that are possible.

02:11

### Video Transcript

The names of four students are each written on a piece of paper, which are then placed in a hat. If two names are randomly selected from the hat, determine the number of all two-student selections that are possible.

In this question, we’re looking to choose two names from a selection of four. And so we should be beginning to think about combinations and permutations. Combinations are a way of choosing rearrangements where order doesn’t matter. So, for example, if we were choosing out of the letters 𝐴, 𝐵, 𝐶, and 𝐷, the arrangement 𝐴 and 𝐵 would be the same as the arrangement 𝐵 and 𝐴. With permutations, order does matter. So 𝐴 and 𝐵 would be a different arrangement to 𝐵 and 𝐴. Let’s think about choosing the two names from a hat. If we choose Ali and Ben, for example, that is exactly the same as choosing Ben and Ali. Order doesn’t matter. And so we can see that we are thinking about the number of combinations.

The number of combinations of size 𝑟 taken from a collection of 𝑛 items is given by 𝑛C𝑟. And the formula is 𝑛 factorial divided by 𝑟 factorial times 𝑛 minus 𝑟 factorial. We’re choosing two names from a selection of four. So the number of combinations is four C two. And that’s four factorial over two factorial times four minus two factorial. Now, note that we could use the 𝑛C𝑟 button on our calculator. But actually, there’s a little shortcut that can help us to calculate these by hand. We begin by rewriting four minus two factorial as two factorial. But of course, four factorial is four times three times two times one, which can further be rewritten as four times three times two factorial.

And now we see we can divide through by a common factor of two factorial. In fact, two factorial is simply two, so we can divide once again by two. And we see four choose two is two times three divided by one, which is simply six. There are six ways to choose two names from the four given.