Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Gaussian Sources and Functional Derivatives

    A source applied to one oscillator can change the mean displacement of its neighbour. For two coordinates with quadratic kernel K=(3112)K=\left(\begin{smallmatrix}3&1\\1&2\end{smallmatrix}\right), the normalized Gaussian is Z(j)=exp⁡[(2j12−2j1j2+3j22)/10]Z(j)=\exp[(2j_1^2-2j_1j_2+3j_2^2)/10]. Its mixed derivative at zero source gives −1/5-1/5. What does the minus sign measure, and how does that same operation insert two fields at specified spacetime points? We will derive the Gaussian, test its covariance by integration, and repeat the differentiation on a grid with unequal cell volumes.

    Preparation. Completing a square and diagonalizing a real symmetric matrix suffice for the finite model. The scalar Feynman propagator supplies the vacuum boundary condition in the last step. All quantities in the opening example are dimensionless.

    Complete the square with the measure visible

    Let KK be a real symmetric positive-definite N×NN\times N matrix. Define

    Z(J)=∫∏a=1Ndxa2π exp⁡[−12xTKx+JTx].\mathcal Z(J)=\int\prod_{a=1}^N\frac{dx_a}{\sqrt{2\pi}}\, \exp\left[-\frac12x^{\mathsf T}Kx+J^{\mathsf T}x\right].

    For real JJ, translate x=y+K−1Jx=y+K^{-1}J. The domain is unchanged, and

    −12xTKx+JTx=−12yTKy+12JTK−1J.-\frac12x^{\mathsf T}Kx+J^{\mathsf T}x =-\frac12y^{\mathsf T}Ky+\frac12J^{\mathsf T}K^{-1}J.

    An orthogonal eigenbasis has unit absolute Jacobian. Integrating each eigenvalue λa>0\lambda_a>0 therefore gives

    Z(J)=(det⁡K)−1/2eJTCJ/2,C=K−1.\boxed{\mathcal Z(J)=(\det K)^{-1/2} e^{J^{\mathsf T}CJ/2},\qquad C=K^{-1}.}

    The positive square root follows from positivity. Plain dNxd^Nx would supply an additional (2π)N/2(2\pi)^{N/2}. For dimensionful coordinates, use declared reference scales sas_a in dxa/(2πsa)dx_a/(\sqrt{2\pi}s_a); their product changes Z\mathcal Z but cancels from normalized expectations at fixed scales.

    Sources distinguish a moment from a connected moment

    Divide by the identical zero-source problem:

    Z(J)=Z(J)Z(0)=eJTCJ/2,W(J)=log⁡Z(J).Z(J)=\frac{\mathcal Z(J)}{\mathcal Z(0)}=e^{J^{\mathsf T}CJ/2}, \qquad W(J)=\log Z(J).

    Differentiating the convergent integral yields

    ⟨xi⟩J=∂iW=(CJ)i,⟨xixj⟩J=Z−1∂i∂jZ=Cij+(CJ)i(CJ)j,⟨xixj⟩J,c=∂i∂jW=Cij.\begin{aligned} \langle x_i\rangle_J&=\partial_iW=(CJ)_i,\\ \langle x_ix_j\rangle_J &=Z^{-1}\partial_i\partial_jZ =C_{ij}+(CJ)_i(CJ)_j,\\ \langle x_ix_j\rangle_{J,c}&=\partial_i\partial_jW=C_{ij}. \end{aligned}

    In this finite-dimensional formula JJ denotes the coordinate source (written jj in the two-oscillator example). Here ∂i=∂/∂Ji\partial_i=\partial/\partial J_i, and “connected” subtracts the product of means. Connected derivatives above second order vanish for this Gaussian. Raw higher moments do not: at zero source,

    ⟨xixjxkxl⟩0=CijCkl+CikCjl+CilCjk.\langle x_ix_jx_kx_l\rangle_0 =C_{ij}C_{kl}+C_{ik}C_{jl}+C_{il}C_{jk}.

    This is the commuting Gaussian counterpart of Wick's theorem. The Euclidean convention is WE=log⁡ZEW_E=\log Z_E, with no factor of ii; Lorentzian sources use a different generating convention.

    Worked example: coupling produces anticorrelation

    Take

    K=(3112),C=15(2−1−13).K=\begin{pmatrix}3&1\\1&2\end{pmatrix}, \qquad C=\frac15\begin{pmatrix}2&-1\\-1&3\end{pmatrix}.

    The positive principal minors 33 and 55 establish positivity. The result is

    Z(j1,j2)=15exp⁡[2j12−2j1j2+3j2210].\mathcal Z(j_1,j_2)=\frac1{\sqrt5} \exp\left[\frac{2j_1^2-2j_1j_2+3j_2^2}{10}\right].

    We can obtain the moments directly, without differentiating this expression. At zero source, put u=x1+x2/3u=x_1+x_2/3, v=x2v=x_2. The Jacobian is one and

    12(3x12+2x1x2+2x22)=32u2+56v2.\frac12(3x_1^2+2x_1x_2+2x_2^2) =\frac32u^2+\frac56v^2.

    Thus uu and vv have independent variances 1/31/3 and 3/53/5. Since x1=u−v/3x_1=u-v/3,

    ⟨x22⟩=35,⟨x1x2⟩=−13⟨v2⟩=−15,⟨x12⟩=13+1935=25.\begin{aligned} \langle x_2^2\rangle&=\frac35,\\ \langle x_1x_2\rangle&=-\frac13\langle v^2\rangle=-\frac15,\\ \langle x_1^2\rangle&=\frac13+\frac19\frac35=\frac25. \end{aligned}

    The integral factors into 1/31/\sqrt3 times 3/5\sqrt{3/5}, giving 1/51/\sqrt5. A positive mixed term in the action penalizes equal-sign fluctuations, explaining the negative covariance.

    For the fourth mixed moment, the same independent coordinates give

    ⟨x12x22⟩=⟨u2⟩⟨v2⟩+19⟨v4⟩=15+19 3(35)2=825.\begin{aligned} \langle x_1^2x_2^2\rangle &=\langle u^2\rangle\langle v^2\rangle +\frac19\langle v^4\rangle\\ &=\frac15+\frac19\,3\left(\frac35\right)^2 =\frac8{25}. \end{aligned}

    The source result gives C11C22+2C122=8/25C_{11}C_{22}+2C_{12}^2=8/25 as well. At j=(1,−1)j=(1,-1) the mean is (3/5,−4/5)(3/5,-4/5), so the raw mixed moment is −17/25-17/25, while the connected mixed moment stays −1/5-1/5. Direct two-dimensional quadrature in the accompanying calculation checks both the zero-source and shifted examples.

    What normalization does and does not cancel

    The determinant drops out of Z(J)Z(J) at fixed KK. But if the physical question compares two quadratic systems using the same coordinates and measure,

    ZK1(0)ZK0(0)=det⁡K0det⁡K1.\frac{\mathcal Z_{K_1}(0)}{\mathcal Z_{K_0}(0)} =\sqrt{\frac{\det K_0}{\det K_1}}.

    For K0=I2K_0=I_2 and the matrix above, the ratio is 1/51/\sqrt5. This factor contributes to a free-energy difference. Replacing both unnormalized integrals by one loses that information.

    A zero eigenvalue needs a different treatment. For K=diag⁡(0,2)K=\operatorname{diag}(0,2), the x1x_1 integral is the infinite length of a flat direction. Adding μ2x12/2\mu^2x_1^2/2 gives Z(0)=1/(μ2)\mathcal Z(0)=1/(\mu\sqrt2) and variance 1/μ21/\mu^2, which diverge as μ↓0\mu\downarrow0. Imposing x1=0x_1=0 instead defines a one-dimensional problem; it is not the same normalized limit on the original space. A negative eigenvalue makes the real Gaussian grow, rather than decay. None of these cases admits the positive-kernel formula with an ordinary inverse.

    A source on a finite grid

    In dd spacetime dimensions, let qaq_a be retained real field coordinates at points xax_a, with positive quadrature weights waw_a. Approximate the source coupling by

    ∫ddx J(x)ϕ(x) ⟶ ∑awaJaqa.\int \mathrm d^dx\,J(x)\phi(x) \ \longrightarrow\ \sum_a w_aJ_aq_a.

    The weights have units of spacetime volume. Write ja=waJaj_a=w_aJ_a for the ordinary coordinate source. For a differentiable function F(J)F(J),

    δF=∑a∂F∂JaδJa=∑awa(δFδJ(xa))δJa.\delta F=\sum_a\frac{\partial F}{\partial J_a}\delta J_a =\sum_a w_a\left(\frac{\delta F}{\delta J(x_a)}\right)\delta J_a.

    Thus the regulated functional derivative is the operator

    Da≡1wa∂∂Ja=∂∂ja.\mathscr D_a\equiv\frac{1}{w_a}\frac{\partial}{\partial J_a} =\frac{\partial}{\partial j_a}.

    It satisfies

    DaJb=δabwa,∑bwb δabwafb=fa.\mathscr D_a J_b=\frac{\delta_{ab}}{w_a}, \qquad \sum_b w_b\,\frac{\delta_{ab}}{w_a}f_b=f_a.

    This weighted Kronecker delta becomes δ(d)(x−y)\delta^{(d)}(x-y) in continuum notation. It is the identity for the integration measure, not a new physical singularity introduced by a source.

    Differentiate the normalized integral

    At a fixed Lorentzian regulator, use the same measure, integration contour and vacuum boundary prescription in numerator and denominator:

    ZL[J]=∫dq eiSL(q)+i∑awaJaqa∫dq eiSL(q).Z_L[J]= \frac{\int \mathrm d q\,e^{iS_L(q)+i\sum_a w_aJ_aq_a}} {\int \mathrm d q\,e^{iS_L(q)}}.

    The denominator is assumed nonzero; damping makes the operations below well defined before its boundary-value limit. Brackets at nonzero JJ are normalized by the numerator itself. Direct differentiation gives

    DaZLZL=i⟨qa⟩J,DaDbZLZL=−⟨qaqb⟩J.\begin{aligned} \frac{\mathscr D_aZ_L}{Z_L}&=i\langle q_a\rangle_J,\\ \frac{\mathscr D_a\mathscr D_bZ_L}{Z_L} &=-\langle q_aq_b\rangle_J. \end{aligned}

    At J=0J=0, ZL[0]=1Z_L[0]=1. Away from zero source, forgetting ZL[J]−1Z_L[J]^{-1} would leave an unnormalized insertion. In the vacuum path integral, these are time-ordered products: the time slicing and boundary states already selected that ordering. Differentiation does not convert them into retarded or unordered correlators.

    Now define WL=−ilog⁡ZLW_L=-i\log Z_L, on a nonvanishing source neighborhood with a fixed logarithm branch. The quotient rule yields

    DaWL=⟨qa⟩J≡φa,DaDbWL=i(⟨qaqb⟩J−φaφb).\begin{aligned} \mathscr D_aW_L&=\langle q_a\rangle_J\equiv\varphi_a,\\ \mathscr D_a\mathscr D_bW_L &=i\bigl(\langle q_aq_b\rangle_J-\varphi_a\varphi_b\bigr). \end{aligned}

    The second derivative of the logarithm subtracts the product of means. We will derive the higher subtractions in connected correlators.

    For the real Euclidean weight e−SE+∑ajaqae^{-S_E+\sum_a j_aq_a}, define WE=log⁡ZEW_E=\log Z_E. The same two differentiations instead give

    DaWE=φa,DaDbWE=⟨qaqb⟩E,J−φaφb.\mathscr D_aW_E=\varphi_a, \qquad \mathscr D_a\mathscr D_bW_E =\langle q_aq_b\rangle_{E,J}-\varphi_a\varphi_b.

    There is no factor of ii in this Euclidean covariance.

    Two unequal cell volumes

    Return to the two-coordinate Gaussian above, with q=(x1,x2)q=(x_1,x_2). Choose dimensionless cell weights w=(0.3,0.7)w=(0.3,0.7) and source values J=(1,−1)J=(1,-1). The coordinate source paired with qq is now j=(0.3,−0.7)j=(0.3,-0.7). Thus

    φ=Cj=(0.26,−0.48),⟨q1q2⟩E,J=−0.2+(0.26)(−0.48)=−0.3248.\varphi=Cj=(0.26,-0.48),\qquad \langle q_1q_2\rangle_{E,J} =-0.2+(0.26)(-0.48)=-0.3248.

    Ordinary JJ derivatives would include a factor w1w2w_1w_2 in the second moment. The regulated functional derivatives remove it.

    A damped real-time integral

    For a damped Lorentzian Gaussian write

    SL,ϵ=−12qTPϵq,Pϵ=P−iϵB,B>0,Gϵ=Pϵ−1.S_{L,\epsilon}=-\frac12q^{\mathsf T}P_\epsilon q, \qquad P_\epsilon=P-i\epsilon B,\quad B>0, \qquad G_\epsilon=P_\epsilon^{-1}.

    Here PP and BB are real symmetric, and ϵ>0\epsilon>0 makes the exponent damping on the real integration cycle. Gaussian integration gives

    ZL(j)=eijTGϵj/2,WL(j)=12jTGϵj,φ=Gϵj,⟨qaqb⟩j=−i(Gϵ)ab+φaφb.\begin{aligned} Z_L(j)&=e^{ij^{\mathsf T}G_\epsilon j/2},& W_L(j)&=\frac12j^{\mathsf T}G_\epsilon j,\\ \varphi&=G_\epsilon j,& \langle q_aq_b\rangle_j&=-i(G_\epsilon)_{ab}+\varphi_a\varphi_b. \end{aligned}

    The mean and the covariance can be complex. For one coordinate with P=1.7P=1.7, ϵB=0.6\epsilon B=0.6 and j=0.4j=0.4, direct integration gives ⟨q⟩=0.2092307692+0.0738461538i\langle q\rangle=0.2092307692+0.0738461538i. This is not a probability average on the real line.

    Recover the scalar propagator

    For the mostly-minus free scalar, integration by parts gives SL=−ϕ⋅P⋅ϕ/2S_L=-\phi\cdot P\cdot\phi/2, with P=□+m2P=\Box+m^2. The Feynman inverse obeys

    GF=PF−1=iDF,PDF=−iδ(d).G_F=P_F^{-1}=iD_F, \qquad PD_F=-i\delta^{(d)}.

    Consequently

    ZL,0[J]=exp⁡(−12J⋅DF⋅J),φJ(x)=i∫ddy DF(x−y)J(y),⟨Tϕ(x)ϕ(y)⟩J=DF(x−y)+φJ(x)φJ(y).\begin{aligned} Z_{L,0}[J]&=\exp\left(-\frac12J\cdot D_F\cdot J\right),\\ \varphi_J(x)&=i\int\mathrm d^dy\,D_F(x-y)J(y),\\ \langle\mathrm T\phi(x)\phi(y)\rangle_J &=D_F(x-y)+\varphi_J(x)\varphi_J(y). \end{aligned}

    At zero source, the second derivative of ZL,0Z_{L,0} is −DF-D_F; multiplying by (−i)2(-i)^2 returns DFD_F. This agrees with the operator result in scalar correlation functions, including its contact term. The equation PφJ=JP\varphi_J=J has Feynman boundary data; an initial-value response uses a different kernel.

    The plus-source convention and ZL=eiWLZ_L=e^{iW_L} are also explicit in Srednicki's author-hosted draft, §21, Eqs. (21.2)–(21.3), PDF. His mostly-plus metric requires translating the scalar operator; the source differentiation itself is the finite calculation above.

    Summary

    The determinant fixes the unnormalized Gaussian, and its inverse kernel gives the covariance. A grid source couples through each cell’s volume. Dividing the ordinary derivative by that volume gives the field insertion with the correct contact normalization. In the Lorentzian vacuum functional the same operation yields the time-ordered Feynman two-point function. For the corresponding probability calculation, Gaussian vectors and Wick products develops the moment identities directly.

    Exercises

    1. Integrate out one coordinate

    Integrate out x1x_1 at nonzero source in the coupled example. What quadratic coefficient and source remain for x2x_2?

    Solution

    Complete the x1x_1 square with shift (j1−x2)/3(j_1-x_2)/3. Its integral contributes 3−1/2e(j1−x2)2/63^{-1/2}e^{(j_1-x_2)^2/6}. The remaining exponent is

    −56x22+(j2−j13)x2+j126.-\frac56x_2^2+\left(j_2-\frac{j_1}{3}\right)x_2+\frac{j_1^2}{6}.

    The effective quadratic coefficient is 5/35/3, the Schur complement 2−12/32-1^2/3. The source is j2−j1/3j_2-j_1/3. Completing this last square reproduces the full generating integral.

    2. A changed coupling

    Replace the off-diagonal entries by gg. Find the convergence range and mixed covariance.

    Solution

    The leading minor remains 33 and the determinant is 6−g26-g^2. Positivity holds exactly for ∣g∣<6|g|<\sqrt6. In that interval

    C=16−g2(2−g−g3),C12=−g6−g2.C=\frac1{6-g^2}\begin{pmatrix}2&-g\\-g&3\end{pmatrix}, \qquad C_{12}=-\frac{g}{6-g^2}.

    At either endpoint one eigenvalue vanishes, so the covariance diverges along its eigenvector. Beyond the interval the real integral is unstable.

    3. A constrained flat direction

    Constrain the flat example to x1=0x_1=0. Compute the surviving covariance and explain why it is not the full inverse of KK.

    Solution

    With induced measure dx2/2πdx_2/\sqrt{2\pi}, the integral is 1/21/\sqrt2, and ⟨x22⟩=1/2\langle x_2^2\rangle=1/2. Embedded in two coordinates its covariance is diag⁡(0,1/2)\operatorname{diag}(0,1/2), so KC=diag⁡(0,1)KC=\operatorname{diag}(0,1): the identity only on the retained subspace. The constraint changed the space being integrated; it did not invert the zero eigenvalue.

    4. A local source term

    For F[J]=∑awaJa3/3F[J]=\sum_a w_aJ_a^3/3, calculate DbF\mathscr D_bF and DcDbF\mathscr D_c\mathscr D_bF. Explain the continuum delta.

    Solution

    The first derivative is Jb2J_b^2. A second derivative gives 2Jbδbc/wc2J_b\delta_{bc}/w_c. Because the Kronecker delta enforces b=cb=c, either wbw_b or wcw_c gives the same denominator. In the continuum these expressions are J(x)2J(x)^2 and 2J(x)δ(d)(x−y)2J(x)\delta^{(d)}(x-y); integrating the latter against δJ(y)\delta J(y) produces 2J(x)δJ(x)2J(x)\delta J(x).

    5. Reverse the Lorentzian source

    Replace +ijq+ijq by −ijq-ijq in the finite Gaussian. Which of the mean, connected covariance and second derivative of WLW_L change?

    Solution

    The completed square now centers at −Gϵj-G_\epsilon j, but ZL=eijTGϵj/2Z_L=e^{ij^{\mathsf T}G_\epsilon j/2} is unchanged because it is even in jj. Therefore WL′=GϵjW_L'=G_\epsilon j is now minus the mean: the insertion rule is ZL′/ZL=−i⟨q⟩jZ_L'/Z_L=-i\langle q\rangle_j. The covariance remains −iGϵ-iG_\epsilon, and WL′′=GϵW_L''=G_\epsilon. The unchanged quadratic generator does not make the odd-insertion convention irrelevant.

    References

    • Srednicki, Mark. Quantum Field Theory, author-hosted draft. §21, Eqs. (21.2)–(21.3), defines the Lorentzian source functional. §44, Eqs. (44.27) and (44.38), gives real and complex commuting Gaussian normalizations. Draft and errata.
    • QFT.org conventions, §§5.1 and 5.4, for the Lorentzian and Euclidean source definitions.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.