Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning, Rick Cook

Imagine we want to build a Möbius transformation $T(z)$ that behaves like a specific sorting machine. We want to feed it three specific points ($z_2, z_3, z_4$) and get out three standard results:
Current Draft: $T(z) \approx \frac{z - z_3}{z - z_4}$. How do we handle the “1” (normalization)? Let’s plug $z_2$ into our current draft and see what happens: $\frac{z_2 - z_3}{z_2 - z_4}$. This isn’t our desired result 1. To fix this, we need to multiply our function by the reciprocal (inverse) of that error, $\frac{z_2-z_4}{z_2-z_3}$
Let $z_2, z_3, z_4 \in \mathbb{C}_{\infin}$ be distinct points. Define $T(z) := \bigr(\frac{z-z_3}{z-z_4} \bigl)\bigr(\frac{z_2-z_4}{z_2-z_3} \bigl)$ where $T(z_2)=1, T(z_3) = 0, T(z_4) = \infin$.
The Rule of Thumb: If a term $z_i$ goes to infinity, any fraction containing $z_i$ approaches 1 (or -1) and essentially cancels out or disappears from the formula.
In any of the above case, $T(z_2) = 1, T(z_3) = 0, T(z_4) = \infin$ and T is the unique Möbius transformation with this property.
Definition. Given four distinct points $z,z_2,z_3,z_4$ in the extended complex plane $\mathbb{C}_{\infin}=\mathbb{C} \cup \{ \infty \}$, the cross ratio is defined as the value T(z), where T is the unique transformation that maps or takes $z_2$ to 1, $z_3$ to zero, and $z_4$ to infinity, $(z,z_2,z_3,z_4) = \bigr(\frac{z-z_3}{z-z_4} \bigl)\bigr(\frac{z_2-z_4}{z_2-z_3} \bigl).$
It basically asks: If I set up a coordinate system where $z_2, z_3, z_4$ are my standard markers or reference frame (1, 0, infinity), where does z land? In other words, where does the point z land in this normalized coordinate system where $z_3$ is the origin, $z_2$ is the unit marker, and $z_4$ is the point at infinity.
Proposition. Möbius transformations preserve the ‘geometry’ of points. If $z_2, z_3, z_4 \in \mathbb{C}_{\infin}$ are distinct and T is any Möbius transformation, then the cross ratio $(z, z_2, z_3, z_4) = (T_z, T_{z_2}, T_{z_3}, T_{z_4}) =[\text{Notation}](T(z), T(z_2), T(z_3), T(z_4))$
If you take four points and calculate their cross ratio, then run them all through a Möbius transformation (twist, slide, zoom, or invert them) and calculate the cross ratio of the new points, you get the exact same number.
ProofLet $S$ be the Möbius transformation (a specific “machine” or black box) that maps or takes $z_2$ to 1, $z_3$ to zero, and $z_4$ to infinity, the cross ratio of the originals $(z, z_2, z_3, z_4)$ is defined by the unique map S and $\text{LHS} = S_z = S(z) = (z,z_2,z_3,z_4)$.
To find the cross ratio of the transformed points $(T(z), T(z_2), T(z_3), T(z_4))$, we need to find a new Möbius transformation or machine (let’s call it $M$) that standardizes these specific points. M must take $T(z_2) \to 1, T(z_3) \to 0$, and $T(z_4) \to \infty$. If we find such a map M, then by definition: $\text{RHS} = M(T(z))$
Consider the composite function: $M = S \circ T^{-1}$, where both $T^{-1}$ and composition are Möbius transformations. We feed it the transformed points $T(z_2), T(z_3), T(z_4)$ and see what comes out.
Because Möbius transformations are unique, if we find any Möbius transformation that sends those three points to $1, 0, \infty$, it must be the one that defines the cross ratio, $\text{RHS} = M(T(z))$. Substitute our definition of $M, \text{RHS} = S( T^{-1}( T(z) ) ) = S(z)$
Since $\text{LHS} = S(z)$ and $\text{RHS} = S(z)$, they are equal. $(z, z_2, z_3, z_4) = (T_z, T_{z_2}, T_{z_3}, T_{z_4}) =[\text{Notation}](T(z), T(z_2), T(z_3), T(z_4))$
3-Point Theorem for Möbius transformations. If $z_2, z_3, z_4$ are distinct points in $\mathbb{C}_{\infin} = \mathbb{C} \cup \{ \infin \}$ and $w_2, w_3, w_4$ are also distinct, then there is one and only one Möbius transformation such that $S_{z_2}=w_2, S_{z_3}=w_3, S_{z_4}=w_4$.
It tells us exactly how much freedom we have: Three points determine everything.
Proof.
We have two sets of three distinct points: $z_2, z_3, z_4$ (start set) and $w_2, w_3, w_4$ (target set). We want to find a single Möbius transformation S that connects them perfectly: $z_2 \to w_2, z_3 \to w_3, z_4 \to w_4$.
Let T(z) be the unique Möbius transformation that maps the starting points to the standard configuration: $T(z) = (z, z_2, z_3, z_4), T(z_2) = 1, T(z_3) = 0, T(z_4) = \infty$ and M(w) be the unique Möbius transformation that maps the target points to the standard configuration: $M(w) = (w, w_2, w_3, w_4), M(w_2) = 1, M(w_3) = 0, M(w_4) = \infty$
Let’s build the bridge (S) because we want to go from z to w: (i) We use T to get from z to standard, (ii) We use the inverse $M^{-1}$ to get from standard back to w, $S(z) = (M^{-1} \circ T)(z)$
Does it work?
So, the transformation $S = M^{-1} \circ T$ definitely exists. Now we must prove that S is the only map that does this.
Assume there is another cap (a “fake copycat”) R that also does the job, $R(z_2) = w_2, R(z_3) = w_3, R(z_4) = w_4$. Consider the composition: $L = R^{-1} \circ S$ and check what it does to our starting points ($z_2, z_3, z_4$):
Now we could apply the Fixed Point Theorem The only Möbius transformation with 3 or more fixed points is the Identity map. We have a Möbius transformation L that has three fixed points ($z_2, z_3, z_4$). Therefore, L = Identity, $R^{-1} \circ S = Id \implies R \circ (R^{-1} \circ S) = R \circ \text{Id} \implies R = S$. Any “other” map R turns out to be exactly $S$. Thus, S is unique.