← Combinatorics (ME-A1)

NSWMaths Extension 1Syllabus dot point

How do we count the number of ordered arrangements of a set of objects?

Use the multiplication principle and the permutation formula to count ordered arrangements, including restrictions and repeated elements

A focused answer to the HSC Maths Extension 1 dot point on permutations. The multiplication principle, the formula n!(nβˆ’r)!\frac{n!}{(n - r)!} for arrangements of rr from nn, permutations of objects with repeats, circular permutations, and counting with restrictions, with worked examples.

Generated by Claude OpusReviewed by Better Tuition Academy8 min answer

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to count ordered arrangements (permutations) of objects, with or without repeats, in circular or linear settings, and to apply common restrictions (objects must or must not be adjacent, must be at fixed positions, etc.).

The answer

The multiplication principle

If a procedure can be performed in n1n_1 ways at step 1, and (independent of step 1) in n2n_2 ways at step 2, …\dots, and nkn_k ways at step kk, then the total number of ways to complete the procedure is n1β‹…n2β‹…β‹―β‹…nkn_1 \cdot n_2 \cdot \dots \cdot n_k.

This is the foundation of every counting problem.

Permutations of nn distinct objects

The number of ways to arrange all nn distinct objects in a row is

n!=nβ‹…(nβˆ’1)β‹…(nβˆ’2)β‹―2β‹…1.n! = n \cdot (n - 1) \cdot (n - 2) \cdots 2 \cdot 1.

Reasoning: nn choices for the first position, nβˆ’1n - 1 for the second (one used up), nβˆ’2n - 2 for the third, and so on.

By convention 0!=10! = 1.

Permutations of rr from IMATH_18

The number of ways to choose and arrange rr objects from nn distinct objects is

nPr=n!(nβˆ’r)!=n(nβˆ’1)(nβˆ’2)β‹―(nβˆ’r+1).{}^{n} P_r = \frac{n!}{(n - r)!} = n(n - 1)(n - 2) \cdots (n - r + 1).

The notation is sometimes P(n,r)P(n, r) or PrnP^n_r. NESA tends to use nPr^n P_r.

Permutations with repeats

If you have nn objects of which n1n_1 are alike, n2n_2 are alike, …\dots, nkn_k are alike (with n1+n2+β‹―+nk=nn_1 + n_2 + \dots + n_k = n), the number of distinct arrangements is

n!n1! n2!β‹―nk!.\frac{n!}{n_1! \, n_2! \cdots n_k!}.

This divides out the over-count from treating identical objects as distinguishable.

Circular permutations

The number of distinct circular arrangements of nn distinct objects is (nβˆ’1)!(n - 1)!. Reasoning: fix one object to break the rotational symmetry, then arrange the remaining nβˆ’1n - 1 linearly.

If reflections are also considered the same (necklace problems), divide by another 22.

Restrictions

Two objects must be together: glue them together as a single block, arrange as if nβˆ’1n - 1 objects, then multiply by 2!2! for the internal arrangement of the block.

Two objects must not be together: count total arrangements minus the "together" count.

Vowels (or some other type) together: glue all vowels into a single block, treat as one object.

Particular object in a fixed position: lock that object, count the arrangements of the rest.

Summary recipe

  1. Identify whether order matters (yes for permutations, no for combinations).
  2. Identify whether repetition is allowed (with-repeat formulas are nrn^r).
  3. Identify whether you are arranging all nn or only rr of them.
  4. Apply restrictions by gluing, locking or subtracting.

Past exam questions, worked

Real questions from past NESA papers on this dot point, with our answer explainer.

2021 HSC Q62 marksHow many five-letter arrangements of the letters in the word "CHAIR" are there?
Show worked answer β†’

All five letters are distinct. The number of arrangements of 55 distinct letters is 5!=1205! = 120.

Markers reward identifying distinct objects and applying n!n! directly.

2020 HSC Q233 marksIn how many different ways can the letters of the word "BANANAS" be arranged?
Show worked answer β†’

Letters: B, A, N, A, N, A, S. Total 77 letters. Repeats: 33 A's, 22 N's.

Number of distinct arrangements: 7!3!β‹…2!=504012=420\frac{7!}{3! \cdot 2!} = \frac{5040}{12} = 420.

Markers reward identifying the multiset structure, applying the formula for permutations of objects with repeats, and clean arithmetic.

Related dot points