Class 11 (CBSE) · Mathematics

Relations and Functions

26 practice questions with full step-by-step solutions, quick revision notes, plus a concept-first explainer — free, no sign-up.

Reviewed by (19 years teaching)Written with AI helpReport a mistake

What you'll learn

A from-scratch, NCERT-aligned guide to ordered pairs, Cartesian products, relations, domain, range and codomain, and the different types of functions, built up with everyday Indian analogies and fully worked examples so you truly understand the ideas that power JEE, NEET and CUET maths.

Read Relations and Functions: From Ordered Pairs to Well-Behaved Machines

This chapter has

9
easy
12
medium
5
hard

Relations and Functions — quick revision notes

This chapter introduces ordered pairs, Cartesian products, relations as subsets of A × B, and functions as relations in which each element of the domain has exactly one image. CBSE tests counting results, domains and ranges of relations and real functions, the standard functions (identity, constant, polynomial, rational, modulus, signum, greatest integer), and the algebra of functions.
  • (a, b) = (c, d) if and only if a = c and b = d. Order matters, so (1, 2) ≠ (2, 1).
  • A × B = {(a, b) : a ∈ A, b ∈ B} and n(A × B) = n(A) × n(B). A × ∅ = ∅, and in general A × B ≠ B × A.
  • A relation from A to B is any subset of A × B. If n(A) = p and n(B) = q, there are 2pq relations. The range is always a subset of the codomain.
  • A function from A to B gives every element of A exactly one image in B, though two elements may share an image. If n(A) = p and n(B) = q, there are qp functions from A to B.
  • Domain of a real function: the denominator must not be 0 and anything under a square root must be ≥ 0. Example: for f(x) = √(x − 1)/(x − 3), x ≥ 1 and x ≠ 3.
  • Standard functions and their ranges: identity f(x) = x has range R; constant f(x) = c has range {c}; modulus |x| has range [0, ∞); signum has range {−1, 0, 1}; greatest integer [x] has range Z. Examples: [−2.5] = −3 and [2.7] = 2.
  • Algebra of functions: (f ± g)(x) = f(x) ± g(x), (fg)(x) = f(x)·g(x), and (f/g)(x) = f(x)/g(x). The domain is the common domain of f and g, and for f/g you also remove the points where g(x) = 0.
  • Finding a range: put y = f(x), solve for x, and keep the values of y for which x is real and in the domain. Example: y = x²/(1 + x²) gives x² = y/(1 − y), so 0 ≤ y < 1.
  • A linear function f(x) = mx + c is fixed by two values: f(0) gives c, and any other point then gives m.

Common mistakes to avoid

  • Writing the pairs of A × B the wrong way round as (b, a), or assuming A × B = B × A.
  • Calling a relation a function when some element of the domain has two images, or rejecting a function just because two elements share an image.
  • Treating [x] as rounding. [−2.5] = −3, not −2.
  • Forgetting to remove the zeros of the denominator, or using > 0 instead of ≥ 0 under a square root (≥ 0 is correct unless the root is in the denominator).
  • Mixing up range and codomain. The range is only the set of images that are actually reached.
Exam tip: For any domain question, write each restriction separately (denominator ≠ 0, expression under the root ≥ 0), then combine them on a number line before you pick an option.

Relations and Functions — solved practice questions

7 Class 11 Mathematics questions with step-by-step solutions. Attempt each, then reveal the answer.

These worked examples are not in the timed test, so you can study them first.

  1. Q1easyReport

    If A = {1, 2} and B = {3, 4}, then the number of elements in A × B is:

    • A8
    • B6
    • C4
    • D2
    Show answer & solution

    Correct answer: (C) 4

    n(A × B) = n(A) × n(B) = 2 × 2 = 4 ordered pairs.
  2. Q2easyReport

    If A = {1, 2} and B = {3, 4}, then A × B is:

    • A{(3, 1), (4, 1), (3, 2), (4, 2)}
    • B{(1, 2), (3, 4)}
    • C{(1, 3), (1, 4), (2, 3), (2, 4)}
    • D{(1, 3), (2, 4)}
    Show answer & solution

    Correct answer: (C) {(1, 3), (1, 4), (2, 3), (2, 4)}

    A × B is the set of all ordered pairs (a, b) with a in A and b in B: {(1, 3), (1, 4), (2, 3), (2, 4)}.
  3. Q3easyReport

    If (x + 1, y - 2) = (3, 1), then the values of x and y are:

    • A(4, 3)
    • B(3, 2)
    • C(2, 1)
    • D(2, 3)
    Show answer & solution

    Correct answer: (D) (2, 3)

    Two ordered pairs are equal when corresponding entries match: x + 1 = 3 gives x = 2, and y - 2 = 1 gives y = 3.
  4. Q4easyReport

    A relation R from a set A to a set B is defined as a subset of:

    • AB × A
    • BA × B
    • CA intersection B
    • DA union B
    Show answer & solution

    Correct answer: (B) A × B

    A relation from A to B is any subset of the Cartesian product A × B.
  5. Q5mediumReport

    The domain of the real function f(x) = 1/(x - 3) is:

    • AR - {3}
    • BR - {-3}
    • CR
    • D(3, infinity)
    Show answer & solution

    Correct answer: (A) R - {3}

    The function is undefined when the denominator is zero, at x = 3, so the domain is all real numbers except 3: R - {3}.
  6. Q6mediumReport

    The range of the function f(x) = x squared, where x is in R, is:

    • A[0, infinity)
    • BR
    • C(0, infinity)
    • D(-infinity, 0]
    Show answer & solution

    Correct answer: (A) [0, infinity)

    A square is never negative and takes every value from 0 upward, with f(0) = 0, so the range is [0, infinity).
  7. Q7easyReport

    If f(x) = x squared + 1, then f(-2) equals:

    • A-3
    • B3
    • C4
    • D5
    Show answer & solution

    Correct answer: (D) 5

    f(-2) = (-2) squared + 1 = 4 + 1 = 5.

Ready to test yourself? Take the 19-question Relations and Functions test →