SECTION IV. A
Singular Isothermal Sphere Lens With Shear (Off Origin)
This section provides the step by step
analytical solution for the image positions and magnifications in the
case of an SIS lens with shear off the origin. It then uses these
calculations
for
comparison to demonstrate how to use gravlens to obtain such a
solution.
Part 1. Analytical Analysis
This exercise is very much like the one in the
previous section
except this time the source position will not be at the origin.
Thus, this case utilizes the same equations found in the previous
section. We
will again assume shear of the system is:

and the value for the deflection angle, b, or Einstein radius is
the same as that in the previous SIS examples:

The source position,
, is defined as:

where the relation between
and
the
Cartesian coordinate
source position is defined by:

We will also assume that the source lies on one of the axes (in
this
example, the y-axis) since
the case in which the source does not lie on
at least one of the axes cannot be solved analytically. Thus, we
will
use:

This lens model will produce four images. From the
equation for
v, we find:

Using the equality to solve for x in the equation for u yields:


We can now solve for the y
coordinate:


Next we solve for x when y = 0:


Thus, we find the four images produced are:

or

To find each image's magnification, we
must solve for the each
image's polar distance, r,
and polar angle,
:




This information can now be used to solve for each image's
magnification:

Thus, analytical calculations for this
lensing case yield the solution:

Part 2.
Gravlens Analysis
Now, we can use the gravlens
software to
obtain the same
results. The model and its
parameters are defined to be the same as those in the previous
section. The only thing that will differ in our input file is the
source position. In this example, the Cartesian
coordinates that define the source position are:
u = 0.070
v = 0.000
Thus, the input file for this run must
contain the following information:
startup 1 1
alpha 0.70 0 0 0 0 0.1 0 0 0 1
0 0 0 0 0 0 0 0 0 0
findimg 0.070 0.000
Now to use gravlens to perform this
run, at the prompt we enter the command:
> gravlens
<file>
The software will return the following:
findimg results:
7.000000e-002 0.000000e+000 # source
# 5 images:
-2.020732e-005 -3.574718e-012 8.502403e-008
-3.500000e-001 5.313487e-001 -6.518694e+000
-6.998889e-001 -2.648949e-022 1.111464e+001
-3.500000e-001 -5.313487e-001 -6.518694e+000
8.554646e-001 -2.435950e-022 3.942950e+000
These gravlens
results will
contain a fifth "ghost" image which can be
ignored.
It will lie very close to the origin and will have an extremely low
magnification. This "image" is produced due to part of the code
which
attempts to smooth out the transition in finding the images.
Again, it should be noted that the analytical results will be a little
off from the
gravlens
results due to rounding.