Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > Permutation


 Contents
:This article is about permutation, a mathematical concept. See permutation (music) for the application of this concept to music.

In mathematics, the concept of a permutation expresses the idea that objects that can be distinguished may be arranged in various different orders. For example, in taking two steps forward one may take paces left-right or right-left, depending on which foot is first. A more complex application occurs in change ringing. There are many different orders in which a collection of six bells, of different notes, may each be rung once. If the bells are numbered 1 to 6, then each possible order makes a list of the numbers, without repetitions.

There are a number of ways in which the permutation concept may be defined more formally. A permutation of the alphabet of 26 letters is a string of length 26 containing each letter just once; and it is clear that this definition works for any alphabet of N letters, with strings of length N. That is, a permutation is simply an ordered sequence with no two elements the same, drawn from a fixed set of symbols, and of maximum length. One can therefore point to the essential difference between a permutation and a set: the elements of a permutation are arranged in a specified order.

In combinatorics, the term permutation has a traditional meaning, which is used to include ordered lists without repetition, but not exhaustive (so of less than maximum length). It should noted that in modern usage, the default meaning of the term "permutation" is synonymous with bijection, unless stated otherwise.

1 Arrangements and substitutions

Considering the example of bell-ringing more closely, assume we have six fixed positions in which a bell can be rung (first, second, ... , sixth); and also six bells (A, B, ... , F might be the notes of the scale). Then what we mean by an arrangement is something like

B-A-F-E-D-C,

with each bell put in its ordered place. What we mean by a substitution is a command such as 'change the order in which A and F are rung, and the order in which E and D are rung'. This would then give a new arrangement

B-F-A-D-E-C.

The distinction between arrangement and substitution is important. For example, in ringing church bells not all substitutions are possible, from one ringing of the bells to the next arrangement, for practical reasons; and the instructions to the bell-ringers take the form of a list of arrangements, in which only neighbouring bells are interchanged from one 'round' to the next.

Both arrangements and substitutions are commonly called permutations. In mathematics, however, the phrase permutation of a set always refers to a substitution.

2 Counting permutations

In this section only, the traditional definition is used: a permutation is an ordered list without repetitions. It is easy to count the number of permutations of size r when chosen from a set of size n (obviously with rn).

For example, if we have a total of 10 elements, the integers {1, 2, ..., 10}, a permutation of three elements from this set is (2,3,1). In this case, n = 10 and r = 3. So how many ways can this completely be done?

  1. We can pretend to select the first member of all permutations out of n choices because there are n distinct elements from the generating set.
  2. Next, since we have used one of the n elements already, the second member of the permutation has (n − 1) elements to choose from the remaining set.
  3. The third member can be filled in (n − 2) ways since 2 have been used already.
  4. This pattern continues until there are r members on the permutation. This means that the last member can be filled in (nr + 1) ways.

Summarizing, we find that a total of

n(n − 1)(n − 2) ... (nr + 1)

different permutations of r objects, taken from a pool of n objects, exist. If we denote this number by P(n, r) and use the factorial notation, we can write

.

In the above example, we have n = 10 and r = 3, so to find out how many unique sets, such as the one previously, we can find, we need to calculate P(10,3) = 720.

Other, older notations include nPr, Pn,r, or nPr.

A common modern notation is (n)r which is called a falling factorial. However, the same notation is used for the rising factorial (also called Pochhammer symbol)

n(n + 1)(n + 2)...(n + r − 1).

In the latter case, the number of permutations is (n + r − 1)r.



Read more »

Non User