The General Theory of Relativity (GTR) is probably one of the most elegant theories ever performed. It was put forth by Albert Einstein in its current form in a 1916 publication, which expanded on his previous work of 1915   . This is summarized in 14 equations   . The Einstein field equations (ten equations written in tensor notation)
and the geodesic Equations (4 equations)
In (1) is the Einstein’s Tensor, which describes the curvature of space-time, is the Ricci tensor, and R is the Ricci scalar (the trace of the Ricci tensor), is the metric tensor that describes the deviation of the Pythagoras theorem in a curved space, is the stress-energy tensor
describing the content of matter and energy. , where c is the speed of
light in vacuum and G is the gravitational constant. Finally, λ is the cosmological constant introduced by Einstein in 1917    that is a measure of the contribution to the energy density of the universe due to vacuum fluctuations. In Equation (2) s is the arc length satisfying the relation and are the connection coefficients (Christoffel symbols of the second kind). is the position four-vector of the particle. We use Greek letters as , etc for 0, 1, 2, 3. We have adopted the Einstein summation convention in which we sum over repeated indices. Einstein’s Equations (1) tells us that the curvature of a region of space-time is determined by the distribution of mass-energy of the same and they can be derived from the Einstein-Hilbert action   :
In Equation (3) represents a region of space-time, is the Lagrangian density due to the fields of matter and energy and g is the determinant of the metric tensor.
One of the most relevant predictions of General Relativity is the gravitational deflection of light. It was demonstrated during the solar eclipse of 1919 by two british expeditions  . One of the expeditions was led by Arthur Eddington and was bound for the island of Príncipe in East Africa. The other one was led by Andrew Crommelin in the region of Sobral in Brazil. The light deflection can be measured taking a photograph of a star near the limb of the Sun, and then comparing it with another picture of the same star when the sun is not in the visual field. The observations are not easy. At present, Very Long Baseline Interferometry (VLBI) is used to measure the gravitational deflection of radio waves by the sun from observations of extragalactic radio sources  . The result is very close to the value predicted by General Relativity  , which is seconds of arc ( and represent the solar mass and radius, respectively).
In the literature we can find calculations to second order of the deflection of light by a spherically symmetric body using Schwarzschild coordinates     . In particular, in reference  , the deflection of light is calculated via homotopy perturbation method. In this paper using the Schwarzschild metric we obtain higher order corrections (up to 20-th order) for the gravitational deflection of light around a massive object like a star or a black hole using the Lindstedt-Poincaré method to solve the equation of motion of a photon around the stellar body. We try to push the calculation until the 20th order because the perturbation method we use is more of a formal series expansion in a small parameter, and as such should be expected to be treated as most as an asymptotic series. Additionally, we obtain diagonal Padé approximants from the perturbation expansion, and we show how these are a better fit for the numerical data. We make use of Pade approximants on our asymptotic series for the deflection angle to both increase its region of validity, and to improve as we shall see, matches the qualitative behavior of the deflection angle. We also use these approximants in ray-tracing algorithms to model the bending of light around the massive object. We think that this paper can be very useful for undergraduate students to learn the use of perturbative techniques for solving problems not only within the framework of the General Theory of Relativity, but also in other fields of Physics.
2. Schwarzschild Metric
For a spherical symmetric space-time with a mass M in the center of the coordinate system, the invariant interval is   :
In (4) , with coordinates , , and . where is the Schwarzschild radius.
The corresponding covariant metric tensor is given by
Equation (4) has two singularities. The first one is when (the Schwarzschild radius) which defines the horizon event of a black hole. This is a mathematical singularity that can be removed by a convenient coordinate transformation like the one introduced by Eddington in 1924 or Finkelstein in1958  :
With this coordinate transformation the invariant interval reads:
The other singularity in is a physical singularity that can not be removed. For a radius , all massless and massive test particles eventually reach the singularity at . Thus, neglecting quantum effects like Hawking radiation   , any particle (even photons) that falls beyond this Schwarzschild radius will not escape the black hole.
3. Geodesic Equation for a Photon in a Schwarzschild Metric
The geodesic equation can be written in an alternative form using the Lagrangian
where σ is a parameter of the trajectory of the particle, which is usually taken to be the proper time, t, or an affine parameter for massless particles like a photon.
The resulting geodesic equation is (where ):
Consider a photon traveling in the equatorial plane ( ) around a massive object. For a photon, and thus, we use an affine parameter, λ, to describe the trajectory instead of the proper time, t. For the coordinates ct ( ) and f ( ) the geodesic Equation (9) give us, respectively:
Both of these equations define the following constants along the trajectory of the photon around the massive object:
where has units of energy per unit mass and J of angular momentum per unit mass (when λ has units of time).
The invariant interval for the Schwarzschild metric in the plane is.
Using the last equation can be written in the form
Multiplying (15) by γ, and inserting the definitions of and J we obtain:
This equation can be turned into an equation for , noting that
so we arrive at the following equation for :
By taking the derivative of Equation (18) with respect to f, we get the following differential equation for
The differential equation in (19) can be separated into two differential equations for . The first one is the equation for a photon that travels directly into or out from the black hole:
the other differential equation, applicable for trajectories in which is not constant with respect to f, is the following:
This equation can also be written in the following way, using the definition of the Schwarzschild radius:
This is the equation for the trajectory of a massless particle that travels around a black hole in the equatorial plane.
4. Differential Equation for the Trajectory of a Photon
In the previous section, we obtained a differential equation for a photon traveling around a masive object like a star or a black hole (see Equation (22)). This equation has an exact constant solution, for the unstable circular orbit of a photon around the black hole:
where is the radius of the so-called photon sphere (a special case of photon surfaces)  1 We note that the radius of the photon sphere can be expressed in terms of the Schwarzschild radius:
1In reference  we can find important theorems on photon surfaces.
The orbit described by a photon in the photon sphere is actually an unstable orbit, and a small perturbation in the orbit can lead either to the photon escaping the black hole or diving towards the event horizon  .
Equation (22) is nonlinear, and is highly difficult to solve analytically. However, a perturbative solution of this equation can be readily obtained. Let’s first rewrite Equation (22) in terms of :
Consider the trajectory of a photon outside the photon sphere showed in Figure 1. The initial conditions are taken such that , and is called the impact parameter of the trajectory―the closest distance from the trajectory to
the center of the black hole. We thus have, and . The
photon experiences a total angular deflection of 2α. The smallest value of the r-coordinate in the trajectory, , is taken such that the photon escapes the
black hole, . We will rewrite Equation (25) in terms of , which
we will use as a non-dimensional small number for our following perturbative expansions. Note that by multiplying both sides of Equation (25) by b, and defining the non-dimensional trajectory parameter
Figure 1. Trajectory of a photon outside the photon sphere.
Equation (25), with the inclusion of the term , then becomes a differential equation in :
where , and with initial conditions given by
Under these conditions, is bounded such that
5. First-Order Solution for
A first idea to obtain a solution of Equation (27) is to consider a as a power series in :
Plugging the expansion (30) into Equation (27) results in the following:
We can group the powers of ò in Equation (31):
Note that the initial conditions of , applied to the asymptotic expansion in Equation (30), imply the following, by grouping powers of :
From these differential equations and initial conditions, we can readily obtain and iteratively (it is convenient to write the in terms of polynomials in ):
Thus, we obtain an equation for , per Equation (30):
According to the coordinate system shown in Figure 1, the photon goes through a total angular deflection of 2α. This corresponds to setting for both and . From both of these conditions considering that α is very small, to first order in we get:
The total deviation of the photon is then
For a light ray grazing the Sun’s limb  and we get the very well known value
where is the Sun’s Mass, and is the value of the speed of light in vacuum  .
6. Towards a Second-Order Solution for
We will now see how to obtain higher-order solutions for W. The differential equation in (34) has the following solution:
However, the term in Equation (44) that goes as grows without bound, and occurs because the right-handed side of Equation (34) contains terms proportional to the homogeneous solution of Equation (34): . When this happens, the solution contains terms that grow without bound, such as , called secular terms  . Thus, if we naively include Equation (44) in , our solution is no longer bounded. Thus, we have to eliminate any and all secular term that arises to arrive at a well-behaved solution for .
One method to do this, due to Lindstedt and Poincaré, is by solving the differential equation in the following strained coordinate  :
where the are constants to be determined. In terms of this new strained coordinate , Equation (27) becomes
We proceed in the previous way, and assume an asymptotic expansion on :
Plugging the expansion(47) in Equation (46), we obtain:
We can group the powers of ò in Equation (48):
With some care due to the definitions of the scaled variable and its derivative, we arrive at initial conditions for the from the initial conditions of :
Solving the differential Equation (49) with initial conditions (53), we arrive at the zeroth-order contribution to :
Similarly, we can obtain from Equation (50) subject to initial conditions (54):
We note that a secular term has appeared for . However, we use our freedom in the definition of to eliminate this secular term by setting
so that the final form of is:
Similarly we obtain for :
To eliminate the secular term in , we set
and obtain the well-behaved second-order term
From all the solutions obtained so far, we can obtain the second-order correction to . Note that is given by:
We set up in Equation (62), such that and obtain:
We could truncate this Equation and solve the resultant cubic polynomial in . However, this method would not be easy to generalize, because we do not have a general formula for the roots of fifth-order polynomials and above, according to Galois theory  . Also, an n-th order polynomial results in n different complex solutions, one of which we expect to have a leading term of order , to obtain a better approximation of , and we would need to check all the n different solutions for this. Additionally, we have to remember that so far this is an asymptotic expansion in , and the truncation of the higher-order terms does not allow us to clearly see what the order of our estimate for is. All of these problems are solved by assuming that has the following expansion in , with a leading term of order :
where the are constants to be determined. Inserting this new expansion into Equation (63) leads to the following algebraic Equation:
Then, we have to equal to zero the different powers of ò in the last equation. Equating to zero the terms with we arrive at:
and equating to zero the terms with we arrive at:
Thus, is given by:
To obtain , we employ the Taylor series of around :
However, what we actually want is α. From the definition of the strained coordinate in (45), it is clear that:
From the last equation, an using the Taylor expansion of around , we obtain:
From which we can obtain the total deflection angle,
This result is in agreement with other work     .
7. Higher Order Solutions for
The previous procedure can be automated to obtain higher-order expressions for . Notably, all the solutions for the are in the forms of -order polynomials of , and a secular term that is eliminated by choosing a suitable . The use of the expansion of in powers of guarantees both the form of with a leading term of order , and leads to algebraic equations for the that are exceedingly easy to solve. Notably, getting a higher-order solution conserves the lower-order terms. Consider the formal Taylor expansion of around :
A table of the coefficients of the series of in (74) can be found in Table 1. These were found using the method of the previous sections, and obtaining the solutions up to .
Clearly, as , , because the photon starts going around the black hole as it starts closing in the photon sphere ( ). This means that has a singularity at . The Taylor expansion of around that we found at Equation (74) does not return an estimate for the position of this singularity, because a polynomial does not have a singularity. However, we can obtain Padé approximants for W around , and these will return an estimate for the position of this singularity.
As a small refresher on Padé approximants, we note their definition. A Padé approximant of a function is a rational function of the form:
where and are equal in their first derivatives around   . A diagonal Padé approximant is a Padé approximant in which . We can obtain the diagonal Padé approximants for up to N = 10 with the Taylor series expansion for . For example, the Padé approximant is given by:
The exact formulas for the Padé approximants of are rather complicated because of the powers of π involved. Due to this, our work with Padé approximants will be purely numeric. All the Padé approximants have a singularity of order 1 at a position around . The position of this singularity, , is tabulated for the 10 Padé approximants in Table 2.
8. Numerical Tests for W(λ) and Its Padé Approximants
All the coefficients for the Taylor expansion of were obtained around . We can test the correctness of the methods thus far used to obtain this function by comparing it to the results of numerical solutions of Equation (22). This is done with both truncated n-th order Taylor polynomials from and for the Padé approximants we obtain from this function, . This comparisons are shown in Figure 2 and Figure 3.
Table 1. Coefficients of the series of in (74). For these coefficients, we report both the exact values and the numerical values with 6 significant figures.
We see from Figure 2 and Figure 3 that the Padé approximants are much faster at converging into the actual form of . The convergence of the Padé approximants is such that for , the diagonal Padé approximant is within 3% of the corresponding numerical value. This is mainly due to the fact that Padé approximants are better in approximating functions
Table 2. The position of the singularity near for the Padé approximants, .
Figure 2. Numerical points obtained for compared to the truncated n-th order Taylor polynomials of , up to 20-th order. With increasing value of n, the polynomials take larger values.
that have singularities  . Once we know that the behave correctly, we can use the to simulate the bending of light around a black hole. A simple first-order ray tracing algorithm that does this for the different approximations of we have found is shown in the next section.
9. Ray tracing Using
Consider an observer A immersed in a background distribution of far away light sources. This observer can obtain the angular position of every object in the sky, and determine the intensity of light that comes from every point in the sky,
Figure 3. Numerical points obtained for compared to the truncated N-th diagonal Padé approximants of , up to . With increasing value of N, the Padé approximants take larger values. For , the Padé approximant is within 3% of the numerical value of .
, in spherical coordinates. Now, imagine another point in space, B, far enough from the observer A such that the intensity of light that comes from every point in the sky, according to an observer in point B, is also given by the distribution found by observer A: . If we place a black hole at point B, then light coming from the faraway sources will bend around the black hole such that the original observer will see a different distribution of light around the black hole. In this condition, the observer will be able to note that the black hole effectively subtends a solid angle in the sky―region in the sky devoid of any light due to the black hole. One half of the angle subtended by the black hole will effectively give the “angular radius” of the black hole, as seen by the observer, .
If we consider that the black region of the sky due to the black hole is due to the radius of the photon sphere, , instead of the the Schwarzschild radius, , and if we choose the coordinate system such that the black hole is at the positive x-axis, and , then, by definition of , the new distribution of light measured by the observer will obey (for small enough ):
For other values of , the observer sees light distribution shifted by the , where is given for by:
One can convince himself of this by considering the light from faraway objects that grazes the black hole at a distance given by . This trajectory of this light is bended by the black hole for . However, if , the light will not escape and effectively no light coming from faraway objects will seem to originate from , which becomes an effective radius for the black hole, according to observer A in these conditions. In the case that mass enters the black hole, and emits light from an r that obeys , the light can escape the black hole, and is severely red-shifted. However, we are here considering a black hole with no light sources between .
We can use a further simplification of Equation (78), and use the coordinates defined by , . For small values of and , say, in the order of milliradians, we can write:
where the analogue with Cartesian coordinates is evident. This coordinate system is shown in Figure 4 for a black hole that subtends steradians, such that mrad.
This coordinate choice allows one to define the distribution of intensities that observer A sees to be (disregarding some attenuation factors):
where and we have used , the angular distribution of intensities seen by observer A without the black hole present, and using the coordinates . We can see the effect of applying Equation (81) by using the defined from Figure 5.
To model the deflection of light with the distribution in Figure 5, we use Equation (81) with approximated as a truncated first-degree Taylor polynomial, and as diagonal Padé approximants with and . The resulting images can be found in Figures 6-8. We use a black hole with mrads.
The most notable difference between Figure 6 and Figure 7 is the position of the white ring around the black hole, corresponding to the gravitational lensing of the big, white star at the black hole position . When using a better approximation of , this ring has greater inner and outer radii, and is thinner. In Figure 8, there are 8 white pixels around millirads, corresponding to a second ring of light due to the big, white star.
10. Conclusions and Suggestions
One of the most important predictions of the General Theory of Relativity is undoubtedly the bending of light around a massive object like a star, a black hole
Figure 4. A black hole with mrad in the center of the coordinate system.
Figure 5. image corresponding to the intensity due to background light sources, , without a black hole present. Each pixel corresponds to 1 mrad. The big star, in white, has a radius of 50 mrad. The small stars, in gray, have a radius of 3 mrad. The star is at the center of the coordinate system, .
Figure 6. Background of Figure 5 warped by a black hole at (a) mrad, (b) mrad, (c) mrad, and (d) mrad. We make use of the truncated first-order Taylor polynomial of .
Figure 7. Background of Figure 5 warped by a black hole at (a) mrad, (b) mrad, (c) mrad, and (d) mrad. We make use of the diagonal Padé approximant of .
Figure 8. Background of Figure 5 warped by a black hole at (a) mrad, (b) mrad, (c) mrad, and (d) mrad. We make use of the diagonal Padé approximant of .
or even a galaxy (in this case it can generate a gravitational lens). In this paper using the Schwarzschild metric we have obtained higher order corrections for the gravitational deflection of light around said objects using the Lindstedt-Poincaré method to solve the equation of motion of a photon around the stellar body. We have successfully obtained an expression for , the angular deflection experienced by a photon traveling around the massive object. We have assumed that the parameter ò was small, and we were able to obtain the coefficients of the series of up to (the non-dimensional trajectory parameter, see equation (26)). The results are given in Table 1. Additionally, we have obtained diagonal Padé approximants from the perturbation expansion, and we have shown how these are a better fit for the numerical data. The best approximation for we obtained was consistent with the numerical data even for an . In this case, the diagonal Padé approximant is within 3% of the corresponding numerical value. We were able to use this estimate for in ray-tracing algorithms to model the bending of light around the massive object.
We thank Dr. V. K. Shchigolev for useful comments. Publication of this article was funded by the Universidad San Francisco de Quito USFQ Research Publication Fund.
 Lebach, D.E., et al. (1995) Measurement of the Solar Gravitational Deflection of Radio Waves using Very-Long-Baseline Interferometry. Physical Review Letters, 75, 1439-1442.
 Bodenner, J. and Will, C. (2003) Deflection of Light to Second Order: A Tool for Illustrating Principles of General Relativity. American Journal of Physics, 71, 770-773.
 Richter, G.W. and Matzner, R.A. (1982) Second Order Contributions to Gravitational Deflection of Light in the Parametrized Post-Newtonian Formalism. Physical Review D, 26, 1219-1224.
 Yamada, H. and Ikeda, K. (2014) A Numerical Test of Padé Approximation for Some Functions with Singularity. International Journal of Computational Mathematics, 2014, Article ID: 587430.