A function f(x) is said to be invariant under the transformation x↦φ(x)=(φ1(x),…,φn(x)) if applying the transformation leaves the function unchanged:
f(φ(x))=f(x)
For example, consider the function f(x,y)=xy and the transformation
φ:(x,y)↦φ(x,y;α)=(αx,αy)
If we apply it we get
f(φ(x,y;α))=αxα1y=xy=f(x,y)
We get the original function again. When this happens we say that the function f is invariant under the transformation (x→φx, y→φy). This denomination works specifically for that pair: the function f is only invariant under that specific transformation. If you take a different function or a different transformation, the property is no longer necessarily true.
Another example:
f(x,y)=3y,{x→φx(x,y,α)=x+αy→φy(x,y,α)=y
f is invariant under the transformation, but in a very specific way: it's invariant because the transformation only changes x, but f(x,y) is actually independent of x. As such, f(x,y)≡f(y) and so f(φy(x,y,α))=f(y).