Image and preimage · Exercise-IMAGE-AND-PREIMAGE-010
Step-by-step solved exercise: Relations and functions
Let \(\displaystyle f\colon\mathbb{Z}\to\mathbb{Z}\), \(\displaystyle f(n)=n^2\), and \(\displaystyle Y=\{0,1,2,3,4\}\). How many elements does \(\displaystyle f^{-1}(Y)\) have?
Step by step with comments, a check and common mistakes.
Step-by-step solution
An integer \(\displaystyle n\) is in the preimage when \(\displaystyle n^2\) belongs to \(\displaystyle Y\).