Regular Polygon

DOWNLOAD Mathematica Notebook EXPLORE THIS TOPIC IN the MathWorld Classroom RegularPolygons

A regular polygon is an n-sided polygon in which the sides are all the same length and are symmetrically placed about a common center (i.e., the polygon is both equiangular and equilateral). Only certain regular polygons are "constructible" using the classical Greek tools of the compass and straightedge.

The terms equilateral triangle and square refer to the regular 3- and 4-polygons, respectively. The words for polygons with n>=5 sides (e.g., pentagon, hexagon, heptagon, etc.) can refer to either regular or non-regular polygons, although the terms generally refer to regular polygons in the absence of specific wording.

A regular n-gon is implemented in the Wolfram Language as RegularPolygon[n], or more generally as RegularPolygon[r, n], RegularPolygon[{x, y}, rspec, n], etc.

The sum of perpendiculars from any point to the sides of a regular polygon of n sides is n times the apothem.

PolygonInCircumscribe

Let a be the side length, r be the inradius, and R the circumradius of a regular polygon. Then

a=2rtan(pi/n)
(1)
=2Rsin(pi/n)
(2)
r=1/2acot(pi/n)
(3)
=Rcos(pi/n)
(4)
R=1/2acsc(pi/n)
(5)
=rsec(pi/n)
(6)
A=1/4na^2cot(pi/n)
(7)
=nr^2tan(pi/n)
(8)
=1/2nR^2sin((2pi)/n).
(9)

The area moments of inertia about axes along an inradius and a circumradius of a regular n-gon are given by

I_r=1/(24)A_n(6r_n^2-a^2)
(10)
=(a^4)/(192)n[cos((2pi)/n)+2]cos(pi/n)csc^2(pi/n)
(11)
I_R=1/(48)A_n(12R_n^2+a^2)
(12)
=(a^4)/(192)ncot(pi/n)[3cos^2(pi/n)+1]
(13)

(Roark 1954, p. 70).

If the number of sides is doubled, then

a_(2n)=sqrt(2R^2-Rsqrt(4R^2-a_n^2))
(14)
A_(2n)=(4rA_n)/(2r+sqrt(4r^2+a_n^2)).
(15)

The area of the first few regular n-gon with unit edge lengths are

A_3=1/4sqrt(3)
(16)
A_4=1
(17)
A_5=1/4sqrt(5(5+2sqrt(5)))
(18)
A_6=3/2sqrt(3)
(19)
A_7=(4096x^6-62720x^4+115248x^2-16807)_6
(20)
A_8=2(1+sqrt(2))
(21)
A_9=(4096x^6-186624x^4+1154736x^2-177147)_6
(22)
A_(10)=5/2sqrt(5+2sqrt(5)).
(23)

The algebraic degrees of these for n=3, 4, ... are 2, 1, 4, 2, 6, 2, 6, 4, 10, 2, 12, 6, 8, 4, 16, 6, 18, 4, ... (OEIS A089929).

RegularPolygonAreas

The plot above shows how the areas of the regular n-gons with unit inradius (blue) and unit circumradius (red) approach that of a unit disk (i.e., pi).

If p_k and P_k are the perimeters of the regular polygons inscribed in and circumscribed around a given circle and a_k and A_k their areas, then

P_(2n)=(2p_nP_n)/(p_n+P_n)
(24)
p_(2n)=sqrt(p_nP_(2n)),
(25)

and

a_(2n)=sqrt(a_nA_n)
(26)
A_(2n)=(2a_(2n)A_n)/(a_(2n)+A_n)
(27)

(Beyer 1987, p. 125).

The sum of interior angles in any n-gon is given by (n-2)pi radians, or 2(n-2)×90 degrees (Zwillinger 1995, p. 270).

The following table gives parameters for the first few regular polygons of unit edge length s=1, where alpha is the interior (vertex) angle, beta is the exterior angle, r is the inradius, R is the circumradius, and A is the area (Williams 1979, p. 33).

polygon{n}alphabetarRA
equilateral triangle{3}1/3pi=60 degrees2/3pi=120 degrees1/6sqrt(3)1/3sqrt(3)1/4sqrt(3)
square{4}1/2pi=90 degrees1/2pi=90 degrees1/21/2sqrt(2)1
pentagon{5}3/5pi=108 degrees2/5pi=72 degrees1/(10)sqrt(25+10sqrt(5))1/(10)sqrt(50+10sqrt(5))1/4sqrt(25+10sqrt(5))
hexagon{6}2/3pi=120 degrees1/3pi=60 degrees1/2sqrt(3)13/2sqrt(3)
heptagon{7}5/7pi=(900)/7 degrees2/7pi=(360)/7 degrees1/2cot(1/7pi)1/2csc(1/7pi)7/4cot(1/7pi)
octagon{8}3/4pi=135 degrees1/4pi=45 degrees1/2(1+sqrt(2))1/2sqrt(4+2sqrt(2))2(1+sqrt(2))
nonagon{9}7/9pi=140 degrees2/9pi=40 degrees1/2cot(1/9pi)1/2csc(1/9pi)9/4cot(1/9pi)
decagon{10}4/5pi=144 degrees1/5pi=36 degrees1/2sqrt(5+2sqrt(5))1/2(1+sqrt(5))5/2sqrt(5+2sqrt(5))
hendecagon{11}9/(11)pi=(1620)/(11) degrees2/(11)pi=(360)/(11) degrees1/2cot(1/(11)pi)1/2csc(1/(11)pi)(11)/4cot(1/(11)pi)
dodecagon{12}5/6pi=150 degrees1/6=30 degrees1/2(2+sqrt(3))1/2(sqrt(2)+sqrt(6))3(2+sqrt(3))
tridecagon{13}(11)/(13)pi=(1980)/(13) degrees2/(13)pi=(360)/(13) degrees1/2cot(1/(13)pi)1/2csc(1/(13)pi)(13)/4cot(1/(13)pi)
tetradecagon{14}6/7pi=(1080)/7 degrees1/7pi=(180)/7 degrees1/2cot(1/(14)pi)1/2csc(1/(14)pi)7/2cot(1/(14)pi)

Only some of the regular polygons can be built by geometric construction using a compass and straightedge. The numbers of sides for which regular polygons are constructible are those having central angles corresponding to so-called trigonometry angles.

RegularPolygonFunctions

It is possible to construct relatively simple two-dimensional functions P_n(x,y) that have the symmetry of a regular n-gon (i.e., whose level curves are regular n-gons). Examples, illustrated above, include

P_3(x,y)=max(y-xsqrt(3),y+xsqrt(3),-2y)
(28)
P_4(x,y)=|x|+|y|
(29)
P_6(x,y)=2|x|+|x-ysqrt(3)|+|x+ysqrt(3)|
(30)
P_8(x,y)=2(|x|+|y|)+sqrt(2)(|x-y|+|x+y|).
(31)

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.