Math Probability

Problem

How many ways are there to arrange a set of distinct elements such that no element is in it’s original position?

Solution

The way to arrange the set without consideration for position is:

Now accounting for the values that have one element in it’s original position:

However, we subtracted arrangements with two elements in their original position twice:

Now, we readded arrangements with three elements in their original position:

This pattern continues by PIE, giving us:

Since , we can rewrite as: