Signature of a even/odd transposition

  • Thread starter Thread starter Matherer
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
Matherer
Messages
2
Reaction score
0

Homework Statement



(1 2 3 4 5 6 7)
(1 2 5 4 3 6 7)

is s, a permuation.
Find sgn(s).

Homework Equations


The sgn of a transposition is -1.

Sgn(s)=Product of [sgn(j)-sgn(i)]/(j-i) when 1<=i<j<=n

The Attempt at a Solution


I calculated the sgn(s) using the formula and got 1. But shouldn't it actually be -1, since s is a transposition? If not, why is it not a transposition when only two elements are swapped and the rest are stationary?
 
Physics news on Phys.org
Matherer said:
Sgn(s)=Product of [sgn(j)-sgn(i)]/(j-i) when 1<=i<j<=n

This formula is wrong; actually it's nonsense, since whenever [tex]1 \leq i < j \leq n[/tex], [tex]\mathop{\mathrm{sgn}} i = \mathop{\mathrm{sgn}} j = 1[/tex] so [tex]\frac{\mathop{\mathrm{sgn}} j - \mathop{\mathrm{sgn}} i}{j - i} = 0[/tex].

The formula you're thinking of is [tex]\mathop{\mathrm{sgn}} \sigma = \prod_{1 \leq i < j \leq n} \mathop{\mathrm{sgn}}(\sigma(j) - \sigma(i)) = \prod_{1 \leq i < j \leq n} \frac{\sigma(j) - \sigma(i)}{|\sigma(j) - \sigma(i)|}[/tex]. This is the product of [tex]-1[/tex] once for every inversion of [tex]\sigma[/tex], where an inversion of [tex]\sigma[/tex] is a pair [tex](i, j)[/tex] where [tex]i < j[/tex] but [tex]\sigma(i) > \sigma(j)[/tex].

If you use the correct formula, you will reach the correct result [tex]-1[/tex].