← Back to works

Sine law and cosine law

Geometry High-school concept
Adjust parameters Hide parameters Scroll down to adjust

Parametric equations

In any triangle the sides are opposite the angles . The sine law says

where is the circumradius. The cosine law says

When , this reduces to the Pythagorean theorem .

Interaction

  • Sine law: show the circumcircle and , and check that , , and are equal
  • Cosine law: highlight the included angle and the three sides, and compare with
  • Guides: on: show or hide the altitude, the foot of the perpendicular, and the circumcircle, and compare the figure with and without those guides
  • Drag a vertex to change the triangle. The three side lengths and the three angles update at once. Make obtuse and watch .

What to notice

  • The sine law ties each side to the sine of the opposite angle by one common ratio. The circumradius is the geometric quantity in that ratio, and the common value is .
  • The cosine law is the Pythagorean theorem plus a correction for the included angle. At a right angle, , and the formula returns to .
  • Given two angles and one side, three sides, or two sides and the included angle, the sine law or the cosine law gives the remaining unknowns.

Further reading

Comments

Comment with a GitHub account.

← Back to works