Inverses of Functions
Learning objectives
- State precisely when a function has an inverse (iff bijective)
- Compute the inverse function from a formula by solving for
- Verify the defining identities and
- Apply the rule
What does it mean to "undo" a function? If takes to , the inverse should take back to . For that to be a well-formed function we need two things: every in the codomain must have some preimage (so is defined for all ) and only one preimage (so is unambiguous). Those are exactly surjectivity and injectivity. Bijection is the inevitable precondition for invertibility. Once you have an inverse, you have a powerful symmetry: encryption and decryption, encoding and decoding, undo and redo, Fourier transform and its inverse — all of these are bijection-and-inverse pairs in disguise.
The inverse function
Let be a bijection. Then there is a unique function , called the inverse of , satisfying
Equivalently: and . The inverse exists if and only if is bijective:
- If is not injective, two preimages would compete and would not be well-defined.
- If is not surjective, some would have no preimage and would be undefined.
Finding inverses (the formula method)
To compute when is given by a formula:
- Write .
- Solve for in terms of .
- The resulting expression is .
- Verify: check and .
Example: . Set , solve: . So . Verify: .
Inverse of a composition
If and are bijections, then is a bijection and
Note the order reversal: to undo "first , then ," you must first undo , then undo — like reversing the order in which you put on socks and shoes.
Pause and think: Why does on have no inverse? But if we restrict to , an inverse exists — what is it? Which obstacle did the restriction remove?
Try it
- Compute the inverse of and verify by composing in both directions.
- Predict before computing: what is for ?
- Let and . Use the rule to compute two ways and check they agree.
- Show: if is injective but not surjective, then has a left inverse (a function with ) but no two-sided inverse.
- Prove .
A trap to watch for
The notation is overloaded. For a function it can mean:
- The inverse function, which requires to be bijective.
- The preimage of a set: , which is defined for every function (no bijection needed). We cover this in §5.5.
And in calculus, is sometimes written for the reciprocal . Always check from context which meaning is intended.
What you now know
You can decide whether a function is invertible, compute its inverse by the formula method, verify both compositional identities, and apply the order-reversal rule for inverses of compositions. Section 5.4 turns to a different but related construction: the closure of a set under an operation, which is the smallest extension that "respects" the operation.
References
- Velleman, D. J. (2019). How to Prove It (3rd ed.). Cambridge University Press, §5.3.
- Hammack, R. (2018). Book of Proof, ch. 12.
- Halmos, P. R. (1960). Naive Set Theory. Springer, §10.
- Katz, J., Lindell, Y. (2014). Introduction to Modern Cryptography (2nd ed.). CRC Press, ch. 3 (block ciphers as keyed bijections).
- Cooley, J. W., Tukey, J. W. (1965). "An algorithm for the machine calculation of complex Fourier series." Math. Comp. 19, 297-301.