Algebra 2 · Grades 10, 11

Even and Odd Functions: Symmetry of Graphs

Quick answer

A function is even when f(−x) = f(x) for every x in its domain, and its graph is symmetric about the y-axis, like the graph of y = x². It is odd when f(−x) = −f(x), and its graph is symmetric about the origin, like the graph of y = x³. To test a function, replace x with −x and simplify. For polynomials the exponents decide: only even powers make an even function, only odd powers make an odd one, and a mix makes neither.

What you'll learn

  • Test a function for even or odd symmetry by computing f(−x)
  • Recognize even and odd symmetry in a graph
  • Predict the symmetry of a polynomial from its exponents
  • Use symmetry to fill in values and complete a graph

Two kinds of symmetry

For f(x)=x2f(x) = x^2, the inputs 33 and −3-3 give the same output, 99. Every pair of opposite inputs behaves that way, so the graph is its own mirror image in the yy-axis. For g(x)=x3g(x) = x^3, opposite inputs give opposite outputs: g(−2)=−8=−g(2)g(-2) = -8 = -g(2). Its graph looks the same after a half turn about the origin.

A function is even if f(−x)=f(x)f(-x) = f(x) for every xx in its domain. A function is odd if f(−x)=−f(x)f(-x) = -f(x) for every xx in its domain.

An even function: y = x⁴ − 3x² A W-shaped curve symmetric about the y-axis. The marked points (−1, −2) and (1, −2) are mirror images, and so are (−2, 4) and (2, 4). -3-2-1123-4-2246xy (−1, −2) (1, −2) (−2, 4) (2, 4)
  • y = x⁴ − 3x²
An even function: y = x⁴ − 3x²
An odd function: y = x³ − 3x An S-shaped cubic through the origin with a peak at (−1, 2) and a valley at (1, −2). A dashed segment joins the marked points (−2, −2) and (2, 2) through the origin, showing that a half turn about the origin swaps them. -3-2-1123-4-224xy (−2, −2) (2, 2) (−1, 2) (1, −2)
  • y = x³ − 3x
An odd function: y = x³ − 3x

Why the exponents decide

Replacing xx with −x-x in a power gives

(−x)n={xnn even−xnn odd(-x)^n = \begin{cases} x^n & n \text{ even} \\ -x^n & n \text{ odd} \end{cases}

because the minus signs pair off in an even power and one is left over in an odd power. A polynomial with only even powers therefore gets every term back unchanged, and one with only odd powers has every term flip sign. A constant counts as an even power, since c=cx0c = cx^0. Replacing xx with −x-x leaves even powers alone and flips the sign of odd powers, so the exponents decide the symmetry of a polynomial. That is where the names even and odd come from.

Beyond polynomials

The same test works for any function whose domain is symmetric about 00.

  • ∣x∣|x| is even, because ∣−x∣=∣x∣|-x| = |x|.
  • 1x\tfrac{1}{x} and x3\sqrt[3]{x} are odd.
  • x\sqrt{x} is neither: its domain x≥0x \ge 0 has no negative inputs to compare.

An odd function defined at 00 must pass through the origin, because f(0)=−f(0)f(0) = -f(0) forces f(0)=0f(0) = 0.

Worked examples

Common mistakes

Practice problems

  1. Is f(x)=x6−2x2f(x) = x^6 - 2x^2 even, odd or neither?

    Answer

    Even

    Full solution

    Both powers are even, so f(−x)=x6−2x2=f(x)f(-x) = x^6 - 2x^2 = f(x).

  2. Is f(x)=5x3−xf(x) = 5x^3 - x even, odd or neither?

    Answer

    Odd

    Full solution

    f(−x)=−5x3+x=−f(x)f(-x) = -5x^3 + x = -f(x).

  3. Is f(x)=x2+xf(x) = x^2 + x even, odd or neither?

    Answer

    Neither

    Full solution

    f(−x)=x2−xf(-x) = x^2 - x, which is neither f(x)f(x) nor −f(x)=−x2−x-f(x) = -x^2 - x. At x=1x = 1: f(1)=2f(1) = 2 and f(−1)=0f(-1) = 0.

  4. Is the constant function f(x)=7f(x) = 7 even, odd or neither?

    Answer

    Even

    Full solution

    f(−x)=7=f(x)f(-x) = 7 = f(x). Its graph, a horizontal line, is symmetric about the yy-axis.

  5. Is f(x)=∣x∣+x2f(x) = |x| + x^2 even, odd or neither?

    Answer

    Even

    Full solution

    ∣−x∣=∣x∣|-x| = |x| and (−x)2=x2(-x)^2 = x^2, so f(−x)=f(x)f(-x) = f(x).

  6. Is f(x)=xx2−4\displaystyle f(x) = \frac{x}{x^2 - 4} even, odd or neither?

    Answer

    Odd

    Full solution

    The domain, all xx except ±2\pm 2, is symmetric about 00, and f(−x)=−xx2−4=−f(x)f(-x) = \tfrac{-x}{x^2 - 4} = -f(x).

  7. ff is odd and f(3)=−4f(3) = -4. Find f(−3)f(-3) and f(0)f(0).

    Answer

    f(−3)=4f(-3) = 4 and f(0)=0f(0) = 0

    Full solution

    f(−3)=−f(3)=4f(-3) = -f(3) = 4. And f(0)=−f(0)f(0) = -f(0) forces f(0)=0f(0) = 0.

  8. The graph of an even function passes through (−2,5)(-2, 5). Name another point on it.

    Answer

    (2,5)(2, 5)

    Full solution

    An even function’s graph is its own mirror image in the yy-axis.

  9. Is f(x)=x5+x3+2f(x) = x^5 + x^3 + 2 odd?

    Answer

    No; it is neither even nor odd.

    Full solution

    The constant 22 is an even power, and f(0)=2≠0f(0) = 2 \ne 0, which no odd function allows. And f(−1)=0f(-1) = 0 while f(1)=4f(1) = 4, so it is not even either.

  10. A student finds f(2)=0f(2) = 0 and f(−2)=0f(-2) = 0 for f(x)=x3−4xf(x) = x^3 - 4x, and concludes that ff is even. What went wrong?

    Hint

    Compare f(1)f(1) and f(−1)f(-1).

    Answer

    One pair of equal values proves nothing. In fact ff is odd.

    Full solution

    f(1)=−3f(1) = -3 and f(−1)=3f(-1) = 3, so ff is not even. Algebraically, f(−x)=−x3+4x=−f(x)f(-x) = -x^3 + 4x = -f(x). At x=2x = 2 both f(2)f(2) and −f(2)-f(2) equal 00, which is why that one test could not tell the difference.

Frequently asked questions

How do you tell if a function is even or odd?

Compute f(−x) and simplify. If it equals f(x), the function is even. If it equals −f(x), the function is odd. If it is neither, the function is neither.

What does the graph of an even function look like?

It is its own mirror image in the y-axis. The point (a, b) is on the graph exactly when (−a, b) is.

What does the graph of an odd function look like?

It is unchanged by a half turn about the origin. The point (a, b) is on the graph exactly when (−a, −b) is.

Can a function be neither even nor odd?

Yes, most functions are neither. x² + x, for example, fails both tests.

Are sine and cosine even or odd?

Cosine is even, since cos(−x) = cos x. Sine is odd, since sin(−x) = −sin x.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSF.BF.B.3Building FunctionsIdentify the effect on the graph of replacing f(x) by f(x) + k, k f(x), f(kx), and f(x + k) for specific values of k (both positive and negative); find the value of k given the graphs. Experiment with cases and illustrate an explanation of the effects on the graph using technology. Include recognizing even and odd functions from their graphs and algebraic expressions for them.
  • CCSS.MATH.CONTENT.HSF.IF.B.4Interpreting FunctionsFor a function that models a relationship between two quantities, interpret key features of graphs and tables in terms of the quantities, and sketch graphs showing key features given a verbal description of the relationship.