Question #152269

There are 7 groups in a picnic who has brought their own lunch box, and then the 7 lunch box are exchanged within those groups. Determine the number of ways that they can exchange the lunch box such that none of them can get their own.

Expert's answer

Let there are nn people's and each people's have its own assigned boxes.

Then total number of derangement so that none of them get their own box is

=n![111!+12!13!+14!.....(1)n.1n!]=n![1-\frac {1}{1!}+\frac {1}{2!}-\frac {1}{3!}+\frac {1}{4!}-.....(-1)^n.\frac {1}{n!}]

According to the problem, there are 7 groups in picnic and each group has its own lunch box.

There the total number of ways that they can exchange the lunch box such that none of them can get their own is

=7![111!+12!13!+14!15!+16!17!]=7![1-\frac {1}{1!}+\frac {1}{2!}-\frac {1}{3!}+\frac {1}{4!}-\frac {1}{5!}+\frac {1}{6!}-\frac {1}{7!}]

=[7!2!7!3!+7!4!7!5!+7!6!7!7!]=[\frac{7!}{2!}-\frac{7!}{3!}+\frac{7!}{4!}-\frac{7!}{5!}+\frac{7!}{6!}-\frac{7!}{7!}]

=[2520840+21042+71]=[2520-840+210-42+7-1]

=1854=1854


LATEST TUTORIALS
APPROVED BY CLIENTS