sganesh88 said:
The OP was asking about the centripetal acceleration only. Isn't it just equal to Gm1/r^2 and Gm2/r^2 respectively?
Where m1 and m2 are the masses; and r, the distance between them which he says are given.
Since two body motion is planar, we can use polar coordinates, r and theta. Closed Newtonian orbits are always ellipses (or circles, but that's just a special case of an elliptical orbit). Because the center of mass of the system is the only inertial thing in the problem, and since it's pretty common knowledge that objects orbit the center of mass, we can define the "centripetal" accelleration as the accelleration toward the center of mass. (In latin, "centri-" refers to the center and "petal" means "seeking", i.e., centripetal motion seeks the center, and the center of mass is our only viable "center" here.)
That's why I said you can just project the gravitational force onto the radius vector to find the centripetal force, then divide by mass to get the centripetal acceleration.
The reason that quantity is NOT equal to GMm/(r^2) is for this reason: bodies in (non-circular) elliptical orbits have a varying *angular* velocity, which means there must be some sort of angular acceleration/force. The only force on one body is the gravitational force from the other, and the other body's gravitational force must be supplying both the centripetal AND angular acceleration. Because the angular direction is always perpendicular to the direction to the center (the radial direction), any force keeping the body in a closed orbit and causing the body's angular velocity to increase must have both an angular component
and a "centripetal" or radial component. The vector sum of angular force and centripetal force is equal to the total force on the body. Therefore the gravitational force is greater than or equal to the centripetal force.