In algebra, an alternating polynomial is a polynomial  such that if one switches any two of the variables, the polynomial changes sign:
 such that if one switches any two of the variables, the polynomial changes sign:
 
Equivalently, if one permutes the variables, the polynomial changes in value by the sign of the permutation:
 
More generally, a polynomial  is said to be alternating in
 is said to be alternating in  if it changes sign if one switches any two of the
 if it changes sign if one switches any two of the  , leaving the
, leaving the  fixed.
 fixed.