Solution (source code)

= Solution

The <free product> $G_1*G_2$ is a group with homomorphisms from $G_1,G_2$ such that any pair of homomorphisms $G_i\to K$ extends uniquely to a homomorphism $G_1*G_2\to K$. Concretely its elements are reduced words with nonidentity syllables alternating between the factors. Multiply by concatenating and then combining adjacent syllables from the same factor, deleting identities. The empty word is the identity, and this <normal form theorem for a free product> also makes the factor maps injective.

The <Klein combination theorem>, in its ping-pong form, is as follows. Suppose two nontrivial subgroups $A,B$ act on a set $X$, with disjoint nonempty subsets $X_A,X_B$, such that
$$
aX_B\subseteq X_A\quad(1\ne a\in A),\qquad bX_A\subseteq X_B\quad(1\ne b\in B).
$$
If at least one factor has at least three elements, then $\langle A,B\rangle\cong A*B$ through the natural factor maps. The cardinality condition is needed in this version: two order-two groups can have the same image swapping the two domains.

Here is the proof. Assume $|A|\ge3$. A reduced word beginning and ending with an $A$-syllable sends $X_B$ into $X_A$ by successive application of the displayed inclusions, so cannot act as the identity. A word beginning and ending in $B$ becomes one of the preceding type on conjugating by any nonidentity $a\in A$. If it begins in $A$ and ends in $B$, choose $a\in A$ different from both $1$ and its first syllable. The word $a^{-1}wa$ remains reduced after combining its first two syllables and begins and ends in $A$, so again it is nonidentity. If it begins in $B$ and ends in $A$, apply this last argument to its inverse. Every nonempty reduced word is covered, so the natural homomorphism $A*B\to\langle A,B\rangle$ has trivial kernel. This proves the <Klein combination theorem>.

Apply it to the two cyclic groups generated by the given <Möbius transformations>. On $X=\mathbb R\cup\{\infty\}$ take
$$
X_A=\{x:|x|>1\}\cup\{\infty\},\qquad X_B=\{x:|x|<1\}.
$$
Their powers are
$$
f^m(x)=x+2m,\qquad g^m(x)=\frac{x}{2mx+1}\qquad(m\in\mathbb Z).
$$
For $m\ne0$ and $|x|<1$, $|x+2m|\ge2|m|-|x|>1$, so $f^mX_B\subseteq X_A$. For $x\in X_A$, put $1/\infty=0$; then
$$
\frac1{g^m(x)}=2m+\frac1x,\qquad\left|2m+\frac1x\right|>1,
$$
so $g^mX_A\subseteq X_B$. The powers displayed also show that both transformations have infinite order. The <Klein combination theorem> consequently gives
$$
\boxed{\langle f,g\rangle\cong\mathbb Z*\mathbb Z\cong F_2.}
$$

For the finite-index formula, realize the <free group> $F_n$ as the <fundamental group> of the rose with $n$ edges. A subgroup $H$ of index $i$ corresponds to a connected $i$-sheeted <covering graph>. Explicitly, its vertices are right cosets $Hx$ and for each basis generator $s_j$ there is a directed edge $Hx\to Hxs_j$ projecting to the corresponding rose edge. This graph is connected because basis words reach every coset, and the based loops correspond precisely to words in $H$.

The <covering graph> has $i$ vertices and $ni$ geometric edges: each positively oriented rose edge has one lift from each vertex. A maximal tree has $i-1$ edges, and the complementary edges freely generate its <fundamental group>. Thus $H$ is a <free group> with the <Nielsen–Schreier formula>
$$
\boxed{\operatorname{rank}(H)=ni-(i-1)=1+i(n-1).}
$$
This uses the connected cover associated with $H$; no claim that arbitrary disconnected covers are connected is needed.

Finally the specified basis of $F_n$ gives $d(F_n)\le n$. Its <abelianization> is $\mathbb Z^n$, by the universal property of the <free group>, and reduction modulo two gives a quotient $(\mathbb Z/2\mathbb Z)^n$. Images of any generating set must span this $n$-dimensional vector space, so it contains at least $n$ members. Therefore $\boxed{d(F_n)=n}$, and the same argument applies to the free group $H$ above.

Using exactly the unshifted definition printed in the paper, the <unshifted rank gradients> are determined by
$$
\frac{d(H)}{[F_n:H]}=n-1+\frac1i.
$$
The supremum is $n$, attained for $H=F_n$. For $n\ge1$, mapping one basis generator onto a generator of $\mathbb Z/i\mathbb Z$ and the others to zero provides subgroups of every positive index $i$. Hence the infimum is $n-1$, approached as $i\to\infty$:
$$
\boxed{\text{upper gradient}=n,\qquad\text{lower gradient}=n-1\quad(n\ge1).}
$$
For the trivial free group $F_0$, both values are zero. Subtracting one from $d(H)$ would change the upper answer; that is a different convention from the one requested here.