This equation is useful when finding the critical point of the integral equation. Suppose that y(x) passes through the points (x1,y1) and (x2,y2) and it is a continuously differentiable function in [x1,x2]. We want to find min∫x1x2y(x)dx or max∫x1x2y(x)dx.
Step 1. Define the extreme value F(y).
Introducing a path function f which consists of y(x) and y′(x), F(y) can be defined by F(y)=∫x1x2f(y(x),y′(x),x)dx
This function F assumes that y is the extreme value when it follows the path function f.
Now, consider F(y+δy) near the extreme value F(y) with the same start and end points. Then it represents another path function f which consists of y(x)+δy(x) and y′(x)+δy′(x). By Taylor Theorem, F(y+δy)=∫x1x2f(y(x)+δy(x),y′(x)+δy′(x),x)dx≈∫x1x2f(y(x),y′(x),x)+fyδy+fy′δy′+fx0dx=F(y)+∫x1x2fyδy+fy′δy′dx
It yields the following δF, δF=F(y+δy)−F(y)≈∫x1x2fyδy+fy′δy′dx
Step 2. Apply the integration by parts to δF.
The second part of δF can be modified using the integration by parts. ∫x1x2fy′δy′dx=[fy′δy]x1x2−∫x1x2dxd(fy′)δydx=−∫x1x2dxd(fy′)δydx
This is because that δy(x1)=δy(x2)=0 since f(y(x),y′(x),x) and f(y(x)+δy(x),y′(x)+δy′(x),x) have the same start and end points. Therefore δF is rewritten as δF≈∫x1x2(fy−dxdfy′)δydx
Step 3. Use the fact that δF(y)=0.
Since F(y) is the extreme value, δF(y)=0 for the small enough δy. Therefore, it leads to δF≈∫x1x2(fy−dxdfy′)δydx=0⟹fy−dxdfy′=0
which is called Euler-Lagrange equation.
Example: Find the smallest distance between (x1,y1) and (x2,y2) points.
It is to find the smallest path among all the possible paths. From the step 1, min∫x1x2(dx)2+(dy)2=min∫x1x21+y′2dx=F(y)
Now, step 2 and 3 lead to the following Euler-Lagrange equation. fy−dxdfy′=0−dxd(1+y′2y′)=0⟹1+y′2y′=C⟹y′=±1−C2C2
where C∈R. It means that y is of form ax+b for a, b∈R, y′=a=x2−x2y2−y1. Therefore, F(y)=min∫x1x21+y′2dx=∫x1x21+a2dx=1+a2(x2−x1)=1+(x2−x1)2(y2−y1)2(x2−x1)=(x2−x1)2+(y2−y1)2
This result it right because Euclidean distance is the smallest one between (x1,y1) and (x2,y2) points.
Keep going!Keep going ×2!Give me more!Thank you, thank youFar too kind!Never gonna give me up?Never gonna let me down?Turn around and desert me!You're an addict!Son of a clapper!No wayGo back to work!This is getting out of handUnbelievablePREPOSTEROUSI N S A N I T YFEED ME A STRAY CAT