[Math] Combinations w/Restrictions – Reindeer Arrangement Problem

combinations

In the Khan Academy resource on "Combinations," the following question appears:

Five reindeer:

You need to put your reindeer, Gloopin, Balthazar, Bloopin, Prancer, and Quentin, in a single-file line to pull your sleigh. However, Prancer and Balthazar are best friends, so you have to put them next to each other, or they won't fly.
How many ways can you arrange your reindeer?

In the hint portion, we're given the following explanation:

  • We can count the number of arrangements where Prancer and Balthazar are together by treating them as one double-reindeer. Now we can use the same idea as before to come up with 4*3*2*1 = 24 different arrangements. But that's not quite right.
  • Why? Because you can arrange the double-reindeer with Prancer in front or with Balthazar in front, and those are different arrangements! So the actual number of arrangements with Prancer and Balthazar together is 24*2=48

The bolded part above is what's confusing to me.

If we assume five spaces for the reindeer: —– then it would be 5*4*3*2*1 or (5!) for 120 total arrangements.

And if we're putting P and B together, we would have either PB— or BP—.

What I'm confused about is how this is 1*4*3*2 and not 1*1*3*2*1. Or, wouldn't it be (2!)*(3!).

Thanks!

Best Answer

First of all, combinations with restrictions are called permutations :)

A neat way to do such problems is to draw as many boxes as there are necessary 'team members' and pencil in the number of permutations for each member. In doing so, you could also draw an arrow protruding from each box where you list the constituent permutations.

In this case, a few sets of boxes can be used as the problem can be split into disjoint cases.

(Since I don't know how to draw arrows on this site, I'll list the constituent permutations inside the boxes :)

The first case: $\fbox{2 (P. or Ba.)}\fbox{1 (Ba.)}\fbox{3 (G., Bl. or Q.)}\fbox{2 (Bl. or Q.)}\fbox{1 (Q.)}$

Of course, the reindeers could be in a different order within the restrictions of the question — but the same amount of permutations would result. For purposes of visualisation, you can arbitrarily assume which member would go where (within the restrictions of the question).

Make sure, of course, to put the restrictions in first as the permutations for each other position in the 'team' will depend on the restrictions — in this case that Prancer and Balthazar must be next to each other.

The amount of permutations for Case 1? $2*1*3*2*1 = 12.$

There are three other disjoint cases — where Prancer or Balthazar are next to each other in 2nd and 3rd position, 3rd and 4th, or 4th and 5th.

The total number of permutations (the sum of the permutations for each disjoint case) $=48$.

Try it out using this method and see how you go :)