 For spin 1/2 nuclei, the energy difference between the two spin states at a given magnetic field strength is proportional to their magnetic moment.However, even if all protons have the same magnetic moments, they do not give resonant signals at the same frequency values.This difference arises from the differing electronic environments of the nucleus of interest.