<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JAMP</journal-id><journal-title-group><journal-title>Journal of Applied Mathematics and Physics</journal-title></journal-title-group><issn pub-type="epub">2327-4352</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jamp.2019.78127</article-id><article-id pub-id-type="publisher-id">JAMP-94564</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Simulation of Transit Timing Variation
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ziyue</surname><given-names>Zeng</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Guangdong Experimental High School, Guangzhou, China</addr-line></aff><pub-date pub-type="epub"><day>12</day><month>08</month><year>2019</year></pub-date><volume>07</volume><issue>08</issue><fpage>1861</fpage><lpage>1869</lpage><history><date date-type="received"><day>14,</day>	<month>June</month>	<year>2019</year></date><date date-type="rev-recd"><day>20,</day>	<month>August</month>	<year>2019</year>	</date><date date-type="accepted"><day>23,</day>	<month>August</month>	<year>2019</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution-NonCommercial International License (CC BY-NC).http://creativecommons.org/licenses/by-nc/4.0/</license-p></license></permissions><abstract><p>
 
 
  Exoplanet transit timing variation is a method to find exoplanets. To understand this method better, I wrote a computer program in python to simulate the transit of exoplanets. I use my program to simulate the transit timing variation observed in the Kepler-19 system. I make a simple simulation of Kepler-19 system, and this simulation shows that the variation in transit timing due to other planets is very obvious for Kepler-19b, the transiting planet, which means the transit timing variation method is very useful for finding exoplanet in Kepler-19 system. The whole paper is an illustration for that. The simulation I make is relatively simple but it still corresponds to the law of TTV, and because of its simplicity, it can help more people understand.
 
</p></abstract><kwd-group><kwd>Exoplanet</kwd><kwd> Transit Timing Variation</kwd><kwd> Transit Timing</kwd><kwd> Kepler-19 System</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>This paper presents a program that relies primarily on transit photometry and transit timing in the search for exoplanets to simulate the transit timing variation observed in the Kepler-19 system. Transit timing variation is a phenomenon that the period of the planet transiting the star varies due to the gravitational effects of other planets orbiting the star. And we can use this phenomenon to discover other planets which don’t transit base on the transit photometry method, which means that the light curve of a star can indicate the existence of an exoplanet that does not transit. There are also other methods to discover exoplanet indirectly, and transit timing variation and other methods can check each other to make sure an exoplanet really exists. So far, the transit timing variation method has only discovered two exoplanets, Kepler-19c [<xref ref-type="bibr" rid="scirp.94564-ref1">1</xref>] and Kepler-9d. Before 2012, the radial-velocity method was the most productive technique for finding exoplanets. After 2012, the transit method becomes the most productive because of the use of the Kepler spacecraft. But due to their limitations, many exoplanets will be ignored. For example, if the orbital plane of an exoplanet is perpendicular to the line connecting the star surrounded by this exoplanet to the Earth, then we will not be able to observe the change in radial velocity and cannot directly know the existence of this exoplanet through transit, which means both radial-velocity method and transit photometry method don’t work in this case. However, transit timing variation can solve this problem and that’s why I am so interested in it. TTV is very useful as a supplement and I want to know about its feasibility and want to know whether it can do more than being a supplement. What’s more, I hope that more people can know more about it. I wrote a computer program to simulate the transit timing variation of Kepler-19b to better understand the system. The program uses the initial velocity to update force and acceleration, and then uses force and acceleration to update positioning. Current positioning then updates the velocity, and the process repeats. I calculated the initial velocity using Kepler’s Second Law and Kepler’s Third Law and I calculated the difference between periods to make a period variation graph to show the transit timing variation of Kepler-19b due to Kepler-19c and Kepler-19d. I use geometry to calculate the area of the star that is covered by the transiting planet, and this can be used to draw a light curve of Kepler-19.</p></sec><sec id="s2"><title>2. Simulations</title><sec id="s2_1"><title>2.1. Updating the Position with an Initial Velocity</title><p>Following are the equations I use to update the position of the first planet.</p><p>v final = v initial + a &#215; t (1)</p><p>v final = v initial + F &#215; t m (2)</p><p>x final = x initial + v final &#215; t (3)</p><p>By expressing and calculating velocity, force, and position in terms of x, y, and z coordinates, we can plot them in a three-dimensional coordinate system. In order to use Equation (2) above to update the velocity, we need to calculate the forces between the planet and the star using Newton’s Gravitational law. G is the gravitational constant, M is the mass of the star, and m is the mass of the planet.</p><p>F → = G &#215; M &#215; m r 2 r ^ (4)</p><p>To use Equation (4) and to express and calculate force in terms of x, y, and z direction, we need to calculate the Euclidean distances in x, y, and z direction.</p><p>The force in x direction is given by</p><p>F x = F &#215; r x r &#215; r ^</p><p>Similarly, the force in y and z direction can be calculated using the method above.</p><p>As a result, we can calculate the velocity in terms of x, y, and z direction and then update the position in terms of x, y, and z direction.</p><p>We can use the new position to calculate the new forces between celestial bodies and then use the new forces to update the velocity and position in x, y, and z direction again.</p><p>In this process, knowing the mass of the celestial bodies, the only variation that I need is the initial velocity and the initial Euclidean distance between the two celestial bodies.</p><p>All the methods mentioned above allow us to simulate the motion of many celestial bodies. To get a graph about the motion of many celestial bodies, we can record every position that the celestial bodies pass through.</p><p>I randomly set some properties of celestial bodies to check whether my simulation can work (see <xref ref-type="table" rid="table1">Table 1</xref>).</p><p>In order to make the planets orbit around the star, we need to know something about the initial velocity:</p><p>If</p><p>v initial = G M r &#215; r ^ ,</p><p>planets will have a circular orbit.</p><p>If</p><p>G M r &#215; r ^ &lt; v initial &lt; 2 G M r &#215; r ^ ,</p><p>planets will have an elliptical orbit.</p><p>If</p><p>v initial = 2 G M r &#215; r ^ ,</p><p>planets will have a hyperbolic orbit and it will escape from the gravitational field of the star.</p><p>The formulas for explanation are as follows:</p><p>The orbital velocity:</p><p>F c = F g</p><p>m v 1 2 r = G M m r 2</p><p>v 1 = G M r</p><p>The escape velocity:</p><p>K E = U</p><p>1 2 m v 2 2 = G M m r</p><p>v 2 = 2 G M r</p><p>And then I make a graph to check.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Some random data of celestial bodies. Celestial body 1 is the star. Initial velocities in y and z directions are 0</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Name</th><th align="center" valign="middle" >Mass (kg)</th><th align="center" valign="middle" >Orbital radius (m)</th><th align="center" valign="middle" >initial velocity (m/s) in x direction (see <xref ref-type="fig" rid="fig1">Figure 1</xref>)</th></tr></thead><tr><td align="center" valign="middle" >celestial body 1</td><td align="center" valign="middle" >5.95e24</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >−12</td></tr><tr><td align="center" valign="middle" >celestial body 2</td><td align="center" valign="middle" >1e20</td><td align="center" valign="middle" >6,371,000 &#215; 2</td><td align="center" valign="middle" >7900</td></tr><tr><td align="center" valign="middle" >celestial body 3</td><td align="center" valign="middle" >3e21</td><td align="center" valign="middle" >6,371,000</td><td align="center" valign="middle" >3000</td></tr><tr><td align="center" valign="middle" >celestial body 4</td><td align="center" valign="middle" >7e21</td><td align="center" valign="middle" >7,892,344</td><td align="center" valign="middle" >5000</td></tr><tr><td align="center" valign="middle" >celestial body 5</td><td align="center" valign="middle" >9e22</td><td align="center" valign="middle" >10,376,476</td><td align="center" valign="middle" >7000</td></tr></tbody></table></table-wrap></sec><sec id="s2_2"><title>2.2. Using Maths to Calculate the Initial Velocity</title><p>In reality, most of the orbits of celestial bodies are ellipses instead of circle. And the central celestial bodies will at one focus of the ellipse. To calculate the initial velocity of the celestial bodies, we need to use some formulas of ellipse.</p><p>The semi-major axis is a, the semi-minor axis is b, and the focal length is c.</p><p>Eccentricity:</p><p>e = c a</p><p>semi-minor axis:</p><p>b 2 = a 2 − c 2</p><p>Area of ellipse:</p><p>area = π a b</p><p>For a line between the star and the planet, the line will sweep out an area as the planet moves around the star for a small angle d θ the area will be:</p><p>d A = 1 2 &#215; ( a − c ) 2 &#215; d θ</p><p>As a result, the initial velocity can be calculated by combining the formulas above using Kepler’s second law:</p><p>d A d t = 1 2 &#215; ( a − c ) 2 &#215; d θ d t = π a b period</p><p>1 2 &#215; ( a − c ) &#215; v initial = π a b period</p><p>v initial = 2 π a &#215; a 2 &#215; ( 1 − e 2 ) period &#215; ( a − e &#215; a )</p><p>Actually, we can apply all the things mentioned in this section on celestial bodies which have circular orbit. The eccentricity of a circle is 0 and the semi-major axis is the radius of a circle. The formula of calculating the initial velocity of a circular-orbit planet will be:</p><p>v initial = 2 &#215; π &#215; radius &#215; radius 2 &#215; ( 1 − 0 2 ) period &#215; ( radius − 0 &#215; a )</p><p>v initial = 2 &#215; π &#215; raidus period = perimeter time</p><p>So we only need the semi-major axis, eccentricity, and the period to calculate the initial velocity.</p></sec><sec id="s2_3"><title>2.3. Period Variation</title><p>The period of a planet is not constant because of the gravitational effects due to other planets. The period variation is one kind of transit timing variation.</p><p>In order to know the differences between periods, I plot periods in a graph in a relatively long time. The way I calculate one period for a particular planet is to record every time when one of the planet passes from negative to positive. And then I calculate the differences between every two record time, which show us the periods of the planets. I randomly choose some data to draw the graph. See <xref ref-type="table" rid="table2">Table 2</xref>.</p></sec><sec id="s2_4"><title>2.4. Drawing a Light Curve</title><p>To draw a light curve of the star, we need the relationship between the area blocked by the transiting planet and the surface area of the star that we can observe when it is not covered by the planet. To calculate the relationship between these two areas, we need to establish a two-dimensional system and put the center of the star at the origin. Let the distance between the center of the planet and the center of the star be d (see <xref ref-type="fig" rid="fig2">Figure 2</xref>) d = position star − position planet . Because the radius of the orbit of the planet is relatively small compared to the distance between the whole system and the observer, we can let the radius of the planet be R p and let the radius of the star be R s . Also because the arc is relatively small compared to the perimeter of the orbit, we can consider the velocity that planet moves toward the star as the linear velocity of the planet. The method of calculating the star’s area that is blocked by the planet is changing with respect to the change in the relative position of the planet and the star.</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Some random properties of celestial bodies. Celestial body 1 is the star</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Name</th><th align="center" valign="middle" >Mass(kg)</th><th align="center" valign="middle" >eccentricity</th><th align="center" valign="middle" >the average period</th></tr></thead><tr><td align="center" valign="middle" >celestial body 1</td><td align="center" valign="middle" >0.936 &#215; mass of the sun</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >celestial body 2</td><td align="center" valign="middle" >8.4 &#215; mass of the earth</td><td align="center" valign="middle" >0.12</td><td align="center" valign="middle" >9.28716</td></tr><tr><td align="center" valign="middle" >celestial body 3</td><td align="center" valign="middle" >31 &#215; mass of the earth</td><td align="center" valign="middle" >0.21</td><td align="center" valign="middle" >28.731</td></tr><tr><td align="center" valign="middle" >celestial body 4</td><td align="center" valign="middle" >55 &#215; mass of the earth</td><td align="center" valign="middle" >0.05</td><td align="center" valign="middle" >62.95</td></tr></tbody></table></table-wrap><p>There are six conditions that need different methods to calculate the blocked area shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>1) when the planet is not blocking the star: area = 0;</p><p>2) when d ≤ − ( R s + R p ) and d ≥ − R s ;</p><p>3) when d &lt; − R s and d ≥ d &gt; − ( R s − R p ) ;</p><p>4) when d &gt; − ( R s − R p ) and<inline-formula><inline-graphic xlink:href="/html.scirp.org/file/20-1721595x36.png" xlink:type="simple"/></inline-formula>;</p><p>5) when <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/20-1721595x37.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="/html.scirp.org/file/20-1721595x38.png" xlink:type="simple"/></inline-formula>;</p><p>6) when <inline-formula><inline-graphic xlink:href="/html.scirp.org/file/20-1721595x39.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="/html.scirp.org/file/20-1721595x40.png" xlink:type="simple"/></inline-formula>.</p><p>An example of calculating the blocked area is as follow.</p><p>In condition 2 shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>, the blocked area = area 1 + area 2. We can calculate the sectorial area of the star and the planet first. And then we can calculate area1 by subtract the sectorial area of the star with triangle OAB, and use the same method to calculate area 2.</p><p>We can use some similar methods to calculate the areas in other conditions.</p><p>Using different methods in these conditions, I get the light curve of the star (see <xref ref-type="fig" rid="fig5">Figure 5</xref>).</p></sec><sec id="s2_5"><title>2.5. Using the Data of Kepler-19</title><p>I use the data of Kepler-19 of Wikipedia (shown in <xref ref-type="table" rid="table3">Table 3</xref>) to run my program assuming that all the orbits of the Kepler-19 system are in the same plane. Following are my results (see Figures 6-8).</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> The data of Kepler-19 system</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Name</th><th align="center" valign="middle" >Mass (kg)</th><th align="center" valign="middle" >Eccentricity</th><th align="center" valign="middle" >The average period (day)</th><th align="center" valign="middle" >Radius (m)</th></tr></thead><tr><td align="center" valign="middle" >Kepler-19</td><td align="center" valign="middle" >0.936 &#215; mass of the sun</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.85 &#215; radius of the sun</td></tr><tr><td align="center" valign="middle" >Kepler-19b</td><td align="center" valign="middle" >8.4 &#215; mass of the earth</td><td align="center" valign="middle" >0.12</td><td align="center" valign="middle" >9.28716</td><td align="center" valign="middle" >2.209 &#215; radius of the earth</td></tr><tr><td align="center" valign="middle" >Kepler-19c</td><td align="center" valign="middle" >13.1 &#215; mass of the earth</td><td align="center" valign="middle" >0.21</td><td align="center" valign="middle" >28.731</td><td align="center" valign="middle" >unknown</td></tr><tr><td align="center" valign="middle" >Kepler-19d</td><td align="center" valign="middle" >22.5 &#215; mass of the earth</td><td align="center" valign="middle" >0.05</td><td align="center" valign="middle" >62.95</td><td align="center" valign="middle" >unknown</td></tr></tbody></table></table-wrap></sec></sec><sec id="s3"><title>3. Conclusion</title><p>I use python to simulate the gravitational effects on celestial bodies due to other celestial bodies, and I get the orbit of the planets orbiting around Kepler-19 and the light curve of Kepler-19. However, giving the limitation of my laptop, the time step I use is not short enough to get accurate simulations. Using the time step of 100 seconds and a total time of 360,000,000 seconds, it takes 1 hour and 20 minutes to run the program. To get a more accurate simulation, I need a better computer to run the program. What’s more, I will try to do a program that can analyze the light curve of a star to get the information about the mass, radius, and many other properties of the planets which transits can be observed by us and of all the planets that are orbiting around the star.</p></sec><sec id="s4"><title>Conflicts of Interest</title><p>The author declares no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s5"><title>Cite this paper</title><p>Zeng, Z.Y. (2019) A Simulation of Transit Timing Variation. Journal of Applied Mathematics and Physics, 7, 1861-1869. https://doi.org/10.4236/jamp.2019.78127</p></sec></body><back><ref-list><title>References</title><ref id="scirp.94564-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Ballard, S., Fabrycky, D., Fressin, F., Charbonneau, D., Desert, J.-M., Torres, G., Marcy, G., Burke, C.J., Isaacson, H., Henze, C., Steffen, J.H., Ciardi, D.R., Howell, S.B., Cochran, W.D., Endl, M., Bryson, S.T., Rowe, J.F., Holman, M.J., Lissauer, J.J., Jenkins, J.M., Still, M., Ford, E.B., Christiansen, J.L., Middour, C.K., Haas, M.R., Li, J., Hall, J.R., McCauliff, S., Batalha, N.M., Koch, D.G. and Borucki, W.J. (2011) The Kepler-19 System: A Transiting 2.2 R⊕ Planet and a Second Planet Detected via Transit Timing Variations. The Astrophysical Journal, 743, 200.  
https://doi.org/10.1088/0004-637X/743/2/200</mixed-citation></ref></ref-list></back></article>