light

My problem is about rays traveling through a GRIN medium, where the refractive index is maximum at the center and decreases quadratically outward. Intuitively, I would expect rays starting above or below the axis to refract upward (away from the axis), since that seems like the way to minimize their own optical path length (shorter distance, lower index region). But in fact, the rays bend inward …

Tilt a CD or DVD under a desk lamp and a band of color sweeps across its surface. The disc is not painted; it is a spiral of microscopic pits, packed so tightly that they act on light the way a finely ruled scientific instrument does. Each wavelength of white light leaves the surface at its own angle, and your eye sees the result fanned out as a rainbow. That is a diffraction grating at work. The…