SOLUTION: Alex, Bob, Charles, and Dan are sitting in a row with the first to fourth places starting from left to right. How many ways are there if Alex does not sit in the first place, Bob

Algebra ->  Customizable Word Problem Solvers  -> Misc -> SOLUTION: Alex, Bob, Charles, and Dan are sitting in a row with the first to fourth places starting from left to right. How many ways are there if Alex does not sit in the first place, Bob      Log On

Ad: Over 600 Algebra Word Problems at edhelper.com


   



Question 1059545: Alex, Bob, Charles, and Dan are sitting in a row with the first to fourth places starting from left to right.
How many ways are there if Alex does not sit in the first place, Bob does not sit in the second place,
Charles does not sit in the third place, and Dan does not sit in the fourth place?

Answer by ikleyn(52814) About Me  (Show Source):
You can put this solution on YOUR website!
.
Let P%5B4%5D be the set of all sitting arrangements of A, B, C and D in four seats.
As everybody knows, P%5B4%5D consists of 4*3*2*1 = 24 permutations.


Let P%5BA%5D be the subset of all sitting arrangements of A, B, C and D in four seats, where A is sitting in the seat #1.
Let P%5BB%5D be the subset of all sitting arrangements of A, B, C and D in four seats, where B is sitting in the seat #2.
Let P%5BC%5D be . . .                                                                  where C is sitting in the seat #3.
Let P%5BD%5D be . . .                                                                  where D is sitting in the seat #4.

Then P%5B4%5D is, oviously, the union of subsets P + P%5BA%5D + P%5BB%5D + P%5BC%5D + P%5BD%5D, (1)
where P is our "most desired" subset of those sitting arrangements that are under the problem's question.

It is clear that the cardinality of each subset P%5BA%5D, P%5BB%5D, P%5BC%5D and P%5BD%5D is 6 = 3*2*1.

Therefore, the first desire is to write 24 = |P| + 6 + 6 + 6 + 6, following (1).
But it would not to be correct.
Why?  - Because the subsets P%5BA%5D, P%5BB%5D, P%5BC%5D and P%5BD%5D have non-empty intersections that we counted twice.


Did you just get understanding on how to solve the problem and how to proceed?
If not, then follow me.


Let P%5BAB%5D be the subset of all sitting arrangements of A, B, C and D in four seats, where A and B are sitting in the seats #1 and #2, respectively.
Let P%5BAC%5D be the subset of all sitting arrangements of A, B, C and D in four seats, where A and C are sitting in the seats #1 and #3, respectively.
Let P%5BAD%5D, P%5BBC%5D, P%5BBD%5D and P%5BCD%5D be the other four similar subsets in P%5B4%5D.

Then we can make a correction to formula (1) by writing

P%5B4%5D = P + P%5BA%5D + P%5BB%5D + P%5BC%5D + P%5BD%5D - P%5BAD%5D - P%5BAD%5D - P%5BAD%5D - P%5BBC%5D - P%5BBD%5D - P%5BCD%5D  (2)

in the effort to account for double intersections.
But be aware !!  This formula is still not exactly correct.
Why? - Because the sets P%5BAB%5D, P%5BAC%5D, P%5BAD%5D, P%5BBC%5D, P%5BBD%5D and P%5BCD%5D have triple intersections, which we distracted twice in the formula (2).


Did you just get understanding on how to solve the problem and how to proceed?
If not, then follow me again.


Let P%5BABC%5D be the subset of all sitting arrangements of A, B, C and D in four seats, where A, B and C are sitting in the seats #1, #2 and #3, respectively.
Let P%5BABD%5D be the subset of all sitting arrangements of A, B, C and D in four seats, where A, B and D are sitting in the seats #1, #2 and #4, respectively.
Let P%5BACD%5D and P%5BBCD%5D be the other two similar subsets in P%5B4%5D.

At last, let P%5BABCD%5D be the subset of all sitting arrangements of A, B, C and D in four seats, where A, B, C and D are sitting in the seats #1, #2, #3 and #4, respectively.
   (As you understand, the set P%5BABCD%5D consists of only ONE element, the identical permitation).

Now, finally, we can write the formula which is ABSOLUTELY true! :

P%5B4%5D = P + P%5BA%5D + P%5BB%5D + P%5BC%5D + P%5BD%5D - P%5BAD%5D - P%5BAD%5D - P%5BAD%5D - P%5BBC%5D - P%5BBD%5D - P%5BCD%5D + P%5BABC%5D + P%5BABD%5D + P%5BACD%5D + P%5BBCD%5D - P%5BABCD%5D.    (3)

I just mentioned above that the cardinality of the 1-letter subsets P%5BA%5D, P%5BB%5D, P%5BC%5D and P%5BD%5D is 6 = 3*2*1.
The cardinality of the 2-letter subsets P%5BAB%5D, P%5BAC%5D, . . . , P%5BCD%5D is 2 = 2*1. Obviously.
The cardinality of the 3-letter subsets P%5BABC%5D, P%5BABD%5D, . . . , P%5BBCD%5D is 1. Obviously.
The cardinality of the 4-letter subsets P%5BABCD%5D is 1. Obviously.

Therefore, following to the formula (3), we can write its "cardinality" analogue

24 = |P| + (6 + 6 + 6 + 6) - (2 + 2 + 2 + 2 + 2 + 2) + (1 + 1 + 1 + 1) - 1  =  |P| + 4*6 - 2*6 + 4 - 1 = |P| + 24 - 12 + 4 - 1 = |P| + 15.
           ---------------   -----------------------   ---------------
              4 times               6 times                 4 times

Again, our equation is

24 = |P| + 15.

From here, the cardinality of the set P is |P| = 24 - 15 = 9.

Answer.  How many ways are there if Alex does not sit in the first place, Bob does not sit in the second place, 
         Charles does not sit in the third place, and Dan does not sit in the fourth place?   -   9 ways.


I understand that this solution may seem to be complicated for a novice.

Yes, it would be good to be prepared for such endeavors.

There are two lessons in this site closely related to this theme that I can recommend you:
    - Counting elements in sub-sets of a given finite set
    - Advanced problems on counting elements in sub-sets of a given finite set

Also, you have these two free of charge online textbooks in ALGEBRA in this site
    - ALGEBRA-I - YOUR ONLINE TEXTBOOK.
    - ALGEBRA-II - YOUR ONLINE TEXTBOOK.

The referred lessons are the parts of these online textbooks under the topic "Miscellaneous word problems".


From my side, it was a pleasure to me to work on this solution.
Thanks for posting this challenging problem.