Question
Find the domain and range of the relation .
Solution — Step by Step
A relation is a set of ordered pairs .
- The domain of is the set of all first elements (x-values) in the ordered pairs.
- The range of is the set of all second elements (y-values) in the ordered pairs.
From :
First elements:
Second elements:
Notice that every in this relation. The domain maps to the range via the rule .
This relation is also a function because each element of the domain maps to exactly one element of the range (no repeated first elements).
Why This Works
The domain collects all inputs (x-values) and the range collects all outputs (y-values). Think of domain as “what values can go in” and range as “what values come out.”
The codomain (not asked here) would be the entire set from which the range values are drawn — if we said , then codomain = but range = .
Common Mistake
Students sometimes swap domain and range — listing as the domain. Remember: domain = first (left) elements, range = second (right) elements. In the ordered pair , is always the domain element and is the range element.
If the question asks whether this relation is a function: check if any x-value repeats. Here, 1, 2, and 3 each appear exactly once as first elements, so yes — is a function. If the set were , the value 1 maps to both 2 and 4, making it NOT a function.