What is the range of the function in this table?

[tex]\[
\begin{tabular}{|c|c|}
\hline
$x$ & $y$ \\
\hline
1 & 2 \\
\hline
2 & 4 \\
\hline
3 & 3 \\
\hline
4 & 2 \\
\hline
\end{tabular}
\][/tex]

A. [tex]$\{1,2,3,4\}$[/tex]

B. [tex]$(1,2)$[/tex]

C. [tex]$(1,2),(2,4),(3,3),(4,2)$[/tex]

D. [tex]$\{2,3,4\}$[/tex]



Answer :

To find the range of the function given in the table, we need to determine the set of all possible y-values that the function produces. Let's follow these steps:

1. List the y-values:
The table provides us with the following y-values for each corresponding x-value:
[tex]\[ \begin{array}{|c|c|} \hline x & y \\ \hline 1 & 2 \\ \hline 2 & 4 \\ \hline 3 & 3 \\ \hline 4 & 2 \\ \hline \end{array} \][/tex]

2. Identify all distinct y-values:
From the table, the y-values are 2, 4, 3, and 2. We need to identify all distinct values among these y-values. The distinct y-values are 2, 4, and 3.

3. Create the set of distinct y-values:
The set of all distinct y-values is {2, 3, 4}.

Thus, the range of the function is the set of all distinct y-values, which is [tex]\(\{2, 3, 4\}\)[/tex].

The correct answer is:

D. [tex]\(\{2, 3, 4\}\)[/tex]