3.3: Evaluating a Function
- Page ID
- 34410
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\(\newcommand{\longvect}{\overrightarrow}\)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\ket}[1]{\left| #1 \right>}\)
\(\newcommand{\bra}[1]{\left< #1 \right|}\)
\(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
\(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
\(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
\(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
\(\newcommand{\expect}[1]{\langle #1 \rangle}\)
\(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)
When a function is evaluated, replace x with a given numeric value or an algebraic expression, and then simplify the result.
Given \(f(x) = −x^2 + 5x + 12\), find each of the following:
- \(f(2)\)
- \(f(−5)\)
- \(f(t)\)
- \(f(4x − 1)\)
Solution
- Replace \(x\) with \(2\):
\(\begin{aligned} f(x)& = −x^ 2 + 5x + 12 && \text{Given equation} \\f(2) &= −(2^2 ) + 5 ∗ 2 + 12 && \text{Replace x with 2 - notice that only 2 is squared, not the minus sign} \\ f(2) &= −4 + 10 + 12 &&\text{Simplify} \\ f(2)& = 18 &&\text{Solution}\end{aligned}\)
- Replace \(x\) with \(-5\):
\(\begin{aligned} f(x) &= −x ^2 + 5x + 12 &&\text{Given equation } \\ f(−5) &= −((−5)^2 ) + 5 ∗ (−5) + 12 &&\text{Replace x with −5 - notice that it’s }−x ^2 \text{ , so the −5 is squared, but the result is still negative} \\ f(2) &= −25 + (−25) + 12 && \text{Simplify } \\ f(2) &= −38 &&\text{Solution} \end{aligned}\)
- Replace \(x\) with \(t\):
\(\begin{aligned} f(x) &= −x^2 + 5x + 12 &&\text{Given equation } \\ f(t)& = −t ^2 + 5 ∗ (t) + 12 && \text{Replace x with t } \\ f(t) &= −t 2 + 5t + 12&& \text{Simplify } \end{aligned}\)
- Replace \(x\) with \((4x-1)\):
\(\begin{aligned} f(x) &= −x^2 + 5x + 12&& \text{Given equation} \\ f(4x − 1) &= −(4x − 1)^2 + 5 ∗ (4x − 1) + 12 &&\text{Replace x with }(4x - 1) \\ f(4x − 1) &= −(16x ^2 − 8x + 1) + 20x − 5 + 12 &&\text{Expand} (4x − 1)^2 \text{ and distribute the }5 \text{ to } (4x - 1) \\ f(4x − 1) &= −16x^ 2 + 8x − 1 + 20x − 5 + 12 && \text{Distribute the negative sign}\\ f(4x − 1) &= 16x ^2 + 28x + 6 && \text{Simplify} \end{aligned}\)
- For the function \(f(x) = x^3 − 9\), find
- \(f(3)\)
- \(f(2x-5)\)
- \(f(t)\)
- For the function \(f(x) = x^2 − 4x + 1\), find
- \(f(2)\)
- \(f(4x+3)\)
- \(f(z)\)
- For the function \(f(x) = x^4 + 9x^2 − 6x − 1\), find
- \(f(1)\)
- \(f(x+2)\)
- \(f(a)\)


