Even and Odd Functions
Theory
An even function satisfies \(f(-x)=f(x)\) and its graph is symmetric about the \(y\)-axis; an odd function satisfies \(f(-x)=-f(x)\) and its graph is unchanged by a \(180^\circ\) rotation about the origin. This Year 11 Mathematics Advanced page shows how to substitute \(-x\), compare the result with \(f(x)\) and \(-f(x)\), and decide whether a polynomial, rational or index-law function is even, odd or neither.
A function \(f\) is even if \(f(-x)=f(x)\) for every \(x\) in its domain. Opposite inputs give the same output, so if \((x,y)\) is on the graph then so is \((-x,y)\). The graph is symmetric about the \(y\)-axis: it is unchanged by reflection in the \(y\)-axis.
A function \(f\) is odd if \(f(-x)=-f(x)\) for every \(x\) in its domain. Opposite inputs give opposite outputs, so if \((x,y)\) is on the graph then so is \((-x,-y)\). The graph has point symmetry about the origin: it is unchanged when rotated \(180^\circ\) about the origin.
Most functions are neither even nor odd. To be either, the domain must be symmetric about \(0\): whenever \(x\) is in the domain, \(-x\) must be too. For example, \(y=\dfrac{1}{x-2}\) excludes \(x=2\) but not \(x=-2\), so it is neither.
If an odd function is defined at \(x=0\), then \(f(0)=0\), so its graph passes through the origin.
For a polynomial: only even powers of \(x\) (a constant counts as \(x^{0}\)) gives an even function, only odd powers gives an odd function, and a mixture gives neither.
Even function (symmetric about the \(y\)-axis):
Odd function (unchanged by a \(180^\circ\) rotation about the origin):
Powers of \(-x\): an even power loses the negative sign, an odd power keeps it.
\(f(-x)=ax^{4}-x^{3}+(b+1)x^{2}+5x\)
\(-f(x)=-ax^{4}-x^{3}-(b+1)x^{2}+5x\)
Equate the \(x^{4}\) terms: \(a=-a\), so \(a=0\). Equate the \(x^{2}\) terms: \(b+1=-(b+1)\), so \(b=-1\). Then \(f(x)=x^{3}-5x\), which has only odd powers.
How to decide if a function is even, odd or neither
- Check the domain. If some \(x\) is allowed but \(-x\) is not, the function is neither.
- Replace every \(x\) by \(-x\) (use brackets) and simplify \(f(-x)\).
- Compare with \(f(x)\). If \(f(-x)=f(x)\), the function is even.
- Otherwise compare with \(-f(x)\). Write \(-f(x)\) by changing the sign of every term. If \(f(-x)=-f(x)\), the function is odd.
- Conclude with \(\therefore\). If neither test holds, write \(f(-x)\neq f(x)\) and \(f(-x)\neq-f(x)\); one value such as \(f(-1)\) compared with \(f(1)\) and \(-f(1)\) confirms it.
How to use a known symmetry
- Even: \(f(-a)=f(a)\). Reflect the point in the \(y\)-axis.
- Odd: \(f(-a)=-f(a)\). Rotate the point \(180^\circ\) about the origin, and \(f(0)=0\) if \(f\) is defined at \(0\).
- Combinations: to prove a product or quotient of functions is even or odd, write \(h(-x)\), replace \(f(-x)\) and \(g(-x)\) using their symmetry, and simplify to \(h(x)\) or \(-h(x)\).
(b) \(g(x)\) is odd and defined for all real \(x\), and \(g(3)=-4\). Find \(g(-3)\) and \(g(0)\).
(a) For an even function, \(f(-x)=f(x)\):
\(f(2)=f(-2)\)
\(\therefore f(2)=\mathbf{5}\)
(b) For an odd function, \(g(-x)=-g(x)\):
| \(g(-3)\) | \(=\) | \(-g(3)\) |
| \(\) | \(=\) | \(-(-4)\) |
| \(\) | \(=\) | \(\mathbf{4}\) |
\(g\) is odd and defined at \(0\), so \(g(0)=-g(0)\), giving \(g(0)=\mathbf{0}\).
(a) \(f(x)=2x^{4}-3x^{2}+5\) (b) \(g(x)=x^{3}-4x\) (c) \(h(x)=x^{3}-4x+2\)
(a) Replace \(x\) by \(-x\):
| \(f(-x)\) | \(=\) | \(2(-x)^{4}-3(-x)^{2}+5\) |
| \(\) | \(=\) | \(2x^{4}-3x^{2}+5\) |
| \(\) | \(=\) | \(f(x)\) |
\(\therefore f\) is even.
(b)
| \(g(-x)\) | \(=\) | \((-x)^{3}-4(-x)\) |
| \(\) | \(=\) | \(-x^{3}+4x\) |
| \(\) | \(=\) | \(-(x^{3}-4x)\) |
| \(\) | \(=\) | \(-g(x)\) |
\(\therefore g\) is odd.
(c) \(h(-x)=(-x)^{3}-4(-x)+2=-x^{3}+4x+2\)
\(-h(x)=-x^{3}+4x-2\)
\(h(-x)\neq h(x)\) and \(h(-x)\neq-h(x)\). For example, \(h(1)=-1\) but \(h(-1)=5\).
\(\therefore h\) is neither. The constant \(2\) is an even power (\(2x^{0}\)) mixed with odd powers.
(a) \(p(x)=\dfrac{x}{x^{2}+4}\) (b) \(q(x)=\dfrac{x^{2}}{x+3}\) (c) \(r(x)=\dfrac{5^{x}-5^{-x}}{5^{x}+5^{-x}}\)
(a) The domain is all real \(x\).
| \(p(-x)\) | \(=\) | \(\dfrac{-x}{(-x)^{2}+4}\) |
| \(\) | \(=\) | \(-\dfrac{x}{x^{2}+4}\) |
| \(\) | \(=\) | \(-p(x)\) |
\(\therefore p\) is odd.
(b) \(q(-x)=\dfrac{(-x)^{2}}{-x+3}=\dfrac{x^{2}}{3-x}\)
\(-q(x)=-\dfrac{x^{2}}{x+3}\)
\(q(-x)\neq q(x)\) and \(q(-x)\neq-q(x)\). Also \(x=-3\) is excluded from the domain but \(x=3\) is not, so the domain is not symmetric about \(0\).
\(\therefore q\) is neither.
(c) Replace \(x\) by \(-x\), using \(5^{-(-x)}=5^{x}\):
| \(r(-x)\) | \(=\) | \(\dfrac{5^{-x}-5^{x}}{5^{-x}+5^{x}}\) |
| \(\) | \(=\) | \(-\dfrac{5^{x}-5^{-x}}{5^{x}+5^{-x}}\) |
| \(\) | \(=\) | \(-r(x)\) |
\(\therefore r\) is odd.
(i) Prove that \(h(x)\) is an odd function.
(ii) Given that \(h(3)=-4\), find \(h(-3)\).
(i) Use \(f(-x)=-f(x)\) and \(g(-x)=g(x)\):
| \(h(-x)\) | \(=\) | \(\dfrac{f(-x)}{g(-x)}\) |
| \(\) | \(=\) | \(\dfrac{-f(x)}{g(x)}\) |
| \(\) | \(=\) | \(-\dfrac{f(x)}{g(x)}\) |
| \(\) | \(=\) | \(-h(x)\) |
\(\therefore h(x)\) is an odd function.
(ii) Since \(h\) is odd:
| \(h(-3)\) | \(=\) | \(-h(3)\) |
| \(\) | \(=\) | \(-(-4)\) |
| \(\) | \(=\) | \(\mathbf{4}\) |
Common pitfalls
Frequently asked questions
What is an even function?
A function with \(f(-x)=f(x)\) for every \(x\) in its domain. Its graph is symmetric about the \(y\)-axis, for example \(y=x^{2}\) or \(y=x^{4}-4x^{2}+2\).
What is an odd function?
A function with \(f(-x)=-f(x)\) for every \(x\) in its domain. Its graph is unchanged by a \(180^\circ\) rotation about the origin, for example \(y=x^{3}\) or \(y=x^{3}-3x\).
How do you tell if a function is even, odd or neither?
Replace \(x\) by \(-x\) and simplify. If you get \(f(x)\) it is even; if you get \(-f(x)\) it is odd; otherwise it is neither.
Why does an odd function pass through the origin?
If it is defined at \(0\), putting \(x=0\) in \(f(-x)=-f(x)\) gives \(f(0)=-f(0)\), so \(f(0)=0\).
How can you tell from a polynomial whether it is even or odd?
Look at the powers of \(x\). Only even powers (including a constant) means even, only odd powers means odd, and a mixture means neither.
Can a function be both even and odd?
Only \(f(x)=0\) on a domain symmetric about \(0\), because \(f(x)=-f(x)\) forces \(f(x)=0\). Most functions are neither.