Can a station window shift a ray of light sideways without changing its direction?
Look through a glass pane at a railway station from an angle. The pane can shift a ray sideways, even though the ray leaves in the same direction it came in. How can two bends leave the direction unchanged?
At a glass surface, start by drawing a line at right angles to the surface where the ray hits. That's the normal. Light slows down as it passes from air into glass. If it strikes at a slant to the normal, it changes direction too. This bending is called refraction.
Follow the ray from the upper left. It bends towards the first normal as it enters glass. At the second face it bends away from the normal as it enters air. With parallel faces and air on both sides, it leaves parallel to the original path. The sideways gap is lateral displacement.
You send a ray into a rectangular glass slab at a slant, with air on both sides. Compare the ray that leaves the slab with the original path extended in a straight line. Which option describes it? Pick one.
Trace the slab's outline. Mark an incident line and place two vertical pins on it. From the far face, line up a third vertical pin's base with both pin images. Line up a fourth with all three. Move your eye sideways to check that the bases and images don't shift relative to one another.
Mark the pin holes and lift the slab. Join and extend each pin pair's line to its face. Join entry to exit. Draw both normals. Use a protractor: measure incidence and refraction at entry and emergence at exit. Measuring from a face gives the wrong angle because the face is perpendicular to the normal.
The incident ray, refracted ray and normal at incidence lie in one plane. At a slant, sine of incidence over sine of refraction equals the second medium's index over the first's. That's Snell's law. Refractive index is light's speed in vacuum divided by its speed in the medium.
Take air of index one, glass one point five, and incidence thirty degrees. At entry, Snell's law gives sine of r equal to one third. The parallel normals make r the incidence angle at exit. Apply Snell's law again: sine of e is one half, so e is thirty degrees.
Now send a ray in at forty-five degrees. Inside the slab, it makes about twenty-eight degrees with the first normal. The faces are still parallel and there's air on both sides. What angle does the emerging ray make with the second normal? Pick an answer.
Repeat the trace at different incident angles and record incidence, refraction and emergence. In these sample readings, thirty degrees at entry gives twenty-nine at exit. If asked why the angles are approximately equal, explain why they match for an ideal slab and how pin alignment or protractor readings can cause a small difference.