Skip to content
MathsMaths
Start learning

Maths · Lesson 7.2

Permutations

Factorials, nPr and permutations with restrictions.

Core syllabus1 linked experiment
01

Learning objectives

By the end of this lesson, you should be able to:

  • Evaluate factorials and nPr.
  • Count arrangements of distinct objects.
  • Handle restrictions such as together or not together.
  • Count circular arrangements.
02

Lesson

A permutation is an arrangement of objects in a definite order. The number of ways to arrange n distinct objects is n!, and the number of ways to arrange r objects chosen from n is nPr.

Order matters in a permutation. The arrangement ABC is different from BAC, even though both use the same objects. This distinction is the main difference between permutations and combinations.

A grid of ordered arrangements.
Order matters in a permutation

Factorials and nPr

The factorial n! is the product of all positive integers up to n, with 0! = 1 by convention. It counts the number of ways to arrange n distinct objects in a row. For example, 5! = 120 arrangements of five books.

The permutation formula is nPr = n!/(n - r)!. It counts the ways to fill r ordered positions from n objects. The first position has n choices, the second n - 1, and so on, until r positions are filled.

Restrictions and circular arrangements

When some objects must be together, treat the group as a single object, arrange the group and the others, then arrange the objects inside the group. When some objects must not be together, count the total arrangements and subtract the arrangements where they are together.

Circular arrangements are different because rotations are considered the same. The number of ways to arrange n distinct objects around a circle is (n - 1)!. If reflections are also considered the same, divide by 2.

03

Worked example

How many ways can 5 students be arranged in a row? How many ways can 3 of them be chosen and arranged in 3 seats?

The number of arrangements of all 5 students is 5! = 120.

For 3 seats chosen from 5, the number is 5P3 = 5!/(5 - 3)! = 120/2 = 60.

Equivalently, the first seat has 5 choices, the second 4, and the third 3, giving 5 × 4 × 3 = 60.

The order matters because the seats are distinct, so this is a permutation problem.

04

Equations

Factorialn! = n(n−1)...1, 0! = 1
PermutationnPr = n!/(n−r)!
Circular(n−1)!
05

Key points

  • n! counts the arrangements of n distinct objects in a row.
  • nPr = n!/(n - r)! counts ordered selections of r objects.
  • Treat a restricted group as one object, then arrange inside the group.
  • Circular arrangements of n objects number (n - 1)!.
06

Common misconceptions

Common mistake

nPr and nCr are the same.

Correct understanding

Permutations count order, combinations do not. nPr = r! × nCr.

07

Check your understanding

1. What is 5!?

2. How many ways can 3 people sit in 3 distinct chairs?

08

Frequently asked questions

Why is 0! equal to 1?

There is exactly one way to arrange zero objects: do nothing. The convention also makes the permutation formula consistent.

How do you handle repeated letters in a word?

Divide the total factorial by the factorials of the repeated counts. For example, BANANA has 6!/(3!2!) arrangements.

NERDLYY · FEEDBACK

Help shape Nerdlyy

Your feedback goes directly to the team. We read every submission.

No reply needed — you can send feedback without sharing contact details.