Introduction to Linear Algebra, Gilbert Strang, 2016 (Wellesley-Cambridge Press) - Provides a foundational treatment of vectors, dot products, norms, and geometric distances in vector spaces.
Introduction to Information Retrieval, Christopher D. Manning, Prabhakar Raghavan, and Hinrich Schütze, 2008 (Cambridge University Press) - Explains vector space models and the application of Cosine Similarity for measuring document similarity in information retrieval.