# Solid angle

In geometry, a solid angle (symbol: Ω) is a measure of the amount of the field of view from some particular point that a given object covers. That is, it is a measure of how large the object appears to an observer looking from that point. The point from which the object is viewed is called the apex of the solid angle, and the object is said to subtend its solid angle at that point.
In the International System of Units (SI), a solid angle is expressed in a dimensionless unit called a steradian (symbol: sr), which is equal to one square radian, sr = rad$^2$. One steradian corresponds to one unit of area (of any shape) on the unit sphere surrounding the apex, so an object that blocks all rays from the apex would cover a number of steradians equal to the total surface area of the unit sphere, $4\pi$. Solid angles can also be measured in squares of angular measures such as degrees, minutes, and seconds.
A small object nearby may subtend the same solid angle as a larger object farther away. For example, although the Moon is much smaller than the Sun, it is also much closer to Earth. Indeed, as viewed from any point on Earth, both objects have approximately the same solid angle (and therefore apparent size). This is evident during a solar eclipse.

## Definition and properties

The magnitude of an object's solid angle in steradians is equal to the area of the segment of a unit sphere, centered at the apex, that the object covers. Giving the area of a segment of a unit sphere in steradians is analogous to giving the length of an arc of a unit circle in radians. Just as the magnitude of a plane angle in radians at the vertex of a circular sector is the ratio of the length of its arc to its radius, the magnitude of a solid angle in steradians is the ratio of the area covered on a sphere by an object to the square of the radius of the sphere. The formula for the magnitude of the solid angle in steradians is
$\Omega ={\frac {A}{r^{2}}},$
where $A$ is the area (of any shape) on the surface of the sphere and $r$ is the radius of the sphere.
Solid angles are often used in astronomy, physics, and in particular astrophysics. The solid angle of an object that is very far away is roughly proportional to the ratio of area to squared distance. Here "area" means the area of the object when projected along the viewing direction.
The solid angle of a sphere measured from any point in its interior is 4π sr. The solid angle subtended at the center of a cube by one of its faces is one-sixth of that, or 2π/3 sr. The solid angle subtended at the corner of a cube (an octant) or spanned by a spherical octant is π/2 sr, one-eight of the solid angle of a sphere.
Solid angles can also be measured in square degrees (1 sr = (180/π)$^2$ square degrees), in square arc-minutes and square arc-seconds, or in fractions of the sphere (1 sr = ⁠1/4π⁠ fractional area), also known as spat (1 sp = 4π sr).
In spherical coordinates there is a formula for the differential,
$d\Omega =\sin \theta \,d\theta \,d\varphi ,$
where θ is the colatitude (angle from the North Pole) and φ is the longitude.
The solid angle for an arbitrary oriented surface S subtended at a point P is equal to the solid angle of the projection of the surface S to the unit sphere with center P, which can be calculated as the surface integral:
$\Omega =\iint _{S}{\frac {{\hat {r}}\cdot {\hat {n}}}{r^{2}}}\,dS\ =\iint _{S}\sin \theta \,d\theta \,d\varphi ,$
where ${\hat {r}}={\vec {r}}/r$ is the unit vector corresponding to ${\vec {r}}$, the position vector of an infinitesimal area of surface dS with respect to point P, and where ${\hat {n}}$ represents the unit normal vector to dS. Even if the projection on the unit sphere to the surface S is not isomorphic, the multiple folds are correctly considered according to the surface orientation described by the sign of the scalar product ${\hat {r}}\cdot {\hat {n}}$.
Thus one can approximate the solid angle subtended by a small facet having flat surface area dS, orientation ${\hat {n}}$, and distance r from the viewer as:
$d\Omega =4\pi \left({\frac {dS}{A}}\right)\,({\hat {r}}\cdot {\hat {n}}),$
where the surface area of a sphere is A = 4πr$^2$.

## Practical applications

* Defining luminous intensity and luminance, and the correspondent radiometric quantities radiant intensity and radiance
* Calculating spherical excess E of a spherical triangle
* The calculation of potentials by using the boundary element method (BEM)
* Evaluating the size of ligands in metal complexes, see ligand cone angle
* Calculating the electric field and magnetic field strength around charge distributions
* Deriving Gauss's Law
* Calculating emissive power and irradiation in heat transfer
* Calculating cross sections in Rutherford scattering
* Calculating cross sections in Raman scattering
* The solid angle of the acceptance cone of the optical fiber
* The computation of nodal densities in meshes.

## Solid angles for common objects
### Cone, spherical cap, hemisphere

The solid angle of a cone with its apex at the apex of the solid angle, and with apex angle 2θ, is the area of a spherical cap on a unit sphere
$\Omega =2\pi \left(1-\cos \theta \right)\ =4\pi \sin ^{2}{\frac {\theta }{2}}.$
For small θ such that cos θ ≈ 1 − ⁠θ$^2$/2⁠ this reduces to πθ$^2$, the area of a circle.
The above is found by computing the following double integral using the unit surface element in spherical coordinates:
${\begin{aligned}\int _{0}^{2\pi }\int _{0}^{\theta }\sin \theta '\,d\theta '\,d\phi &=\int _{0}^{2\pi }d\phi \int _{0}^{\theta }\sin \theta '\,d\theta '\\&=2\pi \int _{0}^{\theta }\sin \theta '\,d\theta '\\&=2\pi \left[-\cos \theta '\right]_{0}^{\theta }\\&=2\pi \left(1-\cos \theta \right).\end{aligned}}$
This formula can also be derived without the use of calculus.
Over 2200 years ago Archimedes proved that the surface area of a spherical cap is always equal to the area of a circle whose radius equals the distance from the rim of the spherical cap to the point where the cap's axis of symmetry intersects the cap.
In the above coloured diagram this radius is given as
$2r\sin {\frac {\theta }{2}}.$ In the adjacent black & white diagram this radius is given as "t".
Hence for a unit sphere the solid angle of the spherical cap is given as
$\Omega =4\pi \sin ^{2}{\frac {\theta }{2}}=2\pi \left(1-\cos \theta \right).$
When θ = ⁠π/2⁠, the spherical cap becomes a hemisphere having a solid angle 2π.
The solid angle of the complement of the cone is
$4\pi -\Omega =2\pi \left(1+\cos \theta \right)=4\pi \cos ^{2}{\frac {\theta }{2}}.$
This is also the solid angle of the part of the celestial sphere that an astronomical observer positioned at latitude θ can see as the Earth rotates. At the equator all of the celestial sphere is visible; at either pole, only one half.
The solid angle subtended by a segment of a spherical cap cut by a plane at angle γ from the cone's axis and passing through the cone's apex can be calculated by the formula
$\Omega =2\left[\arccos \left({\frac {\sin \gamma }{\sin \theta }}\right)-\cos \theta \arccos \left({\frac {\tan \gamma }{\tan \theta }}\right)\right].$
For example, if γ = −θ, then the formula reduces to the spherical cap formula above: the first term becomes π, and the second π cos θ.

### Tetrahedron

Let OABC be the vertices of a tetrahedron with an origin at O subtended by the triangular face ABC where ${\vec {a}}\ ,\,{\vec {b}}\ ,\,{\vec {c}}$ are the vector positions of the vertices A, B and C. Define the vertex angle θ$_a$ to be the angle BOC and define θ$_b$, θ$_c$ correspondingly. Let $\phi _{ab}$ be the dihedral angle between the planes that contain the tetrahedral faces OAC and OBC and define $\phi _{ac}$, $\phi _{bc}$ correspondingly. The solid angle Ω subtended by the triangular surface ABC is given by
$\Omega =\left(\phi _{ab}+\phi _{bc}+\phi _{ac}\right)\ -\pi .$
This follows from the theory of spherical excess and it leads to the fact that there is an analogous theorem to the theorem that "The sum of internal angles of a planar triangle is equal to π", for the sum of the four internal solid angles of a tetrahedron as follows:
$\sum _{i=1}^{4}\Omega _{i}=2\sum _{i=1}^{6}\phi _{i}\ -4\pi ,$
where $\phi _{i}$ ranges over all six of the dihedral angles between any two planes that contain the tetrahedral faces OAB, OAC, OBC and ABC.
A useful formula for calculating the solid angle of the tetrahedron at the origin O that is purely a function of the vertex angles θ$_a$, θ$_b$, θ$_c$ is given by L'Huilier's theorem as
$\tan \left({\frac {1}{4}}\Omega \right)={\sqrt {\tan \left({\frac {\theta _{s}}{2}}\right)\tan \left({\frac {\theta _{s}-\theta _{a}}{2}}\right)\tan \left({\frac {\theta _{s}-\theta _{b}}{2}}\right)\tan \left({\frac {\theta _{s}-\theta _{c}}{2}}\right)}},$
where $\theta _{s}={\frac {\theta _{a}+\theta _{b}+\theta _{c}}{2}}.$
Another interesting formula involves expressing the vertices as vectors in 3 dimensional space. Let ${\vec {a}}\ ,\,{\vec {b}}\ ,\,{\vec {c}}$ be the vector positions of the vertices A, B and C, and let a, b, and c be the magnitude of each vector (the origin-point distance). The solid angle Ω subtended by the triangular surface ABC is:
$\tan \left({\frac {1}{2}}\Omega \right)={\frac {\left|{\vec {a}}\ {\vec {b}}\ {\vec {c}}\right|}{abc+\left({\vec {a}}\cdot {\vec {b}}\right)c+\left({\vec {a}}\cdot {\vec {c}}\right)b+\left({\vec {b}}\cdot {\vec {c}}\right)a}},$
where $\left|{\vec {a}}\ {\vec {b}}\ {\vec {c}}\right|={\vec {a}}\cdot ({\vec {b}}\times {\vec {c}})$
denotes the scalar triple product of the three vectors and ${\vec {a}}\cdot {\vec {b}}$ denotes the scalar product.
Care must be taken here to avoid negative or incorrect solid angles. One source of potential errors is that the scalar triple product can be negative if a, b, c have the wrong winding. Computing the absolute value is a sufficient solution since no other portion of the equation depends on the winding. The other pitfall arises when the scalar triple product is positive but the divisor is negative. In this case returns a negative value that must be increased by π.

### Pyramid

The solid angle of a four-sided right rectangular pyramid with apex angles a and b (dihedral angles measured to the opposite side faces of the pyramid) is $\Omega =4\arcsin \left(\sin \left({a \over 2}\right)\sin \left({b \over 2}\right)\right).$
If both the side lengths (α and β) of the base of the pyramid and the distance (d) from the center of the base rectangle to the apex of the pyramid (the center of the sphere) are known, then the above equation can be manipulated to give
$\Omega =4\arctan {\frac {\alpha \beta }{2d{\sqrt {4d^{2}+\alpha ^{2}+\beta ^{2}}}}}.$
The solid angle of a right n-gonal pyramid, where the pyramid base is a regular n-sided polygon of circumradius r, with a pyramid height h is
$\Omega =2\pi -2n\arctan \left({\frac {\tan \left({\pi \over n}\right)}{\sqrt {1+{r^{2} \over h^{2}}}}}\right).$
The solid angle of an arbitrary pyramid with an n-sided base defined by the sequence of unit vectors representing edges {s$_1$, s$_2$}, ... s$_n$ can be efficiently computed by:
$\Omega =2\pi -\arg \prod _{j=1}^{n}\left(\left(s_{j-1}s_{j}\right)\left(s_{j}s_{j+1}\right)-\left(s_{j-1}s_{j+1}\right)+i\left[s_{j-1}s_{j}s_{j+1}\right]\right).$
where parentheses (* *) is a scalar product and square brackets [* * *] is a scalar triple product, and i is an imaginary unit. Indices are cycled: s$_0$ = s$_n$ and s$_1$ = s$_{n+1}$. The complex products add the phase associated with each vertex angle of the polygon. However, a multiple of $2\pi$ is lost in the branch cut of $\arg$ and must be kept track of separately. Also, the running product of complex phases must scaled occasionally to avoid underflow in the limit of nearly parallel segments.

### Latitude-longitude rectangle

The solid angle of a latitude-longitude rectangle on a globe is $\left(\sin \phi _{\mathrm {N} }-\sin \phi _{\mathrm {S} }\right)\left(\theta _{\mathrm {E} }-\theta _{\mathrm {W} }\,\!\right)\;\mathrm {sr} ,$ where φ$_N$ and φ$_S$ are north and south lines of latitude (measured from the equator in radians with angle increasing northward), and θ$_E$ and θ$_W$ are east and west lines of longitude (where the angle in radians increases eastward). Mathematically, this represents an arc of angle ϕ$_N$ − ϕ$_S$ swept around a sphere by θ$_E$ − θ$_W$ radians. When longitude spans 2π radians and latitude spans π radians, the solid angle is that of a sphere.
A latitude-longitude rectangle should not be confused with the solid angle of a rectangular pyramid. All four sides of a rectangular pyramid intersect the sphere's surface in great circle arcs. With a latitude-longitude rectangle, only lines of longitude are great circle arcs; lines of latitude are not.

### Celestial objects

By using the definition of angular diameter, the formula for the solid angle of a celestial object can be defined in terms of the radius of the object, R{\textstyle R}, and the distance from the observer to the object, $d$:
$\Omega =2\pi \left(1-{\frac {\sqrt {d^{2}-R^{2}}}{d}}\right):d\geq R.$
By inputting the appropriate average values for the Sun and the Moon (in relation to Earth), the average solid angle of the Sun is 6.794×10$^{−5}$ steradians and the average solid angle of the Moon is 6.418×10$^{−5}$ steradians. In terms of the total celestial sphere, the Sun and the Moon subtend average fractional areas of 0.0005406% (5.406 ppm) and 0.0005107% (5.107 ppm), respectively. As these solid angles are about the same size, the Moon can cause both total and annular solar eclipses depending on the distance between the Earth and the Moon during the eclipse.

## Solid angles in arbitrary dimensions

The solid angle subtended by the complete (d − 1)-dimensional spherical surface of the unit sphere in d-dimensional Euclidean space can be defined in any number of dimensions d. One often needs this solid angle factor in calculations with spherical symmetry. It is given by the formula $\Omega _{d}={\frac {2\pi ^{\frac {d}{2}}}{\Gamma \left({\frac {d}{2}}\right)}},$ where Γ is the gamma function. When d is an integer, the gamma function can be computed explicitly. It follows that $\Omega _{d}={\begin{cases}{\frac {1}{\left({\frac {d}{2}}-1\right)!}}2\pi ^{\frac {d}{2}}\ &d{\text{ even}}\\{\frac {\left({\frac {1}{2}}\left(d-1\right)\right)!}{(d-1)!}}2^{d}\pi ^{{\frac {1}{2}}(d-1)}\ &d{\text{ odd}}.\end{cases}}$
This gives the expected results of 4π steradians for the 3D sphere bounded by a surface of area 4πr$^2$ and 2π radians for the 2D circle bounded by a circumference of length 2πr. It also gives the slightly less obvious 2 for the 1D case, in which the origin-centered 1D "sphere" is the interval [−r, r] and this is bounded by two limiting points.
The counterpart to the vector formula in arbitrary dimension was derived by Aomoto and independently by Ribando. It expresses them as an infinite multivariate Taylor series: $\Omega =\Omega _{d}{\frac {\left|\det(V)\right|}{(4\pi )^{d/2}}}\sum _{{\vec {a}}\in \mathbb {N} _{0}^{\binom {d}{2}}}\left[{\frac {(-2)^{\sum _{i<j}a_{ij}}}{\prod _{i<j}a_{ij}!}}\prod _{i}\Gamma \left({\frac {1+\sum _{m\neq i}a_{im}}{2}}\right)\right]{\vec {\alpha }}^{\vec {a}}.$ Given d unit vectors ${\vec {v}}_{i}$ defining the angle, let V denote the matrix formed by combining them so the ith column is ${\vec {v}}_{i}$, and $\alpha _{ij}={\vec {v}}_{i}\cdot {\vec {v}}_{j}=\alpha _{ji},\alpha _{ii}=1$. The variables $\alpha _{ij},1\leq i<j\leq d$ form a multivariable ${\vec {\alpha }}=(\alpha _{12},\dotsc ,\alpha _{1d},\alpha _{23},\dotsc ,\alpha _{d-1,d})\in \mathbb {R} ^{\binom {d}{2}}$. For a "congruent" integer multiexponent ${\vec {a}}=(a_{12},\dotsc ,a_{1d},a_{23},\dotsc ,a_{d-1,d})\in \mathbb {N} _{0}^{\binom {d}{2}},$ define α$^→$$^{a→}$=∏α$_{ij}$$^{aij}${\textstyle {\vec {\alpha }}^{\vec {a}}=\prod \alpha _{ij}^{a_{ij}}}. Note that here $\mathbb {N} _{0}$ = non-negative integers, or natural numbers beginning with 0. The notation $\alpha _{ji}$ for $j>i$ means the variable $\alpha _{ij}$, similarly for the exponents $a_{ji}$. Hence, the term ∑$_{m≠l}$a$_{lm}${\textstyle \sum _{m\neq l}a_{lm}} means the sum over all terms in ${\vec {a}}$ in which l appears as either the first or second index. Where this series converges, it converges to the solid angle defined by the vectors.