A TRIANGLE is a polygon with three edges and three vertices . It is one of the basic shapes in geometry . A triangle with vertices _A_, _B_, and _C_ is denoted A B C {displaystyle 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 ). This article is about triangles in Euclidean geometry except where otherwise noted. CONTENTS * 1 Types of triangle * 1.1 By 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 Condition on the sides * 3.2 Conditions on the angles * 3.2.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 resembling 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 * 7.1 Medians, angle bisectors, perpendicular side bisectors, and altitudes * 7.2 Circumradius and inradius * 7.3 Adjacent triangles * 7.4 Centroid * 7.5 Circumcenter, incenter, and orthocenter * 7.6 Angles * 8 Morley\'s trisector theorem * 9 Figures inscribed in a triangle * 9.1 Conics * 9.2 Convex polygon * 9.3 Hexagon * 9.4 Squares * 9.5 Triangles * 10 Figures circumscribed about a triangle * 11 Specifying the location of a point in 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 LENGTHS OF SIDES Triangles can be classified according to the lengths of their sides: * An _equilateral triangle _ has all sides the same length. An equilateral triangle is also a regular polygon with all angles measuring 60°. * An _isosceles triangle _ has two sides of equal length. 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. 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. * A _scalene triangle_ has all its sides of different lengths. Equivalently, it has all angles of different measure. Equilateral Isosceles Scalene Hatch marks , also called tick marks, are used in diagrams of triangles and other geometric figures to identify sides of equal lengths. A side can be marked with a pattern of "ticks", short line segments in the form of tally marks ; two sides have equal lengths if they are both marked with the same pattern. In a triangle, the pattern is usually no more than 3 ticks. An equilateral triangle has the same pattern on all 3 sides, an isosceles triangle has the same pattern on just 2 sides, and a scalene triangle has different patterns on all sides since no sides are equal. Similarly, patterns of 1, 2, or 3 concentric arcs inside the angles are used to indicate equal angles. An equilateral triangle has the same pattern on all 3 angles, an isosceles triangle has the same pattern on just 2 angles, and a scalene triangle has different patterns on all angles since 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 , the longest side of the triangle. The other two sides are called the _legs_ or _catheti_ (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: _a_2 + _b_2 = _c_2, 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 measuring 90° are called oblique triangles . * A triangle with all interior angles measuring less than 90° is an acute triangle or _acute-angled triangle_. If _c_ is the length of the longest side, then _a_2 + _b_2 > _c_2, where _a_ and _b_ are the lengths of the other sides. * A triangle with one interior angle measuring more than 90° is an obtuse triangle or _obtuse-angled triangle_. If _c_ is the length of the longest side, then _a_2 + _b_2 < _c_2, where _a_ and _b_ are the lengths of the other sides. * 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 Obtuse Acute {displaystyle 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 sum of the measures of the interior angles of a triangle in Euclidean space is always 180 degrees. This fact is equivalent to Euclid's parallel postulate . 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. 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. Some basic theorems about similar triangles are: * If and only if one pair of internal angles of two triangles have the same measure as each other, and another pair also have the same measure as each other, the triangles are similar. * If and only if one pair of corresponding sides of two triangles are in the same proportion as are another pair of corresponding sides, 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 and only if three pairs of corresponding sides of two triangles are all in the same proportion, then the triangles are similar. Two triangles that are congruent have exactly the same size and shape: 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 individually necessary and 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.) Some individually sufficient conditions are: * 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 condition is: * 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 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 . {displaystyle 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 = 180 a + b = 90 a = 90 b {displaystyle 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 = 2 a {displaystyle c=2a,} b = a 3 . {displaystyle b=atimes {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 CONDITION ON THE SIDES The triangle inequality states that the sum of the lengths of any two sides of a triangle must be greater than or equal to the length of the third side. That sum can equal the length of the third side only in the case of a degenerate triangle, one with collinear vertices. It is not possible for that sum to be less than the length of the third side. A triangle with three given positive side lengths exists if and only if those side lengths satisfy the triangle inequality. CONDITIONS ON THE ANGLES Three given angles form a non-degenerate triangle (and indeed an infinitude of them) if and only if both of these conditions hold: (a) each of the angles is positive, and (b) the angles sum to 180°. If degenerate triangles are permitted, angles of 0° are permitted. 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: tan 2 tan 2 + tan 2 tan 2 + tan 2 tan 2 = 1 , {displaystyle 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 2 + sin 2 2 + sin 2 2 + 2 sin 2 sin 2 sin 2 = 1 , {displaystyle sin ^{2}{frac {alpha }{2}}+sin ^{2}{frac {beta }{2}}+sin ^{2}{frac {gamma }{2}}+2sin {frac {alpha }{2}}sin {frac {beta }{2}}sin {frac {gamma }{2}}=1,} sin ( 2 ) + sin ( 2 ) + sin ( 2 ) = 4 sin ( ) sin ( ) sin ( ) , {displaystyle sin(2alpha )+sin(2beta )+sin(2gamma )=4sin(alpha )sin(beta )sin(gamma ),} cos 2 + cos 2 + cos 2 + 2 cos ( ) cos ( ) cos ( ) = 1 , {displaystyle cos ^{2}alpha +cos ^{2}beta +cos ^{2}gamma +2cos(alpha )cos(beta )cos(gamma )=1,} tan ( ) + tan ( ) + tan ( ) = tan ( ) tan ( ) tan ( ) , {displaystyle tan(alpha )+tan(beta )+tan(gamma )=tan(alpha )tan(beta )tan(gamma ),} the last equality applying only if none of the angles is 90° (so the tangent function's value is always finite). POINTS, LINES, AND CIRCLES ASSOCIATED WITH A TRIANGLE There are thousands of different constructions that find a special point associated with (and often inside) a triangle, satisfying some unique property: see the article Encyclopedia of Triangle Centers 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 , usually denoted by O; 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, usually denoted by H. 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 , usually denoted by I, 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, usually denoted by G. 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 measure 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 = opposite side hypotenuse = a h . {displaystyle sin A={frac {text{opposite side}}{text{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 = adjacent side hypotenuse = b h . {displaystyle cos A={frac {text{adjacent side}}{text{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 = opposite side adjacent side = a b = sin A cos A . {displaystyle tan A={frac {text{opposite side}}{text{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. = arcsin ( opposite side hypotenuse ) {displaystyle 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 hypotenuse. = arccos ( adjacent side hypotenuse ) {displaystyle 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. = arctan ( opposite side adjacent side ) {displaystyle 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, states that the ratio of the length of a side to the sine of its corresponding opposite angle is constant, that is a sin = b sin = c sin . {displaystyle {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. 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 2 a b cos ( ) {displaystyle c^{2} =a^{2}+b^{2}-2abcos(gamma )} b 2 = a 2 + c 2 2 a c cos ( ) {displaystyle b^{2} =a^{2}+c^{2}-2accos(beta )} a 2 = b 2 + c 2 2 b c cos ( ) {displaystyle a^{2} =b^{2}+c^{2}-2bccos(alpha )} If the lengths of all three sides of any triangle are known the three angles can be calculated: = arccos ( b 2 + c 2 a 2 2 b c ) {displaystyle alpha =arccos left({frac {b^{2}+c^{2}-a^{2}}{2bc}}right)} = arccos ( a 2 + c 2 b 2 2 a c ) {displaystyle beta =arccos left({frac {a^{2}+c^{2}-b^{2}}{2ac}}right)} = arccos ( a 2 + b 2 c 2 2 a b ) {displaystyle gamma =arccos left({frac {a^{2}+b^{2}-c^{2}}{2ab}}right)} The law of tangents , or tangent rule, can be used to find a side or an angle when two sides and an angle or two angles and a side are known. It states that: a b a + b = tan tan . {displaystyle {frac {a-b}{a+b}}={frac {tan}{tan}}.} SOLUTION OF TRIANGLES Main article: Solution of triangles "Solution of triangles" is 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 = 1 2 b h {displaystyle 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). Although simple, this formula is only useful if the height can be readily found, which is not always the case. For example, the surveyor of a triangular field might find it relatively easy to measure the length of each side, but relatively difficult 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. 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 {displaystyle gamma } . Substituting this in the formula T = 1 2 b h {displaystyle T={frac {1}{2}}bh} derived above, the area of the triangle can be expressed as: T = 1 2 a b sin = 1 2 b c sin = 1 2 c a sin {displaystyle T={frac {1}{2}}absin gamma ={frac {1}{2}}bcsin alpha ={frac {1}{2}}casin beta } (where α is the interior angle at _A_, β is the interior angle at _B_, {displaystyle gamma } _ is the interior angle at C_ and _c_ is the line AB). Furthermore, since sin α = sin (_π_ − α) = sin (β + {displaystyle gamma } ), and similarly for the other two angles: T = 1 2 a b sin ( + ) = 1 2 b c sin ( + ) = 1 2 c a sin ( + ) . {displaystyle T={frac {1}{2}}absin(alpha +beta )={frac {1}{2}}bcsin(beta +gamma )={frac {1}{2}}casin(gamma +alpha ).} _Knowing AAS_: T = b 2 ( sin ) ( sin ( + ) ) 2 sin , {displaystyle T={frac {b^{2}(sin alpha )(sin(alpha +beta ))}{2sin beta }},} and analogously if the known side is _a_ or _c_. _Knowing ASA_: T = a 2 2 ( cot + cot ) = a 2 ( sin ) ( sin ) 2 sin ( + ) , {displaystyle T={frac {a^{2}}{2(cot beta +cot gamma )}}={frac {a^{2}(sin beta )(sin gamma )}{2sin(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. Therefore, the area can also be derived from the lengths of the sides. By Heron\'s formula : T = s ( s a ) ( s b ) ( s c ) {displaystyle T={sqrt {s(s-a)(s-b)(s-c)}}} where s = a + b + c 2 {displaystyle 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 = 1 4 ( a 2 + b 2 + c 2 ) 2 2 ( a 4 + b 4 + c 4 ) {displaystyle T={frac {1}{4}}{sqrt {(a^{2}+b^{2}+c^{2})^{2}-2(a^{4}+b^{4}+c^{4})}}} T = 1 4 2 ( a 2 b 2 + a 2 c 2 + b 2 c 2 ) ( a 4 + b 4 + c 4 ) {displaystyle T={frac {1}{4}}{sqrt {2(a^{2}b^{2}+a^{2}c^{2}+b^{2}c^{2})-(a^{4}+b^{4}+c^{4})}}} T = 1 4 ( a + b c ) ( a b + c ) ( a + b + c ) ( a + b + c ) . {displaystyle 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 A B A C , {displaystyle 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, 1 2 A B A C . {displaystyle {frac {1}{2}}mathbf {AB} times mathbf {AC} .} The area of triangle _ABC_ can also be expressed in terms of dot products as follows: 1 2 ( A B A B ) ( A C A C ) ( A B A C ) 2 = 1 2 A B 2 A C 2 ( A B A C ) 2 . {displaystyle {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 (_x_1,_y_1) and AC as (_x_2,_y_2), this can be rewritten as: 1 2 x 1 y 2 x 2 y 1 . {displaystyle {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 = 1 2 det ( x B x C y B y C ) = 1 2 x B y C x C y B . {displaystyle T={frac {1}{2}}leftdet {begin{pmatrix}x_{B}&x_{C}\y_{B} width:45.158ex; height:6.176ex;" alt="T={frac {1}{2}}leftdet {begin{pmatrix}x_{B}&x_{C}\y_{B}"> T = 1 2 det ( x A x B x C y A y B y C 1 1 1 ) = 1 2 x A y B x A y C + x B y C x B y A + x C y A x C y B , {displaystyle T={frac {1}{2}}leftdet {begin{pmatrix}x_{A}&x_{B}&x_{C}\y_{A}&y_{B}&y_{C}\1&1 width:84.141ex; height:9.509ex;" alt="T={frac {1}{2}}leftdet {begin{pmatrix}x_{A}&x_{B}&x_{C}\y_{A}&y_{B}&y_{C}\1&1"> T = 1 2 ( x A x C ) ( y B y A ) ( x A x B ) ( y C y A ) . {displaystyle 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. 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 a {displaystyle {bar {a}}} , b {displaystyle {bar {b}}} , and c {displaystyle {bar {c}}} , then the formula T = i 4 a a 1 b b 1 c c 1 {displaystyle T={frac {i}{4}}{begin{vmatrix}a&{bar {a}}&1\b&{bar {b}}&1\c&{bar {c}} width:17.191ex; height:9.509ex;" alt="T={frac {i}{4}}{begin{vmatrix}a&{bar {a}}&1\b&{bar {b}}&1\c&{bar {c}}"> T = 1 2 x A x B x C y A y B y C 1 1 1 2 + y A y B y C z A z B z C 1 1 1 2 + z A z B z C x A x B x C 1 1 1 2 . {displaystyle T={frac {1}{2}}{sqrt {{begin{vmatrix}x_{A}&x_{B}&x_{C}\y_{A}&y_{B}&y_{C}\1&1&1end{vmatrix}}^{2}+{begin{vmatrix}y_{A}&y_{B}&y_{C}\z_{A}&z_{B}&z_{C}\1&1&1end{vmatrix}}^{2}+{begin{vmatrix}z_{A}&z_{B}&z_{C}\x_{A}&x_{B}&x_{C}\1&1 width:63.74ex; height:10.509ex;" alt="T={frac {1}{2}}{sqrt {{begin{vmatrix}x_{A}&x_{B}&x_{C}\y_{A}&y_{B}&y_{C}\1&1&1end{vmatrix}}^{2}+{begin{vmatrix}y_{A}&y_{B}&y_{C}\z_{A}&z_{B}&z_{C}\1&1&1end{vmatrix}}^{2}+{begin{vmatrix}z_{A}&z_{B}&z_{C}\x_{A}&x_{B}&x_{C}\1&1"> T = 4 3 ( m a ) ( m b ) ( m c ) . {displaystyle 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 {displaystyle H=(h_{a}^{-1}+h_{b}^{-1}+h_{c}^{-1})/2} we have T 1 = 4 H ( H h a 1 ) ( H h b 1 ) ( H h c 1 ) . {displaystyle 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_ = /2, we have T = D 2 S ( S sin ) ( S sin ) ( S sin ) {displaystyle T=D^{2}{sqrt {S(S-sin alpha )(S-sin beta )(S-sin gamma )}}} where _D_ is the diameter of the circumcircle: D = a sin = b sin = c sin . {displaystyle 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 + 1 2 B 1 {displaystyle T=I+{frac {1}{2}}B-1} where _ I {displaystyle 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 s , {displaystyle T=rcdot s,} where _r_ is the inradius , and _s_ is the semiperimeter (in fact this formula holds for _all_ tangential polygons ), and :Lemma 2 T = r a ( s a ) = r b ( s b ) = r c ( s c ) {displaystyle T=r_{a}(s-a)=r_{b}(s-b)=r_{c}(s-c)} where r a , r b , r c {displaystyle r_{a},,r_{b},,r_{c}} _ are the radii of the excircles tangent to sides a, b, c_ respectively. We also have T = 1 2 D 2 ( sin ) ( sin ) ( sin ) {displaystyle T={frac {1}{2}}D^{2}(sin alpha )(sin beta )(sin gamma )} and T = a b c 2 D = a b c 4 R {displaystyle T={frac {abc}{2D}}={frac {abc}{4R}}} for circumdiameter _D_; and T = tan 4 ( b 2 + c 2 a 2 ) {displaystyle T={frac {tan alpha }{4}}(b^{2}+c^{2}-a^{2})} for angle α ≠ 90°. The area can also be expressed as T = r r a r b r c . {displaystyle T={sqrt {rr_{a}r_{b}r_{c}}}.} In 1885, Baker gave a collection of over a hundred distinct area formulas for the triangle. These include: T = 1 2 1 / 3 , {displaystyle T={frac {1}{2}}^{1/3},} T = 1 2 a b h a h b , {displaystyle T={frac {1}{2}}{sqrt {abh_{a}h_{b}}},} T = a + b 2 ( h a 1 + h b 1 ) , {displaystyle T={frac {a+b}{2(h_{a}^{-1}+h_{b}^{-1})}},} T = R h b h c a {displaystyle T={frac {Rh_{b}h_{c}}{a}}} for circumradius (radius of the circumcircle) _R_, and T = h a h b 2 sin . {displaystyle T={frac {h_{a}h_{b}}{2sin gamma }}.} UPPER BOUND ON THE AREA The area _T_ of any triangle with perimeter _p_ satisfies T p 2 12 3 , {displaystyle Tleq {tfrac {p^{2}}{12{sqrt {3}}}},} with equality holding if and only if the triangle is equilateral. :657 Other upper bounds on the area _T_ are given by :p.290 4 3 T a 2 + b 2 + c 2 {displaystyle 4{sqrt {3}}Tleq a^{2}+b^{2}+c^{2}} and 4 3 T 9 a b c a + b + c , {displaystyle 4{sqrt {3}}Tleq {frac {9abc}{a+b+c}},} both again holding if and only if the triangle is equilateral. BISECTING THE AREA There are infinitely many lines that bisect the area of a triangle . 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 See also: List of triangle inequalities The formulas in this section are true for all Euclidean triangles. MEDIANS, ANGLE BISECTORS, PERPENDICULAR SIDE BISECTORS, AND ALTITUDES Main articles: Median (geometry) , Angle bisector , Bisection § Perpendicular bisectors , and Altitude (geometry) The medians and the sides are related by :p.70 3 4 ( a 2 + b 2 + c 2 ) = m a 2 + m b 2 + m c 2 {displaystyle {frac {3}{4}}(a^{2}+b^{2}+c^{2})=m_{a}^{2}+m_{b}^{2}+m_{c}^{2}} and m a = 1 2 2 b 2 + 2 c 2 a 2 = 1 2 ( a 2 + b 2 + c 2 ) 3 4 a 2 {displaystyle 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 A opposite side _a_, the length of the internal angle bisector is given by w A = 2 b c s ( s a ) b + c = b c = 2 b c b + c cos A 2 , {displaystyle w_{A}={frac {2{sqrt {bcs(s-a)}}}{b+c}}={sqrt {bcleft}}={frac {2bc}{b+c}}cos {frac {A}{2}},} for semiperimeter _s_, where the bisector length is measured from the vertex to where it meets the opposite side. The interior perpendicular bisectors are given by p a = 2 a T a 2 + b 2 c 2 , {displaystyle p_{a}={frac {2aT}{a^{2}+b^{2}-c^{2}}},} p b = 2 b T a 2 + b 2 c 2 , {displaystyle p_{b}={frac {2bT}{a^{2}+b^{2}-c^{2}}},} p c = 2 c T a 2 b 2 + c 2 , {displaystyle p_{c}={frac {2cT}{a^{2}-b^{2}+c^{2}}},} where the sides are a b c {displaystyle ageq bgeq c} and the area is T . {displaystyle T.} :Thm 2 The altitude from, for example, the side of length _a_ is h a = 2 T a . {displaystyle h_{a}={frac {2T}{a}}.} CIRCUMRADIUS AND INRADIUS Main articles: Circumradius and Inradius The following formulas involve the circumradius _R_ and the inradius _r_: R = a 2 b 2 c 2 ( a + b + c ) ( a + b + c ) ( a b + c ) ( a + b c ) ; {displaystyle R={sqrt {frac {a^{2}b^{2}c^{2}}{(a+b+c)(-a+b+c)(a-b+c)(a+b-c)}}};} r = ( a + b + c ) ( a b + c ) ( a + b c ) 4 ( a + b + c ) ; {displaystyle r={sqrt {frac {(-a+b+c)(a-b+c)(a+b-c)}{4(a+b+c)}}};} 1 r = 1 h a + 1 h b + 1 h c {displaystyle {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; :p.79 r R = 4 T 2 s a b c = cos + cos + cos 1 ; {displaystyle {frac {r}{R}}={frac {4T^{2}}{sabc}}=cos alpha +cos beta +cos gamma -1;} and 2 R r = a b c a + b + c {displaystyle 2Rr={frac {abc}{a+b+c}}} . The product of two sides of a triangle equals the altitude to the third side times the diameter _D_ of the circumcircle: :p.64 a b = h c D , b c = h a D , c a = h b D . {displaystyle ab=h_{c}D,quad quad bc=h_{a}D,quad ca=h_{b}D.} ADJACENT TRIANGLES 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 :84 f 2 = ( a c + b d ) ( a d + b c ) ( a b + c d ) . {displaystyle f^{2}={frac {(ac+bd)(ad+bc)}{(ab+cd)}}.,} CENTROID Main article: Centroid Let _G_ 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 :174 ( P A ) 2 + ( P B ) 2 + ( P C ) 2 = ( G A ) 2 + ( G B ) 2 + ( G C ) 2 + 3 ( P G ) 2 . {displaystyle (PA)^{2}+(PB)^{2}+(PC)^{2}=(GA)^{2}+(GB)^{2}+(GC)^{2}+3(PG)^{2}.,} The sum of the squares of the triangle's sides equals three times the sum of the squared distances of the centroid from the vertices: A B 2 + B C 2 + C A 2 = 3 ( G A 2 + G B 2 + G C 2 ) . {displaystyle AB^{2}+BC^{2}+CA^{2}=3(GA^{2}+GB^{2}+GC^{2}).} Let _qa_, _qb_, and _qc_ be the distances from the centroid to the sides of lengths _a_, _b_, and _c_. Then :173 q a q b = b a , q b q c = c b , q a q c = c a {displaystyle {frac {q_{a}}{q_{b}}}={frac {b}{a}},quad quad {frac {q_{b}}{q_{c}}}={frac {c}{b}},quad quad {frac {q_{a}}{q_{c}}}={frac {c}{a}},} and q a a = q b b = q c c = 2 3 T {displaystyle q_{a}cdot a=q_{b}cdot b=q_{c}cdot c={frac {2}{3}}T,} for area _T_. CIRCUMCENTER, INCENTER, AND ORTHOCENTER Main articles: Circumcenter , Incenter , and Orthocenter 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. :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 :p.85 d 2 = R ( R 2 r ) {displaystyle displaystyle d^{2}=R(R-2r)} or equivalently 1 R d + 1 R + d = 1 r , {displaystyle {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_ ≥ 2_r_, 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_. :p.94 The distance from a side to the circumcenter equals half the distance from the opposite vertex to the orthocenter. :p.99 The sum of the squares of the distances from the vertices to the orthocenter _H_ plus the sum of the squares of the sides equals twelve times the square of the circumradius: :p.102 A H 2 + B H 2 + C H 2 + a 2 + b 2 + c 2 = 12 R 2 . {displaystyle AH^{2}+BH^{2}+CH^{2}+a^{2}+b^{2}+c^{2}=12R^{2}.} ANGLES In addition to the law of sines , the law of cosines , the law of tangents , and the trigonometric existence conditions given earlier, for any triangle a = b cos C + c cos B , b = c cos A + a cos C , c = a cos B + b cos A . {displaystyle a=bcos C+ccos B,quad b=ccos A+acos C,quad c=acos B+bcos A.} MORLEY\'S TRISECTOR THEOREM Main article: Morley\'s trisector theorem The Morley triangle, resulting from the trisection of each interior angle. This is an example of a finite subdivision rule . 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 CONICS 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 . This ellipse has the greatest area of any ellipse tangent to all three sides of the triangle. The Mandart inellipse of a triangle is the ellipse inscribed within the triangle tangent to its sides at the contact points of its excircles. For any ellipse inscribed in a triangle _ABC_, let the foci be _P_ and _Q_. Then P A Q A C A A B + P B Q B A B B C + P C Q C B C C A = 1. {displaystyle {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.} CONVEX POLYGON Every convex polygon with area _T_ can be inscribed in a triangle of area at most equal to 2_T_. Equality holds (exclusively) for a parallelogram . HEXAGON The Lemoine hexagon is a cyclic hexagon with vertices given by the six intersections of the sides of a triangle with the three lines that are parallel to the sides and that pass through its symmedian point . In either its simple form or its self-intersecting form , the Lemoine hexagon is interior to the triangle with two vertices on each side of the triangle. SQUARES Every acute 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). In 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. An obtuse triangle has only one inscribed square, with a side coinciding with part of the triangle's longest side. Within a given triangle, a longer common side is associated with a smaller inscribed square. If an inscribed square has side of length _q__a_ and the triangle has a side of length _a_, part of which side coincides with a side of the square, then _q__a_, _a_, the altitude _h__a_ from the side _a_, and the triangle's area _T_ are related according to q a = 2 T a a 2 + 2 T = a h a a + h a . {displaystyle q_{a}={frac {2Ta}{a^{2}+2T}}={frac {ah_{a}}{a+h_{a}}}.} The largest possible ratio of the area of the inscribed square to the area of the triangle is 1/2, which occurs when _a_2 = 2_T_, _q_ = _a_/2, and the altitude of the triangle from the base of length _a_ is equal to _a_. The smallest possible ratio of the side of one inscribed square to the side of another in the same non-obtuse triangle is 2 2 / 3 = 0.94.... {displaystyle 2{sqrt {2}}/3=0.94....} Both of these extreme cases occur for the isosceles right triangle. TRIANGLES From an interior point in a reference triangle, the nearest points on the three sides serve as the vertices of the pedal triangle of that point. If the interior point is the circumcenter of the reference triangle, the vertices of the pedal triangle are the midpoints of the reference triangle's sides, and so the pedal triangle is called the midpoint triangle or medial triangle. The midpoint triangle subdivides the reference triangle into four congruent triangles which are similar to the reference triangle. The Gergonne triangle or intouch triangle of a reference triangle has its vertices at the three points of tangency of the reference triangle's sides with its incircle. The extouch triangle of a reference triangle has its vertices at the points of tangency of the reference triangle's excircles with its sides (not extended). FIGURES CIRCUMSCRIBED ABOUT A TRIANGLE The tangential triangle of a reference triangle (other than a right triangle) is the triangle whose sides are on the tangent lines to the reference triangle's circumcircle at its vertices. 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. The Kiepert hyperbola is the unique conic which passes through the triangle's three vertices, its centroid, and its circumcenter. Of all triangles contained in a given convex polygon, there exists a triangle with maximal area whose vertices are all vertices of the given polygon. SPECIFYING THE LOCATION OF A POINT IN A TRIANGLE One way to identify locations of points in (or outside) a triangle is to place the triangle in an arbitrary location and orientation in the Cartesian plane , and to use Cartesian coordinates. While convenient for many purposes, this approach has the disadvantage of all points' coordinate values being dependent on the arbitrary placement in the plane. Two systems avoid that feature, so that the coordinates of a point are not affected by moving the triangle, rotating it, or reflecting it as in a mirror, any of which give a congruent triangle, or even by rescaling it to give a similar triangle: * Trilinear coordinates specify the relative distances of a point from the sides, so that coordinates x : y : z {displaystyle x:y:z} indicate that the ratio of the distance of the point from the first side to its distance from the second side is x : y {displaystyle x:y} , etc. * Barycentric coordinates of the form : : {displaystyle alpha :beta :gamma } specify the point's location by the relative weights that would have to be put on the three vertices in order to balance the otherwise weightless triangle on the given point. 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°. 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 + 4_f_), 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). 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. Designers have made houses in Norway using triangular themes. Triangle shapes have appeared in churches as well as public buildings including colleges as well as supports for innovative home designs. 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. 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 * Apollonius\' theorem * 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 inequalities * 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) NOTES * ^ Euclid defines isosceles triangles based on the number of equal sides, i.e. _only two equal sides_. An alternative approach defines isosceles triangles based on shared properties, i.e. _equilateral triangles are a special case of isosceles triangles_. wikt:Isosceles triangle * ^ The _n_ external angles of any _n_-sided convex polygon add up to 360 degrees. * ^ Again, in all cases "mirror images" are also similar. * ^ All pairs of congruent triangles are also similar; but not all pairs of similar triangles are congruent. REFERENCES * ^ Weisstein, Eric W. "Equilateral Triangle". _ MathWorld _. * ^ _A_ _B_ Weisstein, Eric W. "Isosceles Triangle". _ MathWorld _. * ^ Weisstein, Eric W. "Scalene triangle". _ MathWorld _. * ^ Zeidler, Eberhard (2004). _Oxford Users\' Guide to Mathematics _. Oxford University Press . p. 729. ISBN 978-0-19-850763-5 . * ^ "Euclid\'s Elements, Book I, Proposition 32". * ^ _A_ _B_ Vardan Verdiyan & Daniel Campos Salas, "Simple trigonometric substitutions with broad results", _Mathematical Reflections_ no 6, 2007. * ^ _A_ _B_ Longuet-Higgins, Michael S., "On the ratio of the inradius to the circumradius of a triangle", _ Mathematical Gazette _ 87, March 2003, 119–120. * ^ _A_ _B_ Prof. David E. Joyce. "The Laws of Cosines and Sines". Clark University. Retrieved 1 November 2008. * ^ Weisstein, Eric W. "Law of Tangents". _Wolfram MathWorld_. Retrieved 26 July 2012. * ^ Weisstein, Eric W. " Triangle area". _ MathWorld _. * ^ Weisstein, Eric W. "Triangle". _ MathWorld _. * ^ Bart Braden (1986). "The Surveyor\'s Area Formula" (PDF). _The College Mathematics Journal_. 17 (4): 326–337. doi :10.2307/2686282 . * ^ Benyi, Arpad, "A Heron-type formula for the triangle," _Mathematical Gazette" 87, July 2003, 324–326._ * ^ Mitchell, Douglas W., "A Heron-type formula for the reciprocal area of a triangle," _Mathematical Gazette_ 89, November 2005, 494. * ^ Mitchell, Douglas W., "A Heron-type area formula in terms of sines," _Mathematical Gazette_ 93, March 2009, 108–109. * ^ Sa ́ndor Nagydobai Kiss, "A Distance Property of the Feuerbach Point and Its Extension", _Forum Geometricorum_ 16, 2016, 283–290. * ^ "Circumradius". _AoPSWiki_. Archived from the original on 20 June 2013. Retrieved 26 July 2012. * ^ Mitchell, Douglas W., "The area of a quadrilateral," _Mathematical Gazette_ 93, July 2009, 306–309. * ^ Pathan, Alex, and Tony Collyer, " Area properties of triangles revisited," _ Mathematical Gazette _ 89, November 2005, 495–497. * ^ Baker, Marcus, "A collection of formulae for the area of a plane triangle," _Annals of Mathematics_, part 1 in vol. 1(6), January 1885, 134–138; part 2 in vol. 2(1), September 1885, 11–18. The formulas given here are #9, #39a, #39b, #42, and #49. The reader is advised that several of the formulas in this source are not correct. * ^ Chakerian, G. D. "A Distorted View of Geometry." Ch. 7 in _Mathematical Plums_ (R. Honsberger, editor). Washington, DC: Mathematical Association of America, 1979: 147. * ^ Rosenberg, Steven; Spillane, Michael; and Wulf, Daniel B. "Heron triangles and moduli spaces", _Mathematics Teacher_ 101, May 2008, 656–663. * ^ Posamentier, Alfred S., and Lehmann, Ingmar, _The Secrets of Triangles_, Prometheus Books, 2012. * ^ Dunn, J.A., and Pretty, J.E., "Halving a triangle," _ Mathematical Gazette _ 56, May 1972, 105–108. * ^ _A_ _B_ _C_ _D_ _E_ _F_ _G_ _H_ Altshiller-Court, Nathan, _College Geometry_, Dover, 2007. * ^ Oxman, Victor. "On the existence of triangles with given lengths of one side and two adjacent angle bisectors", _Forum Geometricorum_ 4, 2004, 215–218. * ^ Mitchell, Douglas W. (2013), "Perpendicular Bisectors of Triangle Sides", _Forum Geometricorum_ 13, 53-59. * ^ _A_ _B_ _C_ Johnson, Roger A., _Advanced Euclidean Geometry_, Dover Publ. Co., 2007 * ^ Altshiller-Court (1925 , pp. 70–71) * ^ Kalman, Dan. "An Elementary Proof of Marden\'s Theorem", 2008, _ American Mathematical Monthly _ 115, 330–338. * ^ Allaire, Patricia R.; Zhou, Junmin; and Yao, Haishen, "Proving a nineteenth century ellipse identity", _Mathematical Gazette_ 96, March 2012, 161–165. * ^ Weisstein, Eric W. " Triangle Circumscribing". _Wolfram Math World_. * ^ Bailey, Herbert, and DeTemple, Duane, "Squares inscribed in angles and triangles", _ Mathematics Magazine _ 71(4), 1998, 278–284. * ^ _A_ _B_ Victor Oxman and Moshe Stupel, "Why Are the Side Lengths of the Squares Inscribed in a Triangle so Close to Each Other?", _Forum Geometricorum_ 13 (2013) 113–115. * ^ -, Christos. "Is the area of interse |