A piecewise function is a function that is defined differently in different parts of the function's domain.
For example, consider the piecewise function defined as follows: A plot of the function is given below:
The function has two distinct branches, one for and one for The function is a piecewise function because it has different definitions depending on where we are in the domain.
Suppose that we want to calculate For this, we'd use the left branch because On this branch, the function definition is so we have
Similarly, if we want to calculate , we'd use the right branch because On this branch, the function definition is so we have
For the function defined on the set of integers, find and where is the following piecewise function:
First, we compute Since we use the first branch:
Next, we compute Since we use the second branch:
Given the following piecewise function $f(x),$ what is $f(3)?$ \[ f(x) = \begin{cases} \dfrac 1 4 x\,, \quad & x\leq 3\\ 5\,, \quad & x\gt 3 \end{cases} \]
|
a
|
$5$ |
|
b
|
$\dfrac 3 4 $ |
|
c
|
$3$ |
|
d
|
$\dfrac 1 4 $ |
|
e
|
Undefined |
Given the following piecewise function $f(x),$ what is $f(-2)?$ \[ f(x) = \begin{cases} 2x , \quad & x< 0\\ x+3, \quad & x\geq 0\\ \end{cases} \]
|
a
|
$0$ |
|
b
|
$-5$ |
|
c
|
$-4$ |
|
d
|
$4$ |
|
e
|
$5$ |
Given that what is the graph of
We will graph each branch separately.
On the interval we have so the graph is a horizontal line that ends at excluding this point.
On the interval , we have so the graph is a horizontal line that begins at including this point.
Therefore, the graph of the given function is as follows:
Given that \[ f(x) = \begin{cases} -1\,,\quad &x< 0\\ 2\,, \quad &x\geq 0, \end{cases} \] which of the following is the graph of $y=f(x)?$
|
a
|
|
|
b
|
|
|
c
|
|
|
d
|
|
|
e
|
Given that \[ f(x) = \begin{cases} 1, \quad &x \leq -2\\[3pt] -1, \quad &-2 < x \leq 2\\[3pt] 2, \quad &x \gt 2, \end{cases} \] which of the following is the graph of $y = f(x)?$
|
a
|
|
|
b
|
|
|
c
|
|
|
d
|
|
|
e
|
If is the piecewise function what is the graph of
We will graph each branch separately.
On the interval we have , so the graph is a horizontal line that ends at including this point.
On the interval , we have , so the graph is a straight line of slope that starts from not including this point.
Therefore, the graph of the given function is as follows:
What is the definition of the function $y = f(x)$ shown above?
|
a
|
$ f(x) = \begin{cases} -1, \quad & x \leq 0\\[0pt] -x+3, \quad & x > 0 \end{cases} $ |
|
b
|
$ f(x) = \begin{cases} 1, \quad & x \leq 0\\[0pt] x-1, \quad & x > 0 \end{cases} $ |
|
c
|
$ f(x) = \begin{cases} -2, \quad & x \leq 0\\[0pt] x+1, \quad & x > 0 \end{cases} $ |
|
d
|
$ f(x) = \begin{cases} 2, \quad & x \leq 0\\[0pt] -x+1, \quad & x > 0 \end{cases} $ |
|
e
|
$ f(x) = \begin{cases} 2, \quad & x \leq 0\\[0pt] x+1, \quad & x > 0 \end{cases} $ |
What is the definition of the function $y=f(x)$ shown above?
|
a
|
$ f(x) = \begin{cases} 2x+1, \quad & x\leq 1\\ 2-2x, \quad & x\gt 1 \end{cases} $ |
|
b
|
$ f(x) = \begin{cases} 1-x, \quad & x\leq 1\\ x-1, \quad & x\gt 1 \end{cases} $ |
|
c
|
$ f(x) = \begin{cases} 2x+1, \quad & x\leq 1\\ -2-2x, \quad & x\gt 1 \end{cases} $ |
|
d
|
The graph is not a function |
|
e
|
$ f(x) = \begin{cases} 2x-1, \quad & x\leq 1\\ 1-2x, \quad & x\gt 1 \end{cases} $ |
What is the domain of the function shown below?
The function is defined for values between and
Since there is an open circle at this point is not included in the domain.
Since there is a closed circle at this point is included in the domain.
Since there is an open circle at this point is not included in the domain.
So, the function above is defined for values between and not including and but including
Therefore, the domain is
Note that the function is defined at the point even though the function jumps at that point. The function value at is
What is the domain of the function $f(x),$ shown above?
|
a
|
$[-1,5)$ |
|
b
|
$[-1,3)\cup (3, 5]$ |
|
c
|
$(-1,5]$ |
|
d
|
$(-1,5)$ |
|
e
|
$[-1,5]$ |
What is the domain of the function shown above?
|
a
|
$(-\infty,-1)\cup(-1 ,4]$ |
|
b
|
$(-\infty,-1)\cup (-1 ,\infty )$ |
|
c
|
$ (-\infty,-1)\cup(-1 ,4)$ |
|
d
|
$(-4, -1)\cup (-1,4]$ |
|
e
|
$(-\infty,4]$ |