Diagonals of a Polygon — Definition, Formula & Examples
Diagonals of a polygon are line segments that connect two non-adjacent (non-neighboring) vertices of the polygon. Every polygon with four or more sides has at least one diagonal.
Given a polygon with vertices, a diagonal is a line segment joining any two vertices that do not share a common side. The total number of distinct diagonals in an -sided polygon is .
Key Formula
Where:
- = Total number of diagonals in the polygon
- = Number of sides (or vertices) of the polygon
How It Works
To find the number of diagonals in any polygon, use the formula , where is the number of sides. The reasoning behind this formula: each of the vertices can connect to other vertices (you subtract the vertex itself and its two neighbors). This gives connections, but since each diagonal is counted twice (once from each endpoint), you divide by 2. A triangle has zero diagonals because every vertex is adjacent to the other two.
Worked Example
Problem: How many diagonals does a hexagon (6-sided polygon) have?
Identify n: A hexagon has 6 sides, so n = 6.
Substitute into the formula: Plug n = 6 into the diagonal formula.
Simplify: Calculate the numerator, then divide by 2.
Answer: A hexagon has 9 diagonals.
Another Example
Problem: How many diagonals does a decagon (10-sided polygon) have?
Identify n: A decagon has 10 sides.
Apply the formula: Substitute into the diagonal formula.
Calculate: Multiply and divide.
Answer: A decagon has 35 diagonals.
Visualization
Why It Matters
Counting diagonals appears frequently in middle school and high school geometry courses, especially when studying polygon properties and interior structures. In more advanced settings, diagonals help triangulate polygons — a technique used in computer graphics to render complex shapes on screen. Understanding this formula also builds your skills in combinatorics, since the counting logic is the same used in many probability problems.
Common Mistakes
Mistake: Using instead of
Correction: The expression counts all possible line segments between vertices, including the sides of the polygon. Diagonals exclude the sides, so you subtract 3 (the vertex itself plus its two neighbors) rather than 1.
Mistake: Forgetting to divide by 2
Correction: Each diagonal connects two vertices, so it gets counted once from each end. You must divide by 2 to avoid double-counting.
