Back

Solution: 2019 Winter Midterm - 2

Author: Michiel Smid

Question

Consider permutations of the set $\{a,b,c,d,e,f,g\}$ that do not contain $bge$ (in this order).
How many such permutations are there?
(a)
$7! - 3!$
(b)
$7! - 5!$
(c)
$7! - 4!$
(d)
$7! - 6!$

Solution

A = Permutations that contain $ bge $

We can treat $ bge $ as a single entity.

B = Permutations that do not contain $ bge $

So there’s $ bge, a,c,d,f $ which is 5 entities.

$ |B| = 5! $

$ |S| = $ Total permutations without restrictions

$ |S| = 7! $

$ |\text{Number of permutations that do not contain} bge| = |S| - |B| $

$ |\text{Number of permutations that do not contain} bge| = 7! - 5! $