• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

Permutations and Combinations 3U Cambridge. (2 Viewers)

trailblazer

Member
Joined
Mar 19, 2008
Messages
64
Location
Sydney
Gender
Male
HSC
2009
"Bob is about to hang his eight shirts in the wardrobe. He has four different styles of shirt, two identical ones of each particular style. How many different arrangements are possible if no two identical shirts are next to one another?"
 
K

khorne

Guest
So what the poster is saying is that:

8! ways to make an arrangement

8!/ (4x2!) (as there are 4 sets of 2 repeats)

HOWEVER

this does not solve the problem...it is more complex than that I think. You could try an eliminate all the possibilities of them being together, but this would take too long...

Btw, it is under the topic of cases, so I assume they want us to make some cases up
 
Last edited by a moderator:

azureus88

Member
Joined
Jul 9, 2007
Messages
278
Gender
Male
HSC
2009
This question is hard...something got to do with the inclusion-exclusion principle thing, which i dont really get.
 

gurmies

Drover
Joined
Mar 20, 2008
Messages
1,209
Location
North Bondi
Gender
Male
HSC
2009
Yeah, I thought he was incorrect. Events are mutually exclusive, i.e. if you wish to approach it like 8!/2^4 - combinations with ANY together, you'll have to use cases (e.g. All 4 groups together, only 1, etc...)
 
K

khorne

Guest
Well, Cambridge are notorious for difficult problems in their extension section, so don't be suprised...
 

lychnobity

Active Member
Joined
Mar 9, 2008
Messages
1,292
Gender
Undisclosed
HSC
2009
8!/(2! x 4)
I realise I can edit, but most people don't read those. But anyway, I realised I did the question wrong, so sorry guys.

So attempt no. 2:

4! x 4C1 x 3 x 3C1 x 4 x 2C1 x 5 x 1C1 x 6 = 207 360

4! - Say the styles were P, Q, R, S. I took one shirt of each style and arranged them, this can be done in 4! ways.

4C1 - out of the remaining shirts, I'm choosing one of them ie there will be one left of P, Q, R, S. Each time I use the nCr, I'm choosing one of the remaining shirts.

3 - There are 3 spots for this shirt to be placed. _P_Q_R_S_ Say the shirt chosen (above) is P. P can't be in 2 of the 5 spots (the _ means a spot). Therefore, P can only be in 3 spots. The logic follows that every time a shirt is placed on the rack, the no. spots available is = (no. shirts on rack + 1) - 2

3C1 - choosing one of the 3 remaining shirts

4 - _P_Q_R_P_S_ . Only Q, R, S are left. Say Q is chosen, it can't be in the spots marked in red. Same applies to R & S, there are 2 spots on the rack that all shirts can't be in.

2C1 - choosing either R or S. Say R was chosen.

5 - _Q_P_Q_R_P_S_ . R can't be in 2 of the spots, marked in red. There are 5 spots left.

1C1 - One shirt left. ie S

6 - _Q_P_R_Q_R_P_S_. S can't be in the red spots. Therefore, 6 spots to be placed in.

Someone check if I'm right. I spent ages typing this up.

Actually, answer seems too big. FML if I'm wrong.
 
K

khorne

Guest
Considering how this hasn't been solved, and no one reads edits: I wanted to give an attempt:

This isn't the full one, because there are some other factors I need to consider, but assuming we had 4 Shirts, 2 are the same A and 2 are the same, B.

We have a total of 4!/2x2 = 6 permutations

But we can see that only two are applicable to the problem.

Thus, we can set up the cases:

Assume both are together (the easiest): Then the total arrangements is 2x1x2x2/2x2 = 2

Now, assume Shirt B is together: it follows that there is 3x2x1/2x2 arrangements, but two of them include shirt A being together also, thus there is 3-2 = 1 arrangements. This is true for A also, thus the answer is

6-2-1-1 = 2

I'm pretty sure a similar tactic could be used for this problem. I've tried, but haven't had too much luck.
 
Last edited by a moderator:
K

khorne

Guest
It will work you berk, since I just missused the word combination, because permutation sounds terrible.
 

grasshopper1

New Member
Joined
Feb 5, 2009
Messages
18
Gender
Male
HSC
2010
can i ask the poster what is the actual answer in the textbook?

i came up with an answer of 126 possible arrangements

working was a little dodgy

8!/2x2x2x2=2520

2520/(5x4)

5 being the number of places a shirt can go without being next to another
4 being the number of pairs of identical shirts


but i think im majorly off LOL
 
Last edited:
K

khorne

Guest
Finally:

My way: We're trying to find cases which don't fit the restriction.

Total number of shirt ways -> 8!/2^4 = 2520

If they are all together: 4!*2^4/2^4 = 4! = 24 ways

If only 3 are together, 5!/2 = 60 ways - 24 ways (all four together) = 36

If only 2 are together 6!/4 = 180 but...several different combinations of 2 shirts (6) so 180-24-36-36 (because both shirts together can belong to two sets of 3 shirts together)= 84

If only 1 is together, 7!/8 = 630, but repeats again so 630-(3x84 (3 combinations of wrong shirts)) - (3*36 (3 combinations again of wrong set)) - 24 = 246

Now, 2520 - 24 - (4x36) - (6x84) - (4x246) = 864, which is the answer...

If you don't get it, basically I'm finding all the way it can't be done, and each successive shirt left (eg 3 shirts together) I take away the correct arrangements of repeats (eg. 3 shirts together could also include 4th shirt together).

Hope it makes sense, if not, i'll re type it.
 
Last edited by a moderator:

jchoi

Member
Joined
Nov 16, 2007
Messages
50
Gender
Male
HSC
2009
I gave up probabilities, it's like too hard... for me. I just don't think the way I'm meant to in it.
 

wendus

krawr.
Joined
Mar 26, 2007
Messages
653
Gender
Female
HSC
2008
hahahahahahahaha lol at khorne's signature
 

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Top