How do astronomers detect this motion?

This question does not have any additional details.

1 answer

The shift in spectrum lines of the galaxies