---
title: "How dust and lensing add B-modes, and how to take them out"
description: "Derive how lensing bends E into B, how dust scales with frequency, and how a template removes lensing power, then add up the B power at multipole 80."
canonical_url: "https://sandboxphysics.com/stories/cmb-b-modes/how-dust-and-lensing-add-b-modes/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/cmb-b-modes/how-dust-and-lensing-add-b-modes/"
last_modified: "2026-11-14"
---

[CMB B-modes, dust and delensing](https://sandboxphysics.com/stories/cmb-b-modes/)

# How dust and lensing add B-modes, and how to take them out

Sandbox Physics · 2026-11-14

Two later effects put B-modes into a sky that started with none. Matter between us and the last-scattering surface bends the light by a few arcminutes and twists part of the E pattern into B. Magnetically aligned dust grains in our own Galaxy glow with polarized light of their own. At $\ell = 80$ and $150\ \mathrm{GHz}$, lensing alone looks like $r \approx 0.03$ and typical dust like $r \approx 0.15$. Dust is removed by comparing maps at several frequencies, because its brightness changes with frequency and the microwave background's does not. Lensing is reduced by estimating the bending and undoing it, which leaves a fraction $1 - \rho^2$ of its power. This chapter derives the lensing B spectrum to first order, builds the dust frequency law, and puts both into one budget.

It uses the $E$/$B$ split from the [previous chapter](https://sandboxphysics.com/stories/cmb-b-modes/splitting-a-polarization-map-into-e-and-b/). Spectra are in $\mu\mathrm{K}^2$ in microwave-background temperature units, and $D_\ell = \ell(\ell+1)C_\ell/2\pi$.

## Lensing moves the polarization pattern

Light from direction $\mathbf{x}$ actually left the last-scattering surface from a nearby direction $\mathbf{x} + \nabla\psi$, where $\psi$ is the lensing potential, a weighted projection of the gravitational potential along the line of sight. Lewis and Challinor estimate the deflection by counting about fifty potential wells along the path, each giving about $10^{-4}$ radians, and arrive at about $2$ arcminutes. The CAMB spectrum used in the Lab gives an rms deflection of $2.4$ arcminutes on its patch. Because the deflection is small, the lensed polarization is, to first order,

$$
\tilde P(\mathbf{x}) = P(\mathbf{x} + \nabla\psi) \approx P(\mathbf{x}) + \nabla\psi\cdot\nabla P(\mathbf{x}) ,
$$

with $P = Q + iU$. The correction term is a product of two fields. In Fourier space a product becomes a sum over pairs of waves: a lens wave $\boldsymbol L$ and an $E$ wave $\boldsymbol\ell'$ combine into a polarization wave $\boldsymbol\ell = \boldsymbol\ell' + \boldsymbol L$ whose direction differs from that of $\boldsymbol\ell'$. In the axes of the new wave the old rods sit at a slant, and the part of them at $45^\circ$ reads as $B$.

## The lensing B spectrum

Start from a sky with only $E$ and apply the $E$/$B$ rotation to the correction term. Keeping terms of order $C^\psi$, Lewis and Challinor obtain

$$
\tilde C_\ell^{BB} = \int\frac{d^2\ell'}{(2\pi)^2}\,\big[\boldsymbol\ell'\cdot(\boldsymbol\ell - \boldsymbol\ell')\big]^2\,C^\psi_{|\boldsymbol\ell - \boldsymbol\ell'|}\,C^{EE}_{\ell'}\,\sin^2 2(\varphi_{\ell'} - \varphi_\ell) .
$$

The factor $\sin^2 2(\varphi_{\ell'} - \varphi_\ell)$ is the part of an $E$ wave at angle $\varphi_{\ell'}$ that reads as $B$ in the axes of the wave at $\varphi_\ell$, the same rotation as in the previous chapter.

On the large scales where the gravitational-wave signal lives, $\ell \ll \ell'$ for the $E$ waves that matter, which peak near $\ell' \sim 1000$. Then $\boldsymbol\ell - \boldsymbol\ell' \approx -\boldsymbol\ell'$, the bracket becomes $\ell'^4$, $C^\psi_{|\boldsymbol\ell - \boldsymbol\ell'|} \approx C^\psi_{\ell'}$, and the angle average of $\sin^2 2(\varphi_{\ell'} - \varphi_\ell)$ is $1/2$. Writing $d^2\ell' = \ell'\,d\ell'\,d\varphi_{\ell'}$,

$$
\tilde C_\ell^{BB} \approx \frac{1}{4\pi}\int \ell'\,d\ell'\;\ell'^4 C^\psi_{\ell'}\,C^{EE}_{\ell'} .
$$

Nothing on the right depends on $\ell$. On large scales lensing B is white noise, with $C_\ell^{BB}$ the same at every $\ell$. Lewis and Challinor quote about $2\times10^{-6}\ \mu\mathrm{K}^2$ for standard models, and the CAMB spectrum used here gives $1.99\times10^{-6}\ \mu\mathrm{K}^2$ at $\ell = 80$.

Worked example. Convert to a band power at $\ell = 80$: $D_{80} = 80\times81/(2\pi)\times1.99\times10^{-6} \approx 0.0021\ \mu\mathrm{K}^2$. The tensor B spectrum for $r = 1$ gives $D_{80} = 0.0647\ \mu\mathrm{K}^2$, so lensing looks like $r \approx 0.0021/0.0647 \approx 0.032$. Lensing alone is as large as the signal the Lab's default sky contains.

The Lab's lensing was checked against a separate calculation. A script that remaps a Gaussian $E$ map pixel by pixel recovers the first-order integral to within 2.5 percent in every band from $\ell = 20$ to $1900$. Without the patch's limits, that integral stays 1 to 3 percent below CAMB's full lensed spectrum at every tested $\ell$.

## Delensing

If the deflection field were known, the remapping could be run backwards. In practice $\psi$ is estimated from a tracer: the distortions lensing leaves in the microwave background itself, or the cosmic infrared background, which comes from galaxies along the same line of sight. Sherwin and Schmittfull show that when $E$ is measured well, using a tracer correlated with the true lensing by a coefficient $\rho$ reduces the lensing power by

$$
C^{\kappa\kappa}_L \;\to\; (1 - \rho_L^2)\,C^{\kappa\kappa}_L ,
$$

and if $\rho$ does not depend on scale the lensing B power falls by the same factor $1 - \rho^2$. A tracer with $\rho = 0.9$ removes 81 percent of the lensing power; $\rho = 0.5$ removes only a quarter.

The Lab's slider sets $\rho^2$ directly. It subtracts a template that shares a fraction of the true deflection and adds an independent part, so the residual is not a scaled copy of the lensing map. In the verification run the residual power in bands above $\ell = 50$ was $0.50$ and $0.20$ of the original for $\rho^2 = 0.5$ and $0.8$, within 3 percent. The template uses a noise-free $E$ map, which real data do not provide.

The first time delensing improved a published $r$ limit was a joint BICEP/Keck and SPTpol analysis of BICEP/Keck data through 2014. Its lensing template brought the expected uncertainty $\sigma(r)$ from $0.024$ to $0.022$, about 10 percent, where a perfect template would have given 26 percent. The 95 percent upper limit moved from $0.090$ to $0.082$.

## Dust: a frequency law

Interstellar grains of silicate and carbon are elongated and line up with the Galactic magnetic field, so their thermal glow is polarized. Planck fits the polarized dust intensity with a modified blackbody,

$$
I_\nu \propto \nu^{\beta_d}\,B_\nu(T_d),\qquad \beta_d = 1.53,\quad T_d = 19.6\ \mathrm{K},
$$

where $B_\nu(T)$ is the Planck function. Microwave maps are calibrated in temperature units, in which the microwave background has the same amplitude at every frequency. To put dust in the same units, divide by $dB_\nu/dT$ at $T_\mathrm{CMB} = 2.7255\ \mathrm{K}$. The dust amplitude at $\nu$ relative to $353\ \mathrm{GHz}$ is then

$$
f(\nu) = \frac{\nu^{\beta_d}B_\nu(T_d)\,/\,\partial_T B_\nu(T_\mathrm{CMB})}{\nu_0^{\beta_d}B_{\nu_0}(T_d)\,/\,\partial_T B_{\nu_0}(T_\mathrm{CMB})},\qquad \nu_0 = 353\ \mathrm{GHz} .
$$

Numerically $f = 0.0184$ at $95\ \mathrm{GHz}$, $0.0477$ at $150\ \mathrm{GHz}$ and $0.139$ at $220\ \mathrm{GHz}$. Power goes as $f^2$. Planck also finds that dust B power falls slowly with scale, $C_\ell \propto \ell^{-2.54}$ or $D_\ell \propto \ell^{-0.54}$, and that dust $E$ power is about twice dust $B$ power.

Worked example. BK18 measures the dust B amplitude in its field as $A_d = 4.4\ \mu\mathrm{K}^2$ at $\ell = 80$ and $353\ \mathrm{GHz}$. At $150\ \mathrm{GHz}$ that becomes $4.4\times0.0477^2 \approx 0.0100\ \mu\mathrm{K}^2$, which is $r \approx 0.0100/0.0647 \approx 0.155$. At $95\ \mathrm{GHz}$ it is $0.0015\ \mu\mathrm{K}^2$, or $r \approx 0.023$, and at $220\ \mathrm{GHz}$ it is $0.085\ \mu\mathrm{K}^2$, or $r \approx 1.3$. Even in one of the cleanest patches of sky, dust at $150\ \mathrm{GHz}$ is five times the Lab's default signal.

## Adding up the B budget

The Lab's default sky has $r = 0.03$, $A_d = 4.4\ \mu\mathrm{K}^2$, full lensing and no delensing, observed at $150\ \mathrm{GHz}$. Assuming the noise power is known and subtracted, the B band power at $\ell = 80$ is

$$
D_{80}^{BB} = \underbrace{0.03\times0.0647}_{\text{tensor}\;0.0019} + \underbrace{0.0021}_{\text{lensing}} + \underbrace{0.0100}_{\text{dust}} \approx 0.0140\ \mu\mathrm{K}^2 .
$$

Anyone who called all of it primordial would infer $r \approx 0.0140/0.0647 \approx 0.22$, and the true gravitational waves make up $0.0019/0.0140 \approx 14$ percent. These are the Lab's default readouts.

## Cleaning dust with a second frequency

The microwave background has the same amplitude in temperature units at every frequency, while dust at $\nu$ is $f(\nu)$ times dust at $353\ \mathrm{GHz}$. With maps $m_\nu$ and $m_{353}$, form

$$
m_\mathrm{clean} = \frac{m_\nu - a\,m_{353}}{1 - a},\qquad a = f(\nu) .
$$

The background passes through unchanged, because $(1 - a)/(1 - a) = 1$. The dust cancels exactly, because $f(\nu)\,d_{353} - a\,d_{353} = 0$. The price is noise: the $353\ \mathrm{GHz}$ noise enters multiplied by $a/(1 - a)$. At $150\ \mathrm{GHz}$, $a = 0.0477$, so even a noisy $353\ \mathrm{GHz}$ map adds little.

Two things break exact cancellation. If the assumed $\beta_d$ is wrong, $a$ is wrong and a fixed fraction of dust is left. If the dust pattern differs slightly between frequencies, because clouds with different temperatures or grain mixes overlap along the line of sight, the two maps are correlated by $\rho_d < 1$. With dust power $s_\nu^2$ at $\nu$ and $s_\nu^2/a^2$ at $353\ \mathrm{GHz}$, the residual dust power is

$$
\frac{s_\nu^2 + a^2(s_\nu^2/a^2) - 2a\rho_d\,s_\nu(s_\nu/a)}{(1 - a)^2} = \frac{2(1 - \rho_d)\,s_\nu^2}{(1 - a)^2} .
$$

BK18 tests this by adding a decorrelation parameter to its fit. Real analyses also fit synchrotron emission from electrons spiralling in the Galactic magnetic field, which rises toward low frequency and which the Lab omits.

Worked example. The method tutorial cleans a synthetic $150\ \mathrm{GHz}$ map with a $353\ \mathrm{GHz}$ map. Fitting $r$ to the $150\ \mathrm{GHz}$ map alone gives $0.274 \pm 0.011$ for a sky made with $r = 0.03$. After cleaning it gives $0.0335 \pm 0.0118$. With $\beta_d = 1.63$ assumed instead of $1.53$ it gives $0.0361$, and with dust decorrelated at $\rho_d = 0.95$ it gives $0.0425$. The quoted uncertainty includes only microwave-background and noise scatter, not dust-model uncertainty.

## Lab tasks

1. Choose Dust posing as a signal. Read the apparent $r$, then predict what it becomes at $95\ \mathrm{GHz}$ and check.
2. Raise the frequency slowly from $150$ to $270\ \mathrm{GHz}$. Explain from $f(\nu)^2$ why the dust curve rises by about a factor of 37.
3. Choose Delensing uncovers the signal. Move the delensing slider from $0$ to $0.9$ and record the primordial share at three settings. Compare with $1 - \rho^2$ applied to the lensing term.
4. Drag the mass clump across the map in the Lensing turns E into B preset. Describe where new $B$ appears and relate it to the gradient term $\nabla\psi\cdot\nabla P$.

## Exercises

1. Using the white-noise limit, by what factor does $D_\ell^{BB}$ from lensing change between $\ell = 40$ and $\ell = 120$?
2. A future experiment reaches $\rho^2 = 0.8$. What lensing band power remains at $\ell = 80$, and what $r$ does it mimic?
3. Using the numbers above, at what $A_d$ would dust at $95\ \mathrm{GHz}$ equal the lensing band power at $\ell = 80$?
4. With $a = 0.0477$ and $\rho_d = 0.95$, what fraction of the $150\ \mathrm{GHz}$ dust power survives cleaning? What $r$ does that mimic for $A_d = 4.4\ \mu\mathrm{K}^2$?
5. Show that the cleaning combination leaves a map with $B$ from the microwave background unchanged even if the two maps have different noise levels.

Answers

1. $C_\ell$ is constant, so $D_\ell \propto \ell(\ell+1)$: $(120\times121)/(40\times41) \approx 8.9$.
2. $0.2\times0.0021 \approx 0.00041\ \mu\mathrm{K}^2$, which mimics $r \approx 0.0064$.
3. Dust at $95\ \mathrm{GHz}$ is $A_d\times0.0184^2 = 3.4\times10^{-4}A_d$. Setting this to $0.0021$ gives $A_d \approx 6\ \mu\mathrm{K}^2$.
4. $2(1 - 0.95)/(1 - 0.0477)^2 \approx 0.11$. Then $0.11\times0.0100 \approx 0.0011\ \mu\mathrm{K}^2$, which mimics $r \approx 0.017$ at $\ell = 80$. The tutorial's fit combines several bands from one sky, so its shift need not match this single-multipole estimate.
5. The background term is $(c - a\,c)/(1 - a) = c$ for any $a$. Noise only adds independent terms with weights $1/(1 - a)$ and $a/(1 - a)$; it changes the scatter, not the background.

Sources: [Lewis and Challinor 2006, weak gravitational lensing of the CMB, equations 5.25, 5.32 and 5.34](https://arxiv.org/abs/astro-ph/0601594v4), [Sherwin and Schmittfull 2015, delensing the CMB with the cosmic infrared background, equation 17](https://arxiv.org/abs/1502.05356v1), [Planck 2018 results XI, polarized dust foregrounds](https://arxiv.org/abs/1801.04945v2), [BICEP/Keck 2021, BK18 constraints on primordial gravitational waves](https://arxiv.org/abs/2110.00483v1), [BICEP/Keck and SPTpol 2021, a demonstration of improved constraints on primordial gravitational waves with delensing](https://arxiv.org/abs/2011.08163v2).

[Choose Delensing uncovers the signal and compare the B power at multipole 80 with and without the template.](https://sandboxphysics.com/labs/cmb-b-mode-dust-delensing/)

## Sources

1. [Lewis and Challinor 2006, weak gravitational lensing of the CMB, equations 5.25, 5.32 and 5.34](https://arxiv.org/abs/astro-ph/0601594v4)
2. [Sherwin and Schmittfull 2015, delensing the CMB with the cosmic infrared background, equation 17](https://arxiv.org/abs/1502.05356v1)
3. [Planck 2018 results XI, polarized dust foregrounds](https://arxiv.org/abs/1801.04945v2)
4. [BICEP/Keck 2021, BK18 constraints on primordial gravitational waves](https://arxiv.org/abs/2110.00483v1)
5. [BICEP/Keck and SPTpol 2021, a demonstration of improved constraints on primordial gravitational waves with delensing](https://arxiv.org/abs/2011.08163v2)

## Keep reading

CMB B-modes, dust and delensing · Reading path

### From polarized light to E and B, dust, lensing and the BICEP/Keck limit

1. [Article **Can swirls in the microwave sky reveal the first gravitational waves?**](https://sandboxphysics.com/stories/cmb-b-modes/can-microwave-swirls-reveal-the-first-gravitational-waves/)
2. [Article **How scattering polarizes the microwave background**](https://sandboxphysics.com/stories/cmb-b-modes/how-scattering-polarizes-the-microwave-background/)
3. [Article **Splitting a polarization map into E and B modes**](https://sandboxphysics.com/stories/cmb-b-modes/splitting-a-polarization-map-into-e-and-b/)
4. [You are here **How dust and lensing add B-modes, and how to take them out**](https://sandboxphysics.com/stories/cmb-b-modes/how-dust-and-lensing-add-b-modes/)
5. [Article **Recompute an E/B split and a two-frequency dust cleaning**](https://sandboxphysics.com/stories/cmb-b-modes/recompute-an-e-b-split-and-dust-cleaning/)
6. [Article **How to read the BICEP/Keck BK18 limit on primordial gravitational waves**](https://sandboxphysics.com/stories/cmb-b-modes/reading-the-bicep-keck-bk18-limit/)
