Skip to content

Variational Principles and Boundary Terms

A holographic calculation is only as good as its variational principle. The equations of motion determine the bulk solution, but the boundary terms determine what data are held fixed, what quantity is interpreted as the response, which thermodynamic ensemble is being used, and whether the on-shell action is finite.

The guiding rule is simple:

sources are the variables held fixed at the boundary,one-point functions are conjugate momenta after renormalization.\text{sources are the variables held fixed at the boundary,} \qquad \text{one-point functions are conjugate momenta after renormalization.}

This appendix collects the boundary terms used repeatedly in the course. The formulas are written for the most common AdS/CFT conventions. Signs can change with Lorentzian versus Euclidean signature, outward-normal conventions, and whether one varies γij\gamma_{ij} or γij\gamma^{ij}. The safest practice is always to vary the action explicitly.

A flowchart showing how bulk actions, boundary terms, counterterms, and optional Legendre or mixed terms produce a well-posed variational principle and finite one-point functions.

A holographic variational principle has three layers: the bulk action gives equations of motion, boundary terms make the chosen boundary conditions well posed, and counterterms make the on-shell variation finite. Optional Legendre or mixed terms change the ensemble or boundary condition.

For any bulk field Φ\Phi, the variation of the action has the schematic form

δS=MEΦδΦ+MΘ(Φ,δΦ).\delta S = \int_M E_\Phi\,\delta\Phi + \int_{\partial M}\Theta(\Phi,\delta\Phi).

Here EΦ=0E_\Phi=0 gives the equations of motion, while Θ\Theta is the boundary variation. On shell,

δSon-shell=MΘ(Φ,δΦ).\delta S_{\text{on-shell}} = \int_{\partial M}\Theta(\Phi,\delta\Phi).

A well-posed variational principle for Dirichlet data has the form

δSren,on-shell=Mddxg(0)OAδJA,\delta S_{\text{ren,on-shell}} = \int_{\partial M} d^d x\sqrt{|g_{(0)}|}\, \langle \mathcal O_A\rangle\,\delta J^A,

where JAJ^A are sources held fixed at the boundary. If δJA=0\delta J^A=0, the on-shell variation vanishes.

Changing boundary terms changes the variational problem. It can turn Dirichlet data into Neumann data, impose mixed boundary conditions, or switch between grand-canonical and canonical ensembles.

In holographic renormalization, one introduces a cutoff surface near the boundary. In Poincare coordinates,

ds2=L2z2(dz2+gij(z,x)dxidxj),ds^2 = \frac{L^2}{z^2}\left(dz^2+g_{ij}(z,x)dx^idx^j\right),

one often regulates the geometry at

z=ϵ.z=\epsilon.

The regulated bulk region is zϵz\ge \epsilon, so the outward-pointing unit normal toward the AdS boundary is

naa=zLzat z=ϵ.n^a\partial_a=-\frac{z}{L}\partial_z \qquad \text{at }z=\epsilon.

In rr coordinates, where the boundary is rr\to\infty, the regulated region is usually rrcr\le r_c, and the outward normal points toward increasing rr.

The induced metric on the cutoff surface is denoted γij\gamma_{ij}. The boundary metric source is obtained after a Weyl rescaling and a limit, for example

g(0)ij=limϵ0ϵ2L2γij.g_{(0)ij} = \lim_{\epsilon\to0}\frac{\epsilon^2}{L^2}\gamma_{ij}.

Consider a Euclidean scalar action

Sϕ=12Mdd+1xg(gabaϕbϕ+m2ϕ2).S_\phi = \frac12\int_M d^{d+1}x\sqrt{g} \left(g^{ab}\partial_a\phi\partial_b\phi+m^2\phi^2\right).

Its variation is

δSϕ=Mdd+1xg(2ϕ+m2ϕ)δϕ+Mddxγnaaϕδϕ.\delta S_\phi = \int_M d^{d+1}x\sqrt{g}\,(-\nabla^2\phi+m^2\phi)\delta\phi + \int_{\partial M} d^d x\sqrt{\gamma}\,n^a\partial_a\phi\,\delta\phi.

The bare canonical momentum is therefore

Πϕ=γnaaϕ.\Pi_\phi = \sqrt{\gamma}\,n^a\partial_a\phi.

Near the AdS boundary, a scalar behaves schematically as

ϕ(z,x)=zdΔϕ(0)(x)++zΔA(x)+,\phi(z,x) = z^{d-\Delta}\phi_{(0)}(x) + \cdots + z^\Delta A(x) + \cdots,

with

m2L2=Δ(Δd).m^2L^2=\Delta(\Delta-d).

The raw momentum Πϕ\Pi_\phi diverges as the cutoff is removed. Counterterms define a renormalized momentum,

Πϕ,ren=δSrenδϕ(0).\Pi_{\phi,\mathrm{ren}} = \frac{\delta S_{\mathrm{ren}}}{\delta\phi_{(0)}}.

The standard-quantization one-point function is

O=1g(0)δSrenδϕ(0).\langle\mathcal O\rangle = \frac{1}{\sqrt{|g_{(0)}|}} \frac{\delta S_{\mathrm{ren}}}{\delta\phi_{(0)}}.

For a simple scalar without derivative sources, the nonlocal part is proportional to the normalizable coefficient A(x)A(x), but local terms may be added by counterterms or finite scheme choices.

There are three common scalar boundary conditions.

Boundary conditionFixed dataBoundary interpretationTypical action
Dirichletϕ(0)\phi_{(0)}source for O\mathcal OSrenS_{\mathrm{ren}}
Neumann / alternaterenormalized momentumsource for alternate operatorLegendre-transformed action
mixedrelation between ϕ(0)\phi_{(0)} and momentummulti-trace deformationSren+W(ϕ(0))S_{\mathrm{ren}}+\int W(\phi_{(0)})

For alternate quantization one performs a Legendre transform. Schematically,

S~ren=Srenddxg(0)ϕ(0)O,\widetilde S_{\mathrm{ren}} = S_{\mathrm{ren}} - \int d^d x\sqrt{|g_{(0)}|}\,\phi_{(0)}\langle\mathcal O\rangle,

where the precise normalization depends on how the source and response have been normalized.

For mixed boundary conditions, one adds a boundary functional

SW=ddxg(0)W(ϕ(0)),S_W = \int d^d x\sqrt{|g_{(0)}|}\,W(\phi_{(0)}),

so that the boundary condition becomes, schematically,

O+W(ϕ(0))=0\langle\mathcal O\rangle+W'(\phi_{(0)})=0

when no external source is present. In the CFT this corresponds to a multi-trace deformation.

For a bulk gauge field,

SA=14gF2Mdd+1xgFabFab,F=dA.S_A = -\frac{1}{4g_F^2} \int_M d^{d+1}x\sqrt{-g}\,F_{ab}F^{ab}, \qquad F=dA.

The on-shell variation is

δSAon-shell=1gF2MddxγnaFaiδAi.\delta S_A\big|_{\text{on-shell}} = -\frac{1}{g_F^2} \int_{\partial M}d^d x\sqrt{|\gamma|}\,n_aF^{ai}\delta A_i.

Thus the bare canonical momentum is

ΠAi=γgF2naFai.\Pi_A^i = -\frac{\sqrt{|\gamma|}}{g_F^2}n_aF^{ai}.

After adding counterterms and taking the limit,

Ji=1g(0)δSrenδA(0)i.\langle J^i\rangle = \frac{1}{\sqrt{|g_{(0)}|}} \frac{\delta S_{\mathrm{ren}}}{\delta A_{(0)i}}.

For finite density, the near-boundary temporal component often has the form

At(z)=μρzd2+,A_t(z)=\mu-\rho\,z^{d-2}+\cdots,

for d>2d>2 in a simple Maxwell theory. The coefficient μ\mu is the chemical potential, while the canonical momentum is proportional to the charge density.

Dirichlet boundary conditions fix A(0)iA_{(0)i}. For AtA_t, this is the grand-canonical ensemble: the chemical potential is fixed. A Neumann or Legendre-transformed action fixes charge density instead and corresponds to a canonical ensemble.

Gauge fields also require a conceptual boundary condition: gauge transformations that do not vanish at the boundary act as global symmetries of the CFT. The boundary value A(0)iA_{(0)i} is a background source for that global current, not a dynamical gauge field unless one explicitly changes the boundary theory.

In odd bulk dimensions one may have Chern–Simons terms, for example

SCSAFF.S_{\mathrm{CS}} \sim \int A\wedge F\wedge F.

Such terms modify the canonical momentum and can produce anomalies in the boundary current. The general rule is unchanged: vary the full action, including topological terms and any required boundary terms, then identify the finite coefficient of δA(0)i\delta A_{(0)i}.

Do not compute currents from the Maxwell term alone if Chern–Simons terms are present.

The Einstein–Hilbert action is

SEH=116πGd+1Mdd+1xg(R2Λ).S_{\mathrm{EH}} = \frac{1}{16\pi G_{d+1}} \int_M d^{d+1}x\sqrt{|g|}\,(R-2\Lambda).

Its variation contains second-derivative boundary terms. Schematically,

δSEH=116πGd+1MgEabδgab+116πGd+1Mγna(bδgabgbcaδgbc).\delta S_{\mathrm{EH}} = \frac{1}{16\pi G_{d+1}} \int_M\sqrt{|g|}\,E_{ab}\delta g^{ab} + \frac{1}{16\pi G_{d+1}} \int_{\partial M}\sqrt{|\gamma|}\,n^a \left(\nabla^b\delta g_{ab}-g^{bc}\nabla_a\delta g_{bc}\right).

This is not a good Dirichlet variational principle for the induced metric γij\gamma_{ij}, because the boundary variation contains normal derivatives of δgab\delta g_{ab}.

The remedy is the Gibbons–Hawking–York term

SGHY=18πGd+1MddxγK,S_{\mathrm{GHY}} = \frac{1}{8\pi G_{d+1}} \int_{\partial M}d^d x\sqrt{|\gamma|}\,K,

where

K=γijKij,Kij=γiaγjbanb.K=\gamma^{ij}K_{ij}, \qquad K_{ij}=\gamma_i{}^a\gamma_j{}^b\nabla_a n_b.

For a radial AdS cutoff boundary with spacelike outward normal, this sign convention is the one used throughout the course. If the boundary contains spacelike initial/final slices or null/corner pieces, additional signs and corner terms must be handled separately.

On shell, the variation of SEH+SGHYS_{\mathrm{EH}}+S_{\mathrm{GHY}} becomes

δ(SEH+SGHY)on-shell=116πGd+1Mddxγ(KijKγij)δγij.\delta(S_{\mathrm{EH}}+S_{\mathrm{GHY}})_{\text{on-shell}} = \frac{1}{16\pi G_{d+1}} \int_{\partial M}d^d x\sqrt{|\gamma|}\, \left(K^{ij}-K\gamma^{ij}\right)\delta\gamma_{ij}.

The corresponding bare Brown–York tensor is

TBY,bareij=18πGd+1(KijKγij).T^{ij}_{\mathrm{BY,bare}} = \frac{1}{8\pi G_{d+1}} \left(K^{ij}-K\gamma^{ij}\right).

In asymptotically AdS spacetimes this diverges as the cutoff is removed. Holographic counterterms are needed.

The renormalized gravitational action has the schematic form

Sren=limϵ0(SEHzϵ+SGHYz=ϵ+Sctz=ϵ).S_{\mathrm{ren}} = \lim_{\epsilon\to0} \left( S_{\mathrm{EH}}^{z\ge\epsilon} + S_{\mathrm{GHY}}^{z=\epsilon} + S_{\mathrm{ct}}^{z=\epsilon} \right).

For asymptotically AdS Einstein gravity, the first counterterms are

Sct=18πGd+1z=ϵddxγ[d1L+L2(d2)R[γ]+],S_{\mathrm{ct}} = -\frac{1}{8\pi G_{d+1}} \int_{z=\epsilon}d^d x\sqrt{|\gamma|} \left[ \frac{d-1}{L} + \frac{L}{2(d-2)}R[\gamma] +\cdots \right],

for d>2d>2, with additional curvature-squared and logarithmic terms in higher dimensions. The pole at d=2d=2 is a warning that the two-dimensional case has a logarithmic Weyl-anomaly structure and should be treated separately.

The renormalized stress tensor is

Tij=2g(0)δSrenδg(0)ij.\langle T^{ij}\rangle = \frac{2}{\sqrt{|g_{(0)}|}} \frac{\delta S_{\mathrm{ren}}}{\delta g_{(0)ij}}.

Equivalently, it is the finite rescaled limit of the Brown–York tensor plus counterterm contributions.

Fermionic actions are first order, so their variational principles differ from scalar and Maxwell fields. A bulk Dirac action has the schematic form

Sψ=Mdd+1xgψˉ(ΓaDam)ψ+Sψ.S_\psi = \int_M d^{d+1}x\sqrt{|g|}\,\bar\psi(\Gamma^aD_a-m)\psi +S_{\partial\psi}.

Near the boundary, decompose the spinor into radial eigenspaces,

ψ=ψ++ψ,Γr^ψ±=±ψ±.\psi=\psi_+ + \psi_-, \qquad \Gamma^{\hat r}\psi_\pm=\pm\psi_\pm.

The boundary variation pairs ψ+\psi_+ and ψ\psi_-. One fixes only half of the spinor data; the other half is the conjugate response. The boundary term SψS_{\partial\psi} selects which half is held fixed and determines the sign and normalization of the fermionic two-point function.

The key lesson is not to impose Dirichlet boundary conditions on all spinor components. First-order equations do not allow that.

Boundary terms encode ensembles. The same bulk equations can describe different boundary theories or different thermodynamic ensembles depending on the boundary term.

Bulk fieldDirichlet dataResponseAlternative boundary termBoundary meaning
scalar ϕ\phiϕ(0)\phi_{(0)}O\langle\mathcal O\rangleLegendre or W(ϕ(0))W(\phi_{(0)})alternate quantization or multi-trace deformation
gauge field AiA_iA(0)iA_{(0)i}Ji\langle J^i\rangleLegendre transform in AiA_ifixed charge/current ensemble
metric gijg_{ij}g(0)ijg_{(0)ij}Tij\langle T^{ij}\rangleNeumann/mixed gravity termsdynamical boundary gravity or stress-tensor deformation
spinor ψ\psihalf of radial spinor dataconjugate halfalternate spinor boundary termalternate fermion quantization

For most of this course, the default is Dirichlet boundary conditions for the boundary metric and background sources, plus the counterterms required by holographic renormalization.

The basic GHY term assumes a smooth non-null boundary. If the boundary is piecewise smooth, additional joint or corner terms may be required. If the boundary includes null segments, the appropriate boundary terms involve the null generator, its non-affinity, and possible joint terms.

These terms are essential in some modern topics, especially gravitational complexity and finite-region actions. They are usually not needed for the foundational AdS/CFT calculations in this course, where the regulator surface is a smooth radial cutoff and the horizon is handled by regularity or infalling conditions rather than by treating it as a boundary of the variational problem.

When setting up a holographic calculation, use this checklist.

  1. Choose the field content and action. Include all bulk terms relevant to the correlator or thermodynamic quantity.
  2. Choose the boundary data. Decide which coefficients are sources and which ensemble is intended.
  3. Vary the action. Identify the boundary term in δS\delta S.
  4. Add terms for a well-posed variational principle. For gravity this includes SGHYS_{\mathrm{GHY}}; for other fields this may include Legendre or mixed terms.
  5. Add counterterms. Remove cutoff divergences by local covariant terms on the cutoff surface.
  6. Take the finite variation. The coefficients of source variations are the renormalized one-point functions.
  7. Check Ward identities. Diffeomorphism, gauge, and Weyl identities are the best way to catch missing boundary terms or sign errors.

No. The GHY term makes the Dirichlet gravitational variational principle well posed. It does not by itself cancel AdS divergences. Holographic counterterms are additional local functionals of the induced fields.

“The horizon is a boundary where I should fix data.”

Section titled ““The horizon is a boundary where I should fix data.””

For ordinary thermal AdS/CFT correlators, the horizon is not a boundary of the variational problem in the same sense as the AdS boundary. In Euclidean signature one imposes smoothness. In Lorentzian retarded problems one imposes infalling regularity.

“Changing a boundary term is just a convention.”

Section titled ““Changing a boundary term is just a convention.””

Some finite local counterterms are scheme choices. But Legendre transforms and mixed boundary terms can change the physical boundary condition and hence the dual theory or ensemble.

“The canonical momentum is automatically the vev.”

Section titled ““The canonical momentum is automatically the vev.””

The bare canonical momentum usually diverges near the AdS boundary. The vev is the renormalized canonical momentum, possibly with local finite contributions depending on scheme.

Starting from

Sϕ=12Mg((ϕ)2+m2ϕ2),S_\phi = \frac12\int_M\sqrt{g}\left((\nabla\phi)^2+m^2\phi^2\right),

show that the on-shell variation is

δSϕon-shell=Mγnaaϕδϕ.\delta S_\phi\big|_{\text{on-shell}} = \int_{\partial M}\sqrt{\gamma}\,n^a\partial_a\phi\,\delta\phi.
Solution

Varying the action gives

δSϕ=Mg(aϕaδϕ+m2ϕδϕ).\delta S_\phi = \int_M\sqrt{g}\left(\nabla^a\phi\nabla_a\delta\phi+m^2\phi\delta\phi\right).

Integrating the first term by parts,

Mgaϕaδϕ=Mg(2ϕ)δϕ+Mγnaaϕδϕ.\int_M\sqrt{g}\,\nabla^a\phi\nabla_a\delta\phi = -\int_M\sqrt{g}\,(\nabla^2\phi)\delta\phi + \int_{\partial M}\sqrt{\gamma}\,n^a\partial_a\phi\,\delta\phi.

Thus

δSϕ=Mg(2ϕ+m2ϕ)δϕ+Mγnaaϕδϕ.\delta S_\phi = \int_M\sqrt{g}\,(-\nabla^2\phi+m^2\phi)\delta\phi + \int_{\partial M}\sqrt{\gamma}\,n^a\partial_a\phi\,\delta\phi.

On shell, the bulk term vanishes.

For a Maxwell field with only At(z)A_t(z) nonzero in a diagonal black-brane background, show that the radial canonical momentum is independent of zz on shell.

Solution

The Maxwell equation is

aFat=0.\nabla_aF^{at}=0.

Equivalently,

a(gFat)=0.\partial_a\left(\sqrt{-g}F^{at}\right)=0.

If the field depends only on zz, this becomes

z(gFzt)=0.\partial_z\left(\sqrt{-g}F^{zt}\right)=0.

Therefore

gFzt=constant.\sqrt{-g}F^{zt}=\text{constant}.

Up to the factor 1/gF2-1/g_F^2 and the cutoff normal convention, this constant is the radial canonical momentum conjugate to AtA_t. Holographically it is the conserved charge density.

Why is the Einstein–Hilbert action alone not a well-posed Dirichlet variational principle for the metric?

Solution

The Ricci scalar contains second derivatives of the metric. When the Einstein–Hilbert action is varied and integrations by parts are performed, the boundary variation contains normal derivatives of δgab\delta g_{ab}. Dirichlet boundary conditions fix the induced metric variation δγij\delta\gamma_{ij} at the boundary, but they do not fix its normal derivative. Therefore the on-shell variation of the Einstein–Hilbert action alone does not vanish under Dirichlet boundary conditions.

The GHY term cancels precisely these unwanted normal-derivative terms. The combined action SEH+SGHYS_{\mathrm{EH}}+S_{\mathrm{GHY}} has an on-shell boundary variation proportional to δγij\delta\gamma_{ij}, so fixing the induced metric gives a well-posed variational principle.