Hansen's problem explained

In trigonometry, Hansen's problem is a problem in planar surveying, named after the astronomer Peter Andreas Hansen (1795 - 1874), who worked on the geodetic survey of Denmark. There are two known points, and two unknown points . From and an observer measures the angles made by the lines of sight to each of the other three points. The problem is to find the positions of and . See figure; the angles measured are .

Since it involves observations of angles made at unknown points, the problem is an example of resection (as opposed to intersection).

Solution method overview

Define the following angles:\begin \gamma &= \angle P_1 AP_2, &\quad \delta &= \angle P_1BP_2, \\[4pt] \phi &= \angle P_2 AB, &\quad \psi &= \angle P_1 BA. \endAs a first step we will solve for and .The sum of these two unknown angles is equal to the sum of and, yielding the equation

\phi + \psi = \beta_1 + \beta_2.

A second equation can be found more laboriously, as follows. The law of sines yields

\frac = \frac, \qquad \frac = \frac.

Combining these, we get

\frac = \frac.

Entirely analogous reasoning on the other side yields

\frac = \frac.

Setting these two equal gives

\frac = \frac = k.

Using a known trigonometric identity this ratio of sines can be expressed as the tangent of an angle difference:

\tan\tfrac12(\phi-\psi)=

k-1
k+1

\tan\tfrac12(\phi+\psi).

Where

k=

\sin\phi
\sin\psi

.

This is the second equation we need. Once we solve the two equations for the two unknowns, we can use either of the two expressions above for

\tfrac{\overline{AB}}{\overline{P1P2}}

to find since is known. We can then find all the other segments using the law of sines.[1]

Solution algorithm

We are given four angles and the distance . The calculation proceeds as follows:

\gamma &= \pi-\alpha_1-\beta_1-\beta_2, \\ \delta &= \pi-\alpha_2-\beta_1-\beta_2.\end

k = \frac.

s = \beta_1+\beta_2, \quad d = 2 \arctan \left(\frac \tan\tfrac12 s \right) and then \phi = \frac, \quad \psi = \frac.

Calculate \overline = \overline \ \frac or equivalently \overline = \overline \ \frac. If one of these fractions has a denominator close to zero, use the other one.

Solutions via Geometric Algebra

In addition to presenting algorithms for solving the problem via Vector Geometric Algebra and Conformal Geometric Algebra, Ventura et al.[2] review previous methods, and compare the various methods' computational speeds and sensitivity to measurement error.

See also

Notes and References

  1. Udo Hebisch: Ebene und Sphaerische Trigonometrie, Kapitel 1, Beispiel 4 (2005, 2006)http://www.mathe.tu-freiberg.de/~hebisch/skripte/sphaerik/strigo.pdf
  2. Ventura . Jorge . Martinez . Fernando . Zaplana . Isiah . Eid . Ahmad Hosny . Montoya . Francisco G. . Smith . James . January 2024 . Revisiting the Hansen Problem: A Geometric Algebra Approach . Mathematics . en . 12 . 13 . 1999 . 10.3390/math12131999 . free . 2227-7390. 2117/411951 . free .