AllRounder.ai
Chapters in this course

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.

Enrol free

2.4.1. Part (a): Counting Functions

  • This section

    Practice test

    12 questions on this section. Wrong answers show you what to read again.

    Sign up to take it
  • Whole chapter

    Revision test

    Mixed questions from across the chapter. Your answers get marked.

    Sign up to take it
  • Quick

    Flashcard drill

    4 cards from this lesson. Good the night before a test.

Try these first

  1. 1.

    Define an injective function and give an example.

    Hint

    Think of a simple linear function.

  2. 2.

    What is a surjective function?

    Hint

    Consider mappings to fewer elements.

  3. 3.

    What defines a surjective function?

    Hint

    Think of it as 'onto' mapping.

  4. 4.

    If a function has 5 elements in the domain and 3 in the codomain, how many injective functions can it have?

    • 1
    • 0
    • 6
    Hint

    Consider if you can assign unique outputs for all inputs.

  5. 5.

    Prove that if you're given a surjective function from a finite set A (with 4 elements) to another finite set B (with 3 elements), A cannot contain an injective function.

    Hint

    Reflect on the definitions of injective versus surjective.

  6. 6.

    Calculate the number of surjective functions from set A with 5 elements to set B with 3 elements using Stirling numbers.

    Hint

    Use the Stirling function properties and recall how permutations affect partitions.

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 free

Quiz

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

2 more questions available

Enrol free

Challenge 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