Roger Federer emerged triumphant from an historic first meeting with Serena Williams in the Hopman Cup on Tuesday.