User:N.S. RATHOR

TRIGLE This article is about the basic geometric shape. For other uses, see Triangle (disambiguation). "Isosceles" and "Acute Triangle" redirect here. For the trapezoid, see Isosceles trapezoid. For The Welcome to Paradox episode, see List of Welcome to Paradox episodes. Triangle Triangle illustration.svg A triangle Edges and vertices 	3 Schläfli symbol 	{3} (for equilateral) Area 	various methods; see below Internal angle (degrees) 	60° (for equilateral)

A triangle is one of the basic shapes of geometry: a polygon with three corners or vertices and three sides or edges which are line segments. A triangle with vertices A, B, and C is denoted \triangle ABC.

In Euclidean geometry any three points, when non-collinear, determine a unique triangle and a unique plane (i.e. a two-dimensional Euclidean space). Contents

1 Types of triangle 1.1 By relative lengths of sides 1.2 By internal angles 2 Basic facts 2.1 Similarity and congruence 2.2 Right triangles 3 Existence of a triangle 3.1 Trigonometric conditions 4 Points, lines, and circles associated with a triangle 5 Computing the sides and angles 5.1 Trigonometric ratios in right triangles 5.1.1 Sine, cosine and tangent 5.1.2 Inverse functions 5.2 Sine, cosine and tangent rules 5.3 Solution of triangles 6 Computing the area of a triangle 6.1 Using trigonometry 6.2 Using Heron's formula 6.3 Using vectors 6.4 Using coordinates 6.5 Using line integrals 6.6 Formulas mimicking Heron's formula 6.7 Using Pick's theorem 6.8 Other area formulas 6.9 Upper bound on the area 6.10 Bisecting the area 7 Further formulas for general Euclidean triangles 8 Morley's trisector theorem 9 Figures inscribed in a triangle 10 Partitioning into isosceles triangles 11 Figures circumscribed about a triangle 12 Non-planar triangles 13 Triangles in construction 14 See also 15 Notes 16 References 17 External links

Types of triangle Euler diagram of types of triangles, using the definition that isosceles triangles have at least 2 equal sides, i.e. equilateral triangles are isosceles. By relative lengths of sides

Triangles can be classified according to the relative lengths of their sides:

In an equilateral triangle all sides have the same length. An equilateral triangle is also a regular polygon with all angles measuring 60°.[1] In an isosceles triangle, two sides are equal in length.[note 1][2] An isosceles triangle also has two angles of the same measure; namely, the angles opposite to the two sides of the same length; this fact is the content of the isosceles triangle theorem, which was known by Euclid. Some mathematicians define an isosceles triangle to have exactly two equal sides, whereas others define an isosceles triangle as one with at least two equal sides.[2] The latter definition would make all equilateral triangles isosceles triangles. The 45–45–90 Right Triangle, which appears in the Tetrakis square tiling, is isosceles. In a scalene triangle, all sides are unequal,[3] equivalently all angles are unequal. Right triangles are scalene if and only if not isosceles.

Equilateral Triangle 	Isosceles triangle 	Scalene triangle Equilateral 	Isosceles 	Scalene

In diagrams representing triangles (and other geometric figures), "tick" marks along the sides are used to denote sides of equal lengths – the equilateral triangle has tick marks on all 3 sides, the isosceles on 2 sides. The scalene has single, double, and triple tick marks, indicating that no sides are equal. Similarly, arcs on the inside of the vertices are used to indicate equal angles. The equilateral triangle indicates all 3 angles are equal; the isosceles shows 2 identical angles. The scalene indicates by 1, 2, and 3 arcs that no angles are equal. By internal angles

Triangles can also be classified according to their internal angles, measured here in degrees.

A right triangle (or right-angled triangle, formerly called a rectangled triangle) has one of its interior angles measuring 90° (a right angle). The side opposite to the right angle is the hypotenuse; it is the longest side of the right triangle. The other two sides are called the legs or catheti[4] (singular: cathetus) of the triangle. Right triangles obey the Pythagorean theorem: the sum of the squares of the lengths of the two legs is equal to the square of the length of the hypotenuse: a2 + b2 = c2, where a and b are the lengths of the legs and c is the length of the hypotenuse. Special right triangles are right triangles with additional properties that make calculations involving them easier. One of the two most famous is the 3–4–5 right triangle, where 32 + 42 = 52. In this situation, 3, 4, and 5 are a Pythagorean Triple. The other one is an isosceles triangle that has 2 angles that each measure 45 degrees. Triangles that do not have an angle that measures 90° are called oblique triangles. A triangle that has all interior angles measuring less than 90° is an acute triangle or acute-angled triangle. A triangle that has one interior angle that measures more than 90° is an obtuse triangle or obtuse-angled triangle. A "triangle" with an interior angle of 180° (and collinear vertices) is degenerate. A right degenerate triangle has collinear vertices, two of which are coincident.

A triangle that has two angles with the same measure also has two sides with the same length, and therefore it is an isosceles triangle. It follows that in a triangle where all angles have the same measure, all three sides have the same length, and such a triangle is therefore equilateral. Right triangle 	Obtuse triangle 	Acute triangle Right 	Obtuse 	Acute \underbrace{\qquad \qquad \qquad \qquad \qquad \qquad}_{} Oblique Basic facts A triangle, showing exterior angle d.

Triangles are assumed to be two-dimensional plane figures, unless the context provides otherwise (see Non-planar triangles, below). In rigorous treatments, a triangle is therefore called a 2-simplex (see also Polytope). Elementary facts about triangles were presented by Euclid in books 1–4 of his Elements, around 300 BC. The measures of the interior angles of the triangle always add up to 180 degrees (same color to point out they are equal).

The measures of the interior angles of a triangle in Euclidean space always add up to 180 degrees.[5] This allows determination of the measure of the third angle of any triangle given the measure of two angles. An exterior angle of a triangle is an angle that is a linear pair (and hence supplementary) to an interior angle. The measure of an exterior angle of a triangle is equal to the sum of the measures of the two interior angles that are not adjacent to it; this is the exterior angle theorem. The sum of the measures of the three exterior angles (one for each vertex) of any triangle is 360 degrees.[note 2] Similarity and congruence

Two triangles are said to be similar if every angle of one triangle has the same measure as the corresponding angle in the other triangle. The corresponding sides of similar triangles have lengths that are in the same proportion, and this property is also sufficient to establish similarity.

A few basic theorems about similar triangles:

If two corresponding internal angles of two triangles have the same measure, the triangles are similar. If two corresponding sides of two triangles are in proportion, and their included angles have the same measure, then the triangles are similar. (The included angle for any two sides of a polygon is the internal angle between those two sides.) If three corresponding sides of two triangles are in proportion, then the triangles are similar.[note 3]

Two triangles that are congruent have exactly the same size and shape:[note 4] all pairs of corresponding interior angles are equal in measure, and all pairs of corresponding sides have the same length. (This is a total of six equalities, but three are often sufficient to prove congruence.)

Some sufficient conditions for a pair of triangles to be congruent are:

SAS Postulate: Two sides in a triangle have the same length as two sides in the other triangle, and the included angles have the same measure. ASA: Two interior angles and the included side in a triangle have the same measure and length, respectively, as those in the other triangle. (The included side for a pair of angles is the side that is common to them.) SSS: Each side of a triangle has the same length as a corresponding side of the other triangle. AAS: Two angles and a corresponding (non-included) side in a triangle have the same measure and length, respectively, as those in the other triangle. (This is sometimes referred to as AAcorrS and then includes ASA above.) Hypotenuse-Leg (HL) Theorem: The hypotenuse and a leg in a right triangle have the same length as those in another right triangle. This is also called RHS (right-angle, hypotenuse, side). Hypotenuse-Angle Theorem: The hypotenuse and an acute angle in one right triangle have the same length and measure, respectively, as those in the other right triangle. This is just a particular case of the AAS theorem.

An important case:

Side-Side-Angle (or Angle-Side-Side) condition: If two sides and a corresponding non-included angle of a triangle have the same length and measure, respectively, as those in another triangle, then this is not sufficient to prove congruence; but if the angle given is opposite to the longer side of the two sides, then the triangles are congruent. The Hypotenuse-Leg Theorem is a particular case of this criterion. The Side-Side-Angle condition does not by itself guarantee that the triangles are congruent because one triangle could be obtuse-angled and the other acute-angled.

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. Right triangles The Pythagorean theorem

A central theorem is the Pythagorean theorem, which states in any right triangle, the square of the length of the hypotenuse equals the sum of the squares of the lengths of the two other sides. If the hypotenuse has length c, and the legs have lengths a and b, then the theorem states that

a^2 + b^2 = c^2.\,

The converse is true: if the lengths of the sides of a triangle satisfy the above equation, then the triangle has a right angle opposite side c.

Some other facts about right triangles:

The acute angles of a right triangle are complementary.

a + b + 90^{\circ} = 180^{\circ} \Rightarrow a + b = 90^{\circ} \Rightarrow a = 90^{\circ} - b

If the legs of a right triangle have the same length, then the angles opposite those legs have the same measure. Since these angles are complementary, it follows that each measures 45 degrees. By the Pythagorean theorem, the length of the hypotenuse is the length of a leg times √2. In a right triangle with acute angles measuring 30 and 60 degrees, the hypotenuse is twice the length of the shorter side, and the longer side is equal to the length of the shorter side times √3:

c = 2a\, b = a\times\sqrt{3}.

For all triangles, angles and sides are related by the law of cosines and law of sines (also called the cosine rule and sine rule). Existence of a triangle

The sum of the lengths of any two sides of a triangle always exceeds the length of the third side, a principle known as the triangle inequality. Since the vertices of a triangle are assumed to be non-collinear, it is not possible for the sum of the length of two sides be equal to the length of the third side. Trigonometric conditions

Three positive angles α, β, and γ, each of them less than 180°, are the angles of a triangle if and only if any one of the following conditions holds:[6]

\tan{\frac{\alpha}{2}}\tan{\frac{\beta}{2}}+\tan{\frac{\beta}{2}}\tan{\frac{\gamma}{2}}+\tan{\frac{\gamma}{2}}\tan{\frac{\alpha}{2}}=1, \sin^2{\frac{\alpha}{2}}+\sin^2{\frac{\beta}{2}}+\sin^2{\frac{\gamma}{2}}+2\sin{\frac{\alpha}{2}}\sin{\frac{\beta}{2}}\sin{\frac{\gamma}{2}}=1.

Points, lines, and circles associated with a triangle

There are hundreds of different constructions that find a special point associated with (and often inside) a triangle, satisfying some unique property: see the references section for a catalogue of them. Often they are constructed by finding three lines associated in a symmetrical way with the three sides (or vertices) and then proving that the three lines meet in a single point: an important tool for proving the existence of these is Ceva's theorem, which gives a criterion for determining when three such lines are concurrent. Similarly, lines associated with a triangle are often constructed by proving that three symmetrically constructed points are collinear: here Menelaus' theorem gives a useful general criterion. In this section just a few of the most commonly encountered constructions are explained. The circumcenter is the center of a circle passing through the three vertices of the triangle.

A perpendicular bisector of a side of a triangle is a straight line passing through the midpoint of the 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, called the circumdiameter, can be found from the law of sines stated above. The circumcircle's radius is called the circumradius.

Thales' theorem implies that if the circumcenter is located on one side of the triangle, then the opposite angle is a right one. 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. The intersection of the altitudes is the orthocenter.

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 acute. The intersection of the angle bisectors is the center of the incircle.

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, the incenter, the center of the triangle's incircle. The incircle is the circle which lies inside the triangle and touches all three sides. Its radius is called the inradius. 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. The intersection of the medians is the centroid.

A median of a triangle is a straight line through a vertex and the midpoint of the opposite side, and divides the triangle into two equal areas. The three medians intersect in a single point, the triangle's centroid or geometric barycenter. The centroid of a rigid triangular object (cut out of a thin sheet of uniform density) is also its center of mass: the object can be balanced on its centroid in a uniform gravitational field. The centroid cuts every median in the ratio 2:1, i.e. the distance between a vertex and the centroid is twice the distance between the centroid and the midpoint of the opposite side. Nine-point circle demonstrates a symmetry where six points lie on the edge of the triangle.

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. The remaining three points for which it is named are the midpoints of the portion of altitude between the vertices and the orthocenter. The radius of the nine-point circle is half that of the circumcircle. It touches the incircle (at the Feuerbach point) and the three excircles. Euler's line is a straight line through the centroid (orange), orthocenter (blue), circumcenter (green) and center of the nine-point circle (red).

The centroid (yellow), orthocenter (blue), circumcenter (green) and center of the nine-point circle (red point) all lie on a single line, known as Euler's line (red 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.

The center of the incircle is not in general located on Euler's line.

If one reflects a median in 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 sides and angles

There are various standard methods for calculating the length of a side or the size of an angle. Certain methods are suited to calculating values in a right-angled triangle; more complex methods may be required in other situations. Trigonometric ratios in right triangles Main article: Trigonometric functions A right triangle always includes a 90° (π/2 radians) angle, here with label C. Angles A and B may vary. Trigonometric functions specify the relationships among side lengths and interior angles of a right triangle.

In right triangles, the trigonometric ratios of sine, cosine and tangent can be used to find unknown angles and the lengths of unknown sides. The sides of the triangle are known as follows:

The hypotenuse is the side opposite the right angle, or defined as the longest side of a right-angled triangle, in this case h.   The opposite side is the side opposite to the angle we are interested in, in this case a.    The adjacent side is the side that is in contact with the angle we are interested in and the right angle, hence its name. In this case the adjacent side is b.

Sine, cosine and tangent

The sine of an angle is the ratio of the length of the opposite side to the length of the hypotenuse. In our case

\sin A = \frac {\textrm{opposite side}}{\textrm{hypotenuse}} = \frac {a}{h}\,.

Note that this ratio does not depend on the particular right triangle chosen, as long as it contains the angle A, since all those triangles are similar.

The cosine of an angle is the ratio of the length of the adjacent side to the length of the hypotenuse. In our case

\cos A = \frac {\textrm{adjacent side}}{\textrm{hypotenuse}} = \frac {b}{h}\,.

The tangent of an angle is the ratio of the length of the opposite side to the length of the adjacent side. In our case

\tan A = \frac {\textrm{opposite side}}{\textrm{adjacent side}} = \frac {a}{b} =\frac {\sin A}{\cos A}\,.

The acronym "SOH-CAH-TOA" is a useful mnemonic for these ratios. Inverse functions

The inverse trigonometric functions can be used to calculate the internal angles for a right angled triangle with the length of any two sides.

Arcsin can be used to calculate an angle from the length of the opposite side and the length of the hypotenuse.

\theta = \arcsin \left( \frac{\text{opposite side}}{\text{hypotenuse}} \right)

Arccos can be used to calculate an angle from the length of the adjacent side and the length of the hypontenuse.

\theta = \arccos \left( \frac{\text{adjacent side}}{\text{hypotenuse}} \right)

Arctan can be used to calculate an angle from the length of the opposite side and the length of the adjacent side.

\theta = \arctan \left( \frac{\text{opposite side}}{\text{adjacent side}} \right)

In introductory geometry and trigonometry courses, the notation sin−1, cos−1, etc., are often used in place of arcsin, arccos, etc. However, the arcsin, arccos, etc., notation is standard in higher mathematics where trigonometric functions are commonly raised to powers, as this avoids confusion between multiplicative inverse and compositional inverse. Sine, cosine and tangent rules Main articles: Law of sines, Law of cosines, and Law of tangents A triangle with sides of length a, b and c and angles of α, β and γ respectively.

The law of sines, or sine rule,[7] states that the ratio of the length of a side to the sine of its corresponding opposite angle is constant, that is

\frac{a}{\sin \alpha} = \frac{b}{\sin \beta} = \frac{c}{\sin \gamma}.

This ratio is equal to the diameter of the circumscribed circle of the given triangle. Another interpretation of this theorem is that every triangle with angles α, β and γ is similar to a triangle with side lengths equal to sin α, sin β and sin γ. This triangle can be constructed by first constructing a circle of diameter 1, and inscribing in it two of the angles of the triangle. The length of the sides of that triangle will be sin α, sin β and sin γ. The side whose length is sin α is opposite to the angle whose measure is α, etc.

The law of cosines, or cosine rule, connects the length of an unknown side of a triangle to the length of the other sides and the angle opposite to the unknown side.[7] As per the law:

For a triangle with length of sides a, b, c and angles of α, β, γ respectively, given two known lengths of a triangle a and b, and the angle between the two known sides γ (or the angle opposite to the unknown side c), to calculate the third side c, the following formula can be used:

c^2\ = a^2 + b^2 - 2ab\cos(\gamma) b^2\ = a^2 + c^2 - 2ac\cos(\beta) a^2\ = b^2 + c^2 - 2bc\cos(\alpha)

If the lengths of all three sides of any triangle are known the three angles can be calculated:

\alpha=\arccos\left(\frac{b^2+c^2-a^2}{2bc}\right) \beta=\arccos\left(\frac{a^2+c^2-b^2}{2ac}\right) \gamma=\arccos\left(\frac{a^2+b^2-c^2}{2ab}\right)

The law of tangents or tangent rule, is less known than the other two. It states that[8]:

\frac{a-b}{a+b} = \frac{\tan[\frac{1}{2}(\alpha-\beta)]}{\tan[\frac{1}{2}(\alpha+\beta)]}.

It is not used very often, but can be used to find a side or an angle when you know two sides and an angle or two angles and a side. Solution of triangles Main article: Solution of triangles

"Solution of triangles" is the historical term for the solving of the main trigonometric problem: to find missing characteristics of a triangle (three angles, the lengths of the three sides etc) when at least three of these characteristics are given. The triangle can be located on a plane or on a sphere. This problem often occurs in various trigonometric applications, such as geodesy, astronomy, construction, navigation etc. Computing the area of a triangle The area of a triangle can be demonstrated as half of the area of a parallelogram which has the same base length and height.

Calculating the area T of a triangle is an elementary problem encountered often in many different situations. The best known and simplest formula is:

T=\frac{1}{2}bh

where b is the length of the base of the triangle, and h is the height or altitude of the triangle. The term "base" denotes any side, and "height" denotes the length of a perpendicular from the vertex opposite the side onto the line containing the side itself. In 499 CE Aryabhata, a great mathematician-astronomer from the classical age of Indian mathematics and Indian astronomy, used this method in the Aryabhatiya (section 2.6).[9]

Although simple, this formula is only useful if the height can be readily found. For example, the surveyor of a triangular field measures the length of each side, and can find the area from his results without having to construct a "height". Various methods may be used in practice, depending on what is known about the triangle. The following is a selection of frequently used formulae for the area of a triangle.[10] Using trigonometry Applying trigonometry to find the altitude h.

The height of a triangle can be found through the application of trigonometry.

Knowing SAS: Using the labels in the image on the right, the altitude is h = a sin \gamma. Substituting this in the formula T=\frac{1}{2}bh derived above, the area of the triangle can be expressed as:

T = \frac{1}{2}ab\sin \gamma = \frac{1}{2}bc\sin \alpha = \frac{1}{2}ca\sin \beta

(where α is the interior angle at A, β is the interior angle at B, \gamma is the interior angle at C and c is the line AB).

Furthermore, since sin α = sin (π − α) = sin (β + \gamma), and similarly for the other two angles:

T = \frac{1}{2}ab\sin (\alpha+\beta) = \frac{1}{2}bc\sin (\beta+\gamma) = \frac{1}{2}ca\sin (\gamma+\alpha).

Knowing AAS:

T = \frac {b^{2}(\sin \alpha)(\sin (\alpha + \beta))}{2\sin \beta},

and analogously if the known side is a or c.

Knowing ASA:[11]

T = \frac{a^{2}}{2(\cot \beta + \cot \gamma)} = \frac{a^{2} (\sin \beta)(\sin \gamma)}{2\sin(\beta + \gamma)},

and analogously if the known side is b or c. Using Heron's formula

The shape of the triangle is determined by the lengths of the sides alone. Therefore the area can also be derived from the lengths of the sides. By Heron's formula:

T = \sqrt{s(s-a)(s-b)(s-c)}

where s= \tfrac{a+b+c}{2} is the semiperimeter, or half of the triangle's perimeter.

Three other equivalent ways of writing Heron's formula are

T = \frac{1}{4} \sqrt{(a^2+b^2+c^2)^2-2(a^4+b^4+c^4)} T = \frac{1}{4} \sqrt{2(a^2b^2+a^2c^2+b^2c^2)-(a^4+b^4+c^4)} T = \frac{1}{4} \sqrt{(a+b-c) (a-b+c) (-a+b+c) (a+b+c)}.

Using vectors

The area of a parallelogram embedded in a three-dimensional Euclidean space can be calculated using vectors. Let vectors AB and AC point respectively from A to B and from A to C. The area of parallelogram ABDC is then

|\mathbf{AB}\times\mathbf{AC}|,

which is the magnitude of the cross product of vectors AB and AC. The area of triangle ABC is half of this,

\frac{1}{2}|\mathbf{AB}\times\mathbf{AC}|.

The area of triangle ABC can also be expressed in terms of dot products as follows:

\frac{1}{2} \sqrt{(\mathbf{AB} \cdot \mathbf{AB})(\mathbf{AC} \cdot \mathbf{AC}) -(\mathbf{AB} \cdot \mathbf{AC})^2} =\frac{1}{2} \sqrt{ |\mathbf{AB}|^2 |\mathbf{AC}|^2 -(\mathbf{AB} \cdot \mathbf{AC})^2}.\,

In two-dimensional Euclidean space, expressing vector AB as a free vector in Cartesian space equal to (x1,y1) and AC as (x2,y2), this can be rewritten as:

\frac{1}{2}\,|x_1 y_2 - x_2 y_1|.\,

Using coordinates

If 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 = (xB, yB) and C = (xC, yC), then the area can be computed as 1⁄2 times the absolute value of the determinant

T = \frac{1}{2}\left|\det\begin{pmatrix}x_B & x_C \\ y_B & y_C \end{pmatrix}\right| = \frac{1}{2}|x_B y_C - x_C y_B|.

For three general vertices, the equation is:

T = \frac{1}{2} \left| \det\begin{pmatrix}x_A & x_B & x_C \\ y_A & y_B & y_C \\ 1 & 1 & 1\end{pmatrix} \right| = \frac{1}{2} \big| x_A y_B - x_A y_C + x_B y_C - x_B y_A + x_C y_A - x_C y_B \big|,

which can be written as

T = \frac{1}{2} \big| (x_A - x_C) (y_B - y_A) - (x_A - x_B) (y_C - y_A) \big|.

If the points are labeled sequentially in the counterclockwise direction, the above determinant expressions are positive and the absolute value signs can be omitted.[12] The above formula is known as the shoelace formula or the surveyor's formula.

If we locate the vertices in the complex plane and denote them in counterclockwise sequence as a = xA + yAi, b = xB + yBi, and c = xC + yCi, and denote their complex conjugates as \bar a, \bar b, and \bar c, then the formula

T=\frac{i}{4}\begin{vmatrix}a & \bar a & 1 \\ b & \bar b & 1 \\ c & \bar c & 1 \end{vmatrix}

is equivalent to the shoelace formula.

In three dimensions, the area of a general triangle A = (xA, yA, zA), B = (xB, yB, zB) and C = (xC, yC, zC) is the Pythagorean sum of the areas of the respective projections on the three principal planes (i.e. x = 0, y = 0 and z = 0):

T = \frac{1}{2} \sqrt{\left| det \begin{pmatrix} x_A & x_B & x_C \\ y_A & y_B & y_C \\ 1 & 1 & 1 \end{pmatrix}\right|^2 + \left|det \begin{pmatrix} y_A & y_B & y_C \\ z_A & z_B & z_C \\ 1 & 1 & 1 \end{pmatrix}\right|^2 + \left|det \begin{pmatrix} z_A & z_B & z_C \\ x_A & x_B & x_C \\ 1 & 1 & 1 \end{pmatrix}\right|^2 }.

Using line integrals

The area within any closed curve, such as a triangle, is given by the line integral around the curve of the algebraic or signed distance of a point on the curve from an arbitrary oriented straight line L. Points to the right of L as oriented are taken to be at negative distance from L, while the weight for the integral is taken to be the component of arc length parallel to L rather than arc length itself.

This method is well suited to computation of the area of an arbitrary polygon. Taking L to be the x-axis, the line integral between consecutive vertices (xi,yi) and (xi+1,yi+1) is given by the base times the mean height, namely (xi+1 − xi)(yi + yi+1)/2. The sign of the area is an overall indicator of the direction of traversal, with negative area indicating counterclockwise traversal. The area of a triangle then falls out as the case of a polygon with three sides.

While the line integral method has in common with other coordinate-based methods the arbitrary choice of a coordinate system, unlike the others it makes no arbitrary choice of vertex of the triangle as origin or of side as base. Furthermore the choice of coordinate system defined by L commits to only two degrees of freedom rather than the usual three, since the weight is a local distance (e.g. xi+1 − xi in the above) whence the method does not require choosing an axis normal to L.

When working in polar coordinates it is not necessary to convert to cartesian coordinates to use line integration, since the line integral between consecutive vertices (ri,θi) and (ri+1,θi+1) of a polygon is given directly by riri+1sin(θi+1 − θi)/2. This is valid for all values of θ, with some decrease in numerical accuracy when |θ| is many orders of magnitude greater than π. With this formulation negative area indicates clockwise traversal, which should be kept in mind when mixing polar and cartesian coordinates. Just as the choice of y-axis (x = 0) is immaterial for line integration in cartesian coordinates, so is the choice of zero heading (θ = 0) immaterial here. Formulas mimicking Heron's formula

Three formulas have the same structure as Heron's formula but are expressed in terms of different variables. First, denoting the medians from sides a, b, and c respectively as ma, mb, and mc and their semi-sum (ma + mb + mc)/2 as σ, we have[13]

T = \frac{4}{3} \sqrt{\sigma (\sigma - m_a)(\sigma - m_b)(\sigma - m_c)}.

Next, denoting the altitudes from sides a, b, and c respectively as ha, hb, and hc, and denoting the semi-sum of the reciprocals of the altitudes as H = (h_a^{-1} + h_b^{-1} + h_c^{-1})/2 we have[14]

T^{-1} = 4 \sqrt{H(H-h_a^{-1})(H-h_b^{-1})(H-h_c^{-1})}.

And denoting the semi-sum of the angles' sines as S = [(sin α) + (sin β) + (sin γ)]/2, we have[15]

T = D^{2} \sqrt{S(S-\sin \alpha)(S-\sin \beta)(S-\sin \gamma)}

where D is the diameter of the circumcircle: D=\tfrac{a}{\sin \alpha} = \tfrac{b}{\sin \beta} = \tfrac{c}{\sin \gamma}. Using Pick's theorem

See Pick's theorem for a technique for finding the area of any arbitrary lattice polygon (one drawn on a grid with vertically and horizontally adjacent lattice points at equal distances, and with vertices on lattice points).

The theorem states:

T = I + \frac{1}{2}B - 1

where I is the number of internal lattice points and B is the number of lattice points lying on the border of the polygon. Other area formulas

Numerous other area formulas exist, such as

T = r \cdot s,

where r is the inradius, and s is the semiperimeter (in fact this formula holds for all tangential polygons);

T = \frac{1}{2}D^{2}(\sin \alpha)(\sin \beta)(\sin \gamma)

and[16]

T = \frac{abc}{2D}

for circumdiameter D; and[17]

T = \frac{\tan \alpha}{4}(b^{2}+c^{2}-a^{2})

for angle α ≠ 90°.

Denoting the radius of the inscribed circle as r and the radii of the excircles as r1, r2, and r3, the area can be expressed as[18]

T = \sqrt{rr_1r_2r_3}.

In 1885, Baker[19] gave a collection of over a hundred distinct area formulas for the triangle. These include:

T = \frac{1}{2}[abch_ah_bh_c]^{1/3}, T = \frac{1}{2} \sqrt{abh_ah_b}, T = \frac{a+b}{2(h_a^{-1} + h_b^{-1})}, T = \frac{Rh_bh_c}{a}

for circumradius (radius of the circumcircle) R, and

T = \frac{h_ah_b}{2 \sin \gamma}.

Upper bound on the area

The area of any triangle with perimeter p is less than or equal to \tfrac{p^2}{12\sqrt{3}}, with equality holding if and only if the triangle is equilateral.[20][21]:657 Bisecting the area

There are infinitely many lines that bisect the area of a triangle.[22] Three of them are the medians, which are the only area bisectors that go through the centroid. Three other area bisectors are parallel to the triangle's sides.

Any line through a triangle that splits both the triangle's area and its perimeter in half goes through the triangle's incenter. There can be one, two, or three of these for any given triangle. Further formulas for general Euclidean triangles

The formulas in this section are true for all Euclidean triangles.

The medians and the sides are related by[23]:p.70

\frac{3}{4}(a^{2}+b^{2}+c^{2})=m_a^{2}+m_b^{2}+m_c^{2}

and

m_a=\frac{1}{2} \sqrt{2b^{2}+2c^{2}-a^{2}}= \sqrt{\frac{1}{2}(a^{2}+b^{2}+c^{2})- \frac{3}{4}a^{2}},

and equivalently for mb and mc.

For angle α opposite side a, the length of the internal bisector is given by

w_a = \frac{2 \sqrt{bcs(s-a)}}{b+c} = \sqrt{bc\left[1- \frac{a^{2}}{(b+c)^{2}}\right]}

for semiperimeter s, where the bisector length is measured from the vertex to where it meets the opposite side.

The following formulas involve the circumradius R and the inradius r:

R = \sqrt{\frac{a^2b^2c^2}{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)}}; r = \sqrt{\frac{(-a+b+c)(a-b+c)(a+b-c)}{4(a+b+c)}}; \frac{1}{r} = \frac{1}{h_a} + \frac{1}{h_b} + \frac{1}{h_c}

where ha etc. are the altitudes to the subscripted sides;[23]:p.79

\frac{r}{R} = \frac{4 T^{2}}{sabc} = \cos \alpha + \cos \beta + \cos \gamma -1;[24]

and

2Rr = \frac{abc}{a+b+c}.

Suppose two adjacent but non-overlapping triangles share the same side of length f and share the same circumcircle, so that the side of length f is a chord of the circumcircle and the triangles have side lengths (a, b, f) and (c, d, f), with the two triangles together forming a cyclic quadrilateral with side lengths in sequence (a, b, c, d). Then[25]:84

f^2 = \frac{(ac+bd)(ad+bc)}{(ab+cd)}. \,

Let M be the centroid of a triangle with vertices A, B, and C, and let P be any interior point. Then the distances between the points are related by[25]:174

(PA)^2 + (PB)^2 +(PC)^2 =(MA)^2 + (MB)^2 + (MC)^2 +3(PM)^2. \,

Let pa, pb, and pc be the distances from the centroid to the sides of lengths a, b, and c. Then[25]:173

\frac{p_a}{p_b} = \frac{b}{a}, \ \ \ \ \frac{p_b}{p_c} = \frac{c}{b}, \ \ \ \ \frac{p_a}{p_c} = \frac{c}{a} \,

and

p_a \cdot a = p_b \cdot b = p_c \cdot c = \frac{2}{3} T. \,

The product of two sides of a triangle equals the altitude to the third side times the diameter of the circumcircle.[23]:p.64

Carnot's Theorem states that the sum of the distances from the circumcenter to the three sides equals the sum of the circumradius and the inradius.[23]:p.83 Here a segment's length is considered to be negative if and only if the segment lies entirely outside the triangle. This method is especially useful for deducing the properties of more abstract forms of triangles, such as the ones induced by Lie algebras, that otherwise have the same properties as usual triangles.

Euler's theorem states that the distance d between the circumcenter and the incenter is given by[23]:p.85

\displaystyle d^2=R(R-2r)

or equivalently

\frac{1}{R-d} + \frac{1}{R+d} = \frac{1}{r},

where R is the circumradius and r is the inradius. Thus for all triangles R ≥ 2r, with equality holding for equilateral triangles.

If we denote that the orthocenter divides one altitude into segments of lengths u and v, another altitude into segment lengths w and x, and the third altitude into segment lengths y and z, then uv = wx = yz.[23]:p.94

The distance from a side to the circumcenter equals half the distance from the opposite vertex to the orthocenter.[23]:p.99

The sum of the squares of the distances from the vertices to the orthocenter plus the sum of the squares of the sides equals twelve times the square of the circumradius.[23]:p.102 Morley's trisector theorem Main article: Morley's trisector theorem The Morley triangle, resulting from the trisection of each interior angle.

Morley's trisector theorem states that in any triangle, the three points of intersection of the adjacent angle trisectors form an equilateral triangle, called the Morley triangle. Figures inscribed in a triangle

As discussed above, every triangle has a unique inscribed circle (incircle) that is interior to the triangle and tangent to all three sides.

Every triangle has a unique Steiner inellipse which is interior to the triangle and tangent at the midpoints of the sides. Marden's theorem shows how to find the foci of this ellipse.[26] This ellipse has the greatest area of any ellipse tangent to all three sides of the triangle.

For any ellipse inscribed in a triangle ABC, let the foci be P and Q. Then[27]

\frac{\overline{PA} \cdot \overline{QA}}{\overline{CA} \cdot \overline{AB}} + \frac{\overline{PB} \cdot \overline{QB}}{\overline{AB} \cdot \overline{BC}} + \frac{\overline{PC} \cdot \overline{QC}}{\overline{BC} \cdot \overline{CA}} = 1.

Every triangle has three inscribed squares (squares in its interior such that all four of a square's vertices lie on a side of the triangle, so two of them lie on the same side and hence one side of the square coincides with part of a side of the triangle). However, in the case of a right triangle two of the squares coincide and have a vertex at the triangle's right angle, so a right triangle has only two distinct inscribed squares. Within a given triangle, a longer common side is associated with a smaller inscribed square. If an inscribed square has side of length q and the triangle has a side of length a, part of which side coincides with a side of the square, then q, a, and the triangle's area T are related according to[28]

q=\frac{2Ta}{a^2+2T}.

The largest possible ratio of the area of the inscribed square to the area of the triangle is 1/2, which occurs when a2 = 2T, q = a/2, and the altitude of the triangle from the base of length a is equal to a. Partitioning into isosceles triangles

For any integer n ≥ 4, any triangle can be partitioned into n isosceles triangles.[29] Figures circumscribed about a triangle

As mentioned above, every triangle has a unique circumcircle, a circle passing through all three vertices, whose center is the intersection of the perpendicular bisectors of the triangle's sides.

Further, every triangle has a unique Steiner circumellipse, which passes through the triangle's vertices and has its center at the triangle's centroid. Of all ellipses going through the triangle's vertices, it has the smallest area. Non-planar triangles

A non-planar triangle is a triangle which is not contained in a (flat) plane. Some examples of non-planar triangles in non-Euclidean geometries are spherical triangles in spherical geometry and hyperbolic triangles in hyperbolic geometry.

While the measures of the internal angles in planar triangles always sum to 180°, a hyperbolic triangle has measures of angles that sum to less than 180°, and a spherical triangle has measures of angles that sum to more than 180°. A hyperbolic triangle can be obtained by drawing on a negatively curved surface, such as a saddle surface, and a spherical triangle can be obtained by drawing on a positively curved surface such as a sphere. Thus, if one draws a giant triangle on the surface of the Earth, one will find that the sum of the measures of its angles is greater than 180°; in fact it will be between 180° and 540°.[30] In particular it is possible to draw a triangle on a sphere such that the measure of each of its internal angles is equal to 90°, adding up to a total of 270°.

Specifically, on a sphere the sum of the angles of a triangle is

180° × (1 + 4f),

where f is the fraction of the sphere's area which is enclosed by the triangle. For example, suppose that we draw a triangle on the Earth's surface with vertices at the North Pole, at a point on the equator at 0° longitude, and a point on the equator at 90° West longitude. The great circle line between the latter two points is the equator, and the great circle line between either of those points and the North Pole is a line of longitude; so there are right angles at the two points on the equator. Moreover, the angle at the North Pole is also 90° because the other two vertices differ by 90° of longitude. So the sum of the angles in this triangle is 90° + 90° + 90° = 270°. The triangle encloses 1/4 of the northern hemisphere (90°/360° as viewed from the North Pole) and therefore 1/8 of the Earth's surface, so in the formula f = 1/8; thus the formula correctly gives the sum of the triangle's angles as 270°.

From the above angle sum formula we can also see that the Earth's surface is locally flat: If we draw an arbitrarily small triangle in the neighborhood of one point on the Earth's surface, the fraction f of the Earth's surface which is enclosed by the triangle will be arbitrarily close to zero. In this case the angle sum formula simplifies to 180°, which we know is what Euclidean geometry tells us for triangles on a flat surface. Triangles in construction Main article: Truss The Flatiron Building in New York is shaped like a triangular prism

Rectangles have been the most popular and common geometric form for buildings since the shape is easy to stack and organize; as a standard, it is easy to design furniture and fixtures to fit inside rectangularly shaped buildings. But triangles, while more difficult to use conceptually, provide a great deal of strength. As computer technology helps architects design creative new buildings, triangular shapes are becoming increasingly prevalent as parts of buildings and as the primary shape for some types of skyscrapers as well as building materials. In Tokyo in 1989, architects had wondered whether it was possible to build a 500-story tower to provide affordable office space for this densely packed city, but with the danger to buildings from earthquakes, architects considered that a triangular shape would have been necessary if such a building was ever to have been built (it hasn't by 2011).[31] In New York City, as Broadway crisscrosses major avenues, the resulting blocks are cut like triangles, and buildings have been built on these shapes; one such building is the triangularly shaped Flatiron Building which real estate people admit has a "warren of awkward spaces that do not easily accommodate modern office furniture" but that has not prevented the structure from becoming a landmark icon.[32] Designers have made houses in Norway using triangular themes.[33] Triangle shapes have appeared in churches[34] as well as public buildings including colleges[35] as well as supports for innovative home designs.[36] Triangles are sturdy; while a rectangle can collapse into a parallelogram from pressure to one of its points, triangles have a natural strength which supports structures against lateral pressures. A triangle will not change shape unless its sides are bent or extended or broken or if its joints break; in essence, each of the three sides supports the other two. A rectangle, in contrast, is more dependent on the strength of its joints in a structural sense. Some innovative designers have proposed making bricks not out of rectangles, but with triangular shapes which can be combined in three dimensions.[37] It is likely that triangles will be used increasingly in new ways as architecture increases in complexity. It is important to remember that triangles are strong in terms of rigidity, but while packed in a tessellating arrangement triangles are not as strong as hexagons under compression (hence the prevalence of hexagonal forms in nature). Tessellated triangles still maintain superior strength for cantilevering however, and this is the basis for one of the strongest man made structures, the tetrahedral truss. See also

BAMBI (geometry) Congruence (geometry) Desargues' theorem Dragon's Eye (symbol) Fermat point Hadwiger–Finsler inequality Heronian triangle Inertia tensor of triangle

Integer triangle Law of cosines Law of sines Law of tangents Lester's theorem List of triangle topics Ono's inequality Pedal triangle

Pedoe's inequality Pythagorean theorem Special right triangles Triangle center Triangular number Triangulated category Triangulation (topology)