What is the meaning of the word "compulsion"?

Definitions:

  1. an irrational motive for performing trivial or repetitive actions, even against your will copy to clipboard noun
    • They had a compulsion to wash their hands after touching anything. copy to clipboard
  2. an urge to do or say something that might be better left undone or unsaid copy to clipboard noun
    • I felt a compulsion to babble on about the accident. copy to clipboard
  3. using force to cause something to occur copy to clipboard noun
    • though pressed into rugby under compulsion I began to enjoy the game copy to clipboard

Synonyms: