<p>In short, no, you don't have to solve Kepler's equation. If you define a viewing longitude and you know the full set of Keplerian orbital elements, you can calculate if a planet will show a transit.</p>

<p>Let me first clear up some of the jargon, though. The term inclination is traditionally reserved for the angle between the orbital plane and the reference plane. So unless the entire orbit is wobbling (for instance due to precession) the inclination will be constant for all positions of the planet.</p>

<p>The angle that varies as the planet moves through the reference plane is the latitude. However, in this particular problem calculating the latitude isn't particularly useful. The more practical coordinate to look at is the height of the planet away from the plane, I'll call this $r_z$. If along your observers line of sight you find $r_z$ to be smaller than the solar radius, the planet will show a transit.</p>

<p>Working out a fully general elliptical orbit in 3 dimensions is somewhat tricky, so I'll start out with a simple Cartesian coordinate system aligned with the orbital plane. In subsequent steps I work my way back using a number of coordinate transformations.</p>

<p>First a list of the Kepler parameters and their meaning:</p>

<ul>
<li>$\nu$ - true anomaly - The anglular position with respect to perigee in the orbital plane.</li>
<li>$\omega$ - argument of periapsis - The angular position of perigee with respect to the ascending node in the orbital plane.</li>
<li>$\lambda_{asc}$ - the longitude of ascending node in the invariable plane ($\Omega$ in the picture).</li>
<li>$i$ - inclination - the angle between the orbital plane and the invariable plane, such that $\lambda_{asc}$ gives the rotation axis. </li>
</ul>

<p><img src="https://i.sstatic.net/t8Zsq.png" alt="enter image description here"></p>

<p>Now, in the orbital plane, the radius of the planet orbit is given as
$$
r(\nu) = \frac{a(1-e^2)}{1+e\cos(\nu)}
$$
If I define the x-axis to align with the ascending node, I can write the position vector as
$$
\vec{r}_{orb} = r(\nu) 
\begin{bmatrix} 
\cos(\omega+\nu) \\ 
\sin(\omega+\nu) \\ 
0 
\end{bmatrix}
$$</p>

<p>To move to a Cartesian coordinate system aligned with the invariable plane I have to apply a <a href="http://en.wikipedia.org/wiki/Rotation_matrix#Basic_rotations" rel="nofollow noreferrer">rotation</a> of angle $i$ about the x-axis, so
$$
\vec{r} = R_x(i)\vec{r}_{orb}= r(\nu)
\begin{bmatrix} 
\cos(\omega+\nu) \\ 
\sin(\omega+\nu)\cos(i) \\ 
\sin(\omega+\nu)\sin(i)
\end{bmatrix}
$$
So now I have an expression for $r_z$, I just need to know how $\nu$ relates to the planet longitude in the invariable plane, $\lambda_{planet}$.</p>

<p>I can find the longitude of the planet relative to $\lambda_{asc}$ as
$$
\lambda'_{planet} = \arctan( \frac{r_y}{r_x} ) 
$$ 
such that the actual longitude is
$$
\lambda_{planet} = \lambda_{asc} + \lambda'_{planet}
$$
Inverting this last expression gives
$$
\nu(\lambda) = \arctan( \frac{\tan(\lambda - \lambda_{asc})}{\cos(i)} ) - \omega
$$</p>

<p>Now I have all the equations to answer the question:
If the planet is along the observer's line of sight, then is has a true anomaly 
of $\nu(\lambda_{obs})$, which gives a height above the plane
$$
r_z(\nu) = r(\nu)\sin(\omega+\nu)\sin(i)
$$
If $|r_{z}| &lt; R_{sun}$ the planet can be seen in transit.</p>

CC BY-SA 3.0
2013-12-22T14:43:04.537Z
2013-12-22T14:43:04.537Z
Michael B.
<p>The background is that I'm trying to write a computer program to show at what angles each planet would be able to be seen transiting in front of the sun from an observer outside our solar system.  My endgame is to calculate the relative percentages of the sky that could see any group of planets transiting together.  For instance in the direction the Earth is from the sun in June and December, an alien observer that could see Earth transit could also see Venus transit, but from the angle where the Earth is in September or March they would not ever be able to see Venus transit.</p>

<p>I wrote <a href="http://ideone.com/neujND">a program</a> using basic stats and circular orbits to test out the idea, but I would like to make it more robust using actual elliptical orbits and I'm having trouble.  For circular orbits with the sun at the center I was able to just take the inclination of Earth's orbit times the <code>sin</code> of the viewing longitude relative to the longitude of ascention.</p>

<pre><code>double viewingLongitude = longitudeRadians - LongitudeOfAscent;
double planetAngle = Inclination * Math.Sin(viewingLongitude);
</code></pre>

<p>For instance Earth's orbit has an inclination of 1.57 degrees and longitude of ascent at 348.74 degrees.  At 348.74 degrees and 168.74 degrees Earth will have an actual inclination of 0 degrees.  At 78.74 degrees and 158.74 degrees Earth will have an actual inclination of 1.57 and -1.57 degrees from the plane.</p>

<p>Is there a similar easy way I could calculate that inclination for the elliptical orbit of the Earth or will I have to solve Kepler's equations?</p>

CC BY-SA 3.0
2013-11-18T11:20:00.900Z
Any plane will do, but I'm using the invariable plane since those are the inclinations I found.  What I'm looking for is the range of angles up/down where multiple planets could be seen from.  The actual orientation with respect to the rest of the universe doesn't matter, just with respect to the other planets.  I just want to know when the viewing angles overlap.
Jason Goemaat
<orbit>
Calculate angle of inclination for a certain angle in a planet's orbit?
Jason Goemaat
# Calculate angle of inclination for a certain angle in a planet's orbit?

(Asked by: username_0 on 2013-11-02)

The background is that I'm trying to write a computer program to show at what angles each planet would be able to be seen transiting in front of the sun from an observer outside our solar system.  My endgame is to calculate the relative percentages of the sky that could see any group of planets transiting together.  For instance in the direction the Earth is from the sun in June and December, an alien observer that could see Earth transit could also see Venus transit, but from the angle where the Earth is in September or March they would not ever be able to see Venus transit.
I wrote a program using basic stats and circular orbits to test out the idea, but I would like to make it more robust using actual elliptical orbits and I'm having trouble.  For circular orbits with the sun at the center I was able to just take the inclination of Earth's orbit times the sin of the viewing longitude relative to the longitude of ascention.
double viewingLongitude = longitudeRadians - LongitudeOfAscent;
double planetAngle = Inclination * Math.Sin(viewingLongitude);

For instance Earth's orbit has an inclination of 1.57 degrees and longitude of ascent at 348.74 degrees.  At 348.74 degrees and 168.74 degrees Earth will have an actual inclination of 0 degrees.  At 78.74 degrees and 158.74 degrees Earth will have an actual inclination of 1.57 and -1.57 degrees from the plane.
Is there a similar easy way I could calculate that inclination for the elliptical orbit of the Earth or will I have to solve Kepler's equations?

**Tags:** orbit

> **Comments:**
> **username_0**: Any plane will do, but I'm using the invariable plane since those are the inclinations I found.  What I'm looking for is the range of angles up/down where multiple planets could be seen from.  The actual orientation with respect to the rest of the universe doesn't matter, just with respect to the other planets.  I just want to know when the viewing angles overlap.  

---

## 1 answers

### Answer by username_1 on 2013-12-22. Score: 3 | Accepted answer

In short, no, you don't have to solve Kepler's equation. If you define a viewing longitude and you know the full set of Keplerian orbital elements, you can calculate if a planet will show a transit.

Let me first clear up some of the jargon, though. The term inclination is traditionally reserved for the angle between the orbital plane and the reference plane. So unless the entire orbit is wobbling (for instance due to precession) the inclination will be constant for all positions of the planet.

The angle that varies as the planet moves through the reference plane is the latitude. However, in this particular problem calculating the latitude isn't particularly useful. The more practical coordinate to look at is the height of the planet away from the plane, I'll call this $r\_z$. If along your observers line of sight you find $r\_z$ to be smaller than the solar radius, the planet will show a transit.

Working out a fully general elliptical orbit in 3 dimensions is somewhat tricky, so I'll start out with a simple Cartesian coordinate system aligned with the orbital plane. In subsequent steps I work my way back using a number of coordinate transformations.

First a list of the Kepler parameters and their meaning:

* $\nu$ - true anomaly - The anglular position with respect to perigee in the orbital plane.
* $\omega$ - argument of periapsis - The angular position of perigee with respect to the ascending node in the orbital plane.
* $\lambda\_{asc}$ - the longitude of ascending node in the invariable plane ($\Omega$ in the picture).
* $i$ - inclination - the angle between the orbital plane and the invariable plane, such that $\lambda\_{asc}$ gives the rotation axis.

![enter image description here](https://i.sstatic.net/t8Zsq.png)

Now, in the orbital plane, the radius of the planet orbit is given as
$$
r(\nu) = \frac{a(1-e^2)}{1+e\cos(\nu)}
$$
If I define the x-axis to align with the ascending node, I can write the position vector as
$$
\vec{r}\_{orb} = r(\nu)
\begin{bmatrix}
\cos(\omega+\nu) \\
\sin(\omega+\nu) \\
0
\end{bmatrix}
$$

To move to a Cartesian coordinate system aligned with the invariable plane I have to apply a [rotation](http://en.wikipedia.org/wiki/Rotation_matrix#Basic_rotations) of angle $i$ about the x-axis, so
$$
\vec{r} = R\_x(i)\vec{r}\_{orb}= r(\nu)
\begin{bmatrix}
\cos(\omega+\nu) \\
\sin(\omega+\nu)\cos(i) \\
\sin(\omega+\nu)\sin(i)
\end{bmatrix}
$$
So now I have an expression for $r\_z$, I just need to know how $\nu$ relates to the planet longitude in the invariable plane, $\lambda\_{planet}$.

I can find the longitude of the planet relative to $\lambda\_{asc}$ as
$$
\lambda'\_{planet} = \arctan( \frac{r\_y}{r\_x} )
$$
such that the actual longitude is
$$
\lambda\_{planet} = \lambda\_{asc} + \lambda'\_{planet}
$$
Inverting this last expression gives
$$
\nu(\lambda) = \arctan( \frac{\tan(\lambda - \lambda\_{asc})}{\cos(i)} ) - \omega
$$

Now I have all the equations to answer the question:
If the planet is along the observer's line of sight, then is has a true anomaly
of $\nu(\lambda\_{obs})$, which gives a height above the plane
$$
r\_z(\nu) = r(\nu)\sin(\omega+\nu)\sin(i)
$$
If $|r\_{z}| < R\_{sun}$ the planet can be seen in transit.


---

