The problem asks us to determine whether the function $f(x)$ defined as $f(x) = \begin{cases} x+5, & -2 < x < 0 \\ -x+5, & 0 \le x < 2 \end{cases}$ is an odd function, an even function, neither odd nor even, or none of the above.
2025/5/14
1. Problem Description
The problem asks us to determine whether the function defined as
is an odd function, an even function, neither odd nor even, or none of the above.
2. Solution Steps
To determine whether a function is even, we check if for all in the domain. To determine whether a function is odd, we check if for all in the domain.
First, let's find for . In this case, , so we use the second case in the definition of :
.
Now, let's find for . In this case, . If , then . If , we use the first case in the definition of :
.
Thus,
Comparing with , we see that
If is even, then . This means
for , and
for .
These conditions simplify to in both cases, which is not true for all in the intervals. Therefore, is not an even function.
If is odd, then . This means
Since , for to be odd,
we require for , which means , so . This is outside the given interval, so the function is not odd in this interval.
Also, we require for , which means , so . This is outside the given interval, so the function is not odd in this interval.
Therefore, is not an odd function.
Since is neither even nor odd, the answer is (c).
3. Final Answer
(c) Neither odd nor even