DoAssignment.ca

C1.9 · Classify functions as even, odd, or neither

Learn to classify functions as even, odd, or neither through clear examples and targeted practice.

Ontario Grade 12 Mathematics

Polynomial and Rational Functions

Compare outputs at opposite inputs using the domain, rule, table, or graph

A function gives one output for each input in its domain. To classify a function, compare its outputs at opposite inputs, such as 33 and −3-3. First check the domain: it must contain the opposite of every input for the standard even or odd classification. Then check whether opposite inputs give equal outputs or outputs that are opposites. This lesson shows how to make those checks and decide when a function is neither.

What you will learn

1. Prerequisite bridge: inputs, outputs, and domain

The domain is the set of inputs for which a function is defined. In f(x)f(x), xx represents an input. The expression f(−x)f(-x) means to replace every xx in the function rule with −x-x.
Opposite inputs have the same distance from zero but different signs. For example, 44 and −4-4 are opposite inputs. Their outputs are f(4)f(4) and f(−4)f(-4).
A domain is symmetric about zero if it contains the opposite of each of its inputs. The real numbers are symmetric about zero. A domain containing only 11 is not, because it does not contain −1-1. In symbols, the domain condition is: if xx belongs to the domain, then −x-x belongs to it as well.
x∈D  ⟹  −x∈Dx∈ D\implies -x∈ D

2. Plain-language rules and visual patterns

An even function has equal outputs at opposite inputs. Its graph is symmetric about the yy-axis: reflecting the graph across that axis leaves it unchanged. For example, if the graph contains (3,5)(3,5), it also contains (−3,5)(-3,5).
An odd function has opposite outputs at opposite inputs. Its graph is symmetric about the origin: turning the graph halfway around the origin leaves it unchanged. If the graph contains (3,5)(3,5), it also contains (−3,−5)(-3,-5). If zero is in the domain of an odd function, its output at zero must be zero.
A function is neither when it satisfies neither definition. If the domain is symmetric about zero, compare outputs across the domain, not only at one pair. A single pair that fails a relationship rules out that classification.
If the domain is not symmetric about zero, it does not meet the standard domain requirement for an even or odd function. Do not use missing opposite-input comparisons as evidence that a function is even or odd.
f(-x)=f(x) or f(-x)=-f(x)

3. Check with numbers, a rule, or a graph

A table can show what happens at listed opposite inputs. Equal outputs at a pair fit the even pattern; outputs that are opposites fit the odd pattern. If neither relationship holds for a pair, that pair rules out both classifications. A short table cannot establish a pattern for every input by itself.
For a formula, replace every xx with −x-x and simplify. Compare the result with the original function, f(x)f(x), and its opposite, −f(x)-f(x). Confirm that the domain is symmetric about zero before making the final classification.
For example, consider f(x)=x2+1f(x)=x^2+1. Its domain is all real numbers, so it is symmetric about zero. Replacing xx with −x-x gives (−x)2+1=x2+1(-x)^2+1=x^2+1, which matches f(x)f(x). This function is even.
A graph can suggest the same patterns. Reflection across the yy-axis suggests evenness; symmetry about the origin suggests oddness. Check the whole graph and its domain, rather than just one visible section.
f(-x)=f(x) or f(-x)=-f(x)

Patterns at opposite inputs

ClassificationOutput relationshipGraph pattern
Evenf(−x)=f(x)f(-x)=f(x)Symmetry about the yy-axis
Oddf(−x)=−f(x)f(-x)=-f(x)Symmetry about the origin
NeitherNeither relationship holds across the domainNeither symmetry pattern

Worked example

Classify a function using its rule

Classify g(x)=xx2+4g(x)=\frac{x}{x^2+4} as even, odd, or neither.
  1. Check the domain
    The denominator is positive for every real input, so the function is defined for all real numbers. Its domain is symmetric about zero.
  2. Substitute the opposite input
    Replace every occurrence of xx with −x-x.
    g(−x)=−x(−x)2+4g(-x)=\frac{-x}{(-x)^2+4}
  3. Simplify and compare
    Since (−x)2=x2(-x)^2=x^2, the denominator stays the same and the numerator changes sign. The result is the opposite of the original function.
    g(−x)=−xx2+4=−g(x)g(-x)=\frac{-x}{x^2+4}=-g(x)
  4. Classify
    The odd-function relationship holds for every real input, and the domain is symmetric about zero. Therefore, gg is odd.
Answer: g(x)=xx2+4g(x)=\frac{x}{x^2+4} is odd.
Check: For example, g(2)=14g(2)=\frac{1}{4} and g(−2)=−14g(-2)=-\frac{1}{4}. These outputs are opposites, as the rule test predicts.

Common mistakes and how to avoid them

Calling a function even or odd after checking only one pair of inputs.
Correction: One pair can rule out a classification if it fails the required relationship, but a match at one pair does not establish the relationship for every input. Use the rule or full graph.
Replacing xx with −x-x in only part of the rule.
Correction: Replace every occurrence of xx, including in exponents, numerators, and denominators.
Ignoring the domain when classifying a function.
Correction: First check that the domain contains the opposite of each input. The standard even and odd classifications require a domain symmetric about zero.
Calling a function odd because one of its outputs is negative.
Correction: Oddness is about the relationship between outputs at opposite inputs. Check whether f(−x)=−f(x)f(-x)=-f(x) throughout the domain.

Lesson summary

Check your understanding

Question 1

A function has domain all real numbers, satisfies h(−x)=h(x)h(-x)=h(x) for every real xx, and has h(2)=3h(2)=3. How is it classified?
  1. Even
  2. Odd
  3. Neither
  4. It cannot be classified without its graph
Show answer and explanation
Even
Its domain is symmetric about zero, and it satisfies the defining relationship for an even function. The nonzero value also rules out the zero function, which would satisfy both relationships.

Question 2

For p(x)=x3−2xp(x)=x^3-2x, what is the classification?
  1. Even
  2. Odd
  3. Neither
  4. The rule is undefined for negative inputs
Show answer and explanation
Odd
The domain is all real numbers. Substitution gives p(−x)=−x3+2x=−(x3−2x)=−p(x)p(-x)=-x^3+2x=-(x^3-2x)=-p(x), so the function is odd.

Question 3

A function is defined only for the input 11. Which statement follows from the standard even and odd definitions?
  1. It is even because there are no unequal outputs to compare
  2. It is odd because there are no equal outputs to compare
  3. It is neither because it has a nonzero input
  4. Its domain is not symmetric about zero, so it is neither even nor odd
Show answer and explanation
Its domain is not symmetric about zero, so it is neither even nor odd
The domain contains 11 but not its opposite, −1-1. It is not symmetric about zero, so it does not meet the domain requirement for either standard classification.

Key terms

Domain
The set of input values for which a function is defined.
Opposite inputs
Inputs such as xx and −x-x that have equal distance from zero and opposite signs.
Domain symmetric about zero
A domain that contains the opposite of each of its inputs.
Even function
A function with a domain symmetric about zero whose outputs satisfy f(−x)=f(x)f(-x)=f(x).
Odd function
A function with a domain symmetric about zero whose outputs satisfy f(−x)=−f(x)f(-x)=-f(x).
Symmetry about the yy-axis
A graph pattern where reflecting across the yy-axis leaves the graph unchanged.
Symmetry about the origin
A graph pattern where turning the graph halfway around the origin leaves it unchanged.

Continue through MHF4U

View the complete MHF4U Ontario Grade 12 Mathematics curriculum and lessons

About this lesson and its review

Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 12 Mathematics (MHF4U), expectation C1.9. It is a study resource, not an official curriculum publication.

Before publication, the draft is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability, and then requires administrator approval. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question