# Principle of least action

**URL:** <https://boards.straightdope.com/t/principle-of-least-action/669703>\
**Category:** Factual Questions\
**Created:** [September 26, 2013, 4:23am UTC](https://boards.straightdope.com/t/principle-of-least-action/669703 "2013-09-26T04:23:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snarky\_Kong](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@Snarky\_Kong](https://boards.straightdope.com/u/Snarky_Kong)\
**Post date:** [September 26, 2013, 4:23am UTC](https://boards.straightdope.com/t/principle-of-least-action/669703/1 "2013-09-26T04:23:38Z")

</div>

I’m reading _The Theoretical Minimum_, and am stuck on the derivation of the Euler-Lagrange equations.

To derive it, Susskind discretizes the functional.

Action=sum of L( (x[sub]n+1[/sub] -x[sub]n[/sub])/delta t, (x[sub]n[/sub]+x[sub]n+1[/sub])/2)\*delta t

He then minimizes the action with respect to one x[sub]n[/sub], specifically x8.

Only two of the terms have x8, so

Action=L((x9-x8)/(delta t), (x8+x9)/2)_(delta t)+ L((x8-x7)/(delta t), (x7+x8)/2)_(delta t).

Here’s where I lose him. Take the derivative of each side wrt x8.

dA/dx8= (1/delta t)_( -dL/dx dot|n=9 + dL/dx dot|n=8) + (1/2)_(dL/dx|n=8 + dL/dx|n=9)

He doesn’t show any intermediary steps and I haven’t been able to work it out. Any help?

Sorry about the notation. dL/dx dot is supposed to be the partial of the Lagrangian wrt the velocity and |n=x is the preceding expression evaluated at x. Other than that hopefully you can figure out what I meant.

---

<div class="post-metadata">

**Author:** ![bldysabba](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bldysabba](https://boards.straightdope.com/u/bldysabba)\
**Post date:** [September 26, 2013, 5:18am UTC](https://boards.straightdope.com/t/principle-of-least-action/669703/2 "2013-09-26T05:18:12Z")

</div>

You should try one of the many math sites. The notation is preventing me from even trying to figure this out

---

<div class="post-metadata">

**Author:** ![Bear\_Nenno](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bear_nenno/32/3358_2.png) [@Bear\_Nenno](https://boards.straightdope.com/u/Bear_Nenno)\
**Post date:** [September 26, 2013, 11:18am UTC](https://boards.straightdope.com/t/principle-of-least-action/669703/3 "2013-09-26T11:18:46Z")

</div>

Can you write this out on paper and just post a picture of it? That way the notation will be something people are familiar with, and they might be able to help. It still won’t make any sense to me, but other people could probably help you.

---

<div class="post-metadata">

**Author:** ![Snarky\_Kong](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@Snarky\_Kong](https://boards.straightdope.com/u/Snarky_Kong)\
**Post date:** [September 26, 2013, 11:47am UTC](https://boards.straightdope.com/t/principle-of-least-action/669703/4 "2013-09-26T11:47:55Z")

</div>

Ok, so here’s what I was asking with readable equations [http://i44.tinypic.com/2vlmkpk.png](http://i44.tinypic.com/2vlmkpk.png).

Basically I don’t know how he got from the sum of the Lagrangian terms to the last equation. Hopefully that’s more clear than my chicken scratch.

---

<div class="post-metadata">

**Author:** ![ZenBeam](https://avatars.discourse-cdn.com/v4/letter/z/3ab097/32.png) [@ZenBeam](https://boards.straightdope.com/u/ZenBeam)\
**Post date:** [September 26, 2013, 4:54pm UTC](https://boards.straightdope.com/t/principle-of-least-action/669703/5 "2013-09-26T16:54:49Z")

</div>

Expand the sum over n:

Action = ( L((X8 - X7)/delt), (x7+x8)/2) + L((X9 - X8)/delt), (x8+x9)/2) + … ) \* dt  
where the … are all the terms that do not depend on x8.

For clarity, rewrite as

Action = (L(a,b) + L(c,d) + …) \* dt  
where  
a = (x8-x7)/dt  
b = (x7+x8)/2  
c = (x9-x8)/dt  
d = (x8+x9)/2

(a and c are xdot at different points, and b and d are x at those points.)

So  
dAction/dx8 = ( dL(a,b)/da \* da/dx8 + dL(a,b)/db \* db/dx8 + dL(c,d)/dc \* dc/dx8 + dL(c,d)/dd \* dd/dx8 ) \* dt

Now there are no … terms since they do not depend on x8.

da/dx8 = 1/dt  
db/dx8 = 1/2  
dc/dx8 = -1/dt  
dd/dx8 = 1/2

so

dA/dx8 = (dL/da - dL/dc) + (dL/db + dL/dd) / (2 dt)

Which is pretty much what you have, apart from a factor of dt (typo?). Hopefully close enough.
