# Math Help - Prove that f(x) is an odd function?

1. ## Prove that f(x) is an odd function?

Prove that $f(x) = \left\{ \begin{array}{cc}x^4\tan \frac{\pi x}{2}, &\mbox{if}\ |x|<1\\x|x|, &\mbox{if}\ |x|\geq 1\end{array}\right.$ is an odd function.

2. We want $f(x)=-f(-x) \: \forall x \in \mathbb{R}$.

If $|x|<1, f(-x) = (-x)^4 \tan(-\pi x/2) = x^4 (-\tan (\pi x/2)) = -f(x)$

If $|x|>1, f(-x) = (-x)|(-x)| = \left\{ \begin{array}{cc}-x|-x|, &\mbox{if}\ x<0\\-x|x|, &\mbox{if}\ x>0\end{array}\right.
$

so that in all cases $-f(-x)=f(x)$