Mathwords logoMathwords

Invariant Polynomial — Definition, Formula & Example

An invariant polynomial is a polynomial that does not change when you transform its variables by every symmetry in a given group. For example, x2+y2x^2 + y^2 stays the same when you rotate the point (x,y)(x, y) about the origin.

Let a group GG act linearly on knk^n, where kk is a field. A polynomial f∈k[x1,…,xn]f \in k[x_1, \dots, x_n] is invariant under GG if f(g⋅x)=f(x)f(g \cdot \mathbf{x}) = f(\mathbf{x}) for every g∈Gg \in G, as an identity of polynomials. The invariant polynomials form a subring, written k[x1,…,xn]Gk[x_1, \dots, x_n]^G and called the ring of invariants.

Key Formula

f(g⋅x)=f(x)for all g∈Gf(g \cdot \mathbf{x}) = f(\mathbf{x}) \quad \text{for all } g \in G
Where:
  • ff = A polynomial in the variables x1x_1, ..., xnx_n
  • GG = A group acting linearly on the variables (by matrices)
  • gg = Any element of the group G
  • x\mathbf{x} = The vector of variables (x1x_1, ..., xnx_n)
  • g⋅xg \cdot \mathbf{x} = The transformed variables after applying g

Worked Example

Problem: Let GG be the cyclic group of order 4 generated by the 90° rotation g:(x,y)↦(−y,x)g: (x, y) \mapsto (-y, x). Decide whether f(x,y)=x4+y4+5x2y2f(x, y) = x^4 + y^4 + 5x^2y^2 and h(x,y)=x3yh(x, y) = x^3y are invariant polynomials under GG.
Step 1: Test ff. Replace xx with −y-y and yy with xx, then simplify. Even powers remove the minus sign, so you get back exactly ff.
f(−y,x)=(−y)4+x4+5(−y)2x2=x4+y4+5x2y2=f(x,y)f(-y, x) = (-y)^4 + x^4 + 5(-y)^2x^2 = x^4 + y^4 + 5x^2y^2 = f(x, y)
Step 2: Test hh the same way. The result is −xy3-xy^3, which is a different polynomial from x3yx^3y. A spot check confirms this: the point (1,2)(1, 2) rotates to (−2,1)(-2, 1), but h(1,2)=2h(1, 2) = 2 while h(−2,1)=−8h(-2, 1) = -8.
h(−y,x)=(−y)3x=−xy3≠x3yh(-y, x) = (-y)^3 x = -xy^3 \neq x^3y
Step 3: You only need to check the generator. Every element of GG is a power of gg. If ff is unchanged by gg, applying gg again leaves it unchanged, so ff is fixed by g2g^2, g3g^3, and g4=identityg^4 = \text{identity} as well.
f(gk⋅x)=f(x) for k=1,2,3,4f(g^k \cdot \mathbf{x}) = f(\mathbf{x}) \text{ for } k = 1, 2, 3, 4
Answer: f=x4+y4+5x2y2f = x^4 + y^4 + 5x^2y^2 is an invariant polynomial under the 90° rotation group. h=x3yh = x^3y is not, because rotation sends it to −xy3-xy^3.

Why It Matters

Symmetric polynomials are exactly the invariants of the symmetric group SnS_n permuting the variables. This explains why the discriminant (r1−r2)2(r_1 - r_2)^2 of a quadratic can be written using its coefficients alone, as b2−4acb^2 - 4ac when a=1a = 1. For any finite group acting on polynomials over a field, the ring of invariants is generated by finitely many invariant polynomials (Hilbert proved this in characteristic 0, and Noether extended it to every characteristic). Nagata later found actions of certain infinite groups where finite generation fails.

Common Mistakes

Mistake: Requiring every individual monomial to stay fixed, and so rejecting a polynomial like x3y−xy3x^3y - xy^3 under the 90° rotation.
Correction: Invariance applies to the whole polynomial, not to each term. Rotation sends x3y↦−xy3x^3y \mapsto -xy^3 and xy3↦−x3yxy^3 \mapsto -x^3y, so x3y−xy3↦−xy3+x3yx^3y - xy^3 \mapsto -xy^3 + x^3y, which is the original polynomial. The terms trade places, but the sum is unchanged.

Related Terms

  • Constant Polynomial — Simplest example, unchanged by every symmetry
  • Polynomial — The kind of expression that stays unchanged here
  • Invariant — The idea of staying unchanged under transformations
  • Group (Mathematics) — Supplies the symmetries that an invariant polynomial must respect
  • Symmetric Group — Its invariant polynomials are exactly the symmetric polynomials
  • Cyclic Group — Lets you test invariance using only one generator
  • Group Homomorphism — Describes a linear action as a map into invertible matrices