Finding An Angle With Two Sides

8 min read

Finding an angle with two sides is a fundamental problem in geometry that appears whenever you know the lengths of two sides of a triangle and need to determine the measure of the angle formed between them or opposite one of those sides. This article explains the concepts, tools, and step‑by‑step methods to solve such problems, making the process clear for students and anyone interested in trigonometry.

Understanding the Problem

When you are finding an angle with two sides, you are typically dealing with a triangle where two side lengths are known. The key question is: which angle are we looking for?

  1. Included angle – the angle directly between the two known sides.
  2. Opposite angle – the angle across from one of the known sides, usually the one not shared with the other side.

Identifying the correct angle determines which mathematical rule to apply That's the part that actually makes a difference..

Tools Required

To solve these problems you need a few essential tools:

  • Law of Cosines – relates the lengths of three sides of a triangle to the cosine of one of its angles.
  • Law of Sines – relates the ratios of side lengths to the sines of their opposite angles, useful when you have an angle and a side.
  • Basic trigonometric ratios – sine, cosine, and tangent for right‑angled triangles.

Law of cosines and law of sines are the primary trigonometric functions for non‑right triangles Simple as that..

Step‑by‑Step Guide

Below is a clear, numbered process for finding an angle with two sides.

  1. Identify the known sides

    • Let the two known sides be (a) and (b).
    • Decide whether you need the included angle (C) (between (a) and (b)) or an opposite angle (e.g., angle (A) opposite side (a)).
  2. Choose the appropriate law

    • For the included angle (C), use the law of cosines:
      [ c^{2}=a^{2}+b^{2}-2ab\cos C ]
      Rearranged to solve for (\cos C):
      [ \cos C=\frac{a^{2}+b^{2}-c^{2}}{2ab} ]
    • If you need an opposite angle and you know the side opposite it (say side (c)), you can still apply the law of cosines by treating (c) as the third side.
  3. Plug in the side lengths

    • Substitute the known values of (a), (b), and, if needed, (c) into the formula.
  4. Calculate the cosine value

    • Perform the arithmetic to obtain (\cos C).
  5. Find the angle

    • Use the inverse cosine function (often written as (\arccos) or (\cos^{-1})) on a calculator or using trigonometric tables:
      [ C = \arccos\left(\frac{a^{2}+b^{2}-c^{2}}{2ab}\right) ]
  6. Convert to degrees (if necessary)

    • Most calculators give the angle in radians; multiply by (\frac{180}{\pi}) to obtain degrees.
  7. Check for ambiguous cases

    • In the SSA (side‑side‑angle) scenario, the law of sines can produce two possible angles (acute and obtuse). Verify the triangle’s geometry to select the correct one.

Example

Suppose you have a triangle with sides (a = 5) cm, (b = 7) cm, and the third side (c = 8) cm. To find the included angle (C):

[ \cos C = \frac{5^{2}+7^{2}-8^{2}}{2 \times 5 \times 7} = \frac{25+49-64}{70} = \frac{10}{70} = 0.1429 ]

[ C = \arccos(0.1429) \approx 81.8^{\circ} ]

Thus, the angle between the 5 cm and 7 cm sides is approximately 81.8°.

Scientific Explanation

The law of cosines originates from the scalar product of vectors in Euclidean space. For a triangle with sides (a), (b), and (c) and angle (C

between them, place the triangle in a coordinate system with the vertex of angle (C) at the origin. Because of that, let side (a) lie along the positive (x)-axis, so its endpoint is at ((a,0)). Side (b) then extends from the origin at angle (C), reaching the point ((b\cos C,; b\sin C)) The details matter here. Surprisingly effective..

[ c^{2} = (a - b\cos C)^{2} + (0 - b\sin C)^{2} = a^{2} - 2ab\cos C + b^{2}\cos^{2}C + b^{2}\sin^{2}C = a^{2} + b^{2} - 2ab\cos C. ]

This vector derivation shows that the law of cosines is simply the Pythagorean theorem generalized for any angle, reducing to (c^{2}=a^{2}+b^{2}) when (C=90^{\circ}) because (\cos 90^{\circ}=0).

The law of sines follows from the same geometric construction by expressing the triangle’s area in three equivalent ways:

[ \text{Area} = \frac{1}{2}ab\sin C = \frac{1}{2}bc\sin A = \frac{1}{2}ca\sin B, ]

which, after canceling the common factor (\frac{1}{2}) and dividing by (abc), yields

[ \frac{\sin A}{a} = \frac{\sin B}{b} = \frac{\sin C}{c}. ]

Both laws are therefore direct consequences of Euclidean distance and area formulas, making them universally valid for all planar triangles.

When to Use Which Law

Known Information Goal Recommended Law
Three sides (SSS) Any angle Law of Cosines
Two sides + included angle (SAS) Third side or other angles Law of Cosines (for side), then Law of Sines or Cosines (for angles)
Two angles + any side (AAS/ASA) Remaining sides Law of Sines
Two sides + non‑included angle (SSA) Possible triangle(s) Law of Sines (check for ambiguous case)

Practical Tips & Common Pitfalls

  1. Calculator mode – Always confirm whether your calculator is set to degrees or radians before applying (\arccos) or (\arcsin).
  2. Rounding intermediate results – Carry at least four decimal places through the calculation; round only the final answer.
  3. Ambiguous case (SSA) – If (\sin A = k) where (0 < k < 1), two angles satisfy the equation: (A) and (180^{\circ}-A). Sketch the triangle or use the fact that the sum of angles must be (180^{\circ}) to discard the impossible solution.
  4. Triangle inequality – Before solving, verify that the given sides can form a triangle: each side must be shorter than the sum of the other two.
  5. Unit consistency – Ensure all side lengths share the same unit (cm, m, ft, etc.) to avoid scaling errors.

Real‑World Applications

  • Surveying & navigation – Determining inaccessible distances across rivers or between hilltops by measuring a baseline and two angles.
  • Engineering & architecture – Calculating roof pitches, truss angles, and bridge cable tensions.
  • Physics – Resolving forces into components, analyzing projectile trajectories, and computing relative velocities.
  • Computer graphics – Rendering 3‑D meshes, collision detection, and camera positioning all rely on triangle trigonometry.

Conclusion

Finding an angle when only two sides are known is straightforward once the third side—or the included angle—is available. Here's the thing — the law of cosines provides a direct algebraic path from side lengths to the cosine of the desired angle, while the law of sines offers a complementary route when an opposite side-angle pair is known. By grounding these formulas in vector algebra and area equivalence, we see they are not arbitrary rules but natural extensions of the Pythagorean theorem. Mastering the step‑by‑step process, recognizing the ambiguous SSA case, and applying the appropriate law for the given data set empowers you to solve any triangle problem encountered in mathematics, science, or engineering Not complicated — just consistent. Practical, not theoretical..

Worked Examples

Below are three fully worked examples that illustrate how to choose the appropriate law and avoid common pitfalls. All calculations keep at least four decimal places until the final rounding step That's the part that actually makes a difference..

1. SSS – Finding an Angle with the Law of Cosines

Given: Triangle (ABC) with sides (a = 7.2), (b = 9.5), (c = 12.1). Find (\angle C) Simple, but easy to overlook..

Solution:
[ c^{2}=a^{2}+b^{2}-2ab\cos C ]
[ \cos C=\frac{a^{2}+b^{2}-c^{2}}{2ab} =\frac{7.2^{2}+9.5^{2}-12.1^{2}}{2(7.2)(9.5)} =\frac{51.84+90.25-146.41}{136.8} =\frac{-4.32}{136.8} =-0.0315789 ]
[ C=\arccos(-0.0315789)=91.81^{\circ} ]

The angle is obtuse, which is consistent with the longest side being opposite the largest angle.

2. SAS – Determining the Third Side and Remaining Angles

Given: Triangle (PQR) with (PQ = 8), (PR = 11), and the included angle (\angle P = 42^{\circ}). Find (QR) and (\angle Q).

Solution (Side):
[ QR^{2}=PQ^{2}+PR^{2}-2(PQ)(PR)\cos P ]
[ QR^{2}=8^{2}+11^{2}-2(8)(11)\cos 42^{\circ} ]
[ QR^{2}=64+121-176(0.7431448)=185-130.7959=54.2041 ]
[ QR=7.3623 ]

Solution (Angle (\angle Q)): Use the Law of Sines (or Cosines again).
[ \frac{\sin Q}{PR}= \frac{\sin P}{QR} ]
[ \sin Q = \frac{PR\sin P}{QR}= \frac{11\sin 42^{\circ}}{7.3623} =\frac{11(0.6691306)}{7.3623}=1.0013 ]

Because (\sin Q) exceeds 1 by a tiny amount (rounding error), we revert to the Law of Cosines for the angle:

[ \cos Q = \frac{PQ^{2}+QR^{2}-PR^{2}}{2(PQ)(QR)} =\frac{8^{2}+7.3623^{2}-11^{2}}{2(8)(7.And 3623)} =\frac{64+54. 2041-121}{117.7968} =\frac{-2.7959}{117.7968} =-0.02373 ]
[ Q = \arccos(-0.02373)=91.

Finally, (\angle R = 180^{\circ} - P - Q = 46.83^{\circ}).

3. SSA – The Ambiguous Case

Given: Sides (a = 9), (b = 12), and angle (A = 30^{\circ}). Determine all possible triangles.

Solution:
Apply the Law of Sines:

[ \frac{\sin B}{a}= \frac{\sin A}{b} \quad\Longrightarrow\quad \sin B = \frac{a\sin A}{b}= \frac{9\sin30^{\circ}}{12}= \frac{9(0.5)}{12}=0.375 ]

Since (0<k<1) (with (k=0.375)), two angles satisfy (\sin B):

[ B_{1}= \arcsin(0.375)=22.02^{\circ},\qquad B_{2}=180^{\circ}-22.02^{\circ}=157.98^{\circ} ]

Check feasibility using the triangle‑angle sum:

  • For (
What's New

The Latest

Neighboring Topics

More from This Corner

Thank you for reading about Finding An Angle With Two Sides. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home