Derangement and Use of -Exclusion-Inclusion Principle. (1 Viewer)

mamun11

New Member
Joined
Sep 10, 2014
Messages
9
Gender
Male
HSC
N/A
Given n different objects,they have to be arranged in such a way that k objects won't occupy their initial position.How to solve this problem? For example,if n=7,k=3 how many permutations will we get so that exactly 3 objects won't occupy their initial position?
 

aDimitri

i'm the cook
Joined
Aug 22, 2013
Messages
505
Location
Blue Mountains
Gender
Male
HSC
2014
Given n different objects,they have to be arranged in such a way that k objects won't occupy their initial position.How to solve this problem? For example,if n=7,k=3 how many permutations will we get so that exactly 3 objects won't occupy their initial position?
i'm assuming you mean arranged in a line. if they are all different objects, doesn't that mean it's just (n! - 1) ?
Since there is only one initial position for each object.

Or is the question asking it such that NONE of the 3 objects occupy their initial position?
 

Carrotsticks

Retired
Joined
Jun 29, 2009
Messages
9,494
Gender
Undisclosed
HSC
N/A
To do this intuitively, get the total number of ways and then subtract all the ways that people can occupy their original postilion.

The total is n!

Now subtract all the cases where one person has the right position.

But we've subtracted too many, so let's add back the number of ways that two people can be seated correctly.

Now we've added too much, now let's subtract the cases when three people occupy their original position.

Try to make a general formula from here. I'll check to see if it's right.
 

Carrotsticks

Retired
Joined
Jun 29, 2009
Messages
9,494
Gender
Undisclosed
HSC
N/A
i'm assuming you mean arranged in a line. if they are all different objects, doesn't that mean it's just (n! - 1) ?
Since there is only one initial position for each object.

Or is the question asking it such that NONE of the 3 objects occupy their initial position?
Yes, none of them have their original position.
 

dunjaaa

Active Member
Joined
Oct 10, 2012
Messages
473
Gender
Male
HSC
2014
Screen shot 2014-09-10 at 2.03.59 PM.png This is what I came up with :) For n=7, k=3, total arrangements is = 1680
 

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

Top