A function f(x) is said to be even (an even function) if f(x) = f(-x) for all x in D , where D is the domain of the function.

Examples of even functions: f(x) = cos x, f(x) = 2, f(x) = x2.

See also odd function.