remain vs replace

remain

verb
  • To stay after others or other parts have been removed or otherwise disappeared. 

  • To await; to be left to. 

  • To continue in a state of being. 

  • To continue unchanged in place, form, or condition, or undiminished in quantity; to abide; to stay; to endure; to last. 

  • To be left after a number or quantity has been subtracted or cut off; to be left as not included or comprised. 

noun
  • That which is left; relic; remainder. 

  • That which is left of a human being after the life is gone; relics; a dead body. 

  • Posthumous works or productions, especially literary works. 

replace

verb
  • To restore to a former place, position, condition, etc.; to put back 

  • To place again. 

  • To put in a new or different place. 

  • To take over the position or role from. 

  • To take the place of; to be used instead of 

  • To refund; to repay; to pay back 

  • To supply or substitute an equivalent for 

  • To demolish (a building) and build an updated form of that building in its place. 

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