I need help carrying out the following calculation:
We have the generating functional of free theory:
$$Z[f] = \exp\left(\frac{i}{2} \int d^4xd^4y f(x)f(y)\Delta(x-y)\right) $$
where $f$ is an external field and $\Delta(x-y)$ the Green function of the Klein-Gordon equation.
The two-point function $\langle{0}| T\phi(x) \phi(y) |0\rangle$ is then calculated by the rule
$$\frac{1}{i^2} \frac{\delta Z[f]}{\delta f (x_1) \delta f (x_2)}\bigg|_{f=0}$$
The result should of course be $i\Delta(x-y)$.
Can someone show me the explicit steps? I just obtain gibberish.