What is a triangle?
A triangle has three sides and three angles, and its angles always add up to 180°. Its perimeter is the three sides added together. We call the sides a, b and c, and the angle across from each side A, B and C, so side a is opposite angle A.
By its angles a triangle is acute (all under 90°), right (one of 90°) or obtuse (one over 90°); by its sides, equilateral (three equal), isosceles (two equal) or scalene. The result shows both.
Source OpenStax · Prealgebra 2e, 9.4 Use Properties of Rectangles, Triangles, and Trapezoids ↗OpenStax · Contemporary Mathematics, 10.3 Triangles ↗
How to solve a triangle
Here it is with your numbers:
- A = cos⁻¹((15² + 7² − 10²) ÷ (2 × 15 × 7))
- A = 34.0477°
- B = cos⁻¹((10² + 7² − 15²) ÷ (2 × 10 × 7))
- B = 122.8783°
- C = cos⁻¹((10² + 15² − 7²) ÷ (2 × 10 × 15))
- C = 23.0739°
- s = 32 ÷ 2
- s = 16
- Area = √(16 × (16 − 10) × (16 − 15) × (16 − 7))
- Area = 29.3939
It means the three angles add up to 180°, and the longest side, 15, is opposite the largest angle.
Which rule to use depends on what you know. From three sides (SSS), the law of cosines gives each angle. From two sides and the angle between them (SAS), it gives the third side first. From two angles and a side (ASA or AAS), the third angle is what’s left of 180°, and the law of sines gives the sides. Two sides and another angle (SSA) can fit none, one or two triangles (below).
The law of sines says a ÷ sin A, b ÷ sin B and c ÷ sin C are all the same number. The law of cosines, c² = a² + b² − 2ab × cos C, links the three sides to one angle; when C is 90°, cos C is 0 and it becomes a² + b² = c².
Source OpenStax · Algebra and Trigonometry 2e, 10.1 Non-right Triangles: Law of Sines ↗OpenStax · Algebra and Trigonometry 2e, 10.2 Non-right Triangles: Law of Cosines ↗
The SSA case: one, two or no triangles
Knowing two sides and an angle that isn’t between them doesn’t always fix the triangle. The law of sines gives sin B, and two angles share each sine: B and 180° − B. So with sides 6 and 8 and a 35° angle opposite the 6, B can be 49.8864° or 130.1136°, giving a third side of 10.419 or 2.6874.
Only one fits when side a is longer than b, or sin B is exactly 1. None fits when sin B comes out over 1: a side of 4 opposite 50°, with another side of 10, gives 1.9151, and no angle has a sine above 1.
FAQs
How to find the 3rd side length of a triangle?
It depends on what you know. With two sides and the angle between them, use the law of cosines: c² = a² + b² − 2ab × cos C. Sides 10 and 12 with 30° between them leave a third side of 6.0128. With two angles and a side, find the third angle (they add up to 180°), then use the law of sines.
Source OpenStax · Algebra and Trigonometry 2e, 10.2 Non-right Triangles: Law of Cosines ↗
Does 1/2absinc work for any triangle?
Yes: the area of any triangle is half of two sides times the sine of the angle between them, whether the triangle is acute, right or obtuse. Sides 90 and 52 with 102° between them give an area of 2,288.8654.
Source OpenStax · Algebra and Trigonometry 2e, 10.1 Non-right Triangles: Law of Sines ↗
Is a triangle 90 or 180?
A triangle’s three angles always add up to 180°. Only a right triangle has a 90° angle; its other two angles then add up to 90°.
Source OpenStax · Prealgebra 2e, 9.4 Use Properties of Rectangles, Triangles, and Trapezoids ↗
Sources
- OpenStax: Algebra and Trigonometry 2e, 10.1 Non-right Triangles: Law of Sines
- OpenStax: Algebra and Trigonometry 2e, 10.2 Non-right Triangles: Law of Cosines
- OpenStax: Prealgebra 2e, 9.4 Use Properties of Rectangles, Triangles, and Trapezoids
- OpenStax: Contemporary Mathematics, 10.3 Triangles