"Vary the following actions and write down the Euler-Lagrange equations of motion."
[itex]S =\int dt q[/itex]
The Attempt at a Solution
Someone said there is a weird trick required to solve this but he couldn't remember. If you just vary normally you get [itex]\delta S=\int dt \delta q=0[/itex]
and thats not helpful. Any suggestion on how to avoid this problem?