This is more out of curiosity than anything else. I actually want to know how you would prove this, so don't just write an answer. thanks!
Let's say I have two vectors of length n which are permutations of the number 1 to n. For example, u = [1 3 2] and v = [3 1 2].
Then I want to know which such vector pair would maximize
1) the euclidean distance
2) the cosine distance
For the euclidean distance, a heuristic approach would make it seem that reversing the vectors would lead to the greatest distance (eg [1 2 3] and [3 2 1]). I'm not sure how to prove it yet but I haven't put much thought into this.
I'm also not sure that same strategy would work with dot product, although I'm guessing it might.
Proof please?
Tags: