# Worked solutions - Quiz 4¶

This page contains sketch notes to some of the quiz questions from Quiz 4. It is not comprehensive. We have tried to include most of the questions where it may not be obvious how to get to the correct answer.

## Question 2¶

4 digits, with no digit repeated. The order matters.

There are 10 options for the first digit: \(\{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 \}\)

There are 9 options for the second digit (the numbers above without whatever was chosen first). There are 8 options for the third digit and 7 options for the fourth.

Therefore, there are \(10 \times 9 \times 8 \times 7\) possible pin codes.

## Question 3¶

Each of the 8 teams must play each other team: \(8 \times 7\). But we’re counting every game twice, so the answer is \(8 \times 7 / 2\).

Alternatively, each game is a combination of two teams from 8 (combination not permutation since the order doesn’t matter - team 1 playing team 3 is the same as team 3 playing team 1). This is

## Question 4¶

The number of ways of picking two males from 9 is the number of combinations of 2 from 9 (we don’t care about the order we pick them in - the committee containing Josh and Andrew is the same as the committee containing Andrew and Josh),

The number of ways of picking two females from 11 is the number of combinations of 2 from 11,

The number of total committees is then:

## Question 5¶

Any possible division of 12 people into two groups of 6 is determined by the choice of the first 6. The total number of ways of picking 6 people from 12 (where we do not care about the order of the 6 people) is

The total number of ways of picking a committee with 3 men and 3 women is:

The probability of having 3 men and 3 women is: