Use the Riemann sphere convention for evaluating a Möbius transformation at a pole and at infinity. When the three prescribed points are finite, take
Its zero is , its pole is , and substitution at gives one. The remaining three cases are
All coefficient determinants are nonzero because the points are distinct. There is only one such Möbius transformation: the composite of any two candidate maps, one inverted, fixes ; fixing infinity makes it affine, and fixing zero and one makes it the identity.
For this question use the cross-ratio normalization
In the finite case this is , with the corresponding limits if a point is infinite. It is finite and distinct from zero and one, since is distinct from the other three points and is a bijection. Ordering conventions for the cross-ratio differ; the definition here is fixed by the specified images, rather than by importing another ordering formula.
A generalized circle means either a circle or a straight line completed by infinity. Let be the unique generalized circle through the first three points. Its image under is the unique generalized circle through , namely . Therefore exactly when is real. Conversely a real lies on that extended real line, whose inverse image is . This proves the real cross-ratio criterion for a generalized circle in both directions.