How to Find the Third Length of a Triangle: A Step-by-Step Guide
When working with triangles in geometry, one common question is how to find the third side length when two sides and some angle information are known. Triangles are fundamental shapes in mathematics, and their properties help us calculate unknown sides using specific theorems and formulas. Now, whether you’re dealing with a right-angled triangle, an acute triangle, or an obtuse triangle, Reliable methods exist — each with its own place. This guide will walk you through the key techniques, including the Law of Cosines, the Pythagorean theorem, and the triangle inequality theorem, while providing practical examples to solidify your understanding.
The Law of Cosines: A Universal Solution
The Law of Cosines is the most versatile tool for finding the third side of a triangle when you know two sides and the included angle. This formula generalizes the Pythagorean theorem to all triangles, not just right-angled ones. The Law of Cosines states:
$ c^2 = a^2 + b^2 - 2ab \cos(C) $
Here:
- $ c $ is the third side (opposite the angle $ C $).
Also, - $ a $ and $ b $ are the known sides. - $ C $ is the included angle between sides $ a $ and $ b $.
Step-by-Step Example
Suppose you have a triangle with sides $ a = 5 $ units, $ b = 7 $ units, and the included angle $ C = 60^\circ $. To find the third side $ c $:
- Plug the values into the formula:
$ c^2 = 5^2 + 7^2 - 2(5)(7)\cos(60^\circ) $ - Calculate the squares and cosine:
$ c^2 = 25 + 49 - 70(0.5) $ - Simplify:
$ c^2 = 74 - 35 = 39 $ - Take the square root:
$ c = \sqrt{39} \approx 6.24 \text{ units} $
This method works for any triangle, regardless of its type. Always ensure you know the angle between the two known sides before applying the formula.
The Pythagorean Theorem: For Right-Angled Triangles
If the triangle is right-angled, you can use the Pythagorean theorem, which is a special case of the Law of Cosines. The theorem states:
$ c^2 = a^2 + b^2 $
Here, $ c $ is the hypotenuse (the side opposite the right angle), and $ a $ and $ b $ are the other two sides Small thing, real impact..
Example
Imagine a right-angled triangle with legs $ a = 3 $ units and $ b = 4 $ units. To find the hypotenuse $ c $:
- Apply the theorem:
$ c^2 = 3^2 + 4^2 = 9 + 16 = 25 $ - Take the square root:
$ c = \sqrt{25} = 5 \text{ units} $
The Pythagorean theorem is faster and simpler when you know the triangle is right-angled. Still, if the angle is not 90°, you must use the Law of Cosines instead.
The Triangle Inequality Theorem: A Validity Check
Before calculating, it’s essential to verify whether the known sides can form a valid triangle. The triangle inequality theorem states that the sum of any two sides must be greater than the third side. For sides $ a $, $ b $, and $ c $:
And yeah — that's actually more nuanced than it sounds.
- $ a + b > c $
- $ a + c > b $
- $ b + c > a $
Example
Suppose you’re given sides $ a = 5 $, $ b = 7 $, and you want to find $ c $. Before using the Law of Cosines, check if the triangle inequality holds:
- $ 5 + 7 > c $ → $ c < 12 $
- $ 5 + c > 7 $ → $ c > 2 $
- $ 7 + c > 5 $ → $ c > -2 $ (always true for positive lengths)
Thus, $ c $ must be between 2 and 12 units. If your calculation yields a value outside this range, there’s likely an error in your work or the given data.
Using the Law of Sines: When an Angle-Side Pair Is Known
The Law of Sines can also help find the third side if you know one side and its opposite angle, along with another angle or side. The formula is:
$ \frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)} $
Example
Suppose you know side $ a = 8 $ units, angle $ A = 45^\circ $, and angle $ B = 60^\circ $. To find side $ b $:
- Use the proportion:
$ \frac{8}{\sin(45^\circ)} = \frac{b}{\sin(60^\circ)} $ - Solve for $ b $:
$ b = \frac{8 \sin(60^\circ)}{\sin(45^\circ)} \approx \frac{8 \times 0.866}{0.707} \approx 9.80 \text{ units} $
Once $ b $ is found, you can use the Law of Cosines to find $ c $, or apply the Law of Sines again if another angle is known.
Common Scenarios and Tips
Scenario 1: Two Sides and the Included Angle
Use the Law of Cosines directly. This is the most common case when two sides and the angle between them are given Simple, but easy to overlook..
Scenario 2: Two Sides and a Non-Included Angle
This is the famous ambiguous case (SSA). The Law of Sines is used here, but there
but there can be zero, one, or two possible triangles depending on the relationship between the known side, the known angle, and the opposite side. This is why the SSA configuration is often called the ambiguous case No workaround needed..
Resolving the Ambiguous Case
-
Compute the “height” (h) of the triangle formed by dropping a perpendicular from the known vertex to the line containing the unknown side.
[ h = b\sin A ] where (b) is the side adjacent to the known angle (A) and the unknown side is opposite (A) It's one of those things that adds up. Worth knowing.. -
Compare the opposite side (a) (the side opposite the known angle) with (h) and with the adjacent side (b):
- If (a < h) – the side (a) is too short to reach the line; no triangle exists.
- If (a = h) – the side (a) just touches the line, forming a right‑angled triangle; exactly one solution.
- If (h < a < b) – the side (a) can swing to intersect the line at two distinct points, giving two possible triangles.
- If (a \ge b) – the side (a) is long enough to intersect the line only once (or exactly once when (a=b)), yielding one triangle (or a degenerate case when (a=b) and the angle is (0^\circ)).
Example
Given (A = 30^\circ), (a = 4), and (b = 6):
- Compute (h = 6\sin30^\circ = 6 \times 0.5 = 3).
- Since (a = 4) satisfies (h < a < b) ((3 < 4 < 6)), two triangles are possible.
Using the Law of Sines:
[
\frac{a}{\sin A}= \frac{b}{\sin B};\Longrightarrow; \sin B = \frac{b\sin A}{a}= \frac{6\cdot 0.5}{4}=0.Even so, 75. Now, ]
Thus (B) can be (\arcsin(0. 75)\approx 48.Think about it: 6^\circ) or (180^\circ-48. On top of that, 6^\circ=131. 4^\circ).
Both choices keep the sum of angles below (180^\circ), so each yields a valid triangle.
Scenario 3: Three Sides Known (SSS)
When all three side lengths (a), (b), and (c) are given, the triangle is fully determined. The Law of Cosines is the natural tool to find any angle, e.g. [ c^{2}=a^{2}+b^{2}-2ab\cos C;\Longrightarrow;\cos C=\frac{a^{2}+b^{2}-c^{2}}{2ab}.
If you also need the area, Heron’s formula is efficient: [ s=\frac{a+b+c}{2},\qquad \text{Area}= \sqrt{s(s-a)(s-b)(s-c)}. ]
Example
For sides (a=7), (b=9), (c=12):
- Compute (\cos C = \frac{7^{2}+9^{2}-12^{2}}{2\cdot7\cdot9}= \frac{49+81-144}{126}= \frac{-14}{126}= -0.1111).
- Hence (C = \arccos(-0.1111) \approx 96.4^\circ).
The semiperimeter (s = (7+9+12)/2 = 14) and the area is (\sqrt{14\cdot7\cdot5\cdot2}= \sqrt{980}\approx31.3) square units.
Quick‑Reference Checklist
| Known data | Recommended method | When to watch out for… |
|---|---|---|
| Right angle (two legs) | Pythagorean theorem | Verify |
that the given sides are indeed the legs. | | Two sides + included angle (SAS) | Law of Cosines | Always yields a unique triangle. | | Three sides (SSS) | Law of Cosines / Heron's | Must satisfy the triangle inequality ((a+b>c), etc.That said, | | Two angles + non-included side (AAS) | Law of Sines | Always yields a unique triangle. Consider this: | | Right angle (hypotenuse + leg) | Pythagorean theorem | Ensure the hypotenuse is the longest side. Day to day, | | Two angles + included side (ASA) | Law of Sines | Always yields a unique triangle. | | Two sides + non-included angle (SSA) | Law of Sines | The ambiguous case (0, 1, or 2 solutions). ) Most people skip this — try not to..
Conclusion
To keep it short, solving a triangle requires matching the known elements to the appropriate geometric or trigonometric tool. Practically speaking, while straightforward cases like SSS, SAS, ASA, and AAS guarantee a single, unique triangle, the ambiguous case (SSA) demands careful analysis to determine whether zero, one, or two valid triangles can be formed. By mastering the Law of Sines, the Law of Cosines, and Heron's formula, and by understanding the conditions that dictate the number of possible solutions, you can confidently tackle any triangle-solving problem that arises in mathematics, physics, surveying, or engineering.
Most guides skip this. Don't.