Invertible Functions and Unique Preimages
Invertible Functions and Unique Solutions
Let f:X→Y be a function from a domain X to a codomain Y. The equation
asks whether an input x∈X maps to a specified output y∈Y.
The key relationship is:
A function f:X→Y is invertible if and only if, for every y∈Y, the equation f(x)=y has exactly one solution x∈X.
The phrase “exactly one solution” contains two requirements: a solution must exist, and no other solution may exist.
What invertibility means
A function f:X→Y is invertible when there is a function f−1:Y→X that reverses the action of f. Applying the function and then its inverse returns the original input; applying the inverse and then the function returns the original output:
Here, idX and idY are the identity functions on X and Y. An identity function leaves every element unchanged.
For every x∈X, f−1(f(x))=x.
For every y∈Y, f(f−1(y))=y.
The inverse has domain Y and codomain X, reversing the direction of the original function.
If f is invertible, every y has a unique preimage
Suppose f is invertible, and choose any y∈Y. Since f−1 maps elements of Y to elements of X, the value f−1(y) is an element of the domain.
Using the inverse identity,
Therefore, x=f−1(y) is a solution to f(x)=y. A solution exists for every y∈Y.
To see why the solution is unique, suppose some x∈X satisfies f(x)=y. Applying f−1 to both sides gives
Since f−1∘f=idX, the left side is x. Thus,
Every solution must equal f−1(y), so there cannot be a second, different solution. Hence, for each y∈Y, the unique solution is
If every y has a unique preimage, then f is invertible
Now suppose that for every y∈Y, the equation f(x)=y has a unique solution in X.
This assumption allows a function s:Y→X to be defined by assigning to each y its unique solution:
This definition gives a valid function because every y∈Y has exactly one corresponding solution. Thus, s assigns one and only one element of X to each element of Y.
The composition f∘s
For any y∈Y, the value s(y) is defined to be a solution of f(x)=y. Therefore,
This holds for every y∈Y, so
The composition s∘f
Take any a∈X. The value f(a) is in Y. By definition, s(f(a)) is the unique element of X that solves
The element a is a solution to this equation. Because the solution is unique, it must be the only one. Consequently,
This holds for every a∈X, so
The function s therefore satisfies both conditions required of an inverse. Hence, f is invertible, and s=f−1.
Connection to one-to-one and onto functions
The unique-solution condition combines two important properties:
Onto (surjective): Every y∈Y is the image of at least one x∈X.Thisensuresthatasolutiontof(x)=yexistsforeveryy$ in the codomain.
One-to-one (injective): No two distinct elements of X map to the same element of Y. This ensures that the solution is unique.
Thus, f:X→Y is invertible exactly when it is both one-to-one and onto—that is, bijective.
Main result
For a function f:X→Y, the following statements are equivalent:
f is invertible.
Every y∈Y has exactly one preimage in X.
The equation f(x)=y has a unique solution x∈X for every y∈Y.
f is both one-to-one and onto.
When these conditions hold, the unique solution for a given y is x=f−1(y).

Ask anything
We've read this whole study set, so questions about it get the best answers.