Skip to content

Mathematics and Statistics · Ch 2 — Functions

Even and Odd Functions

3

Even and Odd Functions

A separate and very useful way of classifying a real function looks at the symmetry of its rule — how f(−x)f(-x) compares with f(x)f(x). This classification only makes sense when the domain is symmetric about the origin (i.e. whenever xx is in the domain, so is −x-x).

Even function. A function ff is called even if

f(−x)=f(x)for every x in the domain.f(-x) = f(x) \qquad \text{for every } x \text{ in the domain}.

Replacing xx by −x-x leaves the output unchanged. The graph of an even function is symmetric about the yy-axis — the left half is the mirror image of the right half. Standard examples are f(x)=x2f(x)=x^2, f(x)=x4f(x)=x^4, f(x)=∣x∣f(x)=|x| and f(x)=cos⁡xf(x)=\cos x.

Odd function. A function ff is called odd if

f(−x)=−f(x)for every x in the domain.f(-x) = -f(x) \qquad \text{for every } x \text{ in the domain}.

Replacing xx by −x-x reverses the sign of the output. The graph of an odd function has rotational symmetry about the origin — rotating it through 180∘180^\circ about the origin leaves it unchanged. Standard examples are f(x)=xf(x)=x, f(x)=x3f(x)=x^3 and f(x)=sin⁡xf(x)=\sin x. Note that for any odd function whose domain contains 00, we must have f(0)=−f(0)f(0)=-f(0), hence f(0)=0f(0)=0 — the graph passes through the origin.

Neither. Most functions are neither even nor odd. For example f(x)=x2+xf(x)=x^2+x gives f(−x)=x2−xf(-x)=x^2-x, which equals neither f(x)f(x) nor −f(x)-f(x), so it is neither even nor odd.

The working test is purely algebraic: compute f(−x)f(-x), simplify, and compare it with f(x)f(x) and with −f(x)-f(x).

  • If f(−x)=f(x)f(-x)=f(x) throughout — even. …
Definition 1Even Function

A function with f(−x)=f(x)f(-x)=f(x) for all xx in a domain symmetric about the origin; its graph is symmetric about the yy-ax …

Definition 2Odd Function

A function with f(−x)=−f(x)f(-x)=-f(x) for all xx in a domain symmetric about the origin; its graph has rotational symmetry about the origin, and f(0)=0f(0)=0 if 00 is in …