S1-SA5-0601
What is a One-to-One Mapping?
Grade Level:
Class 5
Maths, Computing, AI, Logic, Data Science
Definition
What is it?
A one-to-one mapping means that each item in one group is matched with exactly one unique item in another group, and no two items from the first group share the same item in the second group. Think of it like a unique pairing where no item is left out and no item is shared unfairly.
Simple Example
Quick Example
Imagine a classroom where each student has their own unique roll number. Student 'Rohan' has roll number '1', student 'Priya' has '2', and so on. No two students have the same roll number, and no roll number is assigned to more than one student. This is a one-to-one mapping.
Worked Example
Step-by-Step
Let's say we have 3 friends and 3 different types of ice cream.
Friends: {Aman, Bina, Chintu}
Ice Creams: {Vanilla, Chocolate, Strawberry}
Step 1: Assign Aman one ice cream. Let's say Aman gets Vanilla.
Step 2: Now, for Bina, we cannot give her Vanilla because Aman already has it. So, Bina must get either Chocolate or Strawberry. Let's say Bina gets Chocolate.
Step 3: Finally, for Chintu, only Strawberry is left. So, Chintu gets Strawberry.
Step 4: Check if any friend got the same ice cream as another, or if any ice cream was given to more than one friend. No. Each friend got one unique ice cream.
Answer: Yes, this is a one-to-one mapping because each friend is mapped to exactly one unique ice cream.
Why It Matters
One-to-one mappings are super important in computing and data science. They help computers understand unique connections, like how your mobile number is linked to only your phone, or how a specific UPI ID belongs to only one person. This concept is vital for software developers who build secure systems and for data scientists who organize large amounts of information.
Common Mistakes
MISTAKE: Thinking that if all items from the first group are used, it's always one-to-one. | CORRECTION: Each item from the first group must map to a UNIQUE item in the second group. No sharing of the second group's items.
MISTAKE: Believing that the number of items in both groups must always be equal. | CORRECTION: While often true, a one-to-one mapping can exist even if the second group has more items, as long as each item from the first group maps uniquely.
MISTAKE: Assuming that if an item in the second group is not used, it's not a one-to-one mapping. | CORRECTION: An unused item in the second group doesn't break the one-to-one rule, as long as the items from the first group are still mapped uniquely.
Practice Questions
Try It Yourself
QUESTION: Is this a one-to-one mapping? People: {Raj, Simran, Vijay} | Cities they live in: {Mumbai, Delhi, Kolkata}. Raj lives in Mumbai, Simran lives in Delhi, Vijay lives in Kolkata. | ANSWER: Yes, it is a one-to-one mapping.
QUESTION: Is this a one-to-one mapping? Students: {Arjun, Bhumi, Chitra} | Favorite Fruits: {Apple, Banana, Orange}. Arjun likes Apple, Bhumi likes Banana, Chitra likes Banana. | ANSWER: No, it is not a one-to-one mapping because both Bhumi and Chitra like Banana.
QUESTION: You have 4 different types of flowers: Rose, Lily, Jasmine, Sunflower. You want to place them in 3 different vases, but each vase can only hold one type of flower, and each flower type can only go into one vase. Can you create a one-to-one mapping for all flowers? Explain why or why not. | ANSWER: No, you cannot create a one-to-one mapping for all flowers. You have 4 flower types but only 3 vases. At least one flower type will be left without a unique vase, or one vase would have to hold a flower type already assigned to another vase (which breaks the 'one type per vase' rule if you consider the mapping from flower to vase).
MCQ
Quick Quiz
Which of these is an example of a one-to-one mapping?
Multiple students sharing one textbook
Each student having their own unique email ID
One teacher teaching multiple subjects
Several cars using the same petrol pump
The Correct Answer Is:
B
Option B is correct because each student has a unique email ID, meaning no two students share the same ID. Options A, C, and D all involve one item being shared by multiple other items, which is not one-to-one.
Real World Connection
In the Real World
Think about your Aadhaar card. Each person in India has a unique 12-digit Aadhaar number. This is a perfect real-world example of a one-to-one mapping – one person to one unique Aadhaar number. It helps the government identify individuals uniquely for various services, from banking to subsidies.
Key Vocabulary
Key Terms
MAPPING: A connection or link between items in two groups. | UNIQUE: Being the only one of its kind; distinct. | RELATIONSHIP: How two or more things are connected. | PAIRING: Matching one item from one group with one item from another. | DOMAIN: The first set of items in a mapping.
What's Next
What to Learn Next
Great job understanding one-to-one mappings! Next, you can explore 'one-to-many' and 'many-to-one' mappings. These build on what you've learned and will help you understand even more complex relationships in data and everyday life.


