Ordered selections
The multiplication principle with boxes, ordered selections with repetition (n to the power r) and without repetition (nPr), permutations of a whole set, and dealing with restrictions first.
The multiplication principle
Draw one box for each position and write the number of choices in each box. Then multiply. A three-letter code from A to Z, for example, is $\boxed{26}\,\boxed{26}\,\boxed{26} = 26^3$.
With and without repetition
Repetition allowed
Each of the $r$ positions has all $n$ choices:
$$n^r$$No repetition
Each choice uses up one object:
$${}^nP_r = n(n - 1)\cdots(n - r + 1) = \frac{n!}{(n - r)!}$$${}^nP_r$ is the number of permutations of $r$ objects chosen from $n$. Arranging the whole set ($r = n$) gives ${}^nP_n = n!$.
How many four-digit PINs are there? How many have no repeated digit?
Difficulties first
How many three-digit numbers can be formed from $0, 1, 2, 3, 4, 5$ with no repeated digit? How many of them are even?
How many four-digit PINs are possible?
$10^4$.
How many four-digit PINs have no repeated digit?
$10 \times 9 \times 8 \times 7$.
Evaluate ${}^6P_3$.
$6 \times 5 \times 4$.
${}^nP_r = $
The first $r$ factors of $n!$.
In how many ways can $6$ people stand in a line?
$6!$.
How many three-digit numbers can be formed from $0, 1, 2, 3, 4, 5$ with no repeated digit?
$5 \times 5 \times 4$.
How many of those are even?
See Example 2.
In how many ways can a gold and a silver medal go to $8$ runners?
${}^8P_2 = 8 \times 7$.
A code of $3$ letters followed by $2$ digits, repetition allowed. The number of codes is:
Five boxes: $26, 26, 26, 10, 10$.
With restrictions, the boxes you should fill first are:
Deal with the difficulties first.
New numbers every time. Keep going until you get five in a row.
Coaching Centre