Chapter 3: Applications of Differentiation
Section 3.8: Optimization
Example 3.8.13
Snell's law,
sinθ1sinθ2=v1v2
relates the speed of light in two adjacent media with the angles of incidence (θ1) and refraction (θ2). See Figure 3.8.13(a).
Derive Snell's law from Fermat's principle, namely, that light traverses the path for which travel time is least.
p1:=plottools:-arrow([0,3],[2,0],.05,.2,.1,color=red): p2 := plottools:-arrow([2,0],[3,-4],.05,.3,.1,color=green): p3:=plot([[2,3],[2,-4]],color=black): p4:=plots:-textplot({[1,.25,`x`],[2.5,-4.4,`L - x`]},font=[TIMES,ROMAN,10]): p5:=plot([[2,-4],[3,-4]],color=black,linestyle=2): p6:=plottools:-arrow([1.2,-5],[0,-5],.1,.3,.2,color=black): p7:=plottools:-arrow([1.8,-5],[3,-5],.1,.3,.2,color=black): p8:=plots:-textplot([1.5,-5,"L"],font=[TIMES,ITALIC,10]): p9:=plots:-textplot({[1.6,1.2,typeset(theta[1])],[2.2,-1.8,typeset(theta[2])]}): p10:=plots:-textplot({[.17,1.25,typeset(a)],[1.7,-2.5,typeset(b)]}): p11:=plots:-textplot({[.48,2.9,typeset(A)],[2.2,.2,typeset(C)],[3.3,-4,typeset(B)]}): plots:-display([p||(1..11)], scaling=constrained, tickmarks=[[4],[-6,0,4]],view=[0..3.5,default]);
Figure 3.8.13(a) Light passing from point A to point B
Solution
Analysis
Using the coordinate system sketched in Figure 3.8.13(a), the distance from A to C is d1=x2+a2, whereas the distance from C to B is d2=L−x2+b2. The travel times in the two media are therefore d1/v1 and d2/v2, so the total travel time is
Tx=x2+a2v1+L−x2+b2v2
It is tempting to write d1=x/sinθ1 and d2=L−x/sinθ2. Unfortunately, the angles θ1 and θ2 are themselves functions of x, so the total travel time expressed in terms of these angles can't be differentiated with respect to x.
Analytic Solution
Define the objective function Tx
Control-drag Tx=… Context Panel: Assign Function
Tx=x2+a2v1+L−x2+b2v2→assign as functionT
Rather than find critical numbers, set T′x to zero and interpret the resulting equation
Write T′x=0 and press the Enter key.
T′x=0
xa2+x2⁢v1+12⁢−2⁢L+2⁢xL−x2+b2⁢v2=0
Using d1=x/sinθ1 and d2=L−x/sinθ2, rewrite the equation T′x=0 as
sinθ1v1−sinθ2v2=0
from which Snell's law then follows.
Note that if d1/v1+d2/v2 is written as xv1 sinθ1+L−xv2 sinθ2 and differentiated with respect to x, the incorrect v2v1=sinθ1sinθ2 will result.
<< Previous Example Section 3.8 Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document