Generated on: | Analytical Polygon Geometry & Trigonometric Verification
| Side a: | 0.000 |
| Side b: | 0.000 |
| Side c: | 0.000 |
| Angle A (α): | 0.00° |
| Angle B (β): | 0.00° |
| Angle C (γ): | 0.00° |
| Perimeter (P): | 0.000 |
| Semiperimeter (s): | 0.000 |
| Inradius (r): | 0.000 |
| Circumradius (R): | 0.000 |
| Altitude h_a (to side a): | 0.000 |
| Altitude h_b (to side b): | 0.000 |
| Altitude h_c (to side c): | 0.000 |
The triangle represents the most fundamental two-dimensional polygon in Euclidean geometry. Consisting of exactly three line segments joined at three non-collinear vertices, triangles form the structural foundation of all higher-order geometric shapes, architectural trusses, computer graphics meshes, celestial navigation frameworks, and land geodetic surveys. Solving a triangle—the mathematical process of computing unknown side lengths, interior angles, surface areas, altitudes, and geometric radii from partial input data—relies on established mathematical theorems including the Pythagorean theorem, the Law of Sines, the Law of Cosines, and Heron's formula.
In analytical plane geometry, a triangle is mathematically bounded by strict physical constraints. The interior angles of any planar triangle must always sum to exactly 180 degrees, and the length of any single side must strictly remain smaller than the combined sum of the other two sides—a fundamental principle recognized as the Triangle Inequality Theorem. This comprehensive technical guide details the trigonometric laws governing oblique and right triangles, provides explicit mathematical formulas for surface areas and circumscribed circles, explores coordinate transformations for dynamic computer rendering, and outlines practical engineering applications.
Core Geometric Axiom: In Euclidean geometry, a triangle is uniquely determined by three independent parameters (provided at least one parameter is a linear side length). The four primary solvable configurations are Side-Side-Side (SSS), Side-Angle-Side (SAS), Angle-Side-Angle (ASA), and Angle-Angle-Side (AAS).
While right-angled triangles can be resolved using standard trigonometric ratios (sine, cosine, and tangent), general oblique triangles containing acute or obtuse angles require advanced trigonometric laws:
The Law of Cosines generalizes the Pythagorean theorem to any arbitrary triangle. When all three sides are known (SSS), or when two sides and their included angle are known (SAS), the Law of Cosines allows you to solve for the missing elements without ambiguity:
A major advantage of using the Law of Cosines to solve for angles is that the arccosine function (cos⁻¹) returns an unambiguous result between 0 and 180 degrees. If the numerator is positive, the angle is acute (less than 90 degrees); if the numerator is zero, the angle is exactly 90 degrees (right angle); and if the numerator is negative, the angle is obtuse (greater than 90 degrees).
The Law of Sines establishes that the ratio of the length of a side to the sine of its opposite interior angle is constant for all three vertices in a triangle, and this ratio equals the diameter of the triangle's circumscribed circle (2 * R):
The Law of Sines is the tool of choice when solving triangles under Angle-Side-Angle (ASA) or Angle-Angle-Side (AAS) conditions. Because the sum of all three angles is always 180 degrees (A + B + C = 180°), knowing two angles immediately gives you the third angle: C = 180° - A - B. From there, the Law of Sines quickly calculates the remaining two side lengths.
Before computing values for a Side-Side-Side (SSS) input, the values must satisfy the Triangle Inequality Theorem. This theorem states that the sum of the lengths of any two sides must be strictly greater than the length of the remaining third side:
If the sum of two sides equals the third side (a + b = c), the vertices collapse into a single straight line (a degenerate triangle with zero area). If the sum is less than the third side (a + b < c), the line segments cannot physically meet in Euclidean space, making construction impossible.
Triangles are classified using two parallel criteria: by their relative side lengths and by the magnitude of their interior angles:
| Classification Type | Geometric Criteria | Interior Angle Properties | Symmetry & Structural Features |
|---|---|---|---|
| Equilateral | All three sides are equal (a = b = c) | All three angles equal 60° (A = B = C = 60°) | Three axes of reflective symmetry; rotational symmetry of order 3; centroid, incenter, and circumcenter coincide. |
| Isosceles | Two sides are equal in length (a = b) | The angles opposite equal sides are equal (A = B) | One axis of reflective symmetry; altitude bisects base and vertex angle. |
| Scalene | All three sides have different lengths | All three interior angles have different measures | No axes of symmetry; incenter, centroid, and circumcenter lie at distinct points. |
| Right-Angled | One interior angle equals exactly 90° | Remaining two angles are complementary (A + B = 90°) | Satisfies Pythagorean theorem (a² + b² = c²); circumcenter lies at the midpoint of the hypotenuse. |
| Acute-Angled | All three interior angles are less than 90° | c² < a² + b² (for longest side c) | Circumcenter lies completely inside the interior area of the triangle. |
| Obtuse-Angled | One interior angle is greater than 90° | c² > a² + b² (for longest side c) | Circumcenter and orthocenter lie outside the physical perimeter of the triangle. |
Depending on which initial dimensions are provided, several mathematical methods can be used to calculate a triangle's surface area:
When the perpendicular altitude (h) corresponding to a known base (b) is available:
Dating back to Heron of Alexandria in 60 CE, this formula calculates the area of any valid triangle using only its three side lengths, bypassing the need to compute interior angles or altitudes:
When two adjacent sides and their included interior angle are known, the area can be calculated using the sine of the angle:
Beyond sides and angles, every triangle features unique secondary properties that are critical in mechanical design, structural engineering, and spatial geometry:
The incircle is the largest circle that fits entirely inside a triangle, touching all three sides tangentially. The center of this circle (the incenter) is located at the intersection of the triangle's three interior angle bisectors. The radius of this inscribed circle is given by:
Where s represents the semi-perimeter: s = (a + b + c) / 2.
The circumcircle is the unique circle that passes through all three vertices of a triangle. Its center (the circumcenter) is located at the intersection of the perpendicular bisectors of the three sides. The circumradius is calculated as:
A triangle has three distinct altitudes, each representing the perpendicular distance from a vertex to the opposite side (or its extension). Using the calculated area, the three heights are given by:
Solving a triangle often forms part of a broader calculation workflow across surveying, engineering, and physics. To explore related mathematical principles, take advantage of these four companion tools:
Generating an accurate visual diagram of a triangle from numerical inputs requires translating side lengths and angles into Cartesian coordinates (x, y) on an SVG canvas:
In structural engineering, the triangle is the only geometric polygon that is inherently rigid. A four-sided polygon (quadrilateral) constructed with flexible pin joints can deform into a parallelogram under lateral shear stress without changing the lengths of its sides. In contrast, a triangle cannot deform unless one of its sides physically bends, compresses, or fractures.
Because of this mechanical property, civil engineers design bridges, roof trusses, construction cranes, and geodetic domes using interconnected triangular webs (Warren trusses, Pratt trusses). External loads are distributed as axial compression or tension along the beams rather than bending shear, maximizing structural efficiency. Similarly, modern Global Positioning System (GPS) receivers and satellite geodesy networks rely on trilateration—solving triangles based on known distances from satellite transmitters—to calculate pinpoint geographic locations on Earth.