- #1
ChrisJ
- 70
- 3
Homework Statement
A medium has a refractive index, ##n(y)=n_0 \sqrt{1+y/a}## which increases along y. Assume ##n_0## and ##a## are constants and always positive. If a light beam enters horizontally along y, through (0,0), find the curve the path of the light ray takes.
Homework Equations
##F - y' \frac{\partial F}{\partial y'} = \textrm{constant}##
##ds = dx \sqrt{1+(y')^2}##
Fermats principle[/B]
The Attempt at a Solution
I am completely lost on this one. Was only introduced to functionals and calculus of variations etc less than two weeks ago. This is the first time attempting a problem.
I just don't know where to start. It has to take the path which takes the shortest time, and light travels slower with increasing n. So I assume one needs to ##\frac{\partial n}{\partial y}## to be as small as possible.
I was not sure if I needed it yet or at all but found ##\frac{\partial n}{\partial y}=\frac{n_0}{2\sqrt{a^2+ay}}## .
From Fermats Principle, using my ##F## as ##F=n(y) \sqrt{1+y'^2}=n_0 \sqrt{1+y/a}\sqrt{1+y'^2} ##
Breaking the equation down I put in the relevant equations section I found
[tex]
F - y'\frac{\partial F}{\partial y'} =n_0 \sqrt{1+y/a}\sqrt{1+y'^2}- y' \left[n_0y'(1+y/a)^{1/2}(1+y'^2)^{-1/2} \right ] = C \\
C = n_0 \sqrt{1+y/a} \left [ (1+y'^2)-y'^2(1+y'^2)^{-1/2}) \right ] \\
C = n(y) \left [ (1+y'^2)-y'^2(1+y'^2)^{-1/2} \right ] \\
C = \frac{n(y)}{\sqrt{1+y'^2}}
[/tex]
Now I am stuck on where to go from here, just a little help/advice would be much appreciated.
Thanks :)