discard vs give up

discard

verb
  • To throw away, to reject. 

  • To make a discard; to throw out a card. 

  • To dismiss from employment, confidence, or favour; to discharge. 

noun
  • A temporary variable used to receive a value of no importance and unable to be read later. 

  • Anything discarded. 

  • A discarded playing card in a card game. 

give up

verb
  • To abandon (someone or something) 

  • To admit defeat, capitulate 

  • Become fully taken over by a certain quality, activity, trait, &c. 

  • To relinquish (something) 

  • To execute a trade on behalf of another broker. 

  • To stop or quit (an activity, etc.) 

  • To surrender (someone or something) 

  • To lose hope concerning (someone or something) 

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