<p>On the first of January, the direction of the sun from Earth is towards Sagittarius, with an ecliptic longitude of 280.  The velocity of the Earth around the sun is perpendicular that that, and towards Virgo, in particular, it is close to the direction of Gamma Virginis (Porrima), with an ecliptic longitude of 280-90 = 190.  The Earth will move in a straight line in that direction.  (Conveniently Jan 1st is very close to perihelion, so elliptic corrections are needed even less than normal)</p>
<p>It won't actually get near to Gamma Virginis because that star is 38 light years away and at the Earth's speed of 30km/s it would take 400,000 years to get close and by then the star will have moved away from its current location.</p>
<p>It wouldn't come close to a gas giant (none are in a position in which they would come anywhere near the trajectory of the Earth, even without checking, they are all on the &quot;wrong&quot; side of the sun)</p>
<p>It would be very unlikely for the Earth to come close to a gas giant.  If it did then the gravity of the giant planet would change the direction of the Earth, it could go in almost any direction.</p>
<p>For another date, the equation is simple enough: find the ecliptic longitude of the sun on that date and subtract 90.  That gives the ecliptic longitude of the Earth's velocity.</p>
<p>You can now use a star map to find the direction that the Earth will travel in.  On January 1st the Earth will travel in a direction toward an ecliptic longitude of 190, but remain in the plane of the ecliptic.  On the map below, the ecliptic is the line through the middle of the map and you can find where 190 is by looking at the numbers at the top and bottom.</p>
<p>Because in the absence of the sun, there would be nothing to cause the Earth to orbit, it would travel in a straight line towards that point.</p>
<p><a href="https://i.sstatic.net/4U7p5.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4U7p5.jpg" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2021-05-16T01:44:50.447Z
FWIW, the angle between the radial & tangent vectors of an elliptical orbit is only exactly 90° at the apsides, but because the eccentricity of the Earth's orbit is only 0.0167, it's always fairly close to 90°. In the next comment, I'll put a link to a Sage script that shows the angles for any eccentricity, for 30° increments of true anomaly.
PM 2Ring
CC BY-SA 4.0
2021-05-16T01:45:16.077Z
[Ellipse plotter](https://sagecell.sagemath.org/?z=eJxNUU1vwjAMvfMrLC44bcZHpU3TpEo77cwdAYqSQCN1TRa7Hfz7mZYJcnrxe8_xcwaTccELNfsMHftsLM-cP8ERva3Xy-pdfcxAToYaNivcQAneFjYSslIjc9FwFTLfi1oQhU7QyG6FSiabb8852GNqIyPeLCJE1rDWUBUpyM3GNuZ6nr2bT9bEpCHms3TY7UUt0vXEnGIGbiB0QNl0Z4_3LhpSWL3dJ55aiBl7DYMScEGuuZGnrhN4ktHSpOQ7h4kfZTdocL0YvZXYY7yb-2WM92QnkciqXmEF9JMZXX-oxOCGQ_UQbaGsoQ2drxzuJJXMKvGxL11fSM6hdENBav-_NRGnKD9CMhFNRWriL241mIun-su05NUfI6Z0eQ==&lang=sage)
PM 2Ring
CC BY-SA 4.0
2021-05-17T12:52:45.233Z
I do not have the ability to code.
Questioner
CC BY-SA 4.0
2021-05-17T16:52:10.133Z
...yet.   "I do not have the ability to code, *yet*."  But my answer doesn't depend on coding.  You find out the direction of the sun (roughly 0 on March 21st and increasing by 360/365.35 each day.  Then subtract 90
James K
CC BY-SA 4.0
2021-05-18T10:17:58.923Z
@Questioner There's a simple calculation for the Sun's ecliptic longitude at https://en.wikipedia.org/wiki/Position_of_the_Sun#Ecliptic_coordinates If you want a more accurate result than James' $\lambda - 90°$ formula, you can use $$\tan^{-1}\left(\frac{\varepsilon-\cos(\lambda)}{\sin(\lambda)}\right)$$ where $ \varepsilon$ is the eccentricity (~0.1671). But as I said earlier, that correction is small for Earth's orbit: the tangent direction is always between 89° & 91° greater than the Earth's longitude.
PM 2Ring
CC BY-SA 4.0
2021-05-18T10:58:50.247Z
[This plot](https://sagecell.sagemath.org/?z=eJwlTksOgyAQ3ZNwhxdX0GqLNrGf1MMYgUpiwcDU83eMs5i8eb-M7TIGrAFXtA8jhZv4NBfT9vdWCus8vCL9kgI8NLNIOMF2-WA2JkYaY6c42GBKRdGsa5QQd6C5lr2sKOL1NPqIZUe_HDl9xq03CJ7hGw1_ALcUh02KdUmkfA1l6t3DnZ8c7BKiK0P1DTHlSv8BlZwvRA==&lang=sage) shows the difference between that previous formula and $\lambda - 90°$. Both axes are in degrees, the horizontal axis is $\lambda$ (the Sun's longitude).
PM 2Ring
CC BY-SA 4.0
2021-05-18T12:59:19.233Z
This tells me the ecliptic longitude of the Earth's Velocity, but how does this relate to the Earth's trajectory?
Questioner
CC BY-SA 4.0
2021-05-18T14:02:36.650Z
@Questioner James has told you how to calculate the direction of the tangent to the Earth's orbit. When you remove the Sun's gravity, the Earth will move in a straight line following that tangent.
PM 2Ring
CC BY-SA 4.0
2021-05-18T14:24:18.827Z
So, will the Earth [curve](https://i1.wp.com/www.physicsoftheuniverse.com/images/relativity_curved_space.jpg?w=676) along that line, or will it go in a [straight line](https://media.geeksforgeeks.org/wp-content/cdn-uploads/20201218224626/Straight_line.jpg)?
Questioner
CC BY-SA 4.0
2021-05-18T15:01:09.053Z
Is the ecliptic longitude an angle? I don't see a way to calculate the tangent line, either.
Questioner
CC BY-SA 4.0
2021-05-18T15:11:25.940Z
Wait, I get it now! $\lambda$ is the ecliptic longitude, and the tangent line is given by:


${\Large\tan^{-1}\left(\frac{\varepsilon-sin\left(\lambda\right)}{cos\left(\lambda\right)}\right)}$


Please correct me if I'm wrong.
Questioner
CC BY-SA 4.0
2021-05-18T15:40:51.723Z
Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/124396/discussion-between-pm-2ring-and-questioner).
PM 2Ring
CC BY-SA 4.0
2021-05-15T10:29:27.690Z
2021-05-18T21:10:44.173Z
2021-05-18T21:10:44.173Z
James K
<p>So, let's just assume, to no aspect explainable to humans, the sun just magically popped out of existence on January 1st next year (2022), that'll never happen, this is just a scenario to explain my question. If the sun disappeared, regardless of life on Earth, where would the Earth float off to? If it would come close to a gas giant, then a gravity assist would affect the Earth's path through space. Where would it go?</p>
<p>In an answer, I want a feasibly explained way to calculate where Earth would go, not giving much thought to Gravity assists, since I got their calculations from <a href="https://space.stackexchange.com/questions/23295/how-do-we-come-up-with-the-gravity-assist-or-slingshot-formula">this question, the first answer, and the answer in the link embedded in it</a>.</p>
<p>Also, in the comments section, I've seen comments claiming that my question is a possible duplicate of others. One other addresses what would happen here on Earth, while the other one is about how long it would take for us to stop orbiting the sun after its sudden disappearance. In contrast, I'm wondering about where the Earth would float off to, and where it would go.</p>
<p>Now, this question can seemingly be applied to any celestial object, whether the sun is there or not, I want to figure out trajectory in space. I want to know about trajectory, and how it affects the motion of celestial bodies.</p>
<p>Assuming this can be answered theoretically by the use of equations and mathematics, thanks in advance!</p>

CC BY-SA 4.0
2021-05-14T17:33:22.343Z
Also https://astronomy.stackexchange.com/questions/5869/is-the-influence-of-gravity-instantaneous
ProfRob
CC BY-SA 4.0
2021-05-14T20:57:06.263Z
Earth would fly off in some direction along the ecliptic. The precise destination would depend on the time of year.
Wayfaring Stranger
CC BY-SA 4.0
2021-05-15T00:23:24.743Z
New Year's Day is just a few days before perihelion, so the orbital speed is close to its maximum (~30.29 km/s), which means it'll take just under 9900 years to go 1 lightyear (ignoring the galaxy's gravitational field).
PM 2Ring
CC BY-SA 4.0
2021-05-15T01:31:49.490Z
A partial cross-site duplicate over at World Building: [What happens if the sun disappears and then reappears some days later?](https://worldbuilding.stackexchange.com/q/2629/14838).
Greg Burghardt
CC BY-SA 4.0
2021-05-15T05:50:41.443Z
BTW, we don't normally do impossible hypotheticals on this site. But I guess we can just treat your scenario as a "framing device" for a valid computation: the Earth's tangential direction at a specified moment of time.
PM 2Ring
CC BY-SA 4.0
2021-05-15T06:02:49.340Z
I'm not completely certain of the correct way to calculate this. I've tried 3 different ways, using DE 441 data from Horizons (for 2022-01-01 00:00:00, UT & TDB), and get 3 *similar* results: near ecliptic longitude 190° (~ RA 12h38), which is roughly in the direction of the binary star [Porrima](https://en.wikipedia.org/wiki/Gamma_Virginis) aka Gamma Virginis.
PM 2Ring
CC BY-SA 4.0
2021-05-17T12:40:48.847Z
@PM2Ring, that's exactly what I'm looking for. I'm looking for a way to calculate where the Earth will go. Also, Google is a no-go. I've tried Google multiple times, and it never popped up.
Questioner
CC BY-SA 4.0
2021-05-17T12:50:44.763Z
@WayfaringStranger, my post said that it would be on January 1st, 2022.
Questioner
CC BY-SA 4.0
2021-05-17T12:57:07.133Z
I've edited my title to be specific about what the post is about.
Questioner
<orbital-mechanics><celestial-mechanics>
Trajectory: What would happen if the sun disappeared one day?
Questioner
# Trajectory: What would happen if the sun disappeared one day?

(Asked by: username_0 on 2021-05-14)

So, let's just assume, to no aspect explainable to humans, the sun just magically popped out of existence on January 1st next year (2022), that'll never happen, this is just a scenario to explain my question. If the sun disappeared, regardless of life on Earth, where would the Earth float off to? If it would come close to a gas giant, then a gravity assist would affect the Earth's path through space. Where would it go?

In an answer, I want a feasibly explained way to calculate where Earth would go, not giving much thought to Gravity assists, since I got their calculations from [this question, the first answer, and the answer in the link embedded in it](https://space.stackexchange.com/questions/23295/how-do-we-come-up-with-the-gravity-assist-or-slingshot-formula).

Also, in the comments section, I've seen comments claiming that my question is a possible duplicate of others. One other addresses what would happen here on Earth, while the other one is about how long it would take for us to stop orbiting the sun after its sudden disappearance. In contrast, I'm wondering about where the Earth would float off to, and where it would go.

Now, this question can seemingly be applied to any celestial object, whether the sun is there or not, I want to figure out trajectory in space. I want to know about trajectory, and how it affects the motion of celestial bodies.

Assuming this can be answered theoretically by the use of equations and mathematics, thanks in advance!

**Tags:** orbital-mechanics, celestial-mechanics

> **Comments:**
> **username_1**: Also https://astronomy.stackexchange.com/questions/5869/is-the-influence-of-gravity-instantaneous  
> **username_2**: Earth would fly off in some direction along the ecliptic. The precise destination would depend on the time of year.  
> **username_3**: New Year's Day is just a few days before perihelion, so the orbital speed is close to its maximum (~30.29 km/s), which means it'll take just under 9900 years to go 1 lightyear (ignoring the galaxy's gravitational field).  
> **username_4**: A partial cross-site duplicate over at World Building: [What happens if the sun disappears and then reappears some days later?](https://worldbuilding.stackexchange.com/q/2629/14838).  
> **username_3**: BTW, we don't normally do impossible hypotheticals on this site. But I guess we can just treat your scenario as a "framing device" for a valid computation: the Earth's tangential direction at a specified moment of time.  
> **username_3**: I'm not completely certain of the correct way to calculate this. I've tried 3 different ways, using DE 441 data from Horizons (for 2022-01-01 00:00:00, UT & TDB), and get 3 *similar* results: near ecliptic longitude 190° (~ RA 12h38), which is roughly in the direction of the binary star [Porrima](https://en.wikipedia.org/wiki/Gamma_Virginis) aka Gamma Virginis.  
> **username_0**: @PM2Ring, that's exactly what I'm looking for. I'm looking for a way to calculate where the Earth will go. Also, Google is a no-go. I've tried Google multiple times, and it never popped up.  
> **username_0**: @WayfaringStranger, my post said that it would be on January 1st, 2022.  
> **username_0**: I've edited my title to be specific about what the post is about.  

---

## 1 answers

### Answer by username_5 on 2021-05-15. Score: 5

On the first of January, the direction of the sun from Earth is towards Sagittarius, with an ecliptic longitude of 280. The velocity of the Earth around the sun is perpendicular that that, and towards Virgo, in particular, it is close to the direction of Gamma Virginis (Porrima), with an ecliptic longitude of 280-90 = 190. The Earth will move in a straight line in that direction. (Conveniently Jan 1st is very close to perihelion, so elliptic corrections are needed even less than normal)

It won't actually get near to Gamma Virginis because that star is 38 light years away and at the Earth's speed of 30km/s it would take 400,000 years to get close and by then the star will have moved away from its current location.

It wouldn't come close to a gas giant (none are in a position in which they would come anywhere near the trajectory of the Earth, even without checking, they are all on the "wrong" side of the sun)

It would be very unlikely for the Earth to come close to a gas giant. If it did then the gravity of the giant planet would change the direction of the Earth, it could go in almost any direction.

For another date, the equation is simple enough: find the ecliptic longitude of the sun on that date and subtract 90. That gives the ecliptic longitude of the Earth's velocity.

You can now use a star map to find the direction that the Earth will travel in. On January 1st the Earth will travel in a direction toward an ecliptic longitude of 190, but remain in the plane of the ecliptic. On the map below, the ecliptic is the line through the middle of the map and you can find where 190 is by looking at the numbers at the top and bottom.

Because in the absence of the sun, there would be nothing to cause the Earth to orbit, it would travel in a straight line towards that point.

[![enter image description here](https://i.sstatic.net/4U7p5.jpg)](https://i.sstatic.net/4U7p5.jpg)

> **Comments:**
> **username_3**: FWIW, the angle between the radial & tangent vectors of an elliptical orbit is only exactly 90° at the apsides, but because the eccentricity of the Earth's orbit is only 0.0167, it's always fairly close to 90°. In the next comment, I'll put a link to a Sage script that shows the angles for any eccentricity, for 30° increments of true anomaly.  
> **username_3**: [Ellipse plotter](https://sagecell.sagemath.org/?z=eJxNUU1vwjAMvfMrLC44bcZHpU3TpEo77cwdAYqSQCN1TRa7Hfz7mZYJcnrxe8_xcwaTccELNfsMHftsLM-cP8ERva3Xy-pdfcxAToYaNivcQAneFjYSslIjc9FwFTLfi1oQhU7QyG6FSiabb8852GNqIyPeLCJE1rDWUBUpyM3GNuZ6nr2bT9bEpCHms3TY7UUt0vXEnGIGbiB0QNl0Z4_3LhpSWL3dJ55aiBl7DYMScEGuuZGnrhN4ktHSpOQ7h4kfZTdocL0YvZXYY7yb-2WM92QnkciqXmEF9JMZXX-oxOCGQ_UQbaGsoQ2drxzuJJXMKvGxL11fSM6hdENBav-_NRGnKD9CMhFNRWriL241mIun-su05NUfI6Z0eQ==&lang=sage)  
> **username_0**: I do not have the ability to code.  
> **username_5**: ...yet.   "I do not have the ability to code, *yet*."  But my answer doesn't depend on coding.  You find out the direction of the sun (roughly 0 on March 21st and increasing by 360/365.35 each day.  Then subtract 90  
> **username_3**: @username_0 There's a simple calculation for the Sun's ecliptic longitude at https://en.wikipedia.org/wiki/Position_of_the_Sun#Ecliptic_coordinates If you want a more accurate result than James' $\lambda - 90°$ formula, you can use $$\tan^{-1}\left(\frac{\varepsilon-\cos(\lambda)}{\sin(\lambda)}\right)$$ where $ \varepsilon$ is the eccentricity (~0.1671). But as I said earlier, that correction is small for Earth's orbit: the tangent direction is always between 89° & 91° greater than the Earth's longitude.  
> **username_3**: [This plot](https://sagecell.sagemath.org/?z=eJwlTksOgyAQ3ZNwhxdX0GqLNrGf1MMYgUpiwcDU83eMs5i8eb-M7TIGrAFXtA8jhZv4NBfT9vdWCus8vCL9kgI8NLNIOMF2-WA2JkYaY6c42GBKRdGsa5QQd6C5lr2sKOL1NPqIZUe_HDl9xq03CJ7hGw1_ALcUh02KdUmkfA1l6t3DnZ8c7BKiK0P1DTHlSv8BlZwvRA==&lang=sage) shows the difference between that previous formula and $\lambda - 90°$. Both axes are in degrees, the horizontal axis is $\lambda$ (the Sun's longitude).  
> **username_0**: This tells me the ecliptic longitude of the Earth's Velocity, but how does this relate to the Earth's trajectory?  
> **username_3**: @username_0 James has told you how to calculate the direction of the tangent to the Earth's orbit. When you remove the Sun's gravity, the Earth will move in a straight line following that tangent.  
> **username_0**: So, will the Earth [curve](https://i1.wp.com/www.physicsoftheuniverse.com/images/relativity_curved_space.jpg?w=676) along that line, or will it go in a [straight line](https://media.geeksforgeeks.org/wp-content/cdn-uploads/20201218224626/Straight_line.jpg)?  
> **username_0**: Is the ecliptic longitude an angle? I don't see a way to calculate the tangent line, either.  
> **username_0**: Wait, I get it now! $\lambda$ is the ecliptic longitude, and the tangent line is given by:   ${\Large\tan^{-1}\left(\frac{\varepsilon-sin\left(\lambda\right)}{cos\left(\lambda\right)}\right)}$   Please correct me if I'm wrong.  
> **username_3**: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/124396/discussion-between-pm-2ring-and-questioner).  

---

