Optics/Fermat's Principle

From Wikibooks, the open-content textbooks collection

< Optics
Jump to: navigation, search

[edit] Derivation for Law of Reflection

The derivation of Law of Reflection using Fermat's principle is straightforward. The Law of Reflection can be derived using elementary calculus and trigonometry. The generalization of the Law of Reflection is Snell's law, which is derived bellow using the same principle.

The medium that light travels through doesn't change. In order to minimize the time for light travel between to points, we should minimize the path taken.

θi = θr.
the angle of incidence equals the angle of reflection

1. Total path length of the light is given by

L=d_1+d_2\,

2. Using Pythagorean theorem from Euclidean Geometry we see that

d_1=\sqrt{x^2 + a^2}\, and d_2=\sqrt{(l-x)^2 + b^2}\,

3. When we substitute both values of d1 and d2 for above, we get

L=\sqrt{x^2 + a^2} + \sqrt{(l-x)^2 + b^2}

4. In order to minimize the path traveled by light, we take the first derivative of L with respect to x.

\frac{dL}{dx}=\frac{x}{\sqrt{x^2 + a^2}} + \frac{-(l-x)}{\sqrt{(l-x)^2 + b^2}}=0

5. Set both sides equal to each other.

\frac{x}{\sqrt{x^2 + a^2}} = \frac{(l-x)}{\sqrt{(l-x)^2 + b^2}}

6. We can now tell that the left side is nothing but sinθi and the right side sinθr means

\sin\theta_i=\sin\theta_r \!\

7. Taking the inverse sine of both sides we see that the angle of incidense equals the angle of reflection

\theta_i=\theta_r \!\

[edit] Derivation for Snell's Law

The derivation of Snell's Law using Fermat's Priciple is straightforward. Snell's Law can be derived using elementary calculus and trigonometry. Snell's Law is the generalization of the above in that it does not require the medium to be the same everywhere.

Snell's law relates n1, θ1 and n2, θ2.

To mark the speed of light in different media refractive indices named n1 and n2 are used.

v_1=\frac{c}{n_1} \!\
v_2=\frac{c}{n_2}

Here c is the speed of light in the vaccuum and n_1,n_2 \ge 1 \, because all materials slow down light as it travels through them.

1. Time for the trip equals distance traveled divided by the speed.

t=\frac{d_1}{v_1}+\frac{d_2}{v_2}

2. Using the Pythagorean theorem from Euclidean Geometry we see that

\frac{d_1}{v_1}=\frac{\sqrt{x^2 + a^2}}{v_1}\, and \frac{d_2}{v_2}=\frac{\sqrt{b^2 + (l-x)^2}}{v_2}\,

3. Substituting this result into equation (1) we get

t=\frac{\sqrt{x^2 + a^2}}{v_1} + \frac{\sqrt{b^2 + (l-x)^2}}{v_2}

4. We take the spatial derivative with respect to time. This may seem strange at first but if we then take the reciprocal of \frac{dt}{dx},we end up with \frac{dx}{dt} which is what we are looking for.

\frac{dt}{dx}=\frac{x}{v_1\sqrt{x^2 + a^2}} + \frac{-(l-x)}{v_2\sqrt{(l-x)^2 + b^2}}=0

5. After careful examination the above equation we see that it is nothing but

\frac{dt}{dx}=\frac{\sin\theta_1}{v_1} - \frac{\sin\theta_2}{v_2}=0

6. Taking the reciprocal of both sides we get

\frac{dx}{dt}=\frac{v_1}{\sin\theta_1} - \frac{v_2}{\sin\theta_2}=0

7. Setting both sides equal to each other we get

\frac{v_1}{\sin\theta_1}=\frac{v_2}{\sin\theta_2}

8. Multiplying both sides by sinθ1sinθ2 we get

v_1\sin\theta_2=v_2\sin\theta_1 \!\

9. Substituting \frac{c}{n_1} for v1 and \frac{c}{n_2} for v2 we get

\frac{c}{n_1}\sin\theta_2=\frac{c}{n_2}\sin\theta_1

10. Simplifying both sides we get our final result

n_1\sin\theta_1=n_2\sin\theta_2 \!\