Finding the angles of a triangle when only the side lengths are known is a fundamental skill in geometry, trigonometry, and various real-world applications like engineering, navigation, and computer graphics. Which means unlike right triangles where basic trigonometric ratios apply directly, solving for angles in an oblique triangle—any triangle lacking a 90-degree angle—requires the Law of Cosines. This powerful theorem acts as the bridge between side lengths and angle measures, allowing you to get to the complete shape of a triangle from just three linear measurements That's the part that actually makes a difference. But it adds up..
Understanding the Core Concept: The Law of Cosines
So, the Law of Cosines is the generalization of the Pythagorean theorem. While the Pythagorean theorem ($a^2 + b^2 = c^2$) works exclusively for right triangles, the Law of Cosines works for all triangles. It relates the lengths of the sides of a triangle to the cosine of one of its angles It's one of those things that adds up..
Short version: it depends. Long version — keep reading.
For a triangle with sides $a$, $b$, and $c$, and corresponding opposite angles $A$, $B$, and $C$, the formulas are:
- $a^2 = b^2 + c^2 - 2bc \cos(A)$
- $b^2 = a^2 + c^2 - 2ac \cos(B)$
- $c^2 = a^2 + b^2 - 2ab \cos(C)$
To find an angle, you simply rearrange the formula to solve for the cosine of that angle:
- $\cos(A) = \frac{b^2 + c^2 - a^2}{2bc}$
- $\cos(B) = \frac{a^2 + c^2 - b^2}{2ac}$
- $\cos(C) = \frac{a^2 + b^2 - c^2}{2ab}$
Once you calculate the cosine value, you use the inverse cosine function ($\cos^{-1}$ or $\arccos$) on your calculator to find the angle measure in degrees or radians.
Step-by-Step Procedure for Finding All Three Angles
Solving a triangle given three sides (often called SSS or Side-Side-Side) follows a logical sequence to ensure accuracy and efficiency.
1. Verify Triangle Validity (Triangle Inequality Theorem)
Before calculating anything, confirm that a triangle can actually exist with the given side lengths. The sum of the lengths of any two sides must be strictly greater than the length of the third side.
- $a + b > c$
- $a + c > b$
- $b + c > a$
If this condition fails, the "triangle" is impossible (it forms a straight line or cannot close), and no angles exist.
2. Find the Largest Angle First
This is a critical strategic step. Always find the angle opposite the longest side first.
- Why? The Law of Cosines handles obtuse angles (angles ${content}gt; 90^\circ$) perfectly because the cosine of an obtuse angle is negative. The Law of Sines, which you might use later, cannot distinguish between an acute angle and its obtuse supplement (since $\sin(\theta) = \sin(180^\circ - \theta)$). By finding the largest angle—which is the only angle that can possibly be obtuse—you eliminate the ambiguous case immediately.
- Identify the longest side. Let's assume side $c$ is the longest. Use the formula for $\cos(C)$.
3. Calculate the Second Angle Using the Law of Sines
Once you have the largest angle ($C$), the remaining two angles ($A$ and $B$) must be acute (${content}lt; 90^\circ$). You can now safely use the Law of Sines, which is computationally simpler: $ \frac{\sin(A)}{a} = \frac{\sin(B)}{b} = \frac{\sin(C)}{c} $ Rearrange to solve for the second angle (e.g., angle $A$): $ \sin(A) = \frac{a \cdot \sin(C)}{c} $ $ A = \sin^{-1}\left(\frac{a \cdot \sin(C)}{c}\right) $
4. Find the Third Angle Using the Triangle Sum Theorem
The interior angles of any Euclidean triangle always sum to $180^\circ$. $ B = 180^\circ - A - C $ This method is faster and avoids rounding error accumulation compared to using the Law of Cosines a second or third time.
5. Verify Your Results
- Sum Check: Do $A + B + C = 180^\circ$ (allowing for minor rounding differences)?
- Side-Angle Relationship: The largest side must be opposite the largest angle; the smallest side opposite the smallest angle. If side $c$ is longest, angle $C$ must be the largest.
Worked Example: A Complete Walkthrough
Let’s apply this to a concrete example. Find the angles of a triangle with sides $a = 7$, $b = 8$, and $c = 13$.
Step 1: Check Validity $7 + 8 = 15 > 13$ ✓ $7 + 13 = 20 > 8$ ✓ $8 + 13 = 21 > 7$ ✓ A triangle exists Nothing fancy..
Step 2: Find Largest Angle (Angle $C$ opposite side $c=13$) $ \cos(C) = \frac{a^2 + b^2 - c^2}{2ab} $ $ \cos(C) = \frac{7^2 + 8^2 - 13^2}{2(7)(8)} $ $ \cos(C) = \frac{49 + 64 - 169}{112} $ $ \cos(C) = \frac{-56}{112} = -0.5 $ $ C = \cos^{-1}(-0.5) = 120^\circ $ Note: The negative cosine confirms this is an obtuse triangle.
Step 3: Find Angle $A$ using Law of Sines $ \frac{\sin(A)}{7} = \frac{\sin(120^\circ)}{13} $ $ \sin(A) = \frac{7 \cdot \sin(120^\circ)}{13} $ $\sin(120^\circ) = \sin(60^\circ) = \frac{\sqrt{3}}{2} \approx 0.8660$ $ \sin(A) = \frac{7 \cdot 0.8660}{13} \approx \frac{6.062}{13} \approx 0.4663 $ $ A = \sin^{-1}(0.4663) \approx 27.8^\circ $
Step 4: Find Angle $B$ $ B = 180^\circ - 120^\circ - 27.8^\circ = 32.2^\circ $
Step 5: Verification
- Sum: $120 + 27.8 + 32.2 = 180^\circ$ ✓
- Order: Sides: $7 < 8 < 13$. Angles: $27.8^\circ < 32.2^\circ < 120^\circ$. The correspondence holds perfectly ✓.
Alternative Method: Using Law of Cosines for All Three Angles
While the hybrid approach (Cosines for largest, Sines for second,