User:Jacobolus/stereographic projection



In geometry, the stereographic projection is a particular mapping (function) that projects a sphere onto a plane. The projection is defined on the entire sphere, except at one point: the projection point. Where it is defined, the mapping is smooth and bijective. It is conformal, meaning that it preserves angles at which curves meet. It is neither isometric nor area-preserving: that is, it preserves neither distances nor the areas of figures.

Intuitively, then, the stereographic projection is a way of picturing the sphere as the plane, with some inevitable compromises. Because the sphere and the plane appear in many areas of mathematics and its applications, so does the stereographic projection; it finds use in diverse fields including complex analysis, cartography, geology, and photography. In practice, the projection is carried out by computer or by hand using a special kind of graph paper called a stereographic net, shortened to stereonet, or Wulff net.

History


The stereographic projection was known to Hipparchus, Ptolemy and probably earlier to the Egyptians. It was originally known as the planisphere projection. Planisphaerium by Ptolemy is the oldest surviving document that describes it. One of its most important uses was the representation of celestial charts. The term planisphere is still used to refer to such charts.

In the 16th and 17th century, the equatorial aspect of the stereographic projection was commonly used for maps of the Eastern and Western Hemispheres. It is believed that already the map created in 1507 by Gualterius Lud was in stereographic projection, as were later the maps of Jean Roze (1542), Rumold Mercator (1595), and many others. In star charts, even this equatorial aspect had been utilised already by the ancient astronomers like Ptolemy.

François d'Aguilon gave the stereographic projection its current name in his 1613 work Opticorum libri sex philosophis juxta ac mathematicis utiles (Six Books of Optics, useful for philosophers and mathematicians alike).

In the late 16th century, Thomas Harriot proved that the stereographic projection is conformal; however, this proof was never published and sat among his papers in a box for more than three centuries. In 1695, Edmond Halley, motivated by his interest in star charts, was the first to publish a proof. He used the recently established tools of calculus, invented by his friend Isaac Newton.

First formulation


The unit sphere $z = 0$ in three-dimensional space $S^{2}$ is the set of points $R^{3}$ such that $(x, y, z)$. Let $x^{2} + y^{2} + z^{2} = 1$ be the "north pole", and let $\mathcal{M}$ be the rest of the sphere. The plane $N = (0, 0, 1)$ runs through the center of the sphere; the "equator" is the intersection of the sphere with this plane.

For any point $z = 0$ on $\mathcal{M}$, there is a unique line through $P$ and $N$, and this line intersects the plane $P$ in exactly one point $z = 0$, known as the stereographic projection of $P′$ onto the plane.

In Cartesian coordinates $P$ on the sphere and $(x, y, z)$ on the plane, the projection and its inverse are given by the formulas


 * $$\begin{align}(X, Y) &= \left(\frac{x}{1 - z}, \frac{y}{1 - z}\right),\\

(x, y, z) &= \left(\frac{2 X}{1 + X^2 + Y^2}, \frac{2 Y}{1 + X^2 + Y^2}, \frac{-1 + X^2 + Y^2}{1 + X^2 + Y^2}\right).\end{align}$$

In spherical coordinates $(X, Y)$ on the sphere (with $(φ, θ)$ the zenith angle, $φ$, and $0 ≤ φ ≤ π$ the azimuth, $θ$) and polar coordinates $0 ≤ θ ≤ 2π$ on the plane, the projection and its inverse are


 * $$\begin{align}(R, \Theta) &= \left(\frac{\sin \varphi}{1 - \cos \varphi}, \theta\right) = \left(\cot\frac{\varphi}{2}, \theta\right),\\

(\varphi, \theta) &= \left(2 \arctan \frac{1}{R}, \Theta\right).\end{align}$$

Here, $(R, Θ)$ is understood to have value $\pi$ when $φ$ = 0. Also, there are many ways to rewrite these formulas using trigonometric identities. In cylindrical coordinates $R$ on the sphere and polar coordinates $(r, θ, z)$ on the plane, the projection and its inverse are


 * $$\begin{align}(R, \Theta) &= \left(\frac{r}{1 - z}, \theta\right),\\

(r, \theta, z) &= \left(\frac{2 R}{1 + R^2}, \Theta, \frac{R^2 - 1}{R^2 + 1}\right).\end{align}$$

Other conventions
Some authors define stereographic projection from the north pole (0, 0, 1) onto the plane $(R, Θ)$, which is tangent to the unit sphere at the south pole (0, 0, −1). The values $z = −1$ and $z = −1$ produced by this projection are exactly twice those produced by the equatorial projection described in the preceding section. For example, this projection sends the equator to the circle of radius 2 centered at the origin. While the equatorial projection produces no infinitesimal area distortion along the equator, this pole-tangent projection instead produces no infinitesimal area distortion at the south pole.

Other authors use a sphere of radius $X$ and the plane $Y$. In this case the formulae become
 * $$\begin{align}(x,y,z) \rightarrow (\xi, \eta) &= \left(\frac{x}{\frac{1}{2} - z}, \frac{y}{\frac{1}{2} - z}\right),\\

(\xi, \eta) \rightarrow (x,y,z) &= \left(\frac{\xi}{1 + \xi^2 + \eta^2}, \frac{\eta}{1 + \xi^2 + \eta^2}, \frac{-1 + \xi^2 + \eta^2}{2 + 2\xi^2 + 2\eta^2}\right).\end{align}$$

In general, one can define a stereographic projection from any point $1⁄2$ on the sphere onto any plane $z = −1⁄2$ such that As long as $Q$ meets these conditions, then for any point $E$ other than $Q$ the line through $E$ and $E$ meets $Q$ in exactly one point $E$, which is defined to be the stereographic projection of P onto E.
 * $Q$ is perpendicular to the diameter through $E$, and
 * $P$ does not contain $Q$.

Generalizations
More generally, stereographic projection may be applied to the unit $P$-sphere $Q$ in ($E$)-dimensional Euclidean space $P′$. If $n$ is a point of $S^{n}$ and $n + 1$ a hyperplane in $E^{n+1}$, then the stereographic projection of a point $Q$ is the point $S^{n}$ of intersection of the line $E$ with $E^{n+1}$. In Cartesian coordinates ($P ∈ S^{n} − &#123;Q&#125;$, $P′$ from 0 to $\overline{QP}$) on $E$ and ($xi$, $i$ from 1 to n) on $n$, the projection from $S^{n}$ is given by $$X_i = \frac{x_i}{1 - x_0} \quad (i = 1, \dots, n).$$ Defining $$s^2=\sum_{j=1}^n X_j^2 = \frac{1+x_0}{1-x_0},$$ the inverse is given by $$x_0 = \frac{s^2-1}{s^2+1} \quad \text{and} \quad x_i = \frac{2 X_i}{s^2+1} \quad (i = 1, \dots, n).$$

Still more generally, suppose that $Xi$ is a (nonsingular) quadric hypersurface in the projective space $i$. In other words, $E$ is the locus of zeros of a non-singular quadratic form $Q = (1, 0, 0, ..., 0) ∈ S^{n}$ in the homogeneous coordinates $S$. Fix any point $P^{n+1}$ on $S$ and a hyperplane $f(x_{0}, ..., x_{n+1})$ in $x_{i}$ not containing $Q$. Then the stereographic projection of a point $S$ in $E$ is the unique point of intersection of $P^{n+1}$ with $Q$. As before, the stereographic projection is conformal and invertible outside of a "small" set. The stereographic projection presents the quadric hypersurface as a rational hypersurface. This construction plays a role in algebraic geometry and conformal geometry.

Properties
The first stereographic projection defined in the preceding section sends the "south pole" (0, 0, −1) of the unit sphere to (0, 0), the equator to the unit circle, the southern hemisphere to the region inside the circle, and the northern hemisphere to the region outside the circle.

The projection is not defined at the projection point $P$ = (0, 0, 1). Small neighborhoods of this point are sent to subsets of the plane far away from (0, 0). The closer $S − &#123;Q&#125;$ is to (0, 0, 1), the more distant its image is from (0, 0) in the plane. For this reason it is common to speak of (0, 0, 1) as mapping to "infinity" in the plane, and of the sphere as completing the plane by adding a point at infinity. This notion finds utility in projective geometry and complex analysis. On a merely topological level, it illustrates how the sphere is homeomorphic to the one-point compactification of the plane.

In Cartesian coordinates a point $\overline{QP}$ on the sphere and its image $E$ on the plane either both are rational points or none of them:
 * $$P \in \mathbb Q^3 \iff P' \in \mathbb Q^2$$





Stereographic projection is conformal, meaning that it preserves the angles at which curves cross each other (see figures). On the other hand, stereographic projection does not preserve area; in general, the area of a region of the sphere does not equal the area of its projection onto the plane. The area element is given in $N$ coordinates by
 * $$dA = \frac{4}{(1 + X^2 + Y^2)^2} \; dX \; dY.$$

Along the unit circle, where $P$, there is no inflation of area in the limit, giving a scale factor of 1. Near (0, 0) areas are inflated by a factor of 4, and near infinity areas are inflated by arbitrarily small factors.

The metric is given in $P(x, y, z)$ coordinates by
 * $$ \frac{4}{(1 + X^2 + Y^2)^2} \; ( dX^2 + dY^2),$$

and is the unique formula found in Bernhard Riemann's Habilitationsschrift on the foundations of geometry, delivered at Göttingen in 1854, and entitled Über die Hypothesen welche der Geometrie zu Grunde liegen.

No map from the sphere to the plane can be both conformal and area-preserving. If it were, then it would be a local isometry and would preserve Gaussian curvature. The sphere and the plane have different Gaussian curvatures, so this is impossible.

Circles on the sphere that do not pass through the point of projection are projected to circles on the plane. Circles on the sphere that do pass through the point of projection are projected to straight lines on the plane. These lines are sometimes thought of as circles through the point at infinity, or circles of infinite radius. These properties can be verified by using the expressions of $$x,y,z$$ in terms of $$X, Y, Z,$$ given in : using these expressions for a substitution in the equation $$ax+by+cz-d=0$$ of the plane containing a circle on the sphere, and clearing denominators, one gets the equation of a circle, that is, a second-degree equation with $$(c-d)(X^2+Y^2)$$ as its quadratic part. The equation becomes linear if $$c=d,$$ that is, if the plane passes through the point of projection.

All lines in the plane, when transformed to circles on the sphere by the inverse of stereographic projection, meet at the projection point. Parallel lines, which do not intersect in the plane, are transformed to circles tangent at projection point. Intersecting lines are transformed to circles that intersect transversally at two points in the sphere, one of which is the projection point. (Similar remarks hold about the real projective plane, but the intersection relationships are different there.)

The loxodromes of the sphere map to curves on the plane of the form
 * $$R = e^{\Theta/a},\,$$

where the parameter $P′(X, Y)$ measures the "tightness" of the loxodrome. Thus loxodromes correspond to logarithmic spirals. These spirals intersect radial lines in the plane at equal angles, just as the loxodromes intersect meridians on the sphere at equal angles.

The stereographic projection relates to the plane inversion in a simple way. Let $(X, Y)$ and $X^{2} + Y^{2} = 1$ be two points on the sphere with projections $(X, Y)$ and $a$ on the plane. Then $P$ and $Q$ are inversive images of each other in the image of the equatorial circle if and only if $P′$ and $Q′$ are reflections of each other in the equatorial plane.

In other words, if: then $P′$ and $Q′$ are inversive images of each other in the unit circle.
 * $P$ is a point on the sphere, but not a 'north pole' $Q$ and not its antipode, the 'south pole' $P$,
 * $N$ is the image of $S$ in a stereographic projection with the projection point $P′$ and
 * $P$ is the image of $N$ in a stereographic projection with the projection point $P″$,
 * $$ \triangle NOP^\prime \sim \triangle P^{\prime\prime}OS \implies OP^\prime:ON = OS : OP^{\prime\prime} \implies OP^\prime \cdot OP^{\prime\prime} = r^2 $$

Wulff net
Stereographic projection plots can be carried out by a computer using the explicit formulas given above. However, for graphing by hand these formulas are unwieldy. Instead, it is common to use graph paper designed specifically for the task. This special graph paper is called a stereonet or Wulff net, after the Russian mineralogist George (Yuri Viktorovich) Wulff.

The Wulff net shown here is the stereographic projection of the grid of parallels and meridians of a hemisphere centred at a point on the equator (such as the Eastern or Western hemisphere of a planet).

In the figure, the area-distorting property of the stereographic projection can be seen by comparing a grid sector near the center of the net with one at the far right or left. The two sectors have equal areas on the sphere. On the disk, the latter has nearly four times the area of the former. If the grid is made finer, this ratio approaches exactly 4.

On the Wulff net, the images of the parallels and meridians intersect at right angles. This orthogonality property is a consequence of the angle-preserving property of the stereoscopic projection. (However, the angle-preserving property is stronger than this property. Not all projections that preserve the orthogonality of parallels and meridians are angle-preserving.)

For an example of the use of the Wulff net, imagine two copies of it on thin paper, one atop the other, aligned and tacked at their mutual center. Let $P$ be the point on the lower unit hemisphere whose spherical coordinates are (140°, 60°) and whose Cartesian coordinates are (0.321, 0.557, −0.766). This point lies on a line oriented 60° counterclockwise from the positive $S$-axis (or 30° clockwise from the positive $P′$-axis) and 50° below the horizontal plane $P″$. Once these angles are known, there are four steps to plotting $P$: To plot other points, whose angles are not such round numbers as 60° and 50°, one must visually interpolate between the nearest grid lines. It is helpful to have a net with finer spacing than 10°. Spacings of 2° are common.
 * 1) Using the grid lines, which are spaced 10° apart in the figures here, mark the point on the edge of the net that is 60° counterclockwise from the point (1, 0) (or 30° clockwise from the point (0, 1)).
 * 2) Rotate the top net until this point is aligned with (1, 0) on the bottom net.
 * 3) Using the grid lines on the bottom net, mark the point that is 50° toward the center from that point.
 * 4) Rotate the top net oppositely to how it was oriented before, to bring it back into alignment with the bottom net. The point marked in step 3 is then the projection that we wanted.

To find the central angle between two points on the sphere based on their stereographic plot, overlay the plot on a Wulff net and rotate the plot about the center until the two points lie on or near a meridian. Then measure the angle between them by counting grid lines along that meridian.

Complex analysis


Although any stereographic projection misses one point on the sphere (the projection point), the entire sphere can be mapped using two projections from distinct projection points. In other words, the sphere can be covered by two stereographic parametrizations (the inverses of the projections) from the plane. The parametrizations can be chosen to induce the same orientation on the sphere. Together, they describe the sphere as an oriented surface (or two-dimensional manifold).

This construction has special significance in complex analysis. The point $x$ in the real plane can be identified with the complex number $y$. The stereographic projection from the north pole onto the equatorial plane is then
 * $$\begin{align} \zeta &= \frac{x + i y}{1 - z},\\

\\ (x, y, z) &= \left(\frac{2 \operatorname{Re} \zeta}{1 + \bar \zeta \zeta}, \frac{2 \operatorname{Im} \zeta}{1 + \bar \zeta \zeta}, \frac{-1 + \bar \zeta \zeta}{1 + \bar \zeta \zeta}\right).\end{align}$$

Similarly, letting $z = 0$ be another complex coordinate, the functions
 * $$\begin{align} \xi &= \frac{x - i y}{1 + z},\\

(x, y, z) &= \left(\frac{2 \operatorname{Re} \xi}{1 + \bar \xi \xi}, \frac{-2 \operatorname{Im} \xi}{1 + \bar \xi \xi}, \frac{1 - \bar \xi \xi}{1 + \bar \xi \xi}\right)\end{align}$$ define a stereographic projection from the south pole onto the equatorial plane. The transition maps between the $P$- and $P_{1}$-coordinates are then $P_{2}$ and $P_{1}$, with $P_{2}$ approaching 0 as $(X, Y)$ goes to infinity, and vice versa. This facilitates an elegant and useful notion of infinity for the complex numbers and indeed an entire theory of meromorphic functions mapping to the Riemann sphere. The standard metric on the unit sphere agrees with the Fubini–Study metric on the Riemann sphere.

Visualization of lines and planes


The set of all lines through the origin in three-dimensional space forms a space called the real projective plane. This plane is difficult to visualize, because it cannot be embedded in three-dimensional space.

However, one can visualize it as a disk, as follows. Any line through the origin intersects the southern hemisphere $ζ = X + iY$ ≤ 0 in a point, which can then be stereographically projected to a point on a disk in the XY plane. Horizontal lines through the origin intersect the southern hemisphere in two antipodal points along the equator, which project to the boundary of the disk. Either of the two projected points can be considered part of the disk; it is understood that antipodal points on the equator represent a single line in 3 space and a single point on the boundary of the projected disk (see quotient topology). So any set of lines through the origin can be pictured as a set of points in the projected disk. But the boundary points behave differently from the boundary points of an ordinary 2-dimensional disk, in that any one of them is simultaneously close to interior points on opposite sides of the disk (just as two nearly horizontal lines through the origin can project to points on opposite sides of the disk).

Also, every plane through the origin intersects the unit sphere in a great circle, called the trace of the plane. This circle maps to a circle under stereographic projection. So the projection lets us visualize planes as circular arcs in the disk. Prior to the availability of computers, stereographic projections with great circles often involved drawing large-radius arcs that required use of a beam compass. Computers now make this task much easier.

Further associated with each plane is a unique line, called the plane's pole, that passes through the origin and is perpendicular to the plane. This line can be plotted as a point on the disk just as any line through the origin can. So the stereographic projection also lets us visualize planes as points in the disk. For plots involving many planes, plotting their poles produces a less-cluttered picture than plotting their traces.

This construction is used to visualize directional data in crystallography and geology, as described below.

Other visualization
Stereographic projection is also applied to the visualization of polytopes. In a Schlegel diagram, an $ξ = X − iY$-dimensional polytope in $ζ$ is projected onto an $ξ$-dimensional sphere, which is then stereographically projected onto $ζ = 1⁄ξ$. The reduction from $ξ = 1⁄ζ$ to $ζ$ can make the polytope easier to visualize and understand.

Arithmetic geometry
In elementary arithmetic geometry, stereographic projection from the unit circle provides a means to describe all primitive Pythagorean triples. Specifically, stereographic projection from the north pole (0,1) onto the $ξ$-axis gives a one-to-one correspondence between the rational number points $z$ on the unit circle (with $n$) and the rational points of the $R^{n+1}$-axis. If $n$ is a rational point on the $R^{n}$-axis, then its inverse stereographic projection is the point


 * $$\left(\frac{2mn}{m^2+n^2}, \frac{m^2-n^2}{m^2+n^2}\right)$$

which gives Euclid's formula for a Pythagorean triple.

Tangent half-angle substitution
The pair of trigonometric functions $R^{n+1}$ can be thought of as parametrizing the unit circle. The stereographic projection gives an alternative parametrization of the unit circle:
 * $$\cos x = \frac{t^2 - 1}{t^2 + 1},\quad \sin x = \frac{2 t}{t^2 + 1}.$$

Under this reparametrization, the length element $R^{n}$ of the unit circle goes over to
 * $$dx = \frac{2 \, dt}{t^2 + 1}.$$

This substitution can sometimes simplify integrals involving trigonometric functions.

Cartography
The fundamental problem of cartography is that no map from the sphere to the plane can accurately represent both angles and areas. In general, area-preserving map projections are preferred for statistical applications, while angle-preserving (conformal) map projections are preferred for navigation.

Stereographic projection falls into the second category. When the projection is centered at the Earth's north or south pole, it has additional desirable properties: It sends meridians to rays emanating from the origin and parallels to circles centered at the origin.

Planetary science
The stereographic is the only projection that maps all circles on a sphere to circles on a plane. This property is valuable in planetary mapping where craters are typical features. The set of circles passing through the point of projection have unbounded radius, and therefore degenerate into lines.

Crystallography


In crystallography, the orientations of crystal axes and faces in three-dimensional space are a central geometric concern, for example in the interpretation of X-ray and electron diffraction patterns. These orientations can be visualized as in the section Visualization of lines and planes above. That is, crystal axes and poles to crystal planes are intersected with the northern hemisphere and then plotted using stereographic projection. A plot of poles is called a pole figure.

In electron diffraction, Kikuchi line pairs appear as bands decorating the intersection between lattice plane traces and the Ewald sphere thus providing experimental access to a crystal's stereographic projection. Model Kikuchi maps in reciprocal space, and fringe visibility maps for use with bend contours in direct space, thus act as road maps for exploring orientation space with crystals in the transmission electron microscope.

Geology


Researchers in structural geology are concerned with the orientations of planes and lines for a number of reasons. The foliation of a rock is a planar feature that often contains a linear feature called lineation. Similarly, a fault plane is a planar feature that may contain linear features such as slickensides.

These orientations of lines and planes at various scales can be plotted using the methods of the Visualization of lines and planes section above. As in crystallography, planes are typically plotted by their poles. Unlike crystallography, the southern hemisphere is used instead of the northern one (because the geological features in question lie below the Earth's surface). In this context the stereographic projection is often referred to as the equal-angle lower-hemisphere projection. The equal-area lower-hemisphere projection defined by the Lambert azimuthal equal-area projection is also used, especially when the plot is to be subjected to subsequent statistical analysis such as density contouring.

Photography
Some fisheye lenses use a stereographic projection to capture a wide-angle view. Compared to more traditional fisheye lenses which use an equal-area projection, areas close to the edge retain their shape, and straight lines are less curved. However, stereographic fisheye lenses are typically more expensive to manufacture. Image remapping software, such as Panotools, allows the automatic remapping of photos from an equal-area fisheye to a stereographic projection.

The stereographic projection has been used to map spherical panoramas, starting with Horace Bénédict de Saussure's in 1779. This results in effects known as a little planet (when the center of projection is the nadir) and a tube (when the center of projection is the zenith).

The popularity of using stereographic projections to map panoramas over other azimuthal projections is attributed to the shape preservation that results from the conformality of the projection.

Videos

 * Proof about Stereographic Projection taking circles in the sphere to circles in the plane

Software

 * Free and open source python program for stereographic projection - PTCLab
 * Sphaerica software is capable of displaying spherical constructions in stereographic projection
 * Three dimensional Java Applet

Miniplanet panoramas

 * Examples of miniplanet panoramas, majority in UK
 * Examples of miniplanet panoramas, majority in Czech Republic
 * Examples of miniplanet panoramas, majority in Poland

Category:Map projections Category:Conformal mappings Category:Conformal projections Category:Crystallography Category:Projective geometry