The extra movement that reveals a companion
Steady travel
The dots mark successive positions of a star moving across the sky.
Travel plus an orbit
A companion adds a repeating departure from that steady track.
Steady track
Track with orbital displacement
The pattern helps establish an orbit. Identifying the companion also requires reliable mass estimates and a check for the light an ordinary star would contribute.
Schematic sky positions, with no angular or time scale. The displacement is exaggerated; real paths depend on the orbit and viewing angle.