Earth's orbit around the sun -- looking for an equation

Click For Summary

Discussion Overview

The discussion revolves around finding an equation to describe the Earth's orbit around the Sun, focusing on the mathematical representation of the orbit in a coordinate system. Participants explore different equations and methods for calculating the position of the Earth in x and y coordinates, without delving into gravitational laws or the mass of the Sun.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant suggests using the equation of an ellipse, ##\frac{x^2}{a^2}+\frac{y^2}{b^2}=1##, to represent the orbit, noting the need to adjust coordinates to place the Sun at (0,0).
  • Another participant proposes a polar coordinate equation, $$ r = \frac{a (1-e^2)}{1+e \cos q}$$, which describes the radial distance from the Sun, where parameters a and e correspond to the semi-major axis and eccentricity of the orbit, respectively.
  • It is mentioned that calculating the Earth's position over time may require iterative methods, which involve the mass of the Sun and gravitational laws, indicating a complexity beyond a single equation.
  • Several participants express surprise at the visual representation of the orbit, initially perceiving it as circular before realizing it is elliptical, albeit with low eccentricity, making it appear almost circular in diagrams.
  • One participant shares observations about the difficulty in distinguishing the orbits of Venus and Earth from circles when viewed from above, noting that even more elliptical orbits like those of Mercury and Mars are hard to identify without reference points.

Areas of Agreement / Disagreement

Participants express a shared understanding of the elliptical nature of Earth's orbit, but there is no consensus on a single equation or method for calculating positions over time, as different approaches and complexities are acknowledged.

Contextual Notes

Some limitations are noted regarding the assumptions made in the equations, particularly the exclusion of gravitational effects and the mass of the Sun, which may affect the accuracy of the models discussed.

Romanko
Messages
4
Reaction score
0
Hi, I'm looking for some help please. I'm struggling to find an equation of the Earth orbiting around the sun. I don't need to include the mass of the sun and the gravity laws, etc. Just the equation to calculate a position in x and y. Can anybody help me please?
My idea is to put the orbit inside of a software where I have coordinates x y and z, the sun being on (0,0) and the Earth orbiting around it.

Thanks for your help!
Roman.
 
Astronomy news on Phys.org
Romanko said:
Hi, I'm looking for some help please. I'm struggling to find an equation of the Earth orbiting around the sun. I don't need to include the mass of the sun and the gravity laws, etc. Just the equation to calculate a position in x and y. Can anybody help me please?
My idea is to put the orbit inside of a software where I have coordinates x y and z, the sun being on (0,0) and the Earth orbiting around it.

Thanks for your help!
Roman.
You could use the equation of an ellipse: ##\frac{x^2}{a^2}+\frac{y^2}{b^2}=1## since both semi-axis ##a,b## are known. Next you only have to shift the coordinates in a way, that the sun isn't at a focus but at ##(0,0)## instead, although it's probably easier to keep the sun at a focus point.
 
  • Like
Likes   Reactions: Romanko
If you just want to graph the shape of the orbit, you can use
$$ r = \frac{a (1-e^2)}{1+e \cos q}$$

r is the radial distance from the Sun
a is the semi-major axis of the orbit (average orbital radius)
e is the eccentricity of the orbit
q is the angle between the object and perihelion (closest approach to the Sun)

This will give results in polar coordinates which you can then convert to xy coordinates if you need to.
For the earth: a = ~ 1.496e6 km e = ~0.017 ( if you need more accurate values, you can get them from the Wikipedia article for the Earth.

If you are looking to calculate the Earth's position over time, there is no single equation method of determining this. There are methods that use iteration, where you take the output of an equation and put it back into the equation as a variable, and repeat until you get an accuracy in your answer you can live with. But these methods require the use of orbital mechanic that do make use of the mass of the Sun and the Laws of Gravity.
 
  • Like
Likes   Reactions: Romanko
Thanks a lot Fresh and Janus, at the beginning when I put the formula into the software, I thought there was a mistake because I was seeing what looked like a circle. It was after I zoomed, and focused better when I actually could see the ellipse. This make me think that all the diagrams that I studied my whole life in school are actually an exaggeration of the ellipse!
 
Romanko said:
Thanks a lot Fresh and Janus, at the beginning when I put the formula into the software, I thought there was a mistake because I was seeing what looked like a circle. It was after I zoomed, and focused better when I actually could see the ellipse. This make me think that all the diagrams that I studied my whole life in school are actually an exaggeration of the ellipse!

it's just that, while the Earth's orbit is an ellipse, it is an ellipse with very low eccentricity, so it is almost a circle.
 
  • Like
Likes   Reactions: Romanko and fresh_42
Romanko said:
Thanks a lot Fresh and Janus, at the beginning when I put the formula into the software, I thought there was a mistake because I was seeing what looked like a circle. It was after I zoomed, and focused better when I actually could see the ellipse. This make me think that all the diagrams that I studied my whole life in school are actually an exaggeration of the ellipse!
Here's the inner solar system out to Mars as seen from above, The Sun is marked by the cross.
Venus and Earth's orbits are pretty much impossible to distinguish from circles with the Sun at their centers.
solsystm.png


Even the more elliptical orbits of Mercury and Mars would be difficult to tell were ellipses if it weren't for their offset relative to the Sun. for example, here's Mars orbit without the sun and other planet orbits for reference:
solsystm2.png
 

Attachments

  • solsystm.png
    solsystm.png
    13.8 KB · Views: 998
  • solsystm2.png
    solsystm2.png
    3.7 KB · Views: 991
  • Like
Likes   Reactions: Romanko and fresh_42
Amazing, the whole solar system orbit concept that I had in my head was wrong... Thanks!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
17
Views
4K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K