Not sure which lesson to do first? Find your level and get a plan →

Math · Advanced Functions · Grade 9-12

Even and Odd Functions

An even function satisfies f(−x)=f(x) (mirror-symmetric about the y-axis); an odd function satisfies f(−x)=−f(x) (180° rotational symmetry about the origin).


Quick Answer

An even function satisfies f(−x)=f(x) (mirror-symmetric about the y-axis); an odd function satisfies f(−x)=−f(x) (180° rotational symmetry about the origin). Use the test when you want to graph only half of a function and copy the rest, or to shortcut a calculation: an odd function's values at x and −x cancel. Substitute −x, simplify and compare. Most functions, such as x2+x, are neither, so a function that fails the even test still needs the odd test.

Why This Matters

Symmetry halves the work. For an even function you graph x≥0 and mirror it; for an odd one you graph x≥0 and turn it half a turn. In calculus the integral of any odd function from −a to a is 0, so ∫−22(x3−4x) dx needs no computing. Skipping the algebra leads to wrong shortcuts on graphs that only look symmetric.

Intuitive Explanation

Fold a graph of y=x2 along the y-axis and the two halves land on each other: f(3)=9 and f(−3)=9. That is what f(−x)=f(x) says, and such functions are called even. Now take y=x3: f(2)=8 but f(−2)=−8. Its left half is not a mirror image of the right half; it is the right half turned upside down as well. Spin the whole graph 180° about the origin and it lands on itself. That is f(−x)=−f(x), and such functions are called odd.

The names come from powers. Even powers erase a negative sign, (−x)4=x4, and odd powers keep it, (−x)5=−x5. So a polynomial made only of even powers (a constant counts, since 7=7x0) is even, and one made only of odd powers is odd. Functions without powers follow the same definitions: cos⁡(−x)=cos⁡x makes cosine even, and sin⁡(−x)=−sin⁡x makes sine odd. One consequence: if an odd function is defined at 0, then f(0)=−f(0), which forces f(0)=0, so its graph passes through the origin.

Even and odd do not split all functions into two groups the way they split whole numbers. Try f(x)=x2+x: f(−x)=x2−x. That is not x2+x, so it is not even, and it is not −x2−x, so it is not odd. Mixing an even power with an odd power gives a function that is neither, and a graph can look almost symmetric while failing both tests, which is why the check is done with algebra rather than by eye.

Think of it like this. Picture the letters A and S. An even function is like A: its left half mirrors its right half across a vertical line. An odd function is like S: it has no mirror line, but a half turn about its centre gives back the same S. Most shapes, like the letter F, are neither.

Core idea. Even functions give back f(x) when you plug in −x; odd functions give back −f(x).


When to Use

Run the even/odd test when a problem asks about the symmetry of a graph, asks how f(−x) relates to f(x), or offers a shortcut over an interval centred at zero, such as adding values at x and −x or integrating from **−a to a**. Functions built from powers, sine, cosine and absolute value are the usual candidates. If the problem asks you to produce a mirror image, such as graphing y=f(−x), that is a reflection; if it asks whether a whole number divides by 2, that is integer parity.

Tip. Ask: Does f(−x) equal f(x) (even), equal −f(x) (odd), or neither?

How to Recognize It

Before substituting −x, look at the pieces the function is built from, powers, trig functions, absolute values and constants, since their own symmetry often settles the answer.

  1. Is the function a sum of powers of x only?

    If every power is even, a constant counting as x0, it is even, like 3x4−x2+7; if every power is odd, it is odd, like x5−2x. A mix like x2+x or x3+1 is neither.

  2. Is the function a product or quotient of pieces whose type you already know?

    If yes, combine them like signs: even times even is even, odd times odd is even, and even times odd is odd. So xsin⁡x is even and x2sin⁡x is odd, with no substitution needed.

  3. Is the input fed straight into an absolute value, a cosine or an even power before anything else happens to it?

    If yes, it is even, since that first step erases the sign of x, as in 2cos⁡x+1, ∣x∣−5 and 1x2+1. If x is shifted first, as in cos⁡(x+1), run the full test.

  4. Are you asked to draw y=f(−x) or y=−f(x) for a given function?

    If yes, that is reflecting a graph, a transformation you carry out, not a property you test. The ideas meet in one way: an even f is its own reflection across the y-axis, and an odd f survives both reflections in turn.

Even and Odd Functions compared with Even/odd whole numbers, Symmetric functions (general), and Reflecting functions

Every row involves flipping or pairing, and the words even and odd are borrowed from whole numbers. Ask whether you are testing a property the function already has, naming a wider kind of symmetry, classifying a number, or carrying out a reflection.

Even and Odd Functions

Meaning
Use this when you must classify how a function behaves under input negation to exploit y-axis or origin symmetry.
Key test
Does f(−x) equal f(x) (even), equal −f(x) (odd), or neither?
Example
Is f(x)=x3−5x even, odd, or neither?

Even/odd whole numbers

Meaning
Integer divisibility by 2 — totally unrelated to function symmetry.
Key test
Use when classifying numbers, not functions.
Example
8 is even, 9 is odd

Symmetric functions (general)

Meaning
The umbrella concept; even/odd are its two named cases.
Key test
Use the broader term when symmetries beyond ± are in play.
Formula
f(−x)=±f(x)
Example
Same idea, broader name

Reflecting functions

Meaning
The transformation that PRODUCES a mirror image, not a property the function already has.
Key test
Use when actively reflecting a graph over an axis.
Formula
y=−f(x) or y=f(−x)
Example
Reflecting x over y-axis

Formula & Notation

How to read it: f even iff f(−x)=f(x); odd iff f(−x)=−f(x).

Worked Examples

Example 1 — Classify by substitution

Easy

Is f(x)=x3−5x even, odd, or neither?
Show the steps and the answer
  1. Replace every x with (−x): f(−x)=(−x)3−5(−x).

    The brackets matter: the negative sign has to go through the power and through the multiplication by 5.

  2. Simplify: (−x)3=−x3 and −5(−x)=+5x, so f(−x)=−x3+5x.

    An odd power keeps the negative sign, and a negative times a negative is positive.

  3. Compare with f(x)=x3−5x: both terms changed sign, so f(−x)≠f(x).

    Being even would need every term to come back unchanged.

  4. Factor out −1: f(−x)=−(x3−5x)=−f(x).

    That is exactly the odd condition.

  5. Check with numbers: f(2)=8−10=−2 and f(−2)=−8+10=2.

    Opposite inputs give opposite outputs, as the half-turn symmetry predicts.

Answer: Odd

Takeaway: When every term has an odd power of x, every term changes sign under x→−x, so the function is odd.

Example 2 — Looks odd but is neither

Standard

Is f(x)=x3−5x+2 odd?
Show the steps and the answer
  1. Substitute −x: f(−x)=(−x)3−5(−x)+2=−x3+5x+2.

    The constant 2 contains no x, so substituting −x leaves it as +2.

  2. Compute −f(x)=−x3+5x−2 and compare: +2 and −2 differ, so f(−x)≠−f(x).

    For an odd function every term must flip sign, and a nonzero constant cannot.

  3. Test even as well: f(−x) has −x3 where f(x) has +x3, so f(−x)≠f(x).

    Failing the odd test does not make a function even, so both tests are needed before answering.

  4. Confirm with x=1: f(1)=1−5+2=−2 and f(−1)=−1+5+2=6.

    6 is neither −2 nor 2, so neither symmetry holds.

Answer: Neither even nor odd

Takeaway: A constant term survives x→−x unchanged, so adding a nonzero constant to an odd function always breaks its odd symmetry.

Example 3 — Find the mistake: a dropped sign

Application

Is g(x)=x4−3x2+x even? Max writes: "g(−x)=(−x)4−3(−x)2+(−x)=x4−3x2+x, so g(−x)=g(x) and g is even." Find the mistake and correct it.
Show the steps and the answer
  1. Check the first two terms: (−x)4=x4 and −3(−x)2=−3x2.

    Even powers erase the sign, so Max has these two right.

  2. Check the last term: +(−x)=−x, not +x.

    The x term has power 1, an odd power, so its sign must flip. Max dropped the negative sign.

  3. Correct it: g(−x)=x4−3x2−x. This differs from g(x) in the last term, so g is not even.

    Even requires every term to match.

  4. Test odd: −g(x)=−x4+3x2−x, which differs from g(−x) in the first two terms. Numbers agree: g(1)=1−3+1=−1 and g(−1)=1−3−1=−3.

    −3 is neither −1 nor 1, so g is not odd either.

Answer: g(−x)=x4−3x2−x, so g is neither even nor odd.

Takeaway: Put brackets around −x and push the sign through each term separately; a single odd-power term is enough to break even symmetry.

Where You'll See It

  • The main cable of a suspension bridge

    With the origin at the cable's lowest point, the main cable of a suspension bridge follows a curve close to y=kx2, an even function. At 200 m left of centre it is exactly as high as at 200 m right, so engineers compute the vertical hanger lengths for one half of the span and mirror them.

  • Building sounds from sine waves

    A square-wave signal that is +1 for 0<t<π and −1 for −π<t<0 is odd. Because sine is odd and cosine is even, its Fourier series uses sines only: 4π(sin⁡t+13sin⁡3t+15sin⁡5t+… ). Audio engineers use that symmetry to skip every cosine coefficient, since each one is 0.

Common Mistakes

  1. The slip: Assuming 'not even' means 'odd'

    Instead: run both tests; a function can be neither.

  2. The slip: Sign-handling powers wrong

    Instead: (−x)2=x2 (an even power cancels the negative sign) but (−x)3=−x3 (an odd power keeps it).

  3. The slip: Eyeballing symmetry from a sketch

    Instead: confirm algebraically by substituting −x, not by visual guess.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Is f(x)=3x4+x2−8 even, odd, or neither?

    Hint: Substitute −x and look at each power.

  2. Is g(x)=4x3+1x even, odd, or neither?

    Hint: Find g(−x), then compare it with −g(x).

  3. Is h(x)=x2−2x even, odd, or neither?

    Hint: Run both tests before deciding.

  4. An odd function has f(2)=−6 and f(5)=1, and it is defined at 0. Find f(−2), f(−5) and f(0).

    Hint: Use f(−x)=−f(x), including at x=0.

  5. The graph of f(x)=(x−1)2 is a mirror image of itself across the line x=1. Does that make f an even function?

    Hint: Even functions mirror across one particular line. Which one?

  6. A student writes: "f(x)=x3+1 is not even, so it must be odd." Correct the mistake.

    Hint: Test the odd condition on its own.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why are these functions called even and odd?

The names come from powers of xx. Every even power, x2x^2, x4x^4, x6x^6, satisfies f(−x)=f(x)f(-x)=f(x), and every odd power, xx, x3x^3, x5x^5, satisfies f(−x)=−f(x)f(-x)=-f(x), so the labels were stretched to cover any function that behaves the same way. The link to whole numbers stops there: cos⁡x\cos x is even and sin⁡x\sin x is odd, though neither is a power at all.

Can a function be both even and odd?

Only the zero function. If f(−x)=f(x)f(-x)=f(x) and f(−x)=−f(x)f(-x)=-f(x) both hold, then f(x)=−f(x)f(x)=-f(x), so 2f(x)=02f(x)=0 and f(x)=0f(x)=0 for every xx in the domain. Its graph is a stretch of the xx-axis, which is mirrored across the yy-axis and also unchanged by a half turn about the origin, provided its domain is balanced around 0.

Can every function be split into an even part and an odd part?

Yes, as long as its domain is balanced around 0. The even part is f(x)+f(−x)2\frac{f(x)+f(-x)}{2} and the odd part is f(x)−f(−x)2\frac{f(x)-f(-x)}{2}, and adding them gives back f(x)f(x). For x2+xx^2+x the parts are simply x2x^2 and xx. For exe^x they are cosh⁡x=ex+e−x2\cosh x=\frac{e^x+e^{-x}}{2} and sinh⁡x=ex−e−x2\sinh x=\frac{e^x-e^{-x}}{2}, the hyperbolic functions.

Does the domain matter for the even or odd test?

Yes. The test compares f(x)f(x) with f(−x)f(-x), so whenever xx is allowed, −x-x must be allowed too. x\sqrt{x} is neither even nor odd because −4\sqrt{-4} is not a real number, and x2x^2 restricted to 0≤x≤50\le x\le 5 is no longer even, even though the formula is unchanged. Check that the domain is balanced around 0 before substituting.

Learning Path

Even and Odd Functions

You are here

Next →

Nothing after this yet
This uses Function Notation (to evaluate f(−x) correctly), Reflecting Functions (what a flip across an axis does) and Algebraic Symmetry. Even and odd functions add a quick algebraic test for two kinds of graph symmetry. You will use it in trigonometry, where cosine is even and sine is odd, and in calculus, where it turns an integral over [−a,a] into 0 or into twice the integral over [0,a].

See Also