A ray of light travelling from a rarer medium to a denser medium

A ray of light travelling from a rarer medium to a denser medium

slows down and bends away from the normal.
slows down and bends towards the normal.
speeds up and bends away from the normal.
speeds up and bends towards the normal.
This question was previously asked in
UPSC CDS-2 – 2021
When a ray of light travels from a rarer medium (like air) to a denser medium (like glass or water), its speed decreases. Due to the change in speed, the light ray bends towards the normal to the surface at the point of incidence.
Refraction is the bending of light as it passes from one medium to another.
Conversely, when light travels from a denser medium to a rarer medium, it speeds up and bends away from the normal. This phenomenon is governed by Snell’s Law.