Random Unit Vector From a uniform Distribution

AI Thread Summary
To randomly choose a unit n-dimensional vector from a uniform distribution, one can utilize generalized spherical coordinates or generate a vector from a multivariate normal distribution and normalize it. The multivariate unit normal distribution has a spherical probability distribution, ensuring that the direction of the vector is uniformly distributed over the unit n-sphere. The covariance matrix of this distribution is a constant times the identity matrix, which supports the uniformity of direction. Understanding how to derive the probability density from the covariance matrix is crucial for calculating expectation values. This approach effectively addresses the problem of generating uniform random vectors in higher dimensions.
emob2p
Messages
56
Reaction score
1
Hi,

I have encountered the following problem in my research. As I do not have a strong background in probability theory, I was wondering if anyone here could help me through the following.

I would like to know how one makes rigorous the problem of randomly choosing a unit n-dimensional vector from a uniform distribution.

This is like choosing an point on the n-sphere in which the problem can be solved by switching to generalized spherical coordinates. However, I have read that one can also generate a uniform distribution from a normal distribution of the vector's coorindates, and then dividing by the norm. It is not clear to me why this method produces a uniform distribution.

Thanks Much,
Eric
 
Physics news on Phys.org
The covariance matrix of a multivariate unit normal expressed in cartesian coordinates is a constant times the identity matrix. In other words, the multivariate unit normal has a spherical probability distribution. The direction is uniformly distributed over the unit n-sphere.
 
D H said:
In other words, the multivariate unit normal has a spherical probability distribution.

Why does this follow? And if so, how does one use the covariance matrix to obtain a probability density that can be integrated to find expectation values?
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...
Back
Top