Introduction
Due to the curvature of space-time, light rays from a distant source can take different paths in the presence of a massive object. In this way, multiple images can be generated due to this effect. The mass distribution of the lens plays an important role in the generation of these images. This phenomenon of observing multiple images is called gravitational lensing [30]. Gravitational lenses were proposed by several researchers since Einstein’s time, including Einstein himself [29]. However, these objects were not observed until 1979 [37]. After this discovery, observations increased and currently more than 100 gravitational lenses have been observed over multiple wavebands (See [17, 28, 32]). With the release of projects like the James Webb Space Telescope, and the Rubin Observatory Legacy Survey of Space and Time, the interest in strong gravitational lenses has once again increased dramatically [34, 36]. It has even been claimed that a strong gravitational lens could improve the angular resolution of modern gamma-ray instruments up to 6 orders of magnitude [2].
The treatment of gravitational lenses as transparent objects has not been considered as much as the opaque case, but some interesting studies have appeared throughout the years. In 1971, Clark considered the uniform and transparent gravitational lens and calculated the deflection angle and the effects on beam area, apparent luminosity and focusing effects [7]. Bourassa and Kantowski made further calculations on cases with spheroidal symmetry [3, 4]. After this, in 1984, there was a minor correction made by Bray in the surface density integral made by Bourassa and Kantowski [5]. Another article regarding the subject was made by McKenzie in 1985, where he shows that transparent lenses make an odd number of images [24]. This was also shown by Dyer and Roeder in 1980 [9]. Although Gottlieb argues this is not always true [13]. Nandor and Helliwell analyzed gravitational lensing with Fermat’s principle and they used the model of a transparent lens with a logarithmic varying thickness [25]. Fermat’s principle in the study of strong gravitational lenses has also appeared more recently in 2013 [18], and in 2014 an interesting software named GLASS appeared to help figure out gravitational lens models from observational data [8]. Another use of the transparent case was done by Patla and Nemiroff in 2008, where they modelled the Sun as a Transparent Sphere [27]. Theoretical work in gravitational lensing nowadays is more focused on exploring gravitational lensing under new metrics, multiplane sources, or even developing the analysis through geometric optics [33].
There have also been interesting experiments where images with transparent objects were reproduced, simulating the effects realistically. In 1969, Liebes used Plexiglas to simulate magnification and lensing effects like the ones he studied previously in 1964 [22, 23]. Icke constructed a cylindrical lens, also employing Plexiglas, to approximate the lensing of a point mass object in 1980 [16]. Higbie used Plexiglass too [14], and Falbo-Kenkel and Lohre used bases of wine glasses to simulate gravitational lensing [10]. Adler et al. employed plastic lenses according to their calculations for the point mass, the constant density sphere and the isothermal gas sphere [1]. Recently, Selmke used a setup with a water filled acrylic pool and small discs to replicate the case of a single, a binary and a triple mass lens [31].There is even an interesting work from 2022 where Xu et al. try to model gravitational lensing effects with metamaterial in a thin elastic plate [38]. That said, not much has been done in terms of computer simulations of these images caused by the transparent cases. There have been works such as Newbury and Spiteri in 2002 [26], but the focus is not in the transparent case nor in the macrolens generalization (See Section 2.2). It is unsurprising that not much attention has been given to this aspect of gravitational lensing now that the community has focused on other aspects of the theory. Moreover, we consider an interesting avenue for educational purposes on bringing back attention to the computational modeling of the images that has been relatively unexplored, as opposed to exploring the concepts through experiments.
In gravitational lensing, the singular isothermal sphere (SIS) represents a simplified mass distribution where the mass density decreases as the inverse square of the distance from the center (leading to a singularity at the center). This model is useful because it provides a good approximation for the mass distribution of certain types of galaxy clusters or elliptical galaxies. The SIS model helps in understanding how light from a background object is bent around a foreground mass, causing the characteristic lensing effects such as multiple images or distorted arcs [35].
The Non-Singular Isothermal Sphere (NIS) model is another variant used in gravitational lensing studies, and it serves as an extension or refinement of the SIS model. Unlike the SIS model, the NIS model modifies this approach to avoid the singularity. This model helps in overcoming the limitations of the SIS model by providing a more physically plausible description of a mass distribution, particularly in systems where the core density needs to be finite [15].
The King model profile is valuable for modeling systems with a finite extent and a well-defined core, making it useful for both stellar clusters and certain types of galaxy clusters in gravitational lensing studies [39]. In this article we review these gravitational lens models.
Adler et al. calculated the deflection angle for the transparent uniform sphere, the transparent SIS, and the non-singular case (NIS) [1]. In this article, using the results of Adler et al., we develop and get the calculations that are necessary to plot the caustics and critical curves. The transparent King profile, and its derivatives are also included. From these results, images are obtained for the different transparent profiles, with some caustics and critical curves associated with these profiles. Although we do this mainly for educational purposes, considering that the concepts of strong gravitational lensing are well represented in the models we studied, we also consider valuable for these calculations and images to be in the contribution, given that this area is relatively unexplored. For the computational images, the simulator XFGLenses [11, 12] is employed and for some of the critical curves and caustics, and a code made in MATLAB is used to find the curves. XGFLenses is a computational tool capable of producing the images that produces a certain galaxy or galaxy cluster given the density distribution and the parameters relevant for the calculation of the images. It is also capable of calculating the caustics of a given gravitational lens. Our aim is to better illustrate the strong gravitational lensing by transparent matter distribution concepts by making computer simulated images made with XFGLenses of different transparent cases, including the transparent and uniform sphere, and the non uniform cases with spheroidal symmetry. It is important to note that we want this article to serve as an introduction for someone interested in the topic, alongside some findings regarding the differences between images, caustic and critic curves for different density profiles in the transparent sphere and adding macrolenses, with the aid of computational simulations.
The structure of the paper is as follows: in Section 2, a brief description of the gravitational lens theory is given. In Section 3, the transparent uniform sphere is discussed. In following sections, the results for the mentioned lens models are presented. In Section 7, we will show the images and analyze them, and in Section 8, some conclusions are given.
2. Gravitational lenses
2.1. Deflection angle.
For the case of a point mass, using the Schwarzschild metric, it can be shown from the geodesic equation that the deflection angle, is given by
where â is the deflection angle (See Figure 1), G is the gravitational constant, M is the mass of the deflecting object, c is the speed of light and ξ is the impact parameter or the closest distance from the light to the object. This is valid for small angles of deflection [30].
Starting from a point mass distribution, it is possible to generalize the previous result to a mass distribution by integrating Equation 2.1, obtaining

where Σ(ξ′) is the surface mass distribution, and we are using bold characters to represent vectors and matrices. Even though it is clear that the mass distribution is a volumetric distribution, we can use the fact that the size of the lens is very small compared to the cosmological distances from the lens to the source plane and to the observer. This is known as the thin lens approximation.
In this article, we calculate different deflection angles but in all cases the matter distributions are axially symmetric. This allows the deflection angle equation to be reduced to a similar form according to Equation 2.1, as follows:

Figure 1: Diagram of the angle of deflection, showing the plane of the Source, the plane where the lens is located, and the plane of the observer.

where M(r) is the projected mass that is enclosed a distance r from the origin (See Figure 2). This simplifies the procedure of obtaining the angle of deflection by just calculating M(r) for a given distribution. There are actually two ways of calculating M(r). For a tridimensional mass distribution µ(r), one can calculate the projected bidimensional distribution Σ(ξ) by applying an Abel Transformation [19] to find M(r), or, alternatively, one can perform the tridimensional integration with µ(r), making sure that the integration only encompasses the enclosed mass in a cylinder of radius r as seen from Earth (see Figure 2).
2.2 Lens equation.
Although gravitational lensing is an effect from general relativity, it is possible to establish a purely geometric relation. Using the notation from Figure 1, the following geometric relation can be written as
where β is the angle the observer and the source make with a line normal to the lens plane, θ is the angle between a line normal to the lens plane and the ray of

Figure 2: Diagram of the enclosed mass in a cylinder of radius r. The left image represents the projected mass, as seen from Earth. On the right, the lateral view.
light before deflection, D L is the distance between the Observer plane and the Lens plane, D LS is the distance between the Source plane and the Lens plane, and D S is the distance between the Observer plane and the Source plane (in cosmology, distances cannot be added: D S ≠ D L + D LS . If the reader is interested in how to work with cosmological distances, we recommend the work from Kayser in 1997 [20]). From (2.4), the dimensionless lens equation
is obtained, where

The parameter ξ 0 is the length scale on the lens surface. The dimensionless surface density of the lens is given by

where Σ c represents the critical density, which is given by

A generalization of the lens equation (2.5) is
where x = (x 1 , x 2 ) T is the image position on the lens plane (x 2 = x 1 2 + x 2 2 ), y = (y1, y2) T is the source position on the source plane, and the matrix M is given by

where σ is the dimensionless macrolens density, γ is the dimensionless macrolens shear, and ϕ is the shear angle. In a physical sense, σ can contribute to the magnification or reduction of the lens, γ to the deformation of the lens, and ϕ to a rotation in the lens. Notice that when all of these 3 quantities are 0, M becomes the identity matrix and Equation 2.8 reduces to Equation 2.5. The components M ij (i, j = 1, 2) of the matrix are:
2.3 Caustics and critical curves.
The critical and caustic curves are important in gravitational lensing analysis, because they divide the lens into regions of interest. Knowing the caustics and the position of the source, the number of images that a gravitational lens will create can be determined, as well as where the images will be magnified [30].
The critical curves are the curves that are formed in the lens plane, on the other hand, the caustics are formed in the source plane. It can be shown that the magnification of a gravitational lens is inversely proportional to the determinant of the Jacobian matrix. Because the caustic gives us information about the concentration of light rays, mathematically the curve we are looking for can be found when the magnification diverges [30]. Thus, critical curves can be obtained if the determinant of the Jacobian is equal to zero, that is det( J ) = 0 with the matrix J given by

were the components of J are:
Then, the determinant of the Jacobian is given by

The caustics are mapped using the lens equation, in which the x 1 and x 2 are evaluated by equating the determinant of the Jacobian matrix to zero. Caustic curves are generally described by polar curves, therefore using the following change of variable of x 1 and x 2 in terms of θ and x:

From (2.8), (2.10) and (2.11), we can obtain a general expression for the determinant given by
Considering the case in which M is equal to identity matrix, Equation (2.14) does not depend on the angular coordinate (γ = 0), reducing to the expression

In this case, the form of the caustics can be obtained from
3. Transparent Sphere
As first example, the transparent sphere is considered. Whether it is the transparent or opaque case, an uniform matter distribution is useful as a first case to study, because it is among the easiest mass distributions.
The transparent sphere density is given by
where M is its mass, R its radius, and V = 4πR3/3 its volume. Because the transparent uniform sphere is axially symmetric, we only need to pay attention to the enclosed mass a distance r from the center of the distribution, so it can be scaled to find the deflection angle as a function of the scaled radius x.
The integration for M(r) gives
Then, the deflection angle would be
where R s = 2GM/c 2 is the Schwarzschild radius. The final step is to scale in terms of x. The way this is done is by defining x = r/(2R s ), and x 0 = R/(2R s ), where x, i are the new scaled variable and the new scaled radius, respectively. From this, the Einstein angle becomes
The derivative is
with
4. Transparent Isothermal Gas Sphere
The singular isothermal gas sphere or SIS describes a relatively simple distribution of matter with certain realistic properties. It is an axially symmetric distribution that gives flat rotation curves. This is important to describe the dark matter halo in galaxies. The name stems from the fact that it also represents a distribution of gas where the pressure is proportional to its density [1, 30].
The density profile for the SIS is
where b is a parameter of the model that is fitted according to the distribution in question. Here, the deflection angle becomes [1]
with total mass M = 4πbR . Now, the scaled deflection angle is
The derivative of the deflection angle is
5. Transparent non Singular Isothermal Gas Sphere
The non Singular Isothermal Gas Sphere (NIS) generalizes the SIS by adding a core radius, which eliminates the divergence the SIS model has at r = 0. Moreover, this model is more studied because realistic mass distributions and gravitational lenses are better reproduced with a non singular model, when compared to a singular one. For the NIS distribution, the density profile is given by
where r c is the core radius. The deflection angle is [1]
Scaling, the deflection angle becomes
where
Note that if x c = 0, the deflection angle is the SIS angle. Its derivative is
where
6. Transparent King Model
The King density model was proposed as a distribution that maps the density profile of the Coma cluster of galaxies [21]. Moreover, it is advantageous, because it does not diverge at r = 0, and it works well in general as a density model for clusters of galaxies with a flat rotation curve. The King density model is given by [21]
where r′ = (ρ2 + z2)/r c is the scaled distance from the center and ρ and z are the cylindrical coordinates.
The deflection angle becomes
By evaluating to find the total enclosed mass M(r) in r = R, one obtains
where
With this definition, we can write the deflection angle as
Scaling, and using the definitions f i defined for the NIS case, we obtain
where
The derivative of the deflection angle is
7. Images, Caustics and critical curves for the profiles
Now, we proceed to analyze the images, caustics and critical curves generated by the profiles described above. Figures 3, 5, 7, 9 and 11 were generated with XFGLenses. For Figures 4, 6, 8, 10 and 12, MATLAB was employed, because the caustics and critical curves for the transparent version of these profiles are not implemented in XFGLenses yet. In Figure 3, a ring is formed if the source is projected at the center of the mass distribution with the parameters γ and σ are null. This is known in gravitational lens theory as an Einstein Ring1 [30]. Note that the first image in Figure 5 also has the source in the origin. The difference between this image and the one from Figure 3 is that a non-zero value for σ and γ is added. The images are still connected but one can still note that there are four distinct images surrounding the origin and a small image in the origin, having five images in total. This is expected because, as we mentioned in the introduction, a transparent lens should have an odd number of images [24].

Figure 3: Images for the uniform transparent sphere. The black dot represents where the original source is with respect to the center of the distribution. The values for the parameters (σ and γ) are null, which means that M = I .
The positions of the caustics of the uniform transparent sphere for M = I (identity matrix) are calculated. Following from (2.14), and using (3.4) and (3.5), we have two equations when x < x 0 that give possible critical curves:
The first equation has one solution for 1 < x 0 < 3 2 , and the second equation has one solution when 0 < x 0 < 3 2 . Now, let us consider the case x > x 0 . In this case, we have the point mass case and the equations would be:
In this case, it is obvious that (7.3) has one solution x = 1 and (7.4) has no solutions. The conclusion from this is that for 0 < x 0 < 1, there are two critical curves which are circles whose radii are the solutions of (7.2) and (7.3); and, for 1 < x0 < 3 2 , there are also two critical curves, which correspond to circles whose radii are the solutions of (7.1) and (7.2). Figure 4 shows these results.
In Figure 5, there is also an odd number of images. The images stopped being connected once the source is not on the origin of the mass distribution. Another interesting result is that the number of images goes from five to three in Figure 5 (columns 1 and 2). This is yet another common result from gravitational lensing.

Figure 4: Caustics and critical curves for the uniform transparent sphere, for M = I . The critical curves are in magenta and the caustics in black. The top row has respectively, from left to right, x 0 = {0.3, 0.5, 0.7}. The bottom row has values, from left to right, of x 0 = {1, 1.1, 1.2}.
If the source crosses the caustic, the number of images is reduced by two [30]. In Figure 5, the caustic crossing can be seen.

Figure 5: Images (left) and critical curves and caustics (right) for the uniform transparent sphere. The black dot represents where the original source is with respect to the center of the distribution, and the green dots represent individual images. The values for the parameters are: σ = 0.25, ϕ = 0 and γ = 0.12 and x 0 = 1.
The images shown in Figure 6 are the critical curve and caustic if x 0 = 1. The difference here is that both the diamond and the ellipse form as caustic solutions, and in the critical curves, two ellipse-like curves are forming as solutions.
From Figure 7, we have a particularly interesting result, because the central image that appeared in the other models does not appear in this case. The reason this occurs is that the central image is the result of the unlensed light from the source going perpendicularly through the lens and to the observer. However, the SIS model has a divergence in r = 0 that results in the equation not giving this particular solution. This is consistent with the theory that predict an odd number of images, because these articles started from the assumption that the mass distribution was physically sensible, and that it did not have a divergence at the origin.

Figure 6: Images of the caustics (left) and the critical curves (right) plotted for the uniform transparent sphere. The parameters are ϕ = 0, σ = 0.25, γ = 0.16. and x 0 = 1.

Figure 7: Lens images formed by a SIS distribution. The black dot represents where the original source is with respect to the center of the distribution. The parameters are ϕ = 0, σ = 0.16 and γ = 0.12.
In 1980, Dyer and Roeder mentioned that they deduced the odd number of images for a transparent profile assuming that the matter distribution diverges less rapidly than 1/r as r goes to 0, which is not the case for the SIS profile [9]. What we observe in the images on figure 7 correspond to those that come in pairs in the transparent case, and not the one that goes from the source directly to the observer.
In Figure 8, it can be seen that the caustic solution for the transparent SIS profile is a diamond, and the critical curve it is an ellipse. These are very common as shapes for caustics and critical curves, even though they are not the only possible solutions. The NIS case is presented in Figure 9. In this case, four symmetrical images instead of an Einstein ring are observed, and the image from the center that goes through the matter distribution, because the lens is transparent. This is known as an Einstein cross, and it has been observed [30]. Five images appear in the top row and in the bottom left image, when one considers that the arc contains 3 images. In the bottom right image, the source is outside the distribution, resulting in two images from the point case.

Figure 8: Images of the caustics (left) and the critical curves (right) plotted for the Transparent SIS. The parameters are ϕ = 0, σ = 0.25, γ = 0.16 and x 0 = 1.
In Figure 10, the caustic and critical curves for NIS are quite different from the singular case. The graph for the caustic has a diamond-like figure, and the plot for the critic curve has a lemniscate-like figure.
The same interesting phenomenon as in the uniform transparent sphere is shown in Figures 11 and 12. There are two critical curves and two caustics. As in the transparent NIS profile, if the source is at the origin, an Einstein cross is observed. Another phenomenom, we can observe from Figure 11 is that, changing the values γ, ϕ, σ of M the specific shape for the Einstein cross can change to the point it is no longer symmetric. Different values for these parameters can be adjusted so that a real image can be mapped with a model. ϕ has the effect of rotating the images in this case. In Figure 11, we can also observe the transition from five to three and then to one image. Note that in the bottom left image, the arc embodies two images.
8. Conclusions
In this contribution, we present an extensive explanation regarding macro-gravitational lenses and how to calculate different properties of this images in the case of a transparent distribution of matter, following a specific profile.
With the help of XFGLenses, and with MATLAB, we show different images that arise from all of these profiles, and the different caustics and critical curves. The images are consistent with several previous results that are expected for trans-parent profiles. One of them is that these give rise to an odd number of images [9, 24], even though, as stated before, this may not be a necessary condition [13].

Figure 9: Lens images formed by a NIS distribution. The black dot represents where the original source is with respect to the center of the distribution. The parameters are ϕ = 0, σ = 0.33 and γ = 0.16.

Figure 10: Images of the caustics (left) and the critical curves (right) plotted for the transparent NIS. The parameters are ϕ = 0, σ = 0.25, γ = 0.16 and x0 = 1.

Figure 11: Lens images formed by a transparent King distribution. The black dot represents where the original source is with respect to the center of the distribution. In the 4 images, ϕ = 0. For γ, in the first row and bottom left image γ = 0.16 and in the bottom right γ = 0.08. For σ, the first column have σ = 0.33 and the second column σ = 0.25. In the Einstein cross, the central image is little and opaqued by the source.

Figure 12: Images of the caustics (left) and the critical curves (right) plotted for the transparent King. The parameters are ϕ = 0, σ = 0.25, γ = 0.16 and x 0 = 1.
The other one is that if the sources passes through the caustic, the number of images is reduced by two [30]. These images are also consistent with some of the lenses from previous observations ([17, 28, 32]). Finally, the curves shown in the caustics where the diamond, the ellipse and the lemniscate-like. For the critical curves, the most common curve is the ellipse, and the lemniscate-like appear in the transparent NIS case, which is consistent with the fact that these curves are common in gravitational lens theory.



































