Let's analyze the effect of mean/std normalization on each vector individually and describe the resulting space.
Given a vector ( x_i \in \mathbb{R}^d ), we compute:
[
\mu_i = \frac{1}{d} \sum_{j=1}^d x_{i,j}, \quad \sigma_i = \sqrt{\frac{1}{d} \sum_{j=1}^d (x_{i,j} - \mu_i)^2}
]
Then we normalize:
[
z_i = \frac{x_i - \mu_i \mathbf{1}}{\sigma_i}
]
where ( \mathbf{1} ) is the vector of all ones.
Now, for each normalized vector ( z_i ), we have:
- Zero mean: ( \sum_{j=1}^d z_{i,j} = 0 ).
- Unit variance: ( \frac{1}{d} \sum_{j=1}^d z_{i,j}^2 = 1 ).
So each ( z_i ) lies on the intersection of two hypersurfaces in ( \mathbb{R}^d ):
- The hyperplane ( H = { z \in \mathbb{R}^d : \mathbf{1}^T z = 0 } ) (which has dimension ( d-1 )), and
- The hypersphere ( S = { z \in \mathbb{R}^d : |z|^2 = d } ) (since ( \frac{1}{d} |z|^2 = 1 ) implies ( |z|^2 = d )).
Therefore, each ( z_i ) lies in the set ( H \cap S ), which is a sphere of radius ( \sqrt{d} ) embedded in the ( (d-1) )-dimensional hyperplane ( H ). This is a ( (d-2) )-dimensional sphere (because it is the intersection of a hypersphere with a hyperplane passing through the origin, which gives a lower-dimensional sphere).
However, note that the normalization is applied independently to each vector. So the entire set of normalized vectors ( {z_i}_{i=1}^n ) all lie in the same space: the sphere ( H \cap S \subset \mathbb{R}^d ), which is a ( (d-2) )-dimensional sphere of radius ( \sqrt{d} ).
But wait: actually, the hyperplane ( H ) is ( (d-1) )-dimensional, and intersecting with the sphere ( S ) (which is ( (d-1) )-dimensional) gives a ( (d-2) )-dimensional manifold. Specifically, ( H \cap S ) is a sphere of dimension ( d-2 ) (since it is the set of points in ( H ) with fixed norm ( \sqrt{d} )), and it is isomorphic to ( S^{d-2}(\sqrt{d}) ), the ( (d-2) )-sphere of radius ( \sqrt{d} ).
However, there is a subtlety: the standard deviation ( \sigma_i ) is computed with the divisor ( d ) (not ( d-1 )), so the normalization exactly gives ( |z_i|^2 = d ). Also, the mean is exactly zero.
Therefore, the normalized vectors all lie on the sphere:
[
\mathcal{S} = \left{ z \in \mathbb{R}^d : \mathbf{1}^T z = 0, \quad |z|^2 = d \right}
]
This is a ( (d-2) )-dimensional sphere (since it is defined by one linear constraint and one quadratic constraint, both independent). In fact, it is a sphere of radius ( \sqrt{d} ) in the ( (d-1) )-dimensional hyperplane perpendicular to ( \mathbf{1} ).
Topology: The space ( \mathcal{S} ) is homeomorphic to ( S^{d-2} ) (the standard ( (d-2) )-sphere). The radius ( \sqrt{d} ) is just a scaling and does not affect the topology.
So, after normalization, each vector lies on a sphere of dimension ( d-2 ). This means that the normalized vectors are constrained to a compact manifold without boundary, which is a sphere of dimension ( d-2 ).
Important note: For ( d=1 ), the normalization is problematic because if all components are the same (which happens with positive probability since sampling is uniform), then ( \sigma_i = 0 ) and normalization is undefined. For ( d=2 ), the normalized vectors lie on a 0-sphere (i.e., two isolated points: ( (\sqrt{2}, -\sqrt{2}) ) and ( (-\sqrt{2}, \sqrt{2}) ), up to permutation). For ( d \geq 3 ), the space is a connected sphere of dimension ( d-2 ).
In summary:
- The normalized vectors lie on a ( (d-2) )-dimensional sphere of radius ( \sqrt{d} ) embedded in ( \mathbb{R}^d ).
- The topology is that of ( S^{d-2} ).
This is because the normalization removes two degrees of freedom: one for the mean and one for the variance.