Proof
Suppose that the transposition
swaps the numbers
.
We compute the number of inversions of
.
We determine for every pair
,
,
whether it is an inversion. For
we do not have an inversion, since
-

The same holds in case
.
So suppose that
-

For
-

we have
,
and there is no inversion. For
-

we have an inversion, due to
-

In the same way we have for
-

an inversion. Moreover,
is an inversion. This yields altogether
-

inversions.
Therefore, the number of inversions is odd and the sign of a transposition is
due to
fact.