What I specifically mean is, given some functional $F\left[\mathbf{x}\right]$ which is stationary with respect to $\dot{\mathbf{x}}=f(\mathbf{x})$ and some boundary or initial conditions, can one choose: $$ \mathbf{x}(t)=\mathbf{x}_0+\mathbf{x}_1t+\mathbf{x}_2t^2+\dots $$ And substitute this into the functional (or it's first variation) and some how solve for the coefficients?
How would the variations be expressed in this case, would they also be: $$ \delta\mathbf{x}(t)=\delta\mathbf{x}_0+\delta\mathbf{x}_1t+\delta\mathbf{x}_2t^2+\dots $$ And then I would collect with respect to them if I was substituting into the first variation?