obligatory vs optionally

obligatory

adj
  • Requiring a matter or obligation. 

  • Imposing obligation, legally, morally, or otherwise; binding; mandatory. 

optionally

adv
  • In an optional manner. Not mandatorily. 

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