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)

For SIS it is possible to find high order derivatives by brute force computer algebra. For SIE, this approach is prohibitively expensive, and a tailor-made algorithm is required. We will show the first and second order derivatives explicitly. At the second order, the inverse trigonometric functions disappear, and the problem becomes simpler, at least in some sense.

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 write f′=1−f2f' =\sqrt{1-f^2} as a shorthand.

See Proof of the SIE Deflection.

The second order derivative

When we proved Theorem 1, we rotated the co-ordinate by an angle λL\lambda_L, and this rotated frame remains important. Given a point (x,y)(x,y), we write (x′,y′)(x',y') for the co-ordinates in the rotated frame, i.e.

x′=cos⁡λL⋅x+sin⁡λL⋅yy′=−sin⁡λL⋅x+cos⁡λL⋅y\begin{aligned} x' & = \cos{\lambda_L}\cdot x+\sin{\lambda_L}\cdot y \\ y' & = -\sin{\lambda_L}\cdot x +\cos{\lambda_L}\cdot y \end{aligned}

We also define the following shorthands:

R=x2+y2R′=x′2+f2y′2\begin{aligned} R & =\sqrt{x^2+y^2} \\ R'& = \sqrt{x'^2+f^2y'^2} \end{aligned}

We will need the following lemma.

Now we can formulate the second derivatives, as follows.

Higher-order derivatives

To find higher order derivatives we use the 2ne order derivatives as a starting point. We see that all these derivatives have the form

θEf⋅g(x,y)R2R′ \theta_E\sqrt{f}\cdot\frac{g(x,y)}{R^2R'}

where g(x,y)g(x,y) is a monomial in xx and yy.

The following generalisation of this observation is proved under Proof for the SIE derivatives.

Having this carefully described form of each derivative helps speeding up the computer implementation. While computer algebra is computationally expensive in the general case, the transformation from g()g() to its derivative is comparatively fast, and only a very few possible simplifications have to be concidered. The implementation is documented under Implementation of SIE.

Historical notes

Several attempts were made to device a computationally viable differentiation strategy. CosmoSim v3.2 used sympy for differentiation at canonical orientation combined with the chain rule to map the result into the global co-ordinate frame. This worked up to order 5, and is documented under Implementation of SIE.

The approach outlined above is computationally more efficient.