Problem

Use the piecewise-defined function to find the following values for $f(x)$.
\[
f(x)=\left\{\begin{array}{ll}
-x^{2} & \text { if } x \leq-1 \\
5 & \text { if }-1< x< 4 \\
3-2 x & \text { if } x \geq 4
\end{array}\right.
\]
\[
f(4)=
\]
\[
f(-4)=
\]
\[
f(3)=
\]

Answer

Expert–verified
Hide Steps
Answer

\(\boxed{f(4) = -5, f(-4) = -16, f(3) = 5}\)

Steps

Step 1 :Define the function \(f(x)\) as follows: \[f(x)=\left\{\begin{array}{ll} -x^{2} & \text { if } x \leq -1 \\ 5 & \text { if } -1

Step 2 :Calculate \(f(4)\) by substituting \(x = 4\) into the function. Since \(4 \geq 4\), we use the third condition of the function, which gives us \(f(4) = 3 - 2 \times 4 = -5\).

Step 3 :Calculate \(f(-4)\) by substituting \(x = -4\) into the function. Since \(-4 \leq -1\), we use the first condition of the function, which gives us \(f(-4) = -(-4)^2 = -16\).

Step 4 :Calculate \(f(3)\) by substituting \(x = 3\) into the function. Since \(-1 < 3 < 4\), we use the second condition of the function, which gives us \(f(3) = 5\).

Step 5 :\(\boxed{f(4) = -5, f(-4) = -16, f(3) = 5}\)

link_gpt