||This article may be too technical for most readers to understand. (March 2013) (Learn how and when to remove this template message)|
In mathematics, a symmetric function of n variables is one whose value at any n-tuple of arguments is the same as its value at any permutation of that n-tuple. So, if e.g. , the function can be symmetric on all its variables, or just on , , or . While this notion can apply to any type of function whose n arguments have the same domain set, it is most often used for polynomial functions, in which case these are the functions given by symmetric polynomials. There is very little systematic theory of symmetric non-polynomial functions of n variables, so this sense is little-used, except as a general definition.
Given any function f in n variables with values in an abelian group, a symmetric function can be constructed by summing values of f over all permutations of the arguments. Similarly, an anti-symmetric function can be constructed by summing over even permutations and subtracting the sum over odd permutations. These operations are of course not invertible, and could well result in a function that is identically zero for nontrivial functions f. The only general case where f can be recovered if both its symmetrization and anti-symmetrization are known is when n = 2 and the abelian group admits a division by 2 (inverse of doubling); then f is equal to half the sum of its symmetrization and its anti-symmetrization.
- Consider the real function
- By definition, a symmetric function with n variables has the property that
- In general, the function remains the same for every permutation of its variables. This means that, in this case,
- and so on, for all permutations of
- Consider the function
- If x and y are interchanged the function becomes
- which yields exactly the same results as the original f(x,y).
- Consider now the function
- If x and y are interchanged, the function becomes
- This function is obviously not the same as the original if a ≠ b, which makes it non-symmetric.
In statistics, an n-sample statistic (a function in n variables) that is obtained by bootstrapping symmetrization of a k-sample statistic, yielding a symmetric function in n variables, is called a U-statistic. Examples include the sample mean and sample variance.