MathorynMathematical Formula Database

Trigonometry

Law of Tangents

The law of tangents relates two sides of a triangle to the tangents of half the difference and half the sum of the opposite angles. It is used, like the laws of sines and cosines, to solve triangles, especially when two sides and the included angle are known.

a−ba+b=tan⁡A−B2tan⁡A+B2\frac{a-b}{a+b}=\frac{\tan\frac{A-B}{2}}{\tan\frac{A+B}{2}}
LaTeX\frac{a-b}{a+b}=\frac{\tan\frac{A-B}{2}}{\tan\frac{A+B}{2}}

Variables

a, ba,\ b
two sides of a triangle
A, BA,\ B
the angles opposite a and b

Example

Check the law for A=60∘, B=40∘A=60^\circ,\ B=40^\circ with a=sin⁡60∘, b=sin⁡40∘a=\sin60^\circ,\ b=\sin40^\circ.

  1. a−ba+b=0.866025−0.6427880.866025+0.642788≈0.14796\frac{a-b}{a+b}=\frac{0.866025-0.642788}{0.866025+0.642788}\approx0.14796.
  2. tan⁡10∘tan⁡50∘=0.1763271.191754≈0.14796\frac{\tan10^\circ}{\tan50^\circ}=\frac{0.176327}{1.191754}\approx0.14796.

Answer: Both sides are ≈0.14796\approx0.14796.

Related formulas