When deriving the Euler-Lagrange equation in one dimension the "correct" path, $f(x)$, is the path along which the action is stationary upon infinitesimal modifications of the path, $\epsilon\eta(x)$.
$$f^*(x)=f(x)+\epsilon\eta(x)$$
My question is, is $\epsilon$ just a scalar? And if so how can the following two infinitesimal path modifications that have completely different shapes be related by just a scalar? (Apologies for crudely draw diagrams).

