Suppose $f:\mathbb{P}^2 \to \mathbb{P}^2$ is rational such that $f \circ f = \mathbb{Id}$. Then is it true that $f$ must be linear?
It feels true due to the degree which increases, but some things might cancel out.
Suppose we have a smooth curve $C$ of genus $g\geq 1$ with a rational function $g: C \to C$ with the same property. Does it always rise to an $f$ on $\mathbb{P}^2$ whose restriction is $g$? Does it imply that $g$ has to be linear too? This on the other side seems wrong to me.
As Mohan mentioned in the comments, there exist non-linear functions whose power is $\mathbb{Id}$.
For example $[x:y:z]\mapsto [yz:xz:xy]$ has order two, and $[x:y:z]\mapsto [xy:yz:zx]$ has order six.