Trigonometry for surveying: bearings, the sine rule and the cosine rule
IB Math AI · Geometry and Trigonometry
Which rule, and when
Every non-right triangle in AI is solved with one of three statements, and choosing between them is the whole skill.
$$\frac{a}{\sin A}=\frac{b}{\sin B}=\frac{c}{\sin C},\qquad c^{2}=a^{2}+b^{2}-2ab\cos C,\qquad \text{Area}=\frac{1}{2}ab\sin C$$The sine rule needs a matched pair — a side together with the angle opposite it. The cosine rule needs either three sides, or two sides and the angle between them. If the data you are given does not form a matched pair, the sine rule is unusable no matter how much you rearrange it.
Bearings
A bearing is measured from north, clockwise, and is always written with three digits: $052^\circ$, not $52^\circ$. The back bearing satisfies $\text{back}=\text{bearing}\pm180^\circ$, choosing the sign that keeps the result in $[0^\circ,360^\circ)$.
A bearing is never itself an angle of the triangle. It becomes one only after you subtract it from the bearing of another side at the same vertex.
The ambiguous case
Given two sides and a non-included angle, $\sin^{-1}$ on a calculator returns only the acute solution. The obtuse angle $180^\circ-\theta$ has the same sine, and in a survey context it is often the physically correct one. Always test whether the obtuse value still leaves a positive third angle.
Calculator mode
Bearings and elevations are in degrees; arc length $s=r\theta$ and sector area $A=\tfrac12 r^{2}\theta$ demand radians. Mixing them produces answers that are wrong by a factor of about $57$, and nothing on the screen warns you.
Worked example: two survey stations and a transmission mast
Two survey stations $A$ and $B$ lie on a straight road running east, $180$ m apart, with $B$ east of $A$. From $A$, the bearing of the transmission mast $T$ is $052^\circ$; from $B$, the bearing of $T$ is $318^\circ$. Calculate the distance $BT$ and the perpendicular distance from $T$ to the road, giving the results to $3$ significant figures.
Solution
Step 1: convert the bearings into interior angles of the triangle. This is the only hard step; the rest is calculator work.
At $A$, segment $AB$ runs east so it has bearing $090^\circ$. Angle $TAB$ is the difference of two bearings that both start from $A$:
$$\widehat{TAB}=90^\circ-52^\circ=38^\circ$$At $B$, segment $BA$ runs west so it has bearing $270^\circ$. Therefore
$$\widehat{TBA}=318^\circ-270^\circ=48^\circ,\qquad \widehat{ATB}=180^\circ-38^\circ-48^\circ=94^\circ$$Step 2: the sine rule. We have a matching pair: side $AB=180$ opposite angle $94^\circ$.
$$\frac{BT}{\sin 38^\circ}=\frac{180}{\sin 94^\circ}\;\Longrightarrow\;BT=\frac{180\sin 38^\circ}{\sin 94^\circ}=111.09\ \text{m}\approx 111\ \text{m}$$Step 3: the perpendicular distance. Drop the altitude from $T$ to $AB$. In the right triangle formed on the $B$ side, the hypotenuse is $BT$ and the angle at $B$ is $48^\circ$:
$$h=BT\sin 48^\circ=111.09\times\sin 48^\circ=82.6\ \text{m}$$Cross-check from the $A$ side: first $AT=\dfrac{180\sin 48^\circ}{\sin 94^\circ}=134.09$ m, then $h=AT\sin 38^\circ=82.6$ m. Two independent routes give the same number, so the result is trustworthy.
Note one thing that is easy to overlook: the angle $94^\circ$ is obtuse, which means the mast $T$ does not lie between the two stations horizontally but well off to the side. If your sketch shows $T$ sitting right in the middle, the sketch is wrong and every later step will be wrong with it.
Worked example: a triangular field: the third side, the area and the cost of fencing
A triangular field has two sides of length $78$ m and $95$ m, and the angle between those two sides is $63^\circ$. Calculate the third side and the area of the field. The cost of fencing is $145\,000$ VND per meter; calculate the total cost of fencing the whole perimeter, rounded to the nearest hundred thousand VND.
Solution
Step 1: recognize the data. Two sides and the included angle: exactly the mold for the cosine rule. There is no matching pair here, so the sine rule cannot be used yet.
$$c^{2}=78^{2}+95^{2}-2(78)(95)\cos 63^{\circ}=6084+9025-14820\cos 63^{\circ}$$$$c^{2}=15109-6379.6=8379.4\;\Longrightarrow\;c=91.5\ \text{m}$$Step 2: the area. The same data go straight into the area formula, with no need to compute a height:
$$\text{Area}=\frac{1}{2}(78)(95)\sin 63^{\circ}=3705\times 0.8910=3301\ \text{m}^{2}$$Step 3: the cost. The perimeter is $78+95+91.5=264.5$ m, so
$$264.5\times 145\,000=38\,352\,500\approx 38\,400\,000\ \text{VND}$$Two reasonableness checks. First, the side $c=91.5$ must lie between $95-78=17$ and $95+78=173$, the triangle inequality, and it immediately catches a calculator slip in radian mode ($\cos 63$ in radians gives $c=22.3$, still within the interval but far off). Second, since $63^\circ$ is less than $90^\circ$, $c$ must be less than $\sqrt{78^{2}+95^{2}}=122.9$; if you get a larger number, you have certainly put the minus sign in the wrong place in the formula.
The rounding at the end needs particular care: keep $91.547$ in the calculator until the final multiplication and round only the final result. Rounding early to $91.5$ and then multiplying is off by about $7\,000$ VND, which is small, but the IB deducts accuracy marks for early rounding.