# Solid angle

Template:Distinguish {{ safesubst:#invoke:Unsubst||$N=Refimprove |date=__DATE__ |$B= {{#invoke:Message box|ambox}} }} In geometry, a solid angle (symbol: Ω) is the two-dimensional angle in three-dimensional space that an object subtends at a point. It is a measure of how large the object appears to an observer looking from that point. In the International System of Units (SI), a solid angle is expressed in a dimensionless unit called a steradian (symbol: sr).

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. Therefore, as viewed from any point on Earth, both objects have approximately the same solid angle as well as apparent size. This is evident during a solar eclipse.

## Definition and properties

An object's solid angle in steradians is equal to the area of the segment of a unit sphere, centered at the angle's vertex, that the object covers. A solid angle in steradians equals the area of a segment of a unit sphere in the same way a planar angle in radians equals the length of an arc of a unit circle. Solid angles are often used in physics and astrophysics where they are proportional to the ratio of area to squared distance. Any area on a sphere, totaling the square of its radius and observed from its center, subtends precisely one steradian.

The solid angle of a sphere measured from a point in its interior is 4π sr, and the solid angle subtended at the center of a cube by one of its faces is one-sixth of that, or 2π/3 sr. Solid angles can also be measured in square degrees (1 sr = (180/π)2 square degree) or in fractions of the sphere (i.e., fractional area), 1 sr = 1/4π fractional area.

In spherical coordinates, there is a simple formula as

$d\Omega =\sin \theta \,d\theta \,d\varphi$ 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}}\,dS}{r^{2}}}\ =\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 (dS/A)\,({\hat {r}}\cdot {\hat {n}})$ ## Solid angles for common objects

### Cone, spherical cap, hemisphere

The solid angle of a cone with apex angle $2\theta \,\!$ , is the area of a spherical cap on a unit sphere

$\Omega =2\pi \left(1-\cos {\theta }\right)\$ For small θ such that sin(θ)≈θ, this reduces to the area of a circle πθ^2.

The above is found by computing the following double integral using the unit surface element in spherical coordinates:

$\int _{0}^{2\pi }\int _{0}^{\theta }\sin \theta '\,d\theta '\,d\phi =2\pi \int _{0}^{\theta }\sin \theta '\,d\theta '\ =2\pi \left[-\cos \theta '\right]_{0}^{\theta }\ =2\pi \left(1-\cos \theta \right)\$ Over 2200 years ago Archimedes proved, without the use of calculus, that the surface area of a spherical cap was always equal to the area of a circle whose radius was equal to the distance from the rim of the spherical cap to the point where the cap's axis of symmetry intersects the cap. In the diagram opposite this radius is given as:

$2r\sin \left({\frac {\theta }{2}}\right)$ Hence for a unit sphere the solid angle of the spherical cap is given as:

$\Omega =4\pi \sin ^{2}\left({\frac {\theta }{2}}\right)\ =2\pi \left(1-\cos {\theta }\right)\$ When θ = π/2 , the spherical cap becomes a hemisphere having a solid angle .

The solid angle of the complement of the cone (picture a melon with the cone cut out) is clearly:

$4\pi \ -\Omega =2\pi \left(1+\cos {\theta }\right)\$ A Terran astronomical observer positioned at latitude $\theta \,\!$ can see this much of the celestial sphere as the earth rotates, that is, a proportion

$2\pi \left(1+\cos {\theta }\right)\$ At the equator you see all of the celestial sphere, at either pole only one half.

The solid angle subtended by a segment of a spherical cap cut by a plane at angle $\gamma$ from the cone's axis and passing through the cone's apex can be calculated by the formula:

$\Omega =2\left(\arccos {\frac {\sin \gamma }{\sin \theta }}-\cos \theta \arccos {\frac {\tan \gamma }{\tan \theta }}\right)\$ ### 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 $\theta _{a}\,$ to be the angle BOC and define $\theta _{b},\,\theta _{c}$ correspondingly. Let $\phi _{ab}\,$ be the dihedral angle between the planes that contain the tetrahedral faces OAC and OBC and define $\phi _{bc},\,\phi _{ac}$ correspondingly. The solid angle at $\Omega$ 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 $\pi$ ", 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.

An efficient algorithm for calculating the solid angle at $\Omega$ subtended by the triangular surface ABC where ${\vec {a}}\ ,\,{\vec {b}}\ ,\,{\vec {c}}$ are the vector positions of the vertices A, B and C has been given by Oosterom and Strackee:

$\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|$ denotes the determinant of the matrix that results when writing the vectors together in a row, e.g. $M_{i1}={\vec {a}}_{i}$ and so on—this is also equivalent to the scalar triple product of the three vectors;

${\vec {a}}$ is the vector representation of point A, while $\,a$ is the magnitude of that vector (the origin-point distance);
${\vec {a}}\cdot {\vec {b}}$ denotes the scalar product.

When implementing the above equation care must be taken with the atan function to avoid negative or incorrect solid angles. One source of potential errors is that the determinant can be negative if a,b,c have the wrong winding. Computing abs(det) is a sufficient solution since no other portion of the equation depends on the winding. The other pitfall arises when the determinant is positive but the divisor is negative. In this case atan returns a negative value that must be biased by $\pi$ .

Another useful formula for calculating the solid angle of the tetrahedron at the origin O that is purely a function of the vertex angles $\theta _{a},\,\theta _{b},\,\theta _{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}}$ ### 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 {a \over 2}\sin {b \over 2}\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 {\pi \over n}}{\sqrt {1+{r^{2} \over h^{2}}}}}\right)$ The solid angle of an arbitrary pyramid 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)$ ### Latitude-longitude rectangle

The solid angle of a latitude-longitude rectangle on a globe is $\left(\sin \phi _{N}-\sin \phi _{S}\right)\left(\theta _{E}-\theta _{W}\,\!\right)\mathrm {sr}$ , where $\phi _{N}\,\!$ and $\phi _{S}\,\!$ are north and south lines of latitude (measured from the equator in radians with angle increasing northward), and $\theta _{E}\,\!$ and $\theta _{W}\,\!$ are east and west lines of longitude (where the angle in radians increases eastward).: Mathematically, this represents an arc of angle $\phi _{N}-\phi _{S}\,\!$ swept around a sphere by $\theta _{E}-\theta _{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.

### Sun and Moon

The Sun is seen from Earth at an average angular diameter of about 9.35Template:E radians. The Moon is seen from Earth at an average diameter of 9.22Template:E radians. We can substitute these into the equation given above for the solid angle subtended by a cone with apex angle $2\theta \,\!$ :

$\Omega =2\pi \left(1-\cos {\theta }\right)\$ The resulting value for the Sun is 6.87Template:E steradians. The resulting value for the Moon is 6.67Template:E steradians. In terms of the total celestial sphere, the Sun and the Moon subtend fractional areas of 0.000546% (Sun) and 0.000531% (Moon). On average, the Sun is larger in the sky than the Moon even though it is much, much farther away.

## Solid angles in arbitrary dimensions

The solid angle subtended by the full surface of the unit n-sphere (in the geometer's sense) 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 $\Gamma$ 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 2π rad for the 2D circumference and 4π sr for the 3D sphere. It also gives the slightly less obvious 2 for the 1D case, in which the origin-centered unit "sphere" is the set {-1, 1}, which indeed has a measure of 2.