Classical Optics / Lagrange multipliers

Click For Summary

Homework Help Overview

The problem involves a ray of light entering a glass block with a specific refractive index and thickness, where the goal is to determine the angle of incidence that maximizes the perpendicular distance between two rays: one reflecting off the surface and the other reflecting off the bottom of the block before refracting back into the atmosphere. The context is rooted in classical optics and involves concepts such as Snell's law and Lagrange multipliers.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the use of Lagrange multipliers as a potential method for maximizing the distance between the rays. Some express uncertainty about the correctness of the derived equations and suggest alternative geometric approaches. Questions arise regarding the physical reasonableness of the results and the necessity of the Lagrange method.

Discussion Status

The discussion is active, with participants providing insights and corrections to each other's reasoning. Some have offered alternative methods for deriving the maximum distance, while others have pointed out potential errors in the original equations. There is no explicit consensus on the best approach, but multiple lines of reasoning are being explored.

Contextual Notes

Participants note concerns about the use of radians versus degrees in their calculations, highlighting the importance of consistent angle measurement in mathematical expressions.

eutectic
Messages
5
Reaction score
0

Homework Statement



A ray of light enters a glass block of refractive index n and thickness d with angle of incidence θ1. Part of the ray refracts at some angle θ2 such that Snell's law is obeyed, and the rest undergoes specular reflection. The refracted ray reflects off the bottom of the block and then refracts back out. How should θ1 be chosen to maximize the perpendicular distance x between the ray which reflects off the surface, and the ray which reflects off the bottom of the block and refracts back into the atmosphere?

This problem seems a natural fit for Lagrange multipliers, but I am open to other approaches.

Homework Equations



If we let x(θ12) be the objective function and sin(θ1) = n sin(θ2) the constraint, then we get

∇f(θ12,λ) = 0, where f(θ12,λ) = x(θ12) - λ(sin(θ1) - n sin(θ2))

The Attempt at a Solution



I derived x to be equal to d tan(θ2) / sin(θ1), giving a final answer of θ1 = arsin(sqrt(n2-1)), but this does not seem physically reasonable. Can anyone spot where I went wrong?
 
Physics news on Phys.org
It is not sure that you get a local maximum. Drawing a picture, you can express the distance between the rays with simple geometry and get the maximum with inspection.

ehild
 
I solved it!

It turns out that I had my equation for x wrong. If we let u = 2d tan(θ2) denote the distance between the point where the ray enters the block and the point where it exits, and we take the entry point to be the origin, then the first reflected ray has equation y = x*tan(90-θ1), and the ray emerging from the block has equation y = (x - u)tan(90-θ1).

The perpendicular distance (x) between these lines is then u tan(90-θ1) / sqrt(1+tan2(90-θ1)) = 2 d tan(θ2) cos(θ1), rather than my original answer of d tan(θ2) / sin(θ1). This gives us the lagrange equation f(θ1,θ2,λ) = 2 d tan(θ2) cos(θ1) - λ (sin(θ1) - n sin(θ2)).

Taking partial derivatives, we get -2d sin(θ1)tan(θ2) + λ cos(θ1) = 0, and 2d cos(θ1)sec22) - λn cos(θ2) = 0.

Dividing through and cancelling gives us n cos22)sin(θ1)sin(θ2) = cos21).

Applying the relations sin(θ2) = sin(θ1) / n and sin2(x) + cos2(x) = 1 reduces this to n (1 - (sin(θ1)/n)2) * sin21) / n = 1 - sin21).

This simplifies down to sin41) + n2(1-2 sin21)) = 0.

Finally, we apply the quadratic equation formula.

θ1 = arsin(sqrt(n2 - sqrt(n4 - n2)))
 
eutectic said:
This simplifies down to sin41) + n2(1-2 sin21)) = 0.

Finally, we apply the quadratic equation formula.

θ1 = arsin(sqrt(n2 - sqrt(n4 - n2)))

It is correct, good job! But why was the Lagrange multipliers method needed? It did not make the calculations easier.

Turn to θ2 as variable,

[tex]\cos\theta_1=\sqrt{1-n^2\sin(\theta_2)^2}[/tex]

[tex]f=2d\tan(\theta_2)\sqrt{1-n^2\sin(\theta_2)^2}[/tex]

Take the derivative with respect to θ2: you get maximum distance at [tex]\sin^2\theta_2=1-\sqrt{1-1/n^2}[/tex] that is, when [tex]\sin^2(\theta_1)=n^2\sin^2\theta_2=n^2-\sqrt{n^4-n^2}[/tex]

ehild
 
eutectic said:
It turns out that I had my equation for x wrong. If we let u = 2d tan(θ2) denote the distance between the point where the ray enters the block and the point where it exits, and we take the entry point to be the origin, then the first reflected ray has equation y = x*tan(90-θ1), and the ray emerging from the block has equation y = (x - u)tan(90-θ1).

The perpendicular distance (x) between these lines is then u tan(90-θ1) / sqrt(1+tan2(90-θ1)) = 2 d tan(θ2) cos(θ1), rather than my original answer of d tan(θ2) / sin(θ1). This gives us the lagrange equation f(θ1,θ2,λ) = 2 d tan(θ2) cos(θ1) - λ (sin(θ1) - n sin(θ2)).

Taking partial derivatives, we get -2d sin(θ1)tan(θ2) + λ cos(θ1) = 0, and 2d cos(θ1)sec22) - λn cos(θ2) = 0.

Dividing through and cancelling gives us n cos22)sin(θ1)sin(θ2) = cos21).

Applying the relations sin(θ2) = sin(θ1) / n and sin2(x) + cos2(x) = 1 reduces this to n (1 - (sin(θ1)/n)2) * sin21) / n = 1 - sin21).

This simplifies down to sin41) + n2(1-2 sin21)) = 0.

Finally, we apply the quadratic equation formula.

θ1 = arsin(sqrt(n2 - sqrt(n4 - n2)))

Your expressions are written incorrectly, and I am concerned that you may not even know why they are incorrect. When you write things like ##\tan(90-\theta)## you are using degrees to measure angles. If you do that, all the usual formulas for derivatives fail, and need to be modified. So, if you want to use the standard differentiation formulas you need to measure angles in radians, hence write things like ##\tan(\pi/2 - \theta)##, etc.
 
Yes, I am aware of the distinction between radians and degrees. I doubt that this is likely to cause anyone much confusion.
 

Similar threads

Replies
1
Views
3K
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
10K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 4 ·
Replies
4
Views
8K
Replies
3
Views
2K