Given a particle in space, the EL equations give us a differential equation for determining how the partilce will move as time evolves.
I am comfortable deriving a least action principle which recovers the EL equations, with one caveat. I cannot follow the reasoning of requiring a fixed endpoint in the variation.
My derivation follows below: $$ \int dLdt = \int \left(\frac{dL}{dx}dx +\frac{dL}{d\dot{x}} d\dot{x}\right)dt $$ $$ =\int \left(\frac{dL}{dx}dx - \left(\frac{d}{dt} \frac{dL}{d\dot{x}}dx \right) +\frac{d}{dt}\left( \frac{dL}{d\dot{x}}dx \right)\right)dt. $$ At this point, I can make the final term vanish by assuming the start and end points of the integral are fixed, so $dx=0$.
However, I do not follow the reasoning of this.
Perhaps to outline my confusion, and provide some steps to my reasoning, I have considered the following:
A separate question on a similar vein prompted discussion of a wave version of the least action principle, which does not require a fixed endpoint. This is the "Hamilton-Jacobi" formulation, linked here. My thinking here is, while the initial point is fixed, from there, the path spreads out in all directions until reaching all possible spatial locations at the end point. Contrasting this with the least action principle required to arrive at the EL equations, I think thus. The requirement of a fixed endpoint is not that we are stating a specific fixed endpoint, but that there exists 'a' fixed endpoint of the motion. This being in contrast to the wave version of the principle.
My qualm with the above reasoning, is to ask as to the intermediate points of the motion. Upon solving the EL equations, the intermediate points of the motion are fixed, in addition to the endpoints. If (1) above is correct, how are the intermediate points distinguished in the EL derivation?
If my confusion is unclear, please prompt elaboration in a comment, and I can amend as required.
A note on fixed intermediate points
In the above, my reference to 'fixed intermediate points', describes the following. A particle in motion follows a path with a unique value at each point, $x(t)$. It is in this sense I refer to a particles path being 'fixed' at each point, in contrast to a wave, where there are a collection of points for every time $t$.
It is something about the notion of 'fixed points' at the heart of this question. Hopefully the above addendum is sufficient to warrant re-opening.