Skip to content

From Sources in QM to Generating Functionals in QFT

Sources are bookkeeping fields that generate correlation functions. In quantum mechanics, one introduces a function J(t)J(t) coupled to a coordinate q(t)q(t):

SJ[q]=S[q]+∫dt J(t)q(t).S_J[q] = S[q] + \int dt\,J(t)q(t).

In field theory, the same idea becomes a spacetime source J(x)J(x) coupled to a field ϕ(x)\phi(x):

SJ[ϕ]=S[ϕ]+∫ddx J(x)ϕ(x).S_J[\phi] = S[\phi] + \int d^d x\,J(x)\phi(x).

Functional derivatives with respect to the source insert the corresponding quantum variable. That single idea is the seed of generating functionals, propagators, Wick contractions, Feynman rules, response functions, and connected correlators.

The detailed quantum-mechanical derivation belongs to Sources and Generating Functionals in QM. This page is the bridge from that derivation to QFT notation.

For a coordinate path integral, a source-dependent object has the schematic form

Z[J]=∫Dq exp⁡[iℏ(S[q]+∫dt J(t)q(t))].Z[J] = \int\mathcal Dq\, \exp\left[ \frac{i}{\hbar} \left( S[q]+\int dt\,J(t)q(t) \right) \right].

The key identity is

δδJ(t)exp⁡[iℏ∫dt′ J(t′)q(t′)]=iℏq(t)exp⁡[iℏ∫dt′ J(t′)q(t′)].\frac{\delta}{\delta J(t)} \exp\left[ \frac{i}{\hbar} \int dt'\,J(t')q(t') \right] = \frac{i}{\hbar}q(t) \exp\left[ \frac{i}{\hbar} \int dt'\,J(t')q(t') \right].

Therefore source derivatives insert coordinates:

(ℏi)n1Z[0]δnZ[J]δJ(t1)⋯δJ(tn)∣J=0=⟨Tq(t1)⋯q(tn)⟩,\left( \frac{\hbar}{i} \right)^n \frac{1}{Z[0]} \frac{\delta^n Z[J]} {\delta J(t_1)\cdots\delta J(t_n)} \bigg\rvert_{J=0} = \langle \mathcal T q(t_1)\cdots q(t_n) \rangle,

provided the boundary conditions, state, and ordering prescription defining Z[J]Z[J] are the same as those defining the brackets. This caveat is essential: a fixed-endpoint transition kernel, a vacuum expectation value, an in-in expectation value, and a thermal trace have different generating functionals.

The source trick works because of the continuum delta-function rule

δJ(y)δJ(x)=δ(d)(y−x).\frac{\delta J(y)} {\delta J(x)} = \delta^{(d)}(y-x).

For a source coupling,

F[J]=∫ddy J(y)ϕ(y),F[J] = \int d^d y\,J(y)\phi(y),

one obtains

δFδJ(x)=ϕ(x).\frac{\delta F}{\delta J(x)} = \phi(x).

Repeated source derivatives insert repeated fields. The notation is developed in Functional Derivatives; the physics is that a source lets one probe how the theory responds to local disturbances.

The QFT vacuum generating functional is often written schematically as

Z[J]=⟨0∣Texp⁡[iℏ∫ddx J(x)ϕH(x)]∣0⟩.Z[J] = \langle0| \mathcal T \exp\left[ \frac{i}{\hbar} \int d^d x\,J(x)\phi_H(x) \right] |0\rangle.

Equivalently, in path-integral notation,

Z[J]=∫Dϕ exp⁡[iℏ(S[ϕ]+∫ddx J(x)ϕ(x))],Z[J] = \int\mathcal D\phi\, \exp\left[ \frac{i}{\hbar} \left( S[\phi]+\int d^d x\,J(x)\phi(x) \right) \right],

with the vacuum boundary prescription, normalization, and regulator understood. Then

⟨0∣T{ϕ(x1)⋯ϕ(xn)}∣0⟩=(ℏi)n1Z[0]δnZ[J]δJ(x1)⋯δJ(xn)∣J=0.\langle0| \mathcal T\{ \phi(x_1)\cdots\phi(x_n) \} |0\rangle = \left( \frac{\hbar}{i} \right)^n \frac{1}{Z[0]} \frac{\delta^n Z[J]} {\delta J(x_1)\cdots\delta J(x_n)} \bigg\rvert_{J=0}.

This is the direct field-theory analogue of the quantum-mechanical coordinate formula.

It is often convenient to normalize

Z[J]=Z[J]Z[0],Z[0]=1.\mathcal Z[J] = \frac{Z[J]}{Z[0]}, \qquad \mathcal Z[0]=1.

Full correlators come from Z[J]\mathcal Z[J]. Connected correlators come from the logarithm:

W[J]=ℏilog⁡Z[J].W[J] = \frac{\hbar}{i}\log Z[J].

With this convention, the first derivative gives the source-dependent one-point function,

δW[J]δJ(x)=⟨Tϕ(x)⟩J,\frac{\delta W[J]}{\delta J(x)} = \langle\mathcal T\phi(x)\rangle_J,

and the second derivative gives the connected two-point function up to the standard factor:

⟨Tϕ(x)ϕ(y)⟩c,J=ℏiδ2W[J]δJ(x)δJ(y).\langle \mathcal T\phi(x)\phi(y) \rangle_{c,J} = \frac{\hbar}{i} \frac{\delta^2W[J]} {\delta J(x)\delta J(y)}.

In probability language, connected correlators are cumulants. In QFT language, they are the pieces that do not factor into products of lower-point correlators. The logarithm removes disconnected vacuum-bubble factors in perturbation theory.

The harmonic oscillator is the clean quantum-mechanical model for QFT sources because its path integral is Gaussian. With the ground-state time-ordering prescription, define

GF(t,t′)=⟨0∣T{qH(t)qH(t′)}∣0⟩.G_F(t,t') = \langle0| \mathcal T\{q_H(t)q_H(t')\} |0\rangle.

For a centered oscillator, the normalized source functional can be written in the convention used in the QM source page as

Z0[J]=exp⁡[−12ℏ2∫dt dt′ J(t)GF(t,t′)J(t′)].\mathcal Z_0[J] = \exp\left[ -\frac{1}{2\hbar^2} \int dt\,dt'\, J(t)G_F(t,t')J(t') \right].

Then

(ℏi)2δ2Z0[J]δJ(t)δJ(t′)∣J=0=GF(t,t′).\left( \frac{\hbar}{i} \right)^2 \frac{\delta^2\mathcal Z_0[J]} {\delta J(t)\delta J(t')} \bigg\rvert_{J=0} = G_F(t,t').

Higher derivatives give Wick’s theorem. For example, the four-point function is a sum of products of two-point functions:

⟨0∣T{q(t1)q(t2)q(t3)q(t4)}∣0⟩=GF(t1,t2)GF(t3,t4)+GF(t1,t3)GF(t2,t4)+GF(t1,t4)GF(t2,t3).\begin{aligned} &\langle0| \mathcal T\{ q(t_1)q(t_2)q(t_3)q(t_4) \} |0\rangle \\ &\quad = G_F(t_1,t_2)G_F(t_3,t_4) + G_F(t_1,t_3)G_F(t_2,t_4) + G_F(t_1,t_4)G_F(t_2,t_3). \end{aligned}

The exact Gaussian form is special. Interactions such as λq4\lambda q^4 create nonzero connected correlators beyond the two-point function.

For a free scalar field, the oscillator formula becomes the same Gaussian statement with time replaced by spacetime:

Z0[J]=exp⁡[−12ℏ2∫ddx ddy J(x)ΔF(x−y)J(y)],\mathcal Z_0[J] = \exp\left[ -\frac{1}{2\hbar^2} \int d^d x\,d^d y\, J(x)\Delta_F(x-y)J(y) \right],

where

ΔF(x−y)=⟨0∣T{ϕ(x)ϕ(y)}∣0⟩\Delta_F(x-y) = \langle0| \mathcal T\{\phi(x)\phi(y)\} |0\rangle

in this convention. Source differentiation gives

(ℏi)2δ2Z0[J]δJ(x)δJ(y)∣J=0=ΔF(x−y).\left( \frac{\hbar}{i} \right)^2 \frac{\delta^2\mathcal Z_0[J]} {\delta J(x)\delta J(y)} \bigg\rvert_{J=0} = \Delta_F(x-y).

Thus the free-field generating functional encodes all free-field time-ordered correlators. Wick’s theorem follows from the Gaussian.

An interacting scalar theory may be written schematically as

S[ϕ]=S0[ϕ]−∫ddx λ4!ϕ4(x).S[\phi] = S_0[\phi] - \int d^d x\, \frac{\lambda}{4!}\phi^4(x).

Perturbation theory expands around the Gaussian source functional. Functional derivatives bring down fields, and the Gaussian two-point function supplies contractions. This is the source-functional route to Feynman diagrams.

Diagrammatic Methods Preview gives the complementary operator-expansion grammar for propagators, vertices, self-energies, bubbles, and diagram classification in nonrelativistic many-body theory.

The dictionary is compact:

Quantum mechanicsField theory
coordinate history q(t)q(t)field configuration ϕ(x)\phi(x)
source J(t)J(t)spacetime source J(x)J(x)
∫dt J(t)q(t)\int dt\,J(t)q(t)∫ddx J(x)ϕ(x)\int d^d x\,J(x)\phi(x)
oscillator Green function GF(t,t′)G_F(t,t')field propagator ΔF(x−y)\Delta_F(x-y)
ordinary path integral over historiesfunctional integral over fields
connected correlators from log⁡Z[J]\log Z[J]connected diagrams from log⁡Z[J]\log Z[J]

The complications are also important:

  • the field has infinitely many degrees of freedom;
  • ultraviolet divergences require regularization and renormalization;
  • gauge theories require sources compatible with gauge structure or gauge fixing;
  • real-time, Euclidean, in-out, in-in, and thermal generating functionals differ;
  • normalization and factors of ii vary across conventions.

From Euclidean Time to Euclidean QFT specifies the vacuum and thermal Euclidean boundary conditions behind two of these generating functionals.

From Correlation Functions to QFT Observables explains how full and connected source derivatives become spectral, response, scattering, or Euclidean data.

  • Treating JJ as a physical force in every use, rather than an auxiliary source often set to zero.
  • Forgetting the factor (ℏ/i)n(\hbar/i)^n attached to nn source derivatives in the convention used here.
  • Mixing fixed-endpoint transition kernels with vacuum generating functionals.
  • Using log⁡Z[J]\log Z[J] and expecting full correlators rather than connected correlators.
  • Comparing source conventions without checking signs in S+∫JϕS+\int J\phi versus S−∫JϕS-\int J\phi.
  • Ignoring the distinction between real-time, Euclidean, thermal, and in-in generating functionals.
  • M. E. Peskin and D. V. Schroeder, An Introduction to Quantum Field Theory, Addison-Wesley, 1995.
  • M. D. Schwartz, Quantum Field Theory and the Standard Model, Cambridge University Press, 2014.
  • A. Zee, Quantum Field Theory in a Nutshell, 2nd ed., Princeton University Press, 2010.
  • J. Zinn-Justin, Path Integrals in Quantum Mechanics, Oxford University Press, 2005.
  • L. S. Schulman, Techniques and Applications of Path Integration, Wiley, 1981.
  1. Show that differentiating a source exponential inserts the variable coupled to the source.
Solution

For

F[J]=exp⁡[iℏ∫dt′ J(t′)q(t′)],F[J] = \exp\left[ \frac{i}{\hbar} \int dt'\,J(t')q(t') \right],

the functional derivative gives

δF[J]δJ(t)=iℏq(t)F[J].\frac{\delta F[J]}{\delta J(t)} = \frac{i}{\hbar}q(t)F[J].

Thus multiplying by ℏ/i\hbar/i inserts q(t)q(t).

  1. Translate the quantum-mechanical source term to scalar-field notation.
Solution

The quantum-mechanical source term is

∫dt J(t)q(t).\int dt\,J(t)q(t).

For a scalar field, the history variable is a spacetime field ϕ(x)\phi(x), and the source is a spacetime function J(x)J(x). The source term becomes

∫ddx J(x)ϕ(x).\int d^d x\,J(x)\phi(x).
  1. Why does log⁡Z[J]\log Z[J] generate connected correlators?
Solution

The logarithm of a moment-generating object produces cumulants. In field-theory language, cumulants are connected correlators. For example, the second derivative of log⁡Z[J]\log Z[J] subtracts the product of first derivatives, removing the disconnected product of one-point functions from the full two-point function.

  1. Verify the two-point derivative for a centered Gaussian source functional.
Solution

Let

Z0[J]=exp⁡[−12ℏ2∫dx dy J(x)G(x,y)J(y)].\mathcal Z_0[J] = \exp\left[ -\frac{1}{2\hbar^2} \int dx\,dy\,J(x)G(x,y)J(y) \right].

The first derivative is proportional to JJ, so it vanishes at J=0J=0. The second derivative at zero source is

δ2Z0[J]δJ(x)δJ(y)∣J=0=−1ℏ2G(x,y).\frac{\delta^2\mathcal Z_0[J]} {\delta J(x)\delta J(y)} \bigg\rvert_{J=0} = -\frac{1}{\hbar^2}G(x,y).

Multiplying by (ℏ/i)2=−ℏ2(\hbar/i)^2=-\hbar^2 gives

(ℏi)2δ2Z0[J]δJ(x)δJ(y)∣J=0=G(x,y).\left(\frac{\hbar}{i}\right)^2 \frac{\delta^2\mathcal Z_0[J]} {\delta J(x)\delta J(y)} \bigg\rvert_{J=0} = G(x,y).
  1. Why must the boundary prescription be specified before interpreting derivatives of Z[J]Z[J]?
Solution

The same formal source derivative inserts fields or coordinates, but the object being averaged depends on the definition of Z[J]Z[J]. A fixed-endpoint kernel gives transition-amplitude insertions. A vacuum generating functional gives vacuum time-ordered correlators. A thermal generating functional gives thermal correlators. Without the boundary or state prescription, the brackets generated by the derivatives are ambiguous.