The domain of a relation is the set of x-values, or inputs, found in its ordered pairs. Learn how to pick out those values, remove repeats, and tell the domain apart from the range—the set of y-values. A few simple examples make this key pre-algebra idea easier to see and use.

Multiple Choice

Which statement describes the domain of a relation?

The domain is the set of all input values that appear in a relation. Since a relation is a collection of ordered pairs (x, y), the domain comes from the x-coordinates—the first elements of each pair. So, if you have pairs like (2, 3), (4, 1), (2, 5), the x-values are 2, 4, and 2 again, and the domain is the set {2, 4} (duplicates don’t appear in a set). The corresponding set of outputs, the y-values, is called the range, which would be {3, 1, 5} in that example. The ordered pairs themselves describe the relation as a whole, not just the inputs.

A relation is a way to show how one set of values connects to another. Its domain is the set of input values—the x-values in its ordered pairs. That idea sounds simple, but it helps make sense of tables, graphs, and everyday situations where one quantity depends on another.

Start with the first number

An ordered pair is written as ((x, y)). The first number is the x-coordinate, and the second is the y-coordinate. For example, in ((2, 3)), the input is 2 and the output is 3.

A relation can be shown as a set of ordered pairs:

[

{(2, 3), (4, 1), (2, 5)}

]

To find its domain, collect the x-values: 2, 4, and 2. Since a set lists each value only once, the domain is:

[

{2, 4}

]

The y-values make a different set, called the range. Here, the range is ({3, 1, 5}). The ordered pairs together describe the whole relation, while the domain describes only its inputs.

A useful memory trick is to think of each pair as a tiny machine: the first value goes in, and the second value comes out. The domain tells you which inputs appear.

Why does a set leave out repeats?

The value 2 appears twice in the example, but it appears only once in the domain. That’s because a set records which values are present, not how many times each one shows up.

This can feel a little odd at first. In a list, repetition matters: “2, 4, 2” contains three entries. In a set, the repeated 2 doesn’t add a new member, so ({2, 4, 2}) is written as ({2, 4}).

Keep the original pairs intact, though. The pairs ((2, 3)) and ((2, 5)) are different, even though they share the same x-value. Both belong to the relation. Only when listing the domain do you remove the repeated input.

The domain in a table

A table often makes the domain easy to spot. Consider this one:

| x | y |

|---:|---:|

| 1 | 6 |

| 3 | 8 |

| 5 | 10 |

The x-column contains the domain, ({1, 3, 5}). The y-column contains the range, ({6, 8, 10}).

Tables may use different labels, too. A table about hours and distance might put hours in the first column and distance in the second. If the ordered pairs are written as (hours, distance), then hours are the inputs and form the domain. The labels help explain what the numbers mean, but the order still matters: the first coordinate is x, and the second is y.

How the domain appears on a graph

On a coordinate plane, the domain is the set of x-coordinates used by the points. These are the points’ horizontal positions. The range is made up of their y-coordinates, or vertical positions.

Imagine three plotted points: ((−1, 2)), ((2, 4)), and ((4, 1)). Their domain is ({−1, 2, 4}), while their range is ({1, 2, 4}). To read the domain, look from left to right and note the x-position of each point.

For a line or curve, the graph might show many points rather than just a few. In that case, the domain can be an interval of x-values, such as all values from 0 to 5. If the graph has a solid dot at an endpoint, that value is included; an open circle means it is not included. The notation also gives clues: ([0, 5]) includes both endpoints, while ((0, 5)) leaves both out.

A real-world way to think about it

Suppose a small ferry records the number of passengers on each trip and the amount of fuel used. It could show pairs such as ((10, 4)), ((20, 7)), and ((30, 10)), where the first number is passengers and the second is fuel use. The domain is ({10, 20, 30}): the passenger counts recorded in the relation.

In real situations, the domain may have limits. A ferry cannot carry a negative number of passengers, and its capacity sets an upper bound. So even if a mathematical rule could accept many numbers, the context may allow only certain inputs. That’s an important distinction: a formula describes a relationship, while the situation can restrict which inputs make sense.

For a simple rule such as (y = x + 2), the equation alone allows any real number as (x). But if (x) represents the number of people in a room, negative values and fractions of a person may not fit the story. Context gives the domain a practical shape.

A relation isn’t always a function

Every function is a relation, but not every relation is a function. A function has one special rule: each input can connect to only one output.

The relation ({(2, 3), (2, 5)}) has a domain of ({2}). It is still a relation, even though the same input connects to two different outputs. It is not a function because the input 2 has two outputs.

This distinction doesn’t change how the domain is found. In either case, look at the x-values and list each one once. The domain describes the inputs that appear; the function rule describes how those inputs connect to outputs.

A quick way to keep the ideas straight

When looking at a relation, take it one piece at a time:

  • Domain: all the x-values, or inputs.

  • Range: all the y-values, or outputs.

  • Relation: the full collection of ordered pairs.

The first coordinate gives the domain, and the second gives the range. If a value repeats, list it once in the domain or range, but keep every ordered pair when describing the relation.

Once this pattern becomes familiar, the word domain feels less mysterious. It’s simply the set of inputs represented in a relation—the values that enter the story, whether they’re shown in pairs, a table, or a graph.