What Is the Expectation of a Function Symmetric About Zero?
At a glance
- 1. Check the symmetry
A function symmetric about zero is even: its values satisfy g(-x) = g(x).
- 2. Check the distribution
A zero-symmetric random variable has the same distribution as its negative.
- 3. Use the right identity
Even functions do not generally have expectation zero; odd functions do, when their expectations exist.
- 4. Verify integrability
Check that the expected absolute value of the function is finite before using symmetry to conclude an expectation is zero.
“Symmetric about zero” can describe either a function or a random variable, and the distinction matters. A function symmetric about zero is even: . A random variable symmetric about zero has the same distribution as its negative: and have the same distribution.
If both are symmetric in these respective senses, the expected value of the function is generally not zero. Instead, evenness lets you combine the contributions from positive and negative values. By contrast, an integrable odd function has expectation zero under a zero-symmetric distribution.
What evenness does to an expectation
For a continuous random variable with density , the expectation is
when the integral is defined. If is symmetric about zero and has a density, then its density is even almost everywhere: for almost every . If is even too, then the product is even almost everywhere, so
This formula doubles the contribution from the positive half of the distribution; it does not make that contribution cancel. The same idea works for discrete distributions: the contributions from and add when is even.
For any random variable and even function , pointwise. Thus, when the expectation exists, for even .
Worked examples with a standard normal variable
Let have the standard normal distribution. Its density is symmetric about zero.
First take . This function is even, and the standard normal has variance and mean , so
The result is positive, not zero. The density-and-symmetry calculation says the same thing:
For another even function, , the expectation is
Now take the odd function , for which . The contributions from and cancel. Since a standard normal has a finite third absolute moment, this cancellation is valid and .
Why odd functions have expectation zero
Suppose and have the same distribution, and is odd. If , then
The only finite number equal to its own negative is zero. Therefore .
The integrability condition matters. For example, a standard Cauchy random variable is symmetric about zero, but its mean does not exist. Symmetry does not make its expectation zero: the positive and negative parts both have infinite integral, so they cannot be subtracted to form an expectation. A symmetric improper integral taken as a principal value is not the same as an expected value.
Common mistakes
- Confusing even and odd functions: means even; means odd. Even contributions pair by addition, while odd contributions pair by cancellation.
- Assuming an even function has mean zero: For example, is nonnegative, and for a standard normal variable its expectation is .
- Using symmetry of the function alone: An even function does not guarantee a simplified expectation unless the distribution of is also symmetric about zero. Without that distributional symmetry, use the usual expectation formula.
- Ignoring existence: Cancellation proves a zero expectation only when the relevant expectation exists, such as when is finite.
So, if “symmetric about zero” means the function is even, there is no general rule that its expectation is zero. If the random variable is also symmetric about zero, use evenness to reduce the calculation to the nonnegative half-line; use oddness, with integrability, to conclude an expectation is zero.
References
- Sheldon Ross, A First Course in Probability
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.