I've been trying to write a formal definition for a $k$-involutible function in that the function has to satisfy the following properties:
- $k$ is a positive integer.
- $f \in \mathbb{R}(x)$ (as in, $f$ is a rational function. I explicitly wrote out the implication in the first line of my definition because my target audience is unfamiliar with the notation $\mathbb{R}(x)$. Defining it just to write $\mathbb{R}(x)$ once seems a little excessive in my opinion.)
- $f$ satisfies $f^k(x) = x$, but does not satisfy $f(x) = x, f^2(x) = x, \dots, f^{k-1}(x) = x$. In this sense, a function can only satisfy this condition for one particular value of $k$. (I defined a "minimality condition" because I'll refer back to this multiple times)
- $f$ is not a piecewise function.
- Here's the... tricky part. I want $f$ to be defined over $\mathbb{R}$ except for when the denominator of $f$ is equal to $0$ (and thus making $f$ undefined). Does this equate to just saying "$f$ is defined over $\mathbb{R}$ except in places where it isn't" or is this condition simply not needed?
Below is my attempt at a proper and formal definition (I'm not too sure what people would call "formal" - I'm still a high school student, after all).
Attempt at Definition
We call a rational function $f = p/q$, where $p, q \in \mathbb{R}[x]$, $k$-involutible for $k \in \mathbb{Z}^+ \geq 2$ if and only if $f$ satisfies
$$ \underbrace{f(f(f( \dots f}_{k \text{ times}}( x ))) \dots ) = f^k(x) = x $$
and there does not exist $n \in \mathbb{Z}^+$ such that $1 \leq n < k$ yields $f^n(x) = x$ (referred to as the minimality condition). Moreover, as $f$ is a rational function, let
$$ S = \{x \mid q(x) = 0 \} $$
In order for a function to be $k$-involutible we mandate that $f$ is a non-piecewise function such that the domain of $f$ is defined over $\mathbb{R} \setminus S$. Moreover, we define a special case $k = 1$ where the only $1$-involutible that exists is the identity function $f(x) = x$.
Question
How can I improve this definition? Also, is it excessively convoluted / complicated? It reads fine to me but I'm not sure if I'm breaking some kind of mathematical convention / notation rules, or if it's not rigorous enough.
Also, is it acceptable to insert periods at the end of equations defined by $$ ... $$ (in the sense that the equation in display style would end in a period on the same line) where it would usually be grammatically required?