1.II.14D

Methods
Part IB, 2008

Write down the Euler-Lagrange equation for the variational problem for y(x)y(x) that extremizes the integral II defined as

I=x1x2f(x,y,y)dxI=\int_{x_{1}}^{x_{2}} f\left(x, y, y^{\prime}\right) d x

with boundary conditions y(x1)=y1,y(x2)=y2y\left(x_{1}\right)=y_{1}, y\left(x_{2}\right)=y_{2}, where y1y_{1} and y2y_{2} are positive constants such that y2>y1y_{2}>y_{1}, with x2>x1x_{2}>x_{1}. Find a first integral of the equation when ff is independent of yy, i.e. f=f(x,y)f=f\left(x, y^{\prime}\right).

A light ray moves in the (x,y)(x, y) plane from (x1,y1)\left(x_{1}, y_{1}\right) to (x2,y2)\left(x_{2}, y_{2}\right) with speed c(x)c(x) taking a time TT. Show that the equation of the path that makes TT an extremum satisfies

dydx=c(x)k2c2(x)\frac{d y}{d x}=\frac{c(x)}{\sqrt{k^{2}-c^{2}(x)}}

where kk is a constant and write down an integral relating k,x1,x2,y1k, x_{1}, x_{2}, y_{1} and y2y_{2}.

When c(x)=axc(x)=a x where aa is a constant and k=ax2k=a x_{2}, show that the path is given by

(y2y)2=x22x2.\left(y_{2}-y\right)^{2}=x_{2}^{2}-x^{2} .