Exercise 7.
Consider the function \(f:\{1,2,3,4,5\} \to \{1,2,3,4\}\) given by the table below:
\(x\) | 1 | 2 | 3 | 4 | 5 |
\(f(x)\) | 3 | 2 | 4 | 1 | 2 |
Is \(f\) injective? Explain.
Is \(f\) surjective? Explain.
Write the function using two-line notation.
Consider the function \(f:\{1,2,3,4,5\} \to \{1,2,3,4\}\) given by the table below:
\(x\) | 1 | 2 | 3 | 4 | 5 |
\(f(x)\) | 3 | 2 | 4 | 1 | 2 |
Is \(f\) injective? Explain.
Is \(f\) surjective? Explain.
Write the function using two-line notation.