K2KARAKORAM
English
Open the app

CBSE · Class 11 · Mathematics

Cartesian Products and Relations (Ch 2: 2.2 and 2.3)

3 concepts · 24 practice questions with answers · Free to read

Ordered pairs and Cartesian product

From daily life

A seat in a cinema is told as (row, seat number). (C, 5) is not the same seat as (5, C): the order matters.

Simple definition

An ordered pair (a, b) is two objects written in a fixed order; (a, b) = (c, d) only when a = c and b = d. The Cartesian product A × B is the set of all ordered pairs (a, b) with a ∈ A and b ∈ B.

Formula: A × B = {(a, b) : a ∈ A, b ∈ B}

Rule 1: Form A × B — Take each element of A, pair it with every element of B.

  • Easy: A = {1, 2}, B = {x}: A × B = {(1, x), (2, x)}.
  • Medium: A = {1, 2}, B = {3, 4}: A × B = {(1, 3), (1, 4), (2, 3), (2, 4)}.
  • Exam-type: B × A for the same sets = {(3, 1), (3, 2), (4, 1), (4, 2)}: not equal to A × B.

Rule 2: Equal ordered pairs — Match first with first and second with second.

  • Easy: (x, 3) = (5, 3) gives x = 5.
  • Medium: (x + 1, 7) = (4, y − 2) gives x = 3, y = 9.
  • Exam-type: (a − b, 4) = (2, a + b) gives a − b = 2 and a + b = 4, so a = 3, b = 1.
Remember

A × B and B × A are equal only if A = B or one of the sets is empty.

Common mistake

Writing (a, b) as a set {a, b} — a set ignores order, a pair does not.

Memory clue

Pair = Position matters (like row, seat).

Spot the difference

(2, 5){2, 5}
Order mattersOrder does not matter
(2, 5) ≠ (5, 2){2, 5} = {5, 2}

Practice questions

Easy
  1. 1Is (3, 7) = (7, 3)?
  2. 2If (x, 2) = (9, 2), find x.
  3. 3A = {1}, B = {2, 3}. Write A × B.
Medium
  1. 4If (p + 2, 5) = (6, q − 1), find p and q.
  2. 5A = {a, b}, B = {1, 2}. How many pairs are in B × A?
  3. 6Is A × B = B × A for A = {1, 2}, B = {2, 3}?
Challenging
  1. 7If (2x − 1, y + 3) = (7, 10), find x and y.
  2. 8If A × B = {(1, 4), (1, 5), (2, 4), (2, 5)}, find A and B.
Show answers (try them yourself first)
  1. 1No.
  2. 29
  3. 3{(1, 2), (1, 3)}
  4. 4p = 4, q = 6
  5. 54
  6. 6No — (1, 2) ∈ A × B but not in B × A.
  7. 7x = 4, y = 7
  8. 8A = {1, 2}, B = {4, 5}

Counting pairs and the graph of A × B

From daily life

If a shop has 3 shirts and 2 trousers, you can dress in 3 × 2 = 6 different ways.

Simple definition

If A has p elements and B has q elements, then A × B has p × q elements. For real sets, A × B can be drawn as points on a grid; R × R is the whole coordinate plane.

Formula: n(A × B) = n(A) × n(B)

Rule 1: Count pairs — Multiply the two counts.

  • Easy: n(A) = 3, n(B) = 4: n(A × B) = 12.
  • Medium: A × A for n(A) = 5: 25 pairs.
  • Exam-type: If A × ∅, the count is 0.

Rule 2: Recover a set — Divide the total by the other count.

  • Easy: n(A × B) = 20, n(A) = 4: n(B) = 5.
  • Medium: A × B has 15 pairs and A has 3 elements: B has 5.
  • Exam-type: A × B has 7 pairs (prime): one set has 1 element and the other has 7.
Remember

Order of the two sets changes the pairs but not their count.

Common mistake

Adding the counts instead of multiplying.

Memory clue

Pairs = Product (multiply).

Practice questions

Easy
  1. 1n(A) = 6, n(B) = 2. Find n(A × B).
  2. 2n(A) = 4. Find n(A × A).
  3. 3A × B has 18 elements and n(B) = 3. Find n(A).
Medium
  1. 4A = {1, 2, 3}, B = {1, 2}. How many pairs (a, b) in A × B have a > b?
  2. 5Two sets A and B have 3 common elements and A × B has 12 pairs. If n(A) = 4, find n(B) and a possible number of elements in B − A.
  3. 6A × B has 9 elements and contains (1, 2), (2, 3), (3, 1). Find A and B.
Challenging
  1. 7How many points are in the grid picture of {1, 2, 3} × {1, 2}?
  2. 8If n(A × B) = 12 and A, B are non-empty sets of natural numbers, list all possible (n(A), n(B)).
Show answers (try them yourself first)
  1. 112
  2. 216
  3. 36
  4. 43 (they are (2,1), (3,1), (3,2))
  5. 5n(B) = 3; since all 3 are common, B − A has 0 elements.
  6. 6n(A) = n(B) = 3 and A ⊇ {1, 2, 3}, B ⊇ {1, 2, 3}, so A = B = {1, 2, 3}.
  7. 76
  8. 8(1,12), (2,6), (3,4), (4,3), (6,2), (12,1)

Relations

From daily life

Student → roll number, country → capital, brother → sister: wherever two groups are linked by a rule, we have a relation.

Simple definition

A relation R from A to B is any subset of A × B. If (a, b) ∈ R we write a R b. The set of all first elements is the domain, the whole of B is the codomain, and the set of second elements that actually appear is the range.

Formula: R ⊆ A × B

1232468

In the figure: R: x → 2x. Domain {1, 2, 3}, range {2, 4, 6}, codomain {2, 4, 6, 8}.

Rule 1: Write a relation — Use the rule to pick pairs from A × B.

  • Easy: A = {1, 2, 3}, B = {1, 2, 3, 4}, R = {(x, y) : y = x + 1} = {(1, 2), (2, 3), (3, 4)}.
  • Medium: A = {1, 2, 3, 4}, R = {(x, y) : x < y} on A gives {(1, 2), (1, 3), (1, 4), (2, 3), (2, 4), (3, 4)}.
  • Exam-type: R = {(x, y) : y = x², x ∈ {1, 2, 3}} = {(1, 1), (2, 4), (3, 9)}.

Rule 2: Domain, codomain, range — Domain = first entries. Range = second entries used. Codomain = the full target set.

  • Easy: R = {(1, 5), (2, 5), (3, 7)}: domain {1, 2, 3}, range {5, 7}.
  • Medium: B = {5, 7, 9}: codomain {5, 7, 9}; range {5, 7} is a part of it.
  • Exam-type: Number of relations from A to B = 2^(n(A) × n(B)); for n(A) = 2, n(B) = 2 it is 16.
Remember

Every relation from A to B is a subset of A × B, so the total number of relations is 2^(pq).

Common mistake

Calling the codomain "range". The range contains only the values actually used.

Memory clue

Domain = Departure, Range = Reached.

Spot the difference

CodomainRange
The whole target set BOnly the values used
Fixed by the definitionFound from the relation

Practice questions

Easy
  1. 1R = {(1, 3), (2, 4), (5, 3)}. Write its domain.
  2. 2For the same R, write its range.
  3. 3A = {1, 2, 3}. Write R = {(x, y) : y = 2x, y ∈ A} as pairs.
Medium
  1. 4A = {1, 2, 3, 4}. Write R = {(x, y) : y = x + 2} on A.
  2. 5If n(A) = 3 and n(B) = 2, how many relations are possible from A to B?
  3. 6R = {(x, y) : x + y = 6, x, y ∈ N, x ≤ y}. Write R.
Challenging
  1. 7Find domain and range of R = {(x, x²) : x ∈ {−2, −1, 0, 1, 2}}.
  2. 8Is {(1, a), (1, b)} a relation from {1} to {a, b}? Give its range.
Show answers (try them yourself first)
  1. 1{1, 2, 5}
  2. 2{3, 4}
  3. 3{(1, 2)}
  4. 4{(1, 3), (2, 4)}
  5. 52⁶ = 64
  6. 6{(1, 5), (2, 4), (3, 3)}
  7. 7Domain {−2, −1, 0, 1, 2}, range {0, 1, 4}
  8. 8Yes, any subset of A × B is a relation; range {a, b}.