How large can a set of lines L in ℝn be if the angle between any pair of distinct lines is the same?
Clearly the answer is at least n. The coordinate axes are mutually perpendicular, so they’re equiangular with angle 90°.
In the plane, you can have three lines through the origin that intersect at 120°. Another way to think of these same lines is to imagine an equilateral triangle whose center is at the origin and draw lines through the center and each of the vertices of the triangle. This construction generalizes to ℝ³ and to higher dimensions: place a regular tetrahedron, or in general a regular (n+1)-simplex, at the origin and draw lines through the origin and each of the vertices.
If we’re interested in the maximum number of equiangular vertices rather than lines, this is as good as we can do. The maximum number of equiangular vectors in ℝn is n + 1, and such a set can be constructed as above by taking the vectors from the center to the vertices of the simplex.
But since we’re interest in lines and not just vectors, there are more possibilities in general.
Example in 3D
In three dimensions, we can have six equiangular lines by connecting the opposite vertices of a regular icosahedron. To see this, consider the icosahedron whose 12 vertices are
(0, ±1, ±φ)
(±1, ±φ, 0)
(±φ, 0, ±1)
Where φ is the golden ratio. Here the choice of whether ± stands for + or − is made independently for each component.
The six lines connecting opposite vertices run through v and −v where v ranges over
(0, +1, +φ)
(0, +1, −φ)
(1, +φ, 0)
(1, −φ, 0)
(φ, 0, +1)
(φ, 0, −1)
The cosine of the angle between any pair of these lines is either φ² − 1 or φ, but those are the same because of the equation defining the golden ratio.
It turns out the example above is optimal: you cannot have more than six equiangular lines in three dimensions.
Higher dimensions
Let N(d) be the maximum number of equiangular lines in ℝd. The value of N(d) is not known in general, though it is known to be bounded by d(d + 1)/2.
The first 16 values are given in OEIS A002853:
1, 3, 6, 6, 10, 16, 28, 28, 28, 28, 28, 28, 28, 28, 36, 40, 48
A paper posted this week gives the values for d = 18, 19, and 20.