A little confused about finding the variation of the functional
J = $\int_{t0}^{tf}(e^{x_1(t)+x_2(t)})dt$
When I perturb and find the increment, I get:
$\Delta J = \int_{t0}^{tf} (e^{x_1(t) + \delta x_1(t) + x_2(t) + \delta x_2(t)} - e^{x_1(t) + x_2(t)}$)dt
To find the variation, I must eliminate any terms that are non-linear in $\delta x$, which pretty much eliminates the left term due to the exponential:
$\delta J = \int_{t0}^{tf} (-e^{x_1(t) + x_2(t)})dt$
I'm not sure where to go from here. I tried integration by parts, but I got stuck in an infinite loop. Am I missing something?