Most functions are neither, which is why this is a test and not a guess. The sections below cover the test, the places where it quietly breaks, and the shortcuts that make it nearly instant.
What are even and odd functions?
The names come from powers. For an even exponent, , so , and ignore the sign of the input. For an odd exponent, , so , and flip it. A constant counts as an even-power term, since . Using function notation, simply means “feed the function the opposite of the input”, and the two definitions describe what happens to the output when you do.
In plain terms: for an even function, opposite inputs give the same output, as with for . For an odd function, opposite inputs give opposite outputs, as with and for . Among the parent functions, , and are even, while , , and are odd.
One clean idea explains why only the zero function is both. If and , then , so and . No other function can satisfy both rules at once.
Quick check
Answer: even
How do you test if a function is even or odd?
The test is mechanical, and it has three steps:
- Write by replacing every with , always inside parentheses.
- Simplify completely.
- Compare with (match means even), then with (match means odd). No match means neither.
Take :
The result equals , so is even. Now take :
This is not , because the sign changed. It is not , because the sign did not. So is neither.
The parentheses are where most points are lost. , but is the negative of , and typing the wrong one flips the verdict. For polynomials there is a faster read: if every exponent is even (constants included), the function is even; if every exponent is odd, it is odd; any mix is neither. That is why fails: the is an even-power term sitting next to an odd one. To disprove a symmetry quickly, one counterexample is enough: but , which is neither nor . A single check can disprove, but only the algebra can prove.
Even and odd functions with fractions and absolute values
For a fraction, test the whole expression, or classify the top and bottom separately and combine them like signs. Even behaves like and odd like , so even over even is even, odd over odd is even, and mixed parity gives odd. Check :
The numerator is odd and the denominator is even, and the result is odd, exactly as the sign shortcut predicts.
Absolute value is even, since , so it leaves odd-or-even status to the factors around it. The function is odd times even, so it is odd. Verify: . This function is the same as the piecewise function for and for , and its shape is a good test of the idea. When you meet the absolute value function with shifts inside the bars, expect the symmetry to move or vanish.
For a piecewise rule, take an input in one piece and check that , computed with the other piece, matches the right pattern. One piece alone never settles it.
Try this: Predict whether is even, odd or neither using only the parity of the top and bottom. Then confirm by computing .
Why the domain must be symmetric before you test
The test compares with , so both must exist. If is in the domain but is not, the function cannot be even or odd, whatever the formula looks like. The function restricted to is neither: exists, but does not.
Domains hide this in two places. Square roots and logarithms (as in or ) have one-sided domains, so they are neither, with no algebra needed. Rational functions can fool you: excludes but allows , so it fails before you compute anything.
An odd function defined at must satisfy , so . If , odd is ruled out at once: has .
What do even and odd functions look like on a graph?
On an even graph, a point forces the point : the picture is a mirror image across the -axis. On an odd graph, forces , which is a half turn about the origin. For , the points and are both on the curve, since .
A graph can never be symmetric about the -axis and still be a function, except for the zero function. Symmetry would put both and on the curve, and the vertical line test rejects that as soon as . So the only two symmetries to look for in a function are the -axis and the origin.
Shifting changes everything. Moving a graph sideways, as in , moves the mirror line off the -axis, so is neither even nor odd even though it is a shifted even function. The transformations of functions are also where gets its geometric meaning: it is the graph reflected across the -axis. An even function is exactly one that is unchanged by that reflection.
Quick check
Answer:
Rules for sums, products and compositions

Treat even as and odd as . Products and quotients follow sign multiplication, and sums keep the type only when both parts match.
| Combination | Result |
|---|---|
| even + even | even |
| odd + odd | odd |
| even + odd | neither (unless one is ) |
| even even | even |
| odd odd | even |
| even odd | odd |
For composition of functions, the inner function decides. If is even, then , so the composite is even whatever is. If is odd, the composite has the same parity as : odd of odd stays odd, because .
So is even (inner function even), while is odd and is even. Calculus adds a neat fact: a derivative reverses parity, so the slope of an even function is odd, and the reverse.
What if a function is neither even nor odd?

Every function defined on a symmetric domain splits into one even piece and one odd piece:
Swapping and leaves the first piece unchanged and flips the sign of the second, which is exactly the definition. A function is even when its odd piece is zero, and odd when its even piece is zero.
Split . First, . Then:
Add them back and you recover . For polynomials the shortcut is to group the even-power terms and the odd-power terms, which gives the same result. The same split turns into (even) plus (odd).
The has even degree, so its end behavior points the same way on both sides, but it is neither even nor odd. Only the leading term sets the ends, while every term sets the symmetry.
Do even and odd functions have inverses?
An odd function that is one-to-one has an odd inverse. If , then , which reads backwards as . The graph of is symmetric about the origin, and reflecting across keeps that symmetry.
An even function is the opposite case. Since for inputs , two different inputs give the same output, so the function fails the horizontal line test and is not one-to-one. To get an inverse you must restrict the domain, usually to , and that restriction destroys the evenness. This is the whole reason needs a restricted domain before the inverse of a quadratic function exists as .
Quick check
Answer:
Where are even and odd functions used?
Parity saves work in integration. Over an interval symmetric about zero, an odd function integrates to zero, and an even function doubles the half-interval:
So with no antiderivative needed, because the positive area on one side cancels the negative area on the other.
The same split shows up well beyond calculus:
- Taylor series: even functions contain only even powers, as in , and odd functions only odd powers.
- Fourier series: even signals need only cosines, and odd signals only sines.
- Physics: a symmetric potential such as is even, and that symmetry decides which quantum states are possible.
The skill you are building here, spotting a symmetry before doing any computation, is one of the most reusable habits in higher math.
Practice problems
0 of 5 solved
- Classify as even, odd or neither.
Answer: even
Replace with : . Even powers erase the sign, so . That equals , so is even. - Classify as even, odd or neither.
Answer: odd
Compute . Now . The two match, so is odd. - Classify as even, odd or neither.
Answer: odd
The domain excludes , which is symmetric, so the test is allowed. Then . So is odd. - Classify as even, odd or neither.
Answer: neither
Expand: . Then . This differs from in the middle term, and it differs from in every term. So is neither. - Find the even part of .
Answer:
The even part is . Here . Adding gives , and halving gives . The odd terms cancel, which leaves only the even-power terms.
Common questions
Can a function be both even and odd?
Only the zero function (on a domain symmetric about ). If and , then , so and everywhere.
Is a constant function even or odd?
A nonzero constant such as is even, because . It is not odd, since is a different constant. The constant is the one exception: it is both.
Is even, odd or neither?
Neither. , which is not and not . Mixing an even-power term with an odd-power term always breaks both symmetries.
How can you tell from a graph whether a function is even or odd?
Fold the graph along the -axis: if the halves land on each other, it is even. Turn the page half a turn about the origin: if the graph looks unchanged, it is odd. If neither works, it is neither.
Why is cosine even and sine odd?
On the unit circle, the angle is the reflection of across the -axis. That keeps the -coordinate and flips the sign of the -coordinate, so and .
Is the sum of an even function and an odd function ever even or odd?
Not unless one of them is the zero function. In general the sum is neither, which is why and both fail the test.