How can we tell if the universe is expanding?
Astronomers study the spectrum of distant galaxies and find the red shift.
The Doppler effect is used to find the red shift..When a galaxy is moving away from us the light waves get elongated The far way galaxies are moving faster than near ones. obeying Hubble law..
perfect astronomy.com. picture.