DP Math AA · HL · Number and Algebra

AHL 1.10—Perms and combs, binomial with negative and fractional indices

Get started
Notes Quiz

Factorials: The Foundation

Factorial: For a positive integer n, the factorial is defined as:
n!=n×(n−1)×(n−2)×⋯×2×1
By convention, 0!=1.

Factorials arise naturally from counting. Suppose you want to arrange n distinct objects in a row. For the first position you have n choices, for the second you have n−1, and so on , giving n×(n−1)×⋯×1=n! total arrangements.

Example

How many ways can 5 books be arranged on a shelf?

There are 5!=5×4×3×2×1=120 arrangements.

Exam Tip

Your GDC can compute factorials directly. On most Casio/TI models, find n! under the probability or math menu. Always verify by hand for small values to build intuition.

Permutations: Ordered Arrangements

Permutation: A permutation is an arrangement of objects in which order matters. The number of ways to arrange r objects chosen from n distinct objects is:
nPr​=(n−r)!n!​

The logic: you fill r positions one at a time. The first position has n choices, the second has n−1, …, the r-th has n−r+1. Multiplying these and rewriting using factorials gives the formula above.

Example

You have 8 plushies and need to arrange 3 of them on a shelf. How many arrangements are possible?

Order matters (the plushie in position 1 is distinct from position 2), so we use permutations:
8P3​=(8−3)!8!​=5!8!​=8×7×6=336

There are 336 possible shelf arrangements.

Note

There are several equivalent notations for permutations: nPr​, P(n,r), Prn​, nPr , all mean exactly the same thing. The IB formula booklet uses nPr​.

Warning

Don't confuse permutations with factorials. n! arranges all n objects; nPr​ arranges only r of them. In fact, n!=nPn​.

Free preview

10 more sections in this topic

← Previous topicSL 1.9—Binomial theorem where n is an integerNext topic →AHL 1.11—Partial fractions
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.