Polygons: Definition, Method and Examples

MathPublished

Understanding Polygons: Definition, Types, and Properties

A polygon is a closed two-dimensional shape made entirely of straight line segments. Understanding these flat geometric figures helps classify the shapes we see every day, from simple triangles to complex architectural designs.

What is a polygon?

A polygon is a flat, closed geometric figure built by connecting straight line segments end to end. The point where two segments meet is called a vertex, and the segments themselves are called the sides of the shape.


Because a polygon must enclose space on a flat surface, it belongs to the broader group of two-dimensional shapes. It must have at least three sides to form a fully closed boundary.

Three shapes showing a polygon with straight closed sides next to a circle and an open figure that are not polygons.


A circle is also a flat shape, but it is not a polygon because it consists of a continuous curve rather than straight sides. Similarly, an arrangement of straight lines that does not completely close back on itself remains an open figure.

Check the polygon conditions

To determine whether a shape qualifies as a polygon, it must satisfy three strict geometric rules. If a shape fails even one of these tests, it is not a polygon.

A pentagon with checkmarks next to three rules: being a flat 2D shape, having straight sides, and being a closed figure.

The three necessary conditions are:

  1. Two-dimensional: The shape must be completely flat. A solid three-dimensional object like a box is not a polygon, though its flat faces might be polygons.
  2. Straight sides: Every edge must be a straight line segment. Figures with rounded or curved sections automatically fail this test.
  3. Closed figure: The boundary must connect completely. If there is a gap or an unattached end, the shape is considered an open figure.

Name polygons by number of sides

Polygons receive their specific geometric names based on their number of sides and vertices. The smallest possible polygon requires three sides to enclose a space.

A row of five polygons labeled with their names and side counts: triangle, quadrilateral, pentagon, hexagon, and octagon.


Here is a reference list of common polygons named by their side count:

Number of Sides

Polygon Name

33

Triangle

44

Quadrilateral

55

Pentagon

66

Hexagon

77

Heptagon

88

Octagon

99

Nonagon

1010

Decagon

Compare regular irregular convex and concave polygons

Beyond counting sides, polygons are classified by comparing their side lengths, their interior angles, and the overall direction of their vertices.

Four panels comparing a regular triangle, an irregular triangle, a convex quadrilateral, and a concave quadrilateral.


When exploring regular and irregular polygons, the defining difference is consistency. A regular polygon has sides of identical length and interior angles of identical measure, such as an equilateral triangle or a square. An irregular polygon has varying side lengths or varying angle measures, like a rectangle or a scalene triangle.


Polygons are also sorted by the behavior of their interior angles, relying on the different types of angles.


A convex polygon has interior angles that all measure strictly less than 180∘180^\circ. Its vertices all point outward, creating a shape with no dents.

A concave polygon contains at least one interior angle that is greater than 180∘180^\circ. This reflex angle causes a vertex to point inward, creating a hollow or "cave" in the shape's perimeter.

Use polygon families

Every polygon belongs to a family that follows specific mathematical formulas, regardless of whether the shape is regular, irregular, convex, or concave.


The most fundamental polygon families are triangles and quadrilaterals. You can break any larger polygon into a set of triangles by drawing diagonals from a single vertex. This relationship provides the formula for finding the sum of the interior angles of any polygon.

A hexagon split into four triangles by drawing diagonals from a single vertex, demonstrating the interior angle sum.

The formula for the sum of interior angles is (n−2)×180∘(n - 2) \times 180^\circ, where nn represents the number of sides. Subtracting two from the total side count reveals exactly how many triangles fit inside the polygon from one vertex.


You can also calculate the total number of diagonals inside any polygon using the formula n(n−3)2\dfrac{n(n - 3)}{2}. A diagonal is simply a line segment that connects two vertices that are not next to each other.

Worked examples

These examples show how to calculate the interior angle sum, the exterior angles, and the total diagonals of different polygons.


Example 1: Finding the interior angle sum


Question: What is the sum of the interior angles of a nonagon?


Method:

  1. Identify the number of sides for a nonagon.
  2. Use the angle sum formula.
  3. Multiply the result by 180∘180^\circ.

Answer: The sum is 1,260∘1{,}260^\circ.


Check: A nonagon has 99 sides. Subtracting 22 gives 77 interior triangles. Multiplying 7×180∘=1,260∘7 \times 180^\circ = 1{,}260^\circ.


Example 2: Identifying an exterior angle


Question: What is the measure of one exterior angle of a regular octagon?


Method:

  1. Recall that the sum of all exterior angles for any convex polygon is always 360∘360^\circ.
  2. Identify the number of sides in an octagon.
  3. Divide the total exterior angle sum by the number of sides.

Answer: Each exterior angle is 45∘45^\circ.


Check: An octagon has 88 sides. Calculating 360∘÷8=45∘360^\circ \div 8 = 45^\circ.


Example 3: Calculating total diagonals


Question: How many total diagonals can be drawn inside a regular hexagon?


Method:

  1. Identify the number of sides in a hexagon.
  2. Use the total diagonal formula.
  3. Calculate the numerator and divide by two.

Answer: A hexagon has 99 diagonals.


Check: For n=6n = 6, calculating 6×(6−3)2=6×32=182=9\dfrac{6 \times (6 - 3)}{2} = \dfrac{6 \times 3}{2} = \dfrac{18}{2} = 9.

Common mistakes

Avoid these frequent errors when identifying and analyzing polygons.


Confusing three-dimensional solids with polygons

Polygons are strictly two-dimensional shapes. While the flat faces of a cube are polygons, the cube itself is a solid object and cannot be classified as a polygon.


Assuming all polygons are regular

Many learners automatically picture a regular hexagon or pentagon when they hear the shape's name. Remember that a polygon is defined only by its straight sides and closed boundary, meaning a highly distorted, irregular figure is still a valid polygon as long as it meets those conditions.


Counting intersecting lines as simple polygons

If the boundary lines of a shape cross over one another, creating a star-like crossing, it is known as a complex polygon. The standard properties, such as the interior angle sum formula, only apply to simple polygons where the perimeter never crosses itself.

Frequently asked questions

Can a polygon have curved sides?

No. By definition, a polygon is constructed entirely from straight line segments. Any shape that includes a curve, such as a circle or a semi-circle, is not a polygon.


What is a polygon with 7 sides called?

A polygon with seven sides and seven vertices is called a heptagon.


Do all polygons have diagonals?

No. A triangle is the only polygon that does not have any diagonals. Because every vertex in a triangle is already connected to the other two by the shape's boundary sides, it is impossible to draw a segment between two non-adjacent vertices.

Practice questions

Question

Four different geometric figures labeled Figure A through Figure D, including a pentagon, open lines, a curve, and a cylinder.

Which of the four figures shown above is a polygon?

  • Figure A

  • Figure B

  • Figure C

  • Figure D

Answer:

Figure A

Question

What is the correct geometric name for a polygon that has exactly 99 sides?

  • Heptagon

  • Octagon

  • Nonagon

  • Decagon

Answer:

Nonagon

Question

How many total diagonals can be drawn in a regular pentagon?

  • 55

  • 1010

  • 33

  • 22

Answer:

55

Question

Four different polygons labeled Figure A through Figure D, including a hexagon, a rectangle, a concave dart shape, and a triangle.

Which of the labeled polygons is a concave polygon?

  • Figure A

  • Figure B

  • Figure C

  • Figure D

Answer:

Figure C

Question

What is the sum of the interior angles of a convex heptagon?

  • 360∘360^\circ

  • 720∘720^\circ

  • 900∘900^\circ

  • 1,260∘1{,}260^\circ

Answer:

900∘900^\circ