The Doppler effect, name after Christian Doppler, is the change in frequency and wavelength of a wave for an observer moving relative to the source of the waves. For waves that propagate in a medium, such as sound waves, the velocity of the observer and of the source are relative to the medium in which the waves are transmitted. The total Doppler effect may therefore result from motion of the source, motion of the observer, or motion of the medium. Each of these effects is analysed separately. For waves which do not require a medium, such as light or gravity in special relativity, only the relative difference in velocity between the observer and the source needs to be considered.