In general relativity, a point mass deflects a light ray with impact parameter b {\displaystyle b~} by an angle approximately equal to
α ^ = 4 G M c 2 b {\displaystyle {\hat {\alpha }}={\frac {4GM}{c^{2}b}}}
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 4 G M / c 2 b {\displaystyle 4GM/c^{2}b} 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 ρ {\displaystyle \rho ~} , 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
α ^ → ( ξ → ) = 4 G c 2 ∫ d 2 ξ ′ ∫ d z ρ ( ξ → ′ , z ) b → | b → | 2 , b → ≡ ξ → − ξ → ′ {\displaystyle {\vec {\hat {\alpha }}}({\vec {\xi }})={\frac {4G}{c^{2}}}\int \mathrm {d} ^{2}\xi ^{\prime }\int \mathrm {d} z\,\rho ({\vec {\xi }}^{\prime },z){\frac {\vec {b}}{|{\vec {b}}|^{2}}},~{\vec {b}}\equiv {\vec {\xi }}-{\vec {\xi }}^{\prime }}
where z {\displaystyle z} is the line-of-sight coordinate, and b → {\displaystyle {\vec {b}}} is the vector impact parameter of the actual ray path from the infinitesimal mass d 2 ξ ′ d z ρ ( ξ → ′ , z ) {\displaystyle \mathrm {d} ^{2}\xi ^{\prime }\,\mathrm {d} z\,\rho ({\vec {\xi }}^{\prime },z)} located at the coordinates ( ξ → ′ , z ) {\displaystyle ({\vec {\xi }}^{\prime },z)} .
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
Σ ( ξ → ′ ) = ∫ d z ρ ( ξ → ′ , z ) {\displaystyle \Sigma ({\vec {\xi }}^{\prime })=\int \mathrm {d} z\,\rho ({\vec {\xi }}^{\prime },z)}
where ξ → ′ {\displaystyle {\vec {\xi }}^{\prime }} is a vector in the plane of the sky. The deflection angle is then
α ^ → ( ξ → ) = 4 G c 2 ∫ d 2 ξ ′ ( ξ → − ξ → ′ ) Σ ( ξ → ′ ) | ξ → − ξ → ′ | 2 {\displaystyle {\vec {\hat {\alpha }}}({\vec {\xi }})={\frac {4G}{c^{2}}}\int \mathrm {d} ^{2}\xi ^{\prime }\,{\frac {({\vec {\xi }}-{\vec {\xi }}^{\prime })\Sigma ({\vec {\xi }}^{\prime })}{|{\vec {\xi }}-{\vec {\xi }}^{\prime }|^{2}}}}
As shown in the diagram on the right, the difference between the unlensed angular position β → {\displaystyle {\vec {\beta }}} and the observed position θ → {\displaystyle {\vec {\theta }}} is this deflection angle, reduced by a ratio of distances, described as the lens equation
β → = θ → − α → ( θ → ) = θ → − D d s D s α ^ → ( D d θ → ) {\displaystyle {\vec {\beta }}={\vec {\theta }}-{\vec {\alpha }}({\vec {\theta }})={\vec {\theta }}-{\frac {D_{ds}}{D_{s}}}{\vec {\hat {\alpha }}}(D_{d}{\vec {\theta }})}
where D d s {\displaystyle D_{ds}~} is the distance from the lens to the source, D s {\displaystyle D_{s}~} is the distance from the observer to the source, and D d {\displaystyle D_{d}~} 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 β → {\displaystyle {\vec {\beta }}} can be lensed into multiple images.
Convergence and deflection potential The reduced deflection angle α → ( θ → ) {\displaystyle {\vec {\alpha }}({\vec {\theta }})} can be written as
α → ( θ → ) = 1 π ∫ d 2 θ ′ ( θ → − θ → ′ ) κ ( θ → ′ ) | θ → − θ → ′ | 2 {\displaystyle {\vec {\alpha }}({\vec {\theta }})={\frac {1}{\pi }}\int \mathrm {d} ^{2}\theta ^{\prime }{\frac {({\vec {\theta }}-{\vec {\theta }}^{\prime })\kappa ({\vec {\theta }}^{\prime })}{|{\vec {\theta }}-{\vec {\theta }}^{\prime }|^{2}}}}
where we define the convergence
κ ( θ → ) = Σ ( θ → ) Σ c r {\displaystyle \kappa ({\vec {\theta }})={\frac {\Sigma ({\vec {\theta }})}{\Sigma _{cr}}}}
and the critical surface density (not to be confused with the critical density of the universe)
Σ c r = c 2 D s 4 π G D d s D d {\displaystyle \Sigma _{cr}={\frac {c^{2}D_{s}}{4\pi GD_{ds}D_{d}}}}
We can also define the deflection potential
ψ ( θ → ) = 1 π ∫ d 2 θ ′ κ ( θ → ′ ) ln | θ → − θ → ′ | {\displaystyle \psi ({\vec {\theta }})={\frac {1}{\pi }}\int \mathrm {d} ^{2}\theta ^{\prime }\kappa ({\vec {\theta }}^{\prime })\ln |{\vec {\theta }}-{\vec {\theta }}^{\prime }|}
such that the scaled deflection angle is just the gradient of the potential and the convergence is half the Laplacian of the potential:
θ → − β → = α → ( θ → ) = ∇ → ψ ( θ → ) {\displaystyle {\vec {\theta }}-{\vec {\beta }}={\vec {\alpha }}({\vec {\theta }})={\vec {\nabla }}\psi ({\vec {\theta }})}
κ ( θ → ) = 1 2 ∇ 2 ψ ( θ → ) {\displaystyle \kappa ({\vec {\theta }})={\frac {1}{2}}\nabla ^{2}\psi ({\vec {\theta }})}
The deflection potential can also be written as a scaled projection of the Newtonian gravitational potential Φ {\displaystyle \Phi ~} of the lens
ψ ( θ → ) = 2 D d s D d D s c 2 ∫ d z Φ ( D d θ → , z ) {\displaystyle \psi ({\vec {\theta }})={\frac {2D_{ds}}{D_{d}D_{s}c^{2}}}\int \mathrm {d} z\,\Phi (D_{d}{\vec {\theta }},z)}
Lensing Jacobian The Jacobian between the unlensed and lensed coordinate systems is
A i j = ∂ β i ∂ θ j = δ i j − ∂ α i ∂ θ j = δ i j − ∂ 2 ψ ∂ θ i ∂ θ j {\displaystyle A_{ij}={\frac {\partial \beta _{i}}{\partial \theta _{j}}}=\delta _{ij}-{\frac {\partial \alpha _{i}}{\partial \theta _{j}}}=\delta _{ij}-{\frac {\partial ^{2}\psi }{\partial \theta _{i}\partial \theta _{j}}}}
where δ i j {\displaystyle \delta _{ij}~} 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 γ {\displaystyle \gamma ~}
A = ( 1 − κ ) [ 1 0 0 1 ] − γ [ cos 2 ϕ sin 2 ϕ sin 2 ϕ − cos 2 ϕ ] {\displaystyle A=(1-\kappa )\left[{\begin{array}{c c }1&0\\0&1\end{array}}\right]-\gamma \left[{\begin{array}{c c }\cos 2\phi &\sin 2\phi \\\sin 2\phi &-\cos 2\phi \end{array}}\right]}
where ϕ {\displaystyle \phi ~} is the angle between α → {\displaystyle {\vec {\alpha }}} 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.
Fermat surface There is an alternative way of deriving the lens equation, starting from the photon arrival time (Fermat surface)
t = ∫ 0 z s n d z c cos α ( z ) {\displaystyle t=\int _{0}^{z_{s}}{n\,\mathrm {d} z \over c\cos \alpha (z)}}
where d z / c {\displaystyle \mathrm {d} z/c} is the time to travel an infinitesimal line element along the source-observer straight line in vacuum, which is then corrected by the factor
1 / cos ( α ( z ) ) ≈ 1 + α ( z ) 2 2 {\displaystyle 1/\cos(\alpha (z))\approx 1+{\alpha (z)^{2} \over 2}}
to get the line element along the bended path d l = d z cos α ( z ) {\displaystyle \mathrm {d} l={\mathrm {d} z \over \cos \alpha (z)}} with a varying small pitch angle α ( z ) , {\displaystyle \alpha (z),} 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
d s 2 = 0 = c 2 d t 2 ( 1 + 2 Φ c 2 ) − ( 1 + 2 Φ c 2 ) − 1 d l 2 {\displaystyle \mathrm {d} s^{2}=0=c^{2}\mathrm {d} t^{2}\left(1+{2\Phi \over c^{2}}\right)-\left(1+{2\Phi \over c^{2}}\right)^{-1}\mathrm {d} l^{2}}
where the uneven gravitational potential Φ ≪ c 2 {\displaystyle \Phi \ll c^{2}} drives a changing the speed of light
c ′ = d l / d t = ( 1 + 2 Φ c 2 ) c . {\displaystyle c'={\mathrm {d} l/\mathrm {d} t}=\left(1+{2\Phi \over c^{2}}\right)c.}
So the refraction index
n ≡ c c ′ ≈ ( 1 − 2 Φ c 2 ) . {\displaystyle n\equiv {c \over c'}\approx \left(1-{2\Phi \over c^{2}}\right).}
The refraction index greater than unity because of the negative gravitational potential Φ {\displaystyle \Phi } . Put these together and keep the leading terms we have the time arrival surface
t ≈ ∫ 0 z s d z c + ∫ 0 z s d z c α ( z ) 2 2 − ∫ 0 z s d z c 2 Φ c 2 . {\displaystyle t\approx \int _{0}^{z_{s}}{\mathrm {d} z \over c}+\int _{0}^{z_{s}}{\mathrm {d} z \over c}{\alpha (z)^{2} \over 2}-\int _{0}^{z_{s}}{\mathrm {d} z \over c}{2\Phi \over c^{2}}.}
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 α ( z ) = θ − β {\displaystyle \alpha (z)=\theta -\beta } for the path between the observer and the lens, and α ( z ) ≈ ( θ − β ) D d D d s {\displaystyle \alpha (z)\approx (\theta -\beta ){D_{d} \over D_{ds}}} for the path between the lens and the source. The geometric delay term becomes
D d c ( θ → − β → ) 2 2 + D d s c [ ( θ → − β → ) D d D d s ] 2 2 = D d D s D d s c ( θ → − β → ) 2 2 . {\displaystyle {D_{d} \over c}{({\vec {\theta }}-{\vec {\beta }})^{2} \over 2}+{D_{ds} \over c}{\left[({\vec {\theta }}-{\vec {\beta }}){D_{d} \over D_{ds}}\right]^{2} \over 2}={D_{d}D_{s} \over D_{ds}c}{({\vec {\theta }}-{\vec {\beta }})^{2} \over 2}.}
(How? There is no D s {\displaystyle D_{s}} on the left. Angular diameter distances don't add in a simple way, in general.) So the Fermat surface becomes
t = c o n s t a n t + D d D s D d s c τ , τ ≡ [ ( θ → − β → ) 2 2 − ψ ] {\displaystyle t=\mathrm {constant} +{D_{d}D_{s} \over D_{ds}c}\tau ,~\tau \equiv \left[{({\vec {\theta }}-{\vec {\beta }})^{2} \over 2}-\psi \right]}
where τ {\displaystyle \tau } is so-called dimensionless time delay, and the 2D lensing potential
ψ ( θ → ) = 2 D d s D d D s c 2 ∫ d z Φ ( D d θ → , z ) . {\displaystyle \psi ({\vec {\theta }})={\frac {2D_{ds}}{D_{d}D_{s}c^{2}}}\int \mathrm {d} z\,\Phi (D_{d}{\vec {\theta }},z).}
The images lie at the extrema of this surface, so the variation of τ {\displaystyle \tau } with θ → {\displaystyle {\vec {\theta }}} is zero,
0 = ∇ θ → τ = θ → − β → − ∇ θ → ψ ( θ → ) {\displaystyle 0=\nabla _{\vec {\theta }}\tau ={\vec {\theta }}-{\vec {\beta }}-\nabla _{\vec {\theta }}\psi ({\vec {\theta }})}
which is the lens equation. Take the Poisson's equation for 3D potential
Φ ( ξ → ) = − ∫ d 3 ξ ′ ρ ( ξ → ′ ) |
