every permutation is either even or odd,but not both How we can show every permutation is either even or odd,but not both......I can't arrive at a proof for this ..... Can anybody give me the proof...
Thanks in advance...
 A: It is enough to show that the product of an odd number of transpositions cannot be the identity.
Every permutation of a finite set $S$ is a unique product of disjoint cycles in which every element of $S$ occurs exactly once (where we include fixed points as 1-cycles).  Let $p$ be any permutation of $S$, let $(ij)$ be a transposition ($i,j \in S$), and let $q=p \cdot (ij)$. It is easy to check that if $i$ and $j$ are in the same cycle in $p$, then that cycle splits into two in $q$; if $i$ and $j$ are in different cycles in $p$, then those cycles merge into one in $q$.  Cycles of $p$ not containing either $i$ or $j$ remain the same in $q$.  Therefore, $q$ has either one more or one less cycle than $p$ does.  
Now let $t$ be any product of an odd number of transpositions.  Then by the above, multiplying any permutation by $t$ changes the parity of the number of cycles in the permutation.  Therefore $t$ cannot be the identity.
A: This is overkill, but it follows from general facts about Coxeter groups as outlined here.  In particular, it follows from the fact that $S_n$ has presentation $s_i^2 = 1, (s_i s_{i+1})^3 = 1, s_i s_j = s_j s_i, |i - j| \ge 2$ (which follows from the faithfulness of the geometric representation) that the homomorphism $s_i \to -1$ is well-defined.  
A: One way is to define the sign of a permutation $\sigma$ using the polynomial $\Delta = \Pi (x_i-x_j)$ with $1\le i < j \le n$. 
It is easy to see that $\sigma(\Delta) = \Pi (x_{\sigma(i)}-x_{\sigma(j)})$ satisfies $\sigma(\Delta)=\pm\Delta$. Now define the sign by $sign(\sigma)=\frac{\Delta}{\sigma(\Delta)}$
With a little more work you can show that this function is a homomorphism of groups, and that on transpositions it return -1. Therefore, if $\sigma=\tau_1\cdots\tau_k$ is a way to write $\sigma$ as a product of transpositions, we have $sign(\sigma)=(-1)^k$ and so for even permutations (permutations whose sign is 1) k must always be even, and for odd permutations (whose sign is -1) it must always be odd.
A: There is a proof given here:  An Historical Note on the Parity of Permutations, T. L. Bartlow, American Mathematical Monthly Vol. 79, No. 7 (Aug. - Sep., 1972), pp. 766-769.
Here's an outline of Bartlow's proof (it matches the proof given in Ted's answer).


*

*Divide $S_n$ (the symmetric group on $n$ letters) into two classes according to the parity of the number of cycles (fixed points counted as 1-cycles) in their unique decomposition into disjoint cycles.  [E.g. in $S_5$ the permutation $(1,2,3)(4)(5)$ has 3 disjoint cycles.]

*These classes are thus well-defined and disjoint, and the identity permutation belongs to exactly one class (since it decomposes into $n$ disjoint cycles, and $n$ is either even or odd).

*He showed that by multiplying a permutation in one class by a transposition, will result in a permutation in the other class.

*He concludes that the two classes are, in fact, the sets of even and odd permutations in $S_n$.
(NB. In earlier versions of this answer I incorrectly labelled this proof as faulty.  In fact, this is an excellent proof, and doesn't rely on any auxiliary functions or unrelated concepts.)

I claim all three "proofs" of this result (currently) on wikipedia are incomplete.  Let's begin with the observation that, assuming that identity permutation is not an odd permutation, then the result follows fairly easily.
Theorem: Assuming the identity permutation is not an odd permutation, then all permutations are either even xor odd.
Proof:  Let $\sigma$ be both an even and an odd permutation.  Then there exists transpositions $t_i$ and $s_j$ such that \[\sigma=t_1 \circ t_2 \circ \cdots \circ t_k=s_1 \circ s_2 \circ \cdots \circ s_m\] where $k$ is even and $m$ is odd.  Note that \[\sigma^{-1}=s_m \circ s_{m-1} \circ \cdots \circ s_1.\]
Then the identity permutation $\sigma \circ \sigma^{-1}$ is the odd permutation \[t_1 \circ t_2 \circ \cdots \circ t_k \circ s_m \circ s_{m-1} \circ \cdots \circ s_1,\] giving a contradiction.  Thus completing the proof of the theorem.
The problem is that we cannot just assume that the identity permutation not an odd permutation (yes, it's an even permutation, but what's to stop it being an odd permutation also?), it does not follow from the definition and it is the base case of the "induction".  To prove it, we need to show that the identity permutation cannot be decomposed into an odd number of transpositions (without using the theorem itself).
However, we can deduce from the above theorem that either (a) all permutations are both even and odd or (b) all permutations are either even xor odd.
On wikipedia: Proof 1 states that the identity permutation is an even permutation (which it is) then assumes that the identity permutation is not also an odd permutation (this is analogous to assuming that a closed set is not an open set).  Proof 2 essentially says that we can switch signs by multiplying by a transposition (which is fine, if you know a priori that there exists some permutation that is not even or not odd).  Proof 3 neglects the possibility that an even-length word might be equal to an odd-length word.
Keith Conrad also gave a proof that the identity permutation is not an odd permutation here.  It is almost a page long (and is the majority of the proof of the result in question).
A: To define the  sign of a permutation $\sigma$ using the polynomial :
$$\begin{gathered} A = \left( {{x_1} – {x_2}} \right)\left( {{x_1} – {x_3}} \right)\left( {{x_1} – {x_4}} \right) \cdots \left( {{x_1} – {x_n}} \right) \\ \,\,\,\,\,\,\,\,\,\,\left( {{x_2} – {x_3}} \right)\left( {{x_2} – {x_4}} \right)\left( {{x_2} – {x_5}} \right) \cdots \left( {{x_2} – {x_n}} \right) \\ \,\,\,\,\,\,\,\,\,\,\left( {{x_3} – {x_4}} \right) \cdots \left( {{x_3} – {x_n}} \right) \cdots \cdots \cdots \left( {{x_{n – 1}} – {x_n}} \right) \\ \end{gathered} $$.
Now define the sign by $sign(\sigma)=\frac{A}{|A|}$
For example, taking $$n = 4$$, we have
$$A = \left( {{x_1} – {x_2}} \right)\left( {{x_1} – {x_3}} \right)\left( {{x_1} – {x_4}} \right)\left( {{x_2} – {x_3}} \right)\left( {{x_2} – {x_4}} \right)\left( {{x_3} – {x_4}} \right)$$
taking $$\sigma=1423$$ this can represent an entry of $4 \times 4$ matrix $B$ , $b_{11}b_{24}b_{32}b_{43}$ ie doing permuation on the indices $i,j,k,l$ ,of the entries $b_{1i}b_{2j}b_{3k}b_{4l}$
$$A=(1-4)(1-2)(1-3)(4-2)(4-3)(2-3)=12$$
$$sign(\sigma)=\frac{12}{12}=1$$
In general, a transposition $\left( {i,j} \right),\,\,i < j$ has the following effects on $A$.
(i) Any factor which involves neither the suffix $i$ nor $j$ remains unchanged.
(ii)There are n-1 factors of any $x_k$,  the terms involving $i,j$ can be grouped into $(x_i-x_j)\times\prod_{m<i}(x_m-x_i)(x_m-x_j) \times \prod_{i<m< j}(x_m-x_j)(x_i-x_m)\times \prod_{j<m}(x_j-x_m)(x_i-x_m)$
(iii) The single factor $\left( {{x_i} – {x_j}} \right)$ changes its sign.
(iv) The remaining factors which involve either the suffix $i$ or $j$ but not both can be grouped into pairs of products, $ \pm \left( {{x_m} – {x_i}} \right)\left( {{x_m} – {x_j}} \right)$ where $m \ne i$ or $j$ and such a product remains unaltered when ${x_i}$ and ${x_j}$ are interchanged.
A: Fix some typos (note from Url Math007)
Every permutation is either odd or even but not both.
Proof.First we know from the previous proposition that every permutation can be written as a product of transpositions, so the only problem is to prove that it is not possible to find two expressions for a given permutation, one using a product $s_1s_2\cdots s_{2m+1}$ of an odd number of transpositions and one using a product $t_1t_2\cdots t_{2l}$ of an even number of tranpositions. The steps are as follows:

*

*If this were the case then we would have $id=\sigma\sigma^{-1}=t_{2l}\cdots t_1s_{2m+1}\cdots s_1$, expressing the identity as a product of an odd number of tranpositions, so it is important to prove this impossible.

*Observe that any transposition $(i,j)$ can be written $$(j-1,j)\cdots(i+2,i+3)(i+1,i+2)\mathbf{(i,i+1)}(i+1,i+2)(i+2,i+3)\cdots(j-1,j)$$ Where we have assumed without loss of generality that $i<j$. This is a product of an odd number of adjacent transpositions.

*So it is important to show that the identity cannot be written as a product of an odd number of adjacent transpositions.

*Consider polynomials in the $n$ variables $x_1, \ldots, x_n$. If you have such a polynomial $f\left(x_1, \ldots, x_n\right)$ and a permutation $\sigma \in S_n$, you get a new polynomial $\sigma(f)$ by replacing each $x_i$ in $f$ with $x_{\sigma(i)}$. For example, if $\sigma=(1,2,3)$ and $f=x_1+x_2^2$ then $\sigma(f)=x_2+x_3^2$. Define
$$
\Delta=\prod_{1 \leq i<j \leq n}\left(x_i-x_j\right)
$$

*Observe that for any $k, (k, k+1)(\Delta)=-\Delta$, and so any product of an odd number of adjacent transpositions sends $\Delta$ to $-\Delta$ too.

*Get a contradiction from the fact that $\operatorname{id}(\Delta)=\Delta$.

