Just for clarification...(adsbygoogle = window.adsbygoogle || []).push({});

If I take the cosine similarity of two vectors and i get an answer of 1, then bother vectors are equal and the same.

If I do the same again with another two vectors and get an answer of 0, then the vectors are at an angle of 90 degrees to each other and dissimilar.

If I do the same again with another two vectors and get an answer of -1, then the vectors are at an angle of 180 degrees to each other and are even more dissimilar than they were at 90 degree or should I always take the absolute value of the answer. The equation I'm referring to can be found here.

http://upload.wikimedia.org/math/f/3/6/f369863aa2814d6e283f859986a1574d.png

Thanks!

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Cosine Similarity

**Physics Forums | Science Articles, Homework Help, Discussion**