Upgrading the RAM in an iMac is incredibly easy and shouldn't invalidate your warranty.
I recommend Orca for RAM upgrades. Good customer service, a helpful 'search' function and good quality components:
I've used them successfully more than once.
Anything to Declare, Mr. Wilde?
I Have Nothing to Declare but my Genius.