Q.Let . Define a relation from to by . Write down its domain, codomain and range.
The relation is defined by , so . Only pairs where both and lie in are included. The domain is , the codomain is , and the range is .
The key idea is to see the relation as a mapping: each in is linked to exactly one in through the equation . But not every in will produce a that stays inside — and that's what decides the domain and range.
Think of drawing an arrow diagram. You have set on the left and the same set on the right. For each in the left set, you check if is a number in the right set. If yes, you draw an arrow from to . The domain is the set of all left-side numbers that have an arrow leaving them. The range is the set of all right-side numbers that have an arrow arriving at them. The codomain is simply the entire right-side set — whether or not any arrow reaches it.
Now let's work through it.
-
Rewrite the condition.
The relation is .
This simplifies to . So for each , the corresponding is forced to be .
-
Find which values are allowed.
Since must be in , and must also be in , we need .
Solve .
Since is a positive integer, the possible values are .
-
List the ordered pairs.
For , →
For , →
For , →
For , →
For , — but , so no pair.
So .
-
Identify the domain.
The domain is the set of all first elements in the ordered pairs.
Domain .
-
Identify the codomain.
The codomain is given as the set to which belongs — here it's itself.
Codomain .
-
Identify the range.
The range is the set of all second elements that actually appear in the relation.
Range .
A common mistake is to think the domain is all from to because the relation is defined "from to ". But the condition restricts which actually produce a valid inside . Always check the condition.
Notice that the range is a subset of the codomain, and here it's a proper subset. The codomain is the "promised" set; the range is what actually gets used.
The domain is , the codomain is , and the range is .
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.