Another approach is, you can plot your function as a graph for different values of x say from -10 to 10. Now you see the graph of f(x) , whether it is symmetrical about y axis. If you see mirror image of function about y-axis it is even function and if you see negative reflection it is odd and if it is neither, then it is neither even nor odd function.