{{ 'ml-label-loading-course' | message }}
{{ toc.signature }}
{{ tocHeader }}
{{ tocSubheader }}
{{ 'ml-toc-proceed-mlc' | message }}
{{ 'ml-toc-proceed-tbs' | message }}
An error ocurred, try again later!
Chapter {{ article.chapter.number }}
{{ article.number }}.

# {{ article.displayTitle }}

{{ article.intro.summary }}
Show less Show more expand_more
{{ ability.description }}
Lesson Settings & Tools
 {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} {{ 'ml-lesson-time-estimation' | message }}
It is common to want to make a connection between two different sets of information. For example, consider counting people at a park. The number of people changes as the temperatures changes. Such relations are used to describe a connection between the elements of two sets. This lesson will dive deep into relations and how to represent them.

### Catch-Up and Review

Here are a few recommended readings before getting started with this lesson.

Challenge

## How to Represent a Relation?

Tadeo, the younger brother of Vincenzo, loves watching Vincenzo's college basketball games. He recorded Vincenzo and his teammates' names, heights, and the number of point shots they made. Tadeo describes the relation between Vincenzo's teammates' height and the number of points shots they made. He is so excited to share them with his big sibling.

Which of the following diagrams can Tadeo use to illustrate the relation?
Discussion

## Relation

A relation, or relationship, is a rule that relates the elements of one set to the elements of another set. The first set is called the set of inputs and the second set is called the set of outputs.

Often, a relation is thought of as a set of ordered pairs of the form In this case, the values represent the inputs and the values the outputs. However, a relation can also be represented using a mapping diagram, a table of values, or a set of points on a coordinate plane.
Discussion

## Mapping Diagram

A mapping diagram is a graphic tool that helps to visualize a relation. In a mapping diagram, the inputs are listed in one set and the outputs in another. Then, arrows are drawn from each input to its corresponding outputs.

This mapping diagram shows the relation defined by the set Note that is the output of two different inputs, and
Example

## Representing a Relation in Different Ways

Tadeo enjoyed sharing his last finding so much that he now wants to examine the relationship between the height and age of Vincenzo's teammates. He wants to describe some relations based on the values in the following diagram.

Represent the relation between Vincenzo's teammates' ages and heights using a table of values, a mapping diagram, a set of ordered pairs, and points in a coordinate plane.

### Answer

Table of Values:

Mapping Diagram:

Ordered Pairs:
Coordinate Plane:

### Hint

To make a mapping diagram, place all the ages in one set and all the heights in another set. Then, connect each age with its corresponding height using an arrow. To write the relation as a set of ordered pairs, place the ages in the first component and the corresponding heights in the second component.

### Solution

Using the information that Tadeo gathered, a relation between the ages and heights can be made and represented using different visualizations.

### Table of Values

First, organize the relation using a table of values. Place the ages in the first row and the heights in the second row. Align the ages with the corresponding heights.

### Mapping Diagram

The same relation can be displayed using a mapping diagram. Place the ages in a set and the heights in a different set. Then, connect each age with its corresponding height by using arrows. It is not necessary to write twice in the ages set.

### Set of Ordered Pairs

To write the relation using ordered pairs, the ages will be placed in the first coordinate of each ordered pair, and the corresponding heights will be placed in the second coordinate.

### Points in the Coordinate Plane

Finally, the relation between the ages and heights of the players can be represented using points in the coordinate plane. To do so, the ages will be placed along the horizontal axis and the heights along the vertical axis. Here, the axes will be drawn using different scales.
Note that by hovering over each point, the corresponding information is shown.
Discussion

## Domain and Range of a Relation

The domain of a relation is the set of all inputs, for which the relation is defined. For example, consider the following relation.
The domain of the relation is the set of all first coordinate of the ordered pairs.
Relation Inputs Domain
Depending on how a relation is represented, its domain can be determined using different methods.
The range of a relation is the set of all outputs of the relation. Consider the relation one more time.
By looking at the second coordinate of the ordered pairs, the range can be determined.
Relation Outputs Range
Depending on how a relation is represented, its range can be determined using different methods.
If two different inputs have the same output, it is not necessary to repeat such output when writing the range.
Example

## Vincenzo's Contribution to the Games

Tadeo enjoyed displaying the relations between the ages and heights of Vincenzo's teammates so much that he wanted to go a step further and continue analyzing relations. Tadeo kept track of the scores in the first six games and Vincenzo's contribution to his team's score.
In Relation the values represent the score of Vincenzo's team, while the values indicate the opposing team's score. Relation shows Vincenzo's individual contribution to the score in each game. For instance, means that Vincenzo scores points in the first match.
a What is the domain of Relation
What is the range of Relation
b What is the domain of Relation
What is the range of Relation

### Hint

a The domain of a relation represented by a table is formed by the values, while its range is formed by the values. When writing sets, do not repeat elements.
b To find the domain, look at the set of inputs. Similarly, to find the range, look at the set of outputs.

### Solution

a Given a relation represented by a table, the domain includes all the values, and the range includes all the values.
By listing the numbers from least to greatest, and including each element only once, the domain and range of are as follows.
b As done in Part A, to find the domain of look at the numbers inside the inputs set. To find the range, look at the outputs sets.
By listing the numbers from least to greatest, and including each element only once, the domain and range of are as follows.
Example

## Number of Spectators in Matches

Tadeo is on a roll with his basketball analyses. Other than the game itself, he has become fascinated with the crowd. He writes a relation showing the number of spectators in each game. In addition to that, he then writes another relation that shows the revenue from the tickets sold to these rambunctious fans.
The coordinates of the ordered pairs in Relation represent the number of the match, while the coordinates represent the number of spectators in the match. Relation shows the number of spectators on the axis and revenue in dollars on the axis.
a What is the domain of Relation
What is the range of Relation
b What is the domain of Relation
What is the range of Relation

### Hint

a The domain of a relation represented by a set of ordered pairs is formed by the first coordinate of each pair, while its range is formed by the second coordinates. When writing sets, do not repeat elements.
b To find the domain, look at the set of inputs. Similarly, to find the range, look at the set of outputs.

### Solution

a Given a set of coordinate pairs, the domain includes all the first coordinates, and the range includes all the second coordinates.
By listing the numbers from least to greatest, and including each element only once, the domain and range of are as follows.
b To find the domain of look at the coordinates of the points. To find the range, look at the coordinates of the points.
By listing the numbers from least to greatest, and including each element only once, the domain and range of are as follows.
Pop Quiz

## Determining the Domain and Range of Relations

The following applet displays a relation either as a table, a set of ordered pairs, a mapping diagram, or a group of coordinate points in the coordinate plane. For any given relation, determine its domain and range.

Pop Quiz

## Analyzing Relations

The following applet displays two relations. Determine if they represent the same relation.

Closure

## Representing Relations

Consider all of the diagrams given at the beginning of the lesson. Compare the information that each diagram provides and see if they correspond to each other.

### Diagram I: Table

The first diagram shows a relation represented as a table. It consists of rows and columns, where each row represents an ordered pair. The first column represents the input values (values), and the second column represents the output values (values).

To compare with other representations, ensure that the values in the table match the input-output pairs provided in other diagrams.

### Diagram II: Mapping Diagram

The second diagram visually represents a relation by using arrows to connect the input values with their corresponding output values. The input values are shown on the left side, and the output values on the right side.

Notice that the arrows in the mapping diagram correctly link the input values to their respective output values. This is the same as the pairs shown in the table.

### Diagram III: Set of Ordered Pairs

The third diagram is a set of ordered pairs , where is the input value and is the output value. Compare the pairs in the set with the corresponding values in other representations.
This is also the same as the ordered pairs shown in the previous diagrams.

### Diagram IV: Graph

Finally, the fourth diagram shows a relation as a group of coordinate points in the coordinate plane. Recall that each point consists of an coordinate and a coordinate.

The points on the coordinate plane match with the input-output pairs provided in other representations. As a result the information matches across all representations. It can be concluded that they represent the same relation.
Loading content