van Aubel's Theorem states that if you are given a quadrilateral and construct squares on each side, the line segments connecting the centers of these squares are perpendicular and have equal lengths.
Proof
To prove this, we take a similar approach as we did for Napoleon's Theorem.
Let j be a 45∘ rotation in the complex plane (j=eπi/2). Since ABFG, BCHG, CDJI, and DALK are squares, we note that if we map B about the spiral symmetry S(A,22,45∘), we get W. Thus, we can apply similar transformations for the rest of the vertices to get:
w=22(b−a)eπi/4+ax=22(c−b)eπi/4+by=22(d−c)eπi/4+cz=22(a−d)eπi/4+d
Subtracting these equations, we get:
w−y=22(b−a)eπi/4+a−22(d−c)eπi/4−c=2(1+i)(b−d)+2(1−i)(a−c)x−z=22(c−b)eπi/4+b−22(a−d)eπi/4−d=2(1+i)(c−a)+2(1−i)(b−d)
It's not immediately clear what we can do with this. However, if we note that w−y=i(x−z), then WY=XZ and WY⊥XZ, so we are done. □