derive vs swap out

derive

verb
  • To obtain or receive (something) from something else. 

  • To deduce (a conclusion) by reasoning. 

  • To originate or stem (from). 

  • To create (a compound) from another by means of a reaction. 

  • To find the derivation of (a word or phrase). 

  • To turn the course of (water, etc.); to divert and distribute into subordinate channels. 

swap out

verb
  • To exchange (something) for (something else). (usually followed by with or for) 

  • To transfer (memory contents) into a swap file. 

  • To exchange (something or someone) for an unused (or less-used) equivalent. 

noun
  • Anything that is swapped out for another; an exchange. 

  • A pre-prepared food item used in place of an unfinished food item in order to cut down the overall preparation time during filming. 

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