Deriving the Mode Equation Behind a Computed Spectrum
Sandbox Physics ·
The Lab does not use slow-roll formulas to make its spectrum. It integrates the background and then every mode from its quantum vacuum until the mode freezes. This chapter derives those equations and the two checks that tell you a run can be trusted.
Start from the Friedmann equation 3H2=21ϕ˙2+V and the field equation ϕ¨+3Hϕ˙+V,ϕ=0. Replace time derivatives with ϕ˙=Hϕ′.
The Friedmann equation becomes H2(3−21ϕ′2)=V. With ϵ=21ϕ′2, which equals −H˙/H2, this is the first formula below. Using H′/H=−ϵ in the field equation gives the second.
These two lines are the whole background. Inflation ends where ϵ=1. Nothing here assumes slow roll; the field may lurch over a step and the equations still hold.
H2=3−ϵV,ϕ′′=−(3−ϵ)ϕ′−H2V,ϕ,ϵ=21ϕ′2
Exact single-field background equations in e-fold time.
When the potential is flat, ϕ′′ is small and ϵ≈ϵV=21(V,ϕ/V)2. The Lab uses this only for its dashed reference curve.
Worked example on the R2 plateau V=V0(1−e−2/3ϕ)2. Where the pivot exits for N∗=55, the integrator finds ϕ∗=5.3213. There e−2/3ϕ∗=0.012974, so V,ϕ/V=0.021464 and ϵV=2.30×10−4. The integrated background gives ϵ=2.28×10−4, about one per cent lower.
Expanding the action to second order in comoving gauge leaves one scalar degree of freedom, the curvature perturbation R. The combination v=zR with z=aϕ′ obeys a wave equation in conformal time with an effective mass z′′/z.
Rewritten in e-folds, it becomes the first equation below. The friction term is dln(z2aH)/dN; this is the flux form of the previous chapter, expanded. Each tensor polarisation has the same structure with z replaced by a, so its friction is only 3−ϵ.
A sharp step makes ϕ′′/ϕ′ jump for a fraction of an e-fold. The friction term then kicks the modes crossing the horizon at that moment. That is where the ringing comes from.
Deep inside the horizon the mode is a flat-space wave, which fixes the starting state v→e−ikτ/2k. We use the exact de Sitter form of that solution at τ=−1/(aH) and start when k/aH=100.
Starting too late would add an error from the approximate initial state; starting earlier only costs time. The benchmark script checks this choice: against the exact power-law answer, the error stays below 2×10−6 whether the start is k/aH=50, 100 or 200.
vk(τ)=2ke−ikτ(1−kτi),Rk=zvk
The de Sitter mode function used for the initial data; τ is conformal time.
Canonical quantisation requires v∂τv∗−v∗∂τv=i for all time. Since v=zR and ∂τ=aHd/dN, this becomes the condition below. Exact solutions keep it; numerical errors break it.
In the Lab’s fixed-step integrator the drift falls with the step size as expected. For a power-law test, step factors 0.3, 0.15 and 0.075 give Wronskian drifts of 1.1×10−3, 4.3×10−5 and 5.5×10−6, beside power errors of 7.7×10−4, 4.4×10−5 and 6.5×10−6. The two shrink together, so the drift is a usable warning light.
z2aH(RR∗′−R∗R′)=i
Must hold at every step. Its deviation from i measures integration error without knowing the answer.
We stop each mode at k/aH=10−3, when it has frozen, and form the spectra below. The tensor factor 8 combines two polarisations with the 2/Mpl normalisation of each.
The leading slow-roll estimate H2/(8π2ϵ) at k=aH is the dashed curve. On the plateau it sits 2.5% below the numerical result at the pivot; for 21m2ϕ2 the gap is 0.8%. The leading formula drops terms of the order of the slow-roll parameters. On the plateau ∣ηV∣ is about 0.017 while ϵ is near 2×10−4, so a gap of a few per cent is the expected size.
∂τv∗=ikeikτ/2k, so v∂τv∗=i/2. Likewise v∗∂τv=−i/2. The difference is i, independent of time.
Derive H2=V/(3−ϵ) from the Friedmann equation, and say what happens to H as ϵ rises to 1.
Read the explanation
With ϕ˙=Hϕ′, 3H2=21H2ϕ′2+V, so H2(3−ϵ)=V. As ϵ→1, H2→V/2 instead of V/3: kinetic energy now makes up a third of the total, and acceleration stops.
Why does a step change the scalar spectrum strongly but the tensor spectrum hardly at all?
Read the explanation
The step enters the scalar friction through 2ϕ′′/ϕ′, which jumps when the field lurches. The tensor friction 3−ϵ only sees ϵ, which a small step barely changes. The Lab’s tensor ratio at the pivot stays 0.00355 with or without the default step.
Choose Smooth plateau. In the spectrum chart, compare the computed line with the dashed slow-roll reference: they are parallel but a few per cent apart.
Choose Steep slope, strong gravitational waves. The gap shrinks, as the 0.8% figure predicts.
Choose Sharp step, exaggerated. The slow-roll reference shows one dip where the field lurches, while the computed spectrum rings over a wider band. The leading formula reads only the local background, so it misses the ringing.
Full v2 PDF (2 August 2019) read for Sections 4.2 and 7.1–7.3: equations 47–48, the step template in equations 57–62, Table 11 priors, Table 12 step results and Figure 28. The headline spectral index and amplitude quoted in this course come from its parameter tables.
Full review read. Used: Section 23.3.4 equations 23.55–23.57 and its sentence on the ACT combination, Section 23.6 on reheating and the number of e-folds after the pivot exits, and Section 23.7.3.2 equations 23.101–23.103 for the sign convention of the local non-Gaussian amplitude and its single-field squeezed-limit value.
Full v2 read. Equation 1 defines the tanh step we use; equations 6–19 set out the mode equation in e-fold time and its initial data. Our code is written independently and puts the step on the Starobinsky plateau and on a quadratic potential, not only on the paper’s quadratic case.
Full v5 read. Equation 1.2 gives the squeezed-limit argument. In that paper the tilt symbol means the deviation from scale invariance, which modern papers write as the spectral index minus one.
Full v1 read, with printed pages 4–6 checked as images. Equations 31, 41 and 43 give the exact power-law-inflation spectra that our solver must reproduce.
Our own calculations: the Lab integrator and a separate NumPy/SciPy reference agree to better than three parts in ten thousand on all five presets. The ZIP holds the Python reference, closed-form benchmarks, five inputs and expected outputs. No Engine code and no paper text is included.
Keep reading
What this page links to directly
You are hereDeriving the Mode Equation Behind a Computed Spectrum