Consider an analytic function $f(z)$ defined over a nonempty subset of the complex plane such that $f(f(z)) = z$.
(Also called analytic involutions)
One wonders when we also have $f'(f'(z)) = z$ where $'$ denotes the derivative with respect to $z$.
Since $f$ is its own functional inverse we can rewrite $f'(f'(z))$ (by the so called inverse function rule) as
$$f'(f'(z)) = \frac{1}{f'(f(f'(z)))}[1]$$
But it is unclear how to proceed.
Another idea is this , $w(h(z)) = h(w(z)) = z$ and
$$f(z) = h(1 - w(z))$$ $$f'(z) = h'(1- w(z))w'(z) = \frac{h'(1 - w(z))}{h'(w(z))}$$
$$f'(f(z)) = \frac{h'(1 - w(f))}{h'(w(f))}= \frac{h'(1 - (1-w(z)))}{h'(1-w(z))}=\frac{h'(w(z))}{h'(1-w(z))} = \frac{1}{f'(z)} [2]$$
But I am not getting much closer to a solution, if one exists.
Combining both $[1],[2]$ by plugging in $f'(z)$ I get
$$f'(f(f'(z)) = \frac{1}{f'(f'(z))}$$
But that is just equivalent to $[1]$.
Also $[2]$ was trivial from $f(f(z) = z$ implies $f'(f(z)) f'(z) = 1$
So I am running in circles and going nowhere with this.
How to solve such problems ??
edit
Just to be clear, I am not asking for functions $f$ that are counterxamples ! Most $f$ do not satisfy this for sure. Im looking for the ones that do have this property, if any. And how to find them or prove it.
edit2
I believe no " nice " solutions exist.
Let me explain; with nice I mean no complicated branch cuts and yet valid for all $z$. Preferably meromorphic everywhere.
Then we get apparantly that to satisfy $f(f(z)) = z$ , we must have that $f(z)$ must be well approximated by a polynomial of degree $0$ or degree $1$ in a large region of the riemann sphere.
For instance Linear Fractional Transforms approximate polynomials of degree $0$ or degree $1$ far away from their pole in a large part of the complex plane.
But this forces $f'(z)$ to be well approximated by a constant function.
And then $f'(f'(z))$ cannot be close to $z$ in most cases.
so we have an issue.
Notice that if we have an invariant $f(z) = f(g(z))$ then $f(f(z)) = z$ cannot hold for most $z$ since then we have $f(f(z)) = f(f(g(z))) = g(z)$ what is a paradox for $g(z) \neq z$.
So a degree $2$ or higher polynomial for $f$ fails, as does any other functions that makes copies of the complex plane.
And the same applies to $f'(z)$ hence another issue.
Therefore I do not believe in a nice solution.
Proving this formally, finding less nice solutions or proving nonexistance is however the goal here.