Snell's law

Light is refracted as it passes from one material to another. In the illustration below, the material on the left has an index of refraction $n_1$ (white background) and a material on the right has an index of refraction $n_2$ (gray background). A light ray (the red line) is moving to the right at an angle $\theta_1$ from the normal to the interface. At the interface, part of the wave is reflected (the light blue line) and part is refracted into the material on the right. The refracted ray makes an angle $\theta_2$ with the normal that is given by Snell's law,

$\large n_1\sin\theta_1 = n_2\sin\theta_2$.

Your browser does not support the canvas element.

$n_1=$

1

$n_2=$

1.5

$\theta_1=$

20 [deg]

$\theta_2=$

13.2 [deg]

If $n_1>n_2$ then there is no solution of Snell's law for $\theta_2$ when $n_1\sin\theta_1/n_2 >1$. In these cases, there is no refracted ray and all of the light is reflected. This is called total internal reflection. Refraction and total reflection is due to the wave interference. Below is a video illustrating total internal reflection.

This video was created with this MATLAB script.