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 blog explains the codomain concept clearly, helping you grasp its role in relations and functions as per the NCERT syllabus.

Understanding Codomain in Relations and Functions

In Class 11 Mathematics, particularly in the chapter on Relations and Functions, the codomain is a fundamental concept. When we define a function $f: A \to B$, the set $B$ is called the codomain. It represents all possible values that the function can output, regardless of whether every element in $B$ is actually produced by $f$.

  • Domain ($A$): The set of all inputs.
  • Codomain ($B$): The set of all potential outputs.
  • Range: The actual outputs obtained from applying the function to elements of $A$.

For example, if $f: \mathbb{R} \to \mathbb{R}$ is defined by $f(x) = x^2$, then:

  • Domain = All real numbers $\mathbb{R}$
  • Codomain = All real numbers $\mathbb{R}$
  • Range = All non-negative real numbers $[0, \infty)$

The codomain sets the stage for the function's output possibilities and is always specified when defining a function in NCERT Class 11.

Difference Between Codomain and Range

Many students confuse codomain with range, but they are distinct:

AspectCodomainRange
DefinitionSet of all possible outputsSet of actual outputs
Relation to $f$Specified when defining $f$Determined by $f$'s mapping
Example$\mathbb{R}$ in $f: \mathbb{R} \to \mathbb{R}$$[0, \infty)$ for $f(x)=x^2$

The codomain is a part of the function's definition, while the range depends on the function's behavior. Understanding this difference is key for Class 11 students to solve problems related to functions accurately.

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

Role of Codomain in Defining Functions

In NCERT Class 11, a function is formally defined as a relation from a set $A$ (domain) to a set $B$ (codomain) such that each element in $A$ is related to exactly one element in $B$. The codomain is essential because:

  • It clarifies the type of outputs expected.
  • Helps in classifying functions (onto, into, etc.).
  • Determines if a function is surjective (onto) when the range equals the codomain.

Example: Consider $f: \{1,2,3\} \to \{a,b,c,d\}$ where

$$ f(1) = a, \quad f(2) = b, \quad f(3) = c $$

Here, codomain is $\{a,b,c,d\}$, but range is $\{a,b,c\}$. Since range $\neq$ codomain, $f$ is not onto.

How to Identify Codomain in NCERT Problems

When solving NCERT Class 11 problems on relations and functions, identifying the codomain is straightforward:

  • Look for the function definition $f: A \to B$; $B$ is the codomain.
  • If not explicitly given, assume the codomain based on the function's description.
  • Always distinguish codomain from range in answers.

Worked Example:

If $f: \mathbb{Z} \to \mathbb{Z}$ is defined by $f(x) = 2x + 1$, then:

  • Domain = $\mathbb{Z}$ (integers)
  • Codomain = $\mathbb{Z}$ (integers)
  • Range = All odd integers

Here, the codomain is all integers, but the range is only the odd integers subset.

Common Mistakes to Avoid About Codomain

Students often make these mistakes regarding codomain:

  • Confusing codomain with range.
  • Omitting the codomain when defining a function.
  • Assuming codomain equals range without proof.
  • Ignoring codomain's role in function classification.

To avoid these, always write the function as $f: A \to B$ clearly, specify codomain $B$, and verify the range separately through examples or calculations. This practice aligns with NCERT Class 11 standards and helps in exams.

Summary: Codomain in Relation and Function Class 11

To recap:

  • The codomain is the set into which the function's outputs fall.
  • Codomain is part of the function's definition, different from the range.
  • Knowing the codomain helps determine if a function is onto (surjective).
  • NCERT Class 11 problems require clear understanding of codomain for accuracy.

By mastering the codomain concept, you build a strong foundation for advanced topics in functions and relations.

Frequently asked questions

What exactly is the codomain in a function?

The codomain is the set of all possible outputs specified when defining a function.

How is codomain different from range in Class 11 Maths?

Codomain is the set of potential outputs; range is the actual outputs from the function.

Why is codomain important in relations and functions?

It helps define the function fully and determines if the function is onto (surjective).

Can the codomain be larger than the range?

Yes, the codomain can include values not produced by the function, so it may be larger than the range.

How do I find the codomain in NCERT problems?

Look at the function definition $f: A \to B$; the set $B$ is the codomain.

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