Real Madrid had too much quality for Espanyol in the Spanish League as they closed to within a point of Barcelona on the ladder.