1.2.1 Permutations

Consider the selection of k objects from a set of n objects where order matters and repetition is not allowed.
Any such selection is called a k-permutation. The total number of k-permutations of a set of n (distinct) objects is denoted by P(n,k).

For integers k and n such that 0kn, the number of k-permutations of a set of n objects is P(n,k)=n!(nk)!###### Proof
First suppose that k=0.
Then P(n,0) and n!(n0)!=n!n!=1, and hence the result holds
Now assume that 1k, and consider the following counting procedure:

  1. Choose an element for the first position (n choices)
  2. Choose an element for the second position (n1 choices)
  3. Choose an element for the kth position (nk+1 choices)
    So, by the Multiplication Principle, P(n,k)=n(n1)(nk+1)
    n!(nk)!=n(n1)(nk+1)(nk)!(nk)!=n(n1)(nk+1), and hence the result holds true

Note that P(n,n)=n!


Example

How many 7 letter strings with no repeated letters can be formed from the English alphabet

The alphabet has 26 letters n=26
We want 7 letter strings k=7
nk=19
P(n,k)=P(26,7)=26!(267)!=26!19!