certainly vs doubtfully

certainly

adv
  • In a way which is certain; with certainty. 

  • An emphatic affirmative answer; of course. 

  • Without doubt, surely. 

doubtfully

adv
  • In a doubtful manner, in context of doubt or ambiguity, questionably. 

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