How many permutations fix at least one element for fixed n?

In summary, the conversation discusses finding the number of permutations in a set S_n that fix at least one element. The approach involves breaking down the problem into smaller subproblems, such as finding the number of ways to choose X so that X(1)=1, X(2)=2, and X(3)=3. The solution also involves using induction to find patterns in the number of permutations for increasing values of n.
  • #1
jostpuur
2,116
19
For fixed [itex]n\in\mathbb{N}[/itex], how many permutations [itex]X\in S_n[/itex] there exists, so that [itex]X(t)=t[/itex] at least for some [itex]t\in\{1,2,3,\ldots,n\}[/itex]?

Is the solution to this well known? I couldn't solve it by the most direct approach that seemed to be the only apparent way. This is how far I got:

Question 1: How many ways is there to choose X so that X(1)=1? The answer is clearly (n-1)!.

Remark: It would not make sense to next ask that how many ways is there to choose X so that X(2)=2, because some of these X have already been counted.

Question 2: How many ways is there to choose X so that X(1)!=1 and X(2)=2? The X(1) must be different from 1 and 2, so it can be chosen in n-2 different ways. Remaining values X(3),...,X(n) can be chosen in (n-2)! different ways, so the answer is (n-2)*(n-2)!.

Question 3: How many ways is there to choose X so that X(1)!=1, X(2)!=2, and X(3)=3. The choice of X(1) has effect on how many ways the X(2) can be chosen. If we choose X(1)=2, then X(2) can be chosen in n-2 different ways. Remaining X(4),...,X(n) can be chosen in (n-3)! different ways. If we instead choose X(1)!=2, then X(1) can be chosen in n-2 different ways, X(2) can be chosen in n-3 different ways, and again remaining X(4),...,X(n) can be chosen in (n-3)! different ways. So the answer is ((n-2)+(n-2)*(n-3))*(n-3)!.

Question 4: How many ways is there to choose X so that X(1)!=1, X(2)!=2, X(3)!=3 and X(4)=4? If we choose X(1)=2, then [if we choose X(2)=3, then blabla. If we instead choose X(2)!=3, then blabla]. If we choose X(1)=3, then blabla. If we choose X(1)!=2 and X(1)!=3, then blabla. ARGH! :frown:

...

This doesn't seem to be giving the answer.
 
Last edited:
Mathematics news on Phys.org
  • #2
Or did I post this too soon again. The answer to the question 4 seems to be 2*((n-2)+(n-2)*(n-3))*(n-4)!. Perhaps some pattern arises if one proceeds by force...
 
  • #3
Hint: the number of permutations that fixes at least one t plus the number of permutations that fixes none is the total number of permutations. Now try induction (how many are there for n = 2? If I now consider permutations of three elements, how many ways are there to make each of these into a permutation of all elements?)

(Disclaimer: looked at this briefly, but cannot guarantee it will work. Maybe I missed something.)
 

1. What is a permutation?

A permutation is an arrangement of objects in a specific order. It is a mathematical concept that is used to calculate the number of possible ways to arrange a set of objects.

2. How is the number of permutations calculated?

The number of permutations can be calculated using the formula n!/(n-r)!, where n is the total number of objects and r is the number of objects being arranged in a specific order.

3. What is a diagonal in mathematics?

In mathematics, a diagonal is a line connecting two non-adjacent vertices of a polygon or a parallelogram. It can also refer to a straight line passing through the center of a geometric shape.

4. How is the number of diagonal permutations calculated?

The number of diagonal permutations can be calculated using the formula (n*(n-3))/2, where n is the number of sides in a polygon. This formula only applies to regular polygons.

5. How are permutations and diagonals related?

Permutations and diagonals are related in the sense that they both involve arranging objects in a specific order. In mathematics, diagonal permutations are used to calculate the number of ways to arrange vertices or sides in a polygon, while regular permutations are used to calculate the number of ways to arrange objects in general.

Similar threads

  • General Math
Replies
1
Views
1K
  • General Math
Replies
2
Views
1K
Replies
4
Views
410
Replies
7
Views
1K
Replies
6
Views
1K
Replies
10
Views
907
Replies
5
Views
2K
Replies
1
Views
763
Replies
3
Views
732
Back
Top