Q222 / 270 · NDA 2017 (Phase 2) · Mathematics
The function $f(x)=|x|-x^3$ is
- Aodd
- Beven
- Cboth even and odd
- Correct answerDneither even nor odd
Solution
$\begin{aligned} & f(x)=|x|-x^3 \\ & f(x)=\left\{\begin{array}{l}x-x^3, x \geq 0 \\ -x-x^3, x \lt 0\end{array} \quad f(-x)=\left\{\begin{array}{l}x+x^3, x \geq 0 \\ x+x^3, x \lt 0\end{array}\right.\right.\end{aligned}$
Neither even nor odd.
Hence, the correct answer is option: 'D'.