Let $f$ be a complex-valued function which is analytic for all values of $z$ in the complex plane and which satisfies $$f(f(z))= z $$ i.e. it is a self-inverse function. The trivial solutions for $f$ are clearly $f(z)=z$ and $f(z)=-z$. Are there any others?
Edit: There are more "trivial" examples: $f(z)=a-z$ for some constant $a$.