Relation and Functions
Relation and Functions
GRADE 12
Relation: A relation R from set X to a set Y is defined as a subset of the cartesian
product X × Y. R ⊆ {(x, y) ∈ X × Y : xRy}.
1) If R = { (a, a³): a is a prime number less than 5 } be a relation. Find the range of R.[Foreign 2014]
2) If R= {(x, y): x + 2y = 8} is a relation on N, then write the range of R. [All India 2014]
3) State the reason for the relation R in the set {1, 2, 3} given by R = {(1, 2), (2,1)} not to be transitive. (Delhi 2011)
Types of Relation:
Empty Relation: A relation R in a set X, is called an empty relation, if no element of X is related to any element of X,
i.e. R = Φ ⊂ X × X
Universal Relation: A relation R in a set X, is called universal relation, if each element of X is related to every
element of X, i.e. R = X × X
R = {(a,a): a ∈ A}
Eg: If set A = {1,2,3,4} and relation R is given by R = {(a,b) : mod (a-b) >= 0}
R = {(a,a): a ∈ A}
Eg: If set A = {1,2,3,4} and relation R is given by R = {(a,b) : mod (a-b) >= 0}
Identity Relation
Relation R in a set A is called an identity relation if each element of A is related to itself only
and it is denoted by R = {(a,a) : a ∈ A}.
Eg1) If Set A = {1,2} , then the identity relation
R1on A = {(1,1),(2,2)} but
R2 = {(1,1), (1,2), (2,2)} is not identity relation.
Reflexive Relation: A relation R defined on a set A is said to be reflexive, if (x, x) ∈ R, ∀ x ∈ A or xRx, ∀ x ∈ R
A Relation R defined on Set A is said to be reflexive if each element of a set A is mapped to itself.
means, aRa for all a R. Reflexive Relation Example: The relation R = { (0, 0), (1, 2), (1, 1), (2, 2)} defined on A = {0, 1, 2} is a
reflexive relation.
Ex: If A = {w, x, y, z}, then find the number of reflexive relations on set A.
A = {w, x, y, z}
Number of elements in set A = n = 4
Number of reflexive relation N = 2n(n – 1)
N = 24(4 – 1)
N = 24 x 3
N = 212
N = 4096
Symmetric Relation: A relation R defined on a set A is said to be symmetric, if (x, y) ∈ R ⇒ (y, x) ∈ R, ∀ x, y ∈ A or
xRy ⇒ yRx, ∀ x, y ∈ R.
Q) If number of symmetric relations from set X to X is 64, find th number of elements in set X. Ans: 3
Transitive Relation: A relation R defined on a set A is said to be transitive, if (x, y) ∈ R and (y, z) ∈ R ⇒ (x, z) ∈ R, ∀ x,
y, z ∈ A or xRy, yRz ⇒ xRz, ∀ x, y,z ∈ R.
Equivalence Relation: A relation R defined on a set A is said to be an equivalence relation if R is reflexive,
symmetric and transitive.
Equivalence Classes: Given an arbitrary equivalence relation R in an arbitrary set X, R
divides X into mutually disjoint subsets A, called partitions or sub-divisions of X
satisfying.
A relation is not a function if there is more than one output for an input. For
example, in the relation {(1,0); (1,2); (2,3)}, the input of 1 gives two different
outputs.
So the relation is not a function.
1) Let R be the equivalence relation in the set A = {0,1,2,3,4,5} given by R = {(a,b): 2 divides (a - b)}.
Write the equivalence class [0]. [Delhi 2014]
2) Graphically: If any line parallel to x-axis cuts the graph of the function atmost at one point, then the
function is one-one.
3) Monotonically: Any function, which is entirely increasing or decreasing in whole domain, then f(x) is
one-one.
Number of One-One Functions Let f : A → B be a function, such that A and B are finite sets having m and n elements
respectively, (where, n > m).
The number of one-one functions = n(n – 1)(n – 2) …(n – m + 1) = { nPm, n ≥ m, 0, n < m
If A={1,2,3}, B = {4, 5, 6, 7} and f = {(1, 4), (2, 5), (3, 6)) is a function from A to B. State whether f is one-one or not.
[All India 2011]
Onto Function or Surjective Function: A function f : X → Y is said to be onto function or a
surjective function, if every element of Y is image of some element of set X under f, i.e. for every y ∈ y, there
exists an element X in x such that f(x) = y.
In other words, a function is called an onto function, if its range is equal to the codomain.
Note: Every polynomial function f: R → R of degree odd is onto.
Number of Onto (surjective) Functions: Let A and B are finite sets having m and n elements
respectively, such that 1 ≤ n ≤ m, then number of onto (surjective) functions from
A to B = nΣr = 1 (- 1)n – r nCr rm
If f : A → B is such that there exists atleast one element in codomain which is not the image of any
element in domain, then f(x) is into.
Thus, f : A → B, such that f(A) ⊂ B means Range ⊂ Codomain
Bijective or One-one and Onto Function: A function f : X → Y is said to be a bijective
function if it is both one-one and onto.
Composition of Functions: Let f : X → Y and g : Y → Z be two functions. Then, composition of functions f and g is a
function from X to Z and is denoted by fog and given by (fog) (x) = f[g(x)], ∀ x ∈ X.
Note
(i) In general, fog(x) ≠ gof(x).
(ii) In general, gof is one-one implies that f is one-one and gof is onto implies that g is onto.
(iii) If f : X → Y, g : Y → Z and h : Z → S are functions, then ho(gof) = (hog)of.
Note:
(i) To prove a function invertible, one should prove that, it is both one-one and onto, i.e. bijective.
(ii) If f : X → V and g : Y → Z are two invertible functions, then gof is also invertible with (gof)-1 = f-1og-1
1) If R= {(x, y): x + 2y = 8} is a relation on N, then write the range of R. [All India 2014]
4) Let R be the relation in the set A = {0,1,2, 3,4,5} given by
R=[(a, b) : 2divides (a-b)}. Verify R is reflexive ,symmetric and transitive also Write the equivalence class [0].
(Delhi 2014C) ; (2023-24-PT1-DPS-SHARJAH)
Q) Determine the relation R defined on set of real numbers R
as is reflexive ,symmetric and transtive.
(PT1-DPS,SHARJAH)
Q) Prove that the greatest integer function f: R → R, given by f (x) = [x], is neither one-one nor onto, where
[x] denotes the greatest integer less than or equal to x. (DPS-SHARJAH-PT1)
n+1
, if n is odd
2
Show that f:N→N defined by f(n) = ቐn is not one -one but an onto function.
, if n is even
2
(DPS-SHARJAH-PT1-2023-24)
Q) Consider the function f:𝑅+ → [−5, ∞) given by f(x)= 9𝑥 2 + 6𝑥 − 5.Show that f is bijective.
(DPS-SHARJAH-PT1-2023-24)
TRY YOURSELF….
1) If Z is the set of all integers and R is the relation on Z defined as R={(a,b): a,b∈Z and a - b is divisible by 5}. Prove that
R is an equivalence relation. [Delhi 2010, HOTS]