A triangle is a two-dimensional object that exists in two dimensions or higher. A triangle is a polygon with three edges (sides) and three vertices (angles), and is one of the basic shapes in geometry. In Euclidean geometry, any three points that are non-collinear determine a unique triangle and a unique plane.
The three angles in a triangle are labeled A, B, and C, and the three sides across from each angle are labeled a, b, and c. So side a is across from angle A, side b is across from angle B, and side c is across from angle C. If you know any three of these six measurements (aka facts), you can (in most cases) construct a triangle using either the Law of Cosines or the Law of Sines.
The angles within a triangle must add up to 180 degrees (A + B + C = 180°). A triangle with all angles less than 90 degrees is an Acute triangle. A triangle with one 90 degree angle is a Right triangle. And a triangle with one angle more than 90 degrees is an Obtuse triangle.
An Equilateral triangle has three equal sides, and all three angles are 60 degrees. An Isosceles triangle has two equal sides with two equal angles opposite them. A Scalene triangle has no equal sides, and no equal angles.
The first three bins given below show how to construct a triangle with the given information. Subsequent sections will describe each of these constructors.Bins in Two Dimensions
A triangle is classified based on what three of the six measurements are given. Note that A means angle and S means side.
The law of cosines relates the lengths of the sides of a triangle to the cosine of one of its angles. If the angle is a right angle, then the law of cosines reduces to the Pythagorean theorem a2 + b2 = c2. The law of cosines finds the third side of a triangle when two sides and their enclosed angle are known (SAS), and in computing the angles of a triangle if all three sides are known (SSS).
The law of sines relates the lengths of the sides of a triangle to the sines of its angles.
(sin A)/a = (sin B)/b = (sin C)/cFind AAS Triangle
Since two angles are given, and all three angles of a triangle must add up to 180°, the third angle is easy to find. Then use the law of sines to find the other two sides.
Since two sides and the angle between them are given, use the law of cosines to find the third side. Then use the law of sines to find the smaller of the two angles based on their opposite sides. This is because the sine of an angle cannot tell if the angle is acute or obtuse. The third angle plus the other two must add up to 180°. The following steps assume the second angle is acute.
Since two sides and the angle not between them are given, use the law of sines to find the unknown angle across from one of the sides you are given. Say we know sides S1, S2, and angle A1. If S1 < S2 and 0 < (S2 / S1) sin(A1) < 1, then there are two values for angle A2 where one is acute and the other is obtuse, and these two angles are supplementary. The third angle is easy to find once you have the other angles. You can find the third side using either the law of sines or the law of cosines (I used the law of sines).
Since no angles are given, the law of cosines must be used to find the first angle. Then you can use either law to find the second angle. And the third angle is 180° minus the other two angles. The steps below use the law of cosines to find each angle.
This bin allows you to pick any three of the six measurements for a triangle, and determines if either one, two, or no triangles are possible. The following lists the 16 possible combinations you can select.