thereby vs thereof

thereby

adv
  • By it; by that; by that means, or as a consequence of that. 

thereof

adv
  • Of this, that, or it. 

  • From that circumstance or origin; therefrom, thence. 

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