Hansen's problem is a problem in planar
surveying
Surveying or land surveying is the technique, profession, art, and science of determining the terrestrial two-dimensional or three-dimensional positions of points and the distances and angles between them. A land surveying professional is ...
, named after the astronomer
Peter Andreas Hansen
Peter Andreas Hansen (born 8 December 1795, Tønder, Schleswig, Denmark; died 28 March 1874, Gotha, Thuringia, Germany) was a Danish-born German astronomer.
Biography
The son of a goldsmith, Hansen learned the trade of a watchmaker at Flensburg, ...
(1795–1874), who worked on the geodetic survey of Denmark. There are two known points ''A'' and ''B'', and two unknown points ''P''
1 and ''P''
2. From ''P''
1 and ''P''
2 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 ''P''
1 and ''P''
2. See figure; the angles measured are (''α''
1, ''β''
1, ''α''
2, ''β''
2).
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:
''γ'' = ''P''
1''AP''
2, ''δ'' = ''P''
1''BP''
2, ''φ'' = ''P''
2''AB'', ''ψ'' = ''P''
1''BA''.
As a first step we will solve for ''φ'' and ''ψ''.
The sum of these two unknown angles is equal to the sum of ''β''
1 and ''β''
2, yielding the equation
:
A second equation can be found more laboriously, as follows. The
law of sines
In trigonometry, the law of sines, sine law, sine formula, or sine rule is an equation relating the lengths of the sides of any triangle to the sines of its angles. According to the law,
\frac \,=\, \frac \,=\, \frac \,=\, 2R,
where , and ar ...
yields
:
and
:
Combining these, we get
:
Entirely analogous reasoning on the other side yields
:
Setting these two equal gives
:
Using a known
trigonometric identity
In trigonometry, trigonometric identities are equalities that involve trigonometric functions and are true for every value of the occurring variables for which both sides of the equality are defined. Geometrically, these are identities involvi ...
this ratio of sines can be expressed as the tangent of an angle difference:
:
Where
This is the second equation we need. Once we solve the two equations for the two unknowns
and
, we can use either of the two expressions above for
to find ''P''
1''P''
2 since ''AB'' is known. We can then find all the other segments using the law of sines.
[Udo Hebisch: Ebene und Sphaerische Trigonometrie, Kapitel 1, Beispiel 4 (2005, 200]
/ref>
Solution algorithm
We are given four angles (''α''1, ''β''1, ''α''2, ''β''2) and the distance ''AB''. The calculation proceeds as follows:
* Calculate
* Calculate
* Let