Write . The delta functions in evaluate the local last-scattering sources, while the piecewise weights the integrated gravitational source. Thus
The first two lines are weighted Sachs-Wolfe combination and Doppler sources at the two last-scattering surfaces; the final lines are the corresponding Integrated Sachs-Wolfe effect.
To predict these quantities from primordial perturbations, one solves the coupled linear Einstein field equations and Boltzmann equation hierarchy for photons, baryons, cold dark matter, and neutrinos, together with the ionization history that determines and hence . The solutions provide , , , and at both surfaces and along the line of sight.