Domain and Range

A relation is a set of ordered pairs. In each pair, the first element comes from a set called the domain, the second from a set called the range.

Example 1

Domain:  \{\text{Harry Potter, Hermione Granger, Ron Weasley, Draco Malfoy, Cedric Diggory, Luna Lovegood}\}

Range: \{\text{Gryffindor, Hufflepuff, Ravenclaw, Slytherin}\}

Now let a represent an element from the domain, and b represent an element form the range. We can define the relation:

a is related to b if a is a member of the house of b.

This generates the following relation:

    \[\{\text{(Harry Potter, Gryffindor),(Hermione Granger, Gryffindor),(Ron Weasley, Gryffindor),}\]

    \[\text{(Draco Malfoy, Slytherin),(Cedric Diggory, Hufflepuff),(Luna Lovegood, Ravenclaw)}\}\]

In this relation, there are six elements in the domain; four in the range and six ordered pairs in the relation.

A relation is a broad concept, and can have some meaning that is recognisable or can seem quite random.

Example 2

    \[\{(3,5), (0,7), (1,8), (-3,8)\}\]

It seems a little random, and it is. However it fits the definition of a set of ordered pairs, and so it is a relation. In this case, we have the following:

Domain: \{-3, 0, 1, 3\}

Range: \{5, 7, 8\}

Example 3

We can read the domain and range of a relation from a graph.

On this graph, the following four points are plotted:

    \[\{(1, 2), (2, 3), (3, 1), (5,2)\}\]

The domain is therefore the set \{1, 2, 3, 5\}.

The range is the set \{1,2,3\}. We need only mention the y value ‘2’ once, even though it appears more than once in the set of ordered pairs.

Example 4

On this graph, we see a continuous curve. A continuous curve represents infinitely many points, so we can’t list them individually.

The domain and range are also infinite sets – they have a max and a min each, but inifinitely many points inbetween.

For the domain, we’re looking at the horizontal axis. In this case, the x axis. We’re looking for the minimum value of x and the maximum value of x included on the set of green points that makes up the curve.

For the range, we’re looking at the vertical axis. We’re looking for the minimum and the maximum value of y on the green curve.

Domain: -8 \leq x \leq 5

Range:  -7.7 \leq y \leq 11.2

Notice that we can read the domain from the endpoints, but the minimum and maximum values of y could appear anywhere in between the endpoints.

Example 5

In some sports, when a ball hits the boundary line of the court it is considered ‘in’ (eg, soccer) in other sports it is considered ‘out’ (eg basketball). In math we use solid lines to show boundaries that are ‘in’ and we use dotted lines to show boundaries that are ‘out’.  (Example here). Similarly with endpoints, we use solid points to show endpoints that are ‘in’ and empty points to show endpoints that are ‘out.’ The symbols we use to differentiate between inclusion and exclusion are: \leq (to include the boundary/endpoint); or < (to exclude the boundary/endpoint).

Practice writing the domain and range

Use the red dynamic point to find the max/min x coordinates and y coordinates. Click the ‘trace button’ then move the red dynamic point to see the domain/range traced on the x, y axes. Write the domain and the range for each function. Solutions are on the pdf linked below the applet.

Applet link

Domain and Range Solution

 
Top BC G10 Menu Functions