Reason: If all exponents are even, then the function is even. If all exponents are odd, then the function is odd. Otherwise the answer is "neither". This applies to polynomial functions only.