On this page
Draw any four-sided shape, build a square outward on each side, and join the centres of opposite squares. However lopsided the shape, the two segments come out equal and at right angles. That is Van Aubel's theorem, and complex numbers prove it in a few lines.
What does Van Aubel's theorem say?
Van Aubel's theorem states that when squares are constructed outward on the four sides of a quadrilateral, the two segments joining the centres of opposite squares are equal in length and perpendicular (Wikipedia: Van Aubel's theorem). It is named after the Belgian mathematician Henri Van Aubel (1830–1906), who published it in 1878 in Nouvelle Correspondance Mathématique, volume 4, pages 40–44 (Wolfram MathWorld: van Aubel's theorem).
The Wikipedia article also notes that the result holds for re-entrant (non-convex) quadrilaterals, and when all four squares are built inward instead. What matters is consistency: every square sits on the same side as you walk round the shape.
How do you prove Van Aubel's theorem with complex numbers?
Put the vertices in the complex plane as a, b, c, d, going anticlockwise. Two facts do all the work.
Multiplying by i turns a vector 90° anticlockwise and keeps its length; multiplying by −i turns it 90° clockwise.
Walking anticlockwise round the shape, the outside is always on your right.
So the centre P of the square on AB is the midpoint of AB plus half of AB turned clockwise:
p = (a + b)/2 − i(b − a)/2 = [(1 + i)a + (1 − i)b]/2
The other three centres follow the same pattern:
q = [(1 + i)b + (1 − i)c]/2
r = [(1 + i)c + (1 − i)d]/2
s = [(1 + i)d + (1 − i)a]/2
Now subtract:
2(r − p) = (1 + i)c + (1 − i)d − (1 + i)a − (1 − i)b
2(s − q) = (1 + i)d + (1 − i)a − (1 + i)b − (1 − i)c
Multiply the second line by i, using i(1 + i) = −(1 − i) and i(1 − i) = 1 + i:
2i(s − q) = −(1 − i)d + (1 + i)a + (1 − i)b − (1 + i)c
That is exactly −2(r − p). So r − p = −i(s − q): the vector PR is the vector QS turned through 90° clockwise. Equal lengths and a right angle in one line, and the algebra never asked whether the shape was convex.
What does a worked example with coordinates look like?
Take A(0, 0), B(8, 0), C(10, 6), D(2, 8). The shoelace sum is positive, so the order is anticlockwise and the formula above puts every square outside. To turn a vector (x, y) through 90° clockwise, write (y, −x).
P on AB: midpoint (4, 0); half-side (4, 0) turned clockwise is (0, −4); so P = (4, −4).
Q on BC: midpoint (9, 3); half-side (1, 3) turned clockwise is (3, −1); so Q = (12, 2).
R on CD: midpoint (6, 7); half-side (−4, 1) turned clockwise is (1, 4); so R = (7, 11).
S on DA: midpoint (1, 4); half-side (−1, −4) turned clockwise is (−4, 1); so S = (−3, 5).
Then PR = (3, 15) and QS = (−15, 3). The dot product is 3 × (−15) + 15 × 3 = 0, so the segments are perpendicular, and both lengths are √(9 + 225) = √234. As a check on the proof, −i(−15 + 3i) = 3 + 15i, which is PR. The diagram at the top of this post is drawn from these exact coordinates.
How is Van Aubel's theorem related to Napoleon's theorem?
Napoleon's theorem is the triangle version of the same story: build equilateral triangles all outward (or all inward) on the sides of any triangle, and their centres form an equilateral triangle (Wikipedia: Napoleon's theorem). The attribution to Napoleon is doubtful. The same article records the result in a University of Dublin gold-medal examination in October 1820, while Napoleon died the following May.
The proofs rhyme. For squares the key move is a quarter turn, multiplication by i; for equilateral triangles it is a third of a turn, multiplication by a cube root of unity. Wikipedia's short proof of Napoleon's theorem uses two spiral similarities: rotations combined with scaling.
Both theorems are special cases of the Petr–Douglas–Neumann theorem, first published by Karel Petr in 1905: erect isosceles triangles with apex angle 2kπ/n on the sides of any n-sided polygon, repeat on the new polygon with each k from 1 to n − 2 used once, and you always end with a regular polygon. The triangle case is Napoleon's theorem and the quadrilateral case is Van Aubel's (Wikipedia: Petr–Douglas–Neumann theorem).
How do you practise this so it sticks?
Redo the proof with inward squares: replace −i by i.
Pick four integer points of your own, find P, Q, R, S, and check the dot product is zero.
Try the Napoleon version with ω = (−1 + i√3)/2 before looking it up.
Most slips are a sign error in the turn. The Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer, so you can see where your rotation went the wrong way. To rebuild complex numbers as rotations from the ground up, the Fermi Concept Library gives every mathematics concept its own lesson and its place in the map.



