 The first is by observing extra light which the stars reflect from their companion.Second is by observing ellipsoidal light variations which are caused by deformation of the star's shape by their companions.The third method is by looking at how relativistic beaming affects the apparent magnitude of the stars.