! Factorial, in Mathematics, is a very essential function, which is defined as the product of all positive integers, which are less than or equal to a given integer. It is denoted by that positive integer number, followed by an exclamation mark (!). It also means, multiplication of numbers starting from the given number till 1.
It can also be said as a function, which multiplies the given number, with every natural number below it. For example, factorial of 5 is represented as 5!.
During the period 1677, a British author named Fabian Stedman, defined factorial, equivalent to change ringing. The term change ringing was used in the musical performance, where the musicians would ring various tuned bells. And finally in the year 1808, Christian Kramp, a mathematician from France, introduced the symbol of factorial which is !.
The formula for factorial is:
n! = n × (n – 1) × (n – 2) × …. × 1
n denotes any positive integer number.
For example, let’s see how to calculate the factorial of 5 (5!)
5! = 5 × 4 × 3 × 2 × 1 = 120
Example: In how many different ways the letters can be arranged without repeating?
For 1 letter, i.e., a there is only 1 way: a
For 2 letters, i.e., ab there are 1 × 2 = 2 ways: ab, bas
For 3 letters, i.e., abc there are 1 × 2 × 3 = 6 ways: abc, bca, cba, bac, cab, acb
For 4 letters, i.e., abcd there are 1 × 2 × 3 × 4 = 24 ways
And so on….
The formula is n!.
In how many different ways the 0 letters can be arranged? The answer is simple, just 1.
Factorials are mainly used in the calculation of Permutations and Combinations and its corresponding coefficient, in terms of binomial expansions. They have been generalised to include non-integral numbers.
Example 1: In how many different ways can 5 people stand 1st, 2nd or 3rd position?
There are many possibilities. Let’s assume 5 people are named as a, b, c, d, e. Then the combination would be like abc, bca, cab, cba, acb and so on…
However, there is a formula to calculate the possibility.
5!(5 – 3)! = 5!2! = 5 × 4 × 3 × 2 × 12 × 1
Cancelling 2 × 1, the answer would be 5 × 4 × 3 = 60
Therefore, there are 60 ways 5 people can stand 1st, 2nd or 3rd position.
Example 2: In how many different ways the word ‘little’ can be arranged?
The given word has 6 words. The given word has 2 letters (l, t) which are repeating. Hence the formula to calculate the possibility is
6!(2! × 2!)
= 6 × 5 × 4 × 3 × 2 × 1(2 × 1) × (2 × 1)
= 6 × 5 × 4 × 32 × 1
= 180
Therefore, the given word can be re-arranged 180 times.
Listed below are few facts about factorials:
- There is an interesting fact about 0. The factorial of 0 is 1. i.e., 0! = 1. The factorial is mostly used in permutation and combination. When there are 0 objects, there is exactly one way to arrange zero objects. This statement means there is only 1 permutation for zero objects, namely the empty set Ø.
- There cannot be a factorial for negative integer numbers, since negative integer numbers are undefined.
- The factorial in Wolfram language is represented as factorial [n] or n!.
- Factorial of half (12) is half of square root of pi (π). (12)! = √π
Nowadays, calculations can be performed in almost all devices for ease.
It is very essential to know the codes of all mathematical symbols.
Following are the various codes of factorial symbol: