Problem

\[
g(x)=\left\{\begin{array}{ll}
\frac{1}{3} x^{2}-5 & \text { if } x \neq-1 \\
-2 & \text { if } x=-1
\end{array}\right.
\]

Find $g(-5), g(-1)$, and $g(3)$

Answer

Expert–verified
Hide Steps
Answer

Final Answer: The values of the function g(x) at x=-5, x=-1, and x=3 are \(g(-5) = \boxed{3.33}\), \(g(-1) = \boxed{-2}\), and \(g(3) = \boxed{-2}\) respectively.

Steps

Step 1 :The function g(x) is defined differently for x = -1 and for all other values of x. So, we need to substitute the given values of x into the correct part of the function definition and calculate the result.

Step 2 :For x = -5, we substitute into the first part of the function definition to get \(g(-5) = \frac{1}{3}*(-5)^2 - 5 = 3.33\).

Step 3 :For x = -1, we use the second part of the function definition to get \(g(-1) = -2\).

Step 4 :For x = 3, we substitute into the first part of the function definition to get \(g(3) = \frac{1}{3}*3^2 - 5 = -2\).

Step 5 :Final Answer: The values of the function g(x) at x=-5, x=-1, and x=3 are \(g(-5) = \boxed{3.33}\), \(g(-1) = \boxed{-2}\), and \(g(3) = \boxed{-2}\) respectively.

link_gpt