{{ item.displayTitle }}

No history yet!

equalizer

rate_review

{{ r.avatar.letter }}

{{ u.avatar.letter }}

+

{{ item.displayTitle }}

{{ item.subject.displayTitle }}

{{ searchError }}

{{ courseTrack.displayTitle }} {{ statistics.percent }}% Sign in to view progress

{{ printedBook.courseTrack.name }} {{ printedBook.name }}
A relation, or **relationship**, shows how two quantities are related. It pairs inputs with outputs. Often, a relation is thought of as a set of $(x,y)$ coordinates.

A relation can be represented in various ways, of which a few are shown here.

Input ($x$) | $-2$ | $1$ | $5$ |
---|---|---|---|

Output ($y$) | $3$ | $2$ | $1$ |

The relation given by the above table is the same as ${(-2,3),$ $(1,2),$ $(5,1)}.$

Instead of listing the set of coordinates, they can be plotted in a coordinate plane. The $x$-coordinates are the inputs, and the $y$-coordinates are the corresponding outputs.

The graph visualizes ${(-3,-2),$ $(1,-1),$ $(1,3),$ $(4,-1)}.$

A mapping diagram is a diagram that lists the inputs in one column, and the outputs in another column. Arrows are used to indicate which outputs correspond to which inputs.

This mapping diagram shows ${(-2,-2),$ $(-1,0),$ $(0,2),$ $(2,-2)}.$

A function is a relation in which each input value corresponds to **exactly one** output value. If $x$ represents the inputs and $y$ the outputs of a function, it is often said that $‘‘y$ is a function of $x."$ Depending on the way in which the relation is represented, deciding if it is a function can be done in different ways. If the relation is given as a set of coordinates, representing it with a mapping diagram can be helpful.

Represent the following relation with a mapping diagram and determine whether it is a function. ${(1,2),(2,1),(-2,-1),(3,-1),(2,2)}$

Show Solution

To create the mapping diagram we'll start by listing the inputs in a column to the left, and the outputs in a column to the right. The inputs of the relation are $1,2,-2,$ and $3,$ and the outputs are $2,1,$ and $-1.$

We can now add the arrows mapping the inputs to their corresponding outputs. There should be an arrow from input $1$ to output $2,$ from input $2$ to output $1,$ etc.

For a relation to be a function, every input must correspond with **exactly one** output. Here, we can see that the input value $2$ has two possible outputs, $2$ and $1.$ Thus, this relation is **not** a function.

Relations that are not functions have the same specific characteristic when graphed. When a relation is not a function, it is because there are multiple $y$-values produced by the same $x$-value. Therefore, the graph would show at least two points directly above the other. Consider the following graphs.

This fact gives way to a test that can be done to determine if a relation is a function by looking at its graph. This test is called the Vertical Line Test, and is performed by moving an imaginary vertical line across the graph. If this line intersects the graph more than once at any given time, the relation is **not** a function. If this is not the case, the relation is a function.

Perform test

Change relation

Is the graphed relation a function?

Show Solution

Since the relation is given as a graph, we can use the Vertical Line Test to figure out if it's a function. Moving an imaginary vertical line across the graph, we can see that it never intersects the graph more than once at any given time.

Thus, under the necessary assumption that the graph behaves in a similar fashion outside of the visible region, the relation is a function.

{{ 'mldesktop-placeholder-grade' | message }} {{ article.displayTitle }}!

{{ exercise.headTitle }}

{{ 'ml-heading-exercise' | message }} {{ focusmode.exercise.exerciseName }}