Celestial mechanics planetary positions, using geometrical or arithmetical techniques, and contemporary discussions of the physical causes of the planets' motion. Johannes Kepler (1571–1630) was the first to closely integrate the predictive geometrical astronomy, which had been dominant from Ptolemy in the 2nd century to Copernicus, with physical concepts to produce a "New Astronomy, Based upon Causes, or Celestial Physics" in 1609. His work led to the modern laws of planetary orbits, which he developed using his physical principles and the planetary observations made by Tycho Brahe. Kepler's model greatly improved the accuracy of predictions of planetary motion, years before Isaac Newton developed
Formation and evolution of the Solar System the present day and have been central to the evolution of the Solar System. The positions of the planets might have shifted due to gravitational interactions. This planetary migration is now thought to have been responsible for much of the Solar System's early evolution. In roughly 5 billion years, the Sun will cool and expand outward to many times its current diameter (becoming a red giant), before casting off its outer layers as a planetary nebula and leaving behind a stellar remnant known as a white dwarf. In the far distant future, the gravity of passing stars will gradually reduce