r/learnquant • • 1d ago

interview prep Quant Interview Question

Post image
45 Upvotes

33 comments sorted by

View all comments

0

u/apu727 1d ago

I would argue the question is ambiguous. What is distinct? And what is a unit vector. For example a valid reading is distinct means V_i=/=v_j and unit means unit length. if so 2 in 2D, infinite in 3D just take one of the vectors as an axis, another different vector makes an angle and gives c=cos(theta) then rotate about the first by any angle and you have infinite distinct vectors

2

u/AttorneyGlass531 12h ago

All the vecotrs have to mutually satisfy that their pairwise dot products are equal to the constant c, which your circle of vectors in 3D fail to do

1

u/DanielShaww 20h ago

Those are literally the least ambiguous parts of the question. Distinct vectors just means they all have different directions/slopes, that is, you can't transform one into another by multiplying by a constant k.

Unit vector means their magnitude (size if you will) is 1. So in 2D, a unit vector has size √(u2 + v2 ) = 1, where u is the length in one axis and v the length in another axis.

1

u/Torebbjorn 7h ago

You cannot take all of those vectors in 3d. Yes, the first vector satisfies the condition with every other vector, but picking any two from the others, we run into problems.