Can Euler-Lagrange Equations Explain Mirages?

AI Thread Summary
The discussion explores the application of Euler-Lagrange equations to explain the phenomenon of mirages, which occur due to temperature gradients affecting the refractive index of air. It emphasizes that light follows Fermat's principle, necessitating the extremalization of time rather than distance. Two integrals are presented, with the first leading to a non-zero Euler-Lagrange equation and the second yielding a zero equation, indicating different approaches to the problem. The participant ultimately simplifies the solution to resemble a parabolic graph, aligning with the expected shape of a mirage. The conversation highlights the complexities of deriving the equations and the importance of correctly applying mathematical principles to physical phenomena.
Jillds
Messages
22
Reaction score
1

Homework Statement


On very hot days there sometimes can be a mirage seen hovering as you drive. Very close to the ground there is a temperature gradient which makes the refraction index rises with the height. Can we explain the mirage with it? Which unit do you need to extremalise? Writer the Euler-Lagrange equation. This gives a differential equation that you need to solve.

Homework Equations


refraction index: ## n =\frac{c}{v} \Leftrightarrow \frac{n}{c}=\frac{1}{v}##
Euler-Lagrange equation: ##\frac{d}{dt}\frac{\partial L}{\partial \dot{q}}=\frac{\partial L}{\partial q}##
1st integral: ##\dot{q} \frac{\partial L}{\partial \dot{q}}-L= constant##
## dl^2=dx^2 + dy^2##
tip given: ##n(y) \approx n_0 (1+\alpha y)##

The Attempt at a Solution


Light follows Fermat's principle: not the way of the shortest distance, but shortest time, hence it is time we need to extremalise

##t=\int dt = \int \frac{dl}{dl}dt = \int \frac{dl}{v} = \int \frac{n}{c} dl = \frac{1}{c} \int n(y) \sqrt{dx^2 + dy^2}##

No need to solve this by introducing a third term. The integral can be written in two ways:
1) ##ct = \int n(y) \sqrt{1+\frac{dy^2}{dx^2}}dx = \int n(y) \sqrt{1+\dot{y}^2} dx## with ## L= n(y) \sqrt{1+\dot{y}^2}##
2) ##ct = \int n(y) \sqrt{1+\frac{dx^2}{dy^2}}dy = \int n(y) \sqrt{1+\dot{x}^2} dy## with ## L= n(y) \sqrt{1+\dot{x}^2}##

1) The first integral leads to an Euler-Lagrange equation that does not equal to 0, because n(y) varies with the height:
##\frac{d}{dx}\frac{\partial L}{\partial \dot{y}}=\frac{\partial L}{\partial y} \neq 0##

So it needs to be reworked as a 1st integral:
##\dot{y} \frac{\partial L}{\partial \dot{y}}-L= c_1##

I haven't tried to solve this DE yet, because this is the hardest way, but it should have the same solution as the second Lagrange.

2) The second integral does lead to an Euler-Lagrange equation that equals 0:
##\frac{d}{dy}\frac{\partial L}{\partial \dot{x}}=\frac{\partial L}{\partial x} = 0##

Hence ##\frac{\partial L}{\partial \dot{x}}=c_2##
## c_2 = \frac{n(y) \dot{x}}{\sqrt{\dot{x}^2+1}}##
## \Leftrightarrow c_2^2 = \frac{n^2(y) \dot{x}^2}{\dot{x}^2+1}##
## \Leftrightarrow c_2^2 (\dot{x}^2+1)= n^2(y) \dot{x}^2##
## \Leftrightarrow c_2^2 \dot{x}^2+c_2^2= n^2(y) \dot{x}^2##
## \Leftrightarrow c_2^2= n^2(y) \dot{x}^2 - c_2^2 \dot{x}^2##
## \Leftrightarrow c_2^2= \dot{x}^2 ( n^2(y) - c_2^2)##
## \Leftrightarrow \dot{x}^2 = \frac{c_2^2}{( n^2(y) - c_2^2)}##
## \Leftrightarrow \dot{x} = \frac{c_2}{\sqrt{ n^2(y) - c_2^2}}##
## \Leftrightarrow \frac{dx}{dy} = \frac{c_2}{\sqrt{ n^2(y) - c_2^2}}##
## \Leftrightarrow dx = \frac{c_2}{\sqrt{ n^2(y) - c_2^2}} dy##
## \Leftrightarrow x = c_2 \int \frac{dy}{\sqrt{ n^2(y) - c_2^2}}##
## \Leftrightarrow x = c_2 \int \frac{dy}{\sqrt{ n_0^2(1+\alpha y)^2 - c_2^2}}##

with ##n_0(1+\alpha y) = u \Leftrightarrow dy = \frac{du}{n_0 \alpha}##

## \Rightarrow x = \frac{c_2}{n_0 \alpha} \int \frac{du}{\sqrt{ u^2 - c_2^2}}##
## \Leftrightarrow x = \frac{c_2}{n_0 \alpha} \int \frac{du}{\sqrt{ \frac{u^2}{c_2^2} -1 }}\frac{1}{c_2}##
## \Leftrightarrow x = \frac{1}{n_0 \alpha} \int \frac{du}{\sqrt{ \frac{u^2}{c_2^2} -1 }}##

with ##\frac{u}{c}=t \Leftrightarrow du=c dt##

## \Rightarrow x = \frac{c_2}{n_0 \alpha} \int \frac{dt}{\sqrt{ t^2 - 1}}##

with ##t = sec (v) \Leftrightarrow dt = \frac{tan(v)}{cos(v)}dv##

## \Rightarrow x = \frac{c_2}{n_0 \alpha} \int sec(v) dv##
## \Leftrightarrow x = \frac{c_2}{n_0 \alpha} ln(tan (v) + sec(v))+C##
## \Leftrightarrow x = \frac{c_2}{n_0 \alpha} ln(tan (arcsec(t)) + t)+C##
## \Leftrightarrow x = \frac{c_2}{n_0 \alpha} ln(tan (arcsec(\frac{u}{c})) + \frac{u}{c})+C##
## \Leftrightarrow x = \frac{c_2}{n_0 \alpha} ln(tan (arcsec(\frac{n_0(1+\alpha y)}{c_2})) + \frac{n_0(1+\alpha y)}{c_2})+C##

I'm stuck though on the ##tan(arcsec(t))## and how to simplify that. Also when I plug in ##ln(tan(arcsec(x))+x)## into google to check the graph it doesn't give me the graph that we're given (parabolic). So did I solve this wrong so far? And where did I go wrong?

(ETA: mistake in formula of 1st integral)
 
Last edited:
Physics news on Phys.org
I managed to figure out the ##tan(arcsec(t))##
##\Leftrightarrow tan(arccos(\frac{1}{t})##

We know the ##cos \theta=\frac{1}{t}##
This would mean that the adjacent of a right triangle has value 1 and the hypothenuse is t. Using Pythagoras we can find the opposite of the angle.

##O^2=H^2-A^2 = t^2-1##
##\Leftrightarrow O=\sqrt{t^2-1}##

So the tangens of the angle would be
##tan (\theta)=\frac{O}{A}=\frac{\sqrt{t^2-1}}{t}##
or
##tan (\theta)=\sqrt{1-\frac{1}{t^2}}t##

reworking that in my current solution that would give

##x=\frac{c_2}{n_0\alpha} ln(\frac{c_2\sqrt{n_0^2(1+\alpha y)^2-c_2^2}+n_0^2(1-\alpha y)^2}{c_2 n_0(1+\alpha y)})+C##
 
But it can all be made simpler considering that ##\int \frac{dx}{\sqrt{x^2+a^2}}=arcosh(\frac{x}{a})+C##

Then ##x=\frac{c_2}{n_0\alpha} arcosh \frac{n_0(1+\alpha y)}{c_2}+C##
which is the inverse of a cosh function which is the most similar to a parabolic graph. So that would seem to work.
 
Thread 'Collision of a bullet on a rod-string system: query'
In this question, I have a question. I am NOT trying to solve it, but it is just a conceptual question. Consider the point on the rod, which connects the string and the rod. My question: just before and after the collision, is ANGULAR momentum CONSERVED about this point? Lets call the point which connects the string and rod as P. Why am I asking this? : it is clear from the scenario that the point of concern, which connects the string and the rod, moves in a circular path due to the string...
Thread 'A cylinder connected to a hanged mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top