What type of function can be used to determine whether a number is even or odd?

There are different types of functions in mathematics that we study. We can determine whether a function is even or odd algebraically or graphically. Even and Odd functions can be checked by plugging in the negative inputs (-x) in place of x into the function f(x) and considering the corresponding output value. Even and odd functions are classified on the basis of their symmetry relations. Even and odd functions are named based on the fact that the power function f(x) = xn is an even function, if n is even, and f(x) is an odd function if n is odd.

Let us explore other even and odd functions and understand their properties, graphs, and the use of even and odd functions in integration. A function can be even or odd or both even and odd, or neither even nor odd. Let's explore various examples to understand the concept.

What are Even and Odd Functions?

Generally, we consider a real-valued function to be even or odd. To identify if a function is even or odd, we plug in -x in place of x into the function f(x), that is, we check the output value of f(-x) to determine the type of the function. Even and odd functions are symmetrical. Let us first understand their definitions.

Even and Odd Functions Definition

  • Even Function - For a real-valued function f(x), when the output value of f(-x) is the same as f(x), for all values of x in the domain of f, the function is said to be an even function. An even function should hold the following equation: f(-x) = f(x), for all values of x in D(f), where D(f) denotes the domain of the function f. In other words, we can say that the equation f(-x) - f(x) = 0 holds for an even function, for all x. Let us consider an example, f(x) = x2. 
    f(-x) = (-x)2 = x2 for all values of x, as the square of a negative number is the same as the square of the positive value of the number. This implies f(-x) = f(x), for all x. Hence, f(x) = x2 is an even function. Similarly, functions like x4, x6, x8, etc. are even functions.
  • Odd Function - For a real-valued function f(x), when the output value of f(-x) is the same as the negative of f(x), for all values of x in the domain of f, the function is said to be an odd function. An odd function should hold the following equation: f(-x) = -f(x), for all values of x in D(f), where D(f) denotes the domain of the function f. In other words, we can say that the equation f(-x) + f(x) = 0 holds for an odd function, for all x. Let us consider an example, f(x) = x3.
    f(-x) = (-x)3 = -(x3) for all values of x, as the cube of a negative number is the same as the negative of the cube of the positive value of the number. This implies f(-x) = -f(x), for all x. Hence, f(x) = x3 is an odd function. Similarly, functions like x5, x7, x9 etc. are odd functions.
  • Both Even and Odd Functions - A real-valued function f(x) is said to be both even and odd if it satisifies f(-x) = f(x) and f(-x) = -f(x) for all values of x in the domain of the function f(x). There is only one function which is both even and odd and that is the zero function, f(x) = 0 for all x. We know that for zero function, f(-x) = -f(x) = f(x) = 0, for all values of x. Hence, f(x) = 0 is an even and odd function.
  • Neither Even Nor Odd Function - A real-valued function f(x) is said to be neither even nor odd if it does not satisfy f(-x) = f(x) and f(-x) = -f(x) for atleast one value of x in the domain of the function f(x). Let us consider an example to understand the definition better. Consider f(x) = 2x5 + 3x2 + 1, f(-x) = 2(-x)5 + 3(-x)2 + 1 = -2x5 + 3x2 + 1 which is neither equal to f(x) nor -f(x). Hence, f(x) = 2x5 + 3x2 + 1 is neither even nor odd function.

Even and Odd Functions in Trigonometry

In this section, we will segregate trigonometric functions as even and odd functions. We have six trigonometric ratios (sine, cosine, tangent, cotangent, cosecant, and secant). These trigonometric ratios give positive values in different quadrants for various measures of angles.

In the first quadrant (where x and y coordinates are all positive), all six trigonometric ratios have positive values. In the second quadrant, only sine and cosecant are positive. In the third quadrant, only tangent and cotangent are positive. In the fourth quadrant, only cosine and secant are positive. Based on these signs, we will categorize them as even and odd functions.

If a trigonometric ratio is even or odd can be checked through a unit circle. An angle measured in anticlockwise direction is a positive angle whereas the angle measured in the clockwise direction is a negative angle.

What type of function can be used to determine whether a number is even or odd?

  • sinθ = y, sin(-θ) = -y; Therefore, sin(-θ) = -sinθ. Hence, sinθ is an odd function.
  • cosθ = y, cos(-θ) = y; Therefore, cos(-θ) = cosθ. Hence, cosθ is an even function.
  • tanθ = y, tan(-θ) = -y; Therefore, tan(-θ) = -tanθ. Hence, tanθ is an odd function.
  • cosecθ = y, cosec(-θ) = -y; Therefore, cosec(-θ) = -cosecθ. Hence, cosecθ is an odd function.
  • secθ = y, sec(-θ) = y; Therefore, sec(-θ) = secθ. Hence, secθ is an even function.
  • cotθ = y, cot(-θ) = -y; Therefore, cot(-θ) = -cotθ. Hence, cotθ is an odd function.

Integral Properties of Even and Odd Functions

The integral of a function gives the area below the curve. We use properties of even and odd functions while solving definite integrals. For that, we need to know the limits of the integral and the nature of the function. If the function is even or odd, and the interval is [-a, a], we can apply the following two rules:

  • When f(x) is even, \(\int_{-a}^{a}\) f(x) dx = 2 \(\int_{0}^{a}\) f(x) dx
  • When f(x) is odd, \(\int_{-a}^{a}\) f(x) dx = 0

Even and Odd Functions Graph

Let us now see how even and odd functions behave graphically. The graph of an even function is symmetric with respect to the y-axis. In other words, the graph of an even function remains the same after reflection about the y-axis. For any two opposite input values of x, the function value will remain the same all along the curve.

Whereas the graph of an odd function is symmetric with respect to the origin. In other words, the graph of an odd function is at the same distance from the origin but in opposite directions. For any two opposite input values of x, the function has opposite y values. Here are a few examples of even and odd functions.

What type of function can be used to determine whether a number is even or odd?

What type of function can be used to determine whether a number is even or odd?

Properties of Even and Odd Functions

  • The sum of two even functions is even and the sum of two odd functions is odd.
  • The difference between two even functions is even and the difference between two odd functions is odd.
  • The sum of an even and odd function is neither even nor odd unless one of them is a zero function.
  • The product of two even functions is even and the product of two odd functions is also an even function.
  • The product of an even and an odd function is odd.
  • The quotient of two even functions is even and the quotient of two odd functions is also an even function.
  • The quotient of an even and an odd function is odd.
  • The composition of two even functions is even and the composition of two odd functions is odd.
  • The composition of an even and an odd function is even.

Important Notes on Even and Odd Functions

  • A function f(x) is even if f(-x) = f(x), for all values of x in D(f) and it is odd if f(-x) = -f(x), for all values of x.
  • In trigonometry, cosθ and secθ are even functions, and sinθ, cosecθ, tanθ, cotθ are odd functions.
  • The graph even function is symmetric with respect to the y-axis and the graph of an odd function is symmetric about the origin.
  • f(x) = 0 is the only function that is an even and odd function.

Related Topics on Even and Odd Functions

  • Even Function
  • Odd Function
  • Types of Functions

  1. Example 1: Identify whether the function f(x) = sinx.cosx is an even or odd function. Verify using the even and odd functions definition.

    Solution: Given function f(x) = sinx.cosx. We need to check if f(x) is even or odd.

    We know that sinx is an odd function and cosx is an even function. Also, the product of an even and an odd function is odd. Hence, f(x) = sinx.cosx is an odd function. Now, let us verify this using the definition of an odd function.

    Consider f(-x) = sin(-x).cos(-x) = -sinx.cosx = -f(x). Therefore, f(x) is an odd function. Hence, verified.

    Answer: f(x) = sinx.cosx is an odd function.

  2. Example 2: Determine if the function f(x) = coshx is even or not using even and odd functions definition.

    Solution: Given function f(x) = coshx = (ex + e-x)/2

    To determine if f(x) is even or not, substitute -x in place of x in f(x)

    f(-x) = cosh(-x) = (e-x + e-(-x))/2 = (e-x + ex)/2 = coshx = f(x). Therefore, f(x) = coshx is an even function.

    Answer: f(x) = coshx is an even function

go to slidego to slide

What type of function can be used to determine whether a number is even or odd?

Have questions on basic mathematical concepts?

Become a problem-solving champ using logic, not rules. Learn the why behind math with our certified experts

Book a Free Trial Class

FAQs on Even and Odd Functions

A function f(x) is even if f(-x) = f(x), for all values of x in D(f) and it is odd if f(-x) = -f(x), for all values of x. The graph even function is symmteric with respect to the y-axis and the graph of an odd function is symmetric about the origin. A real-valued function f(x) is said to be both even and odd if it satisifies f(-x) = f(x) and f(-x) = -f(x) for all values of x in the domain of the function f(x).

How to Determine Even and Odd Functions Algebraically?

To check if the function is even or odd algebraically, we check whether f(-x) = f(x) or f(-x) = -f(x) for all values of x, respectively. If we substitute x with -x in the function and the value of the function becomes negative, then the function is called an odd function. If we substitute x with -x in the function and the value of function does not change then the function is known even function.

If a function f is an even function, then what type of symmetry does the graph of f have?

Even and Odd functions show different types of symmetries. Even functions have line symmetry. The line of symmetry is the y-axis. Even functions are the function in which when we substitute x by -x, then the value of the function for that particular x does not change. The graph of the even function behaves equally for all the points on x-axis that are on the left of the origin as well as the right of the origin.

Which Trigonometric Functions are Even and Odd Functions?

In trigonometry, cosθ and secθ are even functions, and sinθ, cosecθ, tanθ, cotθ are odd functions. Different trigonometric ratios have positive-negative values in different quadrants. Hence, using a unit circle we can see that cosθ and secθ are even functions and the remaining four trigonometric ratios are odd.

How to Identify Even and Odd Functions Graphically?

The graph of an even function is symmetric with respect to the y-axis. The graph of an odd function is symmetric with respect to the origin. The graph of an even function remains the same after reflection about the y-axis. The graph of an odd function is at the same distance from the origin but in opposite directions. Using the same criteria, we can identify even and odd functions graphically.

If f and g are both even functions, is f+g an even and odd function?

If f and g are even functions, then f + g is an even function. Consider a function h(x) = f(x) + g(x). Replace x with -x in h(x), h(-x) = f(-x) + g(-x) = f(x) + g(x) = h(x). Since f(x) and g(x) are even, f(-x) = f(x) and g(-x) = g(x). Hence, f + g is an even function. It is not both even and odd function.