For the problem:
Let $A = \{1, 2, 3, 4, 5, 6\}$. Give an example of a function $f : A → A$ such that $f$ is bijective, but is not the identity function $f(x) = x$.
Is this valid example:
$f=\{(1,2), (2,1), (3,3), (4,4), (5,5), (6,6)\}$.
?
If yes, why is this not an identity function? My textbook doesn't say a lot about identity functions.