the Doppler effect is the shift in frequency of a wave produced by a moving object with respect to the observer
The doppler effect applies for both objects moving away and towards an observer
Fo: frequency observed
Fs: frequency of source
V: velocity of wave
Vs: velocity of source
the + is used when the object is moving away from the observer
when the object is moving towards the observer the - is used
Redshift is the shift in wavelengths of light as observed from distant galaxies from earth
redshift indicates that these galaxies are moving away from earth
the Doppler effect cannot be used to calculate redshift because galaxies are moving away at such high speeds that revivalistic effects need to be considered