If a stationary object emits light at a certain wavelength in all directions,
you will measure the same wavelength
This is known as the Doppler Effect.
When the source of light is moving away from the observer the wavelength of the emitted light will appear to increase. We call this a “redshift”.
When the source of light is moving toward the observer the wavelength of the emitted light will appear to decrease. We call this a “blueshift”.
The Doppler Shift can be used to calculate an objects velocity. Here is how:
where
The faster the source is moving, the larger the amount of shift – either blueshift or redshift.
Some real life examples of Doppler Effect are the use of Doppler Radar for weather purposes, airline or submarine radar system, radar gun used by Law Enforcement Officers, etc.
In astronomy, we use the patterns of absorption lines in stars to measure the direction and amount of the shift seen in the spectrum. So, the absorption lines have two uses: