In physics, specifically classical mechanics, the three-body problem involves taking the initial positions and velocities (or momenta) of three point masses that orbit each other in space and calculating their subsequent trajectories using Newton's laws of motion and Newton's law of universal gravitation.