Let $A=\left\{x,y,z\right\}$ and $M=\left\{g\mid g:A\rightarrow A\text{ is a function}\right\}$.
Is there an element in $M$ that is idempotent but not right absorbing, left absorbing, a right identity, and a left identity? I've tried creating different functions (mainly piece-wise functions) that satisfy this, but I have been having trouble.
Edit: Would it be the empty function, which maps the empty set to A?
For $a \in A$, let $c_a$ be the constant function $c_a(x) = c_a(y) = c_a(z) = a$. Let $i: A \to A$ be the identity map, and let $f: A \to A$ be given by $f(x) = f(y) = x, f(z) = z$. Then: