Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

The SIE Lens

SIE (Singular isothermal ellipsoid)

The singular isothermal ellipsoid is a simple example of a non-spherical source.

The dimensionless projected surface-mass density κ\kappa is given as

κ(ξ1,ξ2)=fξ02ξ12+f2ξ22,\kappa(\xi_1,\xi_2)=\frac{\sqrt{f}\xi_0}{2\sqrt{\xi_1^2+f^2\xi_2^2}},

where the axis ratio ff obeys 0<f10\lt f\le1 and ξ0\xi_0 is a constant parameter related to the total mass (analogous to the Einstein radius RER_E).

Remark The relationship between κ\kappa and the lens potential ψR\psi^{\mathrm{R}} is

κ(ξ1,ξ2)=12DL2(ψξ1ξ1R(ξ1,ξ2)+ψξ2ξ2R(ξ1,ξ2))\kappa(\xi_1,\xi_2) = \frac12D_L^2\left( \psi_{\xi_1\xi_1}^{\mathrm{R}}(\xi_1,\xi_2) + \psi_{\xi_2\xi_2}^{\mathrm{R}}(\xi_1,\xi_2) \right)

where ψR\psi^{\mathrm{R}} is defined in Lens Potential.

Remark Note that the normalization is chosen such that the mass inside an elliptical iso-density contour for fixed Σ\Sigma is independent of the axis ratio ff.

Solving the Poisson equation, this gives, according to Kormann (1994) the following. \begin{aligned} \begin{split} \psi_{\xi_0,f,\theta,D_\mathrm{L}}^\textrm{SIE(R)}(R,\phi) = \frac{\xi_0}{D_\textrm{L}^2}\sqrt{\frac{f}{1-f^2}}R\cdot &\Bigg([\sin(\phi-\theta)]\cdot\sin^{-1}\left(\sqrt{1-f^2}\cdot \sin{(\phi-\theta)}\right) \\& +[\cos(\phi-\theta)]\cdot\sinh^{-1}\left(\frac{\sqrt{1-f^2}}{f}\cos(\phi-\theta)\right)\Bigg). \end{split} \end{aligned} where (R,ϕ)(R,\phi) are the polar coordinates in the lens plane, whereas θ\theta is the orientation of the ellipse. That is, the major axis of the ellipse is θ\theta from the xx-axis, counter-clockwise. Thus ϕ\phi should take a constant value across the image. Note the co-ordinate relation

ξ=R(sinϕ,cosϕ).\boldsymbol{\xi}= R\cdot (\sin\phi,\cos\phi).

In the following, we use the following shorthands: \begin{aligned} f’ & =\sqrt{1-f^2}, \\\\ C_0 & = \frac{\xi_0}{D_L^2} \end{aligned}

Normalisation of the Lens Potential

Recall from Lens Potential that the lens potential ψR\psi^{\mathrm{R}} used in the Roulette formalism differs from the more standard normalisation by a factor of ξ02/DL2\xi_0^2/D_L^2 or C0ξ0C_0\xi_0. If we also mormalise RR, and write R=ξ0rR=\xi_0r, we can rewrite ψ\psi as \begin{split} \psi_{\xi_0,f,\theta,D_\mathrm{L}}^\textrm{SIE(R)}(r,\phi) = \frac{\xi_0^2}{D_\textrm{L}^2}\sqrt{\frac{f}{1-f^2}}\cdot r\cdot &\Bigg([\sin(\phi-\theta)]\cdot\sin^{-1}\left(\sqrt{1-f^2}\cdot \sin{(\phi-\theta)}\right) \\& +[\cos(\phi-\theta)]\cdot\sinh^{-1}\left(\frac{\sqrt{1-f^2}}{f}\cos(\phi-\theta)\right)\Bigg). \end{split} Now the standard normalisation reads \begin{split} \psi_{\xi_0,f,\theta,D_\mathrm{L}}^\textrm{SIE}(r,\phi) = \sqrt{\frac{f}{1-f^2}}\cdot r\cdot &\Bigg([\sin(\phi-\theta)]\cdot\sin^{-1}\left(\sqrt{1-f^2}\cdot \sin{(\phi-\theta)}\right) \\& +[\cos(\phi-\theta)]\cdot\sinh^{-1}\left(\frac{\sqrt{1-f^2}}{f}\cos(\phi-\theta)\right)\Bigg). \end{split}

Derivation with θ=0\theta=0

In this section we assume θ=0\theta=0, aligning the elliptical lens with the primary axis. Then ψR\psi^{\mathrm{R}} becomes

ψR(r,ϕ)=C0ffR[sinϕsin1(fsinϕ)+cosϕsinh1(ffcosϕ)]\psi^{\mathrm{R}}(r,\phi) = C_0\cdot \frac{\sqrt{f}}{f'}R\cdot\left[ \sin\phi\sin^{-1}(f'\cdot\sin\phi) + \cos\phi\sinh^{-1}\left(\frac{f'}{f}\cdot\cos\phi\right)\right]

In Cartesian coordinates, we get

ψR(x,y)=C0ff[ysin1(fyR)+xsinh1(ffxR)]\psi^{\mathrm{R}}(x,y) = C_0\cdot \frac{\sqrt{f}}{f'}\cdot\left[ y\sin^{-1}\left(f'\cdot\frac{y}{R}\right) + x\sinh^{-1}\left(\frac{f'}{f}\cdot\frac{x}{R}\right) \right]

where

R=x2+y2R=\sqrt{x^2+y^2}

The deflection is given by the gradient ψR\nabla\psi^{\mathrm{R}}. We need the following basic rules.

ddxsin1x=11x2\frac{d}{dx}\sin^{-1} x = \frac{1}{\sqrt{1-x^2}}
ddxsinh1x=11+x2\frac{d}{dx}\sinh^{-1} x = \frac{1}{\sqrt{1+x^2}}

Differentiation with respect to xx

Firstly, we differentiate the sin1\sin^{-1}-term \begin{aligned} \begin{split} t_1 = \frac{d}{dx} y\sin^{-1}\left(f’\cdot\frac{y}{R}\right) &= \frac{y}{\sqrt{1 - (f’\frac{y}{R})^2}}(f’y) \frac{d}{dx}\frac{1}{R} \\& = \frac{y}{\sqrt{1 - (f’\frac{y}{R})^2}}(f’y) \frac{-1}{R^2} \frac{dR}{dx} \\& = \frac{y}{\sqrt{1 - (f’\frac{y}{R})^2}}(f’y) \frac{-1}{R^2} \frac{x}{R} \\& = -\frac{f’xy^2}{\sqrt{1 - (f’\frac{y}{R})^2}} \frac{1}{R^3} \\& = -\frac{f’xy^2}{R^3}\cdot \frac{1}{\sqrt{1 - (f’\frac{y}{R})^2}} \end{split} \end{aligned} Secondly, we differentiate the sinh1\sinh^{-1}-term \begin{aligned} \begin{split} \frac{d}{dx} x\sinh^{-1}\left(\frac{f’}{f}\cdot\frac{x}{R}\right) &= \sinh^{-1}\left(\frac{f’}{f}\cdot\frac{x}{R}\right) + \frac{x}{\sqrt{1 + (\frac{f’}{f}\frac{x}{R})^2}}\frac{f’}{f} \cdot \frac{d}{dx}\frac{x}{R} \\& = \sinh^{-1}\left(\frac{f’}{f}\cdot\frac{x}{R}\right) + t_2 \end{split} \end{aligned} where \begin{aligned} \begin{split} t_2 &= \frac{x}{\sqrt{1 + (\frac{f’}{f}\frac{x}{R})^2}}\frac{f’}{f} \cdot \frac{d}{dx}\frac{x}{R} \\& = \frac{x}{\sqrt{1 + (\frac{f’}{f}\frac{x}{R})^2}}\frac{f’}{f} \cdot \left[ \frac{1}{R} - x\frac{1}{R^2}\frac{x}{R} \right] \\& = \frac{x}{\sqrt{1 + (\frac{f’}{f}\frac{x}{R})^2}}\frac{f’}{f} \cdot \frac{x^2+y^2 - x^2}{R^3} \\& = \frac{f’}{f}\cdot\frac{xy^2}{\sqrt{1 + (\frac{f’}{f}\frac{x}{R})^2}} \cdot \frac{1}{R^3} \\& = \frac{f’xy^2}{R^3} \cdot \frac{1}{\sqrt{f^2 + (f’\frac{x}{R})^2}} \end{split} \end{aligned} The partial derivative of the lens potential is then

ddxψR(x,y)=C0ff[sinh1(ffxR)+t1+t2]\frac{d}{dx}\psi^{\mathrm{R}}(x,y) = C_0\frac{\sqrt{f}}{f'}\cdot\left[ \sinh^{-1}\left(\frac{f'}{f}\cdot\frac{x}{R}\right) + t_1 + t_2 \right]

We can prove that t1+t2=0t_1+t_2=0.

t1+t2=fxy2R3[1f2+(fxR)211(fyR)2]t_1 + t_2 = \frac{f'xy^2}{R^3} \cdot \left[ \frac{1}{\sqrt{f^2 + (f'\frac{x}{R})^2}} - \frac{1}{\sqrt{1 - (f'\frac{y}{R})^2}} \right]

It suffices to prove that T=0T=0 where

T=1f2+(fxR)211(fyR)2T = \frac{1}{\sqrt{f^2 + (f'\frac{x}{R})^2}} - \frac{1}{\sqrt{1 - (f'\frac{y}{R})^2}}

We have

T=Rf2R2+(1f2)x2RR2(1f2)y2T = \frac{R}{\sqrt{f^2R^2 + (1-f^2)x^2}} - \frac{R}{\sqrt{R^2 - (1-f^2)y^2}}

Using the fact that R2=x2+y2R^2=x^2+y^2 we get

T==Rf2y2+x2Rx2+f2y2=0,T = = \frac{R}{\sqrt{f^2y^2+x^2}} - \frac{R}{\sqrt{x^2 + f^2y^2}} = 0,

as required. We conclude that

ddxψR(x,y)=C0ffsinh1(ffxR)\frac{d}{dx}\psi^{\mathrm{R}}(x,y) = C_0\frac{\sqrt{f}}{f'} \sinh^{-1}\left(\frac{f'}{f}\cdot\frac{x}{R}\right)

Differentiation with respect to yy

The differentiation with respect to yy is similar and gives

ddyψR(x,y)=C0ffsin1(fyR)\frac{d}{dy}\psi^{\mathrm{R}}(x,y) = C_0\frac{\sqrt{f}}{f'} \sin^{-1}\left(f'\cdot\frac{y}{R}\right)

Deflection for arbitrary orientation

For Raytrace simulation, we only require the first order derivatives. We find it easiest to calculate the deflection vector in a local co-ordinate system where θ=0\theta=0, and then rotate the deflection vector to get the deflectio in the global co-ordinate system. This is derived as [Approach 1](Differentiating SIE Approach 1).

In Roulette simulation, we require higher order derivatives. The recursive formulæ for roulette amplitudes proved intractible, but the non-recursive formulæ are straight forward if higher-order partial derivatives of ψ\psi can be calculated.

The rotation trick which worked for first-order derivativs does not easily generalise to higher orders. We ended up using a co-ordinate substitution and chain rule differentiation. This is elaborated as [Approach 2](Differentiation of SIE).

A possible . Approach 3 would differentiate the general formula for ψR\psi^{\mathrm{R}}, but believing this to be computationally intractible, we have not developed this any further.

Other properties