The Magic of Continuously Varying Media
Imagine you are standing at the edge of a crystal-clear lake, looking down at a coin at the bottom. The light travels from the water to the air, bending at the interface. That is standard refraction. But what if the water wasn't uniform? What if it was perfectly pure at the top, but got progressively denser and saltier as you went deeper?
This is exactly the thrilling scenario we are exploring in this problem. We have a transparent slab where the refractive index n(z) is not a single constant number. Instead, it increases continuously with the depth z.
This might look terrifying at first glance. How do we apply Snell's Law when there isn't just one interface, but an infinite number of them? Let's take a breath and break it down.
The Master Equation
Generalized Snell's Law
When faced with a continuously varying medium, the best mental model is to slice the medium into an infinite number of incredibly thin, parallel layers. Each layer has a constant refractive index, but the index changes slightly from one layer to the next.
If we apply Snell's Law across the first boundary, we get:
n1sinθi=nslab,1sinθ1
Across the second boundary:
nslab,1sinθ1=nslab,2sinθ2
Do you see the beautiful pattern emerging? The product of the refractive index and the sine of the angle remains perfectly conserved throughout the entire journey!
n1sinθi=n(z)sinθ(z)=n2sinθf
This is the Generalized Snell's Law. It is a powerful invariant of the system. Because of this, we can completely ignore the messy, complicated path inside the slab if we only care about the final emergent angle. We can directly equate the initial state to the final state:
This immediately tells us that option (c) is absolutely correct, and option (b) is a trap!
Decoding the Lateral Displacement
Now, let's tackle the lateral displacement l. This is the total horizontal distance the ray shifts while traveling through the slab.
To find this, we need to zoom in on a microscopic section of the ray's path. In a tiny vertical drop dz, the ray moves horizontally by a tiny amount dx. From simple trigonometry, we can see that:
To find the total lateral displacement l, we must integrate this horizontal shift over the entire thickness of the slab, from z=0 to z=d:
The Final Verdict
Look closely at the integral for l. It depends on the angle θ at every depth z. And what determines θ? Our master equation!
This means θ is entirely dictated by the initial conditions (n1 and θi) and the refractive index profile of the slab n(z).
Notice what is completely missing from this equation? The refractive index of the bottom medium, n2! The ray's path inside the slab is already decided before it ever reaches the bottom interface. Therefore, the lateral displacement l depends heavily on n(z), but is completely independent of n2.
This brilliant realization confirms that options (a) and (d) are also correct.
Physics is often about finding what changes and what stays the same. By identifying the conserved quantity in this varying medium, we unlocked the entire problem. Keep this invariant principle in your toolkit; it is a favorite concept for JEE Advanced!