With the development of new energy vehicles, the NVH (Noise, Vibration, Harshness) performance of the permanent magnet synchronous motors (PMSM) for vehicles has attracted more and more attention. The rotor slotting optimization analysis is the critical issue in the NVH performance study of PMSM. In this paper, the theoretical formula of the PMSM radial electromagnetic force is presented. Based on which, the spatial order and frequency order characteristics of the radial force of a 6-pole 36-slot PMSM are analyzed. Firstly, electromagnetic simulation of the motor is carried out, and the specific force components, which may cause an NVH problem, is extracted. Secondly, the harmonics are calculated with a method of freezing the relative magnetic permeability. Thirdly, the motor is optimized by rotor slotting to reduce the amplitudes of these harmonics, and the effect on electromagnetic noise is analyzed in theory and simulation. Finally, the NVH test in original state and after rotor slotting state was performed in the semi-anechoic chamber. The accuracy of the theory and simulation was verified based on the comparison of the measured noise data. This paper provides a new NVH optimization idea, this method can quickly locate the fundamental problem location of electromagnetic NVH, provide a fast channel for electromagnetic NVH optimization from simulation to verification, and improve the optimization efficiency of NVH.