Lably
Skip to content

Diagonal

In geometry a line segment joining two nonconsecutive vertices of a polygon or polyhedron

  • 4 min read
  • 4 chapters
  • 4 labs on Lably

Learn it on Lably

Polygons

As applied to a polygon, a diagonal is a line segment joining any two non-consecutive vertices. Therefore, a quadrilateral has two diagonals, joining opposite pairs of vertices. For any convex polygon, all the diagonals are inside the polygon, but for re-entrant polygons, some diagonals are outside of the polygon.

Any n-sided polygon (n ≥ 3), convex or concave, has n(n−3)2 total diagonals, as each vertex has diagonals to all other vertices except itself and the two adjacent vertices, or n − 3 diagonals, and each diagonal is shared by two vertices.

In general, a regular n-sided polygon has ⌊n−22⌋ distinct diagonals in length, which follows the pattern 1,1,2,2,3,3... starting from a square.

Regions formed by diagonals

In a convex polygon, if no three diagonals are concurrent at a single point in the interior, the number of regions that the diagonals divide the interior into is given by

(n4)+(n−12)=(n−1)(n−2)(n2−3n+12)24.

For n-gons with n=3, 4, ... the number of regions is

1, 4, 11, 25, 50, 91, 154, 246...

This is OEIS sequence A006522.

Intersections of diagonals

If no three diagonals of a convex polygon are concurrent at a point in the interior, the number of interior intersections of diagonals is given by (n4). This holds, for example, for any regular polygon with an odd number of sides. The formula follows from the fact that each intersection is uniquely determined by the four endpoints of the two intersecting diagonals: the number of intersections is thus the number of combinations of the n vertices four at a time.

Regular polygons

Although the number of distinct diagonals in a polygon increases as its number of sides increases, the length of any diagonal can be calculated.

In a regular n-gon with side length a, the length of the xth shortest distinct diagonal is:

sin⁡(π(x+1)n)csc⁡(πn)⋅a

This formula shows that as the number of sides approaches infinity, the xth shortest diagonal approaches the length ⁠(x+1)a⁠. Additionally, the formula for the shortest diagonal simplifies in the case of x = 1:

sin⁡(2πn)csc⁡(πn)⋅a=2cos⁡(πn)⋅a

If the number of sides is even, the longest diagonal will be equivalent to the diameter of the polygon's circumcircle because the long diagonals all intersect each other at the polygon's center.

Special cases include:

A square has two diagonals of equal length, which intersect at the center of the square. The ratio of a diagonal to a side is 2≈1.414.

A regular pentagon has five diagonals all of the same length. The ratio of a diagonal to a side is the golden ratio, 1+52≈1.618.

Short and long diagonals

A regular hexagon has nine diagonals: the six shorter ones are equal to each other in length; the three longer ones are equal to each other in length and intersect each other at the center of the hexagon. The ratio of a long diagonal to a side is 2, and the ratio of a short diagonal to a side is 3.

A regular heptagon has 14 diagonals. The seven shorter ones equal each other, and the seven longer ones equal each other. The reciprocal of the side equals the sum of the reciprocals of a short and a long diagonal.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Topics in mathematics