The Apparent change in the frequency of sound when the source, the
observer and the medium are in a relative motion is called Doppler
Effect.
Let S be source of sound moving with velocity vs towards stationary listener O.
Distance travelled in time time period, T=vs.T
Therefore apparent wavelength λ′=λ−vs.T
If frequency is ν then ,
λ=λ′−vsT
λ=λ′−vsν=v−vsν; v=νλ
If apparent frequency heard by listener is ν′
ν′=vλ′=νvv−vs
Thus apparent frequency is greater than the actual frequency as source moves towards listener.
Similarly if source moves away from listener.
ν′=vλ′=νvv+vs