Skip to main content
Contents
Dark Mode Prev Up Next
\(\newcommand{\markedPivot}[1]{\boxed{#1}}
\newcommand{\IR}{\mathbb{R}}
\newcommand{\IC}{\mathbb{C}}
\renewcommand{\P}{\mathcal{P}}
\renewcommand{\Im}{\operatorname{Im}}
\newcommand{\RREF}{\operatorname{RREF}}
\newcommand{\vspan}{\operatorname{span}}
\newcommand{\setList}[1]{\left\{#1\right\}}
\newcommand{\setBuilder}[2]{\left\{#1\,\middle|\,#2\right\}}
\newcommand{\unknown}{\,{\color{gray}?}\,}
\newcommand{\drawtruss}[2][1]{
\begin{tikzpicture}[scale=#1, every node/.style={scale=#1}]
\draw (0,0) node[left,magenta]{C} --
(1,1.71) node[left,magenta]{A} --
(2,0) node[above,magenta]{D} -- cycle;
\draw (2,0) --
(3,1.71) node[right,magenta]{B} --
(1,1.71) -- cycle;
\draw (3,1.71) -- (4,0) node[right,magenta]{E} -- (2,0) -- cycle;
\draw[blue] (0,0) -- (0.25,-0.425) -- (-0.25,-0.425) -- cycle;
\draw[blue] (4,0) -- (4.25,-0.425) -- (3.75,-0.425) -- cycle;
\draw[thick,red,->] (2,0) -- (2,-0.75);
#2
\end{tikzpicture}
}
\newcommand{\trussNormalForces}{
\draw [thick, blue,->] (0,0) -- (0.5,0.5);
\draw [thick, blue,->] (4,0) -- (3.5,0.5);
}
\newcommand{\trussCompletion}{
\trussNormalForces
\draw [thick, magenta,<->] (0.4,0.684) -- (0.6,1.026);
\draw [thick, magenta,<->] (3.4,1.026) -- (3.6,0.684);
\draw [thick, magenta,<->] (1.8,1.71) -- (2.2,1.71);
\draw [thick, magenta,->] (1.6,0.684) -- (1.5,0.855);
\draw [thick, magenta,<-] (1.5,0.855) -- (1.4,1.026);
\draw [thick, magenta,->] (2.4,0.684) -- (2.5,0.855);
\draw [thick, magenta,<-] (2.5,0.855) -- (2.6,1.026);
}
\newcommand{\trussCForces}{
\draw [thick, blue,->] (0,0) -- (0.5,0.5);
\draw [thick, magenta,->] (0,0) -- (0.4,0.684);
\draw [thick, magenta,->] (0,0) -- (0.5,0);
}
\newcommand{\trussStrutVariables}{
\node[above] at (2,1.71) {\(x_1\)};
\node[left] at (0.5,0.866) {\(x_2\)};
\node[left] at (1.5,0.866) {\(x_3\)};
\node[right] at (2.5,0.866) {\(x_4\)};
\node[right] at (3.5,0.866) {\(x_5\)};
\node[below] at (1,0) {\(x_6\)};
\node[below] at (3,0) {\(x_7\)};
}
\newcommand{\N}{\mathbb N}
\newcommand{\Z}{\mathbb Z}
\newcommand{\Q}{\mathbb Q}
\newcommand{\R}{\mathbb R}
\DeclareMathOperator{\arcsec}{arcsec}
\DeclareMathOperator{\arccot}{arccot}
\DeclareMathOperator{\arccsc}{arccsc}
\newcommand{\tuple}[1]{\left\langle#1\right\rangle}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 2.1 Introduction to Functions (FN1)
Objectives
Determine if a relation, equation, or graph defines a function using the definition as well as the vertical line test.
Subsection 2.1.1 Activities
Definition 2.1.1 .
A
relation is a relationship between sets of values. Relations in mathematics are usually represented as ordered pairs: (input, output) or
\((x, y)\text{.}\) When observing relations, we often refer to the
\(x\) -values as the
domain and the
\(y\) -values as the
range .
Definition 2.1.2 .
Mapping Notation (also known as an arrow diagram) is a way to show relationships visually between sets. For example, suppose you are given the following ordered pairs:
\((3, -8), (4,6)\text{,}\) and
\((2,-1)\text{.}\) Each of the
\(x\) -values "map onto" a
\(y\) -value and can be visualized in the following way:
Diagram Exploration Keyboard Controls
Key
Action
Enter, A
Activate keyboard driven exploration
B
Activate menu driven exploration
Escape
Leave exploration mode
Cursor down
Explore next lower level
Cursor up
Explore next upper level
Cursor right
Explore next element on level
Cursor left
Explore previous element on level
X
Toggle expert mode
W
Extra details if available
Space
Repeat speech
M
Activate step magnification
Comma
Activate direct magnification
N
Deactivate magnification
Z
Toggle subtitles
C
Cycle contrast settings
T
Monochrome colours
L
Toggle language (if available)
K
Kill current sound
Y
Stop sound output
O
Start and stop sonification
P
Repeat sonification output
Figure 2.1.3. Every \(x\) -value from the ordered pair list is listed in the input set and every \(y\) -value is listed in the output set. An arrow is drawn from every \(x\) -value to its corresponding \(y\) -value. Notice that an arrow is used to indicate which
\(x\) -value is mapped onto its corresponding
\(y\) -value.
Activity 2.1.4 .
Use mapping notation to create a visual representation of the following relation.
\begin{equation*}
(-1,5), (2,6), (4,-2)
\end{equation*}
(a)
What is the domain?
{\(5, 6, -2\) }
{\(-1, 2, 4\) }
{\(-2, -1, 2, 4, 5, 6\) }
(b)
What is the range?
{\(5, 6, -2\) }
{\(-1, 2, 4\) }
{\(-2, -1, 2, 4, 5, 6\) }
Activity 2.1.5 .
Use mapping notation to create a visual representation of the following relation.
\begin{equation*}
(6,4), (3,4), (6,5)
\end{equation*}
(a)
What is the domain?
{\(3, 6\) }
{\(6, 3, 6\) }
{\(3, 4, 5, 6\) }
{\(4, 5\) }
(b)
What is the range?
{\(3, 6\) }
{\(6, 3, 6\) }
{\(3, 4, 5, 6\) }
{\(4, 5\) }
Activity 2.1.6 .
Use mapping notation to create a visual representation of the following relation.
\begin{equation*}
(1,2), (-5,2), (-7,2)
\end{equation*}
(a)
What is the domain?
{\(2, 2, 2\) }
{\(-7, -5, 1, 2\) }
{\(-7, -5, 1\) }
{\(2\) }
(b)
What is the range?
{\(2, 2, 2\) }
{\(-7, -5, 1, 2\) }
{\(-7, -5, 1\) }
{\(2\) }
Activity 2.1.7 .
Use mapping notation to create a visual representation of the following relation.
\begin{equation*}
(3,-2), (-4,-1), (3,5)
\end{equation*}
(a)
What is the domain?
{\(-4,-2,-1,3,5\) }
{\(-4,3\) }
{\(-2,-1,5\) }
{\(-4,3,3\) }
(b)
What is the range?
{\(-4,-2,-1,3,5\) }
{\(-4,3\) }
{\(-2,-1,5\) }
{\(-4,3,3\) }
Activity 2.1.8 .
Answer .
Students may mention that some have repeated
\(x\) -values, some have repeated
\(y\) -values, and some donβt.
Definition 2.1.10 .
A
function is a relation where every input (or
\(x\) -value) is mapped onto
exactly one output (or
\(y\) -value).
Note that all functions are relations but not all relations are functions!
Activity 2.1.12 .
Relations can be expressed in multiple ways (ordered pairs, tables, and verbal descriptions).
(a)
\(\displaystyle (-1,5), (2,6), (4,-2)\)
\(\displaystyle (6,4), (3,4), (6,5)\)
\(\displaystyle (1,2), (-5,2), (-7,2)\)
\(\displaystyle (-1,2), (-1,9), (1,9)\)
(b)
Note that relations can be expressed in a table. A table of values is shown below. Is this an example of a function? Why or why not?
\(-5\)
\(-2\)
\(-4\)
\(-5\)
\(-2\)
\(8\)
\(8\)
\(-4\)
\(8\)
\(1\)
Answer .
This relation is not a function. The
\(x\) -value,
\(8\text{,}\) has two outputs.
(c)
Relations can also be expressed in words. Suppose you are looking at the amount of time you spend studying versus the grade you earn in your Algebra class. Is this an example of a function? Why or why not?
Answer .
Yes, this is an example of a function.
Activity 2.1.14 .
For each of the given functions, determine the domain and range.
(a)
\((-4,3), (-1,8), (7,4), (1,9)\)
Answer .
Domain: {
\(-4, -1, 1, 7\) }; Range: {
\(3, 4, 8, 9\) }
(b)
Diagram Exploration Keyboard Controls
Key
Action
Enter, A
Activate keyboard driven exploration
B
Activate menu driven exploration
Escape
Leave exploration mode
Cursor down
Explore next lower level
Cursor up
Explore next upper level
Cursor right
Explore next element on level
Cursor left
Explore previous element on level
X
Toggle expert mode
W
Extra details if available
Space
Repeat speech
M
Activate step magnification
Comma
Activate direct magnification
N
Deactivate magnification
Z
Toggle subtitles
C
Cycle contrast settings
T
Monochrome colours
L
Toggle language (if available)
K
Kill current sound
Y
Stop sound output
O
Start and stop sonification
P
Repeat sonification output
Answer .
Domain: {
\(2, 3, 4\) }; Range: {
\(-8, -1, 6\) }
(c)
\(-2\)
\(5\)
\(0\)
\(4\)
\(3\)
\(6\)
\(8\)
\(1\)
Answer .
Domain: {
\(-2, 0, 3, 8\) }; Range: {
\(1, 4, 5, 6\) }
(d)
The amount of time you spend studying versus the grade you earn in your Algebra class.
Answer .
Domain: {time studying}; Range: {grade in Algebra class}
Activity 2.1.15 .
Determine whether each of the following relations is a function.
(a)
Diagram Exploration Keyboard Controls
Key
Action
Enter, A
Activate keyboard driven exploration
B
Activate menu driven exploration
Escape
Leave exploration mode
Cursor down
Explore next lower level
Cursor up
Explore next upper level
Cursor right
Explore next element on level
Cursor left
Explore previous element on level
X
Toggle expert mode
W
Extra details if available
Space
Repeat speech
M
Activate step magnification
Comma
Activate direct magnification
N
Deactivate magnification
Z
Toggle subtitles
C
Cycle contrast settings
T
Monochrome colours
L
Toggle language (if available)
K
Kill current sound
Y
Stop sound output
O
Start and stop sonification
P
Repeat sonification output
Answer .
This relation is a function.
(b)
Diagram Exploration Keyboard Controls
Key
Action
Enter, A
Activate keyboard driven exploration
B
Activate menu driven exploration
Escape
Leave exploration mode
Cursor down
Explore next lower level
Cursor up
Explore next upper level
Cursor right
Explore next element on level
Cursor left
Explore previous element on level
X
Toggle expert mode
W
Extra details if available
Space
Repeat speech
M
Activate step magnification
Comma
Activate direct magnification
N
Deactivate magnification
Z
Toggle subtitles
C
Cycle contrast settings
T
Monochrome colours
L
Toggle language (if available)
K
Kill current sound
Y
Stop sound output
O
Start and stop sonification
P
Repeat sonification output
Answer .
This relation IS NOT a function.
(c)
Diagram Exploration Keyboard Controls
Key
Action
Enter, A
Activate keyboard driven exploration
B
Activate menu driven exploration
Escape
Leave exploration mode
Cursor down
Explore next lower level
Cursor up
Explore next upper level
Cursor right
Explore next element on level
Cursor left
Explore previous element on level
X
Toggle expert mode
W
Extra details if available
Space
Repeat speech
M
Activate step magnification
Comma
Activate direct magnification
N
Deactivate magnification
Z
Toggle subtitles
C
Cycle contrast settings
T
Monochrome colours
L
Toggle language (if available)
K
Kill current sound
Y
Stop sound output
O
Start and stop sonification
P
Repeat sonification output
Answer .
This relation is a function.
Definition 2.1.17 .
The
vertical line test is a method used to determine whether a relation on a graph is a function.
Start by drawing a vertical line anywhere on the graph and observe the number of times the relation on the graph intersects with the vertical line. If every possible vertical line intersects the graph at only one point, then the relation is a function. If, however, the graph of the relation intersects a vertical line more than once (anywhere on the graph), then the relation is not a function.
Activity 2.1.18 .
Use the vertical line test (
DefinitionΒ 2.1.17 ) to determine whether each graph of a relation represents a function.
(a)
Diagram Exploration Keyboard Controls
Key
Action
Enter, A
Activate keyboard driven exploration
B
Activate menu driven exploration
Escape
Leave exploration mode
Cursor down
Explore next lower level
Cursor up
Explore next upper level
Cursor right
Explore next element on level
Cursor left
Explore previous element on level
X
Toggle expert mode
W
Extra details if available
Space
Repeat speech
M
Activate step magnification
Comma
Activate direct magnification
N
Deactivate magnification
Z
Toggle subtitles
C
Cycle contrast settings
T
Monochrome colours
L
Toggle language (if available)
K
Kill current sound
Y
Stop sound output
O
Start and stop sonification
P
Repeat sonification output
Answer .
This graph does not pass the vertical line test and is therefore NOT a function.
(b)
Diagram Exploration Keyboard Controls
Key
Action
Enter, A
Activate keyboard driven exploration
B
Activate menu driven exploration
Escape
Leave exploration mode
Cursor down
Explore next lower level
Cursor up
Explore next upper level
Cursor right
Explore next element on level
Cursor left
Explore previous element on level
X
Toggle expert mode
W
Extra details if available
Space
Repeat speech
M
Activate step magnification
Comma
Activate direct magnification
N
Deactivate magnification
Z
Toggle subtitles
C
Cycle contrast settings
T
Monochrome colours
L
Toggle language (if available)
K
Kill current sound
Y
Stop sound output
O
Start and stop sonification
P
Repeat sonification output
Answer .
This graph passes the vertical line test and is therefore a function.
(c)
Diagram Exploration Keyboard Controls
Key
Action
Enter, A
Activate keyboard driven exploration
B
Activate menu driven exploration
Escape
Leave exploration mode
Cursor down
Explore next lower level
Cursor up
Explore next upper level
Cursor right
Explore next element on level
Cursor left
Explore previous element on level
X
Toggle expert mode
W
Extra details if available
Space
Repeat speech
M
Activate step magnification
Comma
Activate direct magnification
N
Deactivate magnification
Z
Toggle subtitles
C
Cycle contrast settings
T
Monochrome colours
L
Toggle language (if available)
K
Kill current sound
Y
Stop sound output
O
Start and stop sonification
P
Repeat sonification output
Answer .
This graph passes the vertical line test and is therefore a function.
(d)
Diagram Exploration Keyboard Controls
Key
Action
Enter, A
Activate keyboard driven exploration
B
Activate menu driven exploration
Escape
Leave exploration mode
Cursor down
Explore next lower level
Cursor up
Explore next upper level
Cursor right
Explore next element on level
Cursor left
Explore previous element on level
X
Toggle expert mode
W
Extra details if available
Space
Repeat speech
M
Activate step magnification
Comma
Activate direct magnification
N
Deactivate magnification
Z
Toggle subtitles
C
Cycle contrast settings
T
Monochrome colours
L
Toggle language (if available)
K
Kill current sound
Y
Stop sound output
O
Start and stop sonification
P
Repeat sonification output
Answer .
This graph does not pass the vertical line test and is therefore NOT a function.
Activity 2.1.19 .
Letβs explore how to determine whether an equation represents a function.
(a)
Suppose you are given the equation \(x=y^2\text{.}\)
Answer .
If
\(x=4\text{,}\) \(y\) could be
\(-2\) or
\(2\text{.}\) Given that there are two outputs for a given
\(x\text{,}\) then
\(x=y^2\) is not a function.
(b)
Suppose you are given the equation \(y=3x^2+2\text{.}\)
Answer .
If
\(x=4\text{,}\) \(y=50\text{.}\) For every input (
\(x\) -value), there is exactly one output (
\(y\) -value) so
\(y=3x^2+2\) is a function.
(c)
Suppose you are given the equation \(x^2+y^2=25\text{.}\)
Answer .
If
\(x=4\text{,}\) \(y\) could be
\(-3\) or
\(3\text{.}\) Given that there are two outputs for a given
\(x\text{,}\) then
\(x^2+y^2=25\) is not a function.
(d)
Suppose you are given the equation \(y=-4x-3\text{.}\)
Answer .
If
\(x=4\text{,}\) \(y=-19\text{.}\) For every input (
\(x\) -value), there is exactly one output (
\(y\) -value) so
\(y=-4x-3\) is a function.
(e)
How can you look at an equation to determine whether or not it is a function?
Answer .
Students may have different answers. Ideally, you want students to see that they can check whether a given relation is a function in more than one way. They can test values (as this activity did by leading them to plug in values) or by using the vertical line test on a graph.
Activity 2.1.21 .
Itβs important to be able to determine the domain of any equation, especially when thinking about functions. Answer the following questions given the equation
\(y=\sqrt{x-2}\text{.}\)
(a)
Which of the following values of \(x\) would cause \(y\) to be undefined (if any)?
\(\displaystyle -2\)
\(\displaystyle 0\)
\(\displaystyle 2\)
\(\displaystyle 4\)
none of the above
(b)
Based on this information, for which of the following values of \(x\) would \(y\) be defined?
\(\displaystyle -2\)
\(\displaystyle 0\)
\(\displaystyle 2\)
\(\displaystyle 4\)
none of the above
(c)
There are many more \(x\) - values than just those found above that, when plugged in, give a defined value for \(y\text{.}\) How can we represent the domain of this equation in interval notation?
\(\displaystyle (-\infty,2)\)
\(\displaystyle (-\infty,2]\)
\(\displaystyle [2,\infty)\)
\(\displaystyle (2,\infty)\)
\(\displaystyle (-\infty,\infty)\)
Activity 2.1.22 .
Answer the following questions given the equation
\(y=-5x+1\text{.}\)
(a)
Which of the following values of \(x\) would cause \(y\) to be undefined (if any)?
\(\displaystyle -2\)
\(\displaystyle 0\)
\(\displaystyle 4\)
\(\displaystyle -5\)
none of the above
(b)
Based on this information, for which of the following values of \(x\) would \(y\) be defined?
\(\displaystyle -2\)
\(\displaystyle 0\)
\(\displaystyle 4\)
\(\displaystyle -5\)
none of the above
(c)
How can we represent the domain of this equation in interval notation?
\(\displaystyle (-\infty,0)\)
\(\displaystyle (0,\infty)\)
\(\displaystyle (-5, 1)\)
\(\displaystyle (-\infty,\infty)\)
Activity 2.1.23 .
Answer the following questions given the equation
\(y=\dfrac{3}{x-5}\text{.}\)
(a)
Which of the following values of \(x\) would cause \(y\) to be undefined (if any)?
\(\displaystyle -3\)
\(\displaystyle 0\)
\(\displaystyle -4\)
\(\displaystyle 5\)
none of the above
(b)
Based on this information, for which of the following values of \(x\) would \(y\) be defined?
\(\displaystyle -3\)
\(\displaystyle 0\)
\(\displaystyle -4\)
\(\displaystyle 5\)
none of the above
(c)
How can we represent the domain of this equation in interval notation?
\(\displaystyle (-\infty,5)\)
\(\displaystyle (5,\infty)\)
\(\displaystyle (-5, 5)\)
\((-\infty,5)\) U\((5,\infty)\)
Activity 2.1.24 .
Find the domain of each of the following functions. Write your answer in interval notation.
(a)
\(f(x)=\dfrac{x+3}{(x-2)(x+5)}\)
Answer .
\((-\infty,-5)\cup(-5,2)\cup(2,\infty)\)
(b)
Answer .
\(\left[\dfrac{5}{2},\infty \right) \)
(c)
\(f(x)=\dfrac{2}{\sqrt{4-x}}\)
Hint .
Notice that this function has both a denominator and a root to consider!
Answer .
Subsection 2.1.2 Exercises