Permutation: what is it, formulas and examples

Permutation is a counting technique used to determine how many ways there are to order the elements of a finite set. To make an exchange is to perform an exchange and, in combinatorics problems, it means exchanging the elements of place, considering their ordering.

These techniques are part of a field of Mathematics called Combinatorial Analysis, which aims to know and count the different ways of organizing sets and their elements. Simple permutation and a with repeated elements address this category of problems.

simple permutation

A simple permutation is the ordering of the elements of a finite set, when their elements do not repeat, are distinct. It is used to determine the quantity of these sorts.

The amount P with n subscript of permutations of a set of n elements is equal to n! (reads n factorial).

The formula for determining the number of simple permutations is

P with n subscript space equal to n factorial space

Consider a set with n elements. To organize them in a queue, we need to choose the first one, and for that we have n possibilities. To choose the second one, we have (n-1) possibilities, one less, because we already used an option when choosing the first one. This process continues until only one element remains.

Order of elements and their possibilities.
Element orders and their possibilities.

To determine the total number of permutations, we multiply the number of possibilities that exist in choosing each element. Thus:

n multiplication sign left parenthesis n minus 1 right parenthesis multiplication sign left parenthesis n minus 2 right parenthesis multiplication sign space horizontal ellipses space multiplication sign 3 space x space 2 space x space 1

The expression above is called factorial of n and we use the symbol no!.

learn more about factorial on here.

Example:

The different ways of organizing the letters of a word are called anagrams. How many anagrams are there for the word DUCK?

These are the possibilities:

Order of elements and their possibilities.
Order of elements and their possibilities.

So, as the word PATO has 4 letters, we have to

P with 4 subscript space equals space 4 factorial space equals space 4 space x space 3 space x space 2 space x space 1 space equals space 24

So there are 24 simple permutations for the word DUCK.

Simple Permutation Exercises

question 1

Calculate the value of P with 7 subscriber.

P with 7 subscript space equals space 7 factorial space equals space 7 multiplication sign 6 multiplication sign 5 multiplication sign 4 multiplication sign 3 multiplication sign 2 multiplication sign 1 space equals space 5040

question 2

Consider a first-come, first-served queue of people where there are six people at any given time. How many different ways could these people be ranked from first to last?

Each ordering form is a simple permutation, since individuals are unique and do not repeat themselves. So, with six people, the answer is a permutation with 6 elements.

P with 6 subscript space equals space 6 multiplication sign 5 multiplication sign 4 multiplication sign 3 multiplication sign 2 multiplication sign 1 space equals space 720

question 3

Consider the word FORK and answer the following questions?

a) How many are the anagrams of the word FORK?

As the letters are not repeated this is a simple 5-element permutation case.

P with 5 subscript space equals space 5 multiplication sign 4 multiplication sign 3 multiplication sign 2 multiplication sign 1 space equals space 120

b) How many anagrams start with the letter A?

In this case, we fix the letter A at the beginning and calculate the permutations with the letters GRFO, which are permutations of 4 elements.

1 possibility for the letter A x P with 4 subscript space equals space 4 multiplication sign 3 multiplication sign 2 multiplication sign 1 space equals space 24.

c) How many anagrams are there if the vowels are always next to each other?

One possibility would be G R F A O.

There are three ways to order the consonants. P3 = 3 x 2 x 1 = 6

There are two ways to order the vowels. P2 = 2 x 1 = 2

There are still two more ways to organize the groups (consonants and vowels) among themselves. P2 = 2 x 1 = 2

Now just multiply the results.

P3 x P2 x P2 = 6 x 2 x 2 = 24

So there are 24 anagrams where the vowels are always together.

Permutation with repetition

A permutation with repeated elements happens when in a set of n elements, some of them are equal.

In the formula for determining the number of permutations with repetition, we divide the factorial of the total number n of elements by the product of the factorials of the repeating elements.

P with n subscript with left parenthesis a comma space b comma space c comma space horizontal ellipses right parenthesis superscript end of superscript space equal to numerator n factorial over denominator a factorial multiplication sign b factorial multiplication sign c factorial end of fraction

P with n subscript is the number of permutations of n elements.

a comma space b comma space c comma space horizontal ellipses it is the numbers of elements of each type that are repeated.

n factorial is the factorial of the total number of elements n.

Examples

Let's determine how many permutations there are for the word EGG. To make it easier, let's color the letters. Let's look at the anagrams of the word EGG.

N a p r a t i c a l space a s spaces and g u i n t s space p e r m u t at i c tio n s space and q u i v a l a l s space a space a p e r m u m a d space. O V O O V O space A s s i m space with O O O V O V O a m space with space V O O V O O

The number of simple permutations with 3 elements is given by

P with 3 subscript space equals space 3 factorial space equals space 3 space x space 2 space x space 1 space equals space 6

However, some permutations are repeated and we cannot count them twice. For this we must divide the value of P with 3 subscript (because the word has three letters), by P with 2 subscript (because the letter O is repeated twice).

P with n subscript space equal to space numerator 3 factorial over denominator 2 factorial end of fraction space equal to space numerator 3 sign of multiplication 2 multiplication sign 1 over denominator 2 multiplication sign 1 end of fraction space equals space 6 over 2 space equals space 3

Thus, the number of permutations for the letters of the word OVO is equal to 3.

Let's look at this other example where we will define the number of permutations for the letters of the word BANANA.

P with 6 subscript with left parenthesis A comma N right parenthesis superscript end of superscript equal to numerator 6 factorial over denominator 3 factorial multiplication sign 2 factorial end of fraction

Where:

P with 6 subscript with left parenthesis A comma N right parenthesis superscript end of superscript means permutation with 6 elements where the letters A and N are repeated.

3! for the letter A repeats itself three times.

2! for the letter N is repeated twice.

A tip to make the calculation easier is to develop the 6! until you reach 3!, simplifying with the denominator. See the development.

P with 6 subscript with left parenthesis Comma N right parenthesis superscript end of superscript space equal to numerator 6 multiplication sign 5 multiplication sign 4 multiplication sign 3 factorial over denominator 3 factorial multiplication sign 2 factorial end of fraction space text cutting the 3! end of text P with 6 subscript with left parenthesis Comma N right parenthesis superscript space end of superscript equal to numerator 6 sign of multiplication 5 multiplication sign 4 over denominator 2 multiplication sign 1 end of fraction space equals space 120 over 2 space equals space 60 space

Thus, the number of permutations for the letters in the word BANANA is equal to 60.

Perhaps you are interested in these contents on Combinatorial Analysis:

Combinatorial Analysis

Exercises on Combinatorial Analysis

Division: how to do it, which terms and exercises

Division: how to do it, which terms and exercises

Division is a mathematical operation used to discover how to separate a quantity into parts, that...

read more
Fundamental principle of counting

Fundamental principle of counting

The fundamental principle of counting, also called the multiplicative principle, is used to find ...

read more
Inequality of 1st and 2nd Degrees: how to solve and exercises

Inequality of 1st and 2nd Degrees: how to solve and exercises

Inequation is a mathematical sentence that has at least one unknown value (unknown) and represent...

read more