optimism vs pessimism

optimism

noun
  • the doctrine that this world is the best of all possible worlds 

  • a tendency to expect the best, or at least, a favourable outcome 

  • the belief that good will eventually triumph over evil 

pessimism

noun
  • A general belief that bad things will happen. 

  • The condition of being pessimal. 

  • The doctrine that this world is the worst of all possible worlds. 

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