Let $A$ and $B$ be sets. Show that $f: A \times B \rightarrow B \times A$ defined by $f(a, b) = (b, a)$ is a bijective function.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) The function is defined as $f: A \times B \rightarrow B \times A$ where $f(a, b) = (b, a)$.
$1.$ To show $f$ is one-one (injective):
Let $(a_1, b_1), (a_2, b_2) \in A \times B$ such that $f(a_1, b_1) = f(a_2, b_2)$.
This implies $(b_1, a_1) = (b_2, a_2)$.
Equating the components,we get $b_1 = b_2$ and $a_1 = a_2$.
Therefore,$(a_1, b_1) = (a_2, b_2)$.
Since $f(a_1, b_1) = f(a_2, b_2) \Rightarrow (a_1, b_1) = (a_2, b_2)$,$f$ is one-one.
$2.$ To show $f$ is onto (surjective):
Let $(b, a) \in B \times A$ be any arbitrary element.
By the definition of the Cartesian product,$b \in B$ and $a \in A$,which implies $(a, b) \in A \times B$.
For this $(a, b) \in A \times B$,we have $f(a, b) = (b, a)$.
Since every element in the codomain $B \times A$ has a pre-image in the domain $A \times B$,$f$ is onto.
Since $f$ is both one-one and onto,$f$ is a bijective function.

Explore More

Similar Questions

Which of the following functions is injective but not surjective?

Consider the following statements:
Statement-$I$ : $A$ function $f: A \rightarrow B$ is said to be one-one if and only if $f(x) \neq f(y) \Rightarrow x \neq y$.
Statement-$II$ : $A$ relation $f: A \rightarrow B$ is said to be a function if $x \neq y \Rightarrow f(x) \neq f(y)$.
Then which one of the following is true?

Let $g(x) = 1 + x - [x]$ and $f(x) = \begin{cases} -1, & x < 0 \\ 0, & x = 0 \\ 1, & x > 0 \end{cases}$. Then for all $x$,$f(g(x))$ is equal to

If $f(x) = (\frac{3}{5})^x + (\frac{4}{5})^x - 1$,$x \in R$,then the equation $f(x) = 0$ has

The number of functions $f: \{1, 2, \ldots, 100\} \rightarrow \{0, 1\}$ that assign $1$ to exactly one of the positive integers less than or equal to $98$ is equal to $\qquad$.

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo