Main Page | See live article | Alphabetical index

Triangle

''This article is about the geometric shape; for the musical instrument, see triangle (instrument); for the Raleigh-Durham-Chapel Hill region of North Carolina, see Research Triangle.


A triangle is one of the basic shapes of geometry: a two-dimensional figure with three vertices and three sides which are straight line segments.

Table of contents
1 Types of triangles
2 Basic facts
3 Points, lines and circles associated with a triangle
4 Computing the area of a triangle
5 See also
6 External links

Types of triangles

Triangles can be classified according to their side lengths. These classifications are:

Triangles can also be classified according to the size of their largest angle: a triangle is called

Basic facts

A triangle is a polygon and a 2-simplex (see polytope).

Two triangles are said to be similar if one can be produced by uniformly expanding the other. In this case, the lengths of their sides are proportional. That is, if the longest side of a triangle is twice that of the longest side of a similar triangle, say, then the shortest side will also be twice that of the shortest side of the other triangle, and the median side will be twice that of the other triangle. Also, the ratio of the longest side to the shortest in the first triangle will be the same as the ratio of the longest side to the shortest in the other triangle. The crucial fact is that two triangles are similar if and only if their corresponding angles are equal, and this occurs for example when two triangles share an angle and the sides opposite to that angle are parallel.

Using right triangles and the concept of similarity, the trigonometric functions sine and cosine can be defined. These are functions of an angle which are investigated in trigonometry.

In the sequel, we will consider a triangle with vertices A, B and C, angles α, β and γ and sides a, b and c. The side a is opposite to the vertex A and angle α and analogously for the other sides.

The sum of the angles α + β + γ is equal to two right angles (180 degrees or π radians). This allows to determine the third angle of any triangle as soon as two angles are known.

A central theorem is the Pythagorean theorem stating that in any right triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. If γ is the right angle, we can write this as

This means that knowing the lengths of two sides of a right triangle is enough to calculate the length of the third -- something unique to right triangles. The Pythagorean theorem can be generalized to the law of cosines:

which is valid for all triangles, even if γ is not a right angle. The law of cosines can be used to compute the side lengths and angles of a triangle as soon as all three sides or two sides and an enclosed angle are known.

The law of sines states

which can be used to compute the side lengths for a triangle as soon as two angles and one side are known. If two sides and an unenclosed angle is known, the law of sines may also be used; however, in this case there may be zero, one or two solutions.

Points, lines and circles associated with a triangle

A perpendicular bisector of a triangle is a straight line passing through the midpoint of a side and being perpendicular to it, i.e. forming a right angle with it. The three perpendicular bisectors meet in a single point, the triangle's circumcenter; this point is the center of the circumcircle, the circle passing through all three vertices. The diameter of this circle is given by a/sin(α).

Thales' theorem states that if the circumcenter is located on one side of the triangle, then the opposite angle is a right one. More is true: if the circumcenter is located inside the triangle, then the triangle is acute; if the circumcenter is located outside the triangle, then the triangle is obtuse.

An altitude of a triangle is a straight line through a vertex and perpendicular to (i.e. forming a right angle with) the opposite side. This opposite side is called the base of the altitude, and the point where the altitude intersects the base (or its extension) is called the foot of the altitude. The length of the altitude is the distance between the base and the vertex. The three altitudes intersect in a single point, called the orthocenter of the triangle. The orthocenter lies inside the triangle if and only if the triangle is not obtuse. The three vertices together with the orthocenter are said to form an orthocentric system.

An angle bisector of a triangle is a straight line through a vertex which cuts the corresponding angle in half. The three angle bisectors intersect in a single point; this point is the center of the triangle's incircle, the circle which lies inside the triangle and touches all three sides. There are three other important circles, the excircles; they lie outside the triangle and touch one side as well as the extensions of the other two. The centers of the in- and excircles form an orthocentric system.

A median of a triangle is a straight line through a vertex and the midpoint of the opposite side. The three medians intersect in a single point, the triangle's centroid. This is also the triangle's center of gravity: if the triangle were made out of wood, say, you could balance it on its centroid, or on any line through the centroid. The centroid cuts every median in the ratio 2:1, i.e. the distance between a vertex and the centroid is twice as large as the distance between the centroid and the midpoint of the opposite side.

The midpoints of the three sides and the feet of the three altitudes all lie on a single circle, the triangle's nine point circle. Its radius is half that of the circumcircle. It touches the incircle and the three excircles.

The centroid, orthocenter, circumcenter and center of the nine point circle (but not necessarily the center of the incircle) all lie on a single line, known as Euler's line. The center of the nine point circle lies at the midpoint between the orthocenter and the circumcenter, and the distance between the centroid and the circumcenter is half that between the centroid and the orthocenter.

If one reflects a median at the angle bisector that passes through the same vertex, one obtains a symmedian. The three symmedians intersect in a single point, the symmedian point of the triangle.

Computing the area of a triangle

The area S of a triangle can be computed in several ways. The most commonly used formula is:

S = 1/2 × base × altitude

where the altitute can be chosen arbitrarily. This formula shows that in the figure
the two triangles ABC1 and ABC2 have the same area, since the lines AB and C1C2 are parallel.

Another way to compute S is Heron's formula:

where s = 1/2 (a + b + c) is one half of the triangle's perimeter.

Alternatively

S = sr

where s is defined as above and r is the radius of the triangle's incircle,

where AB and AC are the vectorss pointing from A to B respectively C, and |AB × AC| denotes the length of their cross product. This is because |AB × AC| represents the area of the parallelogram formed by these vectors, and thus the area of the triangle is half this.

If the vertex A is located at the origin (0,0) of a Cartesian coordinate system and the coordinates of the other two vertices are given by B = (x1, y1) and C = (x2, y2), then the area S can be computed as 1/2 times the absolute value of the determinant

i.e.

See also

External links