I've recently been thinking how to properly describe symmetric (even) function in any $\mathbb{R}^n$ with $n\in\mathbb{N}^*$.
I know that in the case of a real scalar function an even function is defined by: $$f\mbox{ is an even function} \Longleftrightarrow \forall x\in D, -x\in D,\ \quad f(x)=f(-x)$$
Where D is the definition domain of the function $f$
Then, i've been thinking of a generalization of this property for bigger spaces $\mathbb{R}^n,\ n>1$
For example, in the $\mathbb{R}^3$ case (2 variables scalar function), i came up with this idea ( i might be wrong)
\begin{align*}f\mbox{ is an even function}\Longleftrightarrow& \forall(x,y)\in D,\ \left\{\begin{array}{l} (-x,-y)\in D\\ (-x,y)\in D\\ (x,-y)\in D \end{array}\right.\\& \mbox{and}\ f(x,y)=f(-x,-y)=f(-x,y)=f(x,-y) \end{align*}
The extension of the idea to any $ \mathbb{R}^n,\ n>3$ is formulated as follows:
We begin by defining the matrix we can call the symmetry matrix $S_n\in M_{n\times(2^n-1)}(\mathbb{R})$.
For $n=2,3$: $$S^2=\left(\begin{matrix}-x_1 & -x_1 & x_1 \\ -x_2& x_2&-x_2\end{matrix}\right)\quad S^3=\left(\begin{matrix}-x_1&-x_1&-x_1&-x_1&x_1&x_1&x_1\\ -x_2&-x_2&x_2&x_2&-x_2&-x_2&x_2\\ -x_3&x_3&-x_3&x_3&-x_3&x_3&-x_3 \end{matrix}\right)$$ Then, we can say that $f$ is an even function if and only if: $$\forall (x_1,\cdots,x_n)\in D,\ \forall j\in[1,2^n-1],\ S_{i=1,\cdots,n;j}^n\in D\ \ \mbox{and}\ \ f((S_{i=1,\cdots,n;j}^n)^T)=f(x_1,\cdots,x_n) $$
Questions:
- I would like to know if this approach to extend the even notion in any finite dimension space is correct?
2.Where are my mistakes, if i made any?