- #1
etotheipi
- Homework Statement
- Suppose that the speed of light ##c(y)## varies continuously through a medium and is a function of the distance from the boundary ##y=0##. Use Fermat's principle to show that the path ##y(x)## of the light ray is given by
$$c(y)y'' + c'(y)(1+y'^{2})=0$$
- Relevant Equations
- N/A
I've been playing around with this for quite some time now this morning but can't get the last bit out. I defined the time functional to be $$T[y] = \int_{x_1}^{x_2} \frac{\sqrt{1+(y')^{2}}}{c(y)} dx$$ which follows from consideration of the time taken to cover an infinitesimal section of arc. I want to find the ##y(x)## that minimises ##T## so I let ##F(x,y,y') = \frac{\sqrt{1+(y')^{2}}}{c(y)}## and put the whole thing into the magic equation $$
\begin{align}
\frac{d}{dx}\left(\frac{\partial F}{\partial y'}\right) &= \frac{\partial F}{\partial y} \\ \frac{d}{dx} \left( \frac{1}{c(y)} \frac{y'}{\sqrt{1+(y')^{2}}} \right) &= \frac{\partial F}{\partial y} \\ \frac{1}{c(y)} \frac{y''\sqrt{1+(y')^{2}} - \frac{(y')^{2}}{\sqrt{1+(y')^2}}}{1+(y')^2} + \frac{c'(y)}{c(y)^{2}} \frac{(y')^{2}}{\sqrt{1+(y')^2}} &= - \sqrt{1+ (y')^2} \frac{c'(y)}{c(y)^{2}}
\end{align}
$$ This turns out to be equivalent to $$c(y) y'' + c'(y) (1+(y')^2) = \frac{c(y)(y')^2}{1+(y')^2} - c'(y)(1+(y')^2)$$So it's sort of what we want, except not really since I've got that annoying thing on the RHS! Any help would be appreciated!
\begin{align}
\frac{d}{dx}\left(\frac{\partial F}{\partial y'}\right) &= \frac{\partial F}{\partial y} \\ \frac{d}{dx} \left( \frac{1}{c(y)} \frac{y'}{\sqrt{1+(y')^{2}}} \right) &= \frac{\partial F}{\partial y} \\ \frac{1}{c(y)} \frac{y''\sqrt{1+(y')^{2}} - \frac{(y')^{2}}{\sqrt{1+(y')^2}}}{1+(y')^2} + \frac{c'(y)}{c(y)^{2}} \frac{(y')^{2}}{\sqrt{1+(y')^2}} &= - \sqrt{1+ (y')^2} \frac{c'(y)}{c(y)^{2}}
\end{align}
$$ This turns out to be equivalent to $$c(y) y'' + c'(y) (1+(y')^2) = \frac{c(y)(y')^2}{1+(y')^2} - c'(y)(1+(y')^2)$$So it's sort of what we want, except not really since I've got that annoying thing on the RHS! Any help would be appreciated!
Last edited by a moderator: