Fold a sheet of paper down the middle and the two halves match. Some graphs fold like this along the -axis, and others match themselves after half a turn about the origin. When you spot such a symmetry you only need to study half of the graph, and calculus uses it the same way to shorten sketches and integrals. Checking for it takes one short algebra step.
Key terms
Symmetric domain
Definition A set of real numbers is symmetric about if for every . The definitions of even and odd functions compare with , so they make sense only when the domain of is symmetric about .
In plain words Whenever a number is in the set, so is its opposite. On the number line the set looks the same on both sides of .
Example Here are five sets, checked one by one.
| Set | Symmetric about | Reason |
|---|---|---|
| yes | if lies between and , so does | |
| , the domain of | yes | the opposite of a nonzero number is nonzero |
| no | is in it but is not | |
| , the domain of | no | is in it but is not |
| all , the domain of | no | is in it but is not |
Even function
Definition A function with domain is even if is symmetric about and
Examples on are the constant functions, , and the powers with a positive even integer, such as and . The name comes from these even powers.
In plain words Opposite inputs give the same output. Once you know the outputs for positive inputs, you know them for negative inputs too.
Example For the domain is , which is symmetric, and
because an even power of equals the same power of . So is even. For instance and , and .
Symmetry about the y-axis
Definition A set of points in the plane is symmetric about the -axis if for every point in the set, the mirror point is also in the set. The graph of a function is symmetric about the -axis exactly when is even, because the mirror point of is , and that point is on the graph exactly when is in the domain and .
In plain words Fold the picture along the -axis and the left half lands exactly on the right half.
Example The function is even, since replacing by leaves unchanged. Its graph pairs up points across the -axis.
The point lies on the axis itself and is its own mirror image.
Odd function
Definition A function with domain is odd if is symmetric about and
Examples are and the powers with a positive odd integer, such as and . If is in the domain of an odd function , then , so .
In plain words Opposite inputs give opposite outputs. Change the sign of the input and the output changes sign too.
Example For on ,
so is odd. Indeed and , and , and .
Symmetry about the origin
Definition A set of points in the plane is symmetric about the origin if for every point in the set, the point is also in the set. The origin is the midpoint of the segment from to , so moving every point to is a rotation by half a turn about the origin, and such a set looks the same after a half turn. The graph of a function is symmetric about the origin exactly when is odd, because the point is on the graph exactly when is in the domain and .
In plain words Spin the picture half a turn around the origin and it matches itself. The same move can be done as a reflection across the -axis followed by a reflection across the -axis.
Example The graph of is symmetric about the origin. The point on the right branch pairs with on the left branch, and pairs with . The graph does not pass through the origin, because is not in the domain, so the graph of an odd function need not contain .
The algebraic test
Definition To decide whether a function with domain is even, odd or neither, follow these steps.
- Check that is symmetric about . If it is not, then is neither even nor odd.
- Simplify and compare it with and with . If for every in , the function is even. If for every in , it is odd.
- To show that is not even, one input with is enough. To show that is not odd, one input with is enough.
Numbers alone can only rule symmetry out. Agreement at a few inputs is not proof, because being even or odd is a statement about every in the domain.
In plain words Replace by , simplify, and see whether you get back , its negative, or something else. A proof needs the algebra, while a disproof needs just one input that fails.
Example Take the function
Its domain is all real except and , a set that is symmetric about . For every in it
so is odd.
Neither even nor odd
Definition A function is neither even nor odd if it is not even and it is not odd. That happens when its domain is not symmetric about , or when the domain is symmetric but it contains inputs and , possibly equal, with and . Most functions are neither, and “not even” does not mean “odd”.
In plain words Even and odd are special properties, not two boxes that every function falls into. A function can fail both tests.
Example For we get and . Since , the function is not even, and since , it is not odd. So is neither. The function is also neither, without any computing, because its domain is not symmetric.
The zero function on a symmetric domain
Definition Let be a set that is symmetric about . A function with domain is both even and odd exactly when it is the zero function on , that is, for every . If is both, then for every in
so and . Conversely, the zero function satisfies both conditions, since and .
In plain words The only graph of a function that is both its own mirror image across the -axis and its own half-turn image is a flat graph lying on the -axis. On each symmetric domain there is exactly one such function.
Example The function is defined for every real , and since , it equals everywhere. So it is both even and odd. By contrast, the zero function with domain is neither, because that domain is not symmetric about .
Check yourself
- Classify each of , and as even, odd or neither.
Show the answer
All three have domain . For the first, , so is odd. For the second,
so is even. For the third, and , and since and , the function is neither.
- An odd function has in its domain, and its graph passes through . Name two more points on the graph.
Show the answer
Oddness gives , so is on the graph. Since is in the domain, , so the graph also contains .
- A student notices that satisfies and concludes that is even. Is that right?
Show the answer
No. Both values are , but one matching pair proves nothing. At the values differ, with and , so is not even. It is not odd either, since while . The function is neither.