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.

A B T Bắc Bắc AB = 180 m 052° 318° 38° 48° 94°
This figure is the whole two-station surveying problem, and the three numbers $38^\circ$, $48^\circ$, $94^\circ$ are not given by the problem; they must be constructed from the two bearings. The problem gives only two compass readings: from $A$ the bearing of $T$ is $052^\circ$, from $B$ the bearing of $T$ is $318^\circ$. Bearings are always measured from north clockwise, so to get the interior angle of the triangle you must subtract from the bearing of side $AB$. At $A$, side $AB$ points due east, bearing $090^\circ$, so angle $TAB = 90 - 52 = 38^\circ$. At $B$, side $BA$ points due west, bearing $270^\circ$, so angle $TBA = 318 - 270 = 48^\circ$. The remaining angle is $180 - 38 - 48 = 94^\circ$. Only now can the sine rule be used. Anyone who plugs $52$ and $318$ directly into the sine rule still gets a number out of the calculator, and that number is meaningless with nothing to sound an alarm.

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.

Common mistake

The three traps in this chapter do not make the calculator report an error, so they can be caught only by the habit of checking. First: plugging a bearing straight into the sine rule. A bearing of $052^\circ$ is an angle measured from north, not an interior angle of the triangle; you must first take the difference with the bearing of the other side at the same vertex. Second: the wrong degree or radian mode. The same expression $\cos 63$ gives $0.454$ in degree mode and $-0.988$ in radian mode; two completely different results, but both valid numbers, so the calculator does not complain. A safe rule: whenever the problem writes a degree symbol, set the calculator to DEG; whenever the problem writes a bare $\theta$ in a formula like $s=r\theta$, set it to RAD, and check the mode before each problem, not after seeing a strange answer. Third: forgetting the obtuse solution. When using the sine rule to find an angle, the calculator returns only the acute solution; the angle $180^\circ-\theta$ has the same sine and in surveying problems it is often the correct one. A quick check: the longest side must be opposite the largest angle; if the result violates that, the obtuse solution is the one to take.

Key takeaway

Look at the data first, choose the tool second: if there is a matching pair of side and opposite angle, use the sine rule; if there are three sides or two sides and the included angle, use the cosine rule; and the data set for the cosine rule is also the data set for the area formula $\tfrac12 ab\sin C$, so these two questions almost always come one after the other in the same problem.

← Sinusoidal and logistic models · All IB Math AI lessons · Practice IB Math AI questions (free, instant scoring) · Three-dimensional solids: volume, surface area and angles →