We know that $(f(f(a)) = g(g(a))$ for some $a \in A$. I've tried and tried, both with a finite and infinite $A$, but I can't seem to find a counterexample wherein $f$ and $g$ are not the same. Apologies for the simple question, but I'd appreciate a nudge.
Asked
Active
Viewed 158 times
4 Answers
4
No, it is not true. Take $A=\{1,-1\}$, defined $f(x)=x$, and $g(x)=-x$. Then $f\circ f=g\circ g$, but $f\ne g$.
José Carlos Santos
- 427,504
-
Great, and it looks like $A$, in fact, could actually be the set of all real numbers here, correct? – Eragon20 Apr 15 '21 at 22:44
-
Yes. And it can also be $\Bbb C$. – José Carlos Santos Apr 15 '21 at 22:46
4
Take $$A=\{1,2\},\qquad f(1)=1,\ f(2)=2,\qquad g(1)=2,\ g(2)=1.$$
If you want $A$ infinite take $A=\mathbb Z$, $f(x)=x$, $g(x)=-x$.
Martin Argerami
- 205,756
3
Take $$A=(0,+\infty)$$
$$f(x)=x$$
$$g(x)=\frac 1x$$
then
$$(\forall x>0) \;\;\; f(f(x))=g(g(x))$$
hamam_Abdallah
- 62,951
3
Any nontrivial involution $f$ provides a counterexample, since you can take $g$ to be the identity function.
For example, take $f:\mathbb C\to\mathbb C$ with $f(z) = 1-z$ and $g = \operatorname{Id}_{\mathbb C}$. Then $f(f(z)) = 1-(1-z)=z=g(g(z))$, but $f\neq g$.
MPW
- 43,638