First, ||vj-vi|| = 2 - 2c so it is constant. For d = 2 there are no more than 3 points that satisfy this condition creating an equilateral triangle. Let's place the center points at (0,0). Going from 2d to 3d we take a point along the new axis + lower the triangle so that the previous condition is satisfied. So each time perhaps we take the unit vector that is parallel to the new axis (it can be shown that it satisfies the previous condition of distance between unit vectors) while lowering the construct we created in the previous vector space, and we get N=d+1 and c=0
This is interesting. Like the other person said, you don't get c=0, but you do get a constant c (so it satisfies the problem statement). I had assumed the answer was N=d and c=0, but with this you get N=d+1 so this is probably the correct answer. The distance between points doesn't change as the dimensionality increases so c is constant?
Some quick triangle fiddling gives the distance between points to be sqrt(3). So if 2-2c = sqrt(3), we have c = 1-sqrt(3)/2
Since vi are unitary, viT vj = cos(xij) where xij is the angle between vi and vj, so the question is how many vectors can you fit so that they al hold the same angle amongst them.
That is N=3 vectors at 120° each in d=2, N=4 at 120° again in d=3 and in general d+1 vectors at 120° for each d (these are segments from the vertices tonthe barycentrr of an n-simplex).
Note that $v^T u$ is the dot product $v \cdot u$, which is symmetric.
We first construct an example where $N=d+1$ for any $d$, and then show that $N \leq d+1$. To construct the example, take an orthonormalisation basis $e_1, \ldots, e_{N+1}$ in $\mathbb R^{N+1}$. As an orthonormal basis, they satisfy $e_i \cdot e_i=1$ and $e_i \cdot e_j=0$. Moreover, if $v=\sum_{j=1}^N e_j$, then for each $j$, $v \cdot e_j = 1$. Therefore the projections of each $e_i$ onto the hyperplane orthogonal to $v$ have constant length $a$ and dot product $b$. If we scale them all by $a^{-1}$, then they will have constant dot product $a^{-2}b$. Thus we $N+1$ unit vectors with constant dot product in the hyperplane, which is isomorphic to $\mathbb R^d$.
Claim: $N \leq d+1$.
Proof by induction on $d$.
Base case $d=1$. There are only two unit vectors in $\mathbb R^1$, $(-1) and (1)$, so $N \leq 2$. Induction step suppose the claim holds for some $d \geq 1$.
Let $v_1, \ldots v_{N}$ be a set of unit vectors in $\mathbb R^{d+1}$ with constant dot product $c$. Let $J \subset \{ 1, \ldots, N+1\}$ be a subset with $\lvert J \rvert=N$, and let $v_J = \sum_{j \in J} v_j$. Then for any $k \in J$, we have
Therefore the projections of each $v_k$, $k \in J$ onto the plane perpendicular to $v_J$ form a set of vectors with constant length and constant dot product. By scaling as before, we obtain a set of $N-1$ unit vectors in $\mathbb R^d$ with constant dot product. By the induction hypothesis, $N-1 < d+1$. Therefore $N < (d+1) + 1$. Therefore the claim holds for $d+1$.
1
u/Crafty-Sell7325 4h ago
Um isn't there no upper bound to N?
Like you can just use the canonical orthonormal basis in Rn
You get ei = 1 at position i and 0 elsewhere.
eiTej= 0 due to being orthonormal for all i not equal to j
Then eiTei = 1 due to being orthonormal != 0.
So c= 0 ig? And N=Infinity?
1
u/Due-Cardiologist-802 4h ago
N=d, c=0.
1
u/brojablen 4h ago
N = 3 and c = sqrt(3)/2
1
u/Ancient_Eggplant_123 4h ago edited 3h ago
First, ||vj-vi|| = 2 - 2c so it is constant. For d = 2 there are no more than 3 points that satisfy this condition creating an equilateral triangle. Let's place the center points at (0,0). Going from 2d to 3d we take a point along the new axis + lower the triangle so that the previous condition is satisfied. So each time perhaps we take the unit vector that is parallel to the new axis (it can be shown that it satisfies the previous condition of distance between unit vectors) while lowering the construct we created in the previous vector space, and we get N=d+1 and c=0
1
u/Cold-Knowledge-4295 4h ago
Since vi are unitary, viT vj = cos(xij) where xij is the angle between vi and vj, so the question is how many vectors can you fit so that they al hold the same angle amongst them.
That is N=3 vectors at 120° each in d=2, N=4 at 120° again in d=3 and in general d+1 vectors at 120° for each d (these are segments from the vertices tonthe barycentrr of an n-simplex).
Thus, c=cos120=-1/2?
1
u/Fearless_Screen_4288 3h ago
Nd coordinates. N2 distinct conditions. So N2 <= Nd i.e N<=d.
1
u/FitCardiologist2341 2h ago
Consider the matrix X whose columns are the v_i. It is a d x N matrix.
We ask that the N x N Gram matrix G = t(X) * X have ones on its diagonal and c everywhere else.
But rk(G) <= d.
Assume N > d. So (c-1)/c has to be an eigenvalue of the matrix full of ones. The only nonzero eigenvalue is N, so c = -1/(N-1).
Check that N = d+1, and c = -1/d.
1
u/PassAppropriate5891 1h ago
I think you can do d + 1 using a simplex as the angles and hence dot products are all the same.
Orthogonal Basis yields d
Unsure if sth better exists
1
u/You-Educational 1h ago
Note that $v^T u$ is the dot product $v \cdot u$, which is symmetric.
We first construct an example where $N=d+1$ for any $d$, and then show that $N \leq d+1$. To construct the example, take an orthonormalisation basis $e_1, \ldots, e_{N+1}$ in $\mathbb R^{N+1}$. As an orthonormal basis, they satisfy $e_i \cdot e_i=1$ and $e_i \cdot e_j=0$. Moreover, if $v=\sum_{j=1}^N e_j$, then for each $j$, $v \cdot e_j = 1$. Therefore the projections of each $e_i$ onto the hyperplane orthogonal to $v$ have constant length $a$ and dot product $b$. If we scale them all by $a^{-1}$, then they will have constant dot product $a^{-2}b$. Thus we $N+1$ unit vectors with constant dot product in the hyperplane, which is isomorphic to $\mathbb R^d$.
Claim: $N \leq d+1$.
Proof by induction on $d$.
Base case $d=1$. There are only two unit vectors in $\mathbb R^1$, $(-1) and (1)$, so $N \leq 2$.
Induction step suppose the claim holds for some $d \geq 1$.
Let $v_1, \ldots v_{N}$ be a set of unit vectors in $\mathbb R^{d+1}$ with constant dot product $c$. Let $J \subset \{ 1, \ldots, N+1\}$ be a subset with $\lvert J \rvert=N$, and let $v_J = \sum_{j \in J} v_j$. Then for any $k \in J$, we have
$$ v_k \cdot v_J = v_k \cdot v_k + \sum_{j \in J\setminus \{ j \}} v_k \cdot v_j = 1 + (N-1)c.$$
Therefore the projections of each $v_k$, $k \in J$ onto the plane perpendicular to $v_J$ form a set of vectors with constant length and constant dot product. By scaling as before, we obtain a set of $N-1$ unit vectors in $\mathbb R^d$ with constant dot product. By the induction hypothesis, $N-1 < d+1$. Therefore $N < (d+1) + 1$. Therefore the claim holds for $d+1$.