Problem 1226: (2011 AMC 12a, 23)
Let $f(z)= \frac{z+a}{z+b}$ and $g(z)=f(f(z))$, where $a$ and $b$ are complex numbers. Suppose that $\left| a \right| = 1$ and $g(g(z))=z$ for all $z$ for which $g(g(z))$ is defined. What is the difference between the largest and smallest possible values of $\left| b \right|$?
$\textbf{(A)}\ 0$ $\textbf{(B)}\ \sqrt{2}-1$ $\textbf{(C)}\ \sqrt{3}-1$ $\textbf{(D)}\ 1$ $\textbf{(E)}\ 2$
- Key fact: let $h(z)=\dfrac{pz+q}{rz+s}$ be non-constant. Expanding gives $h(h(z))=\dfrac{(p^2+qr)z+q(p+s)}{r(p+s)z+(qr+s^2)}$. Setting this equal to $z$ and clearing the denominator gives $r(p+s)z^2+(s^2-p^2)z-q(p+s)=0$. This must hold for infinitely many $z$, so every coefficient is $0$. Hence either $p+s=0$, or $q=r=0$ and $p=s$, in which case $h(z)=z$. So $h(h(z))=z$ exactly when $h$ is the identity or $p+s=0$.
- First suppose $a=b$. Then $f(z)=1$ for every $z\ne-b$. If $b\ne-1$, then $g(z)=f(1)=1$ wherever it is defined, so $g(g(z))=1$, which does not equal $z$ for all $z$; this case is impossible. If $a=b=-1$, then $f(1)$ is undefined, so $g$ is defined nowhere and the condition holds vacuously; this gives $|b|=1$, which lies in the range found below. So from now on assume $a\ne b$. Expanding, $g(z)=f(f(z))=\dfrac{(1+a)z+a(1+b)}{(1+b)z+(a+b^2)}$. This $g$ is not constant, because $(1+a)(a+b^2)-a(1+b)^2=a^2-2ab+b^2=(a-b)^2\ne0$. So the key fact applies to $g$.
- Case 1: $g$ is the identity. The $z$-coefficient of the denominator must be $0$, so $b=-1$ and $|b|=1$. (Indeed, then $g(z)=\frac{(1+a)z}{1+a}=z$ when $a\ne-1$.)
- Case 2: $(1+a)+(a+b^2)=0$, so $a=-\frac{1+b^2}{2}$. Then $|a|=1$ means $|b^2+1|=2$: $b^2$ lies on the circle of radius $2$ centered at $-1$. The center is at distance $1$ from $0$, so on that circle $|b^2|$ ranges from $2-1=1$ (at $b^2=1$, $b=1$, $a=-1$) to $2+1=3$ (at $b^2=-3$, $a=1$). So $1\le|b|\le\sqrt3$, and both ends occur with $a\ne b$.
- The difference between the largest and smallest values of $|b|$ is $\sqrt3-1$. The answer is (C).
Let $f(z)=\dfrac{z+a}{z+b}$ and $g(z)=f(f(z))$, where $a$ and $b$ are complex numbers. Suppose that $|a|=2$ and $g(g(z))=z$ for all $z$ for which $g(g(z))$ is defined. What is the difference between the largest and smallest possible values of $|b|$?