Page updated: October 10, 2021
Author: Curtis Mobley
View PDF

# Geometry

This page develops the mathematical tools needed to specify directions and angles in three-dimensional space. These mathematical concepts are fundamental to the speciﬁcation of how much light there is and what direction it is traveling.

### Coordinate Systems and Directions

Locations and directions will be speciﬁed with reference to particular coordinate systems chosen to be convenient for the problem at hand. These coordinate systems can be “global” or “ocean” systems that are ﬁxed once and for all in their spatial orientation, or they can be “local” systems determined by the instantaneous direction of light propagation.

#### Global coordinate systems

The most common ocean system is deﬁned as follows. Let let $\stackrel{̂}{x},ŷ$ and $ẑ$ be three mutually perpendicular unit vectors that deﬁne a right-handed Cartesian coordinate system. Let the depth $z$ be measured positive downward from 0 at the mean sea surface, as is customary in oceanography. The unit direction vector $ẑ$ thus points downward. For problems involving sea surface waves it is convenient to resolve the waves into “along-wind” and “cross-wind” components (see the pages on Cox-Munk sea-surface slope statistics and modeling sea surfaces). This is most easily done if $\stackrel{̂}{x}$ is chosen to be in the direction that the wind is blowing over the ocean surface, i.e. $\stackrel{̂}{x}$ points downwind. The cross-wind direction is then given by the cross (or vector) product $ŷ=ẑ×\stackrel{̂}{x}$. This deﬁnes the “wind-based” coordinate system used in the HydroLight radiative transfer code. If the problem at hand required the analysis of Sun glint on the sea surface as seen from an airplane, then it would be convenient to use a “Sun-based” system with $\stackrel{̂}{x}$ pointing towards or away from the Sun and $ẑ$ pointing upward, away from the mean sea surface (see Fig. 2 of the Cox-Munk page). No matter how chosen, the $\left(\stackrel{̂}{x},ŷ,ẑ\right)$ directions remain ﬁxed in space for the given problem.

Given a global coordinate system, a direction in space is speciﬁed as follows. Let $\stackrel{̂}{\xi }$ denote a unit vector pointing in the desired direction. The vector $\stackrel{̂}{\xi }$ has components ${\xi }_{x},{\xi }_{y}$ and ${\xi }_{z}$ in the $\stackrel{̂}{x},ŷ$ and $ẑ$ directions, respectively. We can therefore write

 $\stackrel{̂}{\xi }={\xi }_{x}\stackrel{̂}{x}+{\xi }_{y}ŷ+{\xi }_{z}ẑ\phantom{\rule{2.6108pt}{0ex}},$

or just $\stackrel{̂}{\xi }=\left({\xi }_{x},{\xi }_{y},{\xi }_{z}\right)$ for notational convenience. Note that because $\stackrel{̂}{\xi }$ is of unit length, its components satisfy ${\xi }_{x}^{2}+{\xi }_{y}^{2}+{\xi }_{z}^{2}=1.$

An alternative description of $\stackrel{̂}{\xi }$ is given by the angles $𝜃$ and $\varphi$, deﬁned as shown in Fig. 1. The polar angle $𝜃$ is measured from the direction of $ẑ$, and the azimuthal angle $\varphi$ is measured positive counterclockwise from $\stackrel{̂}{x}$, when looking toward the origin along $ẑ$ (i.e. when looking in the $-ẑ$ direction). For downward directions (the red arrow in the ﬁgure), $𝜃<\pi ∕2$; for upward directions (the green arrow in Panel (b)), $𝜃>\pi ∕2$. The connection between $\stackrel{̂}{\xi }=\left({\xi }_{x},{\xi }_{y},{\xi }_{z}\right)$ and $\stackrel{̂}{\xi }=\left(𝜃,\varphi \right)$ is obtained by inspection of Panel (a) of Fig. 1:

$\begin{array}{llll}\hfill {\xi }_{x}=& sin𝜃cos\varphi \phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill {\xi }_{y}=& sin𝜃sin\varphi \phantom{\rule{2em}{0ex}}& \hfill \text{(1)}\\ \hfill {\xi }_{z}=& cos𝜃\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\end{array}$

where $𝜃$ and $\varphi$ lie in the ranges $0\le 𝜃\le \pi$ and $0\le \varphi <2\pi$. The inverse transformation is

$\begin{array}{llll}\hfill 𝜃=& {cos}^{-1}\left({\xi }_{z}\right)\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill \varphi =& {tan}^{-1}\left(\frac{{\xi }_{y}}{{\xi }_{x}}\right)\phantom{\rule{2em}{0ex}}& \hfill \text{(2)}\end{array}$

The polar coordinate form of $\stackrel{̂}{\xi }$ could be written as $\stackrel{̂}{\xi }=\left(r,𝜃,\varphi \right),$ but since the length of $r$ is 1, we can drop the radial coordinate for brevity.

Another useful description of $\stackrel{̂}{\xi }$ is obtained using the cosine parameter

 $\mu \equiv \phantom{\rule{0.3em}{0ex}}cos𝜃={\xi }_{z}.$ (3)

The components of $\stackrel{̂}{\xi }=\left({\xi }_{x},{\xi }_{y},{\xi }_{z}\right)$ and $\stackrel{̂}{\xi }=\left(\mu ,\varphi \right)$ are related by

$\begin{array}{llll}\hfill {\xi }_{x}=& {\left(1-{\mu }^{2}\right)}^{1∕2}cos\varphi \phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill {\xi }_{y}=& {\left(1-{\mu }^{2}\right)}^{1∕2}sin\varphi \phantom{\rule{2em}{0ex}}& \hfill \text{(4)}\\ \hfill {\xi }_{z}=& \mu ,\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\end{array}$

with $\mu$ and $\varphi$ in the ranges $-1\le \mu \le 1$ and $0\le \varphi <2\pi$. Hence a direction $\stackrel{̂}{\xi }$ can be represented in three equivalent ways: as $\left({\xi }_{x},{\xi }_{y},{\xi }_{z}\right)$ in Cartesian coordinates, and as $\left(𝜃,\varphi \right)$ or $\left(\mu ,\varphi \right)$ in polar coordinates.

The scalar (or dot) product between two direction vectors ${\stackrel{̂}{\xi }}^{\prime }$ and $\stackrel{̂}{\xi }$ can be written as

 ${\stackrel{̂}{\xi }}^{\prime }\cdot \stackrel{̂}{\xi }=|{\stackrel{̂}{\xi }}^{\prime }|\phantom{\rule{0.3em}{0ex}}|\stackrel{̂}{\xi }|cos\psi =\phantom{\rule{0.3em}{0ex}}cos\psi ,$

where $\psi$ is the angle between directions ${\stackrel{̂}{\xi }}^{\prime }$ and $\stackrel{̂}{\xi }$, and $|\stackrel{̂}{\xi }|$ denotes the (unit) length of vector $\stackrel{̂}{\xi }$. The scalar product expressed in Cartesian-component form is

 ${\stackrel{̂}{\xi }}^{\prime }\cdot \stackrel{̂}{\xi }={{\xi }^{\prime }}_{x}{\xi }_{x}+{{\xi }^{\prime }}_{y}{\xi }_{y}+{{\xi }^{\prime }}_{z}{\xi }_{z}.$

Equating these representations of ${\stackrel{̂}{\xi }}^{\prime }\cdot \stackrel{̂}{\xi }$ and recalling Eqs. (1) and (4) leads to

$\begin{array}{llll}\hfill cos\psi =& {\xi }_{x}^{\prime }{\xi }_{x}+{\xi }_{y}^{\prime }{\xi }_{y}+{\xi }_{z}^{\prime }{\xi }_{z}\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill =& cos{𝜃}^{\prime }cos𝜃\phantom{\rule{0.3em}{0ex}}+sin{𝜃}^{\prime }sin𝜃\phantom{\rule{0.3em}{0ex}}cos\left({\varphi }^{\prime }-\varphi \right)\phantom{\rule{2em}{0ex}}& \hfill \text{(5)}\\ \hfill =& {\mu }^{\prime }\mu +\sqrt{1-{{\mu }^{\prime }}^{2}}\phantom{\rule{0.3em}{0ex}}\sqrt{1-{\mu }^{2}}\phantom{\rule{0.3em}{0ex}}cos\left({\varphi }^{\prime }-\varphi \right)\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\end{array}$

Equation (5) gives very useful connections between the various coordinate representations of ${\stackrel{̂}{\xi }}^{\prime }$ and $\stackrel{̂}{\xi }$, and the included angle $\psi$. In particular, this equation allows us to compute the scattering angle $\psi$ when light is scattered from an incident direction ${\stackrel{̂}{\xi }}^{\prime }$ to a ﬁnal direction $\stackrel{̂}{\xi }$.

The set of all directions $\stackrel{̂}{\xi }$ is called the unit sphere of directions, which is denoted by $\Xi$. Referring to polar coordinates, $\Xi$ therefore represents all $\left(𝜃,\varphi \right)$ values such that $0\le 𝜃\le \pi$ and $0\le \varphi <2\pi$. Two subsets of $\Xi$ frequently employed in optical oceanography are the downward (subscript d) and upward (subscript u) hemispheres of directions, ${\Xi }_{d}$ and ${\Xi }_{u}$, deﬁned by

$\begin{array}{llll}\hfill {\Xi }_{d}& \equiv \phantom{\rule{2.6108pt}{0ex}}all\phantom{\rule{2.6108pt}{0ex}}\left(𝜃,\varphi \right)\phantom{\rule{2.6108pt}{0ex}}such\phantom{\rule{2.6108pt}{0ex}}that\phantom{\rule{2.6108pt}{0ex}}0\le 𝜃\le \pi ∕2\phantom{\rule{2.6108pt}{0ex}}and\phantom{\rule{2.6108pt}{0ex}}0\le \varphi <2\pi ,\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill {\Xi }_{u}& \equiv \phantom{\rule{2.6108pt}{0ex}}all\phantom{\rule{2.6108pt}{0ex}}\left(𝜃,\varphi \right)\phantom{\rule{2.6108pt}{0ex}}such\phantom{\rule{2.6108pt}{0ex}}that\phantom{\rule{2.6108pt}{0ex}}\pi ∕2<𝜃\le \pi \phantom{\rule{2.6108pt}{0ex}}and\phantom{\rule{2.6108pt}{0ex}}0\le \varphi <2\pi .\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\end{array}$

Some authors use the notation $2{\pi }_{d}$ for ${\Xi }_{d}$ and $2{\pi }_{u}$ for ${\Xi }_{u}$ because these hemispheres of directions contain $2\pi$ steradians of solid angle.

#### Local coordinate systems

In Monte Carlo ray tracing calculations, for example, it is necessary to specify the polar and azimuthal scattering angles of a scattered ray relative to the direction of the unscattered ray. This requires deﬁning a local (at the end point of the unscattered ray) Cartesian system “centered” on the direction of the unscattered ray, rather than on a ﬁxed $ẑ$ direction. A local system that meets the needs of Monte Carlo ray tracing can be deﬁned as follows.

Referring to Fig. 2, let ${R}^{\prime }=|{R}^{\prime }|\phantom{\rule{0.3em}{0ex}}{\stackrel{̂}{\xi }}^{\prime }$ denote a light ray with starting point ${r}_{1}=\left({x}_{1},{y}_{1},{z}_{1}\right)$ and ending point ${r}_{2}=\left({x}_{2},{y}_{2},{z}_{2}\right)$ in a global coordinate system. $|{R}^{\prime }|$ is the length of the vector ${R}^{\prime }$, which is traveling in direction ${\stackrel{̂}{\xi }}^{\prime }=\left({𝜃}^{\prime },{\varphi }^{\prime }\right)$ in the global system. Now suppose that this ray scatters at point ${r}_{2}$ to create a new ray $R$, which ends at poinr ${r}_{3}$. To describe that scattering, it is necessary to deﬁne a local (at the point of scattering ${r}_{2}$) coordinate system for the scattering calculations. The scattering angles $\psi$ and $\alpha$ (computed as described on page Probability Functions will then be applied in this system to determine the direction of the scattered ray $R$ relative to the unscattered ray ${R}^{\prime }$.

In the ocean system, ray ${R}^{\prime }$ has components $\left({R}_{x}^{\prime },{R}_{y}^{\prime },{R}_{z}^{\prime }\right)$:

$\begin{array}{llll}\hfill {R}^{\prime }=& {R}_{x}^{\prime }\phantom{\rule{0.3em}{0ex}}\stackrel{̂}{x}+{R}_{y}^{\prime }\phantom{\rule{0.3em}{0ex}}ŷ+{R}_{z}^{\prime }\phantom{\rule{0.3em}{0ex}}ẑ\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill =& {R}^{\prime }sin𝜃cos\varphi \phantom{\rule{0.3em}{0ex}}\stackrel{̂}{x}+{R}^{\prime }sin𝜃sin\varphi \phantom{\rule{0.3em}{0ex}}ŷ+{R}^{\prime }cos𝜃\phantom{\rule{0.3em}{0ex}}ẑ\phantom{\rule{0.3em}{0ex}},\phantom{\rule{2em}{0ex}}& \hfill \text{(6)}\end{array}$

where the Cartesian components ${R}_{x}^{\prime }$ etc., in terms of spherical coordinates come from Eq (1).

A convenient local coordinate system $\left(\stackrel{̂}{𝜃},\stackrel{̂}{\varphi },\stackrel{̂}{r}\right)$ for scattered rays is constructed as follows. The radial unit vector

 $\stackrel{̂}{r}=\frac{{R}^{\prime }}{|{R}^{\prime }|}=\frac{{r}_{2}-{r}_{1}}{|{r}_{2}-{r}_{1}|}$

is in the same direction as the initial ray ${R}^{\prime }$. The azimuthal unit vector $\stackrel{̂}{\varphi }$ is deﬁned by the cross product of the ocean coordinate system $ẑ$ and the incident vector’s direction:

 $\stackrel{̂}{\varphi }=\frac{ẑ×\stackrel{̂}{r}}{|ẑ×\stackrel{̂}{r}|}\phantom{\rule{0.3em}{0ex}}.$

This vector points in the direction of increasing $\varphi$ values. (If the unscattered vector is in the same direction as $ẑ$, the direction of $\stackrel{̂}{\varphi }$ can be chosen at random.) The polar unit vector is then given by

 $\stackrel{̂}{𝜃}=\stackrel{̂}{\varphi }×\stackrel{̂}{r}\phantom{\rule{0.3em}{0ex}}.$

This vector points in the direction of increasing $𝜃$ values. (If you think of point ${r}_{2}$ as being on the surface of the Earth, then $\stackrel{̂}{𝜃}$ points south, $\stackrel{̂}{\varphi }$ points east, and $\stackrel{̂}{r}$ is straight up.) The $\left(\stackrel{̂}{𝜃},\stackrel{̂}{\varphi },\stackrel{̂}{r}\right)$ system is then an orthogonal system of coordinates in which the scattering angles $\psi$ and $\alpha$ can be applied to deﬁne the direction of the scattered ray. However, these directions are not ﬁxed in the ocean system; they depend on the direction of the unscattered ray ${R}^{\prime }$.

After the direction of the scattered ray has been determined in the local $\left(\stackrel{̂}{𝜃},\stackrel{̂}{\varphi },\stackrel{̂}{r}\right)$ system, the scattered ray direction must be speciﬁed in terms of $\left(𝜃,\varphi \right)$ in the global system, so that the scattering process can be repeated.

Similarly, in calculations involving polarization, a local Cartesian system is needed to resolve the components of the polarization relative to some reference plane. This reference plane can be either the meridian plane, which is the plane containing $ẑ$ and the direction of propagation; or the scattering plane, which is the plane containing the incident and ﬁnal directions of the scattered light (see Figs. 1 and 2 on the Polarization: Scattering Geometry page). Again, the appropriate local coordinate system depends on the direction of propagation of the light.

### Solid Angle

Closely related to the speciﬁcation of directions in three-dimensional space is the concept of solid angle, which is an extension of two-dimensional angle measurement. As illustrated in panel (a) of Fig. 3, the plane angle $𝜃$ between two radii of a circle of radius $r$ is

The angular measure of a full circle is therefore $2\pi$ rad. In panel (b) of Fig. 3, a patch of area $A$ is shown on the surface of a sphere of radius $r$. The boundary of $A$ is traced out by a set of directions $\stackrel{̂}{\xi }$. The solid angle $\Omega$ of the set of directions deﬁning the patch $A$ is by deﬁnition

Since the area of a sphere is $4\pi {r}^{2}$, the solid angle measure of the set of all directions is $\Omega \left(\Xi \right)=4\pi \phantom{\rule{2.6108pt}{0ex}}sr$. Note that both plane angle and solid angle are independent of the radii of the respective circle and sphere. Both plane and solid angle are dimensionless numbers. However, they are given “units” of radians and steradians, respectively, to remind us that they are measures of angle.

Consider a simple application of the deﬁnition of solid angle and the observation that a full sphere has $4\pi \phantom{\rule{2.6108pt}{0ex}}sr$. The area of Brazil is $8.5\cdot 1{0}^{6}\phantom{\rule{2.6108pt}{0ex}}k{m}^{2}$ and the area of the earth’s surface is $5.1\cdot 1{0}^{8}\phantom{\rule{2.6108pt}{0ex}}k{m}^{2}$. The solid angle subtended by Brazil as seen from the center of the earth is then $4\pi \phantom{\rule{0.3em}{0ex}}8.5\cdot 1{0}^{6}∕5.1\cdot 1{0}^{8}=0.21\phantom{\rule{0.3em}{0ex}}sr$.

The deﬁnition of solid angle as area on the surface of a sphere divided by radius of the sphere squared gives us a convenient form for a diﬀerential element of solid angle, as needed for computations. The blue patch shown in Fig. 4 represents a diﬀerential element of area $dA$ on the surface of a sphere of radius $r$. Simple trigonometry shows that this area is $dA=\left(rsin𝜃\phantom{\rule{0.3em}{0ex}}d\varphi \right)\left(r\phantom{\rule{0.3em}{0ex}}d𝜃\right).$ Thus the element of solid angle $d\Omega \left(\stackrel{̂}{\xi }\right)$ about the direction $\stackrel{̂}{\xi }=\left(𝜃,\varphi \right)$ is given in polar coordinate form by

$\begin{array}{llll}\hfill d\Omega \left(\stackrel{̂}{\xi }\right)=& \frac{dA}{{r}^{2}}=\frac{\left(r\phantom{\rule{0.3em}{0ex}}sin𝜃\phantom{\rule{0.3em}{0ex}}d\varphi \right)\left(r\phantom{\rule{0.3em}{0ex}}d𝜃\right)}{{r}^{2}}=\phantom{\rule{0.3em}{0ex}}sin𝜃\phantom{\rule{0.3em}{0ex}}d𝜃\phantom{\rule{0.3em}{0ex}}d\varphi \phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill =& d\mu \phantom{\rule{0.3em}{0ex}}d\varphi \phantom{\rule{2em}{0ex}}\left(sr\right).\phantom{\rule{2em}{0ex}}& \hfill \text{(7)}\end{array}$

(The last equation is correct even though $d\mu =dcos𝜃=-sin𝜃\phantom{\rule{0.3em}{0ex}}d𝜃$. When the diﬀerential element is used in an integral and variables are changed from $\left(𝜃,\varphi \right)$ to $\left(\mu ,\varphi \right)$, the Jacobian of the transformation involves an absolute value.)

Example: Solid angle of a spherical cap

To illustrate the use of Eq. (7), let us compute the solid angle of a “polar cap” of half angle $𝜃$, i.e. all $\left({𝜃}^{\prime },{\varphi }^{\prime }\right)$ such that $0\le {𝜃}^{\prime }\le 𝜃$ and $0\le {\varphi }^{\prime }<2\pi$. Integrating the element of solid angle over this range of $\left({𝜃}^{\prime },{\varphi }^{\prime }\right)$ gives

 ${\Omega }_{\text{cap}}={\int }_{{\varphi }^{\prime }=0}^{2\pi }{\int }_{{𝜃}^{\prime }=0}^{𝜃}sin{𝜃}^{\prime }\phantom{\rule{0.3em}{0ex}}d{𝜃}^{\prime }\phantom{\rule{0.3em}{0ex}}d{\varphi }^{\prime }=2\pi \left(1-cos𝜃\right),$ (8)

or

 ${\Omega }_{\text{cap}}={\int }_{{\varphi }^{\prime }=0}^{2\pi }{\int }_{{\mu }^{\prime }=\mu }^{1}d{\mu }^{\prime }\phantom{\rule{0.3em}{0ex}}d{\varphi }^{\prime }=2\pi \left(1-\mu \right).$ (9)

Note that ${\Xi }_{d}$ and ${\Xi }_{u}$ are special cases of a spherical cap (having $𝜃=\pi ∕2$), and that $\Omega \left({\Xi }_{d}\right)=\Omega \left({\Xi }_{u}$) = $2\pi \phantom{\rule{0.3em}{0ex}}sr$.

### Dirac Delta functions

It is sometimes convenient to specify directions using the Dirac delta function, $\delta \left(\stackrel{̂}{\xi }-{\stackrel{̂}{\xi }}_{o}\right)$. This peculiar mathematical construction is deﬁned (for our purposes) by

 $\delta \left(\stackrel{̂}{\xi }-{\stackrel{̂}{\xi }}_{o}\right)\equiv 0\phantom{\rule{1em}{0ex}}if\phantom{\rule{1em}{0ex}}\stackrel{̂}{\xi }\ne {\stackrel{̂}{\xi }}_{o},$ (10)

and

 ${\int }_{\Xi }f\left(\stackrel{̂}{\xi }\right)\delta \left(\stackrel{̂}{\xi }-{\stackrel{̂}{\xi }}_{o}\right)d\Omega \left(\stackrel{̂}{\xi }\right)\equiv f\left({\stackrel{̂}{\xi }}_{o}\right).$ (11)

Here $f\left(\stackrel{̂}{\xi }\right)$ is any function of direction. Note that $\delta \left(\stackrel{̂}{\xi }-{\stackrel{̂}{\xi }}_{o}\right)$ simply “picks out” the particular direction ${\stackrel{̂}{\xi }}_{o}$ from all directions in $\Xi$. Note also in Eq. (11) that because the element of solid $d\Omega \left(\stackrel{̂}{\xi }\right)$ has units of steradians, it follows that $\delta \left(\stackrel{̂}{\xi }-{\stackrel{̂}{\xi }}_{o}\right)$ has units of inverse steradians.

Equations (10) and (11) are a symbolic deﬁnition of $\delta$. The mathematical representation of $\delta \left(\stackrel{̂}{\xi }-{\stackrel{̂}{\xi }}_{o}\right)$ in spherical coordinates $\left(𝜃$,$\varphi \right)$ is

 $\delta \left(\stackrel{̂}{\xi }-{\stackrel{̂}{\xi }}_{o}\right)=\frac{\delta \left(𝜃-{𝜃}_{o}\right)\delta \left(\varphi -{\varphi }_{o}\right)}{sin𝜃}\phantom{\rule{2em}{0ex}}\left(s{r}^{-1}\right),$ (12)

where $\stackrel{̂}{\xi }=\left(𝜃,\varphi \right),{\stackrel{̂}{\xi }}_{o}=\left({𝜃}_{o},{\varphi }_{o}\right)$, and

$\begin{array}{llll}\hfill {\int }_{0}^{\pi }f\left(𝜃\right)\delta \left(𝜃-{𝜃}_{o}\right)d𝜃\equiv & f\left({𝜃}_{o}\right)\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill {\int }_{0}^{2\pi }f\left(\varphi \right)\delta \left(\varphi -{\varphi }_{o}\right)d\varphi \equiv & f\left({\varphi }_{o}\right).\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\end{array}$ Note that the $sin𝜃$ in the denominator of Eq. (12) is necessary to cancel the $sin𝜃$ factor in the element of solid angle when integrating in polar coordinates. Thus

$\begin{array}{llll}\hfill & {\int }_{\Xi }f\left(\stackrel{̂}{\xi }\right)\delta \left(\stackrel{̂}{\xi }-{\stackrel{̂}{\xi }}_{o}\right)d\Omega \left(\xi \right)=\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill & {\int }_{0}^{2\pi }{\int }_{0}^{\pi }f\left(𝜃,\varphi \right)\frac{\delta \left(𝜃-{𝜃}_{o}\right)\delta \left(\varphi -{\varphi }_{o}\right)}{sin𝜃}sin𝜃d𝜃d\varphi =\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill & f\left({𝜃}_{o},{\varphi }_{o}\right)\phantom{\rule{1em}{0ex}}=\phantom{\rule{1em}{0ex}}f\left({\stackrel{̂}{\xi }}_{o}\right).\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\end{array}$

Likewise, we can write

 $\delta \left(\stackrel{̂}{\xi }-{\stackrel{̂}{\xi }}_{o}\right)=\delta \left(\mu -{\mu }_{o}\right)\delta \left(\varphi -{\varphi }_{o}\right)\phantom{\rule{2em}{0ex}}\left(s{r}^{-1}\right),$ (13)

where

 ${\int }_{-1}^{1}f\left(\mu \right)\delta \left(\mu -{\mu }_{o}\right)d\mu \equiv f\left({\mu }_{o}\right).$