Skip to main content

Section 2.2 Function Notation (FN2)

Subsection 2.2.1 Activities

Remark 2.2.1.

As we saw in the last section, we can represent functions in many ways, like using a set of ordered pairs, a graph, a description, or an equation. When describing a function with an equation, we will often use function notation.
If \(y\) is written as a function of \(x\text{,}\) like in the equation
\begin{equation*} y=x+5\text{,} \end{equation*}
we can replace the \(y\) with \(f(x)\) and get the function notation
\begin{equation*} f(x)=x+5\text{.} \end{equation*}
The \(x\) is the input variable, and \(f(x)\) is the \(y\)-value or output that corresponds to \(x\text{.}\)
Generally, we use the letter \(f\) for functions. Other letters are okay as well; \(g(x)\) and \(h(x)\) are common. If we are using multiple functions at one time, we often denote them with different letters so we can refer to one without any confusion as to which function we mean.

Activity 2.2.2.

Rewrite the following equations using function notation. In each case, assume \(y\) is a function of the variable \(x\text{.}\)
(a)
\(y=2x+14\)
Answer.
\(f(x)=2x+14\)
(b)
\(y+x=3x^2-5\)
Answer.
\(f(x)=3x^2-x-5\)
(c)
\(\displaystyle \frac{2}{x}-x^4 = y-5 \)
Answer.
\(f(x)=\displaystyle \frac{2}{x}-x^4 +5 \)

Activity 2.2.3.

Let \(f(x)=3x^2-4x+1\text{.}\) Find the value of \(f(x)\) for the given values of \(x\text{.}\)
Table 2.2.4.
\(x\) \(f(x)\)
\(-5\)
\(-\frac{1}{2}\)
\(0\)
\(2\)
\(10\)
Answer.
\(x\) \(f(x)\)
\(-5\) \(96\)
\(-\frac{1}{2}\) \(\frac{15}{4}\)
\(0\) \(1\)
\(2\) \(5\)
\(10\) \(261\)

Remark 2.2.5.

If we are asked to find the value of \(f(x)\) for a certain \(x\)-value, say \(x=5\text{,}\) we use the notation \(f(5)\) to indicate that.

Activity 2.2.6.

Let \(f(x)\text{,}\) \(g(x)\text{,}\) and \(h(x)\) be defined as shown.
\begin{align*} f(x)&=3x^2-4x+1\\ g(x)&=\sqrt{13-x^2}\\ h(x)&=\frac{x^2-6x+8}{x^2-4x+3} \end{align*}
Find the following, if they exist.
(a)
\(f(-4)\text{,}\) \(f(0)\text{,}\) and \(f(2)\)
Answer.
\(f(-4)=65\text{,}\) \(f(0)=1\text{,}\) and \(f(2)=5\)
(b)
\(g(0)\text{,}\) \(g(2)\text{,}\) and \(g(8)\)
Answer.
\(g(0)=\sqrt{13}\text{,}\) \(g(2)=3\text{,}\) and \(g(8)\) is not defined
(c)
\(h(3)\text{,}\) \(h(4)\text{,}\) and \(h(10)\)
Answer.
\(h(3)\) is not defined, \(h(4)=0\text{,}\) and \(h(10)=\frac{16}{21}\)

Remark 2.2.7.

Sometimes functions are made up of multiple functions put together. We call these piecewise functions. Each piece is defined for only a certain interval, and these intervals do not overlap. When evaluating a piecewise function at a given \(x\)-value, we first need to find the interval that includes the \(x\)-value, and then plug in to the corresponding function piece.

Activity 2.2.8.

Let \(f(x)\) be a piecewise function as shown below.
\begin{equation*} f(x)=\begin{cases} x^2+3, & x < 5 \\ 9-2x, & x \geq 5 \end{cases} \end{equation*}
(a)
On which interval from the piecewise function does the value \(x=1\) belong?
  1. \(\displaystyle x < 5\)
  2. \(\displaystyle x \leq 5\)
  3. \(\displaystyle x > 5\)
  4. \(\displaystyle x \geq 5\)
Answer.
A
(b)
Find \(f(1)\text{.}\)
  1. \(\displaystyle 3\)
  2. \(\displaystyle 4\)
  3. \(\displaystyle 5\)
  4. \(\displaystyle 6\)
  5. \(\displaystyle 7\)
Answer.
B
(c)
On which interval from the piecewise function does the value \(x=5\) belong?
  1. \(\displaystyle x < 5\)
  2. \(\displaystyle x \leq 5\)
  3. \(\displaystyle x > 5\)
  4. \(\displaystyle x \geq 5\)
Answer.
D
(d)
Find \(f(5)\text{.}\)
  1. \(\displaystyle -10\)
  2. \(\displaystyle -5\)
  3. \(\displaystyle -1\)
  4. \(\displaystyle 17\)
  5. \(\displaystyle 28\)
Answer.
C

Remark 2.2.9.

We’ve been practicing evaluating functions at specific numeric values. It’s also possible to evaluate a function given an expression involving variables.

Activity 2.2.10.

Let \(g(x)=x^2-3x\text{.}\)
(a)
Find \(g(a)\text{.}\)
  1. \(\displaystyle (ax)^2-3ax\)
  2. \(\displaystyle a^2-3a\)
  3. \(\displaystyle a(x^2-3x)\)
  4. \(\displaystyle ax^2-3ax\)
  5. \(\displaystyle a-3\)
Answer.
B
(b)
Find \(g(x+h)\text{.}\)
  1. \(\displaystyle x^2-3x+h\)
  2. \(\displaystyle (x+h)^2-3x\)
  3. \(\displaystyle (x+h)^2-3(x+h)\)
  4. \(\displaystyle x^2-3(x+h)\)
Answer.
C

Remark 2.2.11.

We should also be able to look at a graph of a function and evaluate it for different values of \(x\text{.}\) The next activity explores that.

Activity 2.2.12.

Let \(f(x)\) be the function graphed below.
(a)
Find \(f(1)\text{.}\)
  1. \(\displaystyle -4\)
  2. \(\displaystyle -2\)
  3. \(\displaystyle 0\)
  4. \(\displaystyle 2\)
  5. \(\displaystyle 4\)
Answer.
E
(b)
Find \(f(3)\text{.}\)
  1. \(\displaystyle -1\)
  2. \(\displaystyle 0\)
  3. \(\displaystyle 1\)
  4. \(\displaystyle 2\)
  5. \(\displaystyle 3\)
  6. \(\displaystyle 4\)
Answer.
A
(c)
For which \(x\)-value(s) does \(f(x)=1\text{?}\)
  1. \(\displaystyle -1\)
  2. \(\displaystyle 0\)
  3. \(\displaystyle 1\)
  4. \(\displaystyle 2\)
  5. \(\displaystyle 3\)
  6. \(\displaystyle 4\)
Answer.
A, D, and F
(d)
For which \(x\)-value(s) does \(f(x)=4\text{.}\) Estimate as needed!
Answer.
approximately \(-0.5, 1,\) and \(4.5\)

Activity 2.2.13.

In these activities, we are flipping the question around. This time we know what the function equals at some \(x\)-value, and we want to recover that \(x\)-value (or values!).
(a)
Let \(h(x)=5x+7\text{.}\) Find the \(x\)-value(s) such that \(h(x)=-13\text{.}\)
Answer.
\(x=-4\)
(b)
Let \(f(x)=x^2-3x-9\text{.}\) Find the \(x\)-value(s) such that \(f(x)=9\text{.}\)
Answer.
\(x=-3,6\)

Activity 2.2.14.

Ellie has \(\$13\) in her piggy bank, and she gets an additional \(\$1.50\) each week for her allowance. Assuming she does not spend any money, the total amount of allowance, \(A(w)\text{,}\) she has after \(w\) weeks can be modeled by the function
\begin{equation*} A(w)=13+1.50w\text{.} \end{equation*}
(a)
How much money will be in her piggy bank after \(5\) weeks?
Answer.
\(\$20.50\)
(b)
After how many weeks will she have $\(40\) in her piggy bank?
Answer.
\(18\) weeks

Subsection 2.2.2 Videos

It would be great to include videos down here, like in the Calculus book!