In order to follow the quickest path through a system, a ray changes direction as it travels from a medium of one refractive index to another medium that has a different refractive index.

Snell’s Law, which can be stated as

predicts how the ray will change direction as it passes from one medium into another, or as it is reflected from the interface between two media. The angles in this equation are referenced to a surface normal, as is illustrated below.

In the following figure, a ray is incident on an interface between two dissimilar media. A plane that includes the incident ray and a line drawn normal to the surface is called the plane of incidence. This plane also contains the reflected and *refracted* rays. A refracted ray is transmitted into the second medium and travels in a different direction than the incident ray. The angle that the incident, reflected, and refracted rays make with the surface normal are called the angles of incidence, $\theta_i$ , reflection, $\theta_r$, and refraction, $\theta_t$, respectively. The refractive index of medium 1 is $n_1$ and of medium 2 is $n_2$.

In the case of a reflected ray, $n_a$ = $n_b$ = $n_2$ = $n_1$,

$$ n_1 \sin(\theta_i)=n_2 \sin(\theta_r)$$ since $n_1=n_2$, then we get $$\sin(\theta_i)=\sin(\theta_r)$$

From this, it is easy to see that the angle of incidence and the angle of reflection are the same!

In the case of the transmitted, or refracted, ray,

$$ n_1 \sin(\theta_i)=n_2 \sin(\theta_t)$$

If $n_1 < n_2$, then the angle of refraction is always smaller than the angle of incidence. If $n_1 > n_2$, then the angle of refraction is larger than the angle of incidence…when there is an angle of refraction! Imagine the angle of incidence getting larger and larger for the case of $n_1 > n_2$. Eventually the refracted ray will make an angle of 90° with the surface normal. If the angle of incidence is increased beyond that angle, then refraction does not occur! All of the light incident on the interface is reflected back into the incident medium! The smallest angle of incidence at which total internal reflection occurs is called the critical angle, $\theta_c$. Using Snell’s law,$$ n_1 \sin(\theta_i)=n_2 \sin(90^o) = n_2$$

From this,

**$$\theta_c = \sin^{-1} \bigg{(}\frac{n_2}{n_1}\bigg{)}$$**

Many devices take advantage of the total internal reflection, including optical waveguides (like optical fiber). A waveguide is a length of transparent material that is surrounded by material that has a lower index of refraction. Rays that intersect the interface between the waveguide material and the surrounding material at angles equal to or larger than the critical angle are trapped in the waveguide and travel with no loss of light/energy inside the waveguide. A good example of this are fiber optic cables. Fiber optic cables are how many forms of communication are transmitted, including the internet! Inside a fiber optic cable, there is a waveguide material, as well as a special outer coating that allows for a refractive index such that there is total internal reflection.