An equation relating a ray of light before and after it refracts in a medium.