Functions
Domain, codomain and image, and the injective/surjective/bijective distinctions later chapters lean on for counting arguments.
11 exercises
Exercise 7
Consider the function given by the table below:
Is injective? Explain.
Is surjective? Explain.
Write the function using two-line notation.
Exercise 12
For each function given below, determine whether or not the function is injective and whether or not the function is surjective.
- given by .
- given by .
- given by .
- given by
Exercise 13
Let . Consider the function given by . That is, takes a subset of as an input and outputs the cardinality of that set.
Is injective? Prove your answer.
Is surjective? Prove your answer.
Find .
Find .
Find .
Exercise 16
Let be some function. Suppose . What can you say about if you know,
is injective? Explain.
is surjective? Explain.
is bijective? Explain.
Exercise 17
Find a set and a function so that .
Exercise 21
Consider the function given by
Is injective? Prove your answer.
Is surjective? Prove your answer.
Exercise 22
At the end of the semester a teacher assigns letter grades to each of her students. Is this a function? If so, what sets make up the domain and codomain, and is the function injective, surjective, bijective, or neither?
Exercise 24
Seven players are playing 5-card stud. Each player initially receives 5 cards from a deck of 52. Is this a function? If so, what sets make up the domain and codomain, and is the function injective, surjective, bijective, or neither?
Exercise 25
Consider the function that gives the number of handshakes that take place in a room of people assuming everyone shakes hands with everyone else. Give a recursive definition for this function.
Exercise 26
Let be a function and be a finite subset of the domain. What can you say about the relationship between and ? Consider both the general case and what happens when you know is injective, surjective, or bijective.
Exercise 27
Let be a function and be a finite subset of the codomain. What can you say about the relationship between and ? Consider both the general case and what happens when you know is injective, surjective, or bijective.
Adapted from Discrete Mathematics: An Open Introduction © 2013–2019 Oscar Levin. Licensed under CC BY-SA 4.0. Source: Discrete Mathematics: An Open Introduction. Imported at revision 1e2e26b.