Definition of Factorial

Factorials show up whenever you count the ways to arrange things, so you will use them in permutations, combinations and probability. In this lesson, you will see what a factorial is and how to evaluate one.

In this lesson, you will learn

  • what the factorial of a number means and how to read the symbol !
  • the formal definition of n!, including 0! = 1
  • how to evaluate factorials quickly with n! = n Γ— (n βˆ’ 1)!

What Is a Factorial?

Definition

We define the factorial of a number as the multiplication of all integers from that number to 1.

We use the symbol !, which is an exclamation mark, to denote factorial, and we put the exclamation mark next to a number.

For example, 5! is read as "five factorial", and we can evaluate 5! by multiplying all integers from 5 to 1.

5! = 5 Γ— 4 Γ— 3 Γ— 2 Γ— 1 = 20 Γ— 6 = 120

Evaluate 4!

Show answer

24. 4! = 4 Γ— 3 Γ— 2 Γ— 1 = 24.

A More Formal Definition of Factorial

Let n be a positive whole number. Then n!, read as "n factorial", represents the product of all whole numbers from n to 1.

In other words:

n! = n Γ— (n βˆ’ 1) Γ— (n βˆ’ 2) Γ— (n βˆ’ 3) Γ— … Γ— 3 Γ— 2 Γ— 1
Rule

By definition, 0! = 1 and 1! = 1.

Common mistake

Thinking that 0! = 0. Zero factorial is defined to be 1, just like 1! = 1.

What is 0! + 1!?

Show answer

2. 0! = 1 and 1! = 1, so 0! + 1! = 1 + 1 = 2.

Evaluating Factorials

1) Evaluate 6!

To evaluate 6!, find the product of all whole numbers from 6 to 1.

6! = 6 Γ— 5 Γ— 4 Γ— 3 Γ— 2 Γ— 1 = 30 Γ— 24 = 720

Notice that we have already computed 5! and 5! = 120. Therefore, you could have just multiplied 120 by 6 to get 6 factorial.

6! = 6 Γ— 5! = 6 Γ— 120 = 720

In general:

n! = n Γ— (n βˆ’ 1)!
Remember

Each factorial is the one before it times the next number: 1! = 1, 2! = 2, 3! = 6, 4! = 24, 5! = 120, 6! = 720, 7! = 5,040. Factorials grow very fast.

2) Evaluate (8 βˆ’ 3)!

(8 βˆ’ 3)! = 5! = 120

Common mistake

Splitting the factorial: (8 βˆ’ 3)! is not 8! βˆ’ 3!. Work out the brackets first: 8 βˆ’ 3 = 5, so (8 βˆ’ 3)! = 5! = 120. But 8! βˆ’ 3! = 40,320 βˆ’ 6 = 40,314.

Worked example: Evaluate 7!5!
  1. Write 7! with 5! inside it: 7! = 7 Γ— 6 Γ— 5!.
  2. Cancel 5! on the top and the bottom: 7 Γ— 6 Γ— 5!5! = 7 Γ— 6.
  3. Multiply: 7 Γ— 6 = 42.

7!5! = 42

Evaluate 10!9!

Show answer

10. 10! = 10 Γ— 9!, so the 9! cancels and 10 is left.

Summary

  • n! (read "n factorial") is the product of all whole numbers from n down to 1.
  • By definition, 0! = 1 and 1! = 1.
  • n! = n Γ— (n βˆ’ 1)!, so each factorial is the previous one times the next number.
  • Work out the brackets first: (8 βˆ’ 3)! = 5!, not 8! βˆ’ 3!.

Test Yourself: 10-Question Quiz

Now check what you learned. Every answer is explained, and each time you play you get new questions.

Question 1 of 10Score: 0