Exercise 19.
Suppose \(f:X \to Y\) is a function. Which of the following are possible? Explain.
\(f\) is injective but not surjective.
\(f\) is surjective but not injective.
\(|X| = |Y|\) and \(f\) is injective but not surjective.
\(|X| = |Y|\) and \(f\) is surjective but not injective.
\(|X| = |Y|\text{,}\) \(X\) and \(Y\) are finite, and \(f\) is injective but not surjective.
\(|X| = |Y|\text{,}\) \(X\) and \(Y\) are finite, and \(f\) is surjective but not injective.