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).
Define the following angles:As 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
A second equation can be found more laboriously, as follows. The law of sines yields
Combining these, we get
Entirely analogous reasoning on the other side yields
Setting these two equal gives
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}}
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
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.