Quote:
|
Originally Posted by newguy Quote: |
Originally Posted by whocarez Quote: |
Originally Posted by cat_cracker1 There is a question
There are four pens each a different colour and four caps each a different colour but,same as that of one of the pens.In how many ways can these caps be put on the puns so that a cap does not go to the pen of same colour.
These prob. Can be done by considering all the cases for c1 going in p2,p3 and p4 and so on.In which the answer is 9.But if the above quantities are increased would it be feasible to go as in the above way.Is there any shortcut method to solve these type of ques. | Yes there is a formula for this type of questions. The type mentioned above is a classic case of dearrangement!!
It should be 4! [1 - 1/1! + 1/2! - 1/3! + 1/4!] which equals 24-24+12-4+1=9 | Could you just explain what dearrangement is ? |
A derangement of n ordered objects, denoted , is a permutation in which none of the objects appear in their "natural" (i.e., ordered) place. For eg. if there are 3 houses numbered 1,2,3 and three owners 1,2,3 of the respective house no. Then classic case of dearrangement in this situation would be that owners can live in any house other than theirs.