Processing math: 99%


Geometry and the Discrete Fourier Transform

We'll show a relationship between some elementary geometry of the plane and the Discrete Fourier Transform, that is a starting point for ramifications for polynomials, circulant matrices and interpolation, and even sculpture. We employ some recent (2010) technology to do this. ...

Patrick D. F. Ion
Mathematical Reviews
pion at umich.edu [Do not use the discontinued ion@ams.org]

Mail this to a friend

[This is a slightly revised form of the article that was a Feature Column in November 2010 on the AMS website: http://www.ams.org/samplings/feature-column/fcarc-geo-dft. This version has been made to work properly with the new technologies that have changed since then, such as HTML5, JavaScript, newer MathJax and Geogebra. But the main text is essentially unchanged except for minor corrections. However, there links to newer expository material in similar style are being added (from September 2016).]

Introduction

Many of the most curious and popular theorems of plane geometry are those of Coincidence, Collinearity, and Equilateralness (also sometimes called Equilaterality): a certain collection of lines all intersect in a single point, or a collection of points in the plane lies on a line, or a certain triple of points forms an equilateral triangle.

The Discrete Fourier Transform is a tool used to efficiently and accurately approximate the Fourier Transform. It is applied in electrical engineering to analyze a signal into its components at various frequencies, and in mechanical engineering to analyze vibrations of a system.

There is a surprising connection between these two topics.

Diagram:    The Complex Plane

The starting point is to consider points in the plane as complex numbers z=x+iyC.

Complex numbers as points

To see a note on new technology behind this document, and explanation of the buttons above, click on the following up-arrow; to hide it again click on the corresponding down-arrow when it is shown .

This pairing of up- and down-arrows is used to Show or Hide asides or details of equations throughout this month's column.

Part I. The theorems

Theorems of Coincidence: Triangle Medians

The median lines of a triangle are the lines drawn from each vertex to the midpoint of the opposite side. The simplest Coincidence Theorem asserts that these three lines meet in a single point (which happens to be the center of gravity or centroid of the triangle).

Diagram:    Triangle Medians

This triangle has vertices A0, A1 and A2, and the points M0, M1 and M2 are the midpoints of opposite sides; A0M0, A1M1 and A2M2 are the medians. In the interactive pop-up the blue points A0, A1 and A2 can be dragged about with the mouse to change the triangle. The red point G is the triangle's centroid.

Triangle Medians and the Centroid

There are other well known examples: the angle bisectors all intersect at the point I, the center of the inscribed circle (called the incenter), the perpendicular bisectors of the sides intersect at the circumcenter C, the altitudes intersect at the orthocenter O.

Collinearity theorems

The prime example of a collinearity theorem is that the circumcenter C, the centroid G and the orthocenter O are collinear. Below the altitudes are in black, medians are in green and perpendicular bisectors in blue. The line through their coincidence is shown in orange.

Diagram:    The Euler Line

The Euler Line

Equilateralness - Napoleon's Theorem

Napoleon's Theorem, though probably not directly due to the emperor himself, has long borne his name.

Diagram:    Napoleon's Theorem

Its simplest form says that if one constructs an equilateral triangle external to each side of a nondegenerate plane triangle, and takes the three centroids of the resulting triangles, then these points form an equilateral triangle. A similar construction using internal triangles also leads to another equilateral triangle.

Napoleon Triangles

The most famous equilaterality theorem is Morley's Miracle from about 1901 which states that the pairwise intersections of adjacent internal angle trisectors are the vertices of an equilateral triangle.

Diagram:    Two Morley Triangles

Diagram:    Another Morley Triangle

A pentagon construction

A relatively recent construction was discovered by the Fields Medalist Jesse Douglas. It was devised probably around 1940, but only published in 1960, in a piece written in honor of a colleague Jekuthiel Ginsburg. He specifies a fixed construction that from any pentagon derives an associated convex pentagon and pentagram.

Consider a pentagon in the plane. Suppose the five vertex points are p0,p1,p3p3,p4, taken to be numbers in C. So we are given a complex vector in C5, which is to say an array of complex numbers p=(p0,p1,p2,p3,p4). No one point of the five is to be distinguished. What is important is the cyclic order, so we shall consider the indices i of pi modulo 5. Sums in the index are cyclic, so that, for instance, p3+4=p2.

Douglas tells us: Join each vertex pi to the midpoint of the edge opposite between the points pi+2 and pi+3; then extend that line by an extra (1/5) of its length to create a new vertex qi. The new pentagon (q0,q1,q2,q3,q4) is always the affine image of a convex regular pentagon. Also, if the lines to the opposite midpoints are shortened by a similar decrement of (1/5) to give new vertices ri, then (r0,r1,r2,r3,r4) is the affine image of a regular star pentagon, commonly called a pentagram.

We plot a chosen example of p=(p0,p1,p2,p3,p4) but, as usual, the vertices can be dragged about in the interactive pop-up figures. p=(1.3+2.2i,4.4+1.5i,6+5.5i,1.5+4.1i,5.6+6.4i).

Diagram:    A Random Pentagon

A pentagon example

We see qi=pi+(1+15)(12(pi+2+pi+3)pi), outlined in green in the figure.

Diagram:    The Constructed Convex Pentagon

A pentagon example p and a constructed pentagon q

and similarly ri=pi+(115)(12(pi+2+pi+3)pi), outlined in red.

Diagram:    The Constructed Pentagram

A pentagon example p and a constructed pentagon r

One may put all this in a diagram with everything drawn, which it is amusing to pull about to see the effect of the construction.

Diagram:    The Full Douglas Contruction

We see that starting from an arbitrary pentagon, a list of five points, we get by a fixed construction two new pentagons, which are, respectively, an affine image of a standard convex pentagon and an affine image of a standard pentagram.

Aside: affine transformations

 

Part II. Geometry with the Discrete Fourier Transform

The Discrete Fourier Transform

A polygon with N sides is a sequence of vertices p0, p1, ... , pN1. None of the vertices is particularly more important than the others, so all that really matters is the cyclic order. In other words, what we have at hand is a complex-valued function pj on the cyclic group Z/N (short for Z/NZ.

The vector space C[Z/N] of all complex-valued functions on Z/N has dimension N, and the natural coordinate system on this space assigns to a function f the array (f0,,fN1) in CN. But there is another useful coordinate system as well. To tell you what this is, we need to specify a new basis of the vector space. Let ωN=e2πi/N, and for each a in Z, let χa (more precisely χN,a) be the function taking j to ωajN. This is a function on Z/N, since ωNN=1, that is ωN is an N-th root of unity. Furthermore, χa only depends on a modulo N, so there are N of these functions.

We assign to the complex vector space of complex-valued functions on Z/N a a Hermitian inner product: pq=1NN1j=0pjˉqj=(1/N)(p0ˉq0++pN1ˉqN1). The function χ0 is just the constant function taking all j to 1. We have χaχ0={1 if a=00 otherwise and hence χaχb={1 if a=b0 otherwise. This means that the functions χa for a in Z/N are an orthonormal basis for the space of functions on Z/N. If f is any such function, we may therefore write f=N1a=0ˆfaχa where ˆfa=fχa In particular, ˆf0 is the center of gravity (a.k.a. centroid, barycenter or mean) of the values of f, ˆf0=1N(f0++fN1) and ˆf0,,ˆfN1 are the coefficients in the expression of the arbitrary function f, an N-gon, as a linear sum of standard ones.

For example, the function fj=χ1(j) lists the vertices of the symmetric regular polygon of N sides inscribed in the unit circle. Similarly gj=χN1(j) gives the standard negatively oriented unit N-gon. The combination λχ1+μχN1 with λ, μ in C then gives a general affine convex N-gon.

Triangle geometry

The claim is that much classical plane geometry has a natural expression from the point of view outlined above. Start by looking at the standard types of triangles. For that we'll take ω:=ω3=12(1+i3) until further notice. The standard triangles are χ0=(1,1,1), the degenerate one with 3 points at 1, the unit equilateral triangle χ1=(1,ω,ω2), and its reverse χ2=(1,ω2,ω).

The picture below shows the simple average of a standard equilateral triangle and its reverse, namely 12(χ1+χ2). It is a digon (a segment) with a double point at the left-hand end.

Triangle and anti-triangle averaged

We consider only triangles whose centroids are at the origin; after all, it is easy enough to move any triangle into this simplifying position by a translation, and all interesting theorems of plane geometry are invariant under translations.

 

The fully general case is then the addition of two arbitrarily sized and rotated standard triangles. This is a case where the interactive form of the diagram can be quite helpful.

Diagram:    General Triangle Superposition

The triangle C is the average of triangles A and B so Ci is midway between Ai and Bi. That is, C is the triangle 12(λeiαχ1+μeiβχ2) for real numbers λ,μ,α and β.

The red sliders are λ controlling the size of the red image of the standard triangle and α controlling its angle of rotation. Then the blue μ and β are the corresponding controls for the blue image of the reversed standard triangle.

General scaled and rotated triangle and anti-triangle averaged

The general sum of this form, with six real parameters λ,μ,ν,α,β,γR, is λeiαχ1+μeiβχ2+νeiγχ0 and can represent any triangle in the plane; the centre of gravity is νeiγχ0.

One can spend quite some time playing with the interactive figures for polygon superpositions.

Proof of Median Coincidence

If the vertices of a triangle are z=(z0,z1,z2), the midpoints of the sides are (12(z1+z0),12(z2+z1),12(z0+z2))=12((z1+z0),(z2+z1),(z0+z2))=12(z+Jz)=12(I+J)z, where I is the identity and J is the cyclic permutation J:(z0,z1,z2)(z1,z2,z0). The points on the line from z0 to 12(z2+z1) are of the form, for some λR (1λ)z0+λ12(z2+z1) and similarly on the line from z1 to 12(z0+z2) we have, for some μR (1μ)z1+μ12(z0+z2). The only solution for a point that lies on both lines is (123)z1+2312(z0+z2)=13(z0+z1+z2)=χ0z. The common intersection point of medians as the centre of gravity has become obvious.▓

Proof of other coincidences and collinearity

Other coincidence cases can be a bit more tricky but fundamentally proceed in a similar way. We need to show the Fourier transform coefficients of χ1 and χ2 both vanish. For collinearity we only need to show that χ1x and χ2x have the same absolute value.

Pentagon geometry and Jesse Douglas' pentagon construction explained

Let ω be the simplest primitive 5th root of unity, with i:=1: ω=cos2π5+isin2π5. Note that complex conjugation acts as ˉωj5=ω5j5.

The standard pentagons are:

  • a degenerate collection of five points Pentagon chi0
  • the standard regular convex pentagon Pentagon chi1
  • the standard regular pentagram Pentagon chi2
  • the reversed regular pentagram Pentagon chi3
  • the reversed regular convex pentagon Pentagon chi4

These are the 5 standard vectors χ0=(1,1,1,1,1);χ1=(1,ω5,ω25,ω35,ω45);χ2=(1,ω25,ω45,ω5,ω35);

χ3=(1,ω35,ω5,ω45,ω25);χ4=(1,ω45,ω35,ω25,ω5). which form a basis for C5.

 

Going back to examine the coordinates for qi, the point obtained by extending a line from a vertex to an opposite midpoint by an extra 15, we see qi=55pi+5+510pi+2+5+510pi+3. To establish properties, see what components of the various standard types it has. The function q=(q0,q1,q2,q3,q4))C[Z/5] has the harmonic expansion q=4k=0(χkq)χk=4k=0ˆqkχk. The character χ0 is the trivial (or degenerate) character of the trivial representation, and ˆf0 is the center of gravity of the values of f. The other ˆf1,ˆf2,ˆf3,ˆf4 are the harmonic components of f.

The center of gravity is just an expression of where the geometric object is located, so we don't expect any special properties for it. But look at ˆq2; we find by calculation

5^q2=5χ2q=0

So ˆq2 vanishes identically. Thus there is no regular pentagram component of the polygon q. Similarly look at ˆq3, or at

5^q3=5 χ3q=5 ¯¯qχ2=0.

We have thus shown that q=ˆq0+ˆq1χ1+ˆq4χ4=ˆq0+ˆq1χ1+ˆq4¯χ1. This means that q is an affine image of the regular convex pentagon.

Similarly the polygon r constructed is the affine image of a regular pentagram, for like reasons.

Proof of Napoleon's Theorem

Again take ω:=ω3=12(1+i3) until further notice, so ω31=0=1+ω+ω2. Start by expressing the construction steps in the Napoleon theorem with the help of the characters we introduced. We need to specify an equilateral triangle constructed positively on an oriented segment. The standard unit equilateral triangle is χ3,1=:χ1. Its right-hand vertex is at the point 1C; we see that χ1χ0 is a similar triangle shifted so that its right-hand vertex is at the origin. A diagram may help.

Arithmetic with the cube root of unity.

To shift it so that its first side is aligned positively along the horizontal x-axis we multiply the whole by (ω1)1=31(ω21) to get 31(ω21)(χ1χ0). This is clear because we want to move the vertex after the base at 0, namely at ω1, to the point 1, and (ω1)(ω21)=ω3ω2ω+1=3. Alternatively, we see immediately that ¯ω1=ω21 and |ω1|=3. The triangular building block we need is thus 31(ω21)(χ1χ0). There is an important thing to note about the constructed triangle: it is positively oriented with respect to the base interval from 0 to 1. It is on the left as we go from 0 to 1. To get the negatively oriented block on the right as we go from 0 to 1 we need 31(ω1)(χ2χ0).

In general, to translate a whole triangular figure by a vector z we have to add zχ0 to it. To rotate by a angle α we have to multiply by the scalar turn eiα, and to scale by a homothety λ>0 we have to multiply by the scalar λ. For instance, if we had not multiplied by (ω1)1 just a moment ago, but only used the rotation effected by the unit vector {31/2(ω1)}1=31/2(ω21) then we would have had to scale the building-block triangle to unit side-length by multiplying with 31/2.

If the segment on which we need to erect a triangle is from zj to zk, then it is of length |zkzj| and in the direction arg(zkzj) from the starting point zj. Thus the triangle on the left side of the interval which is to be constructed is 31(ω21)(zkzj)(χ1χ0)+zjχ0, and the triangle on the right side is 31(ω1)(zkzj)(χ2χ0)+zjχ0.

Finally, to find the centroid of a triangle z=(z0,z1,z2) we just have to take the inner product with χ0, namely χ0z. So the centroid of the left-side resulting triangle in the last paragraph is, using the fact that the basis vectors χj are orthonormal, χ0(31(ω21)(zkzj)(χ1χ0)+zjχ0)=31(ω21)(zkzj)+zj=31{(ω21)zk(ω21)zj3zj}=31{(ω21)zk(ω2+2)zj}.

Theorem 1 (Napoleon) For any nondegenerate triangle in the plane the result of constructing the centroids of equilateral triangles erected externally on the sides of the triangle is three points at the vertices of an equilateral triangle.

Diagram:    Napoleon Triangles

Proof. Let the initial triangle be z=(z0,z1,z2), and suppose it positively oriented. Start with externally constructed equilateral triangles. That means we need right-side building blocks. By the above remarks the externally constructed vertices are (31{(ω1)zj+1(ω+2)zj},j{0,1,2}), so the triangle is 31{(1ω)Jz+(ω+2)z}. To show that this is an equilateral triangle we take the inner product with χ2. We know that the original triangle has its Fourier decomposition z=ˆz0χ0+ˆz1χ1+ˆz2χ2, and the basis (χj,j{0,1,2}) is orthonormal. Now we see quickly that the χj are eigenvectors of J, namely Jχj=ωjχJ. Therefore Jz=ˆz0χ0+ωˆz1χ1+ω2ˆz2χ2. Thus χ231{(1ω)Jz+(ω+2)z}=31{(1ω)ω2ˆz2+(ω+2)ˆz2}=31{ω21+ω+2}ˆz2=31{ω2+ω+1}ˆz2=0. We have shown that constructing the centroids of equilateral triangles externally to the positively oriented initial triangle yields a sequence of points making up the vertices of a positively oriented equilateral triangle.

To deal with left-hand side, i.e. , ‘internal’ equilateral triangles, we just have to do a similar calculation.

Since we may suspect that the resulting vertices will have the reverse orientation we will take the inner product with χ1. As suspected, they are the vertices of a reverse equilateral triangle. ▓

Corollary The Napoleon construction provides a geometrical way to find the discrete Fourier transform of a triangle.
Proof. First for the external triangles χ1(31{(1ω)Jz+(ω+2)z})=31{(1ω)ωˆz1+(ω+2)ˆz1}=31{ωω2+ω+2}ˆz1=31{ω2+2ω+2}ˆz1=31{3ω2}ˆz1=ω2ˆz1, and χ0|31{(1ω)Jz+(ω+2)z}=31{(1ω)ˆz0+(ω+2)ˆz0}=ˆz0 (which last we really already knew). Geometrically this means that the external Napoleon triangle has equal sides of lengths 3|ˆz1|, and if we want to work out the argument of ˆz1 then all we have to do is to rotate the first side of it back by 2π/3 and flip.

From the internal Napoleon triangle we get similarly χ2|31{(1ω2)Jz+(ω2+2)z}=31{(1ω2)ω2ˆz2+(ω2+2)ˆz2}=31{ω2ω+ω2+2}ˆz2=ωˆz2, giving us the value for ˆz2. ▓

A generalization of this results from noticing that one could just as well use N as 3 above for the number of sides, χN,k for the initial N-gon and some other χN,l-gon for the constructed figure on each side and still get the same results with careful manipulation of the indices. It is probably helpful to remark that the N=4 case says that constructing squares on the sides of a parallelogram gives four centers of gravity which are the vertices of a square, before the general formulation that follows. Let this theorem indicate that one can go a lot further with these methods.

Theorem 2 (Generalized Napoleon) Let N be an integer greater than 2, and k and l be integers between 1 and N1. For any nondegenerate affine image of a regular (N,k)-gon in the plane, the result of constructing the centroids of regular (N,l)-gons externally upon the sides of the initial (N,k)-gon is the set of vertices of a regular (N,k)-gon if k^2=l \pmod N; if the additional figures are constructed internally then a regular (N,N-k)-gon results.

Summary

We have seen that there's a relationship between some elementary geometry of the plane and the Discrete Fourier Transform: Assertions of triangle geometry are statements about the harmonics that remain after a prescribed construction, and Napoleon's Theorem gives a geometrical way of constructing a Discrete Fourier Transform of order 3. This is just a suggestion of some ramifications of this which include relationships to polynomials, circulant matrices, interpolation and splines, Siebeck's and Marden's theorems on polynomial zeroes, and the Heisenberg-Weyl group as it occurs in signal processing.

Acknowledgements

I would like to thank Bill Casselman and David Austin for many improvements to the exposition, Davide Cervone and Robert Miner for the excellent tool MathJax, and Markus Hohenwarter and his team for the valuable Geogebra package. Mathematical Reviews and the University of Michigan have provided unparalleled access to the literature of mathematics.

References

  • Douglas, Jesse
    1. Geometry of polygons in the complex plane. J. Math. Phys. Mass. Inst. Tech. 19 (1940), 93.130. MR 0001574 (1,261f)
    2. On linear polygon transformations. Bull. Amer. Math. Soc. 46 (1940), 551.560. MR 0002178 (2,9i)
    3. A theorem on skew pentagons. Scripta Math. 25 1960 5.9. MR 0117643 (22 #8419)
    The early papers on the whole approach to geometry through the Discrete Fourier Transform are items 1 and 2. The third introduces the pentagon construction discussed above, and is dedicated to a long-time colleague geometer, Jekuthiel Ginsburg. Douglas was awarded one of the first two Fields medals in 1936.
  • Schoenberg, I. J.
    1. The finite Fourier series and elementary geometry. Amer. Math. Monthly 57 (1950), 390.404. MR 0036332 (12,92f)
    2. Mathematical time exposures. Mathematical Association of America, Washington, DC, 1982. ix+270 pp. ISBN: 0-88385-438-4. MR 0711022 (85b:00001)
    3. The harmonic analysis of skew polygons as a source of outdoor sculptures. The geometric vein, pp. 165.176, Springer, New York-Berlin, 1981. MR 0661776 (84d:52011)
    Article 1 discusses these matters very clearly, as do several chapters in the book 2. Schoenberg actually did make a sculpture based on Douglas's construction described in 3.
  • Andreescu, Titu; Andrica, Dorin, Complex numbers from A to... Z. Translated and revised from the 2001 Romanian original. Birkh.user Boston, Inc., Boston, MA, 2006. xiv+321 pp. ISBN: 978-0-8176-4326-3; 0-8176-4326-5. MR 2168182
    An introductory text using complex coordinate methods with an eye toward mathematical Olympiad problems.
  • Web sites:
    Cut the Knot: Interactive Mathematics Miscellany and Puzzles, http://www.cut-the-knot.org/
    An excellent source for interactive geometry and, in particular, proofs of Morley's theorem.
  • http://www-personal.umich.edu/~pion/WebGeom/
    The author's personal site where more related material is to be posted.

Patrick D. F. Ion
Mathematical Reviews
pion at umich.edu email icon
[Do not use the discontinued ion@ams.org]