figured out how to represent clustering in mathematical notation