In general relativity, a point mass deflects a light ray with impact parameter by an angle approximately equal to
where G is the gravitational constant, M the mass of the deflecting object and c the speed of light. A naive application of Newtonian gravity can yield exactly half this value, where the light ray is assumed as a massed particle and scattered by the gravitational potential well. This approximation is good when is small.
In situations where general relativity can be approximated by linearized gravity, the deflection due to a spatially extended mass can be written simply as a vector sum over point masses. In the continuum limit, this becomes an integral over the density , and if the deflection is small we can approximate the gravitational potential along the deflected trajectory by the potential along the undeflected trajectory, as in the Born approximation in quantum mechanics. The deflection is then
where is the line-of-sight coordinate, and is the vector impact parameter of the actual ray path from the infinitesimal mass located at the coordinates .
Thin lens approximation
In the limit of a "thin lens", where the distances between the source, lens, and observer are much larger than the size of the lens (this is almost always true for astronomical objects), we can define the projected mass density
where is a vector in the plane of the sky. The deflection angle is then
Angles involved in a thin gravitational lens system.
As shown in the diagram on the right, the difference between the unlensed angular position and the observed position is this deflection angle, reduced by a ratio of distances, described as the lens equation
where is the distance from the lens to the source, is the distance from the observer to the source, and is the distance from the observer to the lens. For extragalactic lenses, these must be angular diameter distances.
In strong gravitational lensing, this equation can have multiple solutions, because a single source at can be lensed into multiple images.
Convergence and deflection potential
The reduced deflection angle can be written as
where we define the convergence
and the critical surface density (not to be confused with the critical density of the universe)
We can also define the deflection potential
such that the scaled deflection angle is just the gradient of the potential and the convergence is half the Laplacian of the potential:
The deflection potential can also be written as a scaled projection of the Newtonian gravitational potential of the lens
The Jacobian between the unlensed and lensed coordinate systems is
where is the Kronecker delta. Because the matrix of second derivatives must be symmetric, the Jacobian can be decomposed into a diagonal term involving the convergence and a trace-free term involving the shear
where is the angle between and the x-axis. The term involving the convergence magnifies the image by increasing its size while conserving surface brightness. The term involving the shear stretches the image tangentially around the lens, as discussed in weak lensing observables.
The shear defined here is not equivalent to the shear traditionally defined in mathematics, though both stretch an image non-uniformly.
Effect of the components of convergence and shear on a circular source represented by the solid green circle. The complex shear notation is defined below
There is an alternative way of deriving the lens equation, starting from the photon arrival time (Fermat surface)
where is the time to travel an infinitesimal line element along the source-observer straight line in vacuum, which is
then corrected by the factor
to get the line element along the bended path with a varying small pitch angle and the refraction index
n for the "aether", i.e., the gravitational field. The last can be obtained from the fact that a photon travels on a null geodesic of a weakly perturbed static Minkowski universe
where the uneven gravitational potential drives a changing the speed of light
So the refraction index
The refraction index greater than unity because of the negative gravitational potential .
Put these together and keep the leading terms we have the time arrival surface
The first term is the straight path travel time, the second term is the extra geometric path, and the third is the gravitational delay.
Make the triangle approximation that for the path between the observer and the lens,
and for the path between the lens and the source.
The geometric delay term becomes
(How? There is no on the left. Angular diameter distances don't add in a simple way, in general.)
So the Fermat surface becomes
where is so-called dimensionless time delay, and the 2D lensing potential
The images lie at the extrema of this surface, so the variation of t with is zero,
which is the lens equation. Take the Poisson's equation for 3D potential
and we find the 2D lensing potential
Here we assumed the lens is a collection of point masses at angular coordinates and distances
Use for very small x we find
One can compute the convergence by applying the 2D Laplacian of the 2D lensing potential
in agreement with earlier definition as the ratio of projected density with the critical density.
Here we used and
We can also confirm the previously defined reduced deflection angle
where is the so-called Einstein angular radius of a point lens Mi. For a single point lens at the origin we recover the standard result
that there will be two images at the two solutions of the essentially quadratic equation
The amplification matrix can be obtained by double derivatives of the dimensionless time delay
where we have define the derivatives
which takes the meaning of convergence and shear. The amplification is the inverse of the Jacobian
where a positive A means either a maxima or a minima, and a negative A means a saddle point in the arrival surface.
For a single point lens, one can show (albeit a lengthy calculation) that
So the amplification of a point lens is given by
Note A diverges for images at the Einstein radius
In cases there are multiple point lenses plus a smooth background of (dark) particles of surface density the time arrival surface is
To compute the amplification, e.g., at the origin (0,0), due to identical point masses distributed at
we have to add up the total shear, and include a convergence of the smooth background,
This generally creates a network of critical curves, lines connecting image points of infinite amplification.
General weak lensing
In weak lensing by large-scale structure, the thin-lens approximation may break down, and low-density extended structures may not be well approximated by multiple thin-lens planes. In this case, the deflection can be derived by instead assuming that the gravitational potential is slowly varying everywhere (for this reason, this approximation is not valid for strong lensing).
This approach assumes the universe is well described by a Newtonian-perturbed FRW metric, but it makes no other assumptions about the distribution of the lensing mass.
As in the thin-lens case, the effect can be written as a mapping from the unlensed angular position to the lensed position . The Jacobian of the transform can be written as an integral over the gravitational potential along the line of sight
where is the comoving distance, are the transverse distances, and
is the lensing kernel, which defines the efficiency of lensing for a distribution of sources .
The Jacobian can be decomposed into convergence and shear terms just as with the thin-lens case, and in the limit of a lens that is both thin and weak, their physical interpretations are the same.
Weak lensing observables
In weak gravitational lensing, the Jacobian is mapped out by observing the effect of the shear on the ellipticities of background galaxies. This effect is purely statistical; the shape of any galaxy will be dominated by its random, unlensed shape, but lensing will produce a spatially coherent distortion of these shapes.
Measures of ellipticity
In most fields of astronomy, the ellipticity is defined as , where is the axis ratio of the ellipse. In weak gravitational lensing, two different definitions are commonly used, and both are complex quantities which specify both the axis ratio and the position angle :
Like the traditional ellipticity, the magnitudes of both of these quantities range from 0 (circular) to 1 (a line segment). The position angle is encoded in the complex phase, but because of the factor of 2 in the trigonometric arguments, ellipticity is invariant under a rotation of 180 degrees. This is to be expected; an ellipse is unchanged by a 180° rotation. Taken as imaginary and real parts, the real part of the complex ellipticity describes the elongation along the coordinate axes, while the imaginary part describes the elongation at 45° from the axes.
The ellipticity is often written as a two-component vector instead of a complex number, though it is not a true vector with regard to transforms:
Real astronomical background sources are not perfect ellipses. Their ellipticities can be measured by finding a best-fit elliptical model to the data, or by measuring the second moments of the image about some centroid
The complex ellipticities are then
This can be used to relate the second moments to traditional ellipse parameters:
and in reverse:
The unweighted second moments above are problematic in the presence of noise, neighboring objects, or extended galaxy profiles, so it is typical to use apodized moments instead:
Here is a weight function that typically goes to zero or quickly approaches zero at some finite radius.
Image moments cannot generally be used to measure the ellipticity of galaxies without correcting for observational effects, particularly the point spread function.
Shear and reduced shear
Recall that the lensing Jacobian can be decomposed into shear and convergence .
Acting on a circular background source with radius , lensing generates an ellipse with major and minor axes
as long as the shear and convergence do not change appreciably over the size of the source (in that case, the lensed image is not an ellipse). Galaxies are not intrinsically circular, however, so it is necessary to quantify the effect of lensing on a non-zero ellipticity.
We can define the complex shear in analogy to the complex ellipticities defined above
as well as the reduced shear
The lensing Jacobian can now be written as
For a reduced shear and unlensed complex ellipticities and , the lensed ellipticities are
In the weak lensing limit, and , so
If we can assume that the sources are randomly oriented, their complex ellipticities average to zero, so
This is the principal equation of weak lensing: the average ellipticity of background galaxies is a direct measure of the shear induced by foreground mass.
While gravitational lensing preserves surface brightness, as dictated by Liouville's theorem, lensing does change the apparent solid angle of a source. The amount of magnification is given by the ratio of the image area to the source area. For a circularly symmetric lens, the magnification factor μ is given by
In terms of convergence and shear
For this reason, the Jacobian is also known as the "inverse magnification matrix".
The reduced shear is invariant with the scaling of the Jacobian by a scalar , which is equivalent to the transformations
Thus, can only be determined up to a transformation , which is known as the "mass sheet degeneracy." In principle, this degeneracy can be broken if an independent measurement of the magnification is available because the magnification is not invariant under the aforementioned degeneracy transformation. Specifically, scales with as .