Differential operators

Spin-weighted spherical functions cannot be defined on the sphere $S^2$, but are well defined on the group $\mathrm{Spin}(3) \cong \mathrm{SU}(2)$ or the rotation group $\mathrm{SO}(3)$. (See Boyle [1] for the explanation.) However, this also allows us to define a variety of differential operators acting on these functions, relating to infinitesimal motions in these groups, acting either from the left or the right on their arguments. Right or left matters because the groups mentioned above are all non-commutative groups.

In general, the left Lie derivative of a function $f(Q)$ over the unit quaternions with respect to a generator of rotation $g$ is defined as

\[L_g(f)\{Q\} := -\frac{i}{2} \left. \frac{df\left(\exp(t\,g)\, Q\right)}{dt} \right|_{t=0}.\]

Note that the exponential multiplies $Q$ on the left — hence the name. We will see below that this agrees with the usual definition of the angular-momentum from physics, except that in quantum physics a factor of $\hbar$ is usually included.

So, for example, a rotation about the $z$ axis has the quaternion $z$ as its generator of rotation, and $L_z$ defined in this way agrees with the usual angular-momentum operator $L_z$ familiar from spherical-harmonic theory, and reduces to it when the function has spin weight 0, but also applies to functions of general spin weight. Similarly, we can compute $L_x$ and $L_y$, and take appropriate combinations to find the usual raising and lowering (ladder) operators $L_+$ and $L_-$.

In just the same way, we can define the right Lie derivative of a function $f(Q)$ over the unit quaternions with respect to a generator of rotation $g$ as

\[R_g(f)\{Q\} := -\frac{i}{2} \left. \frac{df\left(Q\, \exp(t\,g)\right)}{dt} \right|_{t=0}.\]

Note that the exponential multiplies $Q$ on the right — hence the name.

This operator is less common in physics, because it represents the dependence of the function on the choice of frame (or coordinate system), which is not usually of interest. Multiplication on the left represents a rotation of the physical system, while rotation on the right represents a rotation of the coordinate system. However, this dependence on coordinate system is precisely what defines the spin weight of a function, so this class of operators is relevant in discussions of spin-weighted spherical functions. In particular, the operators $R_\pm$ correspond (up to a sign) to the spin-raising and -lowering operators $\eth$ and $\bar{\eth}$ originally introduced by Newman and Penrose [7], as explained in greater detail by Boyle [1].

Note that these definitions are extremely general, in that they can be used for any Lie group, and for any complex-valued function on that group. And in full generality, we have the useful properties of linearity:

\[L_{s\mathbf{a}} = sL_{\mathbf{a}} \qquad \text{and} \qquad R_{s\mathbf{a}} = sR_{\mathbf{a}},\]

and

\[L_{\mathbf{a}+\mathbf{b}} = L_{\mathbf{a}} + L_{\mathbf{b}} \qquad \text{and} \qquad R_{\mathbf{a}+\mathbf{b}} = R_{\mathbf{a}} + R_{\mathbf{b}},\]

for any scalar $s$ and any elements of the Lie algebra $\mathbf{a}$ and $\mathbf{b}$. In particular, if the Lie algebra has a basis $\mathbf{e}_{(j)}$, we use the shorthand $L_j$ and $R_j$ for $L_{\mathbf{e}_{(j)}}$ and $R_{\mathbf{e}_{(j)}}$, respectively, and we can expand any operator in terms of these basis operators:

\[L_{\mathbf{a}} = \sum_{j} a_j L_j \qquad \text{and} \qquad R_{\mathbf{a}} = \sum_{j} a_j R_j.\]

Commutators

In general, for generators $a$ and $b$, we have the commutator relations

\[\left[ L_a, L_b \right] = \frac{i}{2} L_{[a,b]} \qquad \left[ R_a, R_b \right] = -\frac{i}{2} R_{[a,b]},\]

where $[a,b]$ is the commutator of the two generators, which can be obtained directly as the commutator of the corresponding quaternions. Note the sign difference between these two equations. The factors of $\pm i/2$ are inherited directly from the definitions of $L_g$ and $R_g$ given above, but they appear there with the same sign. The sign difference between these two commutator equations results from the fact that the quaternions are multiplied in opposite orders in the two cases. It could be absorbed by defining the operators with opposite signs.[1] The arbitrary sign choices used above are purely for historical reasons.

Again, these results are valid for general (finite-dimensional) Lie groups, but a particularly interesting case is in application to the three-dimensional rotation group. In the following, we will apply our results to this group.

The commutator relations for $L$ are consistent — except for the differing use of $\hbar$ — with the usual relations from quantum mechanics:

\[\left[ L_j, L_k \right] = i \hbar \sum_{l=1}^{3} \varepsilon_{jkl} L_l.\]

Here, $j$, $k$, and $l$ are indices that run from 1 to 3, and index the set of basis vectors $(\hat{x}, \hat{y}, \hat{z})$. If we represent an arbitrary basis vector as $\hat{e}_j$, then the quaternion commutator $[a,b]$ in the expression for $[L_a, L_b]$ becomes

\[[\hat{e}_j, \hat{e}_k] = 2 \sum_{l=1}^{3} \varepsilon_{jkl} \hat{e}_l.\]

Plugging this into the general expression $[L_a, L_b] = \frac{i}{2} L_{[a,b]}$, we obtain (up to the factor of $\hbar$) the version frequently seen in quantum physics.

The raising and lowering operators relative to $L_z$ and $R_z$ satisfy — by definition of raising and lowering operators — the relations

\[[L_z, L_\pm] = \pm L_\pm \qquad [R_z, R_\pm] = \pm R_\pm.\]

These allow us to solve — up to an overall factor — for those operators in terms of the basic generators (again, noting the sign difference):

\[L_\pm = L_x \pm i L_y \qquad R_\pm = R_x \mp i R_y.\]

(Interestingly, this procedure also shows that rasing and lowering operators can only exist if the factor in front of the derivatives in the definitions of $L_g$ and $R_g$ are pure imaginary numbers.) In particular, this results in the commutator relations

\[[L_+, L_-] = 2L_z \qquad [R_+, R_-] = 2R_z.\]

Here, the signs are similar because the two sign differences noted above essentially cancel each other out.

In the functions listed below, these operators are returned as matrices acting on vectors of mode weights. As such, we can actually evaluate these commutators as given to cross-validate the expressions and those functions.

Transformations of functions vs. mode weights

One important point to note is that mode weights transform "contravariantly" (very loosely speaking) relative to the spin-weighted spherical functions under some operators. For example, take the action of the $L_+$ operator, which acts on a SWSH as

\[L_+ \left\{{}_{s}Y_{\ell,m}\right\} (R) = \sqrt{(\ell-m)(\ell+m+1)} {}_{s}Y_{\ell,m+1}(R).\]

We can use this to derive the mode weights of a general spin-weighted function $f$ under the action of this operator:[2]

\[\begin{aligned} \left\{L_+ f\right\}_{\ell,m} &= \int \left\{L_+ f(R)\right\}\, {}_{s}\bar{Y}_{\ell,m}(R)\, dR \\ &= \int \left\{L_+ \sum_{\ell',m'}f_{\ell',m'}\, {}_{s}Y_{\ell',m'}(R)\right\}\, {}_{s}\bar{Y}_{\ell,m}(R)\, dR \\ &= \int \sum_{\ell',m'} f_{\ell',m'}\, \left\{L_+ {}_{s}Y_{\ell',m'}(R)\right\}\, {}_{s}\bar{Y}_{\ell,m}(R)\, dR \\ &= \sum_{\ell',m'} f_{\ell',m'}\, \int \left\{L_+ {}_{s}Y_{\ell',m'}(R)\right\}\, {}_{s}\bar{Y}_{\ell,m}(R)\, dR \\ &= \sum_{\ell',m'} f_{\ell',m'}\, \int \left\{\sqrt{(\ell'-m')(\ell'+m'+1)} {}_{s}Y_{\ell',m'+1}(R)\right\}\, {}_{s}\bar{Y}_{\ell,m}(R)\, dR \\ &= \sum_{\ell',m'} f_{\ell',m'}\, \sqrt{(\ell'-m')(\ell'+m'+1)} \int {}_{s}Y_{\ell',m'+1}(R)\, {}_{s}\bar{Y}_{\ell,m}(R)\, dR \\ &= \sum_{\ell',m'} f_{\ell',m'}\, \sqrt{(\ell'-m')(\ell'+m'+1)} \delta_{\ell,\ell'} \delta_{m,m'+1} \\ &= f_{\ell,m-1}\, \sqrt{(\ell-m+1)(\ell+m)} \end{aligned}\]

Note that this expression (and in particular its signs) more resembles the expression for $L_- \left\{{}_{s}Y_{\ell,m}\right\}$ than for $L_+ \left\{{}_{s}Y_{\ell,m}\right\}$. Similar relations hold for the action of $L_-$.

However, it is important to note that the same "contravariance" is not present for the spin-raising and -lowering operators:

\[\begin{aligned} \left\{\eth f\right\}_{\ell,m} &= \int \left\{\eth f(R)\right\}\, {}_{s+1}\bar{Y}_{\ell,m}(R)\, dR \\ &= \int \left\{\eth \sum_{\ell',m'}f_{\ell',m'}\, {}_{s}Y_{\ell',m'}(R)\right\}\, {}_{s+1}\bar{Y}_{\ell,m}(R)\, dR \\ &= \sum_{\ell',m'} f_{\ell',m'}\, \int \left\{\eth {}_{s}Y_{\ell',m'}(R)\right\}\, {}_{s+1}\bar{Y}_{\ell,m}(R)\, dR \\ &= \sum_{\ell',m'} f_{\ell',m'}\, \sqrt{(\ell'-s)(\ell'+s+1)} \int {}_{s+1}Y_{\ell',m'}(R)\, {}_{s+1}\bar{Y}_{\ell,m}(R)\, dR \\ &= \sum_{\ell',m'} f_{\ell',m'}\, \sqrt{(\ell'-s)(\ell'+s+1)} \delta_{\ell,\ell'} \delta_{m,m'} \\ &= f_{\ell,m}\, \sqrt{(\ell-s)(\ell+s+1)} \end{aligned}\]

Similarly $\bar{\eth}$ — and $R_\pm$ of course — obey this more "covariant" form of transformation.

Docstrings

SphericalFunctions.LzMethod
Lz(s, ℓₘᵢₙ, ℓₘₐₓ, [T])

Compute the angular-momentum operator associated with the $z$ direction. This is the standard $L_z$ operator, familiar from basic physics, extended to work with SWSHs. Note that this is the left Lie derivative; see Rz for the equivalent right Lie derivative. See the documentation or Boyle for more details.

In terms of the SWSHs, we can write the action of $L_z$ as

\[L_z {}_{s}Y_{\ell,m} = m\, {}_{s}Y_{\ell,m}\]

See also , L₊, L₋, , Rz, R₊, R₋, ð, ð̄.

source
SphericalFunctions.L²Method
L²(s, ℓₘᵢₙ, ℓₘₐₓ, [T])

Compute the total angular-momentum operator from ℓₘᵢₙ up to ℓₘₐₓ. If not present, ℓₘᵢₙ is assumed to be abs(s). The argument s is ignored; it is present only for consistency with other operators, and is assumed to be 0 if not present.

This is the standard $L²$ operator, familiar from basic physics, extended to work with SWSHs. It is also known as the Casimir operator, and is equal to

\[L^2 = L_x^2 + L_y^2 + L_z^2 = \frac{L_+L_- + L_-L_+ + 2L_zL_z}{2}.\]

Note that these are the left Lie derivatives, but $L^2 = R^2$, where R is the right Lie derivative. See the documentation or Boyle for more details.

In terms of the SWSHs, we can write the action of $L^2$ as

\[L^2 {}_{s}Y_{\ell,m} = \ell\,(\ell+1) {}_{s}Y_{\ell,m}\]

See also Lz, L₊, L₋, , Rz, R₊, R₋, ð, ð̄.

source
SphericalFunctions.L₊Method
L₊(s, ℓₘᵢₙ, ℓₘₐₓ, [T])

Compute the angular-momentum raising operator. This is the standard $L_+$ operator, familiar from basic physics, extended to work with SWSHs. Note that this is the left Lie derivative; see R₊ for the equivalent right Lie derivative. See the documentation or Boyle for more details.

We define $L_+$ to be the raising operator for the left Lie derivative with respect to rotation about $z$: $L_z$. By definition, this implies the commutator relation $[L_z, L_+] = L_+$, which allows us to derive $L_+ = L_x + i\, L_y.$

In terms of the SWSHs, we can write the action of $L_+$ as

\[L_+ {}_{s}Y_{\ell,m} = \sqrt{(\ell-m)(\ell+m+1)}\, {}_{s}Y_{\ell,m+1}.\]

Consequently, the mode weights of a function are affected as

\[\left\{L_+(f)\right\}_{s,\ell,m} = \sqrt{(\ell+m)(\ell-m+1)}\,\left\{f\right\}_{s,\ell,m-1}.\]

See also , Lz, L₋, , Rz, R₊, R₋, ð, ð̄.

source
SphericalFunctions.L₋Method
L₋(s, ℓₘᵢₙ, ℓₘₐₓ, [T])

Compute the angular-momentum lowering operator. This is the standard $L_-$ operator, familiar from basic physics, extended to work with SWSHs. Note that this is the left Lie derivative; see R₋ for the equivalent right Lie derivative. See the documentation or Boyle for more details.

We define $L_-$ to be the lowering operator for the left Lie derivative with respect to rotation about $z$: $L_z$. By definition, this implies the commutator relation $[L_z, L_-] = -L_-$, which allows us to derive $L_- = L_x - i\, L_y.$

In terms of the SWSHs, we can write the action of $L_-$ as

\[L_- {}_{s}Y_{\ell,m} = \sqrt{(\ell+m)(\ell-m+1)}\, {}_{s}Y_{\ell,m-1}.\]

Consequently, the mode weights of a function are affected as

\[\left\{L_-(f)\right\}_{s,\ell,m} = \sqrt{(\ell-m)(\ell+m+1)}\,\left\{f\right\}_{s,\ell,m+1}.\]

See also , Lz, L₊, L₋, , Rz, R₊, R₋, ð, ð̄.

source
SphericalFunctions.RzMethod
Rz(s, ℓₘᵢₙ, ℓₘₐₓ, [T])

Compute the right angular-momentum operator associated with the $z$ direction.

This is the $R_z$ operator, much like the $L_z$ operator familiar from basic physics, but in terms of the right Lie derivative, and extended to work with SWSHs. See Lz for the equivalent left Lie derivative. See the documentation or Boyle for more details.

In terms of the SWSHs, we can write the action of $R_z$ as

\[R_z {}_{s}Y_{\ell,m} = -s\, {}_{s}Y_{\ell,m}\]

Note the unfortunate sign of $s$, which seems to be opposite to what we expect, and arises from the choice of definition of $s$ in the original paper by Newman and Penrose.

See also , Lz, L₊, L₋, , R₊, R₋, ð, ð̄.

source
SphericalFunctions.R²Method
R²(s, ℓₘᵢₙ, ℓₘₐₓ, [T])

Compute the total angular-momentum operator from ℓₘᵢₙ up to ℓₘₐₓ. If not present, ℓₘᵢₙ is assumed to be abs(s). The argument s is ignored; it is present only for consistency with other operators, and is assumed to be 0 if not present.

This is the $R^2$ operator, much like the $L^2$ operator familiar from basic physics, but in terms of the right Lie derivative, and extended to work with SWSHs. It is also known as the Casimir operator, and is equal to

\[R^2 = R_x^2 + R_y^2 + R_z^2 = \frac{R_+R_- + R_-R_+ + 2R_zR_z}{2}.\]

Note that these are the right Lie derivatives, but $L^2 = R^2$, where L is the left Lie derivative. See the documentation or Boyle for more details.

In terms of the SWSHs, we can write the action of $R^2$ as

\[R^2 {}_{s}Y_{\ell,m} = \ell\,(\ell+1) {}_{s}Y_{\ell,m}\]

See also , Lz, L₊, L₋, Rz, R₊, R₋, ð, ð̄.

source
SphericalFunctions.R₊Method
R₊(s, ℓₘᵢₙ, ℓₘₐₓ, [T])

Compute the right angular-momentum raising operator.

This is the $R_+$ operator, much like the $L_+$ operator familiar from basic physics, but in terms of the right Lie derivative, and extended to work with SWSHs. See L₊ for the equivalent left Lie derivative. See the documentation or Boyle for more details.

We define $R_+$ to be the raising operator for the right Lie derivative with respect to rotation about $z$: $R_z$. By definition, this implies the commutator relation $[R_z, R_+] = R_+$, which allows us to derive $R_+ = R_x - i\, R_y.$

In terms of the SWSHs, we can write the action of $R_+$ as

\[R_+ {}_{s}Y_{\ell,m} = \sqrt{(\ell+s)(\ell-s+1)}\, {}_{s-1}Y_{\ell,m}\]

Consequently, the mode weights of a function are affected as

\[\left\{R_+(f)\right\}_{s,\ell,m} = \sqrt{(\ell+s)(\ell-s+1)}\,\left\{f\right\}_{s-1,\ell,m}.\]

Because of the unfortunate sign of $s$ arising from the choice of definition of $s$ in the original paper by Newman and Penrose, this is a lowering operator for $s$, though it really is a raising operator for $R_z$, and raises the eigenvalue of the corresponding Wigner matrix.

See also , Lz, L₊, L₋, , Rz, R₋, ð, ð̄.

source
SphericalFunctions.R₋Method
R₋(s, ℓₘᵢₙ, ℓₘₐₓ, [T])

Compute the right angular-momentum lowering operator.

This is the $R_-$ operator, much like the $L_-$ operator familiar from basic physics, but in terms of the right Lie derivative, and extended to work with SWSHs. See L₋ for the equivalent left Lie derivative. See the documentation or Boyle for more details.

We define $R_-$ to be the raising operator for the right Lie derivative with respect to rotation about $z$: $R_z$. By definition, this implies the commutator relation $[R_z, R_-] = -R_-$, which allows us to derive $R_- = R_x + i\, R_y.$

In terms of the SWSHs, we can write the action of $R_-$ as

\[R_- {}_{s}Y_{\ell,m} = \sqrt{(\ell-s)(\ell+s+1)}\, {}_{s+1}Y_{\ell,m}\]

Consequently, the mode weights of a function are affected as

\[\left\{R_-(f)\right\}_{s,\ell,m} = \sqrt{(\ell-s)(\ell+s+1)}\,\left\{f\right\}_{s+1,\ell,m}.\]

Because of the unfortunate sign of $s$ arising from the choice of definition of $s$ in the original paper by Newman and Penrose, this is a raising operator for $s$, though it really is a lowering operator for $R_z$, and lowers the eigenvalue of the corresponding Wigner matrix - though that raises the eigenvalue of the corresponding Wigner matrix.

See also , Lz, L₊, L₋, , Rz, R₊, ð, ð̄.

source
SphericalFunctions.ðMethod
ð(s, ℓₘᵢₙ, ℓₘₐₓ, [T])

Compute coefficients for the spin-raising operator $\eth$.

This operator was originally defined by Newman and Penrose, but is more completely defined by Boyle. It is identical to R₋. Refer to that function's documentation for more details.

By definition, the spin-raising operator satisfies the commutator relation $[S, \eth] = \eth$ (where $S$ is the spin operator, which just multiplies the function by its spin). In terms of the SWSHs, we can write the action of $\eth$ as

\[ \eth {}_{s}Y_{\ell,m} = \sqrt{(\ell-s)(\ell+s+1)} {}_{s+1}Y_{\ell,m}.\]

Consequently, the mode weights of a function are affected as

\[\left\{\eth f\right\}_{s,\ell,m} = \sqrt{(\ell-s)(\ell+s+1)}\,\left\{f\right\}_{s+1,\ell,m}.\]

See also ð̄, , Lz, L₊, L₋, , Rz, R₊.

source
SphericalFunctions.ð̄Method
ð̄(s, ℓₘᵢₙ, ℓₘₐₓ, [T])

Compute coefficients for the spin-lowering operator $\bar{\eth}$.

This operator was originally defined by Newman and Penrose, but is more completely defined by Boyle. It is opposite to R₊ — meaning that $\bar{\eth} = -R₊$. Refer to that function's documentation for more details.

By definition, the spin-lowering operator satisfies the commutator relation $[S, \bar{\eth}] = -\bar{\eth}$ (where $S$ is the spin operator, which just multiplies the function by its spin). In terms of the SWSHs, we can write the action of $\bar{\eth}$ as

\[\bar{\eth} {}_{s}Y_{\ell,m} = -\sqrt{(\ell+s)(\ell-s+1)} {}_{s-1}Y_{\ell,m}.\]

Consequently, the mode weights of a function are affected as

\[\left\{\bar{\eth} f\right\}_{s,\ell,m} = -\sqrt{(\ell-s)(\ell+s+1)}\,\left\{f\right\}_{s+1,\ell,m}.\]

See also ð, , Lz, L₊, L₋, , Rz, R₊.

source
  • 1In fact, we can define the left and right Lie derivative operators quite generally, for functions on any Lie group and for the corresponding Lie algebra. And in all cases (at least for finite-dimensional Lie algebras) we obtain the same commutator relations. The only potential difference is that it may not make sense to use the coefficient $i/2$ in general; it was chosen here for consistency with the standard angular-momentum operators. If that coefficient is changed in the definitions of the Lie derivatives, the only change to the commutator relations would the substitution of that coefficient.
  • 2A technical note about the integrals above: the integrals should be taken over the appropriate space and with the appropriate weight such that the SWSHs are orthonormal. In general, this integral should be over $\mathrm{Spin}(3)$ and weighted by $1/2\pi$ so that the result will be either $0$ or $1$; in general the SWSHs are not truly orthonormal when integrated over an $S^2$ subspace (nor even is the integral invariant). However, if we know that the spins are the same in both cases, it is possible to integrate over an $S^2$ subspace.