1 Kinetics

1.5 Change of variables and solid angles

(September 1, 2023)

1.5.1 Change of variables in 1d

Given a variable x and its probability distribution

d⁢𝒫x=P⁢(x)⁢d⁢x (1.54)

How do we find the probability of u, given a map φ:x→u, i.e. when u⁢(x) is a function of x? Assuming that that the map is one to one we have

d⁢𝒫u=P⁢(x⁢(u))⁢|d⁢xd⁢u|⁢d⁢u=P⁢(x⁢(u))⁢d⁢u|d⁢ud⁢x| (1.55)

We note the absolute values here, which reflects the fact that when discussing probability we are asking whether a particle is in a bin of size d⁢u, and the bin size isn’t like positive or negative.

The general formula for change of variables for an unoriented integral (like probability) is 33 3 The difference between oriented and unoriented integral is a matter of semantics at this level. If one replaces an integral by a sum of rectangles, you can sum them up in order from the beginning to the end (an oriented integral), or you can sum them up in any order provided they are in a specified region (an unoriented integral).

∫Rf⁢(x)⁢dx=∫Ruf⁢(x⁢(u))⁢|d⁢xd⁢u|⁢du (1.56)

Here R is the region of integration for x (for example R could be interval [1,2]), and Ru is the image of R under the map (for example if the map is u⁢(x)=-2⁢x then Ru is [-4,-2]).

To set yourself straight of this notation just make the change of variables in a simple integral, getting the signs right. For example, consider the basic integral:

I=∫12dx=∫[1,2]dx=12 (1.57)

Undergoing a change of variables with u=-2⁢x, giving x=-u/2 and d⁢x=-12⁢d⁢u, with |d⁢x/d⁢u|=12. The integral then becomes

I=∫-2-4(-12)⁢du=∫-4-212⁢du=∫[-4,-2]12⁢du=1 (1.58)

1.5.2 Higher dimensions: spherical coordinates and solid angle

In higher-dimensions we have

d⁢𝒫=P⁢(x,y,z)⁢d⁢x⁢d⁢y⁢d⁢z⏟dV (1.59)

where d⁢V is the “volume element”. We will use spherical coordinates x=r⁢sin⁡θ⁢cos⁡ϕ, y=r⁢sin⁡θ⁢sin⁡ϕ, and z=r⁢cos⁡θ (see Fig. 1.1).

 
Spherical coordinates. Use the picture to justify
Figure 1.1: Spherical coordinates. Use the picture to justify x=r⁢sin⁡θ⁢cos⁡ϕ, y=r⁢sin⁡θ⁢sin⁡ϕ and z=r⁢cos⁡θ.

A bit of geometry shows that the differential area d⁢A and the volume element d⁢V in spherical coordinates are (see Fig. 1.2)

d⁢A= r2⁢sin⁡θ⁢d⁢θ⁢d⁢ϕ (1.60)
d⁢V= d⁢A⁢d⁢r=r2⁢sin⁡θ⁢d⁢r⁢d⁢θ⁢d⁢ϕ (1.61)
 
Spherical coordinates. From the figure, justify Eq. (
Figure 1.2: Spherical coordinates. From the figure, justify Eq. (1.60)

So in spherical coordinates

d⁢𝒫= P⁢(x,y,z)⁢r2⁢sin⁡θ⁢d⁢r⁢d⁢θ⁢d⁢ϕ (1.62)
≡ P⁢(r,θ⁢ϕ)⁢d⁢r⁢d⁢θ⁢d⁢ϕ (1.63)

For example, if

P⁢(x,y,z)=C⁢e-(x2+y2+z2)/2⁢σ2 (1.64)

Then

P⁢(r,θ,ϕ)=C⁢e-r/2⁢σ2⁢r2⁢sin⁡θ (1.65)

Rather than using geometry, we can use algebra to make the change of variables. The generalization of Eq. (1.55) is

d⁢𝒫r,θ,ϕ= P⁢(x,y,z)⁢||∂⁡(x,y,z)∂⁡(r,θ,ϕ)||⁢d⁢r⁢d⁢θ⁢d⁢ϕ=P⁢(r,θ,ϕ)⁢d⁢r⁢d⁢θ⁢d⁢ϕ (1.66)

Here it is understood that x=r⁢sin⁡θ⁢cos⁡ϕ, y=r⁢sin⁡θ⁢sin⁡ϕ, and z=r⁢cos⁡θ are functions of (r,θ,ϕ) (see Fig. 1.1). The double bars denote the absolute value, of the determinant of the Jacobian matrix. The Jacobian matrix (determinant) is defined by the matrix (determinant) of the possible derivatives

|∂⁡(x,y,z)∂⁡(r,θ,ϕ)|=|∂⁡x∂⁡r∂⁡x∂⁡θ∂⁡x∂⁡ϕ∂⁡y∂⁡r∂⁡y∂⁡θ∂⁡y∂⁡ϕ∂⁡z∂⁡r∂⁡z∂⁡θ∂⁡z∂⁡ϕ|=|sin⁡θ⁢cos⁡ϕr⁢cos⁡θ⁢cos⁡ϕ-r⁢sin⁡θ⁢sin⁡ϕsin⁡θ⁢sin⁡ϕr⁢cos⁡θ⁢sin⁡ϕr⁢sin⁡θ⁢cos⁡ϕcos⁡θ-r⁢sin⁡θ0|=r2⁢sin⁡θ (1.67)

Take a patch of area A on a sphere. The solid angle is defined as44 4 I have always found the word “angle” here problematic, since it is a two dimensional region were are talking about. Indeed, the differential solid “angle”, d⁢Ω=sin⁡θ⁢d⁢θ⁢d⁢ϕ, is parametrized by two angles, θ and ϕ

Ω≡Ar2. (1.68)

This analogous to an angle in 1d where θ=s/r. Since the area of a region on the a sphere runs from 0 up to 4⁢π⁢r2, we have that Ω is in the range 0⁢…⁢4⁢π. For a small patch of the sphere subtended by d⁢θ and d⁢ϕ (at angles θ,ϕ) we have from the geometry:

d⁢Ω≡d⁢Ar2=sin⁡θ⁢d⁢θ⁢d⁢ϕ (1.69)

If a particle’s position is distributed uniformly over the sphere, the probability distribution is

d⁢𝒫=d⁢A4⁢π⁢r2=d⁢Ω4⁢π=sin⁡θ⁢d⁢θ⁢d⁢ϕ4⁢π (1.70)