Skip to content
Family Table Math
Auto

Even and Odd Functions

Some graphs are perfectly balanced: the left half is a mirror image of the right, or the graph looks the same after a half-turn. Functions with these symmetries are called even and odd. Spotting them saves work, because you only need to graph half the function and reflect or rotate to get the rest.

A function is even if

f(−x)=f(x)for every x in its domainf(-x) = f(x) \quad \text{for every } x \text{ in its domain}

Opposite inputs give the same output. The graph is symmetric about the yy-axis: if (a,b)(a, b) is on the graph, so is (−a,b)(-a, b).

A function is odd if

f(−x)=−f(x)for every x in its domainf(-x) = -f(x) \quad \text{for every } x \text{ in its domain}

Opposite inputs give opposite outputs. The graph has point symmetry about the origin: if (a,b)(a, b) is on the graph, so is (−a,−b)(-a, -b). Rotating the graph 180∘180^\circ about the origin leaves it unchanged.

An even function symmetric about the y-axis and an odd function symmetric about the origin −2 2 −4 −2 2 4 Even: y = x⁴ − 3x² (−2, 4) (2, 4) mirror image in the y‑axis −2 2 −4 −2 2 4 Odd: y = x³ − 4x (−1, 3) (1, −3) half‑turn about the origin
An even function is symmetric about the yy-axis; an odd function is symmetric about the origin.

Most functions are neither even nor odd.

  1. Replace every xx with (−x)(-x) and simplify f(−x)f(-x).
  2. Compare with f(x)f(x) and with −f(x)-f(x).
    • f(−x)=f(x)f(-x) = f(x): even.
    • f(−x)=−f(x)f(-x) = -f(x): odd.
    • Neither matches: neither. To show this convincingly, give one value of xx where each test fails.

The key facts: (−x)n=xn(-x)^n = x^n when nn is even, and (−x)n=−xn(-x)^n = -x^n when nn is odd.

That’s where the names come from:

  • A polynomial with only even powers of xx is even. (A constant counts as an even power, since 5=5x05 = 5x^0.) Example: 3x4−x2+73x^4 - x^2 + 7.
  • A polynomial with only odd powers of xx is odd. It has no constant term. Example: x5−2x3+xx^5 - 2x^3 + x.
  • A polynomial with a mixture is neither. Example: x3+x2x^3 + x^2.

Write the polynomial in expanded form before you decide: x(x−1)x(x - 1) looks like it has one power, but it’s x2−xx^2 - x.

The tests work for any function, not just polynomials:

  • cos⁡(−x)=cos⁡x\cos(-x) = \cos x, so cosine is even. Its graph is symmetric about the yy-axis.
  • sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x, so sine is odd. Its graph is symmetric about the origin.
  • y=∣x∣y = |x| is even, and y=1xy = \dfrac{1}{x} is odd.
  • y=2xy = 2^x is neither: 2−1=122^{-1} = \tfrac{1}{2}, which is not 22 or −2-2.

These facts are true whether xx is measured in degrees or radians.

  • An odd function that is defined at 00 passes through the origin, because f(0)=−f(0)f(0) = -f(0) forces f(0)=0f(0) = 0.
  • The xx-intercepts of an even function come in pairs, aa and −a-a. So if an even function has a limited number of xx-intercepts, that number is odd exactly when 00 is one of them, and even when it isn’t.

If you combine even and odd functions, the result follows a pattern, much like multiplying positive and negative numbers:

CombinationResult
even ×\times even, or odd ×\times oddeven
even ×\times oddodd
even ++ eveneven
odd ++ oddodd
even ++ odd (both nonzero)neither

For example, if ff and gg are both odd and h(x)=f(x)g(x)h(x) = f(x)g(x), then

h(−x)=f(−x) g(−x)=(−f(x))(−g(x))=f(x)g(x)=h(x)h(-x) = f(-x)\,g(-x) = \big(-f(x)\big)\big(-g(x)\big) = f(x)g(x) = h(x)

so hh is even. The same patterns hold for quotients: odd ÷\div odd is even, and so on.

Is each function even, odd, or neither?

  • (a) f(x)=3x4−x2+7f(x) = 3x^4 - x^2 + 7
  • (b) g(x)=−2x5+x3−xg(x) = -2x^5 + x^3 - x
  • (c) h(x)=x3+x2h(x) = x^3 + x^2

Solution.

(a) Powers 44, 22, 00: all even, so ff is even.

(b) Powers 55, 33, 11: all odd, so gg is odd.

(c) Powers 33 and 22: a mixture, so hh is neither. Check with x=1x = 1: h(1)=2h(1) = 2 and h(−1)=−1+1=0h(-1) = -1 + 1 = 0. That’s neither h(1)h(1) nor −h(1)-h(1).

Determine whether each function is even, odd, or neither: (a) f(x)=x(x2−9)f(x) = x(x^2 - 9) (b) g(x)=(x−1)2g(x) = (x - 1)^2.

Solution.

(a) Replace xx with −x-x:

f(−x)=(−x)((−x)2−9)=−x(x2−9)=−f(x)f(-x) = (-x)\big((-x)^2 - 9\big) = -x(x^2 - 9) = -f(x)

So ff is odd.

(b)

g(−x)=(−x−1)2=(x+1)2g(-x) = (-x - 1)^2 = (x + 1)^2

This isn’t the same as (x−1)2(x - 1)^2 or −(x−1)2-(x - 1)^2. To be sure, test x=1x = 1: g(1)=0g(1) = 0, but g(−1)=4g(-1) = 4. Since g(−1)≠g(1)g(-1) \ne g(1) and g(−1)≠−g(1)g(-1) \ne -g(1), gg is neither. (Its graph is a parabola with vertex (1,0)(1, 0), which isn’t symmetric about the yy-axis.)

Is each function even, odd, or neither? (a) f(x)=x2+cos⁡xf(x) = x^2 + \cos x (b) g(x)=x+sin⁡xg(x) = x + \sin x (c) h(x)=xsin⁡xh(x) = x \sin x

Solution. Use cos⁡(−x)=cos⁡x\cos(-x) = \cos x and sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x.

(a) f(−x)=(−x)2+cos⁡(−x)=x2+cos⁡x=f(x)f(-x) = (-x)^2 + \cos(-x) = x^2 + \cos x = f(x): even (even ++ even).

(b) g(−x)=−x+sin⁡(−x)=−x−sin⁡x=−(x+sin⁡x)=−g(x)g(-x) = -x + \sin(-x) = -x - \sin x = -(x + \sin x) = -g(x): odd (odd ++ odd).

(c) h(−x)=(−x)sin⁡(−x)=(−x)(−sin⁡x)=xsin⁡x=h(x)h(-x) = (-x)\sin(-x) = (-x)(-\sin x) = x \sin x = h(x): even (odd ×\times odd).

Example 4: Using symmetry to build a polynomial

Section titled “Example 4: Using symmetry to build a polynomial”

An even polynomial function of degree 44 has zeros at 11 and 33, and f(0)=18f(0) = 18. Find f(x)f(x).

Solution. Because ff is even, its zeros come in pairs: ±1\pm 1 and ±3\pm 3. That’s four zeros for a quartic, so (as in families of polynomials)

f(x)=k(x−1)(x+1)(x−3)(x+3)=k(x2−1)(x2−9)f(x) = k(x - 1)(x + 1)(x - 3)(x + 3) = k(x^2 - 1)(x^2 - 9) f(0)=k(−1)(−9)=9k=18⇒k=2f(0) = k(-1)(-9) = 9k = 18 \quad\Rightarrow\quad k = 2

f(x)=2(x2−1)(x2−9)=2x4−20x2+18f(x) = 2(x^2 - 1)(x^2 - 9) = 2x^4 - 20x^2 + 18. Check: only even powers, so it’s even. ✓

Testing only one value and concluding “even” or “odd”. One pair like f(2)=f(−2)f(2) = f(-2) doesn’t prove ff is even; f(−x)=f(x)f(-x) = f(x) has to hold for every xx. Use algebra to prove even or odd. (One value is enough to prove “neither”, though.)

Forgetting that a constant term is an even power. f(x)=x3+1f(x) = x^3 + 1 is not odd: the 11 is like x0x^0. Check: f(−1)=0f(-1) = 0, but −f(1)=−2-f(1) = -2.

Deciding from the factored form. f(x)=x(x−1)f(x) = x(x - 1) has only odd-looking pieces, but it expands to x2−xx^2 - x, which is neither. Expand first, or use the algebraic test.

Thinking “odd degree” means “odd function”. x3+x2x^3 + x^2 has odd degree but isn’t odd. Every power must be odd.

Mixing up the symmetries. Even means a mirror image in the yy-axis. Odd means a half-turn about the origin, not a mirror image in the xx-axis (which wouldn’t even be a function).

1. (Warm-up) Is each function even, odd, or neither? (a) y=5x6−2x2y = 5x^6 - 2x^2 (b) y=x7−3xy = x^7 - 3x (c) y=x4+xy = x^4 + x (d) y=4x3+1y = 4x^3 + 1

Solution

(a) Even: powers 66 and 22.

(b) Odd: powers 77 and 11.

(c) Neither: powers 44 and 11 are mixed.

(d) Neither: the constant 11 is an even power, mixed with the odd power 33.

2. (Warm-up) Suppose f(4)=−7f(4) = -7. Find f(−4)f(-4) if (a) ff is odd, (b) ff is even.

Solution

(a) f(−4)=−f(4)=7f(-4) = -f(4) = 7.

(b) f(−4)=f(4)=−7f(-4) = f(4) = -7.

3. (Warm-up) The points (2,5)(2, 5) and (−3,1)(-3, 1) are on the graph of an odd function ff. Name two more points that must be on the graph, and give f(0)f(0).

Solution

(−2,−5)(-2, -5) and (3,−1)(3, -1). Since an odd function defined at 00 passes through the origin, f(0)=0f(0) = 0.

4. (Core) Show algebraically that f(x)=−2x5+3x3f(x) = -2x^5 + 3x^3 is odd.

Solutionf(−x)=−2(−x)5+3(−x)3=−2(−x5)+3(−x3)=2x5−3x3=−(−2x5+3x3)=−f(x)\begin{aligned} f(-x) &= -2(-x)^5 + 3(-x)^3 \\ &= -2(-x^5) + 3(-x^3) \\ &= 2x^5 - 3x^3 \\ &= -(-2x^5 + 3x^3) = -f(x) \end{aligned}

So ff is odd.

5. (Core) Is each function even, odd, or neither? (a) f(x)=x2(x−2)(x+2)f(x) = x^2(x - 2)(x + 2) (b) g(x)=x(x−2)(x+2)g(x) = x(x - 2)(x + 2) (c) h(x)=(x+2)2(x−2)h(x) = (x + 2)^2(x - 2)

Solution

(a) f(x)=x2(x2−4)=x4−4x2f(x) = x^2(x^2 - 4) = x^4 - 4x^2: only even powers, so even.

(b) g(x)=x(x2−4)=x3−4xg(x) = x(x^2 - 4) = x^3 - 4x: only odd powers, so odd.

(c) h(x)=(x2+4x+4)(x−2)=x3+2x2−4x−8h(x) = (x^2 + 4x + 4)(x - 2) = x^3 + 2x^2 - 4x - 8: mixed powers, so neither. (Check: h(1)=9(−1)=−9h(1) = 9(-1) = -9, while h(−1)=1(−3)=−3h(-1) = 1(-3) = -3, which is neither −9-9 nor 99.)

6. (Core) Is each function even, odd, or neither? (a) f(x)=x2sin⁡xf(x) = x^2 \sin x (b) g(x)=cos⁡x+x4g(x) = \cos x + x^4 (c) h(x)=sin⁡x+cos⁡xh(x) = \sin x + \cos x

Solution

(a) f(−x)=(−x)2sin⁡(−x)=x2(−sin⁡x)=−f(x)f(-x) = (-x)^2 \sin(-x) = x^2(-\sin x) = -f(x): odd (even ×\times odd).

(b) g(−x)=cos⁡(−x)+(−x)4=cos⁡x+x4=g(x)g(-x) = \cos(-x) + (-x)^4 = \cos x + x^4 = g(x): even.

(c) h(−x)=−sin⁡x+cos⁡xh(-x) = -\sin x + \cos x. Test x=90∘x = 90^\circ: h(90∘)=1+0=1h(90^\circ) = 1 + 0 = 1, but h(−90∘)=−1+0=−1h(-90^\circ) = -1 + 0 = -1, so hh is not even. Test x=0x = 0: h(0)=0+1=1≠0h(0) = 0 + 1 = 1 \ne 0, so hh is not odd (an odd function would pass through the origin). Neither.

7. (Core) Suppose ff is even and gg is odd, with the same domain. Prove that p(x)=f(x)g(x)p(x) = f(x)g(x) is odd.

Solutionp(−x)=f(−x) g(−x)=f(x)(−g(x))=−f(x)g(x)=−p(x)p(-x) = f(-x)\,g(-x) = f(x)\big(-g(x)\big) = -f(x)g(x) = -p(x)

Since p(−x)=−p(x)p(-x) = -p(x) for every xx, pp is odd.

8. (Challenge) An odd polynomial function of degree 55 has zeros at 00, 22, and 33, and passes through (1,48)(1, 48). Find its equation.

Solution

Since ff is odd, the zeros 22 and 33 come with −2-2 and −3-3. That’s five zeros: 0,±2,±30, \pm 2, \pm 3.

f(x)=kx(x−2)(x+2)(x−3)(x+3)=kx(x2−4)(x2−9)f(x) = kx(x - 2)(x + 2)(x - 3)(x + 3) = kx(x^2 - 4)(x^2 - 9)48=k(1)(−3)(−8)=24k⇒k=248 = k(1)(-3)(-8) = 24k \quad\Rightarrow\quad k = 2

f(x)=2x(x2−4)(x2−9)=2x5−26x3+72xf(x) = 2x(x^2 - 4)(x^2 - 9) = 2x^5 - 26x^3 + 72x. Check: only odd powers. ✓

9. (Challenge) Show that the only function that is both even and odd (on a domain of all real numbers) is f(x)=0f(x) = 0.

Solution

If ff is both even and odd, then for every xx:

f(−x)=f(x)andf(−x)=−f(x)f(-x) = f(x) \quad \text{and} \quad f(-x) = -f(x)

So f(x)=−f(x)f(x) = -f(x), which gives 2f(x)=02f(x) = 0, so f(x)=0f(x) = 0 for every xx. And f(x)=0f(x) = 0 does satisfy both tests, since 0=00 = 0 and 0=−00 = -0.

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.

To prove “even” or “odd”, use algebra. To prove “neither”, one value of xx where both tests fail is enough.

H1. (Foundations) Is each function even, odd, or neither? Give a reason for each.

  • (a) y=2x8−5x4+1y = 2x^8 - 5x^4 + 1
  • (b) y=−x9+4x5y = -x^9 + 4x^5
  • (c) y=x6−x3y = x^6 - x^3
  • (d) y=−6y = -6

H2. (Foundations) A function ff has these values.

xx00112233
f(x)f(x)443300−5-5

Answer each part.

  • (a) If ff is even, find f(−1)f(-1), f(−2)f(-2), and f(−3)f(-3).
  • (b) Explain why ff cannot be an odd function.
  • (c) A different function gg is odd, with g(1)=3g(1) = 3, g(2)=0g(2) = 0, and g(3)=−5g(3) = -5. Find g(0)g(0), g(−1)g(-1), g(−2)g(-2), and g(−3)g(-3).

H3. (Core) Use the algebraic test to decide whether each function is even, odd, or neither.

  • (a) f(x)=xx2+4f(x) = \dfrac{x}{x^2 + 4}
  • (b) g(x)=∣x∣+x2g(x) = |x| + x^2
  • (c) h(x)=x2−1x−3h(x) = \dfrac{x^2 - 1}{x - 3}
  • (d) k(x)=xcos⁡xk(x) = x \cos x (the result is the same in degrees or radians)

H4. (Core) A function ff is defined for −6≤x≤6-6 \le x \le 6. For 0≤x≤60 \le x \le 6, its graph is made of two line segments: one from (0,0)(0, 0) to (2,4)(2, 4), and one from (2,4)(2, 4) to (6,−2)(6, -2).

  • (a) Find f(4)f(4).
  • (b) Suppose ff is odd. Describe the graph for −6≤x≤0-6 \le x \le 0 by naming the endpoints of its segments, and find f(−4)f(-4).
  • (c) Suppose instead that ff is even. Describe the graph for −6≤x≤0-6 \le x \le 0, and find f(−4)f(-4).
  • (d) In the odd case, list every xx-intercept on −6≤x≤6-6 \le x \le 6.

Sketch both completed graphs to check your answers.

H5. (Core) A footbridge in a city park has an arch shaped like a parabola. With the origin on the path directly below the top of the arch, the height of the arch is modelled by h(x)=12−0.03x2h(x) = 12 - 0.03x^2, where xx is the horizontal distance from the centre and both xx and hh are in metres. (Hypothetical model.)

  • (a) Show algebraically that hh is even. What does this tell you about the shape of the arch?
  • (b) Find where the arch meets the path, and the width of the arch at path level.
  • (c) A banner is hung from the arch at x=−8x = -8. Find its height, and the other value of xx where the arch is at the same height.

H6. (Core) An odd cubic function ff has a zero at x=5x = 5, and f(1)=12f(1) = 12.

  • (a) Explain why ff also has zeros at x=0x = 0 and x=−5x = -5.
  • (b) Find f(x)f(x) in expanded form.
  • (c) Without using your equation, state f(−1)f(-1). Then check it with your equation.

H7. (Challenge) Let ff and gg be odd functions with domain all real numbers.

  • (a) Prove that s(x)=f(x)+g(x)s(x) = f(x) + g(x) is odd.
  • (b) Prove that the composition c(x)=f(g(x))c(x) = f\big(g(x)\big) is odd.
  • (c) Now suppose ff is even and gg is odd. Is f(g(x))f\big(g(x)\big) even, odd, or neither? Prove your answer.

H8. (Challenge) Two students made mistakes. Explain each error and give the correct conclusion with a convincing reason.

  • (a) Amir tested f(x)=x4−4x2+xf(x) = x^4 - 4x^2 + x at x=2x = 2. He found f(2)=2f(2) = 2 and f(−2)=−2f(-2) = -2, and concluded that ff is odd.
  • (b) Bea looked at g(x)=x2+1xg(x) = \dfrac{x^2 + 1}{x} and said: “It has an x2x^2 and a constant, which are even powers, so gg can’t be odd.”

H9. (Challenge) Choosing a parameter.

  • (a) Let f(x)=(x−k)(x+2)(x2+1)f(x) = (x - k)(x + 2)(x^2 + 1). Find the value of kk that makes ff even, and write f(x)f(x) in expanded form for that kk.
  • (b) Explain why no value of kk makes the function in (a) odd.
  • (c) Find all values of kk for which p(x)=x3+(k2−4)x2+kxp(x) = x^3 + (k^2 - 4)x^2 + kx is odd.

H10. (Challenge) Any function defined for all real numbers can be split into an even part and an odd part:

E(x)=f(x)+f(−x)2,O(x)=f(x)−f(−x)2E(x) = \frac{f(x) + f(-x)}{2}, \qquad O(x) = \frac{f(x) - f(-x)}{2}

Answer each part.

  • (a) For f(x)=2x3+6x2−x−4f(x) = 2x^3 + 6x^2 - x - 4, find E(x)E(x) and O(x)O(x), and check that E(x)+O(x)=f(x)E(x) + O(x) = f(x).
  • (b) Prove that, for any such ff, EE is even and OO is odd.
  • (c) An even function has exactly five xx-intercepts. Explain why one of them must be at x=0x = 0.