5C

Even and odd functions

Recognise even functions (symmetric in the y-axis) and odd functions (symmetric about the origin), and test any function algebraically by substituting −x.

Symmetry halves your work. If you know a graph is symmetric, you only need to sketch the right-hand half and then reflect or rotate it. In Year 12 the same idea halves the work in integration.

Two kinds of symmetry

In 5B you reflected graphs. Some graphs come back unchanged after a reflection or rotation.

Even: unchanged by reflection in the $y$-axis. Replacing $x$ by $-x$ gives the same function:

$f(-x) = f(x)$

Example: $y = x^2$, since $(-3)^2 = 3^2$.

Odd: unchanged by a $180^\circ$ rotation about $O$. Replacing $x$ by $-x$ just changes the sign:

$f(-x) = -f(x)$

Example: $y = x^3$, since $(-3)^3 = -3^3$.

The names come from powers of $x$: $x^2, x^4, x^6$ are even functions and $x, x^3, x^5$ are odd. A polynomial with only even powers (a constant counts as $x^0$) is even, and one with only odd powers is odd. Most functions are neither.

Even powers, odd powers

The graph of y = ax⁴ + bx³ + cx² + dx. It starts on an odd function.

Try this
  • Make the graph even. Which sliders must be zero? Check that $f(1)$ and $f(-1)$ in the readout agree.
  • Now make it odd but with a hump on each side. Check $f(-1) = -f(1)$.
  • Why can't you make it both even and odd, unless it is flat?

Testing algebraically

Example 1●

Test (a) $f(x) = x^4 - 3x^2$ (b) $g(x) = x^3 - 4x$ (c) $h(x) = x^2 + x$.

(a) $f(-x) = x^4 - 3x^2 = f(x)$: even.
(−x)⁴ = x⁴ and (−x)² = x², so nothing changes.
(b) $g(-x) = -x^3 + 4x = -(x^3 - 4x) = -g(x)$: odd.
(−x)³ = −x³, so every term changes sign.
(c) $h(-x) = x^2 - x$: neither.
Compare with h(x) = x² + x and −h(x) = −x² − x. It matches neither.
Example 2●●

Show that $k(x) = \dfrac{x}{x^2 + 1}$ is odd, and that $p(x) = 2^x + 2^{-x}$ is even.

$k(-x) = \dfrac{-x}{x^2 + 1} = -k(x)$, so $k$ is odd.
The top changes sign, the bottom doesn't.
$p(-x) = 2^{-x} + 2^{x} = p(x)$, so $p$ is even.
Replacing x by −x swaps the two terms, and addition doesn't care about order.

Useful consequences

  • If $f$ is odd and defined at $0$, then $f(0) = -f(0)$, so $f(0) = 0$: the graph passes through the origin.
  • If you know an even or odd function for $x \ge 0$, symmetry gives you the rest. For example, if $f$ is even and $f(4) = 7$, then $f(-4) = 7$. If it is odd, $f(-4) = -7$.
  • Relations can be symmetric too. The circle $x^2 + y^2 = 25$ is unchanged by replacing $x$ by $-x$, by replacing $y$ by $-y$, or both, so it is symmetric in both axes and about the origin.

Your turn

$f$ is an even function and $f(x) = x^2 - 4x$ for $x \ge 0$. Find $f(-3)$.

Show the working

Even means $f(-3) = f(3)$. Since $3 \ge 0$, use the formula: $f(3) = 9 - 12 = -3$. So $f(-3) = -3$. (Note: the formula $x^2 - 4x$ itself is not even. It only describes the right half.)

Flashcards
Even function
$f(-x) = f(x)$. Symmetric in the $y$-axis.
Odd function
$f(-x) = -f(x)$. Symmetric under a $180^\circ$ rotation about $O$.
Odd function defined at $0$
Passes through the origin: $f(0) = 0$.
Practice
  1. Which function is even?

  2. Which function is odd?

  3. $h(x) = x^2 + x$ is:

  4. $f$ is odd and $f(3) = 7$. Find $f(-3)$.

  5. $g$ is even and $g(2) = 5$. Find $g(-2)$.

  6. $k(x) = \dfrac{x}{x^2 + 1}$ is:

  7. $f$ is an odd function defined at $x = 0$. Find $f(0)$.

  8. $p(x) = 2^x + 2^{-x}$ is:

  9. Exam style: $f(x) = x^3 + (a - 2)x^2 + x$ is an odd function. Find $a$.

  10. Exam style: $f$ is odd and $f(x) = x^2 - 4x$ for $x \ge 0$. Find $f(-1)$.

Formula sheet