# Lesson Explainer: Even and Odd Functions Mathematics • 12th Grade

In this explainer, we will learn how to decide whether a function is even, odd, or neither both from a graph of the function and from its rule.

The parity of a function describes whether the function is even or odd.

### Definition: Odd and Even Functions

A function is

• an even function if ,
• an odd function if ,

for every in the function’s domain.

Note that the only function defined on the set of real numbers that is both even and odd is ; thus, once we have determined the parity of a function, we do not need to test again.

The graphs of even and odd functions also have some key properties that can make them easy to identify. Consider the graphs of the functions and .

We can check the parity of by evaluatin :

is therefore an even function. Notice how the graph of has reflectional symmetry with respect to the -axis, or the line . This is because the output of the function is the same if we input or . For instance, the points and lie on the curve of .

In fact, implies that the graph of the function will have reflectional symmetry with respect to the -axis for every value of in the function’s domain. These functions are called even functions since a function will have this property if is any even integer.

We now consider the function . To check the parity of this function, we will evaluate :

is an odd function. This time, the graph of has rotational symmetry of order 2 about the origin, meaning that its graph remains unchanged after a rotation of about . This is because if a point with coordinates lies on the curve, then since , a corresponding point with coordinates must also lie on the curve. For instance, since the point with coordinates lies on the curve of , then a point with coordinates must also lie on the curve.

implies that the graph of the function will have rotational symmetry order 2 about the origin for every value of in the function’s domain. These functions are called odd functions since a function will have this property if is any odd integer.

If an odd function is defined at zero, then its graph must pass through the origin. We can demonstrate this by letting in the definition for an odd function, . We observe that , which corresponds to the rotational interpretation of an odd function.

Since, for an odd function, , we can deduce that the absolute value of this function must in fact be even; for any odd function , if , then is even.

### Definition: Graphs of Odd and Even Functions

The graph of any even function has reflectional symmetry with respect to the -axis.

The graph of any odd function has rotational symmetry of order 2 about the origin.

We can use both the definition of the function and its graph to help determine the parity of the function. In our first example, we will demonstrate how to use the definition of the function to determine whether a function is even, odd, or neither.

### Example 1: Stating the Parity of a Linear Function

Is the function even, odd, or neither?

We recall that a function is

• an even function if ,
• an odd function if ,

for every in the function’s domain.

Since is a linear function, its domain is . This is symmetric about 0, so we know that the symmetrical properties of even and odd functions apply. To test the parity of , we will evaluate :

We notice that , and nor does .

The function is neither even nor odd.

In our next two examples, we will look at how the definition of even and odd functions (with respect to the symmetry of their graphs) can help us to determine the parity of the function.

### Example 2: Determining If a Graphed Function Is Even, Odd, or Neither

Determine whether the function represented by the following figure is even, odd, or neither.

We recall that the graph of an even function has reflectional symmetry with respect to the -axis while the graph of an odd function has rotational symmetry of order 2 about the origin. It is important to realize that this must hold true for every value of in the function’s domain, and as such, we must ensure that the domain of the function is symmetric about 0.

The domain of a function is the set of possible -values that can be substituted into the function; this can be deduced from the graph of a function by looking at the spread of -values from left to right.

The domain of this function is values of in the interval , not including . Using set notation, the domain is given by

Since this domain is symmetric about 0, we can now check whether the function is even, odd, or neither.

We observe the graph to have reflectional symmetry with respect to the -axis, or the line . This means that, for any value of in the domain of the function, .

The function is even.

In our previous example, we demonstrated how to determine the parity of a function defined over a bounded domain from its graph. We will see in example 3 how this process can be applied to functions defined over an unbounded domain.

### Example 3: Determining the Parity of a Graphed Rational Function

Is the function represented by the figure even, odd, or neither?

We recall that the graph of an odd function has rotational symmetry of order 2 about the origin, while the graph of an even function has reflectional symmetry with respect to the -axis. It is important to realize that this must hold true for every value of in the function’s domain, and as such, we must ensure that the domain of the function is symmetric about 0.

The graph of the function has a vertical asymptote given at . This is the only value of where the function is not defined; hence, its domain is given by

Since this domain is symmetric about 0, we can now check whether the function is even, odd, or neither.

We can see that the graph does not have reflectional symmetry given by the -axis, and so this function cannot be even.

The graph does, however, remain unchanged after a rotation of about the origin.

Therefore, the function is odd.

In our previous two examples, we began by checking that the domain of the function was symmetric about 0. Since the parity of a function is dependent on its symmetrical properties with respect to either the -axis or the origin, it follows that a function whose domain is not symmetric about 0 will be neither even nor odd.

In our next example, we will see how acknowledging this element of the definition can save us some time when determining whether a function is even, odd, or neither.

### Example 4: Determining If a Graphed Function Is Even, Odd, or Neither

Is the function represented by the figure even, odd, or neither?

The graph of an even function has reflectional symmetry with respect to the -axis while the graph of an odd function has rotational symmetry of order 2 about the origin. It is important to realize that this must hold true for every value of in the function’s domain, and as such, we must ensure that the domain of the function is symmetric about 0.

The domain of a function is the set of possible inputs, or -values, that we can substitute into that function.

The domain of this function is the interval . This domain is not symmetric about 0.

Since the domain of this function is not symmetric about 0, we can deduce that the function is neither even nor odd.

In our next example, we will look at how to determine the parity of a trigonometric function from its equation using the following definitions.

### Definition: Parity of Trigonometric Functions

and are even functions.

, , , and are odd functions.

### Example 5: Identifying the Parity of a Function

Is the function even, odd, or neither?

A function is

• an even function if ,
• an odd function if ,

for every in the function’s domain.

We begin by finding the domain of the function. We need to ensure that it is symmetric about 0; otherwise, the symmetrical properties of even and odd functions will not apply.

is the product of two functions, so its domain will be the intersection of the domains of each function.

Since is a polynomial, we know its domain is the set of real numbers.

The domain of the tangent function is the set of real numbers except those where . This means that the domain of the function is the set of real numbers except those that make . The values of that make are , and so on. These values are symmetrical with respect to the -axis, meaning the domain of must be symmetric about 0.

The intersection of the two domains is therefore also symmetric about 0, so we can now test for parity by evaluating :

And we rewrite as

To evaluate , we can consider the graph of the function ; this is a horizontal stretch of the graph of by a scale factor of .

We can see that is odd, since the graph of an odd function has rotational symmetry of order 2 about the origin.

Therefore, and we can write as

We can now see, for every in the domain of ,

Hence, the function is odd.

In example 5, we multiplied an odd function, , by an even function, , which resulted in an odd function. In fact, the product of an even and an odd function will always be odd. We can generalize this result alongside some further properties of combining functions.

### Definition: Combining Even and Odd Functions

Let and be even functions and and be odd functions:

• is even and is odd,
• is neither even nor odd,
• , and are even,
• and are odd.

We will now learn how to apply this concept to determine the parity of a piecewise-defined function.

### Example 6: Determining the Parity of a Piecewise-Defined Function

Determine whether the function is even, odd, or neither given that

A function is

• an even function if ,
• an odd function if ,

for every in the function’s domain.

We do need to ensure that the domain of the function is symmetric about 0; otherwise, the symmetrical properties of even and odd functions will not apply.

The domain of a piecewise defined function is the union of the subdomains of the various subfunctions. In this question, we have a subfunction, , defined over the interval and another, , defined over the interval . Both subfunctions are linear and so they are defined over their entire subdomain. Therefore, the union of these intervals is the set of real numbers. The domain of can be written as .

This is symmetric about 0, so we can now test the parity of the function by evaluating . We will need to do this for negative and positive inputs separately to determine whether the function displays reflectional symmetry with respect to the -axis.

For , will be positive:

This is equal to the other part of the piecewise function, the subfunction used for negative values of .

Then, for , will be negative:

Again, this is equal to the other part of the piecewise function, the subfunction used for positive values of .

We can confirm our findings, and check what happens at , by drawing a sketch of the graph.

The graph has reflectional symmetry with respect to the -axis.

Since for all in the domain of , the function is even.

We will now investigate how the parity of a function can be affected by its domain.

### Example 7: Identifying the Parity of Functions

Determine whether the function is even, odd, or neither given that .

A function is

• an even function if ,
• an odd function if ,

for every in the function’s domain.

We need to ensure that the domain of the function is symmetric about 0; otherwise, the symmetrical properties of even and odd functions will not apply.

We are given that . We can read this as “the function maps numbers from the left open, right closed interval from to 7 onto the set of real numbers.” The domain is the interval , while the codomain is the set of real numbers.

It might seem like this domain is symmetric about 0; however, we are told that can be equal to 7 but cannot be equal to . This means it is not symmetric about 0.

Since the domain of is not symmetric about 0, the function is neither even nor odd.

In our final example, we will demonstrate how knowing the parity of a function can help us to infer information about its variables.

### Example 8: Finding an Unknown in a Rational Function given Its Parity

Find the value of given is an even function where and .

We know that if and are even functions, their quotient is also even. Similarly, a function is said to be even if for every in the function’s domain.

Since the function on the numerator is independent of , it is even. This means that the function on the denominator must also be even. Let the function so that

For the function to be even, for every value of in the domain of :

Subtracting and adding 3 to both sides, this equation simplifies to

Since , we can divide through by :

The only way for this equation to be true is if .

For to be an even function, .

We will now recap the key points from this explainer.

### Key Points

• A function is
• an even function if ,
• an odd function if ,
for every in the function’s domain.
• The graph of any even function has reflectional symmetry with respect to the -axis. Similarly, a function whose graph has reflectional symmetry with respect to the -axis is an even function.
• The graph of any odd function has rotational symmetry of order 2 about the origin. Similarly, a function whose graph has rotational symmetry of order 2 about the origin is an odd function.
• A function whose domain is not symmetric about 0 is neither even nor odd.