Skip to content
Exercise 1.2 · Q8

Q.Let A and B be sets. Show that f:A×B→B×Af: A \times B \rightarrow B \times A such that f(a,b)=(b,a)f(a, b) = (b, a) is a bijective function.

Yanam CbseNCERTSubjective· 3mImportance★★★★★
29% · 30/104 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The function f(a,b)=(b,a)f(a,b) = (b,a) swaps the coordinates of an ordered pair. It is bijective because it has an inverse — itself — and is both one-to-one and onto by direct reasoning.

The idea is beautifully simple: swapping coordinates is a reversible operation. If you swap twice, you get back the original pair. That immediately tells us ff is its own inverse, which is the cleanest proof of bijectivity. But let's also walk through the standard approach to see why each property holds.


  1. Injectivity (one-to-one)

    Suppose f(a1,b1)=f(a2,b2)f(a_1, b_1) = f(a_2, b_2). That means (b1,a1)=(b2,a2)(b_1, a_1) = (b_2, a_2). Two ordered pairs are equal exactly when their first coordinates match and their second coordinates match. So b1=b2b_1 = b_2 and a1=a2a_1 = a_2. Hence (a1,b1)=(a2,b2)(a_1, b_1) = (a_2, b_2). No two distinct inputs can give the same output.

  2. Surjectivity (onto)

    Take any element of B×AB \times A — call it (b,a)(b, a). We need an input in A×BA \times B that maps to it. The natural candidate is (a,b)(a, b), because f(a,b)=(b,a)f(a, b) = (b, a). Since a∈Aa \in A and b∈Bb \in B, the pair (a,b)(a, b) is indeed in A×BA \times B. So every element of the codomain is hit.

  3. Inverse function

    Notice that applying ff twice gives:

f(f(a,b))=f(b,a)=(a,b)f(f(a, b)) = f(b, a) = (a, b)

So f∘ff \circ f is the identity map on A×BA \times B. That means ff is invertible with f−1=ff^{-1} = f. A function with an inverse is automatically bijective. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.