# Factorial notation

## All You Need in One PlaceEverything you need for better marks in primary, GCSE, and A-level classes. | ## Learn with ConfidenceWe’ve mastered the UK’s national curriculum so you can study with confidence. | ## Instant and Unlimited Help24/7 access to the best tips, walkthroughs, and practice questions. |

#### Make math click 🤔 and get better grades! 💯Join for Free

0/0

##### Intros

0/19

##### Examples

###### Lessons

- How many ways are there to arrange 4 different books side by side on a bookshelf?
- factorial notation: n! = n (n-1) (n-2) (n-3) (n-4) . . . . . (5) (4) (3) (2) (1)

by definition : 0! = 1- Evaluate: 5!
- Evaluate: $\frac{{7!}}{{5!}}$
- Simplify: $\frac{{\left( {n + 3} \right)!}}{{n!}}$
- Simplify: $\frac{{\left( {n - 1} \right)!}}{{\left( {n + 2} \right)!}}$
- Simplify: $\frac{{\left( {n + 1} \right)!\;\;\left( {n - 3} \right)!}}{{{{(n!)}^2}}}$
- Solve: $\frac{{n!}}{{\left( {n - 2} \right)!\;\;3!}} = 7$

- arrangement of words "without repititions" = n!

Determine the number of different arrangements of all the letters in the following words:- DOG
- MATH
- COMPUTER

- arrangement of words "with repititions" = $\frac{{n!}}{{\left( {{1^{st}}\;repetition} \right)!\;\;\;\left( {{2^{nd}}\;repetition} \right)!\;\;\;\left( {{3^{rd}}\;repetition} \right)!\; \ldots ..}}$

Determine the number of different arrangements of all the letters in the following words: - arrangement with restrictions: must deal with the restrictions first!
- Determine the number of different arrangements of all the letters in the word: COMPUTER

(i) if there are no restrictions

(ii) if the vowels must be together

(iii) the vowels must not be together - i) How many ways are there to arrange 3 Math books (Math 10, Math 11, Math 12), 2 physics books (Phys 11, Phys 12), and 5 English (Eng 8, Eng 9, Eng 10, Eng 11, Eng 12) on a bookshelf?

ii) What if the books on each subject must be kept together?

- seating arrangement
- How many ways can 4 girls and 4 boys sit in a row, if:

i) they can sit anywhere?

ii) all the girls must sit together, and all the boys must sit together?

iii) all the girls must sit together, while the boys can pick their own seats?

iv) girls and boys alternate? - There are 3 couples, and they need to sit together. How many different ways can these 3 couples sit in a row?
- There are 7 people A, B, C, D, E, F, and G sitting in a row. How many different seating arrangements are there, if:

i) A must be to the left of B, but they do not need to sit together?

ii) A and B must sit together?

iii) A and B cannot sit together?

- How many ways can 4 girls and 4 boys sit in a row, if:
- Seating arrangements are considered to be different only when the positions of the people are different relative to each other.

How many seating arrangements are possible for 7 people sitting around a round table?

###### Free to Join!

StudyPug is a learning help platform covering math and science from grade 4 all the way to second year university. Our video tutorials, unlimited practice problems, and step-by-step explanations provide you or your child with all the help you need to master concepts. On top of that, it's fun - with achievements, customizable avatars, and awards to keep you motivated.

#### Easily See Your Progress

We track the progress you've made on a topic so you know what you've done. From the course view you can easily see what topics have what and the progress you've made on them. Fill the rings to completely master that section or mouse over the icon to see more details.#### Make Use of Our Learning Aids

#### Earn Achievements as You Learn

Make the most of your time as you use StudyPug to help you achieve your goals. Earn fun little badges the more you watch, practice, and use our service.#### Create and Customize Your Avatar

Play with our fun little avatar builder to create and customize your own avatar on StudyPug. Choose your face, eye colour, hair colour and style, and background. Unlock more options the more you use StudyPug.

###### Topic Notes

## Factorial notation

#### What is a factorial?

A factorial is the multiplication of a number with all of those positive numbers below it. In other words, when you want to compute the factorial of a number, you multiply this number times all of the numbers smaller than it up to 1.

This up to 1 is very important since the factorial of a negative number does not exist, and the factorial of 0 is defined as 1. Therefore, the numbers in a factorial are all positive integers. Consequently, the formal factorial definition says that a factorial is the product of a positive integer with all the consecutive positive integers that have a lower value than itself.

Mathematically speaking, the factorial of a number is defined as:

And so, the factorial notation of a number is done just by applying an exclamation mark to its right. Something important to remember is that since the 0 factorial is defined as 1 (0! = 1), then it means that the zero factorial is equal to the factorial of 1.

#### Combinatorics problems using factorials

On the next examples we will get to see how is that the factorial notation of a multiplication is useful when working in combinatorics problems.

__Example 1__

How many ways are there to arrange 4 different books side by side on a bookshelf?
For this case we have four different books which we will define as a math book, a physics book, a chemistry book and a history book. And so, the setting is that we have four books that can be arranged in four different positions side by side as seen in the next figure:

If you think about it, the first position has 4 different books as a possibility to be there, and we can pick any of them. And so, we pick one book from the four to be in the first position, and continue to the next position. For the second position, we are left with 3 possible books, we pick one and continue to the next position; on the third position we have 2 possible books left, we pick one and continue; in the last position (4th position) we have only one book left that can be there, and so our arrangement and the process we just explained can be seen in the next figure:

Thus, following the fundamental counting principle we know that we have to multiply the possible outcomes of each category to obtain a total of 24 possible ways in which the books can be arranged.

If you notice, the multiplication resulted from the application of the fundamental counting principle is the same as the factorial of four! And so, we can clearly see how the factorial notation has been designed to help us out in abbreviating what can get to be a large multiplication into a simple expression such as: 4!

__Example 2__

Using what we have learned of factorial notation:
$n! = n (n-1) (n-2) (n-3) (n-4) . . . . . (5) (4) (3) (2) (1)$

And $0! = 1$ (zero factorial) by definition.

**a) $\quad$ Evaluate: 5!**

**b) $\quad$ Evaluate: $\large \frac{7!}{5!}$**

**c) $\quad$ Simplify: $\large \frac{(n \, + \, 3)!}{n!}$**

*therefore:*

**d) $\quad$ Simplify: $\large \frac{(n \, - \, 1)!}{(n\,+\,2)!}$**

*therefore:*

**e) $\quad$ Simplify: $\large \frac{(n \, + \, 1)! \, (n\,-\,3)!}{(n!)^{2}}$**

This particular operation can be done in many ways, let us show you one of them (you can practice at home by working the operations in different order).

*therefore:*

**f) $\quad$ Solve: $\large \frac{n!}{(n\,-\,2)! 3!}$ $=7$**

And now, we can just simplify the division of factorials on the left hand side in the same way as we have done it before:

Once the division of factorials has been simplified we obtain the next quadratic equation:

With this, we can use the quadratic formula and solve for $n$. Since the quadratic formula is defined as:

On this case we have that $\, x = n, \, a=1, \, b=-1, \, c = -42$

Therefore we solve for n in the following manner:

*And so, we have two options for $n$:*

Since the factorial of negative numbers does not exist, and the original expression to solve in this problem contains a term of $n!$ in the numerator, $n$ must be equal to 7; putting $n$ = -6 would mean that we would have a (-6)! term in the numerator of the original expression, which is undefined! Therefore the answer is $n$ = 7

__Example 3__

In this example we take a look at the arrangement of letters in a word "without repetitions", which means to compute the $n!$, where $n$ equals the number of letters in the word.
*arrangement of words without repetitions =*$n!$

This process is the same that what we saw in the first example with the 4 different books being arranged side by side, you cannot repeat a book, just as in here the condition is that you do not repeat a letter. With all of this in mind, determine the number of different arrangements of all the letters in the following words:

**a) $\quad$ DOG**

**b) $\quad$ MATH**

**c) $\quad$ COMPUTER**

These examples were simple because these are words which have all distinct letters (without repetition), meaning that you can simply use the factorial of the amount of letters that you have in each case to obtain the different ways in which you can arrange them. The next example represents a case in which the words contain repeated letters, see how the difficulty level rises:

__Example 4__

On this example we take a look at the arrangement of letters in a word "with repetitions", which means that letters within the given word are not all distinct.
The equation that produces the total amount of ways in which the letters of these words with repetitions can be arranged goes as:

Where $n$ equals the total number of letters in the word, and the repetitions mean how many times a letter repeats itself. For example if you have 5 letters and one repeats 3 times, then you would have that $n$ = 5 and the first repetition is 3! (there are no more repetitions in this case, and so, the equation for the arrangements would be simply: 5!/3!.

With that in mind, determine the number of different arrangements of all the letters in the following words:

**a) $\quad$ ABC vs ABB**

*arrangement of words without repetitions*$\, = n! = 3! =3 \, \times \, 2 \, \times \, 1 = 6$

For ABB we have that the letter B repeats twice, and so:

*arrangement of words with repetitions*$\, \large \frac{3!}{2!} = \frac{3\,\times\, 2\,\times\, 1}{2\,\times\,1} =$ $3$

**b) $\quad$ Canada**

*arrangement of words with repetitions*

**c) $\quad$ BANANA**

*arrangement of words with repetitions*

**d) $\quad$ REPETITION**

*arrangement of words with repetitions*$= \large \frac{10!}{2!\cdot 2!\cdot 2!}$

__Example 5__

For this problem example we will be taking a look at arrangement with restrictions, meaning that even when you have a word with all distinct letters, there may be certain conditions imposed on the arrangements of its words and so, these conditions (or restrictions) must be dealt with first.
**Determine the number of different arrangements of all the letters in the word: COMPUTER**

**1. $\quad$ if there are no restrictions**

**2. $\quad$ if the vowels must be together**

Let us think on the word COMPUTER, take the three vowels out: O,U,E and think of them as a single unit to have: C, M, P, T, R, {O, U, E} as the six components of the word.

Then, we use the same logic used in example one (about arranging books in different order side by side) and think of the letters in the word computer as a unit (just like each book in example one) to be arranged in different positions side by side, except for the vowels which are all merged together in a single unit. Look at the next figure to see what we are talking about:

So, in this case in order to obtain the total amount of different arrangements that can happen when applying the given restriction (having all the vowels together) can be obtained by calculating the different ways in which the six boxes can be arranged, times the different ways in which the vowels can be arranged within their box. Therefore:

*total different arrangements =*$\, 6! \times 3! = (720)(6)=4,320$

Where 6! In equation 18 represents the total amount of arrangements of the 6 boxes, and 3! Represents the total amount of arrangements the vowels can have within their own box.

On the videos for this lesson you will find a few more examples on this topic, so dont forget to watch all of the video lessons.

To finalize this lesson we recommend you to visit the next article on factorials which contains a few examples and a different arrangement on how the factorial product is written (remember the order of the factors does not alter the product in a multiplication, and so, a factorial product can be written in different orders).

This is it for our lesson of today, see you in the next one!

###### Basic Concepts

2

videos

remaining today

remaining today

5

practice questions

remaining today

remaining today