In: Physics
Doppler effect in sound is related to the change in frequency of sound as observed by a moving observer with respect to the source of sound. It is observed that when either the observer or the source of sound is moving relative to each other, the emitted frequency of sound by the source and the detected frequency of sound differs. These two frequencies are related as,

where
f' is observed frequency by observer
f is original frequency by source
v is speed of sound in air
is speed of detector relative to air
is speed of source relative to air
It is observed that when source or observer approach each other, the observed frequency is greater than the original frequency. When source or observer move away from each other, the observed frequency is lesser than the original frequency. Thus the sign in the formula is chosen accordingly.
Doppler effect is also observed in light source and is studied in astronomy.