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 a dimensionless unit of measurement 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 most easily observed during a solar eclipse.
[ Definition and properties
An object's solid angle 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 equals the area of a segment of unit sphere in the same way a planar angle equals the length of an arc of a unit circle.
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

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:

where
is the vector position of an infinitesimal area of surface
with respect to point P and where
represents the unit vector normal to
. 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
.
[ Practical applications
[ Solid angles for common objects
[ Cone, spherical cap, hemisphere
Section of cone (1) and spherical cap (2) inside a sphere. In this figure
θ = a/2 and
r = 1.
The solid angle of a cone with apex angle
, is the area of a spherical cap on a unit sphere

For small θ in radians 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).](/cgi-bin/wiki-image.mpl?image=%2F%2Fupload.wikimedia.org%2Fmath%2Fe%2Ff%2Fe%2Fefed145c1772ab26638964b90c061a50.png&site=wikipedia&host=http://en.wikipedia.org/)
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:

Hence for a unit sphere the solid angle of the spherical cap is given as:

When θ = π/2, the spherical cap becomes a hemisphere having a solid angle 2π.
The solid angle of the complement of the cone (picture a melon with the cone cut out) is clearly:

A terran astronomical observer positioned at latitude
can see this much of the celestial sphere as the earth rotates, that is, a proportion

At the equator you see all of the celestial sphere, at either pole only one half.
A segment of a cone cut by a plane at angle
from the cone's axis can be calculated by the formula:[1]

[ Tetrahedron
Let OABC be the vertices of a tetrahedron with an origin at O subtended by the triangular face ABC where
are the vector positions of the vertices A, B and C. Define the vertex angle
to be the angle BOC and define
correspondingly. Let
be the dihedral angle between the planes that contain the tetrahedral faces OAC and OBC and define
correspondingly. The solid angle at
subtended by the triangular surface ABC is given by

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:

where
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
subtended by the triangular surface ABC where
are the vector positions of the vertices A, B and C has been given by Oosterom and Strackee:[2]

where

denotes the determinant of the matrix that results when writing the vectors together in a row, e.g.
and so on—this is also equivalent to the scalar triple product of the three vectors;
is the vector representation of point A, while
is the magnitude of that vector (the origin-point distance);
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
.
from scipy import dot, arctan2, pi
from scipy.linalg import norm, det
def tri_projection(a, b, c):
"""Given three 3-vectors, a, b, and c."""
determ = det((a, b, c))
al = norm(a)
bl = norm(b)
cl = norm(c)
div = al*bl*cl + dot(a,b)*cl + dot(a,c)*bl + dot(b,c)*al
at = arctan2(determ, div)
if at < 0: at += pi # If det > 0 and div < 0 arctan2 returns < 0, so add pi.
omega = 2 * at
return omega
Another useful formula for calculating the solid angle of the tetrahedron at the origin O that is purely a function of the vertex angles
is given by L' Huilier's theorem as

where

[ Pyramid
The solid angle of a four-sided right rectangular pyramid with apex angles
and
(dihedral angles measured to the opposite side faces of the pyramid) is

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

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

The solid angle of an arbitrary pyramid defined by the sequence of unit vectors representing edges
can be efficiently computed by:[1]
![\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 [ s_{j-1} s_j s_{j+1} ] \right )](/cgi-bin/wiki-image.mpl?image=%2F%2Fupload.wikimedia.org%2Fmath%2F3%2F1%2Fd%2F31db93ea3ad2b0d960f2441e68cd659d.png&site=wikipedia&host=http://en.wikipedia.org/)
where parentheses are scalar product and square brackets is a scalar triple product, and
is an imaginary unit. Indices are cycled:
and
.
[ Latitude-longitude rectangle
The solid angle of a latitude-longitude rectangle on a globe is
, where
and
are north and south lines of latitude (measured from the equator in radians with angle increasing northward), and
and
are east and west lines of longitude (where the angle in radians increases eastward).:[3] Mathematically, this represents an arc of angle
swept around a sphere by
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 and Moon are both seen from Earth at an apparent diameter of about 0.5°. We can substitute this in the equation given above for the solid angle subtended by a cone with apex angle
:

The resulting value is approximately 0.196 deg2 or square degrees, or about 6×10−5 steradians. In terms of the total celestial sphere, the Sun and the Moon each subtend a fractional area of approximately 0.00047%.
[ 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
. One often needs this solid angle factor in calculations with spherical symmetry. It is given by the formula

where
is the Gamma function. When
is an integer, the Gamma function can be computed explicitly. It follows that

This gives the expected results of 2π rad for the 2D circumference and 4π sr for the 3D sphere. It also throws the slightly less obvious 2 for the 1D case, in which the origin-centered unit "sphere" is the set
, which indeed has a measure of 2.
[ References
[ External links
- Arthur P. Norton, A Star Atlas, Gall and Inglis, Edinburgh, 1969.
- F. M. Jackson, Polytopes in Euclidean n-Space. Inst. Math. Appl. Bull. (UK) 29, 172-174, Nov./Dec. 1993.
- M. G. Kendall, A Course in the Geometry of N Dimensions, No. 8 of Griffin's Statistical Monographs & Courses, ed. M. G. Kendall, Charles Griffin & Co. Ltd, London, 1961
- Weisstein, Eric W., "Spherical Excess" from MathWorld.
- Weisstein, Eric W., "Solid Angle" from MathWorld.