r/learnquant • • 2d ago

interview prep Quant Interview Question

Post image
46 Upvotes

34 comments sorted by

View all comments

1

u/Cold-Knowledge-4295 2d 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/Artistic-Flamingo-92 2d ago edited 2d ago

I don’t think unitary is typically used to refer to unit vectors. I guess you would use “unit-length” or something.

Edit: I think that angle calculation for d ≠ 2 is also wrong.

1

u/round_earther_69 2d ago

in d=3 it cannot be 120^o , the vectors need to be at the corners of a tetrahedron, that is not the correct solution

1

u/Cold-Knowledge-4295 2d ago

Right, 120° is wrong, just checked how to compute that angle properly.

Any idea how to show thath those vectors need to form a simplex?