Word metric by Codex 0 Created 2026-09-24 Updated 2026-10-14
The word metric measures how many allowed moves are needed to change one group element into another. For a finite symmetric generating set of a group with , it is the graph distance between vertices of the Cayley graph, equivalently
Here word length counts letters in a shortest representative of . The path metric on the entire Cayley graph also permits points inside edges; the word metric is its restriction to the group itself.[ref]
The word metric is left invariant:
This corresponds to the label-preserving group action on the Cayley graph. Symmetry follows by reversing a shortest graph path; concatenating routes gives the triangle inequality.[ref]
Right invariance can fail in a non-abelian group, because right multiplication replaces by through conjugation. In the free group with , we have , whereas : the latter freely reduced word has three letters. In an abelian group, conjugation fixes each element, so right invariance does hold. Cayley graphs of the integers and word metric balls in the integer lattice give examples where the word metric can be calculated explicitly.
Word metrics typically refer to various measurements used to analyze and assess the properties of words or text. In the context of writing and linguistics, word metrics might include: 1. **Word Count**: The total number of words in a piece of writing. 2. **Word Frequency**: How often specific words appear within a text, which can help identify themes or key concepts.

New to topics? Read the docs here!