Enrol to start learning
Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.
22.2.2. Finding Onto Functions
This section
Practice test
10 questions on this section. Wrong answers show you what to read again.
Sign up to take itWhole chapter
Revision test
Mixed questions from across the chapter. Your answers get marked.
Sign up to take itQuick
Flashcard drill
2 cards from this lesson. Good the night before a test.
Try these first
- 1.
What is the cardinality of a set with 5 elements?
Hint
Count the number of elements.
- 2.
State the formula for two sets using the inclusion-exclusion principle.
Hint
Think about overlapping elements.
- 3.
What does the inclusion-exclusion principle help us calculate?
- Cardinality of individual sets
- Cardinality of the union of sets
- Cardinality of intersections
Hint
Think about what cardinality means!
- 4.
True or False: An onto function can have unused elements in its codomain.
- True
- False
Hint
Reflect on the idea of mapping elements.
- 5.
How many onto functions exist from a set with 8 elements into a set with 4 elements? Use the inclusion-exclusion principle.
Hint
Start by calculating the function counts and then break down the exclusion cases.
- 6.
Design a problem set that requires students to find the number of ways to assign 10 different tasks to 5 workers so that each worker has at least one task.
Hint
Consider the total assignments and the necessary exclusions for empty assignments.
Exercises
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
4 more questions available
Enrol freeQuiz
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
Get your answers marked and your progress tracked
Enrol freeChallenge Problems
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting