This question already has an answer here:
I am adding more RAM memory to my 2011 21-inch iMac. It currently has two 2 GB memory cards. Can I leave those two cards in place and simply add two new 4 GB memory cards, or do I need to remove the existing cards? Is it OK to mix 2 GB and 4 GB memory cards, provided I stay under Apple's 16 GB limit?