If a function maps an input to its inverse, is it bijective?

211 Views Asked by At

I read in my textbook that a function is a bijection if and only if it has an inverse. Is it the same thing to say a function $f: X → X$ is a bijection if $f(x) = x^{-1}$? If $a = x$ and $b = x^{-1}$, then I'd have $f(a) = b$, and in this situation $f(b) = a$. Would that make $f$ its own inverse and therefore mean it's bijective?

3

There are 3 best solutions below

2
On

Your problem stems from the fact that the word "inverse" has (at least) two meanings. One describes the inverse of a function, another the inverse of a number (or element of some algebraic structure where that makes sense).

These meanings are essentially different unless you move up one level of abstraction, where you "multiply" functions by composing them. Then they can occur in the same problem - with their two meanings. That's exactly what you encountered in your example with permutations. As @DustanLevenstein points out, the function from permutations to permutations that assigns to each permutation its inverse (as a permutation thought of as a function) has an inverse (as a function).

(This is a good beginner's question.)

0
On

I think your text book means $f\colon A\to B$ is bijective if there exists a function the other way, say $g\colon B\to A$, such that $g\circ f=\operatorname{id}_A$ and $f\circ g=\operatorname{id}_B$.

0
On

Your $x^{-1}$ is an example of a function with an inverse and therefore it can be a bijection but that isn't the meaning of having an inverse, or the notation.

Having an inverse means that there exists another function which reverses the function $f$, so the inverse of $x+1$ is $x-1$. The inverse of $2x$ is $x/2$. The correct notation to say there exists an inverse of $f$ is this: $\exists f^{-1}(x)$

By chance, your function $x^{-1}$ is unusual in that it is its own inverse, i.e. apply it twice and you get back where you started. This is written $f^{-1}(x)=f(x)=x^{-1}$. That type of function is called an involution, but this is a distraction, it's not fundamental to the understanding of bijections.

A bijective function means you must define the domain and range, and both the function and its inverse map every element of one to exactly one element of the other, with no members of either space not mapped. So for example the function $x+1$ is bijective from the integers to the integers because every integer is mapped to another without exception. Its inverse is $x-1$.