Symmetries and quantum mechanics: Linear representations