---
title: "Mass slope, shear and the time-delay distance"
description: "Add a power-law slope and a nearby galaxy's shear, see why the delay at fixed images tracks the density between them, and turn a delay into the Hubble constant."
canonical_url: "https://sandboxphysics.com/stories/quasar-time-delays/mass-slope-shear-and-the-time-delay-distance/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/quasar-time-delays/mass-slope-shear-and-the-time-delay-distance/"
last_modified: "2026-11-14"
---

[Lensed quasar time delays and the Hubble constant](https://sandboxphysics.com/stories/quasar-time-delays/)

# Mass slope, shear and the time-delay distance

Sandbox Physics · 2026-11-14

When the images are fixed by observation, the delay between them depends on how much mass lies in the ring between them. For a power-law galaxy that mean density is set by the slope, so the predicted delay, and the Hubble constant read from a measured delay, both scale close to $\gamma'-1$. A nearby galaxy adds a stretch called shear, which turns two images into four. Once the model predicts the delay, the measured delay gives the time-delay distance and then $H_0$.

Before this chapter, read [arrival time, the Fermat potential and the isothermal lens](https://sandboxphysics.com/stories/quasar-time-delays/arrival-time-and-the-fermat-potential/). You need integrals in polar coordinates and a second-order Taylor expansion in two variables.

## A galaxy with any mass slope

Real galaxies are not exactly isothermal. A flexible model lets the convergence fall as a power of radius,

$$
\kappa(\theta)=\frac{3-\gamma'}{2}\left(\frac{\theta_{\rm E}}{\theta}\right)^{\gamma'-1},
$$

where $\theta=|\boldsymbol\theta|$ and $\gamma'$ is the slope of the three-dimensional density, $\rho\propto r^{-\gamma'}$. The isothermal sphere is $\gamma'=2$. A steeper galaxy, $\gamma'>2$, concentrates its mass towards the centre.

For a round lens, the deflection at radius $\theta$ is the mean convergence inside that radius times $\theta$: $\alpha(\theta)=(2/\theta)\int_0^\theta\kappa(u)\,u\,{\rm d}u$. This is the two-dimensional version of Gauss's law. Doing the integral,

$$
\alpha(\theta)=\theta_{\rm E}\left(\frac{\theta}{\theta_{\rm E}}\right)^{2-\gamma'},\qquad \psi(\theta)=\frac{\theta_{\rm E}^2}{3-\gamma'}\left(\frac{\theta}{\theta_{\rm E}}\right)^{3-\gamma'} .
$$

At $\theta=\theta_{\rm E}$ the deflection equals the radius, so the mean convergence inside the Einstein radius is exactly 1 for every slope.

## Two ways to change the slope

**Keep the source fixed.** Put the source at $\beta=0.1''$ behind a lens with $\theta_{\rm E}=1''$, $z_{\rm d}=0.5$ and $z_{\rm s}=2$. The model in the Lab gives a delay of 16.6 days for $\gamma'=1.8$, $2.0$ and $2.2$ alike. The images move: the outer one sits at $1.124''$ for $\gamma'=1.8$ and at $1.084''$ for $\gamma'=2.2$. So at fixed source the delay hardly cares about the slope.

**Keep the images fixed.** This is the situation an astronomer faces. The image positions are measured to a few thousandths of an arcsecond; the source position is not observed at all. Changing the slope now forces a different $\theta_{\rm E}$ and $\beta$ to keep the images in place, and the delay changes a lot.

## The delay at fixed image positions

Take two images on opposite sides of a round lens, the outer one at radius $R_1$ and the inner one at $R_2$. Kochanek (2002) showed that their delay depends only on the image radii and the convergence in the ring between them. Define the mean convergence in that ring,

$$
\langle\kappa\rangle=\frac{2\int_{R_2}^{R_1}\kappa(u)\,u\,{\rm d}u}{R_1^2-R_2^2} .
$$

Expanding in the ring's thickness $\Delta R=R_1-R_2$ over its mean radius $\langle R\rangle$, with a power-law density of slope $\eta$ in the ring, he found

$$
\phi_2-\phi_1=\left(R_1^2-R_2^2\right)\left[\left(1-\langle\kappa\rangle\right)-\frac{1-\eta\langle\kappa\rangle}{12}\left(\frac{\Delta R}{\langle R\rangle}\right)^2+\dots\right].
$$

Kochanek writes this as $\tau_1-\tau_2$ with an overall minus sign; we quote it for the later image minus the earlier one. His $\eta$ is our $\gamma'$. [Kochanek 2002, Eqs. (3) to (8)](https://arxiv.org/abs/astro-ph/0205319v1)

The leading term is exact for the isothermal sphere. There $\langle\kappa\rangle=1/2$ and the bracket's second term vanishes because $1-2\times\tfrac12=0$. With $R_1=\theta_{\rm E}+\beta$ and $R_2=\theta_{\rm E}-\beta$, $\tfrac12(R_1^2-R_2^2)=2\theta_{\rm E}\beta$, the result of the previous chapter.

Near the Einstein ring a power law has $1-\langle\kappa\rangle\approx(\gamma'-1)/2$. So at fixed images the predicted delay is about $(\gamma'-1)$ times the isothermal one. For a measured delay, $D_{\Delta t}\propto1/(\gamma'-1)$ and

$$
H_0\propto\gamma'-1 .
$$

Wucknitz (2002) writes the potential as $\psi\propto r^{\beta}$, so his $\beta$ is our $3-\gamma'$. For round lens models with images near the Einstein ring and a fitted external shear he finds $H_0\propto2-\beta$, the same scaling. For quadruple lenses with the shear held fixed he finds $H_0\propto(2-\beta)/\beta$ instead; either way a shallower profile gives a smaller $H_0$. [Wucknitz 2002, abstract and Sec. 11](https://arxiv.org/abs/astro-ph/0202376v1)

**Worked example.** Put images at $R_1=1.3''$ and $R_2=0.75''$. For each slope, the lens equation at the two images fixes $\theta_{\rm E}^{\gamma'-1}=(R_1+R_2)/(R_1^{2-\gamma'}+R_2^{2-\gamma'})$. The exact Fermat-potential differences are:

**Table 3.1** Delay at fixed image positions for five slopes, in square arcseconds of Fermat potential.

| $\gamma'$ | $\phi_2-\phi_1$ | Ratio to $\gamma'=2$ | $\gamma'-1$ |
| --- | --- | --- | --- |
| 1.6 | 0.3369 | 0.598 | 0.6 |
| 1.8 | 0.4505 | 0.799 | 0.8 |
| 2.0 | 0.5638 | 1 | 1 |
| 2.2 | 0.6758 | 1.199 | 1.2 |
| 2.4 | 0.7861 | 1.394 | 1.4 |

Kochanek's two-term series matches every row to better than 0.02 percent. A slope uncertainty of $\pm0.05$ therefore means about $\pm5$ percent in $H_0$, which is why lens modellers work so hard on the slope.

## A nearby galaxy: convergence and shear

Lens galaxies have neighbours. Model one as another isothermal galaxy with Einstein radius $b_{\rm p}$ at distance $d$ from the lens, in direction $\varphi_{\rm p}$. Its potential is $\psi_{\rm p}=b_{\rm p}|\boldsymbol\theta-\boldsymbol\theta_{\rm p}|$. Near the main lens, $|\boldsymbol\theta|\ll d$, so expand to second order. The constant does nothing. The first-order term is a uniform deflection, which just shifts where we think the source is. The second-order term is

$$
\psi_{\rm ext}=\frac{\kappa_{\rm p}}{2}\theta^2-\frac{\gamma_{\rm p}}{2}\theta^2\cos2(\varphi-\varphi_{\rm p}),\qquad \kappa_{\rm p}=\gamma_{\rm p}=\frac{b_{\rm p}}{2d} .
$$

To check it, put the neighbour on the $x$ axis. Its second derivatives at the origin are $\partial_x^2\psi_{\rm p}=0$ and $\partial_y^2\psi_{\rm p}=b_{\rm p}/d$, so $\psi_{\rm ext}=(b_{\rm p}/2d)\,y^2$. Writing $y^2=\tfrac12\theta^2(1-\cos2\varphi)$ gives the form above.

The first term is a uniform convergence, a thin sheet of mass. The second is shear: it stretches images along one axis and squeezes them along the other. With shear, the source-plane line where magnification diverges, the caustic, opens into a small diamond. A source inside the diamond has four bright images; outside it has two. The Lab's default neighbour has $b_{\rm p}=0.75''$ at $d=3.4''$, so $\kappa_{\rm p}=\gamma_{\rm p}=0.11$.

## From a delay to the Hubble constant

The model predicts the Fermat-potential difference $\Delta\phi$. The measured delay then gives the time-delay distance, $D_{\Delta t}=c\,\Delta t/\Delta\phi$, which is TDCOSMO IV's Eq. (8). Since $D_{\Delta t}\propto1/H_0$ at fixed redshifts and matter density,

$$
H_0=H_{0,\rm ref}\,\frac{D_{\Delta t}(H_{0,\rm ref})}{D_{\Delta t}} .
$$

[TDCOSMO IV, Eqs. (8) and (9)](https://arxiv.org/abs/2007.02941v3)

**Worked example.** For the Lab's default quad, the model predicts 15.5 days between the first and last images when $H_0=70$, using $D_{\Delta t}=2972$ Mpc. Suppose the measured delay were 17.0 days. Then $D_{\Delta t}=2972\times17.0/15.5=3260$ Mpc and $H_0=70\times2972/3260=63.8$ km s$^{-1}$ Mpc$^{-1}$.

**Worked example with a real lens.** TDCOSMO IV lists $D_{\Delta t}=1947$ Mpc for RXJ1131$-$1231, from a power-law model, with $z_{\rm d}=0.295$ and $z_{\rm s}=0.654$. A flat universe with $H_0=70$ and $\Omega_{\rm m}=0.3$ gives 2334 Mpc for those redshifts, so this lens alone says $H_0=70\times2334/1947=83.9$ before any correction for the line of sight. The method tutorial repeats this for all seven lenses.

The matter density barely matters here. Changing $\Omega_{\rm m}$ from 0.3 to 0.25 or 0.35 moves the seven-lens result by less than 0.3 percent, as the tutorial shows. A time-delay distance measures mainly $H_0$.

## Lab tasks

1. In [the quasar time-delay Lab](https://sandboxphysics.com/labs/gravitational-lens-telescope/?mode=time-delay), switch off the nearby galaxy and set the source about $0.1''$ from the centre. Move the steepness from 1.8 to 2.2 and note what moves and what stays.
2. Turn the nearby galaxy back on and drag it around the lens. Watch the diamond-shaped caustic in the source-plane panel turn with it.
3. Load "Wide double, long delay" and then "Einstein cross". Explain from the caustic panel why one has two images and the other four.

## Exercises

1. Derive $\alpha(\theta)$ for the power law from $\alpha=(2/\theta)\int_0^\theta\kappa\,u\,{\rm d}u$, and check that it reduces to $\theta_{\rm E}$ for $\gamma'=2$.
2. Show that $\langle\kappa\rangle=(R_1\alpha_1-R_2\alpha_2)/(R_1^2-R_2^2)$, where $\alpha_i=\alpha(R_i)$.
3. A modeller changes the slope of a lens from 2.00 to 2.10 and keeps the images fixed. By how much does the inferred $H_0$ change?
4. A neighbour with $b_{\rm p}=0.5''$ sits $2.5''$ from the lens. Find $\kappa_{\rm p}$ and $\gamma_{\rm p}$.
5. A lens at $z_{\rm d}=0.5$, $z_{\rm s}=2$ has a model Fermat difference of $0.30$ square arcseconds and a measured delay of 22.0 days. Find $D_{\Delta t}$ and $H_0$, using 83.2 days per square arcsecond at $H_0=70$.

Answers

1. $\int_0^\theta\tfrac{3-\gamma'}{2}\theta_{\rm E}^{\gamma'-1}u^{2-\gamma'}{\rm d}u=\tfrac12\theta_{\rm E}^{\gamma'-1}\theta^{3-\gamma'}$. Multiplying by $2/\theta$ gives $\theta_{\rm E}^{\gamma'-1}\theta^{2-\gamma'}$. For $\gamma'=2$ the power of $\theta$ is zero and $\alpha=\theta_{\rm E}$.
2. From Exercise 1's method, $\theta\,\alpha(\theta)=2\int_0^\theta\kappa\,u\,{\rm d}u$ for any round lens. Subtracting at $R_1$ and $R_2$ gives $2\int_{R_2}^{R_1}\kappa\,u\,{\rm d}u=R_1\alpha_1-R_2\alpha_2$; divide by $R_1^2-R_2^2$.
3. $H_0\propto\gamma'-1$, so it rises by the factor $1.10/1.00$, about 10 percent.
4. $\kappa_{\rm p}=\gamma_{\rm p}=0.5/(2\times2.5)=0.1$.
5. The predicted delay at $H_0=70$ is $0.30\times83.2=24.96$ days. The measured 22.0 days is shorter, so $D_{\Delta t}=2972\times22.0/24.96=2620$ Mpc and $H_0=70\times24.96/22.0=79.4$ km s$^{-1}$ Mpc$^{-1}$.

Next: [the mass-sheet degeneracy and what stellar speeds add](https://sandboxphysics.com/stories/quasar-time-delays/mass-sheet-degeneracy-and-stellar-speeds/).

## Try it in the Lab

[Quasar time delays in the gravitational-lens Lab](https://sandboxphysics.com/labs/gravitational-lens-telescope/?mode=time-delay): Change the steepness of the mass profile and watch the images move while the delay barely changes.

## Sources

1. [Kochanek 2002, Eqs. (3) to (8)](https://arxiv.org/abs/astro-ph/0205319v1)
2. [Wucknitz 2002, abstract and Sec. 11](https://arxiv.org/abs/astro-ph/0202376v1)
3. [TDCOSMO IV, Eqs. (8) and (9)](https://arxiv.org/abs/2007.02941v3)

## Keep reading

Lensed quasar time delays and the Hubble constant · Reading path

### From a delayed flare to the Hubble constant

1. [Article **How a delayed quasar flare measures the size of the universe**](https://sandboxphysics.com/stories/quasar-time-delays/one-flare-many-paths/)
2. [Article **Arrival time, the Fermat potential and the delay of an isothermal lens**](https://sandboxphysics.com/stories/quasar-time-delays/arrival-time-and-the-fermat-potential/)
3. [You are here **Mass slope, shear and the time-delay distance**](https://sandboxphysics.com/stories/quasar-time-delays/mass-slope-shear-and-the-time-delay-distance/)
4. [Article **The mass-sheet degeneracy and what stellar speeds add**](https://sandboxphysics.com/stories/quasar-time-delays/mass-sheet-degeneracy-and-stellar-speeds/)
5. [Article **Recompute the Hubble constant from seven TDCOSMO lenses**](https://sandboxphysics.com/stories/quasar-time-delays/recompute-h0-from-a-frozen-tdcosmo-slice/)
6. [Article **How to read TDCOSMO IV on the mass sheet and the Hubble constant**](https://sandboxphysics.com/stories/quasar-time-delays/reading-tdcosmo-iv/)

1 more group

### Other articles that use the same experiments

Each experiment from this article that another series also uses, followed by the articles there.

1. [Lab **Gravitational Lens Telescope**](https://sandboxphysics.com/labs/gravitational-lens-telescope/)
2. [Article **How a dark planet makes a distant star brighten**](https://sandboxphysics.com/stories/microlensing-planets/a-dark-planet-brightens-a-star/)
3. [Article **From a bent light ray to two stellar images**](https://sandboxphysics.com/stories/microlensing-planets/from-bent-light-to-two-images/)
4. [Article **What happens when a stellar disk crosses a caustic?**](https://sandboxphysics.com/stories/microlensing-planets/a-stellar-disk-crosses-a-caustic/)
5. [Article **What can a microlensing light curve tell us about its lens?**](https://sandboxphysics.com/stories/microlensing-planets/read-a-light-curve-without-weighing-too-soon/)
6. [Article **Read a dark planet’s mass from Earth and space**](https://sandboxphysics.com/stories/microlensing-planets/read-ground-space-and-roman-evidence/)
7. [Article **Fit the published OGLE-2005-BLG-390 photometry**](https://sandboxphysics.com/stories/microlensing-planets/refit-the-published-ogle390-files/)
8. [Article **A background star helped weigh an isolated black hole**](https://sandboxphysics.com/stories/astronomy-gravity/isolated-black-hole-microlensing/)
