Dot Products Around the Octagon
Consider the regular octagon centered at the origin as shown above. Eight unit vectors are drawn from the center of the octagon to each of its vertices. For each pair of distinct unit vectors, the dot product is computed. What is the sum of all of these dot products?