Given real numbers $a$ and $b$ ($a \ne 0$), let $f_{a,b}$ be the function $\mathbb{R} \to \mathbb{R}$ defined by $x \mapsto ax+b$. The set of such functions is a permutation group on $\mathbb{R}$, under function composition.
Let $f,g,h, \in G$, where $f$ is not the identity. If $f$ commutes with both $g$ and $h$, show that $g$ and $h$ commute with each other.
(Problem from I.M. Isaacs)
I think I have proved this, but I'd like to be sure.
Let $f(x)=ax+b$, $g(x)=cx+d$, and $h(x)=mx+n$. We have the following:
$$f(g(x))=acx+ad+b,\quad g(f(x))=acx+bc+d$$
For these two functions to be equal, therefore, we must have that $ad+b=bc+d$. Am I correct in thinking that this further implies that $a,c=1$?
If so, then by essentially the same argument we also obtain $a,m=1$, and so $c,m=1$, which would imply that $gh=hg$ (since $g(h(x))=cmx+cn+d$ and $h(g(x))=cmx+md+n$).
Is this an effective proof? It's clear that, for example in the first case, $a,c=1$ implies $ad+b=bc+d$, but it's not completely clear to me that $ad+b=bc+d$ necessarily implies $a,c=1$.
Thanks.
As commenters have noted, you can't conclude $a=c=1$.
The condition $ad+b=bc+d$ can be rewritten as:
$$d(a-1)=b(c-1)$$
Now, if $a=1$ then $b\neq 0$ (or else $f(x)=x$ is the identity.)
So in that case, then $x+b$ commutes with $cx+d$ if and only if $c=1$. So if $x+b$ commutes with $cx+d$ and $mx+n$ then $c=m=1$ and therefore $cx+d$ and $mx+n$ commute.
If $a\neq 1$ then $c\neq 1$ (since $c=1\implies a=1$). So we can divide by $(a-1)(b-1)$ and get $$\frac b{a-1}= \frac{d}{c-1}$$
$$\frac b{a-1}= \frac n{m-1}$$
Therefore:
$$\frac d{c-1} = \frac n{m-1}$$
and therefore $cx+d$ and $mx+n$ commute.