Relations and Functions

What is Codomain in Relation and Function Class 11: Definition & Examples

By ConceptScroll Team · Published on 19 June 2026 · 4 min read

In Class 11 Mathematics, understanding what is codomain in relation and function is essential. The codomain is the set into which all outputs of a function are constrained. This concept helps distinguish between possible and actual outputs in relations and functions.

Definition of Codomain in Relation and Function

In Class 11 NCERT Mathematics, the codomain of a function is defined as the set into which all the outputs of the function are constrained to lie. Formally, if a function $f$ maps elements from set $A$ (domain) to set $B$, then $B$ is called the codomain.

  • The codomain is a predefined set chosen before the function is applied.
  • It contains all possible outputs, whether or not they are actually produced.

For example, consider a function $f: A \to B$ where:

  • $A = \{1, 2, 3\}$ (domain)
  • $B = \{a, b, c, d\}$ (codomain)

If $f(1) = a$, $f(2) = b$, and $f(3) = a$, then the codomain is $B$, even though the function never produces $c$ or $d$ as outputs.

Understanding the codomain helps clarify the scope of possible outputs for any function.

Difference Between Codomain, Domain, and Range

It's important to distinguish between domain, codomain, and range in relations and functions:

TermDefinitionExample
DomainSet of all possible inputs$A = \{1, 2, 3\}$
CodomainSet of all possible outputs (target set)$B = \{a, b, c, d\}$
RangeSet of actual outputs produced by the function$\{a, b\}$ (subset of codomain)
  • The domain is where inputs come from.
  • The codomain is the set where outputs are expected.
  • The range is the subset of the codomain actually achieved by the function.

This distinction is crucial for Class 11 students to understand function properties and solve related problems accurately.

Want to test yourself on Relations and Functions? Try our free quiz →

Role of Codomain in Relations and Functions

In the study of relations and functions in Class 11 NCERT, the codomain plays a key role:

  • It defines the target set for the function's outputs.
  • Helps in classifying functions (e.g., onto functions require the range to equal the codomain).
  • Determines whether a function is surjective (onto) or not.

For example, if a function $f: A \to B$ has its range equal to $B$, then $f$ is onto. If the range is a proper subset of $B$, then $f$ is not onto.

Understanding codomain also aids in grasping more advanced concepts like inverse functions and composition of functions.

Worked Example: Identifying Codomain and Range

Let's solve a simple example to identify the codomain and range:

Example:

Define a function $f: \mathbb{Z} \to \mathbb{Z}$ by $f(x) = x^2$ where $\mathbb{Z}$ is the set of all integers.

  • Domain: $\mathbb{Z}$ (all integers)
  • Codomain: $\mathbb{Z}$ (all integers)

Question: What is the range of $f$?

Solution:

  • Since $f(x) = x^2$, outputs are all perfect squares.
  • Perfect squares are non-negative integers: $\{0, 1, 4, 9, 16, ...\}$
  • Range = $\{y \in \mathbb{Z} : y \geq 0\}$

Here, the codomain is all integers, but the range is only the non-negative integers, a subset of the codomain.

This example highlights the difference and importance of codomain in functions.

How to Determine the Codomain in a Function

For Class 11 students, determining the codomain involves:

  • Identifying the set into which the function maps elements.
  • Usually given explicitly in the function notation $f: A \to B$ where $B$ is the codomain.
  • If not given, deduce from the context or problem statement.

Tips:

  • Always check the function definition for the codomain.
  • Remember, codomain is not necessarily the set of outputs actually produced.
  • Codomain is essential when discussing function properties like surjectivity.

By mastering this, students can confidently approach questions on relations and functions in their NCERT syllabus.

Summary: Key Points on Codomain for Class 11 NCERT

To recap:

  • The codomain is the set where function outputs are expected.
  • It is different from the range, which is the actual set of outputs.
  • Codomain helps classify functions as onto or not.
  • Always specify codomain clearly when defining functions.

Understanding this concept is vital for solving problems in the Relations and Functions chapter of Class 11 NCERT Mathematics and scoring well in exams.

Frequently asked questions

What is the codomain in a function?

The codomain is the set of all possible outputs that a function can map to, as defined before applying the function.

How is codomain different from range?

Codomain is the target set of outputs, while range is the actual set of outputs produced by the function.

Why is codomain important in Class 11 functions?

Codomain helps determine if a function is onto and clarifies the scope of possible outputs.

Can the codomain be larger than the range?

Yes, the codomain can include elements not produced by the function, making it larger than the range.

How do you find the codomain if not given explicitly?

You infer the codomain from the function's definition or the problem context in Class 11 NCERT problems.

Ready to ace this chapter?

Get the full Relations and Functions chapter — interactive notes, diagrams, worked solutions, polls and a free practice quiz — in the ConceptScroll app.

Open in ConceptScroll →

Study smarter with ConceptScroll

Daily NCERT-aligned reels, AI doubt solving and chapter quizzes — all free.

Start learning free