Class 12 — Mathematics (NCERT)
Relations and Functions
Class 12
- ✓By the end of this lesson students will be able to define and identify different types of relations (reflexive, symmetric, transitive, equivalence).
- ✓By the end of this lesson students will be able to define and identify different types of functions (one-one, onto, bijective).
- ✓By the end of this lesson students will be able to find the composition of two functions.
- ✓By the end of this lesson students will be able to determine if a function is invertible and find its inverse.
- ✓By the end of this lesson students will be able to solve problems involving types of relations, types of functions, composition of functions, and inverse of functions.
Key concepts
A relation R from a non-empty set A to a non-empty set B is a subset of the Cartesian product A × B. If (a, b) ∈ R, we say that 'a is related to b'. When A = B, we speak of a relation on A.
Let R be a relation on a set A:\n1. Reflexive: R is reflexive if (a, a) ∈ R for every a ∈ A.\n2. Symmetric: R is symmetric if (a, b) ∈ R implies (b, a) ∈ R, for all a, b ∈ A.\n3. Transitive: R is transitive if (a, b) ∈ R and (b, c) ∈ R implies (a, c) ∈ R, for all a, b, c ∈ A.\n4. Equivalence Relation: A relation R is an equivalence relation if it is reflexive, symmetric, and transitive.
A relation f from a set A to a set B is said to be a function if every element of set A has one and only one image in set B. We write f: A → B. A is the domain, B is the codomain, and the set of all images of elements of A is the range.
Let f: A → B be a function:\n1. One-one (Injective): A function f: A → B is said to be one-one if distinct elements of A have distinct images in B. That is, for all x₁, x₂ ∈ A, f(x₁) = f(x₂) implies x₁ = x₂.\n2. Onto (Surjective): A function f: A → B is said to be onto if every element of B is the image of some element of A under f. That is, for every y ∈ B, there exists an x ∈ A such that f(x) = y. The range of f is equal to the codomain B.\n3. Bijective: A function f: A → B is said to be bijective if it is both one-one and onto.
Let f: A → B and g: B → C be two functions. Then the composition of f and g, denoted by gof, is defined as the function gof: A → C given by (gof)(x) = g(f(x)), for all x ∈ A.
A function f: A → B is said to be invertible if there exists a function g: B → A such that gof = I_A and fog = I_B, where I_A and I_B are identity functions on sets A and B respectively. The function g is called the inverse of f and is denoted by f⁻¹. A function is invertible if and only if it is bijective (one-one and onto).
Key facts to remember
- 1An empty relation (ϕ) on a non-empty set A is always symmetric and transitive, but never reflexive.
- 2The identity relation I_A = {(a, a) : a ∈ A} on a set A is always an equivalence relation.
- 3A function f: A → B is invertible if and only if it is bijective (both one-one and onto).
- 4If f: A → B and g: B → C are two bijective functions, then their composition gof: A → C is also bijective.
- 5If f: A → B and g: B → C are two functions, then (gof)⁻¹ = f⁻¹og⁻¹.
- 6The composition of functions is associative, i.e., ho(gof) = (hog)of, whenever the compositions are defined.
Worked examples
Example 1
Let R be a relation in the set A = {1, 2, 3, ..., 14} defined as R = {(x, y) : 3x - y = 0}. Determine if R is reflexive, symmetric, and transitive.
Answer
The relation R is neither reflexive, nor symmetric, nor transitive.
To prove a relation is NOT reflexive, symmetric, or transitive, it is sufficient to provide a single counterexample.
Example 2
Show that the function f: N → N, given by f(x) = 2x, is one-one but not onto.
Answer
The function f: N → N, given by f(x) = 2x, is one-one but not onto. Hence proved.
When proving a function is not onto, it is crucial to show an element in the codomain that has no pre-image in the domain.
Example 3
Let f: R → R be defined by f(x) = 4x + 3. Show that f is invertible and find f⁻¹.
Answer
The function f is invertible, and its inverse is f⁻¹(x) = (x - 3) / 4.
Always verify that the calculated 'x' belongs to the domain of the original function when proving 'onto'.
Common mistakes
- ✗Confusing the conditions for reflexive, symmetric, and transitive relations, especially when providing counterexamples.
- ✗Assuming a function is onto without explicitly showing that every element in the codomain has a pre-image in the domain.
- ✗Incorrectly finding the inverse of a function without first verifying that it is bijective.
- ✗Mistaking the order of composition, i.e., assuming fog is the same as gof (they are generally not).
- ✗Not specifying the domain and codomain when defining a function or its inverse, which can lead to incorrect conclusions about its type or invertibility.
Exam tips
- ★Always state the domain and codomain of relations and functions clearly at the beginning of your solution.
- ★For proving a function is one-one, start with f(x₁) = f(x₂) and algebraically show that x₁ = x₂.
- ★For proving a function is onto, let 'y' be an arbitrary element in the codomain and find 'x' in the domain such that f(x) = y. Ensure this 'x' is valid in the domain.
- ★When checking for types of relations, if a property fails, provide a specific counterexample with elements from the given set.
- ★Practice finding the inverse of various types of functions, especially those involving algebraic manipulation, and always verify your inverse by checking f(f⁻¹(x)) = x and f⁻¹(f(x)) = x.
Ready to practise?
Try a problem on this topic
Snap a photo or type a question — get step-by-step working instantly.
