Images and Inverse Images
Learning objectives
- Compute the image of a subset of the domain
- Compute the inverse image (preimage) of a subset of the codomain
- Prove the union/intersection laws for images and preimages
- Identify when image preserves intersections (only when is injective)
Functions act on individual elements — can we lift them to act on whole sets? Yes, in two natural ways. Push a subset of the domain forward: collect every output you reach. That is the image. Pull a subset of the codomain back: collect every input that lands there. That is the inverse image. The two operations look symmetric but are not: preimages behave perfectly under all set operations, while images preserve unions but only partially preserve intersections. This asymmetry, once you see it, explains a small but persistent collection of "obvious" facts that turn out to be false.
Image of a set
For and , the image of is
It is the set of all outputs you get by feeding elements of to .
Inverse image (preimage)
For , the inverse image (or preimage) of is
Crucial: is defined for every function, no bijection required — this is set-valued, not the inverse function of §5.3.
Preimage commutes with everything
Preimages preserve union, intersection, and complement perfectly:
Image commutes only with union
Images preserve unions:
But for intersections, only one direction holds:
and equality can fail. Example: with . Then so , but . Equality of and holds for every iff is injective.
(The widget above shows the arrows of a function. To visualise an image, highlight the source elements in and trace their arrow heads; the set of distinct heads IS . For a preimage of , highlight target elements in and trace arrows backwards.)
Pause and think: If is injective, can you prove ? Where does injectivity get used? (Hint: start with , write , apply injectivity to conclude .)
Try it
- For on , compute . Predict the size before listing.
- For on , compute .
- For on , exhibit subsets where .
- Prove by element-chasing.
- True or false: for every . (Answer: only one inclusion holds in general — which one?)
A trap to watch for
"Image preserves intersection" is the most common false friend in this section. Students assume that because preimages do this for free — but images only get a one-sided inclusion. Whenever you write that equality, you are silently using injectivity; if is not injective, you need a counterexample-ready mindset. The diagnostic question: "could two different inputs collide on the same output?"
What you now know
You can push subsets through a function in both directions, prove the union and intersection laws, and pinpoint exactly where the image-vs-preimage asymmetry breaks (intersection for images, fixed by injectivity). With images, preimages, functions, relations, equivalences, and orderings all in your toolkit, you have the full set-theoretic vocabulary that Chapter 6 will deploy to define the natural numbers from scratch and prove theorems by induction.
References
- Velleman, D. J. (2019). How to Prove It (3rd ed.). Cambridge University Press, §5.5.
- Halmos, P. R. (1960). Naive Set Theory. Springer, §8-9.
- Hammack, R. (2018). Book of Proof, ch. 12.
- Bloch, E. D. (2011). Proofs and Fundamentals (2nd ed.). Springer, ch. 4.
- Goodfellow, I., Shlens, J., Szegedy, C. (2015). "Explaining and harnessing adversarial examples." ICLR 2015 (preimages and adversarial inputs).