Factorial Formula

The Formula

n! = n \times (n - 1) \times (n - 2) \times \cdots \times 2 \times 1

When to use: Factorial counts the number of ways to arrange n distinct objects in a row โ€” for 3 items, there are 3! = 6 possible orderings.

Quick Example

5! = 5 \times 4 \times 3 \times 2 \times 1 = 120 0! = 1 (by definition).

Notation

n! reads 'n factorial'; by convention 0! = 1

What This Formula Means

The factorial of a non-negative integer n, written n!, is the product of all positive integers from 1 to n: n! = n \cdot (n-1) \cdots 2 \cdot 1.

Factorial counts the number of ways to arrange n distinct objects in a row โ€” for 3 items, there are 3! = 6 possible orderings.

Formal View

n! = \prod_{k=1}^{n} k for n \geq 1, with 0! = 1 by convention; equivalently n! = n \cdot (n-1)!

Worked Examples

Example 1

easy
Compute 7!.

Solution

  1. 1
    Recall the factorial definition: n! = n \times (n-1) \times \cdots \times 2 \times 1. Write out 7!: 7! = 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1
  2. 2
    Multiply step by step: 7 \times 6 = 42, then 42 \times 5 = 210, then 210 \times 4 = 840, then 840 \times 3 = 2520.
  3. 3
    Complete the product: 2520 \times 2 = 5040, so 7! = 5040.

Answer

7! = 5040
The factorial n! is the product of all positive integers from 1 to n. By convention, 0! = 1. Factorials grow extremely fast.

Example 2

medium
Simplify \frac{10!}{8!}.

Common Mistakes

  • Thinking 0! = 0 โ€” by definition, 0! = 1
  • Computing n! + m! as (n + m)! โ€” factorials do not distribute over addition
  • Underestimating how fast factorials grow โ€” 20! is over 2 \times 10^{18}, far too large for casual computation

Why This Formula Matters

Factorials appear in permutations, combinations, the binomial theorem, Taylor series, and probability โ€” they are the building block of discrete counting.

Frequently Asked Questions

What is the Factorial formula?

The factorial of a non-negative integer n, written n!, is the product of all positive integers from 1 to n: n! = n \cdot (n-1) \cdots 2 \cdot 1.

How do you use the Factorial formula?

Factorial counts the number of ways to arrange n distinct objects in a row โ€” for 3 items, there are 3! = 6 possible orderings.

What do the symbols mean in the Factorial formula?

n! reads 'n factorial'; by convention 0! = 1

Why is the Factorial formula important in Math?

Factorials appear in permutations, combinations, the binomial theorem, Taylor series, and probability โ€” they are the building block of discrete counting.

What do students get wrong about Factorial?

0! = 1 by definition (or convention), not by direct multiplication โ€” this edge case is essential for combinatorial formulas to work when choosing all or no items.

What should I learn before the Factorial formula?

Before studying the Factorial formula, you should understand: multiplication.