ameliorate vs impair

ameliorate

verb
  • To make better, or improve, something perceived to be in a negative condition. 

  • To become better; improve. 

impair

verb
  • To weaken; to affect negatively; to have a diminishing effect on. 

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