<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://bailey4770.github.io/ellipses/feed.xml" rel="self" type="application/atom+xml" /><link href="https://bailey4770.github.io/ellipses/" rel="alternate" type="text/html" /><updated>2026-05-19T16:39:58+01:00</updated><id>https://bailey4770.github.io/ellipses/feed.xml</id><title type="html">Transits and Occultations for Visual Leaners</title><subtitle>A blog to support understanding transits and occultatios of exoplanets around their stars, and how we can use telescope data to collect informationn on those exoplanets.</subtitle><author><name>Bailey Stringer</name></author><entry><title type="html">Eclipse Basics</title><link href="https://bailey4770.github.io/ellipses/2026/05/18/eclipse-basics.html" rel="alternate" type="text/html" title="Eclipse Basics" /><published>2026-05-18T00:00:00+01:00</published><updated>2026-05-18T00:00:00+01:00</updated><id>https://bailey4770.github.io/ellipses/2026/05/18/eclipse-basics</id><content type="html" xml:base="https://bailey4770.github.io/ellipses/2026/05/18/eclipse-basics.html"><![CDATA[<h2 id="geometry-of-eclipses">Geometry of eclipses</h2>

<p>Consider a planet of radius $R_P$ and mass $M_P$ orbitting a star of radius
$R_{*}$ and mass $M_{*}$. Let’s define the ratio of planet-to-star radius $k$
as:</p>

\[k = \frac{R_P}{R_*} \tag{1}\]

<p>The distance between the star and the planet, $r$, is given by:</p>

\[r = \frac{a(1 - e^2)}{1 + e \cos f} \tag{2}\]

<p>where $a$ is the semi-major axis and $f$ is the
<a href="/ellipses/2026/05/10/ellipses-and-elliptical-orbits.html#true-anomaly">true anomaly</a>,
an implicit function of orbital eccentricity $e$ and period $P$ (ie. where the
planet is at a given time in its orbit).</p>

<p>We can resolve this into Cartesian coordinate equations within our
<a href="/ellipses/2026/05/12/ellipses-in-3d.html">defined coordinate system</a>.</p>

\[X = -r \cos (\omega + f) \tag{3}\]

\[Y = -r \sin (\omega + f) \cos i \tag{4}\]

\[Z = r \sin (\omega + f) \sin i \tag{5}\]

<p>where $\omega$ represents the
<a href="/ellipses/2026/05/12/ellipses-in-3d.html#argument-of-periapsis">argument of periapsis</a>
and $i$ represents the
<a href="/ellipses/2026/05/12/ellipses-in-3d.html#inclination">inclination</a>.</p>

<p>We can use Pythagorean theorem to derive the projected distance on the sky plane
as:</p>

\[r_{sky} \equiv \sqrt{X^2 + Y^2} \tag{6}\]

<p>and substituting in equations 3 and 4 for $X$ and $Y$ gives us:</p>

\[r_{sky} = \frac{a(1-e^2)}{1 + e \cos f} \sqrt{1 - \sin ^2 {(\omega + f)} \sin^2 {i}} \tag{7}\]

<p>If an eclipse occurs, it will do so at a local minimum of $r_{sky}$. Minimising
this expression is long and difficult, but we can approximate by stating that
eclipses are centred around conjunctions, which are defined by $X=0$.
Conjunctions can either be superior, with the planet in front (a transit); or
inferior, with the planet behind (an occultation).</p>

<p>We can find expressions for $f$ for both a transit:</p>

\[f_{tra} = + \frac{\pi}{2} - w \tag{8}\]

<p>an an occultation:</p>

\[f_{occ} = - \frac{\pi}{2} - w \tag{9}\]

<p>This approximation is normally valid except for extremely eccentric and close-in
orbits, and most importantly for non-grazing orbits. If an orbit is grazing,
then a small error can mean the difference between an eclipse and no eclipse.</p>

<p>The <strong>impact parameter</strong> $b$ is the sky-projected distance at the conjunction,
in units of stellar radius:</p>

\[b \equiv \frac{r_{sky}}{R_{*}} = \frac{R_{*} + R_{P}}{R{*}} = 1 + k \tag{10}\]

<p>It ranges $0 \leq b$, where $b = 0$ describes where the planet appears to the
observer to pass through the star’s centre; $b = 1$ describes a grazing transit,
where the planet passes along the edge of the star; and $b &gt; 1$ represents no
eclipse. It is a function of the inclination $i$ and eccentricity of the orbit
$e$, and we can derive the two expressions for it below:</p>

\[b_{tra} = \frac{a \cos i}{R_{*}} \left( \frac{1 - e^2}{1 + e \sin \omega} \right) \tag{11}\]

\[b_{occ} = \frac{a \cos i}{R_{*}} \left( \frac{1 - e^2}{1 - e \sin \omega} \right) \tag{12}\]

<p>We can simplify this further. For the common case where the stellar radius is
much smaller than the orbits semi-major axis, $R_{*} « a$, then the exoplanet’s
path across the star can be approximated by a straight line between the two
points:</p>

\[X = \pm R_{*} \sqrt{1 - b^2} \tag{13}\]

<h2 id="probability-of-eclipse">Probability of eclipse</h2>

<p>Let’s use the above equations to attempt to derive the probability of being able
to observe an eclipse by an observer randomly placed on the celestial sphere
surrounding the star.</p>

<p>Consider below the excellent figure from the Winn 2010 paper:</p>

<figure>
  <img src="/ellipses/assets/img/winn_eclipse_angle.png" width="700px" height="700px" frameborder="0" />
  <figcaption>Figure 1: Left: A 3D image of the shadow band swept by the cone from an obiting exoplanet on to the celestial sphere centred on the star. Right: A side orthgraphic projection of that cone and the areas where grazing and full eclipses of that exoplanet can be seen (Source: Winn, 2010)</figcaption>
</figure>

<p>Figure 1 shows how an orbiting exoplanet has a shadow cone with angle $\Theta$
which satisfies the conditon:</p>

\[\sin \Theta = \frac{R_{*} + R_p}{r} \tag{14}\]

<p>where $r$ is the actual (non-projected) 3D distance.</p>

<p>The larger cone shown by the thick lines in the right panel of figure 1 is
called the <strong>penumbra</strong>. The penumbra sweeps out a shadow band on the celestial
sphere, as seen in the left panel of figure 1. Any observer must be located
inside that shadow band in order to observe the eclipse. For them, the impact
paramter $b$ will lie in the range $0 \leq b \leq 1$.</p>

<p>The interior cone described by the thinner lines is called the <strong>antumbra</strong> and
satisfies the condition:</p>

\[\sin \Theta = \frac{R_{*} - R_p}{r} \tag{15}\]

<p>Only from within the shadow band swept out by this smaller cone will the eclipse
be non-grazing, so the impact parameter $b$ will lie in the range
$0 \leq b &lt; 1$.</p>

<p>The Doppler Method for detecting exoplanets can reveal the eccentricity $e$ and
argument of periapsis $w$, but the inclination $i$ remains unknown. This works,
briefly explained, by taking advantage of the tiny orbit of the star around the
system’s centre of mass. This presents as a tiny wobble, where the star’s light
will be slightly blueshifted as the star moves towards the observer, and
slightly redshifted as it moves away.</p>

<p>Looking at equation 10 and the definiton of the impact parameter $b$, we know
that an eclipse occurs where $0 \leq b &lt; 1$ so the condition can be written as
$\lvert b \rvert &lt; 1 + k$. We can substitute this into equations 11 and 12, and
rearrange to solve for $\cos i$. We know that $0^{\circ} \leq i \leq 90^{\circ}$
which means that $0 \leq \cos i \leq 1$, so:</p>

\[p_{tra} = \left( \frac{R_{*} \pm R_{P}}{a} \right) \left( \frac{1 + e \sin \omega}{1 - e^2} \right) \tag{16}\]

\[p_{occ} = \left( \frac{R_{*} \pm R_{P}}{a} \right) \left( \frac{1 - e \sin \omega}{1 - e^2} \right) \tag{17}\]

<p>where the $+$ includes grazing eclipses and the $-$ sign excludes them.</p>

<p>Consider the case where the planet’s radius is significantly smaller than the
star’s $R_{P} \ll R_{*}$ and where the orbit is circular $e = 0$:</p>

\[p_{tra} = p_{occ} = \frac{R_{*}}{a} \approx 0.0005 \left( \frac{R_{*}}{R_{☉}} \right) \left( \frac{a}{1 AU} \right) ^{-1} \tag{18}\]

<p>where $R_{☉}$ represents the radius of the star in terms of solar radius.</p>

<p>This equation tells us a few things. Firstly, for circular orbits, transits and
occultations usually occur together. Only highly eccentric orbits allow for a
transit or occultation to be observed without the other. Secondly, it frames the
transit probability in terms of solar radius and astronomical units. For
example, a planet orbiting a Sun-like star at a distance of 1AU has a 0.5%
chance of being observable via eclipse from a randomly placed observer. Thirdly,
the probability increases in $R_{☉}$ and decreases in $a$. Therefore, the most
likely planet’s to be detected are exoplanets with extremely tight orbits around
very large stars.</p>]]></content><author><name>Bailey Stringer</name></author><summary type="html"><![CDATA[An explanation of the geometry, probability and duration of eclipses, as well as the loss of light and limb darkening we should expect during an eclipse.]]></summary></entry><entry><title type="html">Elliptical Orbits in Three Dimensions</title><link href="https://bailey4770.github.io/ellipses/2026/05/12/ellipses-in-3d.html" rel="alternate" type="text/html" title="Elliptical Orbits in Three Dimensions" /><published>2026-05-12T00:00:00+01:00</published><updated>2026-05-12T00:00:00+01:00</updated><id>https://bailey4770.github.io/ellipses/2026/05/12/ellipses-in-3d</id><content type="html" xml:base="https://bailey4770.github.io/ellipses/2026/05/12/ellipses-in-3d.html"><![CDATA[<p>In the <a href="/ellipses/2026/05/10/ellipses-and-elliptical-orbits.html">previous post</a>
we explored elliptical orbits in two dimensions. But to understand eclipses, we
need to add the third dimension.</p>

<p>By doing so, we also need to be aware of how the ellipse could be rotated:</p>

<ul>
  <li>A rotation in the plane of reference affects the <strong>longitude of the ascending
node</strong> $\Omega$ in the diagram below.</li>
  <li>A rotation in the orbital plane affects the <strong>argument of periapsis</strong> $\omega$
in the diagram below.</li>
  <li>A rotation about the X-axis affects the <strong>inclination</strong> $i$ in the diagram
below.</li>
</ul>

<figure>
  <img src="/ellipses/assets/img/possible_rotations_3d.png" width="700px" height="700px" frameborder="0" />
  <figcaption>Figure 1: A figure showing the three different possible angles of rotation. (Source: www.wikiwand.com)</figcaption>
</figure>

<p>We are free to define the coordinate system to make our lives as easy as
possible. Previously, the orbit was flat on the XY-plane, but now we define the
orbit as originally flat on the XZ-plane, or the reference frame.</p>

<p>We also previously defined the origin as the centre of the ellipse, with the
star offset on the X-axis by $c$, but now we define the star at the origin with
the ellipse offset on the X-axis by $c$.</p>

<p>We place the observer at (0, 0, large positive Z).</p>

<h2 id="line-of-nodes-and-longitude-of-the-ascending-node">Line of nodes and Longitude of the ascending node</h2>

<p>Consider below an orthographic projection for the view of the elliptical orbit
from the observer’s perspective. We could also call this projection the
sky-plane, as seen on the celestial sphere about the observer.</p>

<p>Where the orbiting object crosses $z=0$ moving towards the observer, so into
positive $z$, is called the <strong>descending node</strong>. Where the orbiting object
crosses $z=0$ moving away from the observer, so into negative $z$, is called the
<strong>ascending node</strong>.</p>

<p>A straight line connecting these two, passing through the centre of the star, is
called the <strong>line of nodes</strong>, as shown by the green dashed line in Figure 2.</p>

<p>Since the longitude of the ascending node drawn on the celestial sphere is
usually difficult to actually know, and is often entirely unknown, we simply
define the X-axis to align with this line, so that the descending node is in
positive $x$ and the ascending node is in negative $x$. This results in
$\Omega = 180^{\circ}$ and removes the concept of rotation about the Z-axis
entirely, simplifying our maths.</p>

<figure>
  <img src="/ellipses/assets/img/orth_observer.png" width="700px" height="700px" frameborder="0" />
  <figcaption>Figure 2: An orthographic projection of an elliptical orbit in three dimensions from the observer's perspective. (Source: Own diagram)</figcaption>
</figure>

<h2 id="argument-of-periapsis">Argument of Periapsis</h2>

<p>Figure 2 does, however, show the ellipse rotated in the orbital plane. The angle
of rotation is called the argument of periapsis $\omega$.</p>

<p>The line below labeled $a$ shows the semi-major axis, connecting the periapsis
and apoapsis of the elliptical orbit. In our 2d diagrams, we defined the X-axis
as being aligned with the semi-major axis, so this rotation was irrelevant.
However, since we define the X-axis as aligning with the line of nodes, this
rotation becomes relevant and explains why the line of nodes does not
necessarily always align with the semi-major axis.</p>

<p>The argument of periapsis is not labelled in Figure 2, because the diagram shows
the orbit on the sky plane, but the rotation is applied in the orbital plane.
See Figure 1 for labelled $\omega$.</p>

<h2 id="inclination">Inclination</h2>

<p>The value of the inclination represents how much the orbit is rotated about the
Y-axis. The inclination is measured in radians within the range
$0 \leq i \leq \pi$, where $i = 0$ represents an orbit flat on the reference
frame and $i = \pi$ represents an orbit orthogonal to the reference frame.</p>

<figure>
  <img src="/ellipses/assets/img/orth_side.png" width="700px" height="700px" frameborder="0" />
  <figcaption>Figure 3: An orthographic projection of an elliptical orbit in three dimensions from the side, with labeled inclination $i$. In this figure, $i = \frac{\pi}{4}$ radians. (Source: Own diagram)</figcaption>
</figure>

<h2 id="3d-model">3D model</h2>

<p>To recap our coordinate system: we define the star at the origin, with
ourselves, the observer, at large positive Z. To simplify the maths, we define
the X-axis to be aligned with the line of nodes. The Y-axis is then the only
possible remaining direction which is orthogonal to both the Z- and X-axes.</p>

<p>The 3D model below shows a distant observer, a star (the yellow sphere) and an
elliptical orbit around it (blue curve). The blue plane is the XY, or sky,
plane, as viewed from the observer, centred around the star. The orange plane is
the orbital plane.</p>

<p>Explore the 3D model by panning and zooming to ensure you understand the
geometry of elliptical orbits in three dimensions.</p>

<figure>
  <iframe src="/ellipses/assets/html/3d_orbit.html" width="100%" height="600px" frameborder="0"></iframe>
  <figcaption>Figure 4: A 3D visualisation of an elliptical orbit, showing the sky plane and orbital plane. (Source: Own diagram)</figcaption>
</figure>]]></content><author><name>Bailey Stringer</name></author><summary type="html"><![CDATA[An extension of elliptical orbits to three dimensions]]></summary></entry><entry><title type="html">Ellipses and Elliptical Orbits</title><link href="https://bailey4770.github.io/ellipses/2026/05/10/ellipses-and-elliptical-orbits.html" rel="alternate" type="text/html" title="Ellipses and Elliptical Orbits" /><published>2026-05-10T00:00:00+01:00</published><updated>2026-05-10T00:00:00+01:00</updated><id>https://bailey4770.github.io/ellipses/2026/05/10/ellipses-and-elliptical-orbits</id><content type="html" xml:base="https://bailey4770.github.io/ellipses/2026/05/10/ellipses-and-elliptical-orbits.html"><![CDATA[<h2 id="what-is-an-ellipse">What is an ellipse?</h2>

<p><strong>Technical definiton of ellipse</strong>: for any point on the ellipse, the sum of
distances to each focus is constant.</p>

<p>See labelled diagram for an ellipse below for the names of the different
components.</p>

<figure>
  <img src="/ellipses/assets/img/labelled_ellipse.png" alt="Labelled ellipse" />
  <figcaption>Figure 1: A labelled ellipse showing the semi-major axis, semi-minor axis, and distance from centre to focus. (Source: Own diagram)</figcaption>
</figure>

<ul>
  <li>Semi-major axis, $a$</li>
  <li>Semi-minor axis, $b$</li>
  <li>Distance from centre to focus, $c$</li>
</ul>

<p>The distance from centre to focus, $c$ is geometrically related to the
semi-major and -minor axes by the equation:</p>

\[c^2 = a^2 - b^2 \tag{1}\]

<p>Here we can define a new term - the eccentricty $e$ - which is related to $c$
and $a$ by:</p>

\[c = a e \tag{2}\]

<p>When $e=0$, then the ellipse is a special case - a circle. Ellipses have
eccentricities $0 \leq e &lt; 1$. Where $e=1$, the ellipse is now unbound and
becomes a parabola, and where $e&gt;1$ the eccentricity is so extreme that we refer
to the curve as a hyperbola.</p>

<h2 id="elliptical-orbits">Elliptical orbits</h2>

<p>Planet’s have elliptical orbits around their star, which is found at one of the
focus points. Technically, both the star and planet have elliptical orbits
around the system’s centre of mass, which is found at the shared focus of every
elliptical orbit of each object in the system. Understanding this is important
for understanding other methods for detecting exoplanets, such as the Doppler
Method. But for our purposes, the star’s mass is usually so much greater than
the plantary mass, and the star’s orbit so much smaller in comparison to the
planet’s orbit, that it is helpful for us to simplify and imagine that the star
is fixed at the focus point of a planet’s elliptical orbit around it.</p>

<p>The point on the orbit where the planet is closest to its star is called the
<strong>periapsis</strong>, or when the star is the Sun, it is called the <strong>perihelion</strong>. The
opposite point, where it is furthest from its star, is called the <strong>apoapsis</strong>,
or when the star is the Sun, it is called the <strong>aphelion</strong>.</p>

<figure>
  <img src="/ellipses/assets/img/labelled_static_planet.png" alt="Static planet on an elliptical orbit" />
  <figcaption>Figure 2: A planet on an elliptical orbit, with periapsis and apoapsis labelled. (Source: Own diagram)</figcaption>
</figure>

<h2 id="anomalies-and-keplers-second-law">Anomalies and Kepler’s Second Law</h2>

<p>Kepler’s Second Law states that a line from an object on an elliptical orbit to
the star at one of its focal points will sweep out equal areas during equal
intervals in time. This basically means that an object moves faster when its
closer to its star and slower when its further away.</p>

<p>In order to accurately animate orbital motion with Kepler’s Second Law, we must
understand elliptical anomalies.</p>

<p>Imagine a circle with radius $a$ centred at the origin.</p>

<figure>
  <img src="/ellipses/assets/img/labelled_anomalies.png" alt="Ellipse with hypothetical circle, with eccentric, mean, and true anomaly labelled" />
  <figcaption>Figure 3: An ellipse with its hypothetical circle, showing the eccentric anomaly E, mean anomaly M, and true anomaly ν. (Source: Own diagram)</figcaption>
</figure>

<h3 id="mean-anomaly">Mean Anomaly</h3>

<p>Consider a hypothetical planet completing a full orbit in the same time period
$T$ as our real planet on its elliptical orbit.</p>

<p>This hypothetical planet has constant angular speed, described by:</p>

\[M(t) = \frac{2 \pi t}{T} \tag{3}\]

<p>The mean anomaly $M$ is the angle from the origin between the periapsis and the
point $F$ on the imaginary orbit for given $t$, when $t=0$ at the periapsis.</p>

<h3 id="eccentric-anomaly">Eccentric Anomaly</h3>

<p>Take the point $P$ on the ellipitcal orbit, where the planet actually is at time
$t$, and project upwards to the imaginary circle at point $Q$.</p>

<p>The eccentric anomaly $E$ is the angle from the origin between the periapsis and
point $Q$.</p>

<h3 id="true-anomaly">True Anomaly</h3>

<p>True anomaly $\nu$ is simply the angle from the star between the periapsis and
the planet’s real position on the ellipitcal orbit at time $t$.</p>

<h2 id="computing-eccentric-anomaly-from-mean-anomaly">Computing eccentric anomaly from mean anomaly</h2>

<p>Kepler found the below equation linking the mean and eccentric anomaly:</p>

\[M = E - e \sin E \tag{4}\]

<p>So to animate our elliptical orbit with Kepler’s Second Law, we can solve for
$E(t)$ to find where the planet should be on the hypotehtical circle, then
project straight down until we meet the ellipse.</p>

<p>However, there is a problem. The above formula cannot be solved for $E$ in
closed form. Enter: Newton’s iterative method for finding the root of an
equation.</p>

<p>We can rewrite the above equation to</p>

\[f(E) = E - e \sin E - M \tag{5}\]

<p>which turns the problem into a root finding problem - we can find $E$ from $M$
where $f(E) = 0$.</p>

<p>Let’s visualise this equation graphically. We can graph $f(E)$ for given values
of $e$ and $M$. Here, $e = 0.7$ and $M=3$:</p>

<figure>
  <img src="/ellipses/assets/img/f_E.png" alt="f(E) graph" />
  <figcaption>Figure 4: Graph of f(E) for e = 0.7 and M = 3, showing the root to be found by Newton's method. (Source: Own diagram)</figcaption>
</figure>

<p>Then we take an initial guess. For us, a reasonable first guess is $E_0 = M$.
Using the below equation, we can refine our guess to find the value of $E$ where
$f(E) = 0$:</p>

\[E_{n+1} = E_n - \frac{f(E_n)}{f'(E_n)} \tag{6}\]

<p>Let’s understand what we’re doing here. The numerator, $f(E_n)$, tells us
whether we’re above or below the root, and by how far. The denominator tells us
the gradient of the curve at this value of $E$. Looking at the curve, we know
the gradient will be shallow far from the root and steep close to the root. When
the gradient is shallow, the denominator will be small, so the step from $E_n$
to $E_{n+1}$ will be large, and vice versa when the gradient is steep.</p>

<p>We can substitute $f(E) = E - e \sin E - M$ and $f’(E) = 1 - e \cos E$ (knowing
that the first derivative of $e \sin E$ is $e \cos E$) to write the equation in
terms that we can calculate:</p>

\[E_{n+1} = E_n - \frac{E_n - e \sin E_n - M}{ 1 - e \cos E_n} \tag{7}\]

<p>For our purposes, only 5 iterations of the above formula will give a value of
$E$ so that $f(E)$ is extremely close to $0$.</p>

<p>We can then derive cartesian coordinates of the elliptical orbit using the below
equations:</p>

\[x = a \cos E \tag{8}\]

\[y = b \sin E \tag{9}\]

<p>And drawing these coordinates in discrete time intervals gives the below
animation, showing Kepler’s Second Law in action.</p>

<figure>
  <img src="/ellipses/assets/img/elliptical_orbit.gif" alt="Elliptical orbit animation" />
  <figcaption>Figure 5: Animation of a planet on an elliptical orbit, demonstrating Kepler's Second Law. (Source: Own diagram)</figcaption>
</figure>

<p>The object has an elliptical orbit around the star, moving quickly near the
periapsis and slowly near the apoapsis.</p>]]></content><author><name>Bailey Stringer</name></author><summary type="html"><![CDATA[A brief exploration of elliptical orbits and Kepler's Second Law.]]></summary></entry></feed>