How do I check the parity of a function using Maple's symbolic math? I want to be able to check if a function f is even, odd, or neither using Maple's symbolic math. Unfortunately I don't get a boolean return of 'true' on a function I know is even.
g:=abs(x)/x^2
evalb(g(x)=g(-x))
                                          false

Since my function is even, that is a problem. It turns out that my expression is multiplying g by x or -x instead of inputing/composing them.
How can I get Maple to check the parity of my function?
 A: All the right ideas are already in other answers/comments, but I'll post this as an answer to hopefully provide some more detail.
The way people normally use 'function' in a programming context is a construct which takes some number of parameters and executes one or more statements making use of these parameters.
In that sense, your definition of g isn't a function, it's an expression.  The instances of 'x' inside aren't function parameters, but unassigned symbols. (I should say however, at the risk of confusing you further, that Maple's documentation and type system frequently uses the word 'function' to refer to expressions, e.g. in the definition of the Maple type function. But don't worry about that right now.)
The easiest way to do what you want using your expression g is what you already found:
g:=abs(x)/x^2;
evalb( g = eval(g, x=-x) );

Going back to the question about a 'function', the thing in Maple which corresponds most naturally to that idea is a 'procedure'. Here are two ways to define a procedure corresponding to g and perform the test you've already done. I'll call this function 'h':
Method #1:
h := x -> abs(x)/x^2;
evalb( h(x) = h(-x) );

Method #2:
h := unapply( abs(x)/x^2, x );
evalb( h(x) = h(-x ) );

Hope that helps.
A: I think I figured out what I was looking for. I needed a function that would evaluate g at a value, which I found in the documentation.
evalb(eval(g, x = x) = eval(g, x = -x))

A: More human readable method (especially in the part of declaring a function):
h(x) := abs(x)/x^2;
evalb( h(x) = h(-x) );

