r/learnquant • • 5h ago

interview prep Quant Interview Question

Post image
20 Upvotes

20 comments sorted by

View all comments

1

u/Ancient_Eggplant_123 4h ago edited 4h 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/Equal_Veterinarian22 3h ago

I like your approach, but it does not give c=0

1

u/Deto 39m ago

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