Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Algebra 1

4.1.3 Examining Relations and Functions

Algebra 14.1.3 Examining Relations and Functions
Search for key terms or text.

4.1.3 • Examining Relations and Functions

Activity

A relation is any set of ordered pairs, (x,y)(x,y).

A function is a special type of relation that maps every input, xx, to exactly one output, yy.

Tell if each relation is a function and explain.

1.

xx yy
-3 3
-2

2

-1 1
0 0
1 1
2 2
3 3

2.

3.

4. (3,27),(2,8),(1,1),(0,0),(1,1),(2,8),(3,27)(3,27),(2,8),(1,1),(0,0),(1,1),(2,8),(3,27)

5. (9,3),(4,2),(1,1),(0,0),(1,1),(4,2),(9,3)(9,3),(4,2),(1,1),(0,0),(1,1),(4,2),(9,3)

Self Check

Consider the two relations below. Which statement is true about both relations?

  1. { ( 3 , 6 ) , ( 2 , 4 ) , ( 1 , 2 ) , ( 0 , 0 ) , ( 1 , 2 ) , ( 2 , 4 ) , ( 3 , 6 ) }
  2. { ( 8 , 4 ) , ( 4 , 2 ) , ( 2 , 1 ) , ( 0 , 0 ) , ( 2 , 1 ) , ( 4 , 2 ) , ( 8 , 4 ) }
  1. Neither relation is a function.
  2. Relation b is a function, but relation a is not a function.
  3. Relation a is a function, but relation b is not a function.
  4. Both relations are functions.

Additional Resources

Is the Relation a Function?

A relation is a set of ordered pairs. The set of the first components of each ordered pair are the inputs and the set of the second components of each ordered pair are the outputs. Consider the following set of ordered pairs. The first numbers in each pair are the first five natural numbers. The second number in each pair is twice that of the first.

(1,2),(2,4),(3,6),(4,8),(5,10)(1,2),(2,4),(3,6),(4,8),(5,10)

The set of inputs is {1,2,3,4,51,2,3,4,5}. The set of outputs is {2,4,6,8,102,4,6,8,10}.

Each input value is the independent variable, and is often labeled with the lowercase letter xx. Each output value, is the dependent variable, and is often labeled lowercase letter yy.

A function ff is a relation that assigns a single output to each input. In other words, no xx-values are repeated. For our example that relates the first five natural numbers to numbers double their values, this relation is a function because each input, {1,2,3,4,5}, is paired with exactly one output, {2,4,6,8,102,4,6,8,10}.

Now let’s consider the set of ordered pairs that relates the terms “even” and “odd” to the first five natural numbers. It would appear as

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

Notice that each input, {even,odd} is not paired with exactly one output, {1,2,3,4,51,2,3,4,5}. For example, the term “odd” corresponds to three output values, {1,3,5} and the term “even” corresponds to two output values, {2,42,4}. This violates the definition of a function, so this relation is not a function.

A mapping is sometimes used to show a relation. The arrows show the pairing of the inputs with the outputs.

Here are some relations that are functions and not functions.

  1. This relationship is a function because each input is associated with a single output. Note that inputs qq and rr both give output nn.
  2. This relationship is also a function. In this case, each input is associated with a single output.
  3. This relationship is not a function because input qq is associated with two different outputs.

How to determine if a relationship is a function.

  1. Identify the input values.
  2. Identify the output values.
  3. If each input value leads to only one output value, classify the relationship as a function. If any input value leads to two or more outputs, do not classify the relationship as a function.

Try it

Is the Relation a Function?

Is the following relation a function? Explain your answer.

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

© Aug 26, 2025 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.