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

Authors
Affiliations
NTNU---Norwegian University of Science and Technology
NTNU---Norwegian University of Science and Technology

SIE (Singular isothermal ellipsoid)

The lens potential of SIE is given as (see SIE):

ψSIER(θE,f,λL;θ,ϕ)=θEf1−f2θ⋅([sin⁡(ϕ−λL)]⋅sin⁡−1(1−f2⋅sin⁡(ϕ−λL))+[cos⁡(ϕ−λL)]⋅sinh⁡−1(1−f2fcos⁡(ϕ−λL))).\begin{aligned} \begin{split} \psi^R_\textrm{SIE}(\theta_E,f,\lambda_L;\theta,\phi) & = \theta_E\sqrt{\frac{f}{1-f^2}}\theta \\ & \cdot \Bigg([\sin(\phi-\lambda_L)]\cdot\sin^{-1}\left(\sqrt{1-f^2}\cdot \sin{(\phi-\lambda_L)}\right) \\& +[\cos(\phi-\lambda_L)]\cdot\sinh^{-1}\left(\frac{\sqrt{1-f^2}}{f}\cos(\phi-\lambda_L)\right)\Bigg). \end{split} \end{aligned}

where (θ,ϕ)(\theta,\phi) are the polar coordinates in the lens plane, whereas λL\lambda_L is the orientation of the ellipse. That is, the major axis of the ellipse is θ\theta from the xx-axis, counter-clockwise. Thus λL\lambda_L is constant across the image.

In the following, we use the following shorthands:

f′=1−f2,C0=ξ0DL2\begin{aligned} f' & =\sqrt{1-f^2}, \\ C_0 & = \frac{\xi_0}{D_L^2} \end{aligned}

Derivation at canonical orientation

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

ψR(r,ϕ)=C0⋅ff′R⋅[sin⁡ϕsin⁡−1(f′⋅sin⁡ϕ)+cos⁡ϕsinh⁡−1(f′f⋅cos⁡ϕ)]\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)=C0⋅ff′⋅[ysin⁡−1(f′⋅yR)+xsinh⁡−1(f′f⋅xR)]\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.

ddxsin⁡−1x=11−x2\frac{d}{dx}\sin^{-1} x = \frac{1}{\sqrt{1-x^2}}
ddxsinh⁡−1x=11+x2\frac{d}{dx}\sinh^{-1} x = \frac{1}{\sqrt{1+x^2}}

Differentiation with respect to xx

Firstly, we differentiate the sin⁡−1\sin^{-1}-term

t1=ddxysin⁡−1(f′⋅yR)=y1−(f′yR)2(f′y)ddx1R=y1−(f′yR)2(f′y)−1R2dRdx=y1−(f′yR)2(f′y)−1R2xR=−f′xy21−(f′yR)21R3=−f′xy2R3⋅11−(f′yR)2\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 sinh⁡−1\sinh^{-1}-term

ddxxsinh⁡−1(f′f⋅xR)=sinh⁡−1(f′f⋅xR)+x1+(f′fxR)2f′f⋅ddxxR=sinh⁡−1(f′f⋅xR)+t2\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

t2=x1+(f′fxR)2f′f⋅ddxxR=x1+(f′fxR)2f′f⋅[1R−x1R2xR]=x1+(f′fxR)2f′f⋅x2+y2−x2R3=f′f⋅xy21+(f′fxR)2⋅1R3=f′xy2R3⋅1f2+(f′xR)2\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′⋅[sinh⁡−1(f′f⋅xR)+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=f′xy2R3⋅[1f2+(f′xR)2−11−(f′yR)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+(f′xR)2−11−(f′yR)2T = \frac{1}{\sqrt{f^2 + (f'\frac{x}{R})^2}} - \frac{1}{\sqrt{1 - (f'\frac{y}{R})^2}}

We have

T=Rf2R2+(1−f2)x2−RR2−(1−f2)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+x2−Rx2+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)=C0ff′sinh⁡−1(f′f⋅xR)\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)=C0ff′sin⁡−1(f′⋅yR)\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.

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.

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.