NEETJEE.guru
MathematicsJEE

The Equivalence Relation Induced by a Function, R = {(a,b) : f(a) = f(b)}

By Admin 13 November 2026 Updated 25 November 2026 11 min read 9 views
On this page· 13 sections
Overview

Source & scope. Class 12 Mathematics, Chapter 1 Relations and Functions, Miscellaneous Examples, Example 21. Builds on: Equivalence Relation — Definition and How to Prove One, Equivalence Classes and Partition of a Set. Related: Intersection of Two Equivalence Relations Is an Equivalence Relation.

Source & scope. Class 12 Mathematics, Chapter 1 Relations and Functions, Miscellaneous Examples, Example 21. Builds on: Equivalence Relation — Definition and How to Prove One, Equivalence Classes and Partition of a Set. Related: Intersection of Two Equivalence Relations Is an Equivalence Relation.

For any function f : X → Y, the relation R = {(a, b) : f(a) = f(b)} defined on X — relating two elements of X whenever they share the same image under f — is always an equivalence relation on X, regardless of what f or X actually is. This is one of the most widely used constructions in later mathematics: it turns any function into a way of sorting its domain by "shared output."

At a glance

  • R = {(a, b) : f(a) = f(b)} is defined on the domain X of f, not on the codomain Y.
  • This relation is an equivalence relation for every function f — the proof never uses any special property of f beyond it being a function.
  • The resulting equivalence classes are exactly the sets of domain elements sharing one common image — informally called the fibers of f.
  • Example: for f : R → R, f(x) = x², the classes are {0} and {x, −x} for every x ≠ 0, since x² = (−x)².
  • This is NCERT's Example 21 (Miscellaneous Examples) and is a standard building block for later topics such as quotient sets.

Learning objectives

  • State and prove that R = {(a, b) : f(a) = f(b)} is reflexive, symmetric, and transitive for any function f.
  • Explain why the equivalence classes of R correspond exactly to the fibers (preimage sets) of f.
  • Compute the equivalence classes of this relation for a concrete function, such as f(x) = x².
  • Recognise this construction as a general technique applicable to any function, not a property of one special example.

Prerequisite knowledge

The reader should know the definition of an equivalence relation (reflexive, symmetric, transitive) and the basic definition of a function f : X → Y, including that f assigns exactly one image f(a) ∈ Y to each a ∈ X.

Core explanation

The relation and the claim

Let f : X → Y be any function. Define a relation R on the domain X by

In words, two elements of X are related exactly when f sends them to the same place in Y. NCERT's Example 21 states and proves that this relation is always an equivalence relation on X — no matter what f or X actually is.

Proof: reflexive

For any a ∈ X, f(a) = f(a) is trivially true (every quantity equals itself), so (a, a) ∈ R for every a ∈ X. This is reflexivity.

Proof: symmetric

Suppose (a, b) ∈ R, so f(a) = f(b). Since equality of real numbers (or of elements of Y generally) is itself symmetric, f(a) = f(b) implies f(b) = f(a), which is exactly the condition for (b, a) ∈ R. So R is symmetric.

Proof: transitive

Suppose (a, b) ∈ R and (b, c) ∈ R, so f(a) = f(b) and f(b) = f(c). Combining these two equalities (both equal f(b), hence equal to each other), f(a) = f(c), which is exactly the condition for (a, c) ∈ R. So R is transitive.

Since R is reflexive, symmetric, and transitive, it is an equivalence relation on X — and this argument used nothing about f except that it assigns a single well-defined image to each element, so the result holds for every function.

What the equivalence classes look like

Because R groups together exactly those elements of X that share a common image, the equivalence class of a particular element a ∈ X is

i.e., the set of every domain element mapped to the same point in Y as a. In the language used when this construction reappears later in mathematics, these classes are called the fibers of f — each fiber sits over one point of the codomain and collects every domain element landing on it. Elements in different fibers are never related (they have different images), matching exactly the partition structure expected of any equivalence relation.

Concrete example: f(x) = x² on R

Let f : R → R be defined by f(x) = x². Then R = {(a, b) : a² = b²} relates a and b exactly when they have the same square. Since a² = b² if and only if a = b or a = −b, the equivalence classes are:

  • {0} — a class by itself, since the only real number whose square equals 0² = 0 is 0 itself;
  • {x, −x} for every x ≠ 0 — e.g., {2, −2}, {3, −3}, {½, −½} — each a two-element class pairing a non-zero number with its negative.

Every real number falls into exactly one such class (itself and its negative, or alone if it is 0), these classes are pairwise disjoint, and their union is all of R — exactly the partition structure guaranteed by the general proof above.

Key terms

  • — the equivalence relation induced on the domain X by a function f : X → Y.
  • Fiber of f — an equivalence class of this relation: the set of all domain elements sharing one common image under f.
  • Image — the output f(a) ∈ Y assigned to a ∈ X by the function f.
  • Induced relation — a relation constructed from an existing structure (here, a function) rather than defined directly.

Diagram / figure guidance

Draw the parabola y = x² on a coordinate plane, pick a height like y = 4, and draw a horizontal line at that height crossing the curve at x = 2 and x = −2; label both intersection points and draw a bracket connecting {2, −2} labelled "one equivalence class / one fiber of f." Separately mark the vertex (0, 0) with a small circle labelled "{0} — its own class," showing it has no partner.

Worked example

Let f : R → R be defined by f(x) = x² − 4x + 3. Find the equivalence class of the element a = 1 under the relation R = {(x, y) : f(x) = f(y)}.

Step 1 — compute f(1). f(1) = 1 − 4 + 3 = 0.

Step 2 — set up the condition for membership in [1]. An element x belongs to [1] exactly when f(x) = f(1) = 0, i.e., x² − 4x + 3 = 0.

Step 3 — solve. Factoring, x² − 4x + 3 = (x − 1)(x − 3) = 0, so x = 1 or x = 3.

Conclusion. The equivalence class [1] = {1, 3}. Both inputs produce the output 0, confirming they share a fiber of f, exactly as the general theory predicts for any function, not just f(x) = x².

Common misconceptions

  • "This relation is only an equivalence relation for 'nice' functions like polynomials." False — the proof above never uses any property of f beyond it being a well-defined function; it works identically for every function f : X → Y, including non-continuous or abstract ones.
  • "The relation R = {(a,b) : f(a) = f(b)} is defined on the codomain Y." No — it relates elements of the domain X; Y only appears as the space the images are compared in.
  • "Every equivalence class of this relation has more than one element." Not necessarily — as the f(x) = x² example shows, the class {0} has only one element, because 0 has no distinct partner with the same square.
  • "If f is one-one (injective), this relation becomes trivial/uninteresting." True that it becomes simpler — when f is injective, f(a) = f(b) forces a = b, so every equivalence class is a single element (the relation collapses to equality) — but it is still correctly an equivalence relation, just not one that merges anything.

Exam application (JEE)

JEE uses this construction mainly in two ways: (1) as a direct "prove R is an equivalence relation" problem where f is given explicitly (e.g., f(x) = x², or a trigonometric or absolute-value function), testing whether the student can write the general three-line proof rather than re-deriving it from scratch each time; and (2) as a "find the equivalence class of a given element" problem, which reduces to solving f(x) = f(a) for x, as in the worked example above.

Frequently asked questions

  • Is R = {(a, b) : f(a) = f(b)} always an equivalence relation? Yes — for any function f : X → Y, this relation on the domain X is always reflexive, symmetric, and transitive, because these properties follow purely from the reflexive, symmetric, and transitive nature of equality in Y.
  • What are the equivalence classes of R = {(a, b) : f(a) = f(b)}? Each equivalence class is the set of all domain elements sharing one common image under f — sometimes called a fiber of f.
  • What are the equivalence classes of R = {(a,b) : a² = b²} on R? The classes are {0} and {x, −x} for every non-zero real x — each class pairs a number with its negative, except 0 which forms a class alone.
  • Does this relation depend on f being one-one or onto? No — the proof that R is an equivalence relation works for any function at all; however, if f happens to be one-one, every class collapses to a single element, since equal images then force equal inputs.
  • Why is this construction useful in mathematics generally? It gives a standard way to turn any function into a grouping of its domain by shared output, which is the starting point for later constructions such as quotient sets and well-defined induced functions on those quotients.

Practice questions (original practice questions)

  1. Let f : R → R be f(x) = |x|, and R = {(a, b) : f(a) = f(b)}. The equivalence class of 5 is:
    • (a) {5}
    • (b) {5, −5}
    • (c) {0, 5}
    • (d) all real numbers
    • Answer: (b) — |5| = |−5| = 5, and no other real number has absolute value 5.
  2. Let f : R → R be f(x) = x³, and R = {(a, b) : f(a) = f(b)}. The equivalence class of 2 is:
    • (a) {2}
    • (b) {2, −2}
    • (c) {2, 8}
    • (d) all cube roots of 8
    • Answer: (a) — Since x³ is one-one on R (every real number has a unique real cube root), 2 is the only solution to x³ = 8, so its class is just {2}.
  3. For f : R → R, f(x) = x² − 6x + 5, and R = {(a,b) : f(a) = f(b)}, the equivalence class of 1 is:
    • (a) {1}
    • (b) {1, 5}
    • (c) {1, 6}
    • (d) {0, 1}
    • Answer: (b) — f(1) = 0, and x² − 6x + 5 = (x−1)(x−5) = 0 gives x = 1 or x = 5.
  4. Which property is used to prove R = {(a,b) : f(a) = f(b)} is symmetric?
    • (a) f(a) = f(a) for all a
    • (b) equality in the codomain is itself symmetric
    • (c) f is onto
    • (d) f is one-one
    • Answer: (b) — Symmetry of R follows directly from the fact that if f(a) = f(b), then f(b) = f(a), which is just the symmetry of equality.
  5. If f : X → Y is one-one, the equivalence relation R = {(a,b) : f(a) = f(b)} on X:
    • (a) fails to be reflexive
    • (b) has every equivalence class consisting of exactly one element
    • (c) becomes undefined
    • (d) relates every pair of elements of X
    • Answer: (b) — When f is one-one, f(a) = f(b) forces a = b, so no two distinct elements can ever be related, collapsing every class to a singleton.

Quick revision

  • For any function f : X → Y, R = {(a,b) : f(a) = f(b)} is always an equivalence relation on X.
  • Reflexive/symmetric/transitive all follow purely from the corresponding properties of equality in Y.
  • Equivalence classes = fibers of f: all domain elements sharing one image.
  • f(x) = x² example: classes are {0} and {x, −x} for x ≠ 0.
  • If f is one-one, every class shrinks to a single element.

Related articles

NCERTMathematicsClass 12
Rate this article
No ratings yetSign in to rate

0 Comments

Sign in to join the discussion.

Equivalence Relation Induced by a Function — JEE Notes | NEETJEE.guru