invalid vs legal

invalid

adj
  • Not valid; not true, correct, acceptable or appropriate. 

  • Suffering from disability or illness. 

  • Intended for use by an invalid. 

verb
  • To make invalid or affect with disease. 

  • To exempt from (often military) duty because of injury or ill health. 

legal

noun
  • Paper in sheets 8½ in × 14 in (215.9 mm × 355.6 mm). 

  • The legal department of a company. 

  • Somebody who immigrated lawfully. 

  • A spy who is attached to, and ostensibly employed by, an embassy, military outpost, etc. 

adj
  • Relating to the law or to lawyers. 

  • Having its basis in the law. 

  • Being allowed or prescribed by law. 

  • Above the age of consent or the legal drinking age. 

  • Following the rules or syntax of a system, such as a game or a programming language. 

  • (of paper or document layouts) Measuring 8½ in × 14 in (215.9 mm × 355.6 mm) (also legal-size). 

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