# 1.8: Differential Form of Snell's Law

- Page ID
- 8292

Snell’s law in the form \(n \sin \theta\) = constant is useful in calculating how a light ray is bent in travelling from one medium to another where there is a discrete change of refractive index. If there is a medium in which the refractive index is changing continuously, a differential form of Snell’s law may be useful. This is obtained simply by differentiation of \(n \sin \theta\) = constant, to obtain the differential form of Snell’s law

\[ \cot \theta d \theta = -\frac{dn}{n}.\label{eq:1.9.1} \]

If we express this in terms of the complementary angle \(\Psi\) (see Figure I.24), this equation takes the form

\[ \tan\Psi d \Psi = \frac{dn}{n}.\label{eq:1.9.2} \]

Let us see how this might be used. Let us suppose, for example, that we have some medium in which the refractive index diminishes linearly with the \(y\) coordinate according to

\[ n = n_0 - \frac{(n_0-1)y}{a}. \label{eq:1.9.3} \]

This form has \(n = n_0\) at \(y = 0\), decreasing linearly to \(n = 1\) at \(y = a\). We suppose that \(n = 1\) everywhere beyond \(y = a\). The equation is simplified if we write \(\mu\) for \(n −1\) and for \(\mu_0\) for \(n_0 −1\) , so that

\[ \mu = \mu_0 \left(1 - \frac{y}{a}\right),\label{eq:1.9.4} \]

which has \(\mu\) decreasing linearly from \(\mu_0\) to zero. Let us suppose that we direct a light ray upwards from the origin in a direction making an angle \(\alpha\) with the horizontal, and we wish to trace the ray through the medium as the refractive index continuously changes. See Figure I.24. With the refractive index changing as in Equation \(\ref{eq:1.9.4}\), Snell’s law takes the form

\[ tan \Psi d\Psi = -\frac{dy}{k-y}, \quad \text{where} \quad k = \frac{n_0a}{\mu_0}.\label{eq:1.9.5} \]

On integration, this becomes

\[ y = k\left(1- \frac{\cos\alpha}{\cos\Psi}\right) \quad \text{or} \quad \cos\Psi = \frac{k\cos\alpha}{k-y}.\label{eq:1.9.6} \]

This is the \((y, \Psi)\) equation to the path taken by the light. One can see from this equation that the path becomes horizontal when \(y = k(1 − \cos\alpha\). To find the \((x ,y)\) equation, we use the identities \( \cos\Psi = (1+\tan^2 \Psi)^{-1/2} \) and \( \tan\Psi =\frac{dy}{dx} \). Substitution of these into Equation \(\ref{eq:1.9.6}\) gives the differential equation to the path in \((x , y)\) coordinates:

\[ \left(\frac{dy}{dx}\right)^2 = \frac{(k-y)^2 -l^2}{l^2}, \quad \text{where} \quad l = k\cos\alpha. \label{eq:1.9.10} \]

This can be readily integrated to give the \((x ,y)\) equation to the path:

\[ x = l\ln\left[\frac{k(1+\sin\alpha)}{k-y\pm\sqrt{(k-y)^2-l^2}}\right]. \label{eq:1.9.11} \]

In Figure I.25 I have taken \(a = 1\) (in other words, I am expressing all distances in units of \(a\)), and I am taking \(n_0 = 1.5\) (hence \(k = 3\)), and I calculate the paths for \(\alpha\) = 15°, 30°, 45°, 60°, 75°.

Figure I.25 and Equation \(\ref{eq:1.9.11}\) show the paths of the light if the refractive index is varying from \(n_0\) at \(y = 0\), to 1 at \(y = a\) as described by Equation \(\ref{eq:1.9.3}\). But now suppose that the refractive index is varying with height according to

\[ n = \frac{n_0a}{(n_0-1)y+a}.\label{eq:1.9.12} \]

In this model, too, the refractive index goes from \(n_0\) at \(y = 0\), to 1 at \(y = a\), but the variation is not linear. In fact you might like to convince yourself that it is the speed of light that is increasing linearly from \(y = 0\) to \(y = a\). See if you can trace the paths of the light rays in this situation. I think they are arcs of circles, and you might be able to calculate the radii and the coordinates of the centres of the circles. Here’s another one:

\[ n = \sqrt{\frac{n^2_0a}{(n^2_0-1)y+a}}. \label{eq:1.9.13} \]

Here, too, the refractive index goes from \(n_0\) at \(y = 0\), to 1 at \(y = a\). You might like to try tracing the rays in this model. I think they may be arcs of cycloids. Of course these examples may seem to be very unlikely. Can you imagine a glass block of width \(a\), made of glass whose refractive index varies continuously from 1.5 at one edge to zero at the other? Not very likely, yet there is a situation that comes to mind in which there is a continuous variation of refractive index from some basal value \(n_0\) to zero. I am thinking of Earth’s atmosphere (or indeed the atmosphere of any planet). As light from a star travels through Earth’s atmosphere, it moves not in a straight line, but in a slight curve, so that it is deviated through a few arc minutes before it reaches the astronomer’s telescope. For a star low down near the horizon, the refraction amounts to almost half a degree. This has to be taken into account when astronomers are making precise positional measurements. And sound waves, passing through the atmosphere, are also subject to refraction via the differential form of Snell’s law. The speed of sound (and hence the refractive index) varies with the temperature of the atmosphere, and hence with height in the atmosphere. Among the many applications of this sort of theory is the path of sound waves from meteorites hurtling through the atmosphere. This is discussed in a paper published in *Meteoritics and Planetary Science* 34, 572-585 (1999).