CITE THIS NOTEBOOK: The angular speed distribution of randomly moving-particle group by Tao Guo. Wolfram Community OCT 26 2022.
ORIGINAL ARTICLE: Ting Yang, Tao Guo, The angular speed distribution of randomly moving-particle group. AIP Advances 12, 045005 (2022). https://doi.org/10.1063/5.0082251
ORIGINAL ARTICLE: Ting Yang, Tao Guo, The angular speed distribution of randomly moving-particle group. AIP Advances 12, 045005 (2022). https://doi.org/10.1063/5.0082251
Article abstract: Rotation is a common phenomenon in nature, although the detailed statistical principle behind it is seldom discussed. This article aims to inspire people to think about such problems. In this article, probability theory and the corresponding modules of Mathematica software are used to study the distribution of angular speeds generated by a population of equal-speed particles moving randomly in space. The probability density expression of this distribution is derived successfully, and its accuracy is then verified using simulation data. Finally, it is confirmed that the angular speed follows a Maxwell distribution with a specified scale parameter. This research may be helpful for understanding why most celestial bodies or microparticles in the universe are in rotation.
NOTE: If there is no special case, the Mathematica code starts with gray "" and is bold by default according to Mathematica's rules.
In[]:=
Part 1. The Deduce Process of Angular Speed Distribution
Part 1. The Deduce Process of Angular Speed Distribution
Given a number of particles (assume they uniformly distribute in spherical space) with the same speed (assume it is c) and randomly moving in 3-dimensional space, there must be a corresponding movement component to produce a rotation effect on the overall centroid at a certain moment in time.
Under the assumption that the random variables NormalDistribution[], NormalDistribution[] and NormalDistribution[], are independent of each other, the probability density of one coordinate X that is equivalent to the three coordinates of R, which is the unit random vector, can be written as [G. Marsaglia, “Choosing a point from the surface of a sphere,” The Annals of Mathematical Statistics 43, 645--46 (1972).][M. E. Muller, “A note on a method for generating points uniformly on n-dimensional spheres,” Communications of the ACM 2, 19--20 (1959).]:
N
1
N
2
N
3
Clear["Global`*"];X=TransformedDistribution++,{,,}ProductDistribution[{NormalDistribution[],3}];PDF[X,x]
N
1
2
N
1
2
N
2
2
N
3
N
1
N
2
N
3
Out[]=
|
The expression of in the main text is calculated as follows.
Ω'
In[]:=
X=cSin[ArcCos[Θ]]Cos[Η];Y=cSin[ArcCos[Θ]]Sin[Η];Z=0;FullSimplify++,Assumptionsc>0
2
X
2
Y
2
Z
Out[]=
c
1-
2
Θ
NOTE: in the main text is substituted by as the probability expression here.
ω'
ω'
In[]:=
ω'=TransformedDistributionc
1-
,ΘUniformDistribution[{-1,1}];FullSimplify[PDF[ω',x],Assumptionsc>0]2
Θ
Out[]=
|
NOTE: (x) in the main text is substituted by ωsx here. Then, the probability density of X, which represents one of the three equivalent coordinates of the angular velocity contributed by the random vector , can be obtained:
ω
S,X
Ω
S
V
S
In[]:=
ωsx=TransformedDistributionF1F2,F1ProbabilityDistribution,{x,-1,1},F2ProbabilityDistribution,{x,0,c};FullSimplify[PDF[ωsx,x],Assumptionsc>0]
1
2
x
c-
2
c
2
x
Out[]=
|
NOTE: (x,r) in the main text is substituted by ωbx here. Then, the probability density of the norm r of the radius r at which the starting point of the vector is located within the ball can be obtained:
ω
B,X
V
B
ωbx=TransformedDistributionx,xProbabilityDistribution
,{x,-c,c},Assumptionsr>0∧c>0;PDF[ωbx,x]
1
r
|
Out[]=
|
The distribution function of the contribution of to the equivalent coordinate of is calculated as follows:
V
B
Ω
B,X
Ω
B
In[]:=
CDFProbabilityDistribution
,x,-,,Assumptionsr>0∧c>0,x
|
c
r
c
r
Out[]=
|
We remove the meaningless parts of the above function and integrate the function in the whole unit ball (This code takes approximately 24 seconds):
In[]:=
FullSimplify4π
r,Assumptionsc>0
1
∫
0
2
r
|
Out[]=
|
We find the first derivative of the above result with respect to x:
In[]:=
FullSimplifyD
,x
|
Out[]=
|
We modify the above results to the form of a continuous function and integrate the function in the whole interval .
(-∞,∞)
In[]:=
Integrate
,{x,-∞,∞},Assumptionsc>0
|
Out[]=
4π
3
The above function is normalized according to the integration results:
In[]:=
FullSimplify
1
4π
3
|
The standard deviation of ωx is:
Part 2. Figures Used in This Article
Part 2. Figures Used in This Article
Figure 1
Figure 1
Figure 2
Figure 2
Figure 3
Figure 3