egotistic vs smug

egotistic

adj
  • Egotistical. 

smug

adj
  • Showing smugness; showing self-complacency, self-satisfaction. 

  • Irritatingly pleased with oneself; offensively self-complacent, self-satisfied. 

How often have the words egotistic and smug occurred in a corpus of books? (source: Google Ngram Viewer )