How does light know which way to bend? It depends on whether the wave is speeding up or slowing down when it moves across the boundary, which depends on the optical density of the mediums. Please login or register to read the rest of this content.