Grade 12 IB Math is live, AA and AI · see the IB course

Grade 12 · MHF4U · Advanced Functions

MHF4U: Even and Odd Functions

An even function is symmetric about the yy-axis; an odd function is symmetric about the origin. Both are tests you can run on the equation in one line, by replacing xx with −x-x.

How It Works

Even: f(−x)=f(x)f(-x) = f(x) for every xx. Fold the graph along the yy-axis and the halves match. y=x2y = x^2 is the model: (−3)2=32(-3)^2 = 3^2.

Odd: f(−x)=−f(x)f(-x) = -f(x) for every xx. Rotate the graph half a turn about the origin and it lands on itself. y=x3y = x^3 is the model: (−2)3=−8=−(23)(-2)^3 = -8 = -(2^3). An odd function that is defined at 00 must pass through the origin, since f(0)=−f(0)f(0) = -f(0) forces f(0)=0f(0) = 0.

For a polynomial the test is just the exponents. Only even powers, constant included since 5=5x05 = 5x^0: even. Only odd powers: odd. Any mix: neither. That is because (−x)n(-x)^n equals xnx^n when nn is even and −xn-x^n when nn is odd, so a mixed polynomial keeps some signs and flips others.

To show it algebraically, write f(−x)f(-x), simplify each term, and compare with f(x)f(x) and with −f(x)-f(x). Do both comparisons: a function that fails the even test is not automatically odd. Most functions are neither. A quick numeric check helps too: compare f(2)f(2) with f(−2)f(-2). Equal points to even, negatives of each other points to odd, and anything else settles it as neither.

A factored polynomial hides its powers, so expand first or test f(−x)f(-x) directly. And watch the names: an even function and an even degree are different things. x4+xx^4 + x has even degree and is neither.

5 Worked Examples

Easy first, test level last. Try each one on paper, then open the solution.

  1. Easy

    Is f(x)=3x4−2x2+5f(x) = 3x^4 - 2x^2 + 5 even, odd or neither?
    Show solution
    1. f(−x)=3(−x)4−2(−x)2+5=3x4−2x2+5=f(x)f(-x) = 3(-x)^4 - 2(-x)^2 + 5 = 3x^4 - 2x^2 + 5 = f(x).
    2. Every power is even (the constant is 5x05x^0), which says the same thing.

    Answer: Even: its graph is symmetric about the yy-axis.

  2. Easy

    Is g(x)=x3−4xg(x) = x^3 - 4x even, odd or neither?
    Show solution
    1. g(−x)=(−x)3−4(−x)=−x3+4xg(-x) = (-x)^3 - 4(-x) = -x^3 + 4x.
    2. That is −(x3−4x)=−g(x)-(x^3 - 4x) = -g(x), and both powers are odd.

    Answer: Odd: its graph has point symmetry about the origin.

  3. Medium

    Show that h(x)=x3+x2−1h(x) = x^3 + x^2 - 1 is neither even nor odd.
    Show solution
    1. h(−x)=−x3+x2−1h(-x) = -x^3 + x^2 - 1.
    2. Compare with h(x)=x3+x2−1h(x) = x^3 + x^2 - 1: the x3x^3 term flipped sign, so h(−x)≠h(x)h(-x) \ne h(x). Not even.
    3. Compare with −h(x)=−x3−x2+1-h(x) = -x^3 - x^2 + 1: the x2x^2 and constant terms differ, so h(−x)≠−h(x)h(-x) \ne -h(x). Not odd.
    4. A number check agrees: h(2)=11h(2) = 11 but h(−2)=−5h(-2) = -5, which is neither 1111 nor −11-11.

    Answer: Neither: the powers are mixed, so the graph has neither symmetry.

  4. Medium

    Is p(x)=(x−1)(x+1)(x2+3)p(x) = (x - 1)(x + 1)(x^2 + 3) even, odd or neither?
    Show solution
    1. The factored form hides the powers, so expand: (x−1)(x+1)=x2−1(x - 1)(x + 1) = x^2 - 1, then (x2−1)(x2+3)=x4+2x2−3(x^2 - 1)(x^2 + 3) = x^4 + 2x^2 - 3.
    2. Only even powers, so p(−x)=p(x)p(-x) = p(x).

    Answer: Even, even though the zeros ±1\pm 1 are the only hint in the factored form.

  5. Test level

    For f(x)=2x5−kx3+(k−4)x2+6xf(x) = 2x^5 - kx^3 + (k - 4)x^2 + 6x, find every value of kk that makes ff odd, and explain why no value of kk makes it even.
    Show solution
    1. Odd needs odd powers only. The x5x^5, x3x^3 and xx terms are fine; the x2x^2 term must vanish: k−4=0k - 4 = 0, so k=4k = 4.
    2. Check: with k=4k = 4, f(x)=2x5−4x3+6xf(x) = 2x^5 - 4x^3 + 6x and f(−x)=−2x5+4x3−6x=−f(x)f(-x) = -2x^5 + 4x^3 - 6x = -f(x).
    3. Even needs even powers only, but the 2x52x^5 term does not contain kk and never disappears, so f(−x)≠f(x)f(-x) \ne f(x) for every kk.

    Answer: ff is odd only when k=4k = 4, and is never even.

Learn It on Martian Lab

Martian Lab teaches this in the Symmetry and Even & Odd Functions lesson of its MHF4U Polynomial Functions unit. Watch it, then take the Polynomial Functions practice tests to see if it stuck.

Watch the Symmetry and Even & Odd Functions lesson free

Start Practicing

No credit card required to start.

Get started