---
title: "Convergence, shear and what a galaxy shape measures"
description: "Derive the lensing distortion matrix, the reduced shear a galaxy shape measures, and the shear profile of an isothermal halo, with worked numbers."
canonical_url: "https://sandboxphysics.com/stories/weak-lensing/convergence-shear-and-galaxy-shapes/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/weak-lensing/convergence-shear-and-galaxy-shapes/"
last_modified: "2026-11-14"
---

[Weak gravitational lensing and mass maps](https://sandboxphysics.com/stories/weak-lensing/)

# Convergence, shear and what a galaxy shape measures

Sandbox Physics · 2026-11-14

A lens maps every small patch of the source plane onto the sky through a two-by-two matrix. Two numbers describe it: the convergence $\kappa$, which enlarges an image equally in all directions, and the shear $\gamma$, which stretches it along one axis. A galaxy shape is sensitive only to their ratio, the reduced shear $g=\gamma/(1-\kappa)$, and the average shape of many galaxies estimates $g$. For an isothermal halo the shear falls as one over radius, which gives a first way to weigh a cluster from shapes.

Before this chapter, read [how barely stretched galaxies map dark matter](https://sandboxphysics.com/stories/weak-lensing/galaxy-shapes-weigh-dark-matter/). You need small angles, partial derivatives, two-by-two matrices and complex numbers in polar form.

## The lens equation and its Jacobian

Let $\boldsymbol\theta$ be the position of an image on the sky and $\boldsymbol\beta$ the true position of the source. Light is deflected by the reduced angle $\boldsymbol\alpha(\boldsymbol\theta)$, so

$$
\boldsymbol\beta=\boldsymbol\theta-\boldsymbol\alpha(\boldsymbol\theta),\qquad \boldsymbol\alpha=\nabla\psi .
$$

The lensing potential $\psi$ is a weighted projection of the gravitational potential along the line of sight. A galaxy is much smaller than the scale over which $\boldsymbol\alpha$ changes, so we expand to first order around its centre. The Jacobian matrix $\mathcal A=\partial\boldsymbol\beta/\partial\boldsymbol\theta$ is symmetric, and we name its parts:

$$
\mathcal A=\begin{pmatrix}1-\kappa-\gamma_1 & -\gamma_2\\ -\gamma_2 & 1-\kappa+\gamma_1\end{pmatrix},\qquad \kappa=\tfrac12(\psi_{,11}+\psi_{,22}),\quad \gamma_1=\tfrac12(\psi_{,11}-\psi_{,22}),\quad \gamma_2=\psi_{,12}.
$$

[Weak Gravitational Lensing, Eqs. 3.11-3.12](https://arxiv.org/abs/astro-ph/9912508v1)

The convergence is the projected surface density in units of a critical density, $\kappa=\Sigma/\Sigma_{\rm cr}$ with $\Sigma_{\rm cr}=c^2D_{\rm s}/(4\pi G D_{\rm l}D_{\rm ls})$, where $D_{\rm l}$, $D_{\rm s}$ and $D_{\rm ls}$ are angular-diameter distances to the lens, to the source, and from lens to source. The shear has no such direct meaning: it is set by mass anywhere around the line of sight, not only on it. We write it as one complex number, $\gamma=\gamma_1+i\gamma_2=|\gamma|e^{2i\varphi}$.

## What a circle becomes

The eigenvalues of $\mathcal A$ are $1-\kappa\mp|\gamma|$. A circular source of radius $r$ therefore appears as an ellipse with semi-axes

$$
a=\frac{r}{1-\kappa-|\gamma|},\qquad b=\frac{r}{1-\kappa+|\gamma|},
$$

with the long axis at angle $\varphi$. Its area grows by the magnification $\mu=1/\det\mathcal A=1/[(1-\kappa)^2-|\gamma|^2]$. Its elongation is

$$
\frac{a-b}{a+b}=\frac{|\gamma|}{1-\kappa}=|g|,\qquad g\equiv\frac{\gamma}{1-\kappa}.
$$

The elongation depends on $\kappa$ and $\gamma$ only through $g$. Multiply $1-\kappa$ and $\gamma$ by the same factor and the shape is unchanged; only the size changes. This is the root of the mass-sheet degeneracy in the next chapter.

## Shapes of real galaxies

Real galaxies are not circles. Describe any elliptical image, with axis ratio $b/a$ and long axis at angle $\varphi$, by the complex ellipticity

$$
\epsilon=\frac{a-b}{a+b}\,e^{2i\varphi}.
$$

The factor 2 is there because an ellipse turned by $180^\circ$ is the same ellipse; quantities with this symmetry are called spin 2. The observed ellipticity follows from the intrinsic one, $\epsilon^{\rm s}$, by

$$
\epsilon=\frac{\epsilon^{\rm s}+g}{1+g^{*}\epsilon^{\rm s}}\quad(|g|\le1),\qquad \epsilon\approx\epsilon^{\rm s}+g\quad(|g|\ll1).
$$

If intrinsic orientations are random, $\langle\epsilon^{\rm s}\rangle=0$, and the average observed ellipticity is exactly the reduced shear, $\langle\epsilon\rangle=g$. [Cosmology with cosmic shear observations: a review, Eqs. 25-27](https://arxiv.org/abs/1411.0115v2)

Each galaxy is a noisy estimate of $g$ with a scatter per component of about $\sigma_\epsilon=0.26$. The average of $N$ independent galaxies has error $\sigma_\epsilon/\sqrt N$.

## Tangential and cross shear

Around a lens the natural components are measured relative to the direction to the lens centre. For a galaxy at polar angle $\phi$ about that centre,

$$
\gamma_{\rm t}=-\mathrm{Re}\left(\gamma\,e^{-2i\phi}\right),\qquad \gamma_\times=-\mathrm{Im}\left(\gamma\,e^{-2i\phi}\right).
$$

The minus sign makes $\gamma_{\rm t}$ positive when images line up along circles around a mass. Images along spokes give a negative $\gamma_{\rm t}$, and a circularly symmetric lens produces no $\gamma_\times$ at all. [Cosmology with cosmic shear observations: a review, Eq. 31](https://arxiv.org/abs/1411.0115v2)

For a circularly symmetric lens Gauss's theorem in two dimensions gives a clean result: the tangential shear at radius $\theta$ is the mean convergence inside $\theta$ minus the convergence at $\theta$, $\gamma_{\rm t}(\theta)=\bar\kappa(<\theta)-\kappa(\theta)$. Mass outside the circle contributes nothing.

## The isothermal halo

A singular isothermal sphere, a ball of matter whose particles all move with one-dimensional velocity dispersion $\sigma_v$, is the simplest model of a cluster. Its convergence and tangential shear are equal:

$$
\kappa(\theta)=\gamma_{\rm t}(\theta)=\frac{\theta_{\rm E}}{2\theta},\qquad \theta_{\rm E}=4\pi\,\frac{\sigma_v^2}{c^2}\,\frac{D_{\rm ls}}{D_{\rm s}} .
$$

[Weak Gravitational Lensing, Eqs. 3.17-3.18](https://arxiv.org/abs/astro-ph/9912508v1)

The Einstein radius $\theta_{\rm E}$ is the radius where $\kappa=1/2$ and $|g|=1$. In a flat universe angular-diameter distances are $D=\chi/(1+z)$ with $\chi$ the comoving distance, so $D_{\rm ls}/D_{\rm s}=(\chi_{\rm s}-\chi_{\rm l})/\chi_{\rm s}$. This ratio, the lensing efficiency, is zero when the source is at the lens and grows toward one for sources far behind it.

**Worked example.** Take $\sigma_v=1000\ \mathrm{km\,s^{-1}}$, a lens at $z_{\rm l}=0.3$ and sources at $z_{\rm s}=1.0$ in a flat universe with matter density $\Omega_{\rm m}=0.3$. Numerical integration of $\chi(z)$ gives $D_{\rm ls}/D_{\rm s}=0.638$. Then $4\pi(\sigma_v/c)^2=1.40\times10^{-4}$ rad, so $\theta_{\rm E}=0.638\times1.40\times10^{-4}\ \mathrm{rad}=18.4''$. The shear is $\gamma_{\rm t}=0.153$ at $1'$, $0.077$ at $2'$ and $0.031$ at $5'$. At $1'$ the convergence is also $0.153$, so the reduced shear is $0.153/0.847=0.181$, 18 percent above $\gamma_{\rm t}$. By $5'$ the difference has fallen to 3 percent.

**Worked example.** How many galaxies does it take to measure $\gamma_{\rm t}=0.05$ at three standard deviations? We need $\sigma_\epsilon/\sqrt N=0.05/3$, so $N=(3\times0.26/0.05)^2\approx243$. At 20 galaxies per square arcminute that is an area of 12 square arcminutes, for example an annulus between $2'$ and $2.8'$.

## Lab tasks

1. In [the weak-lensing mass map Lab](https://sandboxphysics.com/labs/weak-lensing-mass-map/), load Shapes without scatter. Find the galaxies just outside a halo ring and check that their long axes lie along the circle.
2. Select a halo and raise its velocity dispersion from 700 to 1300 km/s. Predict by what factor the true Einstein radius should grow, then read it.
3. Lower the source redshift slowly toward the redshift of the selected halo. Watch the lensing efficiency readout and explain why it heads to zero.

## Exercises

1. Show that $\mathcal A$ has eigenvalues $1-\kappa\mp|\gamma|$ and that a circle maps to an ellipse with $(a-b)/(a+b)=|g|$.
2. A point mass has $\bar\kappa(<\theta)=\theta_{\rm E}^2/\theta^2$ and $\kappa=0$ away from the centre. Find $\gamma_{\rm t}(\theta)$ and compare its fall-off with the isothermal halo.
3. A galaxy has intrinsic ellipticity $\epsilon^{\rm s}=0.2$ and is lensed by $g=0.05$. Compute $\epsilon$ exactly and in the weak limit. Repeat for $\epsilon^{\rm s}=0.2i$.
4. Take $\sigma_v=1050\ \mathrm{km\,s^{-1}}$, the first halo in the Lab, and sources at $z_{\rm s}=1.2$, and move the lens from $z_{\rm l}=0.3$ to $0.6$. The efficiencies are $0.683$ and $0.414$. By what factor does $\theta_{\rm E}$ change?
5. To detect $\gamma_{\rm t}=0.02$ at five standard deviations with $\sigma_\epsilon=0.26$ and 20 galaxies per square arcminute, how much sky do you need?

Answers

1. $\det(\mathcal A-\lambda I)=(1-\kappa-\lambda)^2-\gamma_1^2-\gamma_2^2=0$ gives $\lambda=1-\kappa\mp|\gamma|$. The image of a circle of radius $r$ has semi-axes $r/\lambda$, so $(a-b)/(a+b)=(\lambda_+-\lambda_-)/(\lambda_++\lambda_-)=2|\gamma|/[2(1-\kappa)]=|g|$.
2. $\gamma_{\rm t}=\theta_{\rm E}^2/\theta^2-0=\theta_{\rm E}^2/\theta^2$. It falls as $1/\theta^2$, faster than the $1/\theta$ of the isothermal halo, because all the mass sits inside every circle.
3. $\epsilon=0.25/1.01=0.2475$; the weak limit gives $0.25$, 1 percent higher. For $\epsilon^{\rm s}=0.2i$: $\epsilon=(0.05+0.2i)/(1+0.01i)=(0.05+0.2i)(1-0.01i)/1.0001=0.0520+0.1995i$. The weak limit gives $0.05+0.2i$.
4. $\theta_{\rm E}\propto D_{\rm ls}/D_{\rm s}$, so it shrinks by $0.414/0.683=0.606$, from $21.7''$ to $13.2''$ (with $4\pi(\sigma_v/c)^2=31.8''$).
5. $N=(5\times0.26/0.02)^2=4225$ galaxies, which at 20 per square arcminute is 211 square arcminutes, a square about $14.5'$ on a side.

The isothermal model has two flaws that the Lab removes: its density diverges at the centre and its total mass is infinite. The Lab softens the centre with a small core and truncates the halo far out, so its shear profile bends away from $1/\theta$ near both ends.

Next: [turning a shear field into a mass map](https://sandboxphysics.com/stories/weak-lensing/from-shear-to-a-mass-map/).

## Try it in the Lab

[Weak-lensing mass map](https://sandboxphysics.com/labs/weak-lensing-mass-map/): Compare the fitted and true Einstein radius as you change the source redshift.

## Sources

1. [Weak Gravitational Lensing, Eqs. 3.11-3.12](https://arxiv.org/abs/astro-ph/9912508v1)
2. [Cosmology with cosmic shear observations: a review, Eqs. 25-27](https://arxiv.org/abs/1411.0115v2)

## Keep reading

Weak gravitational lensing and mass maps · Reading path

### From galaxy shapes to a map of mass

1. [Article **How can galaxies that are barely stretched map dark matter?**](https://sandboxphysics.com/stories/weak-lensing/galaxy-shapes-weigh-dark-matter/)
2. [You are here **Convergence, shear and what a galaxy shape measures**](https://sandboxphysics.com/stories/weak-lensing/convergence-shear-and-galaxy-shapes/)
3. [Article **Turning a shear field into a mass map**](https://sandboxphysics.com/stories/weak-lensing/from-shear-to-a-mass-map/)
4. [Article **Shear correlation functions and redshift tomography**](https://sandboxphysics.com/stories/weak-lensing/shear-correlations-and-tomography/)
5. [Article **Recompute shear correlations and tomography from a simulation**](https://sandboxphysics.com/stories/weak-lensing/recompute-shear-correlations/)
6. [Article **How to read the DES Year 3 lensing and clustering analysis**](https://sandboxphysics.com/stories/weak-lensing/reading-des-y3-lensing-and-clustering/)
