Why is the marginal pdf of $x$ constant? $x$ is the coordinate of the points uniformly distributed on the surface of a sphere
Distribution of scalar products of two random unit vectors in $D$ dimensions