2.2 - Types of Functions
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Practice Questions
Test your understanding with targeted questions
Define an injective function.
💡 Hint: Think about how inputs are related to outputs.
What is the range of this function: f: {1, 2, 3} → {a, b} where f(1)=a, f(2)=b, f(3)=b?
💡 Hint: Look for the outputs produced from the inputs.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is an injective function?
💡 Hint: Focus on the uniqueness of mapping.
Is a function f: {1, 2} → {a, b} with f(1)=a and f(2)=b both injective and surjective?
💡 Hint: Check both properties for verification.
1 more question available
Challenge Problems
Push your limits with advanced challenges
Given two sets A = {1, 2, 3} and B = {a, b, c, d}, can we have a surjective function defined from A to B? Justify your answer.
💡 Hint: Think about the number of outputs compared to inputs.
Construct an example of a function f: {1, 2, 3} → {x, y} that is injective but not surjective. Explain your choice.
💡 Hint: Make sure to check for any repeated outputs when creating your function.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.