pragmatics vs syntactics

pragmatics

noun
  • The study of the use of language in a social context. 

syntactics

noun
  • syntax 

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