Law of Cosines, Law of Sines, and triangle area
MathematicsPlane GeometryAges 15–16
How do you mainly use this simulation?
Use it with your class: students open it from a link or a QR code, with no account needed.
Triangle ABC is built from two sides a, b and the included angle C; drag any of the three vertices freely. Every side and angle updates live while you verify: c² = a² + b² − 2ab·cosC, a/sinA = b/sinB = c/sinC = 2R, and area S = ½ab·sinC = √(p(p−a)(p−b)(p−c)) = abc/4R = pr. You can also show the circumscribed circle (radius R) and the altitude. The Cyclic quadrilateral screen puts A, B, C, D on a circle and compares Brahmagupta's formula K = √((s − a)(s − b)(s − c)(s − d)) with the true area; with d = 0 it becomes Heron's formula, and off the circle it gives too much.
Lesson: Law of Cosines, Law of Sines, and triangle area formulas; Brahmagupta's formula for cyclic quadrilaterals
What it shows
In any triangle ABC, the Law of Cosines c² = a² + b² − 2ab·cosC links three sides and one angle, and the Law of Sines says that a/sinA = b/sinB = c/sinC = 2R, the diameter of the circumscribed circle. The area equals ½ab·sinC, Heron's formula, abc/4R and pr. On the Cyclic quadrilateral screen, Brahmagupta's formula K = √((s − a)(s − b)(s − c)(s − d)) gives the area of a quadrilateral inscribed in a circle; with d = 0 it is Heron's formula, and for a quadrilateral off the circle it gives more than the true area.
How to use
On the triangle, drag A, B, C, or open Triangle settings to set Side a = BC, Side b = CA and Angle C, and check that c², the three ratios and the area formulas agree; Circumscribed circle and Altitude AH add the circle and the height. Press Cyclic quadrilateral, drag A, B, C, D around the circle and press Record. D → A (d = 0) leads to Heron's formula; untick Keep the vertices on the circle to drag a vertex off it.
Parameters you can change
- Side a = BC 1–12 cm
- Side b = CA 1–12 cm
- Angle C 10–170 °
- Show circumscribed circle (R)
- Show altitude AH
- Screen Triangle, Cyclic quadrilateral
- Cyclic quadrilateral: keep the vertices on the circle
Questions to explore
- For which angle C does c² = a² + b², and what kind of triangle is it then?
- With a and b fixed, which angle C gives the largest area, and why?
- Why is the longest side of a triangle always opposite its largest angle?
- Why does Brahmagupta's formula give too large an area when D is moved off the circle?