Similar Items: Mathematical Analysis