GovtExamKit

₹0, forever · No signup · Works offline

Relations and Functions

Relations and functions (NCERT XI ch 2, XII ch 1) appear as counting questions — how many relations, functions, one-one or onto maps — and as composition and inverse of simple functions.

Mock: test yourself → Shorts

What should you know about Relations and Functions?

  • A relation from A to B is any subset of A × B. With |A| = m and |B| = n there are 2^(mn) relations.
  • A function sends every element of A to exactly one element of B: nᵐ functions. One-one (injective): n(n − 1)…(n − m + 1). Onto: count with inclusion-exclusion.
  • (f∘g)(x) = f(g(x)): apply g first. f⁻¹ exists for a one-one onto f; f⁻¹(k) is the x with f(x) = k.

Which formulas and rules are used in Relations and Functions?

Reflexive relations on n elements: 2^(n² − n); symmetric: 2^(n(n + 1)/2)

Onto maps from m to 2 elements: 2ᵐ − 2

What are the shortcuts for Relations and Functions questions?

  1. Onto from 3 to 3 elements = 3! = 6 (onto equals one-one when the sizes are equal).
  2. For f(x + 1) given, put x = k − 1 to get f(k).
  3. To find f⁻¹(k), do not find f⁻¹(x): just solve f(x) = k.

How do you solve Relations and Functions questions? Worked examples

Example 1

How many onto functions are there from a 4-element set to a 2-element set?

Solution

  1. All functions: 2⁴ = 16.
  2. Remove the 2 constant functions: 16 − 2 = 14.

Answer: 14 onto functions

Example 2

If f(x) = 2x + 3 and g(x) = x², find (f∘g)(2).

Solution

  1. g(2) = 4.
  2. f(4) = 11.

Answer: (f∘g)(2) = 11

What mistakes should you avoid in Relations and Functions?

  • Computing g(f(x)) when f(g(x)) is asked: the function written next to x acts first.
  • Counting functions as mⁿ instead of nᵐ: each of the m inputs chooses one of n outputs.

Relations and Functions question book: practice each sub-topic

  1. Relations and Functions

Question book · 1 chapters

Relations and Functions

Chapter 1 · Relations and FunctionsQuestion 1 / 1000

How many reflexive relations are there on a set with 2 elements ?

Solution

  1. All 2 pairs (a, a) must be present; each of the other 4 − 2 = 2 pairs may or may not be.
  2. 2² = 4

So the number is 4.

Shortcut: n(A) = m, n(B) = n: relations A → B = 2ᵐⁿ, functions = nᵐ, one-one functions = n!/(n − m)! (m ≤ n). On a set of n elements: reflexive relations 2ⁿ⁽ⁿ⁻¹⁾, symmetric 2ⁿ⁽ⁿ⁺¹⁾ᐟ².
1

Open the book to turn the pages: every question with its answer and full solution.

Ready? Take a mock: fresh questions every time, each with a step-by-step solution.

← All Learn topics