If you calculate the orbital period of an earth sized object around the sun at 1 au, it is 31554651 in seconds (1 year). (Why does Google say a year is 31536000 seconds?!)
If you calculate the orbital period of a moon sized object around the sun at 1 au, it in 31554698 is seconds, that is 47 seconds longer than that of the earth.
That means that the moons orbit is 1.48947932e-6 times longer than earth's. Which means in 1.5 million years the moon would fall behind the earth by an entire orbit, hence it would take a faction of that time for the moon to fall behind the earth enough to no longer orbit the earth.
Is my math wrong? (I did double check it.) Is my understanding of physics wrong? Or is there some strange effect that is causing the moon's orbit to match that of the earth's?
EDIT
So the moon does not fall behind, that is good, I am rather fond of our moon XD
You answered part of my question.
How is the moon captured by the earth? The fact that the moon is close to earth does not mean the sun no longer pulls on it. If that were true the moon would spiral straight and not follow the earth in its path around the sun. Gravity pulls the moon toward the earth (technically both, together), the centripetal force, constantly pulls the same exact amount on the moon (assuming no imperfections in the shape of the earth and moon); when the earth moves toward the sun, from the sun's pull on it, why does the moon get pulled along as well, and more so than its own pull from the sun?
What additional force is causing the moon to stay with the earth? Or is it just a remarkable quirk in how the math works out where the pull of the sun varies as the moon orbits earth, causing it to end up moving along faster?
The fact that the moon's orbital period would be longer than earth's, is false. The mass of the orbiter is irrelevant to it's orbital period.
Although the equation of gravity takes into account the mass of both objects (F = G * (M1*M2/D^2)) the equation of orbital period does not (P = tau * sqrt(r^3/G*M)) (link). This is because the mass of the orbiter is canceled out when applied to the velocity (V=F/M). Hence the equation for "gravitational velocity" is V=G*(M1/D^2).
With a "semimajor axis" of 92966500 miles around 1 sun of mass, regardless of the mass of the orbiter (planet) the orbital period will be 1 year.