Fig. 40. In reality, only one ray from A travels along the shortest path to B. The other rays follow different directions.