How many ways can you arrange 8 people in a row so that any two of the three people, A, B and C are together and all 3 of them cannot be together? The answer gives as (3C2 x 2! x 7!) - (3! x 6!) - (3C2 x 2! x 6C1 x 5!) = 21600

why?

Printable View

- February 15th 2008, 10:02 PMjjcPermutation and Combination
How many ways can you arrange 8 people in a row so that any two of the three people, A, B and C are together and all 3 of them cannot be together? The answer gives as (3C2 x 2! x 7!) - (3! x 6!) - (3C2 x 2! x 6C1 x 5!) = 21600

why? - February 15th 2008, 11:41 PMmr fantastic
Well, my reasoning would be:

(a) Get how many arrangements have any two of A, B or C sitting together and don't worry about whether the third is with them or not.

(b) Get how many arrangements have all three of A, B and C sitting together.

Then subtract (b) from (a) ....

(a) = (number of ways of choosing a 'unit' of two from the three) times (number of ways of arranging within the 'unit') times (number of ways of arranging the 'unit' and the remaining six people) =

(b) = (number of ways of arranging within a 'unit' of three) times (number of ways of arranging the 'unit' of three and the remaining five people) =

So I get

At the moment I can't really see where the third term comes from .... someone better at arranging than I am might jump in and explain ..... - February 16th 2008, 03:27 AMSoroban
Hello, jjc!

I agree with Mr. F . . . I don't understand that third term.

Quote:

How many ways can you arrange 8 people in a row

so that any two of the three people, A, B and C are together

and all 3 of them cannot be together?

The answer is: .

Select two of them to sit together.

There are: . ways . . . say, and

. . They can be ordered in ways: . or

Duct-tape the two together.

. . There are 7 "people" to arrange: . ways.

Hence, there are: . ways for some two to sit together.

But this includes the cases where*all three*sit together.

. . We must deduct these cases.

Duct-tape the three together.

. . The three can be ordered in ways.

There are 6 "people" to arrange: ways.

Hence, there are: . ways for all three to sit together.

Therefore, there are: .

- February 16th 2008, 04:56 AMPlato
I agree with the other two about the third term. But I disagree about the answers they came up with.

**The given answer, 21600, is correct.**

There are 6 ways, (AB, AC, BA, BC, CA, CB), for two of the three to sit together.

Now we have in the pattern _D_E_F_G_H_ six places to put one of those pairs and the five places to put the remaining third-person out so that the three are not seated together.

That gives .

So I think the given answer is correct, but I cannot understand the why of makeup of those three terms.

Post Script

There are ways to separate A, B, & C.

There are ways that at least two of those are together. But this number also includes cases in which all three are together.

So There are . - February 16th 2008, 12:39 PMmr fantastic
Arrangements under restriction always cause trouble - to me, anyway.

I'm sorry Plato - I don't follow your reasoning here. Or rather, I don't see why your reasoning (which I don't follow) is correct whereas the reasoning of Soroban and myself is wrong ..... I guess I've got a problem with the Minority Report (Rofl)

(Mind you, I've only just woken up and am eating breakfast ....) - February 16th 2008, 01:17 PMPlato
Well my answer does agree with the answer given by the text. I got the same by two different ways.

It took me a moment to realize the mistake in yours and Soroban’s reasoning.

Here it is.

The difference in the two solutions is .

That happens to be the same numbers as .

That means that you both have counted the three sitting together twice.

Here is how that was done. Think of counting the strings that begin “ABC…”

That string is counted once when counting strings containing the pair AB: .

The same string is counted again when you both counted stings using the pair BC: .

Thus in counting the pair strings you have counted the strings containing the three together twice each.

Now .