Sub topic 7
Apparent depth and lateral shift in a slab
This chapter assumes you know Snell's law, the definition of refractive index, and the small-angle approximation (sin θ ≈ tan θ ≈ θ for small θ in radians). Both results here come from Snell's law applied to rays leaving a denser medium or crossing a parallel-sided slab.
Apparent depth
An object sits at real depth d in a medium of refractive index n, for example a coin under water. You view it from the air above, almost directly overhead. The object looks closer to the surface than it really is.
Two rays from the coin reach your eye. One travels straight up and is not bent. The other leaves at a small angle i in the denser medium and bends away from the normal as it enters air, at angle r. Your eye traces the bent ray back in a straight line. It meets the vertical ray at a point above the coin, and that point is the image.
For small angles, the horizontal distance x from the vertical line is the same for both descriptions:
- Real depth: tan i = x/d, so i ≈ x/d.
- Apparent depth d′: tan r = x/d′, so r ≈ x/d′.
Snell's law gives n sin i = sin r, which becomes n·i ≈ r for small angles. So n·x/d = x/d′, and
apparent depth d′ = d / n
More generally, if the object is in a medium of index n₁ and the observer is in a medium of index n₂, then d′ = d · (n₂ / n₁).
A quick calculation
def apparent_depth(real_depth, n):
# Observer in air, looking almost vertically down into a medium of index n
return real_depth / n
# A coin 12 cm under water (n = 4/3)
print(round(apparent_depth(12.0, 4 / 3), 2)) # 9.0The shift is d − d′ = d(1 − 1/n). For the 12 cm example, the coin appears raised by 3 cm.
For a slab of thickness t and index n viewed from above, the apparent upward shift of an object beneath it is t(1 − 1/n). This does not depend on where the slab sits between you and the object.
Lateral shift in a slab
Now send a ray obliquely through a parallel-sided glass slab of thickness t. It enters at angle of incidence i and refracts to angle r. At the second face the ray bends back, and it leaves at angle i again. The emergent ray is therefore parallel to the incident ray, but displaced sideways.
The lateral shift is the perpendicular distance between the two rays:
shift = t sin(i − r) / cos r
The shift grows with thickness and with the angle of incidence. At normal incidence (i = 0) it is zero.
import math
def lateral_shift(t, n, i_deg):
i = math.radians(i_deg)
r = math.asin(math.sin(i) / n)
return t * math.sin(i - r) / math.cos(r)
print(round(lateral_shift(6.0, 1.5, 45.0), 2)) # 2.2Common errors
- Using d′ = nd. Apparent depth is smaller than real depth when you look into a denser medium.
- Applying d/n for steeply inclined viewing. The formula holds only for near-normal viewing.
- Confusing the two shifts. A vertical shift t(1 − 1/n) applies to an image seen along the normal. A lateral shift applies to an oblique ray.
Exercise
A fish is 18 cm below the surface of water (n = 4/3). How deep does it appear to an observer directly above? A glass slab of thickness 6 cm and n = 1.5 is then laid on a printed page. By how much does the print appear to rise when seen from directly above?
Show answer
Apparent depth = 18 / (4/3) = 13.5 cm. The slab raises the print by t(1 − 1/n) = 6 × (1 − 1/1.5) = 6 × (1/3) = 2 cm.