Skip to content
Mathematics · Class 12 · Relations, Functions, and Inverse Trigonometry · Term 1

Types of Functions: One-to-One and Onto

Students will identify and differentiate between injective (one-to-one) and surjective (onto) functions.

CBSE Learning OutcomesNCERT: Relations and Functions - Class 12

About This Topic

In Class 12 CBSE Mathematics, the topic of types of functions emphasises one-to-one (injective) and onto (surjective) functions. A function f: A → B is one-to-one if distinct elements in domain A map to distinct elements in codomain B; no two inputs yield the same output. Graphically, apply the horizontal line test: the graph intersects any horizontal line at most once. A function is onto if every element in codomain B has a pre-image in A. Students analyse how domain and codomain sizes affect these properties, for example, a quadratic function from reals to reals is neither.

This unit connects to inverse trigonometry, where one-to-one restrictions enable inverses, and extends to real-world mappings like student roll numbers to unique IDs (one-to-one) or pigeonhole principle applications. Key skills include constructing examples: a one-to-one but not onto function, or vice versa, fostering precise mathematical reasoning.

Active learning benefits this topic greatly. When students pair to sketch graphs and test properties, or in small groups map sets with strings and pins, abstract definitions become visual and interactive. Peer debates on 'why this fails the test' correct errors on the spot and build confidence in proofs.

Key Questions

  1. Differentiate between injective and surjective functions using graphical representations.
  2. Analyze how the domain and codomain influence a function's injectivity or surjectivity.
  3. Construct a function that is neither one-to-one nor onto, and explain why.

Learning Objectives

  • Compare graphical representations of functions to determine if they are injective (one-to-one) or surjective (onto).
  • Analyze how the specified domain and codomain of a function impact its classification as injective or surjective.
  • Create examples of functions that are neither injective nor surjective, and justify the reasoning.
  • Differentiate between the conditions required for a function to be one-to-one versus onto.

Before You Start

Introduction to Functions

Why: Students need a foundational understanding of what a function is, including the concepts of domain, codomain, and mapping, before classifying them.

Set Theory Basics

Why: Understanding sets, elements, and subsets is crucial for defining and analyzing the domain, codomain, and range of functions.

Key Vocabulary

Injective Function (One-to-One)A function where each element in the codomain is mapped to by at most one element in the domain. Distinct inputs always produce distinct outputs.
Surjective Function (Onto)A function where every element in the codomain is an image of at least one element in the domain. The range of the function is equal to its codomain.
DomainThe set of all possible input values for a function.
CodomainThe set of all possible output values for a function, including those that may not be reached.
RangeThe set of actual output values of a function for a given domain.

Watch Out for These Misconceptions

Common MisconceptionAll one-to-one functions are also onto.

What to Teach Instead

Many students assume injectivity implies surjectivity, ignoring codomain size. For instance, f(x)=x from naturals to integers is one-to-one but not onto. Pair graphing activities reveal this by forcing codomain checks, while group mappings with finite sets highlight the pigeonhole principle.

Common MisconceptionVertical line test determines one-to-one property.

What to Teach Instead

Learners confuse function definition with injectivity. Vertical line test checks if it is a function; horizontal checks one-to-one. Station rotations with test strips clarify distinctions through hands-on trials and peer explanations.

Common MisconceptionDomain and codomain do not affect classification.

What to Teach Instead

Students overlook that changing codomain can make a function onto or not. Active construction tasks, like resizing codomains on diagrams, show this dynamically, helping students internalise the definitions.

Active Learning Ideas

See all activities

Real-World Connections

  • In a university admissions system, assigning a unique student ID number to each admitted student ensures the mapping is one-to-one. However, if the system aims to assign every possible ID number (e.g., from 0001 to 9999) to a student, it would need to be onto, which might not be feasible if fewer than 9999 students are admitted.
  • A teacher assigning marks to students in a class creates a function. If each student receives a unique mark (e.g., roll number to marks), it's one-to-one. If the marks awarded must cover the entire possible range of grades (e.g., A, B, C, D, F), the function would need to be onto.

Assessment Ideas

Quick Check

Present students with graphs of several functions. Ask them to use the horizontal line test to identify which graphs represent one-to-one functions and which represent onto functions, explaining their reasoning for each.

Discussion Prompt

Pose the question: 'Consider a function f: Z → Z (integers to integers). Can f(x) = x^2 be one-to-one? Can it be onto? Explain why or why not, considering the domain and codomain.'

Exit Ticket

Provide students with two sets: A = {1, 2, 3} and B = {a, b, c, d}. Ask them to define a function f: A → B that is one-to-one but not onto, and then define a function g: A → B that is onto but not one-to-one. They should briefly justify their definitions.

Frequently Asked Questions

How to differentiate one-to-one and onto functions graphically?
Use the horizontal line test for one-to-one: no horizontal line intersects the graph more than once. For onto, check if the graph's range covers the entire codomain; plot y-values to verify. Encourage students to sketch examples like f(x)=x (both on reals) versus f(x)=e^x (one-to-one, not onto on reals). Practice with CBSE-style graphs builds exam readiness.
How can active learning help students understand one-to-one and onto functions?
Active methods like pair graphing or mapping boards make abstract properties tangible. Students test horizontal lines on shared graphs or build set mappings with arrows, debating classifications aloud. This uncovers errors instantly, promotes peer teaching, and links definitions to visuals. Data from class polls on examples reinforces patterns, improving retention for inverse function applications.
What real-life examples illustrate one-to-one but not onto functions?
A passport number to person mapping is one-to-one (unique) but not onto (not every string is a passport number). In India, Aadhaar numbers to citizens exemplify this. Classroom activities mapping student IDs to heights (one-to-one if unique, onto only if heights cover all possible) connect theory to context, aiding conceptual grasp.
Why construct a function that is neither one-to-one nor onto?
Such examples clarify boundaries: f(x)=x^2 from reals to reals fails one-to-one (f(2)=f(-2)) and onto (no real pre-image for negatives). Constructing them algebraically or graphically in groups sharpens analysis. This aligns with NCERT exercises, preparing for proofs and term 1 assessments.

Planning templates for Mathematics