for any group $G$, a $G$-invariant polynomial over the reals is a multivariate polynomial $f\in \mathbb R[x]$ such that, for every $g\in G$ we have $f(x)=f(\gamma(g)x)$, where $\gamma$ is the general linear group representation of $G$. I want to show that:
A polynomial is $G$-invariant if and only if all its homogeneous components are invariant.
But I cant prove that. Can you give me a hint please?
All the monomials those have same degree is called a homogeneous component. I know that product and sum of two $G$-invariant polynomials is $G$-invariant.