In geometry, a polygon is a plane figure made up of line segments connected to form a closed polygonal chain.
The segments of a closed polygonal chain are called its edges or sides. The points where two edges meet are the polygon's vertices or corners. An n-gon is a polygon with n sides; for example, a triangle is a 3-gon.
A simple polygon is one which does not intersect itself. More precisely, the only allowed intersections among the line segments that make up the polygon are the shared endpoints of consecutive segments in the polygonal chain. A simple polygon is the boundary of a region of the plane that is called a solid polygon. The interior of a solid polygon is its body, also known as a polygonal region or polygonal area. In contexts where one is concerned only with simple and solid polygons, a polygon may refer only to a simple polygon or to a solid polygon.
A polygonal chain may cross over itself, creating star polygons and other self-intersecting polygons. Some sources also consider closed polygonal chains in Euclidean space to be a type of polygon (a skew polygon), even when the chain does not lie in a single plane.
A polygon is a 2-dimensional example of the more general polytope in any number of dimensions. There are many more generalizations of polygons defined for different purposes.
The word polygon derives from the Greek adjective πολύς (polús) 'much', 'many' and γωνία (gōnía) 'corner' or 'angle'. It has been suggested that γόνυ (gónu) 'knee' may be the origin of gon.[1]
Polygons are primarily classified by the number of sides.
Polygons may be characterized by their convexity or type of non-convexity:
The property of regularity may be defined in other ways: a polygon is regular if and only if it is both isogonal and isotoxal, or equivalently it is both cyclic and equilateral. A non-convex regular polygon is called a regular star polygon.
Euclidean geometry is assumed throughout.
Any polygon has as many corners as it has sides. Each corner has several angles. The two most important ones are:
\left(1-\tfrac{2}{n}\right)\pi
180-\tfrac{360}{n}
\tfrac{p}{q}
\tfrac{\pi(p-2q)}{p}
\tfrac{180(p-2q)}{p}
In this section, the vertices of the polygon under consideration are taken to be
(x0,y0),(x1,y1),\ldots,(xn,yn)
If the polygon is non-self-intersecting (that is, simple), the signed area is
A=
1 | |
2 |
n-1 | |
\sum | |
i=0 |
(xiyi-xiyi) wherexn=x0andyn=y0,
16A2=
n-1 | |
\sum | |
i=0 |
n-1 | |
\sum | |
j=0 |
\begin{vmatrix}Qi,j&Qi,j+1\\ Qi+1,j&Qi+1,j+1\end{vmatrix},
Qi,j
(xi,yi)
(xj,yj).
The signed area depends on the ordering of the vertices and of the orientation of the plane. Commonly, the positive orientation is defined by the (counterclockwise) rotation that maps the positive -axis to the positive -axis. If the vertices are ordered counterclockwise (that is, according to positive orientation), the signed area is positive; otherwise, it is negative. In either case, the area formula is correct in absolute value. This is commonly called the shoelace formula or surveyor's formula.[5]
The area A of a simple polygon can also be computed if the lengths of the sides, a1, a2, ..., an and the exterior angles, θ1, θ2, ..., θn are known, from:
\begin{align}A=
12 | |
( |
a1[a2\sin(\theta1)+a3\sin(\theta1+\theta2)+ … +an-1\sin(\theta1+\theta2+ … +\thetan-2)]\\ {}+a2[a3\sin(\theta2)+a4\sin(\theta2+\theta3)+ … +an-1\sin(\theta2+ … +\thetan-2)]\\ {}+ … +an-2[an-1\sin(\thetan-2)]).\end{align}
If the polygon can be drawn on an equally spaced grid such that all its vertices are grid points, Pick's theorem gives a simple formula for the polygon's area based on the numbers of interior and boundary grid points: the former number plus one-half the latter number, minus 1.
p2>4\piA
For any two simple polygons of equal area, the Bolyai–Gerwien theorem asserts that the first can be cut into polygonal pieces which can be reassembled to form the second polygon.
The lengths of the sides of a polygon do not in general determine its area.[8] However, if the polygon is simple and cyclic then the sides do determine the area.[9] Of all n-gons with given side lengths, the one with the largest area is cyclic. Of all n-gons with a given perimeter, the one with the largest area is regular (and therefore cyclic).[10]
Many specialized formulas apply to the areas of regular polygons.
The area of a regular polygon is given in terms of the radius r of its inscribed circle and its perimeter p by
A=\tfrac{1}{2} ⋅ p ⋅ r.
The area of a regular n-gon in terms of the radius R of its circumscribed circle can be expressed trigonometrically as:[11] [12]
A=R2 ⋅
n | |
2 |
⋅ \sin
2\pi | |
n |
=R2 ⋅ n ⋅ \sin
\pi | |
n |
⋅ \cos
\pi | |
n |
The area of a regular n-gon inscribed in a unit-radius circle, with side s and interior angle
\alpha,
A=
ns2 | |
4 |
\cot
\pi | |
n |
=
ns2 | \cot | |
4 |
\alpha | |
n-2 |
=n ⋅ \sin
\alpha | |
n-2 |
⋅ \cos
\alpha | |
n-2 |
.
The area of a self-intersecting polygon can be defined in two different ways, giving different answers:
Using the same convention for vertex coordinates as in the previous section, the coordinates of the centroid of a solid simple polygon are
Cx=
1 | |
6A |
n-1 | |
\sum | |
i=0 |
(xi+xi)(xiyi-xiyi),
Cy=
1 | |
6A |
n-1 | |
\sum | |
i=0 |
(yi+yi)(xiyi-xiyi).
A
For triangles, the centroids of the vertices and of the solid shape are the same, but, in general, this is not true for . The centroid of the vertex set of a polygon with vertices has the coordinates
c | ||||
|
n-1 | |
i=0 |
xi,
c | ||||
|
n-1 | |
i=0 |
yi.
The idea of a polygon has been generalized in various ways. Some of the more important include:
The word polygon comes from Late Latin polygōnum (a noun), from Greek πολύγωνον (polygōnon/polugōnon), noun use of neuter of πολύγωνος (polygōnos/polugōnos, the masculine adjective), meaning "many-angled". Individual polygons are named (and sometimes classified) according to the number of sides, combining a Greek-derived numerical prefix with the suffix -gon, e.g. pentagon, dodecagon. The triangle, quadrilateral and nonagon are exceptions.
Beyond decagons (10-sided) and dodecagons (12-sided), mathematicians generally use numerical notation, for example 17-gon and 257-gon.[16]
Exceptions exist for side counts that are easily expressed in verbal form (e.g. 20 and 30), or are used by non-mathematicians. Some special polygons also have their own names; for example the regular star pentagon is also known as the pentagram.
+ Polygon names and miscellaneous properties | |||
Name | Sides | Properties | |
---|---|---|---|
1 | Not generally recognised as a polygon,[17] although some disciplines such as graph theory sometimes use the term. | ||
2 | Not generally recognised as a polygon in the Euclidean plane, although it can exist as a spherical polygon.[18] | ||
triangle (or trigon) | 3 | The simplest polygon which can exist in the Euclidean plane. Can tile the plane. | |
quadrilateral (or tetragon) | 4 | The simplest polygon which can cross itself; the simplest polygon which can be concave; the simplest polygon which can be non-cyclic. Can tile the plane. | |
5 | The simplest polygon which can exist as a regular star. A star pentagon is known as a pentagram or pentacle. | ||
6 | Can tile the plane. | ||
heptagon (or septagon) | 7 | The simplest polygon such that the regular form is not constructible with compass and straightedge. However, it can be constructed using a neusis construction. | |
8 | |||
nonagon (or enneagon) | 9 | "Nonagon" mixes Latin [''novem'' = 9] with Greek; "enneagon" is pure Greek. | |
10 | |||
hendecagon (or undecagon) | 11 | The simplest polygon such that the regular form cannot be constructed with compass, straightedge, and angle trisector. However, it can be constructed with neusis. | |
dodecagon (or duodecagon) | 12 | ||
tridecagon (or triskaidecagon) | 13 | ||
tetradecagon (or tetrakaidecagon) | 14 | ||
pentadecagon (or pentakaidecagon) | 15 | ||
hexadecagon (or hexakaidecagon) | 16 | ||
heptadecagon (or heptakaidecagon) | 17 | Constructible polygon | |
octadecagon (or octakaidecagon) | 18 | ||
enneadecagon (or enneakaidecagon) | 19 | ||
20 | |||
icositrigon (or icosikaitrigon) | 23 | The simplest polygon such that the regular form cannot be constructed with neusis.[19] [20] | |
icositetragon (or icosikaitetragon) | 24 | ||
icosipentagon (or icosikaipentagon) | 25 | The simplest polygon such that it is not known if the regular form can be constructed with neusis or not. | |
30 | |||
tetracontagon (or tessaracontagon) | 40 | ||
pentacontagon (or pentecontagon) | 50 | [21] | |
hexacontagon (or hexecontagon) | 60 | ||
heptacontagon (or hebdomecontagon) | 70 | ||
octacontagon (or ogdoëcontagon) | 80 | ||
enneacontagon (or enenecontagon) | 90 | ||
hectogon (or hecatontagon) | 100 | [22] | |
257 | Constructible polygon | ||
1000 | Philosophers including René Descartes,[23] Immanuel Kant,[24] David Hume,[25] have used the chiliagon as an example in discussions. | ||
10,000 | Used as an example in some philosophical discussions, for example in Descartes's Meditations on First Philosophy | ||
65,537 | Constructible polygon | ||
megagon[26] [27] [28] | 1,000,000 | As with René Descartes's example of the chiliagon, the million-sided polygon has been used as an illustration of a well-defined concept that cannot be visualised.[29] [30] [31] [32] [33] [34] [35] The megagon is also used as an illustration of the convergence of regular polygons to a circle.[36] | |
∞ | A degenerate polygon of infinitely many sides. |
To construct the name of a polygon with more than 20 and fewer than 100 edges, combine the prefixes as follows.[22] The "kai" term applies to 13-gons and higher and was used by Kepler, and advocated by John H. Conway for clarity of concatenated prefix numbers in the naming of quasiregular polyhedra,[37] though not all sources use it.
Tens | and | Ones | final suffix | ||
---|---|---|---|---|---|
-kai- | 1 | -hena- | -gon | ||
20 | icosi- (icosa- when alone) | 2 | -di- | ||
30 | triaconta- (or triconta-) | 3 | -tri- | ||
40 | tetraconta- (or tessaraconta-) | 4 | -tetra- | ||
50 | pentaconta- (or penteconta-) | 5 | -penta- | ||
60 | hexaconta- (or hexeconta-) | 6 | -hexa- | ||
70 | heptaconta- (or hebdomeconta-) | 7 | -hepta- | ||
80 | octaconta- (or ogdoëconta-) | 8 | -octa- | ||
90 | enneaconta- (or eneneconta-) | 9 | -ennea- |
Polygons have been known since ancient times. The regular polygons were known to the ancient Greeks, with the pentagram, a non-convex regular polygon (star polygon), appearing as early as the 7th century B.C. on a krater by Aristophanes, found at Caere and now in the Capitoline Museum.[38] [39]
The first known systematic study of non-convex polygons in general was made by Thomas Bradwardine in the 14th century.[40]
In 1952, Geoffrey Colin Shephard generalized the idea of polygons to the complex plane, where each real dimension is accompanied by an imaginary one, to create complex polygons.[41]
Polygons appear in rock formations, most commonly as the flat facets of crystals, where the angles between the sides depend on the type of mineral from which the crystal is made.
Regular hexagons can occur when the cooling of lava forms areas of tightly packed columns of basalt, which may be seen at the Giant's Causeway in Northern Ireland, or at the Devil's Postpile in California.
In biology, the surface of the wax honeycomb made by bees is an array of hexagons, and the sides and base of each cell are also polygons.
See main article: Polygon (computer graphics). In computer graphics, a polygon is a primitive used in modelling and rendering. They are defined in a database, containing arrays of vertices (the coordinates of the geometrical vertices, as well as other attributes of the polygon, such as color, shading and texture), connectivity information, and materials.[42] [43]
Any surface is modelled as a tessellation called polygon mesh. If a square mesh has points (vertices) per side, there are n squared squares in the mesh, or 2n squared triangles since there are two triangles in a square. There are vertices per triangle. Where n is large, this approaches one half. Or, each vertex inside the square mesh connects four edges (lines).
The imaging system calls up the structure of polygons needed for the scene to be created from the database. This is transferred to active memory and finally, to the display system (screen, TV monitors etc.) so that the scene can be viewed. During this process, the imaging system renders polygons in correct perspective ready for transmission of the processed data to the display system. Although polygons are two-dimensional, through the system computer they are placed in a visual scene in the correct three-dimensional orientation.
In computer graphics and computational geometry, it is often necessary to determine whether a given point
P=(x0,y0)
\limnR2 ⋅
n | |
2 |
⋅ \sin
2\pi | |
n |
=\pi ⋅ R2