In mathematics, an involution, involutory function, or self-inverse function is a function f that is its own inverse,
for all x in the domain of f. Equivalently, applying f twice produces the original value.